Real-time authentication method and system for satellite navigation signal spreading code
By generating unpredictable authentication spread spectrum sequences and constructing threshold transformation polynomials, combined with an inner product predicate encryption scheme, zero-interaction real-time authentication of satellite navigation signals was achieved, solving the problems of receiver buffer sampling and runaway risks, and ensuring the security and real-time performance of the system.
Patent Information
- Application Number
- CN202611678595.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
In existing satellite navigation systems, spread spectrum code authentication schemes have drawbacks, such as the need for receivers to buffer baseband samples and the risk of loss of control due to premature key distribution, making them unable to effectively resist attacks by spoofed signals.
By generating unpredictable authentication spread spectrum sequences, and constructing a threshold transformation polynomial and inner product predicate encryption scheme, zero-interaction real-time authentication is achieved. A working key is generated and the master public key and working key are broadcast. The user receiver determines in real time whether the inner product is zero, avoiding the buffering of historical samples.
It achieves real-time authentication without baseband sampling buffer, resists capture security, reduces system operation and maintenance complexity, and ensures authentication information security and system stability.
Smart Images

Figure CN123176802A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of satellite navigation signal security technology, and in particular to a real-time authentication method and system for satellite navigation signal spread spectrum codes. Background Technology
[0002] Satellite navigation systems have become the source of spatiotemporal reference for critical infrastructure and various security-sensitive applications. The demand for highly reliable navigation signals is increasing in scenarios such as drones, autonomous driving, and smart grid synchronization. However, systems like GPS, BeiDou, and Galileo use publicly known spreading code structures. While this openness facilitates civilian services, it also introduces security vulnerabilities. Attackers can construct highly similar forged signals through recording and replaying or parameter generation, inducing receivers to output incorrect positioning, navigation, and timing results. Such deception and interference are extremely covert, often going undetected by victims for extended periods, posing a serious threat to critical infrastructure and life-saving applications. This has created an urgent need to embed verifiable authentication capabilities at the physical layer of navigation signals, and to allow authentication information to be published in plaintext beforehand without compromising security.
[0003] To defend against such attacks, Authentication Spread Code (SCA) is widely recognized as an effective enhancement method: an authentication spread code, known only to authorized parties, is superimposed on top of the public spread code. The receiver determines the authenticity of the signal by verifying the existence of this sequence. Its effectiveness is highly dependent on the unpredictability of the authentication sequence.
[0004] Current mainstream solutions generally adopt a delayed authentication (TESLA) architecture, where the generation key for the authentication spreading code is delayed by several epochs before being released. The receiver needs to buffer the baseband samples first, and then recalculate and make relevant decisions with the buffered data after the key arrives. Although this mechanism can prevent attackers from obtaining the materials needed to construct deceptive signals in real time, it has inherent architectural limitations. Summary of the Invention
[0005] Therefore, it is necessary to provide a real-time authentication method and system for satellite navigation signal spread spectrum codes that can eliminate the need for receiver baseband sampling buffer and prevent attackers from constructing deceptive signals even if the authentication information is fully obtained.
[0006] A real-time authentication method for satellite navigation signal spreading codes, the method being applied to a navigation system, comprising: Generate certified spread spectrum sequence; A threshold transformation polynomial is constructed based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. The threshold transformation polynomial is applied to the authentication spread spectrum sequence, expanded by power and then recombined to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The first vector is processed using an inner product predicate encryption scheme to generate a working key; The master public key and the working key of the inner product predicate encryption scheme are broadcast to the user receiver as authentication information.
[0007] In one embodiment, the threshold transformation polynomial is specifically constructed as follows: ; In the above formula, The length of the certified spreading sequence, For the preset relevant threshold, and , Let be the independent variable of the threshold transformation polynomial.
[0008] In one embodiment, the preset relevant threshold is based on a threshold scaling factor. Sure: ,in .
[0009] In one embodiment, the first vector is constructed as follows: Expanding the threshold transformation polynomial by powers of the independent variable yields: ,Will After substitution, all terms involving the authentication spread spectrum sequence in each power expansion term are considered. The product coefficients are assigned to the corresponding elements of the first vector, thus including all elements related to the received symbol sequence. The product terms are assigned to the corresponding elements of the second vector. For expansion coefficients, The independent variable is used to sum the results. Let be the degree of the power polynomial.
[0010] In one embodiment, the inner product predicate encryption scheme operates in a predicate-only decision mode without message payload. The decryption output of the inner product predicate encryption scheme directly indicates whether the inner product of the first vector and the second vector is zero, without outputting any plaintext information related to the authentication spread spectrum sequence.
[0011] In one embodiment, the authentication spread spectrum sequence is updated according to the authentication cycle, and each authentication cycle corresponds to a different set of authentication spread spectrum sequences and corresponding working keys; The authentication period is one spreading code period, one navigation message subframe, or one superframe.
[0012] In one embodiment, the authentication information is broadcast in plaintext within a reserved field of the satellite navigation message; Alternatively, the authentication information may be broadcast to the user receiver after being asymmetrically encrypted.
[0013] In one embodiment, the method is further applied to a user receiver, including: Receive the authentication information and obtain the master public key and the working key; It receives satellite navigation signals in real time, extracts the baseband sample of the current epoch, and quantizes it into a received symbol sequence; The second vector is constructed from the received symbol sequence according to the same rules as the navigation system. The second vector is encrypted using the master public key to obtain ciphertext; The ciphertext is decrypted using the working key. If the decryption result indicates that the inner product of the first vector and the second vector is zero, the authentication of the current epoch is deemed successful; otherwise, the authentication is deemed unsuccessful.
[0014] In one embodiment, the user receiver performs authentication epoch-wise; If the authentication result is unsuccessful for N consecutive epochs, output a deception alarm; Observations from certified epochs are used in positioning / timing calculations, while observations from uncertified epochs are removed or downweighted.
[0015] This application also provides a real-time authentication system for satellite navigation signal spread spectrum codes, including a trusted service provider device and a user receiver. The trusted service provider device is deployed at a ground operation control station or within the satellite payload. The authentication information is injected into the satellite via uplink and then broadcast by the satellite to the user receiver. The trusted service provider equipment includes: The authentication sequence generation module is used to generate authentication spread spectrum sequences; A threshold transformation polynomial construction module is used to construct a threshold transformation polynomial based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. A threshold vector construction module is used to apply the threshold transformation polynomial to the authentication spread spectrum sequence, expand it by power and then recombine it to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The working key generation module is used to process the first vector using an inner product predicate encryption scheme to generate a working key; Authentication information broadcasting module: used to broadcast the master public key of the inner product predicate encryption scheme and the working key as authentication information to the user receiver; The user receiver includes: An authentication information receiving module is used to receive the authentication information and obtain the master public key and the working key; The real-time sampling module is used to receive satellite navigation signals in real time, extract the baseband samples of the current epoch, and quantize them into a received symbol sequence. A receive vector construction module is configured to construct the second vector from the receive symbol sequence according to the same rules as the threshold vector construction module; The predicate encryption operation module is used to encrypt the second vector using the master public key to obtain ciphertext, and to decrypt the ciphertext using the working key. When the decryption result indicates that the inner product of the first vector and the second vector is zero, the current epoch authentication is determined to be successful; otherwise, the authentication is determined to be unsuccessful.
[0016] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement specific steps in a real-time authentication method for satellite navigation signal spread spectrum codes.
[0017] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements specific steps in a real-time authentication method for satellite navigation signal spread spectrum codes.
[0018] The aforementioned real-time authentication method and system for satellite navigation signal spreading codes lays the foundation for authentication validity by first generating an unpredictable authentication spreading sequence. Then, it constructs a threshold transformation polynomial to transform the engineering judgment of "whether the correlation value exceeds the threshold" into a mathematical judgment of "whether the polynomial is zero," creating conditions for the subsequent introduction of predicate encryption. Next, the polynomial is expanded and reorganized into a first vector, achieving an equivalent representation with the user-side second vector through an inner product. This allows the system and user sides to construct vectors independently without interaction. The user side only needs L symbols from the current epoch to participate in authentication, without needing to cache historical baseband samples. Finally, the inner product predicate is utilized... The encryption process generates a working key from the first vector. This key is configured to only determine whether the inner product is zero and cannot be used to deduce the first vector or the authentication spread sequence itself. Even if the authentication information is completely obtained by an attacker, a deceptive signal cannot be constructed. This fundamentally eliminates the risk of the trusted receiver going out of control and threatening the security of the entire network in the pre-distribution scheme. Finally, the master public key and the working key are broadcast directly as authentication information. Users can complete real-time authentication epoch by epoch with zero interaction. This is perfectly adapted to the one-way broadcast system of the navigation system, thus simultaneously solving the two long-standing technical problems of "huge cache overhead" and "risk of loss of control in pre-distribution" in the background technology. Attached Figure Description
[0019] Figure 1 This is a flowchart illustrating a real-time authentication method for satellite navigation signal spread spectrum codes in one embodiment; Figure 2 This is a system architecture diagram of a real-time authentication system for satellite navigation signal spread spectrum codes in one embodiment; Figure 3 This is a schematic diagram of the threshold transformation polynomial principle in one embodiment; Figure 4 This is a schematic diagram illustrating the four-stage principle of an inner product predicate encryption scheme in one embodiment; Figure 5 This is a schematic diagram of the system-side authentication information generation and broadcasting process in one embodiment; Figure 6 Here is a flowchart of a real-time authentication process with zero user interaction in one embodiment; Figure 7 This is a schematic diagram of the system-side steps in one embodiment; Figure 8 This is a schematic diagram of the mechanism against unit vector combination attacks in one embodiment; Figure 9 Here is a graph showing the authentication performance in one embodiment, where, Figure 9 (a) is a schematic diagram showing the change in reliability as a function of the threshold scaling factor k. Figure 9 (b) is a schematic diagram of the reliability variation curve with sequence length L; Figure 10This is a structural block diagram of a trusted service provider device in one embodiment; Figure 11 This is a block diagram of the user receiver in one embodiment; Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0021] In existing technologies, the inability to separate authentication information from deceptive signal construction materials leads to problems such as delayed authentication schemes requiring caching of large amounts of baseband samples, and premature distribution schemes posing a threat to network security due to receiver malfunction. Figure 1 As shown, a real-time authentication method for satellite navigation signal spreading codes is provided, which specifically includes the following steps: Step S100: Generate the certified spread spectrum sequence.
[0022] Step S110: Construct a threshold transformation polynomial based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is below the preset relevant threshold, the value is non-zero.
[0023] Step S120: Apply the threshold transformation polynomial to the certified spread spectrum sequence, expand it by power and then recombine it to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the certified spread spectrum sequence and the received symbol sequence.
[0024] Step S130: Process the first vector using the inner product predicate encryption scheme to generate the working key.
[0025] Step S140: Broadcast the master public key and working key of the inner product predicate encryption scheme as authentication information to the user receiver.
[0026] To implement the above method, this method also provides a method such as Figure 2The system architecture is shown below. The system includes a trusted service provider device 101, a satellite 102, and a user receiver 103. The trusted service provider device 101 is responsible for generating the authentication spread spectrum sequence and the working key, and can be deployed at a ground operation control station or within the satellite payload. The satellite 102 is responsible for broadcasting the authentication information to the user receiver. The user receiver 103 is responsible for receiving the authentication information and navigation signals, and independently completing epoch-by-epoch signal authenticity authentication. Throughout the process, information is broadcast unidirectionally from the trusted service provider to the user receiver via the satellite; the user end does not need to send any information back to the satellite. The following section combines... Figures 2 to 9 The specific implementation methods described above will be described in detail.
[0027] In step S100, the trusted service provider generates an authentication spread spectrum sequence. ,in , is the sequence length. The authentication spread sequence is generated by a cryptographic pseudo-random sequence generator to ensure its unpredictability.
[0028] In this embodiment, the sequence length Typical values are 64, 128, 256, 512, or 1024. The certified spread spectrum sequence is updated according to the certification cycle, with each certification cycle corresponding to a different set of certified spread spectrum sequences. and the corresponding working key The authentication period can be one spreading code period, one navigation message subframe, or one superframe. Furthermore, the duration of the authentication period ranges from 1 millisecond to 100 milliseconds, corresponding to one or more consecutive spreading code periods, to balance authentication timeliness with the overhead of updating authentication information.
[0029] Since this method ultimately relies on inner product predicate encryption for authentication, but predicate encryption can only answer one question: Is the inner product of two vectors zero? Navigation authentication, on the other hand, essentially asks a different question: Does the correlation between the received signal and the authentication sequence exceed a threshold? In other words, one is an inequality judgment (whether it is greater than or equal to T), and the other is an equality judgment (whether it is equal to zero), and there is a logical mismatch between the two.
[0030] To transform the "whether it exceeds the threshold" condition into the "whether it is zero" condition, a threshold transformation polynomial is designed in step S110. The zeros of this polynomial are intentionally placed at every integer point from the threshold T to the sequence length L, ensuring that the polynomial's value is zero when the correlation value reaches or exceeds the threshold, and non-zero when the correlation value is below the threshold. In this way, the original "greater than or equal to" inequality judgment is equivalently transformed into a "equal to zero" judgment problem, which can then be securely handled using inner product predicate encryption.
[0031] like Figure 3As shown, the threshold transformation polynomial is specifically constructed as follows: ; In the above formula, To verify the length of the spread spectrum sequence, To preset relevant thresholds, and , Let be the independent variable of the threshold transformation polynomial.
[0032] In this embodiment, based on the threshold scaling factor ( Typical ), preset relevant thresholds according to threshold ratio factor Sure .
[0033] In other embodiments, You can also choose any number between 1 and L.
[0034] Specifically, when the independent variable Integer and At that time, because Must be One of the factors, therefore ;when hour, This method utilizes both the authentication spread spectrum sequence and the received sample. Symbol, inner product Take discrete integers (with a range of values) The properties of ) make this property true.
[0035] Furthermore, when receiving symbol sequences With certified spread spectrum sequence Highly correlated (inner product) (indicating the signal is genuine) Decrypt and output the authentication pass flag; when the correlation is below the threshold (Indicating the existence of deception) The decryption output is a meaningless value.
[0036] The threshold transformation polynomial constructed in step S110 The inequality problem of "whether the relevant value reaches the preset threshold" has been transformed into an equality problem of "whether the polynomial is zero". However, In the expression, the certified spread spectrum sequence With received symbol sequence They still coexist in a coupled form, with the two connected through an inner product. They are interconnected and cannot be directly separated. If this polynomial is directly processed by the inner product predicate encryption scheme, the system needs to know the polynomial's identity when generating the working key. When completing authentication, the user needs to know This is obviously not possible in a real system: the system side cannot know in advance the symbol sequence that the user receiver will receive in the future, and the user receiver has no right to know the authentication spread spectrum sequence itself.
[0037] In step S120, the core of this step lies in coupling the Decompose into two independent vectors and The inner product form, where Only depend on , Only depend on Through this decomposition, the system can rely solely on what it possesses. Independent construction A working key is pre-generated, allowing the user to use only the currently received key. Independent construction Both parties can use the inner product predicate encryption scheme to determine whether the inner product is zero without exchanging any information related to their respective vectors, thus achieving zero-interaction authentication.
[0038] In this embodiment, the threshold transformation polynomial is expanded by powers of the independent variable as follows: ,Will After substitution, all authentication spread spectrum sequences involved in each power expansion term are... The product coefficients are assigned to the corresponding elements of the first vector, thus including all sequences of received symbols. The product terms are assigned to the corresponding elements of the second vector. The independent variable is used to sum the results. The total number of product terms represents the degree of the power polynomial.
[0039] Specifically, Expand as ,in The expansion coefficients are , and the highest power is . .right Expand: ; In the above formula, for each power... , Expand into several The sum of monomials. (Note: The original text contains a typographical inconsistency and can be left as is.) set of subscripts All The set of meta-combinations, For the first In this combination: ; Substituting, we get: ; Rearrange the above equation into the inner product of two vectors of equal length. Define the first vector. With the second vector The elements are: ; ; The vector dimension is Therefore, we have: ; Right now If and only if .
[0040] At this point, and Successfully separated into two independent vectors and In, and satisfying the inner product relation The system side may be unaware The working key is pre-generated under certain conditions, and the user can do so without knowing the details. Local construction under the condition And complete the authentication determination, thus laying the mathematical foundation for zero-interaction authentication.
[0041] To illustrate the construction process more intuitively, a small numerical example will be used below. Let the sequence length be... Threshold scaling factor Then the relevant threshold Construct the threshold transformation polynomial: ; Expanded to: ; Expanding the above equation, the coefficients are... , , The highest power is Its semantic verification is as follows: when the received symbol sequence is highly correlated with the certified spreading sequence, the inner product... (Complete match) or 3 (threshold reached), , The predicate decryption outputs the authentication pass flag; when the inner product is below the threshold (e.g., ... Or in case 2), , The predicate decryption outputs a meaningless value, indicating that deception exists.
[0042] Further investigation The reorganization process. The index set is : Power : Contains only empty combinations, corresponding terms ; Power : Contains 4 unary combinations Corresponding item ; Power : Include A binary combination, corresponding to the term .
[0043] Rearranging the above into a vector dot product form: First vector The elements are The second vector The elements are In this example, the vector dimension is... This verifies The equivalence relation.
[0044] In this embodiment, the highest power of the threshold transformation polynomial The first vector shall not exceed a preset upper limit determined by a trade-off between authentication reliability and predicate encryption computation overhead, in order to control the first vector. With the second vector Dimensions. Threshold scaling factor. With the length of the certified spread spectrum sequence The value is configured to improve authentication reliability. Meets system design specifications, among which For false alarm probability, This represents the probability of a missed detection.
[0045] In step S130, after the construction in step S120, the threshold determination problem has been transformed into a first vector. With the second vector The question is whether the inner product is zero, and and Separation has been achieved, and the system side has control. The user side can be constructed However, if directly... With the authentication information broadcast, attackers can obtain it and then use it to... The structure is used to deduce the certified spread spectrum sequence. This would render the entire authentication mechanism ineffective. Therefore, a cryptographic method is needed to... Protection is implemented so that even after the authentication information is publicly broadcast, the recipient can still determine whether the "inner product is zero," but cannot reconstruct the authentication information from the publicly available information. and even Inner product predicate encryption schemes precisely meet this requirement, such as... Figure 4 As shown, an inner product predicate encryption algorithm based on bilinear groups is used to achieve encryption without exposing the vector. Under the premise of judging vectors and inner product mold Is it zero? This method consists of four phases. Specifically, the first phase is the initialization phase, which determines the modulus parameter of the algorithm. The system includes basic parameters (generators of the bilinear group, group structure, etc.), and a master private key (MSK) and a master public key (MPK) generated using a random seed algorithm. MPK can be publicly disclosed, while MSK must be securely stored by a trusted service provider.
[0046] Preferably, the modulus parameter For 128-bit or 256-bit security levels, the order of the bilinear group on which it is based is no less than 3072 bits, in order to meet the long-term anti-reverse engineering requirements of authentication information in the context of continuous improvement in computing power.
[0047] Specifically, the second phase is the working key generation phase. This utilizes the master private key. MSK With the first vector The working key is generated by a random seed. The working key is associated with a specific Binding can only be used to determine whether the "vector corresponding to the decrypted ciphertext" matches the given vector. inner product modulus Whether it is zero, and therefore cannot be used for other purposes.
[0048] Specifically, the third stage is the encryption stage. For any vector Using the master public key MPK to Encryption, obtaining ciphertext The encryption process does not rely on a master private key and can be executed by anyone who possesses the MPK.
[0049] Specifically, the fourth stage is the decryption stage. This involves using the working key. For ciphertext Decryption: if and only if If the result is 1, the output will be 1; otherwise, the output will be a meaningless value (indistinguishable from a random number).
[0050] In this embodiment, the inner product predicate encryption scheme operates in a predicate-only decision mode without a message payload, so that its decryption output is directly used as the authentication pass flag. Based on this, the user receiver only obtains a binary decision result of "whether the correlation value between the authentication spread spectrum sequence and the received symbol sequence exceeds a threshold", and cannot obtain the authentication spread spectrum sequence. Any other information.
[0051] Based on the security of inner product predicate encryption, from the master public key MPK and working key... Unable to recover the secret vector Therefore, the certified spread spectrum sequence cannot be recovered. For any two vectors and Difficult to distinguish and (Working key indistinguishability). Therefore, even if an attacker obtains the master public key and working key in their entirety, the first vector cannot be reconstructed. and certified spread spectrum sequence This ensures that even if the authentication information is broadcast in plaintext beforehand, attackers cannot construct deceptive signals. Even if an attacker uses a unit vector or a combination of unit vectors as input, the predicate encryption and decryption will still fail because the encryption and decryption only occur within the predicate. When the relevant value exceeds the threshold, the output is 1. In all other cases, the output is a meaningless value. The attacker cannot distinguish the differences between different meaningless values, so he cannot judge the attack effect and cannot obtain any valid equations. Combined with the nonlinearity of the threshold judgment, the attacker cannot establish a valid linear equation system and cannot reconstruct the secret vector.
[0052] Furthermore, it should be noted that predicate encryption itself only provides a determination of whether the inner product is zero; its modulus parameter... The selection of [a specific parameter] should ensure sufficient computational space to avoid modular overflow leading to misjudgment. When The absolute value is much smaller than the modulus parameter. At that time, the zero determination on integers and the modulus parameter The zero-determination is equivalent to this. This embodiment selects a modulus parameter that is much larger than the possible range of inner product values. This ensures that the judgment result is consistent with the integer field.
[0053] Furthermore, in order to facilitate a comprehensive understanding of all the key parameters involved in this embodiment, Table 1 summarizes the preferred value ranges of each parameter involved in the above steps.
[0054] Table 1 Optimal values for key parameters of zero-interaction real-time authentication
[0055] In step S140, the master public key MPK and working key are obtained through the above steps. MPK is the public parameter of the inner product predicate encryption scheme, used to encrypt the second vector. ; It is with the first vector The bound working key is used to decrypt and determine whether the inner product is zero. Together, these two constitute all the information required for the user receiver to complete authentication.
[0056] In this embodiment, MPK and The authentication information is broadcast to the user receiver as authentication information. The authentication information can be broadcast in plaintext in a reserved field of the satellite navigation message, or it can be broadcast to the user receiver after asymmetric encryption.
[0057] In other embodiments, authentication information may also be distributed to users in advance, and users store this information for later use.
[0058] It is important to emphasize that plaintext broadcasting is secure in this scheme. As described in step S130, based on the security of inner product predicate encryption, even if an attacker obtains the complete MPK and It is also impossible to reconstruct the first vector from it. Furthermore, it is impossible to deduce the certification spread spectrum sequence. Therefore, the public disclosure of authentication information in both time and space does not reduce the system's security; attackers still cannot construct effective deception signals.
[0059] To more intuitively demonstrate the authentication information generation and broadcasting process of the aforementioned system, such as Figure 5 As shown, the system executes the following steps in sequence: initializing the inner product predicate encryption scheme (S1), selecting the authentication spread spectrum sequence (S2), determining the threshold and constructing the threshold transformation polynomial (S3), constructing the first vector (S4), generating the working key (S5), and broadcasting the authentication information (S6). Among these, steps S4 and S5 are the core steps.
[0060] The above outlines the specific steps involved in generating and broadcasting authentication information on the system side. The following further describes how the user receiver utilizes the received authentication information, combined with the real-time received navigation signals, to complete epoch-by-epoch signal authenticity authentication.
[0061] like Figure 6 As shown, this method is also applied to user receivers, specifically including: Step S200: Receive authentication information and obtain the master public key and working key.
[0062] Step S210: Receive satellite navigation signals in real time, extract baseband samples of the current epoch, and quantize them into a received symbol sequence.
[0063] Step S220: Construct a second vector from the received symbol sequence according to the same rules as the navigation system.
[0064] Step S230: Encrypt the second vector using the master public key to obtain ciphertext, and decrypt the ciphertext using the working key. When the decryption result indicates that the inner product of the first vector and the second vector is zero, the authentication of the current epoch is determined to be successful; otherwise, the authentication is determined to be unsuccessful.
[0065] In step S200, the user receiver receives the authentication information broadcast by the satellite and obtains the master public key (MPK) and working key. .
[0066] In step S210, the user receiver receives satellite navigation signals in real time, extracts the baseband sample at the position corresponding to the current epoch certified spread spectrum sequence, and quantizes the baseband sample into a received symbol sequence. ,in Baseband sampling quantization can use 1-bit symbol decision, i.e. (Baseband sampling real part); or map to after multi-bit soft decision. This step is performed in real time on an epoch-by-epoch basis, without caching baseband samples from historical epochs.
[0067] In step S220, the user receiver uses the same threshold transformation polynomial rule as the system side to process the received symbol sequence. Construct the second vector The elements of the second vector are defined as follows: ; In the above formula, set of subscripts All The set of meta-combinations The first in Combinations. Second vector The dimension and the first vector of the system side The dimensions are the same, all of which are .
[0068] In step S230, the user receiver uses the master public key For the second vector Encryption, obtaining ciphertext : ; Then use the working key For ciphertext Deciphering: ; According to the decryption rules of the inner product predicate encryption scheme: if and only if If the output is true, the decryption output is an authentication success flag (e.g., 1); otherwise, the output is a meaningless value (indistinguishable from a random number).
[0069] because Therefore, the decryption output is the authentication pass flag if and only if ,Right now This indicates that the correlation value between the received signal and the authentication spread spectrum sequence reaches or exceeds the threshold, and the signal is genuine; if the decryption output has no meaning, it indicates that the correlation value is below the threshold, and the signal is deceptive.
[0070] The entire authentication process does not send any information back to the satellite (zero interaction) and does not cache the baseband samples of historical epochs.
[0071] In this embodiment, real-time authentication is performed epoch-wise, with each epoch independently completing the receiving, construction, encryption, and decryption steps and outputting the authentication result for that epoch. When consecutive... If the epoch authentication fails, a spoofing alarm will be output. Preferably, The value can be 1, 2, or 3 to strike a balance between rapid alarms and suppression of occasional false alarms. Observations from authenticated epochs are used in the positioning / timing calculation, while observations from unauthenticated epochs are discarded or downweighted.
[0072] To more intuitively demonstrate the above user-side authentication information generation and broadcasting process, as follows: Figure 7 As shown, the user side executes the following steps in sequence: receiving authentication information (S1'), real-time reception and quantization (S2'), constructing the second vector (S3'), predicate encryption (S4'), decryption decision (S5'), and epoch-by-epoch real-time authentication (S6'). Among these, steps S3' and S4' are the core steps.
[0073] To verify the effectiveness and superiority of the real-time authentication method for satellite navigation signal spread spectrum codes proposed in this paper, the following experimental verification and effect analysis are conducted from three dimensions: comparative experiments with existing schemes, security analysis, and authentication performance.
[0074] In the comparative experiment, this method was compared with existing delayed authentication (TESLA-like) and pre-distribution schemes. The comparison dimensions included baseband sampling buffer size, authentication real-time performance, resistance to receiver capture, and user backhaul requirements. The navigation system-side process of this method in the experiment is as follows: Figure 7 As shown. The experimental parameters are set as follows: taking the BeiDou B1C signal as an example, the signal bandwidth is approximately 24MHz, and the authentication period is 10 milliseconds. Existing delayed authentication schemes require buffering all baseband samples for one authentication period at a sampling rate of 10MHz, which is approximately... The present invention has a complex number of sampling points; the sequence length of the present invention is... At that time, only 256 symbols of the current epoch need to be stored.
[0075] The comparison results are shown in Table 2. While existing delayed authentication schemes can prevent attackers from instantly obtaining the key, they require the receiver to buffer tens of thousands of baseband samples, resulting in authentication delays. Furthermore, once the key is made public, the scheme loses its protective capability. Pre-distribution schemes, although eliminating the need for buffering, threaten the security of the entire network if any trusted receiver becomes uncontrollable. In contrast, the scheme of this invention achieves zero baseband sampling buffering, epoch-by-epoch real-time authentication, and the authentication information can be broadcast in plaintext with zero user feedback. Even if the receiver is physically captured and the authentication information is completely extracted, attackers still cannot reconstruct the authentication spread spectrum sequence and cannot construct a deceptive signal.
[0076] Table 2 Comparison of this method with existing spread spectrum code authentication schemes
[0077] Taking the BeiDou B1C signal as an example, with a bandwidth of approximately 24MHz and an authentication period of 10 milliseconds, existing delayed authentication schemes require a buffer of approximately 2×10 5 While this method requires storing only 256 symbols when the sequence length L=256, it reduces the storage overhead per epoch by approximately 10%. 4 times.
[0078] In the safety experiment, the safety of this method was verified from the following three aspects.
[0079] First, the irreversibility of authentication information is verified. Based on the security of inner product predicate encryption, this is done using the master public key. With working key Unable to recover the secret vector Therefore, the certified spread spectrum sequence cannot be recovered. For any two vectors and Difficult to distinguish and (Working key indistinguishability). Therefore, even if an attacker obtains complete authentication information (MPK and...) Furthermore, it is impossible to obtain the original certified spread spectrum sequence, and thus impossible to construct a deception signal. This is the fundamental guarantee of the anti-capture security of this method.
[0080] Next, we verify resistance to unit vector and unit vector combination attacks. For example... Figure 8 As shown, an attacker might attempt to use a unit vector (such as...) Attacks are launched using combinations of unit vectors as input, attempting to reconstruct a system of linear equations. However, since predicate encryption and decryption only occur when... When the relevant value exceeds the threshold, the system outputs 1; otherwise, it outputs a meaningless value. Attackers cannot distinguish between "one meaningless value" and "another meaningless value," and therefore cannot determine the effect of the unit vector or its combination attack, nor can they obtain any valid equations. Combined with the nonlinearity of the threshold judgment, attackers cannot establish a valid system of linear equations and cannot reconstruct the secret vector. Figure 8 This illustrates the attack mechanism: regardless of the vector combination the attacker uses as input, the decryption result is meaningless if it fails, preventing the attacker from obtaining a value that can be used to reverse the decryption. Valid information.
[0081] Furthermore, zero interaction prevents user exposure. The user receiver does not transmit any information back to the satellite, making it impossible for attackers to obtain user information by monitoring the uplink, and the user's location is not exposed.
[0082] In summary, this method, while ensuring authentication functionality, achieves multiple security safeguards including resistance to capture, resistance to linear algebra attacks, and zero-interaction.
[0083] In the certification performance analysis experiment, the threshold scaling factor was analyzed. With sequence length Impact on certification performance. Certification performance is measured by certification reliability and is defined as follows: ,in This represents the probability of a false alarm (a genuine signal being mistaken for a deception). This represents the probability of a missed detection (a deceptive signal being mistakenly identified as genuine).
[0084] like Figure 9 As shown, Figure 9 (a) demonstrates reliability varying with threshold. The relationship of change (different curves correspond to different) ).when When the threshold increases, The requirements for correlation values are stricter, increasing the false alarm probability. Increased probability of missed detection Decrease; an optimal state exists. To achieve the highest reliability. Sequence length. The larger the value, the more concentrated the distribution of the correlation values. and All of these are reduced, and reliability is improved.
[0085] Typically, The reliability can reach over 0.95. Figure 9 (b) demonstrates that reliability varies with sequence length. The relationship of change (different curves correspond to different) ). (Follow) As the number of certifications increases, their reliability increases monotonically and eventually reaches saturation. The smaller the threshold (the lower the threshold), the more reliability is required. The smaller the size, the less resistant it is to deception; The larger the threshold (the higher the threshold), the stronger the resistance to deception, but a larger threshold is required. Ensure low false alarm rate.
[0086] In engineering, a comprehensive balance needs to be struck: for high-security scenarios, [the following options are needed]. , For low-cost scenarios , .
[0087] Preferably, by selecting an appropriate threshold scaling factor With sequence length Configured to improve authentication reliability Not less than 0.95. In actual deployment, the computational dimension also needs to be considered. Follow The increased computational overhead that comes with growth presents a trade-off between security and computational efficiency.
[0088] In the aforementioned real-time authentication method for satellite navigation signal spread spectrum codes, an unpredictable authentication spread spectrum sequence is first generated, laying a security foundation for subsequent authentication. Based on this, a threshold transformation polynomial is constructed to transform the engineering inequality problem of "whether the correlation value reaches a preset threshold" into an equality problem of "whether the polynomial is zero," allowing for subsequent processing using inner product predicate encryption. Furthermore, the threshold transformation polynomial is applied to the authentication spread spectrum sequence and expanded and recombined according to its power order to construct a first vector. The inner product of this first vector and a second vector constructed according to the same rules for any received symbol sequence is equal to the function value of the threshold transformation polynomial at the correlation value. This allows the system side and the user side to independently construct vectors without interaction; the user side only needs the current epoch's... Only a few symbols are needed for authentication, eliminating the need to cache historical baseband samples. This reduces the receiver's storage requirements from tens of thousands of complex samples in existing delay authentication schemes to the order of hundreds of symbols (within the order of 100 symbols). For example, storage overhead is reduced by approximately (Times), which solves the technical problem in the background technology of "the receiver buffering a large number of baseband samples and huge hardware overhead".
[0089] Based on this, the first vector is processed using inner product predicate encryption to generate a working key. This key is configured to only determine whether the inner product is zero and cannot be used to deduce the first vector or the authentication spread sequence itself. Due to the security of predicate encryption, the secret vector cannot be recovered from the master public key and the working key; for any two vectors, it is difficult to distinguish the corresponding working key (working key indistinguishability). Therefore, even if an attacker obtains the complete authentication information, they cannot reconstruct the authentication spread sequence and cannot construct a deception signal, thus eliminating the structural risk of the entire network security being threatened by the loss of control of the trusted receiver in the pre-distribution scheme, and solving the technical problem of "loss of control risk in the pre-distribution scheme" in the background technology. Simultaneously, due to the aforementioned irreversibility of the working key, the authentication information can be carried in plaintext in the navigation message for broadcast, eliminating the need for a complex key distribution network and reducing system operation and maintenance complexity.
[0090] Through the synergistic effect of the above steps, after broadcasting the master public key and working key as authentication information to the user receiver, the user receiver can complete epoch-by-epoch real-time authentication without sending any information back to the satellite. This is fully compatible with the inherent one-way broadcast system of navigation systems and does not expose the user's location. Thus, the five steps are interconnected and progressively advanced, jointly achieving the comprehensive benefits of "zero baseband sampling buffer, anti-capture security, and zero-interaction real-time authentication".
[0091] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0092] In this embodiment, a real-time authentication system for satellite navigation signal spread spectrum codes is also proposed, including a trusted service provider device and a user receiver. The trusted service provider device is deployed at a ground operation control station or within the satellite payload. The authentication information is injected into the satellite via uplink and then broadcast from the satellite to the user receiver. like Figure 10 As shown, the trusted service provider equipment includes: The authentication sequence generation module 300 is used to generate an authentication spread spectrum sequence; Threshold transformation polynomial construction module 310 is used to construct a threshold transformation polynomial according to a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. The threshold vector construction module 320 is used to apply the threshold transformation polynomial to the authentication spread spectrum sequence, expand it by power and then recombine it to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The working key generation module 330 is used to process the first vector using an inner product predicate encryption scheme to generate a working key; Authentication information broadcasting module 340: used to broadcast the master public key of the inner product predicate encryption scheme and the working key as authentication information to the user receiver; like Figure 11 As shown, the user receiver includes: The authentication information receiving module 400 is used to receive the authentication information and obtain the master public key and the working key; The real-time sampling module 410 is used to receive satellite navigation signals in real time, extract the baseband sample of the current epoch, and quantize it into a received symbol sequence; The receive vector construction module 420 is used to construct the second vector from the receive symbol sequence according to the same rules as those on the navigation system side; The predicate encryption operation module 430 is used to encrypt the second vector using the master public key to obtain ciphertext, and to decrypt the ciphertext using the working key. When the decryption result indicates that the inner product of the first vector and the second vector is zero, the current epoch authentication is determined to be successful; otherwise, the authentication is determined to be unsuccessful.
[0093] For specific limitations on each module in the system, please refer to the limitations on the real-time authentication method for satellite navigation signal spread spectrum codes mentioned above, which will not be repeated here. Each module in the aforementioned real-time authentication system for satellite navigation signal spread spectrum codes can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0094] In one embodiment, a satellite navigation authentication service device is provided to implement the aforementioned method for generating and broadcasting satellite navigation signal spread spectrum code authentication information. The device includes an authentication sequence generation module, a threshold vector construction module, a working key generation module, and an authentication information broadcasting module. The specific functions of each module can be found in the corresponding descriptions of steps S100 to S140 in the above method embodiment, and will not be repeated here. The device can be deployed at a ground operation control station or within a satellite payload.
[0095] Each module in the aforementioned satellite navigation authentication service equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of the computer device as software, so that the processor can call and execute the operations corresponding to each module. The processor can be a general-purpose CPU, DSP, FPGA, or application-specific integrated circuit (ASIC); the memory can be RAM, Flash, ROM, or a combination thereof.
[0096] In one embodiment, a receiver device is provided for implementing the aforementioned zero-interaction real-time authentication method for satellite navigation signal spreading codes. The device includes an authentication information receiving module, a real-time sampling module, a receive vector construction module, and a predicate encryption operation module. The specific functions of each module can be found in the corresponding descriptions of steps S200 to S240 in the above method embodiment, and will not be repeated here. The receiver device can be a navigation receiver, a timing receiver, or a mobile terminal with integrated navigation functions, a UAV flight controller, or a smart grid synchronization device.
[0097] Each module in the aforementioned receiver device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module. The processor can be a general-purpose CPU, DSP, FPGA, or application-specific integrated circuit (ASIC); the memory can be RAM, Flash, ROM, or a combination thereof.
[0098] In one embodiment, a computer device is provided, which may be a navigation receiver, a timing receiver, or a mobile terminal with integrated navigation functions, a drone flight controller, or a smart grid synchronization device. Its internal structure diagram may be as follows: Figure 12As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements the aforementioned zero-interaction real-time authentication method for satellite navigation signal spread spectrum codes. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0099] In one embodiment, a satellite navigation authentication service device is also provided, the internal structure of which may be similar to that shown below. Figure 12 As shown. This device can be a server deployed at a ground-based operation and control station, or an onboard processing device integrated into the satellite payload. The computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with external devices (such as satellite uplinks and terrestrial communication networks). When the computer program is executed by the processor, it implements the aforementioned method for generating and broadcasting satellite navigation signal spread spectrum code authentication information.
[0100] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0101] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps: Generate certified spread spectrum sequence; A threshold transformation polynomial is constructed based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. The threshold transformation polynomial is applied to the authentication spread spectrum sequence, expanded by power and then recombined to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The first vector is processed using an inner product predicate encryption scheme to generate a working key; The master public key and the working key of the inner product predicate encryption scheme are broadcast to the user receiver as authentication information.
[0102] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps: Receive the authentication information and obtain the master public key and the working key; It receives satellite navigation signals in real time, extracts the baseband sample of the current epoch, and quantizes it into a received symbol sequence; The second vector is constructed from the received symbol sequence according to the same rules as the navigation system. The second vector is encrypted using the master public key to obtain ciphertext; The ciphertext is decrypted using the working key. If the decryption result indicates that the inner product of the first vector and the second vector is zero, the authentication of the current epoch is deemed successful; otherwise, the authentication is deemed unsuccessful.
[0103] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Generate certified spread spectrum sequence; A threshold transformation polynomial is constructed based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. The threshold transformation polynomial is applied to the authentication spread spectrum sequence, expanded by power and then recombined to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The first vector is processed using an inner product predicate encryption scheme to generate a working key; The master public key and the working key of the inner product predicate encryption scheme are broadcast to the user receiver as authentication information.
[0104] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Receive the authentication information and obtain the master public key and the working key; It receives satellite navigation signals in real time, extracts the baseband sample of the current epoch, and quantizes it into a received symbol sequence; The second vector is constructed from the received symbol sequence according to the same rules as the navigation system. The second vector is encrypted using the master public key to obtain ciphertext; The ciphertext is decrypted using the working key. If the decryption result indicates that the inner product of the first vector and the second vector is zero, the authentication of the current epoch is deemed successful; otherwise, the authentication is deemed unsuccessful.
[0105] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0106] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A real-time authentication method for satellite navigation signal spreading codes, characterized in that, The method is applied to a navigation system and includes: Generate certified spread spectrum sequence; A threshold transformation polynomial is constructed based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. The threshold transformation polynomial is applied to the authentication spread spectrum sequence, expanded by power and then recombined to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The first vector is processed using an inner product predicate encryption scheme to generate a working key; The master public key and the working key of the inner product predicate encryption scheme are broadcast to the user receiver as authentication information.
2. The real-time authentication method for satellite navigation signal spreading codes according to claim 1, characterized in that, The threshold transformation polynomial is specifically constructed as follows: In the above formula, The length of the certified spreading sequence, For the preset relevant threshold, and , Let be the independent variable of the threshold transformation polynomial.
3. The real-time authentication method for satellite navigation signal spreading codes according to claim 2, characterized in that, The preset relevant threshold is based on a threshold scaling factor. Sure: ,in .
4. The real-time authentication method for satellite navigation signal spreading codes according to claim 2, characterized in that, The first vector is constructed as follows: Expanding the threshold transformation polynomial by powers of the independent variable yields: ,Will After substitution, all terms involving the authentication spread spectrum sequence in each power expansion term are considered. The product coefficients are assigned to the corresponding elements of the first vector, thus including all elements related to the received symbol sequence. The product terms are assigned to the corresponding elements of the second vector. For expansion coefficients, The independent variable is used to sum the results. Let be the degree of the power polynomial.
5. The real-time authentication method for satellite navigation signal spreading codes according to claim 2, characterized in that, The inner product predicate encryption scheme operates in a predicate-only decision mode without message payload. The decryption output of the inner product predicate encryption scheme directly indicates whether the inner product of the first vector and the second vector is zero, without outputting any plaintext information related to the authentication spread spectrum sequence.
6. The real-time authentication method for satellite navigation signal spreading codes according to claim 2, characterized in that, The authentication spread spectrum sequence is updated according to the authentication cycle, and each authentication cycle corresponds to a different set of authentication spread spectrum sequences and corresponding working keys. The authentication period is one spreading code period, one navigation message subframe, or one superframe.
7. The real-time authentication method for satellite navigation signal spreading codes according to claim 2, characterized in that, The authentication information is broadcast in plaintext within a reserved field of the satellite navigation message; Alternatively, the authentication information may be broadcast to the user receiver after being asymmetrically encrypted.
8. The real-time authentication method for satellite navigation signal spreading codes according to any one of claims 1-7, characterized in that, The method is also applied to a user receiver, including: Receive the authentication information and obtain the master public key and the working key; It receives satellite navigation signals in real time, extracts the baseband sample of the current epoch, and quantizes it into a received symbol sequence; The second vector is constructed from the received symbol sequence according to the same rules as the navigation system. The second vector is encrypted using the master public key to obtain ciphertext; The ciphertext is decrypted using the working key. If the decryption result indicates that the inner product of the first vector and the second vector is zero, the authentication of the current epoch is deemed successful; otherwise, the authentication is deemed unsuccessful.
9. The real-time authentication method for satellite navigation signal spread spectrum codes according to claim 8, characterized in that, The user receiver performs authentication sequentially according to epochs; If the authentication result is unsuccessful for N consecutive epochs, output a deception alarm; Observations from certified epochs are used in positioning / timing calculations, while observations from uncertified epochs are removed or downweighted.
10. A real-time authentication system for satellite navigation signal spread spectrum codes, characterized in that, It includes trusted service provider equipment and user receivers. The trusted service provider equipment is deployed at a ground operation control station or within the satellite payload. The authentication information is injected into the satellite via uplink and then broadcast from the satellite to the user receiver. The trusted service provider equipment includes: The authentication sequence generation module is used to generate authentication spread spectrum sequences; A threshold transformation polynomial construction module is used to construct a threshold transformation polynomial based on a preset relevant threshold. The threshold transformation polynomial is configured such that: when the value of the independent variable reaches or exceeds the preset relevant threshold, the value is zero; when the value of the independent variable is lower than the preset relevant threshold, the value is non-zero. A threshold vector construction module is used to apply the threshold transformation polynomial to the authentication spread spectrum sequence, expand it by power and then recombine it to construct a first vector, such that the inner product of the second vector constructed according to the same rule for any received symbol sequence and the first vector is equal to the function value of the threshold transformation polynomial at the correlation value between the authentication spread spectrum sequence and the received symbol sequence. The working key generation module is used to process the first vector using an inner product predicate encryption scheme to generate a working key; Authentication information broadcasting module: used to broadcast the master public key of the inner product predicate encryption scheme and the working key as authentication information to the user receiver; The user receiver includes: An authentication information receiving module is used to receive the authentication information and obtain the master public key and the working key; The real-time sampling module is used to receive satellite navigation signals in real time, extract the baseband samples of the current epoch, and quantize them into a received symbol sequence. A receive vector construction module is configured to construct the second vector from the receive symbol sequence according to the same rules as the threshold vector construction module; The predicate encryption operation module is used to encrypt the second vector using the master public key to obtain ciphertext, and to decrypt the ciphertext using the working key. When the decryption result indicates that the inner product of the first vector and the second vector is zero, the current epoch authentication is determined to be successful; otherwise, the authentication is determined to be unsuccessful.
