Satellite navigation positioning base station data flow tracing method and device based on blockchain
Through blockchain certificate storage and hash value verification, the problem of satellite navigation and positioning base station data being easily tampered with is solved, data traceability and integrity are achieved, and the security of data flow is ensured.
Patent Information
- Application Number
- CN202410009845.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-01-02
AI Technical Summary
The data flow of satellite navigation and positioning base stations is easily tampered with and lacks an effective traceability mechanism.
Blockchain technology is used to certify the single-point positioning algorithm software package and base station data flow, and through hash value verification and source tracing, the integrity and source of the data are ensured.
It effectively avoids the tampering of data files, ensures the traceability and integrity of data, and establishes the same data source determination for data flow.
Smart Images

Figure CN117744162B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for tracing satellite navigation and positioning base station data flow based on blockchain. Background Art
[0002] A satellite navigation and positioning base station is a device that continuously produces observation data of the current position on the satellite at intervals of one second at a certain three-dimensional spatial position on the earth's surface. Currently, the observation data obtained by the satellite navigation base station is often sent in plain text. However, plain text transmission is often prone to tampering. Therefore, providing a solution for tracing the data flow of satellite navigation and positioning base stations has become an urgent problem to be solved. Summary of the invention
[0003] The present invention aims to provide a satellite navigation positioning base station data flow tracing method and device based on blockchain that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems.
[0004] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:
[0005] One aspect of the present invention provides a satellite navigation positioning reference station data flow tracing method based on blockchain, comprising:
[0006] Blockchain storage of single-point positioning algorithm software packages;
[0007] Regularly store the base station data stream on blockchain;
[0008] Verify the single point positioning algorithm software package to be used;
[0009] The data files whose sources are to be traced are traced back according to the preset method.
[0010] The blockchain storage of the single point positioning algorithm software package includes:
[0011] Obtaining single point positioning algorithm software and configuration files, and compressing the single point positioning algorithm software and configuration files to obtain a first compressed package;
[0012] Obtaining precise point positioning algorithm software and configuration files, and compressing the precise point positioning algorithm software and configuration files to obtain a second compressed package;
[0013] Performing a hash calculation on the first compressed package to obtain a first hash value, and performing a hash calculation on the second compressed package to obtain a second hash value;
[0014] Sending the first hash value and the second hash value to the blockchain for evidence storage;
[0015] The first compressed package and the second compressed package are stored offline.
[0016] The method of regularly storing the reference station data stream on a blockchain includes:
[0017] The timing loop obtains the data in the real-time data stream and saves it to a file;
[0018] Perform hash calculation on the saved file to obtain a third hash value;
[0019] Sending the third hash value to the blockchain for evidence storage;
[0020] Store the saved files offline and record the data time.
[0021] Wherein, the verification of the single point positioning algorithm software package to be used includes:
[0022] Obtain a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used;
[0023] Performing hash calculation on the compressed package of the single point positioning algorithm software to be used to obtain a first verification hash value, and performing hash calculation on the compressed package of the precise single point positioning algorithm software to be used to obtain a second verification hash value;
[0024] Determining whether the first verification Hash value is consistent with the first Hash value, and determining whether the second Hash verification value is consistent with the second Hash value;
[0025] If the judgments are consistent, it is determined that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
[0026] The data file to be traced back to its source in a preset manner includes:
[0027] Obtain the data file of the source to be traced to obtain a traceability data file;
[0028] According to the time of the traceability data file, a broadcast ephemeris data file publicly disclosed at a corresponding time is obtained;
[0029] Determine whether there is a corresponding broadcast ephemeris data file;
[0030] If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the traceability data file;
[0031] Determine whether there is an offline backup source data file;
[0032] If yes, performing hash calculation on the offline backup source data file to obtain a third hash verification value;
[0033] Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence;
[0034] If they are consistent, using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates;
[0035] Using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates;
[0036] Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range;
[0037] If they are consistent, obtaining the public precise ephemeris data file of the corresponding time according to the time of the traceability data file;
[0038] Determine whether there is a corresponding precise ephemeris data file;
[0039] If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates;
[0040] Using the untampered precise point positioning algorithm software package to be used, inputting the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates;
[0041] Determine whether the first precise single-point positioning coordinates and the second precise single-point positioning coordinates are consistent within an error range;
[0042] If they are consistent, parsing the offline backup source data file and the source tracing data file;
[0043] Determine the overlap rate of the observation data of the visible satellites and satellite frequencies in the analysis result of the offline backup source data file and the analysis result of the traceability data file;
[0044] Determining whether the overlap rate exceeds an overlap rate threshold;
[0045] If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated from the same data source.
[0046] Another aspect of the present invention provides a satellite navigation positioning reference station data flow tracing device based on blockchain, comprising:
[0047] The first evidence storage module is used to store the single point positioning algorithm software package on the blockchain;
[0048] The second evidence storage module is used to perform blockchain evidence storage on a regular basis for the base station data stream;
[0049] Verification module, used to verify the single point positioning algorithm software package to be used;
[0050] The traceability module is used to trace the source of the data files to be traced according to the preset method.
[0051] The first evidence storage module performs blockchain evidence storage on the single point positioning algorithm software package in the following manner:
[0052] Obtaining single point positioning algorithm software and configuration files, and compressing the single point positioning algorithm software and configuration files to obtain a first compressed package;
[0053] Obtaining precise point positioning algorithm software and configuration files, and compressing the precise point positioning algorithm software and configuration files to obtain a second compressed package;
[0054] Performing a hash calculation on the first compressed package to obtain a first hash value, and performing a hash calculation on the second compressed package to obtain a second hash value;
[0055] Sending the first hash value and the second hash value to the blockchain for evidence storage;
[0056] The first compressed package and the second compressed package are stored offline.
[0057] The second evidence storage module stores blockchain evidence on the reference station data stream regularly in the following manner:
[0058] The timing loop obtains the data in the real-time data stream and saves it to a file;
[0059] Perform hash calculation on the saved file to obtain a third hash value;
[0060] Sending the third hash value to the blockchain for evidence storage;
[0061] Store the saved files offline and record the data time.
[0062] The verification module verifies the single point positioning algorithm software package in the following manner:
[0063] Obtain a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used;
[0064] Performing hash calculation on the compressed package of the single point positioning algorithm software to be used to obtain a first verification hash value, and performing hash calculation on the compressed package of the precise single point positioning algorithm software to be used to obtain a second verification hash value;
[0065] Determining whether the first verification Hash value is consistent with the first Hash value, and determining whether the second Hash verification value is consistent with the second Hash value;
[0066] If the judgments are consistent, it is determined that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
[0067] The traceability module performs source tracing on the data file of the traceable source in a preset manner in the following manners:
[0068] Obtain the data file of the source to be traced to obtain a traceability data file;
[0069] According to the time of the traceability data file, a broadcast ephemeris data file publicly disclosed at a corresponding time is obtained;
[0070] Determine whether there is a corresponding broadcast ephemeris data file;
[0071] If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the traceability data file;
[0072] Determine whether there is an offline backup source data file;
[0073] If yes, performing hash calculation on the offline backup source data file to obtain a third hash verification value;
[0074] Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence;
[0075] If they are consistent, using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates;
[0076] Using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates;
[0077] Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range;
[0078] If they are consistent, obtaining the public precise ephemeris data file of the corresponding time according to the time of the traceability data file;
[0079] Determine whether there is a corresponding precise ephemeris data file;
[0080] If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates;
[0081] Using the untampered precise point positioning algorithm software package to be used, inputting the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates;
[0082] Determine whether the first precise single-point positioning coordinates and the second precise single-point positioning coordinates are consistent within an error range;
[0083] If they are consistent, parsing the offline backup source data file and the source tracing data file;
[0084] Determine the overlap rate of the observation data of the visible satellites and satellite frequencies in the analysis result of the offline backup source data file and the analysis result of the traceability data file;
[0085] Determining whether the overlap rate exceeds an overlap rate threshold;
[0086] If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated from the same data source.
[0087] It can be seen that through the blockchain-based satellite navigation and positioning base station data flow tracing method and device provided by the present invention, the data flow of the satellite navigation and positioning base station can be traced to avoid tampering with data files. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0089] Figure 1 A flowchart of a satellite navigation positioning reference station data flow tracing method based on blockchain provided in an embodiment of the present invention;
[0090] Figure 2 A flowchart of a single point positioning algorithm for storing evidence provided by an embodiment of the present invention;
[0091] Figure 3 A flowchart of the base station data stream timed evidence storage provided by an embodiment of the present invention;
[0092] Figure 4 A flow chart of the source tracing of the single point positioning algorithm provided by an embodiment of the present invention;
[0093] Figure 5 A flowchart of tracing the source of data of a reference station provided by an embodiment of the present invention;
[0094] Figure 6 A schematic diagram of the structure of a satellite navigation positioning base station data flow tracing device based on blockchain provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0095] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0096] Figure 1 A flowchart of a satellite navigation positioning base station data flow tracing method based on blockchain provided by an embodiment of the present invention is shown, see Figure 1 , the satellite navigation positioning reference station data flow tracing method based on blockchain provided by an embodiment of the present invention includes:
[0097] S1, blockchain storage of single point positioning algorithm software package.
[0098] Specifically, see Figure 2 , blockchain storage of the single-point positioning algorithm software package includes: obtaining the single-point positioning algorithm software and configuration file, compressing the single-point positioning algorithm software and configuration file to obtain a first compressed package; obtaining the precise single-point positioning algorithm software and configuration file, compressing the precise single-point positioning algorithm software and configuration file to obtain a second compressed package; performing hash calculation on the first compressed package to obtain a first hash value, performing hash calculation on the second compressed package to obtain a second hash value; sending the first hash value and the second hash value to the blockchain for storage; and storing the first compressed package and the second compressed package offline.
[0099] S2, regularly stores the base station data stream on blockchain.
[0100] Specifically, see Figure 3 , the regular blockchain storage of the base station data stream includes: obtaining the data in the real-time data stream in a regular cycle and saving it to a file; performing hash calculation on the saved file to obtain a third hash value; sending the third hash value to the blockchain for storage; storing the saved file offline and recording the data time.
[0101] S3, verify the single point positioning algorithm software package to be used.
[0102] Specifically, see Figure 4 , verifying the single-point positioning algorithm software package to be used includes: obtaining a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used; performing hash calculation on the compressed package of the single-point positioning algorithm software to be used to obtain a first verification hash value, and performing hash calculation on the compressed package of the precise single-point positioning algorithm software to be used to obtain a second verification hash value; judging whether the first verification hash value is consistent with the first hash value, and judging whether the second hash verification value is consistent with the second hash value; if both judgments are consistent, determining that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
[0103] S4, tracing the source of the data file to be traced according to the preset method.
[0104] Specifically, see Figure 5 , the data files to be traced back to the source are traced back in the preset way, including:
[0105] Obtain the data file of the source to be traced and obtain the traceability data file;
[0106] According to the time of the traceability data file, obtain the public broadcast ephemeris data file of the corresponding time;
[0107] Determine whether there is a corresponding broadcast ephemeris data file;
[0108] If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the source tracing data file;
[0109] Determine whether there is an offline backup source data file;
[0110] If yes, perform hash calculation on the offline backup source data file to obtain a third hash verification value;
[0111] Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence;
[0112] If they are consistent, use the untampered single point positioning algorithm software package to be used, input the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates;
[0113] Use the unmodified single point positioning algorithm software package to be used, input the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates;
[0114] Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range;
[0115] If they are consistent, the precise ephemeris data file publicly available at the corresponding time is obtained according to the time of the traceability data file;
[0116] Determine whether there is a corresponding precise ephemeris data file;
[0117] If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates;
[0118] Use the unmodified precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates;
[0119] Determine whether the first precision single-point positioning coordinates and the second precision single-point positioning coordinates are consistent within an error range;
[0120] If they are consistent, the offline backup source data file and the traceability data file are parsed;
[0121] Determine the coincidence rate of the observation data of the visible satellites and satellite frequencies in the analysis results of the offline backup source data file and the analysis results of the traceability data file;
[0122] Determine whether the overlap rate exceeds the overlap rate threshold;
[0123] If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated by the same data source.
[0124] In specific implementation, the present invention relies on blockchain evidence technology to perform hash value blockchain evidence on specific single-point positioning algorithm software packages and hash value blockchain evidence on base station satellite observation data. Since the satellite observation data produced by the base station is real-time, long-term and continuous, regular sampling is performed to perform hash value blockchain evidence on the satellite observation data produced by the base station.
[0125] When tracing the data flow of the base station, the following three steps are used to determine the same data source for different data.
[0126] 1. Evidence information hash value verification
[0127] Use the hash algorithm to calculate and compare the blockchain evidence hash value for the backed-up single-point positioning algorithm software package, and perform hash calculation on a certain section of the backed-up base station sampling satellite observation data and compare the blockchain evidence hash value.
[0128] 2. Single point positioning comparison
[0129] Use the certified single-point positioning algorithm or the precise single-point positioning algorithm to calculate the two sets of data that need to be judged. One set is the certified sampling satellite observation data of a certain section of the base station and a corresponding three-dimensional spatial position is calculated. The other set is the satellite observation data that needs to be judged and another corresponding three-dimensional spatial position is calculated. When the three-dimensional spatial positions calculated by the two sets of observation data coincide within the positioning accuracy, the next step of judgment can be carried out.
[0130] 3. Comparison of observation data
[0131] The two sets of satellite binary / renix observation data are analyzed and compared respectively. When the coincidence rate of the two sets of data reaches a certain threshold, it can be determined that the two sets of data come from the same data source.
[0132] It can be seen that the satellite navigation and positioning base station data flow tracing method based on blockchain provided by the embodiment of the present invention can trace the data flow of the satellite navigation and positioning base station and avoid tampering of data files.
[0133] Figure 6 The structure diagram of the satellite navigation positioning reference station data flow tracing device based on blockchain provided by an embodiment of the present invention is shown. The satellite navigation positioning reference station data flow tracing device based on blockchain applies the above method. The following is only a brief description of the structure of the satellite navigation positioning reference station data flow tracing device based on blockchain. For other matters not covered, please refer to the relevant description in the satellite navigation positioning reference station data flow tracing method based on blockchain, see Figure 6 , the satellite navigation positioning reference station data flow tracing device based on blockchain provided by an embodiment of the present invention includes:
[0134] The first evidence storage module is used to store the single point positioning algorithm software package on the blockchain;
[0135] The second evidence storage module is used to perform blockchain evidence storage on a regular basis for the base station data stream;
[0136] Verification module, used to verify the single point positioning algorithm software package to be used;
[0137] The traceability module is used to trace the source of the data files to be traced according to the preset method.
[0138] As an optional implementation of the embodiment of the present invention, the first evidence storage module performs blockchain evidence storage on the single point positioning algorithm software package in the following manner:
[0139] Obtaining single point positioning algorithm software and configuration files, and compressing the single point positioning algorithm software and configuration files to obtain a first compressed package;
[0140] Obtaining precise point positioning algorithm software and configuration files, and compressing the precise point positioning algorithm software and configuration files to obtain a second compressed package;
[0141] Performing hash calculation on the first compressed package to obtain a first hash value, and performing hash calculation on the second compressed package to obtain a second hash value;
[0142] Send the first hash value and the second hash value to the blockchain for storage;
[0143] The first compressed package and the second compressed package are stored offline.
[0144] As an optional implementation of the embodiment of the present invention, the second evidence storage module periodically stores blockchain evidence on the reference station data stream in the following manner:
[0145] The timing loop obtains the data in the real-time data stream and saves it to a file;
[0146] Perform hash calculation on the saved file to obtain a third hash value;
[0147] Send the third hash value to the blockchain for evidence storage;
[0148] Store the saved files offline and record the data time.
[0149] As an optional implementation of the embodiment of the present invention, the verification module verifies the use of the single point positioning algorithm software package in the following manner:
[0150] Obtain a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used;
[0151] Perform hash calculation on the compressed package of the software using the single point positioning algorithm to obtain a first verification hash value, and perform hash calculation on the compressed package of the software using the precise single point positioning algorithm to obtain a second verification hash value;
[0152] Determining whether the first verification hash value is consistent with the first hash value, and determining whether the second hash verification value is consistent with the second hash value;
[0153] If the judgments are consistent, it is determined that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
[0154] As an optional implementation of the embodiment of the present invention, the source tracing module performs source tracing on the data file of the source to be traced in a preset manner in the following manner:
[0155] Obtain the data file of the source to be traced and obtain the traceability data file;
[0156] According to the time of the traceability data file, obtain the public broadcast ephemeris data file of the corresponding time;
[0157] Determine whether there is a corresponding broadcast ephemeris data file;
[0158] If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the source tracing data file;
[0159] Determine whether there is an offline backup source data file;
[0160] If yes, perform hash calculation on the offline backup source data file to obtain a third hash verification value;
[0161] Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence;
[0162] If they are consistent, use the untampered single point positioning algorithm software package to be used, input the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates;
[0163] Use the unmodified single point positioning algorithm software package to be used, input the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates;
[0164] Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range;
[0165] If they are consistent, the precise ephemeris data file publicly available at the corresponding time is obtained according to the time of the traceability data file;
[0166] Determine whether there is a corresponding precise ephemeris data file;
[0167] If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates;
[0168] Use the unmodified precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates;
[0169] Determine whether the first precision single-point positioning coordinates and the second precision single-point positioning coordinates are consistent within an error range;
[0170] If they are consistent, the offline backup source data file and the traceability data file are parsed;
[0171] Determine the coincidence rate of the observation data of the visible satellites and satellite frequencies in the analysis results of the offline backup source data file and the analysis results of the traceability data file;
[0172] Determine whether the overlap rate exceeds the overlap rate threshold;
[0173] If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated by the same data source.
[0174] It can be seen that the satellite navigation and positioning base station data flow tracing device based on blockchain provided by the embodiment of the present invention can trace the data flow of the satellite navigation and positioning base station and avoid tampering of data files.
[0175] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A satellite navigation positioning base station data flow tracing method based on blockchain, characterized in that: include: Blockchain storage of single-point positioning algorithm software packages; Regularly store the base station data stream on blockchain; Verify the single point positioning algorithm software package to be used; The data files to be traced back to their source shall be traced back to their source in a preset manner; in: The data file to be traced back to its source according to a preset method includes: Obtain the data file of the source to be traced to obtain a traceability data file; According to the time of the traceability data file, a broadcast ephemeris data file publicly disclosed at a corresponding time is obtained; Determine whether there is a corresponding broadcast ephemeris data file; If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the traceability data file; Determine whether there is an offline backup source data file; If yes, performing hash calculation on the offline backup source data file to obtain a third hash verification value; Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence; If they are consistent, using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates; Using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates; Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range; If they are consistent, obtaining the public precise ephemeris data file of the corresponding time according to the time of the traceability data file; Determine whether there is a corresponding precise ephemeris data file; If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates; Using the untampered precise point positioning algorithm software package to be used, inputting the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates; Determine whether the first precise single-point positioning coordinates and the second precise single-point positioning coordinates are consistent within an error range; If they are consistent, parsing the offline backup source data file and the source tracing data file; Determine the overlap rate of the observation data of the visible satellites and satellite frequencies in the analysis result of the offline backup source data file and the analysis result of the traceability data file; Determining whether the overlap rate exceeds an overlap rate threshold; If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated from the same data source.
2. The method according to claim 1, characterized in that: The blockchain storage of the single point positioning algorithm software package includes: Obtaining single point positioning algorithm software and configuration files, and compressing the single point positioning algorithm software and configuration files to obtain a first compressed package; Obtaining precise point positioning algorithm software and configuration files, and compressing the precise point positioning algorithm software and configuration files to obtain a second compressed package; Performing a hash calculation on the first compressed package to obtain a first hash value, and performing a hash calculation on the second compressed package to obtain a second hash value; Sending the first hash value and the second hash value to the blockchain for evidence storage; The first compressed package and the second compressed package are stored offline.
3. The method according to claim 2, characterized in that The periodic blockchain storage of the reference station data stream includes: The timing loop obtains the data in the real-time data stream and saves it to a file; Perform hash calculation on the saved file to obtain a third hash value; Sending the third hash value to the blockchain for evidence storage; Store the saved files offline and record the data time.
4. The method according to claim 3, characterized in that The verification of the single point positioning algorithm software package to be used includes: Obtain a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used; Performing hash calculation on the compressed package of the single point positioning algorithm software to be used to obtain a first verification hash value, and performing hash calculation on the compressed package of the precise single point positioning algorithm software to be used to obtain a second verification hash value; Determining whether the first verification Hash value is consistent with the first Hash value, and determining whether the second Hash verification value is consistent with the second Hash value; If the judgments are consistent, it is determined that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
5. A satellite navigation positioning base station data flow tracing device based on blockchain, characterized in that: include: The first evidence storage module is used to store the single point positioning algorithm software package on the blockchain; The second evidence storage module is used to perform blockchain evidence storage on a regular basis for the base station data stream; Verification module, used to verify the single point positioning algorithm software package to be used; The traceability module is used to trace the source of the data file to be traced according to the preset method; in: The traceability module performs source tracing on the data file of the traceability source in a preset manner in the following manner: Obtain the data file of the source to be traced to obtain a traceability data file; According to the time of the traceability data file, a broadcast ephemeris data file publicly disclosed at a corresponding time is obtained; Determine whether there is a corresponding broadcast ephemeris data file; If yes, then obtain the source data file stored in offline backup at the corresponding time according to the time of the traceability data file; Determine whether there is an offline backup source data file; If yes, performing hash calculation on the offline backup source data file to obtain a third hash verification value; Determine whether the third hash verification value is consistent with the hash value of the blockchain evidence; If they are consistent, using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the offline backup source data file to calculate the first single point positioning coordinates; Using the untampered single point positioning algorithm software package to be used, inputting the broadcast ephemeris data file and the traceability data file to calculate the second single point positioning coordinates; Determine whether the first single-point positioning coordinates and the second single-point positioning coordinates are consistent within an error range; If they are consistent, obtaining the public precise ephemeris data file of the corresponding time according to the time of the traceability data file; Determine whether there is a corresponding precise ephemeris data file; If yes, use the untampered precise point positioning algorithm software package to be used, input the broadcast ephemeris data file, the precise ephemeris data file, and the offline backup source data file to calculate the first precise point positioning coordinates; Using the untampered precise point positioning algorithm software package to be used, inputting the broadcast ephemeris data file, the precise ephemeris data file, and the traceability data file to calculate the second precise point positioning coordinates; Determine whether the first precise single-point positioning coordinates and the second precise single-point positioning coordinates are consistent within an error range; If they are consistent, parsing the offline backup source data file and the source tracing data file; Determine the overlap rate of the observation data of the visible satellites and satellite frequencies in the analysis result of the offline backup source data file and the analysis result of the traceability data file; Determining whether the overlap rate exceeds an overlap rate threshold; If it exceeds, it is determined that the locations of the offline backup source data file and the traceability data file overlap, the observed data overlap, and it is determined that the offline backup source data file and the traceability data file are generated from the same data source.
6. The device according to claim 5, characterized in that The first evidence storage module performs blockchain evidence storage of the single point positioning algorithm software package in the following manner: Obtaining single point positioning algorithm software and configuration files, and compressing the single point positioning algorithm software and configuration files to obtain a first compressed package; Obtaining precise point positioning algorithm software and configuration files, and compressing the precise point positioning algorithm software and configuration files to obtain a second compressed package; Performing a hash calculation on the first compressed package to obtain a first hash value, and performing a hash calculation on the second compressed package to obtain a second hash value; Sending the first hash value and the second hash value to the blockchain for evidence storage; The first compressed package and the second compressed package are stored offline.
7. The device according to claim 6, characterized in that The second evidence storage module stores blockchain evidence on the reference station data stream regularly in the following manner: The timing loop obtains the data in the real-time data stream and saves it to a file; Perform hash calculation on the saved file to obtain a third hash value; Sending the third hash value to the blockchain for evidence storage; Store the saved files offline and record the data time.
8. The device according to claim 7, characterized in that The verification module verifies the use of the single point positioning algorithm software package in the following manner: Obtain a compressed package of the single-point positioning algorithm software to be used and a compressed package of the precise single-point positioning algorithm software to be used; Performing hash calculation on the compressed package of the single point positioning algorithm software to be used to obtain a first verification hash value, and performing hash calculation on the compressed package of the precise single point positioning algorithm software to be used to obtain a second verification hash value; Determining whether the first verification Hash value is consistent with the first Hash value, and determining whether the second Hash verification value is consistent with the second Hash value; If the judgments are consistent, it is determined that the compressed package of the single-point positioning algorithm software to be used and the compressed package of the precise single-point positioning algorithm software to be used have not been tampered with.
