Time measurement method based on satellite positioning system

Through the time measurement method based on satellite positioning system, the precise position and time stamp of the target receiver are calculated using satellite data, and the target receiver is embedded in the financial market for clock synchronization, solving the time synchronization error caused by ground base stations or network time protocols is solved The problem has improved the accuracy and cooperation efficiency of financial transaction data processing.

CN118642346BActive Publication Date: 2024-12-06ZHONGTIAN GUIDE CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411110829.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-06
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

In the existing financial market, due to the large time synchronization error provided by ground base stations or network time protocols, different devices from long distances have low cooperation efficiency when cooperation is zero-delay, and the processing accuracy of financial transaction data is low.

Method used

Using a time measurement method based on satellite positioning system, the time stamp and pseudo-random code in the satellite data are received through the target receiver, and the propagation time and real distance of the satellite data are calculated. Combined with the principle of triangulation and time difference method, the target receiver's Accurate position and timestamp, and embed the target receiver in the database device for clock synchronization, to build an ad hoc clock network to improve clock synchronization accuracy.

Benefits of technology

It effectively solves the problem of large time synchronization errors provided by ground base stations or network time protocols, improves the accuracy and cooperation efficiency of financial transaction data processing, and reduces the cost of clock synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118642346B_ABST
    Figure CN118642346B_ABST
Patent Text Reader

Abstract

The invention discloses a time measurement method based on a satellite positioning system, comprising: obtaining a first signal containing a timestamp and a pseudo-random code in at least four satellite data received by a target receiver; determining the propagation time of each satellite data to reach the target receiver according to the first signal; calculating the real distance between each satellite and the target receiver in the received satellite data according to the propagation time and the speed of light; determining the actual position of the target receiver by using the triangulation principle, combining the coordinate information of each satellite and the real distance to the target receiver, and calculating the precise timestamp of the target receiver according to the time difference method; calibrating the precise timestamp by using the RTK technology to obtain the precise timestamp; the invention uses the satellite positioning system to complete clock synchronization, and solves the problem of low data processing accuracy due to large time synchronization error provided by a ground base station or a network time protocol in the existing financial transaction data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of clock synchronization, and in particular relates to a time measurement method based on a satellite positioning system. Background Art

[0002] As a basic physical quantity, time is of great significance in all fields. High-precision time synchronization technology is the key to realizing a high-precision time system and an important basis for establishing zero-delay cooperation between different devices at a long distance.

[0003] At present, in the financial market, the trading signals generated by high-frequency trading algorithms propagate very quickly in the trading network. There are several trading signals every second, which also brings a huge workload to the transaction management of the financial industry. At the same time, since the time synchronization between the database switchboard and each database extension used in the existing financial market often relies on ground base stations or network time protocols, and because of cost sharing, too many database extensions are often not set up in the same area, resulting in a large number of millisecond-level trading signals When being transmitted to the database switchboard, due to the delay errors of ground base stations or network time protocols in various places, there is a problem of low traceability accuracy when tracing the transaction signals later. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a time measurement method based on a satellite positioning system, which is used to solve the problem of low cooperation efficiency caused by large time synchronization errors provided by ground base stations or network time protocols when different devices at different distances cooperate with zero delay.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] A time measurement method based on a satellite positioning system, comprising:

[0007] Acquire a first signal including a timestamp and a pseudo-random code from at least four satellite data received by a target receiver;

[0008] Recording the timestamp of the corresponding satellite data contained in each first signal according to the high-precision clock built into the target receiver;

[0009] Obtaining a pseudo-random code contained in each first signal and matching it with a known satellite pseudo-random code sequence, and determining the precise arrival time of the first signal corresponding to each timestamp at the target receiver according to the matching result;

[0010] extracting a signal sending time contained in the first signal;

[0011] Determine the propagation time of each satellite data to the target receiver based on the difference between the signal transmission time and the precise arrival time;

[0012] The actual distance between each satellite and the target receiver in the received satellite data is calculated based on the propagation time and the speed of light;

[0013] By using the principle of triangulation and combining the coordinate information of each satellite and the actual distance to the target receiver, the actual position of the target receiver is determined, and the precise timestamp of the target receiver is calculated based on the time difference method.

[0014] Further, obtaining a first signal containing precise time information from at least four satellite data received by a target receiver includes:

[0015] Capturing initial satellite signals of at least four satellites through multiple high-gain antennas built into the target receiver, and performing signal enhancement and filtering processing on the initial satellite signals to obtain at least four first signals;

[0016] The first signals are parsed to obtain a pseudo-random code and a corresponding timestamp contained in each first signal.

[0017] Furthermore, the actual distance between each satellite and the target receiver in the received satellite data is calculated based on the propagation time and the speed of light, including:

[0018] Obtain the propagation time and speed of light, and calculate the pseudo distance between each satellite and the target receiver according to the distance calculation formula;

[0019] Obtain satellite clock error information and second clock error information of a target receiver in satellite data corresponding to each satellite;

[0020] The double difference method is used to correct the satellite clock error information and the second clock error information. The pseudo distance is corrected according to the correction result to obtain the true distance between each satellite and the target receiver.

[0021] Furthermore, the actual position of the target receiver is determined by combining the coordinate information of each satellite and the actual distance to the target receiver using the principle of triangulation, and the precise timestamp of the target receiver is calculated based on the time difference method, including:

[0022] Based on the principle of triangulation, an overdetermined set of equations for the three-dimensional coordinates of the target receiver on the earth's surface is constructed according to the coordinate information between each satellite and the actual distance between each satellite and the target receiver;

[0023] The overdetermined equations are solved using the least square method to obtain the true three-dimensional coordinates of the target receiver on the earth's surface and determine the actual position of the target receiver;

[0024] Determine the time difference between the target receiver and each satellite based on the actual position of the target receiver;

[0025] Based on the time difference method, the clock synchronization between the target receiver and each satellite is completed according to the time difference to obtain the accurate timestamp of the target receiver.

[0026] Furthermore, a time measurement method based on a satellite positioning system also includes:

[0027] When there are multiple target receivers, at least four target receivers are obtained as core target receivers; wherein the distance between each core target receiver and other core target receivers is less than the maximum distance of effective signal transmission;

[0028] obtaining actual position and clock information of at least four core target receivers;

[0029] Calculate the reliability of the correction satellite clock corresponding to the clock information of each core target receiver, and select the clock information with the highest reliability as the reference clock;

[0030] Synchronizing clock information of all core target receivers according to the reference clock and the actual positions of all core target receivers;

[0031] An initial self-organizing clock network is constructed based on at least four core target receivers after clock synchronization; wherein each target receiver in the self-organizing clock network regularly sends a synchronization signal carrying identification information, location information and clock information;

[0032] When any target receiver receives and identifies the synchronization signal, the synchronization distance between the current synchronization signal transmitter and the current target receiver is determined according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal;

[0033] If the number of synchronization distances from different signal sending ends stored in the current target receiver is not less than four, determining the actual position of the current target receiver according to at least four synchronization distances and position information of corresponding synchronization signal sending ends;

[0034] Calculate the synchronization clock error based on the actual position sent by the current target receiver;

[0035] The clock information of the current target receiver is synchronized according to the synchronization clock difference and the clock information in the synchronization signal. After the clock synchronization is completed, the current target receiver is connected to the self-organizing clock network and starts to regularly send synchronization signals carrying identification information, location information and clock information.

[0036] Further, the reliability of the correction satellite clock corresponding to the clock information of each core target receiver is calculated, and the clock information with the highest reliability is selected as the reference clock, including:

[0037] Obtaining a preset satellite positioning reliability initial comparison table to determine the reliability of each satellite in the satellite positioning system; wherein, the higher the accuracy of the satellite positioning system, the higher the reliability of each satellite contained therein;

[0038] Acquire at least four satellite data received by each core target receiver when calculating an accurate time stamp;

[0039] Determining the reliability of each of at least four satellites according to an initial comparison table of satellite positioning reliability;

[0040] Calculate the average reliability of all satellites corresponding to each core target receiver to obtain the reliability of the correction satellite clock corresponding to the clock information of each core target receiver;

[0041] The clock information with the highest reliability is selected as the reference clock.

[0042] Further, according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal, determining the synchronization distance between the current synchronization signal sending end and the current target receiver includes:

[0043] The receiving and transmitting power of the synchronization signal is obtained, and the first distance between the current synchronization signal transmitter and the current target receiver is calculated based on the attenuation degree formula of the signal; the attenuation degree formula is:

[0044]

[0045] in, is the first distance, is the preset reference distance, is the transmission power of the synchronization signal, r is the received power of the synchronization signal, c is the propagation speed of the synchronization signal, f is the frequency of the synchronization signal, and h is the preset propagation loss coefficient;

[0046] The arrival time and sending time of the synchronization signal are obtained, and the second distance between the current synchronization signal transmitter and the current target receiver is calculated based on the conventional distance formula; the conventional distance formula is:

[0047]

[0048] in, is the second distance, is the arrival time of the synchronization signal, is the sending time of the synchronization signal;

[0049] like and The difference is less than the preset transmission error distance, and the calculated and The average distance is taken as the synchronization distance between the current synchronization signal transmitter and the current target receiver;

[0050] like and The difference is not less than the preset transmission error distance, and the synchronization signal received this time is determined to be an invalid signal.

[0051] The beneficial effects of the present invention are:

[0052] The present invention proposes a time measurement method based on a satellite positioning system. A target receiver is installed in a database switchboard and a corresponding database extension respectively, and clock synchronization is completed using the satellite positioning system. The problem of low data processing accuracy caused by large time synchronization errors provided by ground base stations or network time protocols in existing financial transaction data processing is solved.

[0053] Other advantages, objectives and features of the present invention will be described in the following description and will be apparent to those skilled in the art to some extent, or they may be taught from the practice of the present invention. The purposes and other advantages of the present invention may be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0054] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0056] Figure 1 A method flow chart of a time measurement method based on a satellite positioning system in an embodiment of the present invention;

[0057] Figure 2 A synchronization flow chart of multi-target receiver clock synchronization in a time measurement method based on a satellite positioning system in an embodiment of the present invention;

[0058] Figure 3 The present invention is a flowchart of selecting a reference clock in a time measurement method based on a satellite positioning system in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0060] See also Figure 1The present invention proposes a time measurement method based on a satellite positioning system, comprising:

[0061] S101, obtaining a first signal including a timestamp and a pseudo-random code from at least four satellite data received by a target receiver;

[0062] S102, determining the propagation time for each satellite data to reach the target receiver according to the first signal;

[0063] S103, calculating the actual distance between each satellite and the target receiver in the received satellite data according to the propagation time and the speed of light;

[0064] S104, using the triangulation principle, combining the coordinate information of each satellite and the real distance to the target receiver, determining the actual position of the target receiver, and calculating the precise timestamp of the target receiver according to the time difference method;

[0065] The working principle of the above technical solution is as follows: in order to solve the problem that the time records of several transaction signals in existing financial transactions are difficult to process, the present invention proposes a time measurement method based on a satellite positioning system to solve the problem that the time synchronization error provided by a ground base station or a network time protocol is large. Specifically, the target receiver is embedded in the corresponding database device to synchronize the clocks of each device, or the target receiver is embedded in the database device, and the synchronization clock of the target receiver is transmitted in real time to each financial processing extension. The method for synchronizing the clock of the target receiver includes: obtaining a first signal containing a timestamp and a pseudo-random code in at least four satellite data received by the target receiver, wherein the target receiver also includes a high-precision clock and a signal processing unit, the signal processing unit includes a multi-band receiving antenna and a signal enhancement module, the multi-band receiving antenna can receive signals from different satellites, and the signal enhancement module is used to improve signal quality and reduce noise interference; then, according to the first signal, the propagation time of each satellite data reaching the target receiver is determined, specifically, the clock inside the target receiver records the timestamp of each satellite data received, and the pseudo-random code carried in the satellite data is used for accurate time alignment, thereby determining the propagation time of each satellite data reaching the target receiver. It is worth mentioning that Yes, since there may be multipath effects in the signal propagation process, it is preferred to use the corresponding signal processing algorithm to correct it; after determining the propagation time, the real distance between each satellite and the target receiver in the received satellite data is calculated according to the propagation time and the speed of light. Specifically, the pseudo distance between the target receiver and each satellite is calculated according to the known speed of light, distance calculation formula and propagation time, and due to the incomplete synchronization of the satellite clock and the internal high-precision clock of the target receiver, the pseudo distance needs to be corrected accordingly to determine the real distance; after obtaining the real distance between each satellite and the target receiver, the actual position of the target receiver is solved by using the triangulation principle, combining the coordinate information of each satellite and the real distance to the target receiver, and the precise timestamp of the target receiver is calculated according to the time difference method, and the precise timestamp is transmitted to the corresponding terminal to achieve time synchronization. It is worth noting that in the process of determining the precise timestamp, in order to reduce the influence of atmospheric delay and satellite clock error, it is preferred to use differential technology to provide correction information through a reference station with a known position to accurately determine the actual position of the target receiver to ensure the high accuracy of the final time measurement result. If the financial processing extension is in a mobile state, it is preferred to use RTK (Real Time Kinematics) to obtain the accurate timestamp of the target receiver. - time kinematic (real-time dynamic differential positioning) technology to correct its position; at the same time, preferably provide a user management interface to facilitate users to view the time correction results and set the corresponding calibration parameters, such as data information of known reference stations;

[0066] The beneficial effects of the above technical solution are as follows: through the above technical solution, the target receiver is installed in the database switchboard and the corresponding database extension respectively, and the clock synchronization is completed using the satellite positioning system, thereby solving the problem of low data processing accuracy caused by the large time synchronization error provided by the ground base station or the network time protocol during existing financial transaction data processing.

[0067] In one embodiment, obtaining a first signal containing precise time information from at least four satellite data received by a target receiver includes:

[0068] Capturing initial satellite signals of at least four satellites through multiple high-gain antennas built into the target receiver, and performing signal enhancement and filtering processing on the initial satellite signals to obtain at least four first signals;

[0069] Performing a parsing operation on the first signal to obtain a pseudo-random code and a corresponding timestamp contained in each first signal;

[0070] The working principle of the above technical solution is: the initial satellite signals of at least four satellites are captured by multiple high-gain antennas built into the target receiver, wherein the high-gain antenna is designed to capture satellite signals of different frequencies, and is preferably arranged to receive signals of frequency bands such as L1, L2, and L5, so as to adapt to the signal characteristics of different satellite systems. At the same time, the target receiver is built with a radio frequency front end, which can preliminarily amplify and filter the received initial satellite signals to reduce the attenuation and interference of the initial satellite signals during the transmission process, and obtain at least four first signals. It is worth noting that in order to improve the reliability and robustness of time measurement, it is preferred to use Doppler frequency shift technology to distinguish the initial satellite signals of different satellites, and to perform data fusion on the frequency signals from different satellite systems; after obtaining the first signal, the first signal is parsed to obtain the pseudo-random code and the corresponding timestamp contained in each first signal, specifically, according to PRN (Pseudo-Random A pseudo-random code (PRN) decoding method is used to perform a pseudo-random code (PRN) decoding operation on the first signal to obtain a pseudo-random code of a satellite corresponding to each first signal, and synchronize and identify the first signal with satellite data by matching a locally generated known pseudo-random code sequence with the decoded first signal, and extract timestamp information generated by the satellite's atomic clock from the first signal for subsequent time measurement;

[0071] The beneficial effects of the above technical solution are as follows: through the above technical solution, the target receiver realizes multi-band receiving capability by setting up multiple high-gain antennas, which is beneficial to improving the efficiency of capturing satellite signals. At the same time, the pseudo-random code is used to determine the data of each satellite, which is beneficial to improving the accuracy of subsequent time measurement.

[0072] In one embodiment, determining the propagation time of each satellite data to reach the target receiver according to the first signal includes:

[0073] Recording the timestamp of the corresponding satellite data contained in each first signal according to the high-precision clock built into the target receiver;

[0074] Obtaining a pseudo-random code contained in each first signal and matching it with a known satellite pseudo-random code sequence, and determining the precise arrival time of the first signal corresponding to each timestamp at the target receiver according to the matching result;

[0075] extracting a signal sending time contained in the first signal;

[0076] Determine the propagation time of each satellite data to the target receiver based on the difference between the signal transmission time and the precise arrival time;

[0077] The working principle of the above technical solution is: the timestamp of the corresponding satellite data contained in each first signal is recorded according to the high-precision clock built into the target receiver. The high-precision clock is preferably a quartz clock to save actual costs. The clock error will be calculated later to eliminate the error caused by the quartz clock; then the pseudo-random code contained in each first signal is obtained and matched with the known satellite pseudo-random code sequence, and the precise arrival time of the first signal corresponding to each timestamp to the target receiver is determined according to the matching result, and the signal sending time contained in the first signal is extracted; according to the difference between the signal sending time and the precise arrival time, the propagation time of each satellite data to the target receiver is determined; it is worth mentioning that, considering that the propagation speed of the first signal in the atmosphere will be affected by external factors such as temperature, humidity and pressure, after determining the propagation time, the receiver will correct the propagation time according to a pre-trained correction model, or optimize the signal propagation time through a Kalman filter algorithm to eliminate errors caused by external factors such as noise; further, the target receiver is also equipped with a built-in quality monitoring module. If there is a quality problem with the received first signal, the first signal with the quality problem is redundantly processed according to the first signals corresponding to other satellites to improve the accuracy of subsequent time measurement;

[0078] The beneficial effects of the above technical solution are as follows: through the above technical solution, the high-precision clock inside the receiver can accurately record the timestamp of each satellite signal, providing accurate initial data for subsequent time synchronization and position calculation; at the same time, by matching the received signal with the locally generated PRN code, the receiver can effectively identify and lock the signals from different satellites, thereby improving the reliability of signal processing, and by determining the propagation time of each satellite data to the target receiver, providing reliable data support for the subsequent calculation of the true position of the target receiver.

[0079] In one embodiment, the actual distance between each satellite and the target receiver in the received satellite data is calculated based on the propagation time and the speed of light, including:

[0080] Obtain the propagation time and speed of light, and calculate the pseudo distance between each satellite and the target receiver according to the distance calculation formula;

[0081] Obtain satellite clock error information and second clock error information of a target receiver in satellite data corresponding to each satellite;

[0082] The satellite clock error information and the second clock error information are corrected by double difference method, and the pseudo distance is corrected according to the correction result to obtain the true distance between each satellite and the target receiver;

[0083] The working principle of the above technical solution is: obtain the propagation time and the speed of light, and calculate the pseudo distance between each satellite and the target receiver according to the distance calculation formula, wherein the speed of light value is known, and the distance calculation formula is preferably distance = speed × time; at the same time, obtain the satellite clock error information in the satellite data corresponding to each satellite and the second clock error information of the target receiver, that is, the clock error of the atomic clock built into each satellite and the clock error information of the quartz clock built into the target receiver, and use the double difference method to perform differential calculation on the satellite clock error information and the second clock error information, specifically, obtain a base station with known fixed coordinates, the base station and the target receiver use the same quartz clock, measure and record the first signal from the corresponding satellite, calculate the pseudo distance and correction parameters, then the target receiver receives the corresponding first signal and receives the correction information sent by the base station, uses the double difference method to calculate the correction parameters to eliminate the influence of the satellite clock error and the receiver clock error, and corrects the pseudo distance according to the correction result to obtain the true distance between each satellite and the target receiver;

[0084] The beneficial effects of the above technical solution are: through the above technical solution, the pseudo distance is corrected, the error caused by the asynchrony between the satellite clock and the receiver clock is eliminated, which is beneficial to improving the accuracy of distance measurement, and at the same time providing the real distance is beneficial to improving the accuracy of subsequent time measurement.

[0085] In one embodiment, the actual position of the target receiver is determined by using the triangulation principle, combining the coordinate information of each satellite and the real distance to the target receiver, and the precise timestamp of the target receiver is calculated according to the time difference method, including:

[0086] Based on the principle of triangulation, an overdetermined set of equations for the three-dimensional coordinates of the target receiver on the earth's surface is constructed according to the coordinate information between each satellite and the actual distance between each satellite and the target receiver;

[0087] The overdetermined equations are solved using the least square method to obtain the true three-dimensional coordinates of the target receiver on the earth's surface and determine the actual position of the target receiver;

[0088] Determine the time difference between the target receiver and each satellite based on the actual position of the target receiver;

[0089] Based on the time difference method, the clock synchronization between the target receiver and each satellite is completed according to the time difference to obtain the accurate timestamp of the target receiver;

[0090] The working principle of the above technical solution is: based on the principle of triangulation, according to the coordinate information between each satellite and the real distance between each satellite and the target receiver, an overdetermined equation group of the three-dimensional coordinates of the target receiver on the surface of the earth is constructed. Specifically, the three-dimensional coordinates (X, Y, Z) of the target receiver on the surface of the earth are solved by using the coordinate information of at least four satellites and the real distance to the target receiver. For each satellite, a distance equation is established according to its known coordinate information and the three-dimensional coordinates of the target receiver and the corresponding real distance. Since there are three unknowns in the three-dimensional coordinates in at least four distance equations, an overdetermined equation group is formed. For the overdetermined equation group, the least squares method is used to solve it to obtain the real three-dimensional coordinates of the target receiver on the surface of the earth, determine the actual position of the target receiver, and at the same time, according to the actual position of the target receiver, determine the real time difference between the target receiver and each satellite, and then based on the time difference method, complete the clock synchronization between the target receiver and each satellite according to the time difference to obtain the accurate timestamp of the target receiver;

[0091] The beneficial effect of the above technical solution is: through the above technical solution, the time measurement of the target receiver is completed, which is beneficial to improve the accuracy of time measurement of financial equipment compared to the time synchronization provided by the ground base station or the network time protocol.

[0092] See also Figure 2 In one embodiment, a time measurement method based on a satellite positioning system further includes:

[0093] S201, when there are multiple target receivers, obtaining at least four target receivers as core target receivers; wherein the distance between each core target receiver and other core target receivers is less than the maximum distance of effective signal transmission;

[0094] S202, obtaining actual positions and clock information of at least four core target receivers;

[0095] S203, calculating the reliability of the correction satellite clock corresponding to the clock information of each core target receiver, and selecting the clock information with the highest reliability as the reference clock;

[0096] S204, synchronizing clock information of all core target receivers according to the reference clock and the actual positions of all core target receivers;

[0097] S205, constructing an initial self-organizing clock network according to at least four core target receivers after clock synchronization; wherein, in the self-organizing clock network, each target receiver regularly sends a synchronization signal carrying identification information, location information and clock information;

[0098] S206, when any target receiver receives and identifies the synchronization signal, determine the synchronization distance between the current synchronization signal transmitter and the current target receiver according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal;

[0099] S207, if the number of synchronization distances from different signal sending ends stored in the current target receiver is not less than four, determine the actual position of the current target receiver according to at least four synchronization distances and the position information of the corresponding synchronization signal sending ends;

[0100] S208, calculating the synchronization clock difference according to the actual position sent by the current target receiver;

[0101] S209, synchronizing the clock information of the current target receiver according to the synchronization clock difference and the clock information in the synchronization signal. After the clock synchronization is completed, the current target receiver is connected to the self-organizing clock network and starts to regularly send synchronization signals carrying identification information, location information and clock information;

[0102] The working principle of the above technical solution is as follows: when the application scenario is a multi-database device for financial transactions, in order to achieve accurate timestamps for each device, it is usually adopted to embed a target receiver in each database device, so that the number of target receivers increases with the increase in the number of database devices. This results in that the cost of satellite positioning, data calculation and other resources will increase for each database device laid in the city. At the same time, if each target receiver is still used to receive satellite signals separately for clock synchronization, it is easy to cause errors in the clock synchronization of different target receivers due to the multipath effect caused by the differences in the received satellite signals, including the different interferences encountered by different satellite signals when propagating in the ionosphere and troposphere. Although this error can be reduced by signal processing algorithms such as signal enhancement and filtering algorithms, the impact of the multipath effect is reduced, but due to the long signal transmission distance and the different parameters involved in the signal processing process for different target receivers, it is easy to cause slight differences in the final calibration results. However When this subtle difference is applied to data processing in financial equipment, the subtle difference in the timestamp is magnified, resulting in reduced data processing accuracy when processing financial transaction data; in order to solve this problem, a single target receiver can be set, and other receivers use the time of the target receiver as the standard, and all target receivers are synchronized by network synchronization. However, when facing target receivers that are far away, the above method is prone to cause large errors in the clock synchronization of distant target receivers due to the influence of time differences and the inability to accurately estimate the delay of network transmission. In order to solve the above technical problems, this solution proposes a clock synchronization method in a self-organizing network manner, obtains at least four target receivers as the main receivers for satellite positioning, and constructs a clock synchronization network in the form of a self-organizing network. By sending signals, clocks of other target receivers within the signal transmission range are synchronized, which is used to improve the accuracy of time measurement between multiple financial devices while reducing the cost loss of arranging satellite positioning clock synchronization for each target receiver; the specific solution is as follows:

[0103] First, when there are multiple target receivers, at least four target receivers are obtained as core target receivers; wherein the distance between each core target receiver and other core target receivers is less than the maximum distance of effective signal transmission, and the maximum distance of effective signal transmission is determined according to the specific signal type used, and electromagnetic wave signals are usually used; then the actual positions and clock information of at least four core target receivers are obtained, and uploaded to a preset processing terminal through the network, and the processing terminal selects the clock information with the highest reliability as the reference clock according to the reliability of the satellite system corresponding to the satellite clock of each core target receiver when calibrating the clock information, and at the same time, the core target receiver corresponding to the reference clock is used as the reference target receiver, and feedback instructions are given to at least four core target receivers, one of which is determined as the reference target receiver, and the reference clock of the reference target receiver is synchronized to the other three core target receivers; after synchronization, an initial self-organizing clock network is constructed according to the at least four core target receivers after clock synchronization; wherein, in the self-organizing clock network, each target receiver regularly sends a synchronization signal carrying identification information, position information and clock information. It is worth noting that the reference target receiver can also be directed to send a signal carrying identification information according to the actual positions of the other at least three core target receivers and the actual position of the reference target receiver. , location information and clock information, so that after at least three other core target receivers receive the synchronization signal, the current environmental space signal loss coefficient is calculated according to factors such as the time of the received signal and the degree of signal attenuation, which is used to improve the accuracy of clock synchronization in the future; after the self-organizing clock network is built, when any target receiver within the coverage of the self-organizing clock network receives and identifies the synchronization signal, it performs corresponding identification according to the identification information, and does not receive the signal if the identification fails. The synchronization distance between the current synchronization signal transmitter and the current target receiver is determined according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal. If the current target receiver When the number of stored synchronization distances from different signal transmitters is not less than four, the actual position of the current target receiver is determined based on at least four synchronization distances and the position information of the corresponding synchronization signal transmitter, and the synchronization clock error is calculated based on the actual position of the current target receiver. The calculation method of the synchronization error is similar to the aforementioned method of calculating the satellite clock error, and will not be described one by one here. Finally, the clock information of the current target receiver is synchronized based on the synchronization clock error and the clock information in the synchronization signal. After the clock synchronization is completed, the current target receiver is connected to the self-organizing clock network and starts to regularly send synchronization signals carrying identification information, position information and clock information;

[0104] The beneficial effects of the above technical solution are: through the above solution, there is no need to configure a satellite positioning device for each target receiver, which is beneficial to reducing the installation cost of redundant target receivers and improving the clock synchronization accuracy between all related financial devices. At the same time, when a new target receiver is added to the self-organizing clock network, there is no need to perform separate pairing. You only need to set the identification information and wait for the self-organizing clock network pairing to be automatically completed, reducing the installation pairing time cost.

[0105] See also Figure 3 In one embodiment, calculating the reliability of the correction satellite clock corresponding to the clock information of each core target receiver and selecting the clock information with the highest reliability as the reference clock includes:

[0106] S301, obtaining a preset satellite positioning reliability initial comparison table to determine the reliability of each satellite in the satellite positioning system; wherein, the higher the accuracy of the satellite positioning system, the higher the reliability of each satellite contained therein;

[0107] S302, obtaining at least four satellite data received by each core target receiver when calculating a precise timestamp;

[0108] S303, determining the reliability of each of at least four satellites according to the initial comparison table of satellite positioning reliability;

[0109] S304, calculating the average reliability of all satellites corresponding to each core target receiver, and obtaining the reliability of the correction satellite clock corresponding to the clock information of each core target receiver;

[0110] S305, selecting the clock information with the highest reliability as the reference clock;

[0111] The working principle of the above technical solution is: in order to improve the reliability of the reference time, the reference time with the highest reliability among all core target receivers is selected for clock synchronization. Since the important factors for clock synchronization through satellite positioning are positioning and satellite clock, and the calculation accuracy of the satellite clock is related to the selection of the clock, the positioning accuracy becomes an expression of the reliability of clock synchronization. For this reason, this solution adopts the method of obtaining a preset initial comparison table of satellite positioning reliability to determine the reliability of each satellite in the satellite positioning system. The higher the accuracy of the satellite positioning system, the higher the reliability of each satellite it contains. For example, the positioning satellite independently developed by the private sector, the Beidou navigation system, the global positioning system, and the GLONASS system , Galileo system, etc. It is worth noting that, in order to reduce the difficulty of calculation, it is preferred to define all satellites in each positioning system as having the same reliability; then obtain at least four satellite data received by each core target receiver when calculating the precise timestamp, confirm the identities of these satellites through pseudo-random codes, and determine the reliability of each of at least four satellites according to the initial comparison table of satellite positioning reliability. If the identity cannot be confirmed, it is defined as an unknown reliability and is not included in the subsequent reliability calculation. Finally, the average reliability of all satellites corresponding to each core target receiver is calculated to obtain the reliability of the correction satellite clock corresponding to the clock information of each core target receiver, and the clock information with the highest reliability is selected as the reference clock;

[0112] The beneficial effect of the above technical solution is: through the above technical solution, the accuracy of the synchronous clock in the self-organizing clock network is further improved, and the time error when the financial device corresponding to the target receiver in the self-organizing clock network interacts with other devices for data is reduced.

[0113] In one embodiment, determining the synchronization distance between the current synchronization signal transmitter and the current target receiver according to the arrival time of the synchronization signal, the sending time of the synchronization signal, and the receiving and transmitting power of the synchronization signal includes:

[0114] The receiving and transmitting power of the synchronization signal is obtained, and the first distance between the current synchronization signal transmitter and the current target receiver is calculated based on the attenuation degree formula of the signal; the attenuation degree formula is:

[0115]

[0116] in, is the first distance, is the preset reference distance, is the transmission power of the synchronization signal, r is the received power of the synchronization signal, c is the propagation speed of the synchronization signal, f is the frequency of the synchronization signal, and h is the preset propagation loss coefficient;

[0117] The arrival time and sending time of the synchronization signal are obtained, and based on the conventional distance formula, the second distance between the current synchronization signal transmitter and the current target receiver is calculated; the conventional distance formula is:

[0118]

[0119] in, is the second distance, is the arrival time of the synchronization signal, is the sending time of the synchronization signal;

[0120] like and The difference is less than the preset transmission error distance, and the calculated and The average distance is taken as the synchronization distance between the current synchronization signal transmitter and the current target receiver;

[0121] like and The difference between is not less than the preset transmission error distance, and the synchronization signal received this time is determined to be an invalid signal;

[0122] The working principle of the above technical solution is as follows: since the method of calculating the precise timestamp of the target receiver added to the self-organizing clock network preferably uses the time difference method, in order to improve the accuracy of the clock synchronization of the target receiver added to the self-organizing clock network, it is necessary to further determine the coordinates of the target receiver to be added to the self-organizing clock network. Since the target receivers all perform signal transmission on the surface of the earth, in order to reduce the loss of computing resources, the coordinates of the target receiver to be added to the self-organizing clock network are preferably two-dimensional coordinates. Specifically, the receiving and transmitting power of the synchronization signal is obtained, and the first distance between the current synchronization signal transmitter and the current target receiver is calculated based on the attenuation degree formula of the signal; the attenuation degree formula is:

[0123]

[0124] in, is the first distance, is the preset reference distance, is the transmission power of the synchronization signal, r is the receiving power of the synchronization signal, c is the propagation speed of the synchronization signal, preferably the speed of light, f is the frequency of the synchronization signal, and h is the preset propagation loss coefficient, wherein the preset propagation loss coefficient can be determined by calculating the signal loss coefficient of the current environment space as mentioned above. Since various types of signals such as electromagnetic waves will be reflected and refracted when propagating in space, the reliability of distance confirmation using the above scheme alone is low. Therefore, this scheme adopts a joint verification method, using the conventional distance calculation formula to obtain the arrival time and the sending time of the synchronization signal, and based on the conventional distance formula, calculates the second distance between the current synchronization signal transmitter and the current target receiver:

[0125]

[0126] in, is the second distance, is the arrival time of the synchronization signal, is the time when the synchronization signal is sent; if and The difference is less than the preset transmission error distance, and the calculated and The average distance of is taken as the synchronization distance between the current synchronization signal transmitter and the current target receiver; if and The difference between is not less than the preset transmission error distance, and the synchronization signal received this time is determined to be an invalid signal;

[0127] The beneficial effects of the above technical solution are: through the above technical solution, the position of the target receiver joining the self-organizing clock network is located, providing data support for the clock synchronization of the target receiver. At the same time, a joint verification method is adopted to reduce the impact of erroneous data on clock synchronization, which is beneficial to improving the reliability of the self-organizing clock network.

[0128] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention.

Claims

1. A time measurement method based on a satellite positioning system, characterized in that: include: Acquire a first signal including a time stamp and a pseudo-random code from at least four satellite data received by a target receiver; Recording the timestamp of the corresponding satellite data contained in each first signal according to the high-precision clock built into the target receiver; Obtaining a pseudo-random code contained in each first signal and matching it with a known satellite pseudo-random code sequence, and determining the precise arrival time of the first signal corresponding to each timestamp at the target receiver according to the matching result; extracting a signal sending time contained in the first signal; Determine the propagation time of each satellite data to the target receiver based on the difference between the signal transmission time and the precise arrival time; The actual distance between each satellite and the target receiver in the received satellite data is calculated based on the propagation time and the speed of light, including: Obtain the propagation time and speed of light, and calculate the pseudo distance between each satellite and the target receiver according to the distance calculation formula; Obtain satellite clock error information and second clock error information of a target receiver in satellite data corresponding to each satellite; The satellite clock error information and the second clock error information are corrected by double difference method, and the pseudo distance is corrected according to the correction result to obtain the true distance between each satellite and the target receiver; Using the principle of triangulation, combined with the coordinate information of each satellite and the true distance to the target receiver, the actual position of the target receiver is determined, and the precise timestamp of the target receiver is calculated based on the time difference method.

2. The time measurement method based on a satellite positioning system according to claim 1, characterized in that: Acquiring a first signal containing precise time information from at least four satellite data received by a target receiver, comprising: Capturing initial satellite signals of at least four satellites through multiple high-gain antennas built into the target receiver, and performing signal enhancement and filtering processing on the initial satellite signals to obtain at least four first signals; The first signals are parsed to obtain a pseudo-random code and a corresponding timestamp contained in each first signal.

3. The time measurement method based on a satellite positioning system according to claim 1, characterized in that: Using the principle of triangulation, combined with the coordinate information of each satellite and the actual distance to the target receiver, the actual position of the target receiver is determined, and the precise timestamp of the target receiver is calculated based on the time difference method, including: Based on the principle of triangulation, an overdetermined set of equations for the three-dimensional coordinates of the target receiver on the earth's surface is constructed according to the coordinate information between each satellite and the actual distance between each satellite and the target receiver; The overdetermined equations are solved using the least square method to obtain the true three-dimensional coordinates of the target receiver on the earth's surface and determine the actual position of the target receiver; Determine the time difference between the target receiver and each satellite based on the actual position of the target receiver; Based on the time difference method, the clock synchronization between the target receiver and each satellite is completed according to the time difference to obtain the accurate timestamp of the target receiver.

4. The time measurement method based on a satellite positioning system according to claim 1, characterized in that: Also includes: When there are multiple target receivers, at least four target receivers are obtained as core target receivers; wherein the distance between each core target receiver and other core target receivers is less than the maximum distance of effective signal transmission; obtaining actual position and clock information of at least four core target receivers; Calculate the reliability of the correction satellite clock corresponding to the clock information of each core target receiver, and select the clock information with the highest reliability as the reference clock; Synchronizing clock information of all core target receivers according to the reference clock and the actual positions of all core target receivers; An initial self-organizing clock network is constructed based on at least four core target receivers after clock synchronization; wherein each target receiver in the self-organizing clock network regularly sends a synchronization signal carrying identification information, location information and clock information; When any target receiver receives and identifies the synchronization signal, the synchronization distance between the current synchronization signal transmitter and the current target receiver is determined according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal; If the number of synchronization distances from different signal sending ends stored in the current target receiver is not less than four, determining the actual position of the current target receiver according to at least four synchronization distances and position information of corresponding synchronization signal sending ends; Calculate the synchronization clock error based on the actual position sent by the current target receiver; The clock information of the current target receiver is synchronized according to the synchronization clock difference and the clock information in the synchronization signal. After the clock synchronization is completed, the current target receiver is connected to the self-organizing clock network and starts to regularly send synchronization signals carrying identification information, location information and clock information.

5. The time measurement method based on a satellite positioning system according to claim 4, characterized in that: Calculate the reliability of the correction satellite clock corresponding to the clock information of each core target receiver, and select the clock information with the highest reliability as the reference clock, including: Obtaining a preset satellite positioning reliability initial comparison table to determine the reliability of each satellite in the satellite positioning system; wherein, the higher the accuracy of the satellite positioning system, the higher the reliability of each satellite contained therein; Acquire at least four satellite data received by each core target receiver when calculating an accurate time stamp; Determining the reliability of each of at least four satellites according to an initial comparison table of satellite positioning reliability; Calculate the average reliability of all satellites corresponding to each core target receiver to obtain the reliability of the correction satellite clock corresponding to the clock information of each core target receiver; The clock information with the highest reliability is selected as the reference clock.

6. The time measurement method based on a satellite positioning system according to claim 4, characterized in that: Determine the synchronization distance between the current synchronization signal transmitter and the current target receiver according to the arrival time of the synchronization signal, the sending time of the synchronization signal and the receiving and transmitting power of the synchronization signal, including: The receiving and transmitting power of the synchronization signal is obtained, and the first distance between the current synchronization signal transmitter and the current target receiver is calculated based on the attenuation degree formula of the signal; the attenuation degree formula is: Wherein, d1 is the first distance, d0 is the preset reference distance, p is the transmission power of the synchronization signal, r is the reception power of the synchronization signal, c is the propagation speed of the synchronization signal, f is the frequency of the synchronization signal, and h is the preset propagation loss coefficient; The arrival time and sending time of the synchronization signal are obtained, and based on the conventional distance formula, the second distance between the current synchronization signal transmitter and the current target receiver is calculated; the conventional distance formula is: d2=(t2-t1)*c*h Wherein, d2 is the second distance, t2 is the arrival time of the synchronization signal, and t1 is the sending time of the synchronization signal; If the difference between d1 and d2 is less than the preset transmission error distance, the average distance between d1 and d2 is calculated as the synchronization distance between the current synchronization signal transmitter and the current target receiver; If the difference between d1 and d2 is not less than the preset transmission error distance, it is determined that the synchronization signal received this time is an invalid signal.