Non-uniform punching satellite navigation signal spreading code authentication protocol and receiving method
Through the non-uniformly punctured satellite navigation signal spread spectrum code authentication protocol, the signal is processed in segments and a cryptographic algorithm is used to generate spread spectrum random bits. The original spread spectrum code is flipped and controlled, which solves the problem of high storage overhead in the uniform puncture protocol. problem, achieving the effects of fast trusted authentication and reducing storage overhead.
Patent Information
- Application Number
- CN202410701818.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-13
AI Technical Summary
The existing spread spectrum code authentication protocol with evenly punched holes results in high storage overhead on user terminals, increases the implementation burden, and makes it difficult to reduce storage overhead without reducing authentication performance.
The non-uniformly punctured satellite navigation signal spread spectrum code authentication protocol is used to process the signal in segments, calculate the random number bit width and random number number according to the duty cycle, use the cryptographic algorithm to generate key information, and generate spread spectrum random bits. The original spread spectrum code is flipped and controlled to realize the generation of authentication spread spectrum code, and the user terminal selects and stores the high duty cycle signal part to reduce storage overhead.
Without reducing the authentication performance, it effectively reduces the storage overhead of the user terminal, shortens the spread spectrum code authentication time period of the satellite navigation signal, and achieves fast and trusted authentication.
Smart Images

Figure CN118642133A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of satellite navigation signal reception, and in particular to a satellite navigation signal spread spectrum code authentication protocol and reception method with non-uniform puncturing. Background Art
[0002] Beidou satellite navigation system can provide communication and navigation positioning and timing services for civilian and commercial users. Since the signal is broadcast and the signal structure is public, this feature makes it possible for attackers to deceive end users, weakening the practicality of satellite navigation services and directly restricting their development. Broadcasting trusted satellite navigation authentication signals through satellites to support high-security navigation enhancement services is one of the development trends of future navigation systems. Satellite navigation signal anti-counterfeiting authentication methods mainly include navigation message authentication, spread spectrum code authentication, and joint authentication of message and spread spectrum code. Among them, the joint authentication method of message and spread spectrum code combines message authentication with spread spectrum code authentication, so most of the research focuses on message authentication and spread spectrum code authentication. At present, the research on spread spectrum code authentication protocol mainly focuses on the uniformly punched authentication spread spectrum code insertion scheme. Its main idea is to use the random bit information generated by the key to replace the fixed position of the original spread spectrum code The chip information realizes the trusted authentication of satellite navigation signals. Using the uniformly punched spread spectrum code authentication protocol, the storage overhead required for the user terminal to implement authentication is large, which greatly increases the implementation burden of the user terminal. The present application designs a non-uniform puncturing spread spectrum code authentication protocol, which can effectively reduce the storage overhead of the user terminal without reducing the authentication performance. Summary of the invention
[0003] Based on this, it is necessary to provide a satellite navigation signal spread spectrum code authentication protocol and receiving method with non-uniform puncturing that can achieve fast and reliable authentication of satellite navigation signals while reducing storage overhead in order to address the above technical problems.
[0004] A satellite navigation signal spread spectrum code authentication protocol with non-uniform puncturing, the satellite navigation signal spread spectrum code authentication protocol comprising:
[0005] Perform segment processing in the authentication cycle of the satellite navigation signal to determine the duration and duty cycle of each signal segment, and calculate the random number bit width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond according to the duty cycle during the duration of each signal segment;
[0006] Based on the number of random numbers, the random bits in the spread spectrum code period are designed. The key information of each authentication signal in the current authentication period is generated through a cryptographic algorithm according to the key and random number carried in the next authentication period. The spread spectrum random bits are generated using the key information. The code bits of the original spread spectrum code are flipped and controlled according to the spread spectrum random bits to obtain the authentication spread spectrum code.
[0007] In one embodiment, the authentication period of a satellite navigation signal includes at least two signals, a high duty cycle and a low duty cycle, wherein the high duty cycle signal is short and the low duty cycle signal is long; the duration of the high duty cycle signal is generally not more than 100ms; the duration of the low duty cycle signal is generally more than seconds.
[0008] In one embodiment, within each signal duration, the random number width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond are calculated according to the duty cycle, including:
[0009] The random number bit width of the authentication spread spectrum code position is calculated based on the duty cycle of the authentication spread spectrum code of the i-th segment signal:
[0010] QW=log2(ceil(log2(1 / x i )))
[0011] Among them, x i represents the duty cycle of the authentication spreading code in the i-th segment signal, and ceil() represents the rounding operation;
[0012] The number of random numbers required to authenticate the spread spectrum code position per millisecond in the i-th segment signal is determined by using the random number bit width:
[0013] RL1=ceil(CL / 2 QW )
[0014] Among them, CL is the spread spectrum code length of 1ms, then the total number of random numbers that need to be calculated for the i-th signal is RL1×T i , T i Indicates the duration of each signal segment.
[0015] In one embodiment, the cryptographic algorithm includes an SM3 algorithm or a similar cryptographic algorithm for generating random hashes; the key information of each authentication signal in the current authentication cycle is generated by the cryptographic algorithm according to the key and random number carried in the next authentication cycle, including:
[0016] The key information of the i-th signal in the current authentication cycle is generated by the SM3 algorithm according to the key and random number carried in the next authentication cycle:
[0017] Key′ i =trunc(SM3(Key||α i ),L K )
[0018] Among them, trunc means truncating the specified number of bits, L K Indicates the received spread spectrum code authentication key Key′ i The length of α is usually no more than 256.i Represents the distributed random number of the signal authentication spread spectrum code of the i-th segment.
[0019] In one embodiment, using key information to generate spread spectrum random bits includes:
[0020] The process of using the key information to generate the random bits for spreading in the i-th segment millisecond by millisecond includes but is not limited to the following generation methods:
[0021] C auth =SM3(AuP||PRN||Wk||MSOW||Seg1||Key′ i )...||trunc(SM3(AuP||PRN||Wk||MSOW||Seg N ||Key′ i ),mod(RL2,256))
[0022] Wherein, mod() represents the remainder operation, AuP is the spread spectrum code authorization service parameter, PRN is the satellite number, Wk is the week count, MSOW is the millisecond time count within the week corresponding to the start code chip of the authentication spread spectrum code, Seg is the segment number of the N-time SM3 hash algorithm, ranging from 1-N, Key' is the received spread spectrum code authentication key, and RL2=QW×RL1 represents the length of the spread spectrum random bit per ms in the i-th segment.
[0023] In one embodiment, the chips of the original spread spectrum code are flipped and controlled according to the spread spectrum random bits to obtain the authentication spread spectrum code, including:
[0024] For the i-th signal, the spread spectrum random bits per millisecond are grouped as QW bits and converted into RL1 random numbers with a generated length of 2 QW ×RL1 0-bit sequence, 0-bit sequence is 2 BW The bits are grouped into a group, and the 0 bits corresponding to the RL1 random numbers are set to 1 to obtain the random code sequence C auth ', the original spreading code C init With C auth ' Perform XOR to obtain the navigation signal spread spectrum code sequence including the authentication spread spectrum code.
[0025] A method for receiving a satellite navigation signal, characterized in that the method comprises:
[0026] The user terminal receives the navigation authentication signal broadcast by the satellite, normally captures and tracks the navigation authentication signal and records the observation results in an authentication cycle, selects and stores the signal part with a high duty cycle of the authentication spread spectrum code in the authentication cycle, and obtains the stored signal and the corresponding observation results per millisecond;
[0027] Calculate the authentication spreading code within the time range corresponding to the storage signal using the received spreading code authentication key, spreading code authorization service parameter and satellite number;
[0028] Select the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal from the observation results, and correlate them with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result;
[0029] The spread spectrum code authentication detection amount is calculated according to the authentication spread spectrum code related results, and the spread spectrum code authentication detection amount is compared with the preset threshold. When the spread spectrum code authentication detection amount is greater than the preset threshold, the authentication spread spectrum code exists in the satellite navigation signal and the signal authentication is successful.
[0030] In one embodiment, the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal are selected from the observation results and correlated with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result, including:
[0031] The signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal are selected from the observation results and correlated with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result:
[0032]
[0033] Where mod() represents the modulo operation, CL is the length of the spread spectrum code, c auth,l is the authentication spreading code, s sl (t) represents the storage signal, f tl Indicates the signal carrier frequency, Indicates the carrier phase, fc tl represents the spreading code frequency, τ tl Indicates the pseudo code phase.
[0034] In one embodiment, calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result includes:
[0035] According to the authentication spread spectrum code related results, the spread spectrum code authentication detection quantity is calculated as follows:
[0036]
[0037] Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
[0038] In one embodiment, the process of calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result further includes:
[0039] According to the authentication spread spectrum code related results, the spread spectrum code authentication detection quantity is calculated as follows:
[0040]
[0041] Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
[0042] In one of the embodiments, the preset threshold is determined by a false alarm probability that can be tolerated by the user terminal.
[0043] The above-mentioned non-uniform puncturing satellite navigation signal spread spectrum code authentication protocol and receiving method, the present application divides a complete authentication cycle spread spectrum code into segments, each segment adopts a different puncturing duty cycle, combines parameters such as key and time information to generate a random number to control the flipping position, and on the basis of the original spread spectrum code, realizes the bit flipping of the original spread spectrum code at a random position. Each segment of the authentication spread spectrum code can realize independent signal authentication, and utilizes the spread spectrum code segmentation processing and non-uniform puncturing setting within the authentication cycle to shorten the time period of the spread spectrum code authentication of the satellite navigation signal, thereby realizing fast and reliable authentication of the satellite navigation signal while reducing the storage overhead. At the same time, the user terminal selects to store the signal part with a high duty cycle of the authentication spread spectrum code, thereby reducing the storage overhead of the terminal without affecting the success rate of signal authentication. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of a flow chart of a satellite navigation signal spread spectrum code authentication protocol with non-uniform puncturing in one embodiment;
[0045] Figure 2 A schematic diagram of a scheme for inserting authentication spread spectrum codes with non-uniform puncturing according to an embodiment;
[0046] Figure 3 A schematic diagram of a key information generation method in an authentication spread spectrum code generation protocol in one embodiment;
[0047] Figure 4 A schematic diagram of a method for generating an authentication spread spectrum code in a navigation information authentication protocol in another embodiment;
[0048] Figure 5 The figure is a flowchart of a method for receiving a satellite navigation signal in an embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] In one embodiment, Figure 1 As shown, a non-uniformly punctured satellite navigation signal spread spectrum code authentication protocol is provided, comprising the following steps:
[0051] Step 102, perform segmented processing in the authentication period of the satellite navigation signal, determine the duration and duty cycle of each signal segment, and calculate the random number bit width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond according to the duty cycle during the duration of each signal segment.
[0052] Step 104, design random bits in the spread spectrum code period based on the number of random numbers, generate key information for each authentication signal in the current authentication period through a cryptographic algorithm according to the key and random number carried in the next authentication period, and use the key information to generate spread spectrum random bits; flip the code bits of the original spread spectrum code according to the spread spectrum random bits to obtain the authentication spread spectrum code.
[0053] like Figure 2 As shown, the satellite navigation signal is processed in segments during the authentication cycle. An authentication cycle T can be divided into k segments. The duration of each segment is T1+T2. The duty cycles in time periods T1 and T2 are x1 and x2 respectively. The duty cycle of each segment is x3. i Usually in ms;
[0054] T1+T2=T / k
[0055] The receiving terminal can store high-duty cycle signals to achieve spread spectrum code authentication while consuming a small amount of storage space, and can also store low-duty cycle signals to achieve spread spectrum code authentication with higher human sensitivity. The duration of high-duty cycle signals is generally no more than 100ms; the duration of low-duty cycle signals is generally more than seconds.
[0056] Determine some parameter information of non-uniform puncturing of the spread spectrum code, the specific method is as follows:
[0057] During the duration of each signal segment, T i According to the duty cycle x i The random number width of the authentication spread spectrum code position is calculated, that is, a random number is represented by QW bits, and every 2 QW There is one authentication spread spectrum code chip in each code chip;
[0058] QW=log2(ceil(log2(1 / x i )))
[0059] Among them, x i It represents the duty cycle of the authentication spreading code in the i-th segment signal, and ceil() represents the rounding operation.
[0060] Then the number of random numbers required to represent the authentication spreading code position in a spreading code cycle is calculated as RL1;
[0061] RL1=ceil(CL / 2 QW )
[0062] Wherein, CL is the length of the spreading code.
[0063] In one spread spectrum code period, RL2=QW×RL1 random bits need to be generated to represent RL1 random numbers.
[0064] Generate RL2 random bits in a spread spectrum code period, specifically: the number of times the one-way function is used in the process of generating random bits is N, and the commonly used one-way functions include but are not limited to the SM3 algorithm, and the SM3 hash operation is performed using parameters such as a key and time information to generate random bits;
[0065] N = ceil(RL2 / 256)
[0066] like Figure 3 , different key information Key' is used to generate random bits in k segments in the current authentication cycle, and Key' of the i-th segment i The key Key and random number α carried by the next authentication cycle are generated by the SM3 algorithm, where α can be evenly divided into N segments to generate different Key's;
[0067] Key′ i =trunc(SM3(Key||α i ),L K )
[0068] Generate a random bit C of the spreading code with a length of RL2 auth for
[0069] C auth =SM3(AuP||PRN||Wk||MSOW||Seg1||Key′ i )...||trunc(SM3(AuP||PRN||Wk||MSOW||Seg N ||Key′ i ),mod(RL2,256))
[0070] Wherein, mod() represents the remainder operation, AuP is the spread spectrum code authorization service parameter, PRN is the satellite number, Wk is the week count, MSOW is the millisecond time count within the week corresponding to the start code chip of the authentication spread spectrum code, Seg is the segment number of the N-time SM3 hash algorithm, ranging from 1-N, Key' is the received spread spectrum code authentication key, and RL2=QW×RL1 represents the length of the spread spectrum random bit per ms in the i-th segment.
[0071] Random Bit C auth Take QW bits as a group and convert them into RL1 random numbers with a generated length of 2 QW ×RL1 0-bit sequence, which is 2 BW The bits are grouped as a group, and the 0 bit positions corresponding to RL1 random numbers are set to 1 to obtain the random code sequence C auth '. Original spreading code C init With C auth 'Perform XOR, thereby achieving auth The chip of the original spread spectrum code is flipped at the specified position to obtain the authentication spread spectrum code C with a length of L auth,L . Take QW=3, CL=5115 as an example, Figure 4 The authentication spread spectrum code is
[0072] C auth,L =xor(C init ,C auth ′)
[0073] By flipping the original spread spectrum code at a random position to generate an authentication spread spectrum code, the storage overhead of the user terminal is reduced, the authentication time is shortened, and the fast and reliable authentication capability of the satellite navigation signal is enhanced.
[0074] In one embodiment, Figure 5 As shown, a method for receiving a satellite navigation signal is provided, comprising the following steps:
[0075] In step 502, the user terminal receives the navigation authentication signal broadcast by the satellite, normally captures and tracks the navigation authentication signal and records the observation results in an authentication cycle, and selects and stores the signal portion with a high duty cycle of the authentication spread spectrum code within the authentication cycle to obtain the stored signal and the corresponding observation results per millisecond.
[0076] The user terminal receives the satellite navigation authentication signal broadcast by the satellite, captures and tracks it normally, and records the carrier frequency f per millisecond within an authentication period Tms. i , carrier phase Spreading code frequency fc i , pseudo code phase τ i And the correlation integral result corrI i ,corrQ i Equal observation results, i = 1, 2, 3…T;
[0077] During the authentication period Tms, the user terminal selects a baseband navigation signal of length Lms for storage. The stored signal is recorded as s s (t), the time range of the stored signal corresponds to t1, t2, …t Lms, respectively denoted as s s1 (t), s s2 (t), …, s sL (t) The user terminal reduces the storage overhead of the terminal by selecting to store the signal portion with a high duty cycle of the authentication spread spectrum code without affecting the signal authentication success rate.
[0078] Step 504: Calculate the authentication spreading code within the time range corresponding to the stored signal using the received spreading code authentication key, spreading code authorization service parameter and satellite number.
[0079] According to the content of the satellite navigation signal spread spectrum code authentication protocol, using the received spread spectrum code authentication key Key', using the spread spectrum code authorization service parameter AuP and the satellite number PRN, calculate the corresponding t1~t L Authentication spreading code C within the time range auth,L , the authentication spread spectrum code length is L.
[0080] Step 506, select the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal from the observation results, and correlate them with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result.
[0081] Select a time range between t1 and t2 from the saved observation results. L Signal carrier frequency f in the range tl , carrier phase Spreading code frequency fc tl , pseudo code phase τ tl And the coherent integration result corrI tl ,corrQ tl , where l=1,2,…L.
[0082] Using the above observations and the authentication spreading code C auth,L Correlate the stored signal to obtain the authentication spread spectrum code correlation result corrI auth,l and corrQ auth,l , where l=1,2,…L.
[0083] Step 508, calculate the spread spectrum code authentication detection amount according to the authentication spread spectrum code related results, and compare the spread spectrum code authentication detection amount with the preset threshold. When the spread spectrum code authentication detection amount is greater than the preset threshold, the authentication spread spectrum code exists in the satellite navigation signal and the signal authentication is successful.
[0084] The spread spectrum code authentication detection quantity Z is compared with the preset threshold Th. When Z>Th, the authentication spread spectrum code exists in the satellite navigation signal and the signal authentication is successful. Otherwise, the signal authentication is unsuccessful. Th is determined by the false alarm probability that the user terminal can tolerate, which is consistent with the threshold determination method of the traditional signal detection method.
[0085] The above receiving method is only an example of a receiver storing a signal with a high duty cycle. The receiving method for storing other signals is the same.
[0086] In the above-mentioned non-uniform puncturing satellite navigation signal spread spectrum code authentication protocol and receiving method, the present application performs segmented processing on a complete authentication cycle spread spectrum code, each segment adopts a different puncturing duty cycle, and generates a random number to control the flipping position in combination with parameters such as a key and time information. On the basis of the original spread spectrum code, the bit flipping of the original spread spectrum code at a random position is realized, and each segment of the authentication spread spectrum code can realize independent signal authentication. The spread spectrum code segmentation processing and non-uniform puncturing setting within the authentication cycle are utilized to shorten the time period of the spread spectrum code authentication of the satellite navigation signal, thereby reducing the storage overhead while realizing fast and reliable authentication of the satellite navigation signal. At the same time, the user terminal selects to store the signal part with a high duty cycle of the authentication spread spectrum code, thereby reducing the storage overhead of the terminal without affecting the success rate of the signal authentication.
[0087] In one embodiment, the authentication period of a satellite navigation signal includes at least two signals, a high duty cycle and a low duty cycle, wherein the high duty cycle signal is short and the low duty cycle signal is long; the duration of the high duty cycle signal is generally not more than 100ms; the duration of the low duty cycle signal is generally more than seconds.
[0088] The receiving terminal can store high duty cycle signals to implement spread spectrum code authentication while consuming a small amount of storage space, or store low duty cycle signals to implement spread spectrum code authentication with higher human sensitivity.
[0089] In one embodiment, within each signal duration, the random number width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond are calculated according to the duty cycle, including:
[0090] The random number bit width of the authentication spread spectrum code position is calculated based on the duty cycle of the authentication spread spectrum code of the i-th segment signal:
[0091] QW=log2(ceil(log2(1 / x i )))
[0092] Among them, x i represents the duty cycle of the authentication spreading code in the i-th segment signal, and ceil() represents the rounding operation;
[0093] The number of random numbers required to authenticate the spread spectrum code position per millisecond in the i-th segment signal is determined by using the random number bit width:
[0094] RL1=ceil(CL / 2 QW )
[0095] Among them, CL is the spread spectrum code length of 1ms, then the total number of random numbers that need to be calculated for the i-th signal is RL1×T i , T i Indicates the duration of each signal segment.
[0096] In one embodiment, the cryptographic algorithm includes an SM3 algorithm or a similar cryptographic algorithm for generating random hashes; the key information of each authentication signal in the current authentication cycle is generated by the cryptographic algorithm according to the key and random number carried in the next authentication cycle, including:
[0097] The key information of the i-th signal in the current authentication cycle is generated by the SM3 algorithm according to the key and random number carried in the next authentication cycle:
[0098] Key′ i =trunc(SM3(Key||α i ),L K )
[0099] Among them, trunc means truncating the specified number of bits, L K Indicates the received spread spectrum code authentication key Key′ i The length of α is usually no more than 256. i Represents the distributed random number of the signal authentication spread spectrum code of the i-th segment.
[0100] In one embodiment, using key information to generate spread spectrum random bits includes:
[0101] The process of using the key information to generate the random bits for spreading in the i-th segment millisecond by millisecond includes but is not limited to the following generation methods:
[0102] C auth =SM3(AuP||PRN||Wk||MSOW||Seg1||Key′ i )...||trunc(SM3(AuP||PRN||Wk||MSOW||Seg N ||Key′ i ),mod(RL2,256))
[0103] Wherein, mod() represents the remainder operation, AuP is the spread spectrum code authorization service parameter, PRN is the satellite number, Wk is the week count, MSOW is the millisecond time count within the week corresponding to the start code chip of the authentication spread spectrum code, Seg is the segment number of the N-time SM3 hash algorithm, ranging from 1-N, Key' is the received spread spectrum code authentication key, and RL2=QW×RL1 represents the length of the spread spectrum random bit per ms in the i-th segment.
[0104] In one embodiment, the chips of the original spread spectrum code are flipped and controlled according to the spread spectrum random bits to obtain the authentication spread spectrum code, including:
[0105] For the i-th signal, the spread spectrum random bits per millisecond are grouped as QW bits and converted into RL1 random numbers with a generated length of 2 QW ×RL1 0-bit sequence, 0-bit sequence is 2 BW The bits are grouped into a group, and the 0 bits corresponding to the RL1 random numbers are set to 1 to obtain the random code sequence C auth ', the original spreading code C init With C auth ' Perform XOR to obtain the navigation signal spread spectrum code sequence including the authentication spread spectrum code.
[0106] In one embodiment, the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal are selected from the observation results and correlated with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result, including:
[0107] The signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal are selected from the observation results and correlated with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result:
[0108]
[0109] Where mod() represents the modulo operation, CL is the length of the spread spectrum code, c auth,l is the authentication spreading code, s sl (t) represents the storage signal, f tl Indicates the signal carrier frequency, Indicates the carrier phase, fc tl represents the spreading code frequency, τ tl Indicates the pseudo code phase.
[0110] In one embodiment, calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result includes:
[0111] According to the authentication spread spectrum code related results, the spread spectrum code authentication detection quantity is calculated as follows:
[0112]
[0113] Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
[0114] In one embodiment, the process of calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result further includes:
[0115] According to the authentication spread spectrum code related results, the spread spectrum code authentication detection quantity is calculated as follows:
[0116]
[0117] Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
[0118] In one of the embodiments, the preset threshold is determined by a false alarm probability that can be tolerated by the user terminal.
[0119] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed 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 part of the sub-steps or stages of other steps.
[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.
[0121] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A satellite navigation signal spread spectrum code authentication protocol with non-uniform puncturing, characterized in that: The satellite navigation signal spread spectrum code authentication protocol includes: Perform segment processing in the authentication cycle of the satellite navigation signal to determine the duration and duty cycle of each signal segment, and calculate the random number bit width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond according to the duty cycle during the duration of each signal segment; Based on the number of random numbers, random bits in the spread spectrum code period are designed, and key information of each authentication signal in the current authentication period is generated through a cryptographic algorithm according to the key and random number carried in the next authentication period, and the spread spectrum random bits are generated using the key information; the code bits of the original spread spectrum code are flipped and controlled according to the spread spectrum random bits to obtain the authentication spread spectrum code.
2. The satellite navigation signal spread spectrum code authentication protocol according to claim 1, characterized in that: The authentication cycle of a satellite navigation signal contains at least two types of signals: high duty cycle and low duty cycle. The high duty cycle signal has a short duration, while the low duty cycle signal has a long duration. The duration of the high duty cycle signal is generally not more than 100 ms; the duration of the low duty cycle signal is generally more than seconds.
3. The satellite navigation signal spread spectrum code authentication protocol according to claims 1 and 2, characterized in that: During the duration of each signal segment, the random number width of the authentication spread spectrum code position and the number of random numbers required for the authentication spread spectrum code position per millisecond are calculated based on the duty cycle, including: The random number bit width of the authentication spread spectrum code position is calculated based on the authentication spread spectrum code duty cycle of the i-th segment signal: QW=log2(ceil(log2(1 / x i ))) Among them, x i represents the duty cycle of the authentication spreading code in the i-th segment signal, and ceil() represents the rounding operation; The number of random numbers required to authenticate the spread spectrum code position per millisecond in the i-th segment signal using the random number bit width is: RL1=ceil(CL / 2 QW ) Among them, CL is the spread spectrum code length of 1ms, then the total number of random numbers that need to be calculated for the i-th signal is RL1×T i , T i Indicates the duration of each signal segment.
4. The satellite navigation signal spread spectrum code authentication protocol according to claims 1-3, characterized in that: The cryptographic algorithm includes an SM3 algorithm or a similar cryptographic algorithm for generating random hashes; The key information of each authentication signal in the current authentication cycle is generated by a cryptographic algorithm based on the key and random number carried in the next authentication cycle, including: The key information of the i-th signal in the current authentication cycle is generated by the SM3 algorithm according to the key and random number carried in the next authentication cycle: Key i ′=trunc(SM3(Key||α i ),L K ) Among them, trunc means truncating the specified number of bits, L K Indicates the received spread spectrum code authentication key Key i ' is usually no more than 256 in length, α i Represents the distributed random number of the signal authentication spread spectrum code of the i-th segment.
5. The satellite navigation signal spread spectrum code authentication protocol according to any one of claims 1 to 4, characterized in that: The key information is used to generate spread spectrum random bits, including: The process of using the key information to generate the random bits for spreading in the i-th segment millisecond by millisecond includes but is not limited to the following generation method: C auth =SM3(AuP||PRN||Wk||MSOW||Seg1||Key i ′)... ||trunc(SM3(AuP||PRN||Wk||MSOW||From N ||Key i ′),mod(RL2,256)) Wherein, mod() represents the remainder operation, AuP is the spread spectrum code authorization service parameter, PRN is the satellite number, Wk is the week count, MSOW is the millisecond time count within the week corresponding to the start code chip of the authentication spread spectrum code, Seg is the segment number of the N-time SM3 hash algorithm, ranging from 1-N, Key' is the received spread spectrum code authentication key, and RL2=QW×RL1 represents the length of the spread spectrum random bit per ms in the i-th segment.
6. The satellite navigation signal spread spectrum code authentication protocol according to claims 1 to 5, characterized in that: The chip of the original spread spectrum code is flipped and controlled according to the spread spectrum random bit to obtain the authentication spread spectrum code, including: For the i-th signal, the spread spectrum random bits per millisecond are grouped as QW bits and converted into RL1 random numbers with a generated length of 2 QW ×RL1 0-bit sequence, the 0-bit sequence is 2 BW The bits are grouped into a group, and the 0 bits corresponding to the RL1 random numbers are set to 1 to obtain the random code sequence C auth ', the original spreading code C init With C auth ' Perform XOR to obtain the navigation signal spread spectrum code sequence including the authentication spread spectrum code.
7. A method for receiving satellite navigation signals based on the satellite navigation signal spread spectrum code authentication protocol design according to claims 1 to 6, characterized in that: The method comprises: The user terminal receives the navigation authentication signal broadcast by the satellite, normally captures and tracks the navigation authentication signal and records the observation results in an authentication cycle, and selects and stores the signal part with a high duty cycle of the authentication spread spectrum code in the authentication cycle to obtain the stored signal and the observation results corresponding to each millisecond; Calculate the authentication spreading code within the time range corresponding to the storage signal using the received spreading code authentication key, spreading code authorization service parameter and satellite number; Select the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal from the observation results, and correlate them with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result; The spread spectrum code authentication detection amount is calculated according to the authentication spread spectrum code related results, and the spread spectrum code authentication detection amount is compared with a preset threshold. When the spread spectrum code authentication detection amount is greater than the preset threshold, the authentication spread spectrum code exists in the satellite navigation signal and the signal authentication is successful.
8. The method according to claim 7, characterized in that Selecting from the observation results the signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal and correlating them with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result, including: The signal carrier frequency, carrier phase, spread spectrum code frequency, pseudo code phase and coherent integration result within the authentication period of the stored signal are selected from the observation results and correlated with the authentication spread spectrum code to obtain the authentication spread spectrum code correlation result: Where mod() represents the modulo operation, CL is the length of the spread spectrum code, c auth,l is the authentication spreading code, s sl (t) represents the storage signal, f tl Indicates the signal carrier frequency, Indicates the carrier phase, fc tl represents the spreading code frequency, τ tl Indicates the pseudo code phase.
9. The method according to claim 8, characterized in that Calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result, including: The spread spectrum code authentication detection amount is calculated according to the authentication spread spectrum code related result: Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
10. The method according to claim 9, characterized in that The process of calculating the spread spectrum code authentication detection amount according to the authentication spread spectrum code related result also includes: The spread spectrum code authentication detection amount is calculated according to the authentication spread spectrum code related result: Where L is the authentication spread spectrum code length, corrI tl ,corrQ tl is the coherent integration result.
