Short message encryption positioning method and system for electric power Beidou terminal

Through the encryption scheme between the electric power Beidou terminal and the main station, the problem of insufficient reliability and security of positioning data transmission by the electric power Beidou terminal in the signal-free area is solved, and the data security in the Beidou short message transmission is achieved. and improved reliability, ensuring the safety of data transmission in the power system.

CN118678341AInactive Publication Date: 2024-09-20STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410837990.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing power Beidou terminals have problems with insufficient reliability and security in positioning data transmission. Especially in business applications such as transportation inspection services in signal-free areas and emergency disaster recovery and emergency rescue, positioning data are prone to malicious eavesdropping. leading to data leakage.

Method used

A short message encrypted positioning method of the electric power Beidou terminal is adopted. By establishing an encryption scheme between the electric power Beidou terminal and the main station, the electric power Beidou terminal performs single-point positioning and encrypts the information and sends it back to the main station through the Beidou short message. , the main station performs decoding processing and encrypts and encodes the feedback, and the terminal performs decoding and security judgment after receiving it to ensure the security and reliability of the data during transmission. Specific steps include receiving Beidou satellite signals for single-point positioning, performing pseudo-random processing and iterative operations after framing processing, and using keys to perform XOR operations and cyclic shifts to ensure encrypted transmission of data.

Benefits of technology

It realizes the positioning of the electric power Beidou terminal more safely in the signal-free area, avoids the problem of leakage of the electric power Beidou terminal positioning data during satellite channel transmission, improves the reliability and security of positioning, and ensures the data transmission of the power system. Safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118678341A
    Figure CN118678341A
Patent Text Reader

Abstract

The invention discloses a short message encryption positioning method for an electric power Beidou terminal. The method comprises the steps that the electric power Beidou terminal carries out single-point positioning; the electric power Beidou terminal encrypts and encodes the single-point positioning information and sends the single-point positioning information back to the master station through a Beidou short message; after receiving the short message, the master station decodes the short message and carries out resolving by adopting the deployed electric power Beidou resolving service; the master station encrypts and encodes the resolved data and sends the encrypted and encoded data to the electric power Beidou terminal through a Beidou short message; after receiving the short message, the electric power Beidou terminal decodes the short message and judges the security of the received information; and the electric power Beidou terminal carries out self high-precision positioning according to a judgment result, and short message encryption positioning of the electric power Beidou terminal is completed. The invention also discloses a system for realizing the short message encryption positioning method of the electric power Beidou terminal. The short message encryption positioning of the electric power Beidou terminal can be completed, the reliability is high, and the security is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electrical automation, and in particular relates to a short message encryption positioning method and system for an electric Beidou terminal. Background Art

[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.

[0003] At present, the BeiDou satellite system has been widely used in power systems, bringing great convenience to data transmission in power systems. The BeiDou satellite system includes BeiDou-1, BeiDou-2 and BeiDou-3. Compared with BeiDou-1 and BeiDou-2, BeiDou-3 has more satellites and more advanced technology. It also improves the data length, service frequency and forwarding success rate of BeiDou short messages, and can provide more powerful service capabilities for many fields such as power systems.

[0004] Since some transmission lines, substations, hydropower stations, etc. of the power system are distributed in areas with no signals, manual inspections have long cycles, are difficult, and have high risks. The application of Beidou short messages can greatly assist power operators in collecting and transmitting key information. The advantages of the Beidou satellite navigation system's autonomous operation and comprehensive coverage are also extremely suitable for operation and inspection services in areas with no signals in the power grid, as well as emergency disaster recovery, emergency rescue and other business applications.

[0005] The current positioning data transmission protocol of Beidou short message terminals still uses plain text transmission. However, the positioning data of the power system involves a large amount of sensitive information. Once the power system data is leaked, it will bring serious security risks to the power system. Therefore, the reliability and security of the current power Beidou terminal using Beidou short messages for positioning data transmission are poor. Summary of the invention

[0006] One of the purposes of the present invention is to provide a short message encryption positioning method for an electric Beidou terminal with high reliability and good security.

[0007] The second object of the present invention is to provide a system for implementing the short message encryption positioning method of the electric power Beidou terminal.

[0008] The short message encryption positioning method of the electric power Beidou terminal provided by the present invention comprises the following steps:

[0009] S1. The power Beidou terminal performs single-point positioning;

[0010] S2. The power Beidou terminal encrypts the single-point positioning information obtained in step S1 and sends it back to the master station via a Beidou short message;

[0011] S3. After receiving the short message, the master station decodes it and uses the deployed power Beidou solution service for solution;

[0012] S4. The master station encrypts the solved data and sends it to the power Beidou terminal via Beidou short message;

[0013] S5. After receiving the short message, the power Beidou terminal decodes it and makes a security judgment on the received information;

[0014] S6. According to the judgment result of step S5, the electric power Beidou terminal performs its own high-precision positioning and completes the short message encrypted positioning of the electric power Beidou terminal.

[0015] The electric power Beidou terminal described in step S1 performs single point positioning, which specifically includes the following steps:

[0016] At time t1, the power Beidou terminal receives the Beidou satellite signal to perform its own single-point positioning, and the original coordinates are (x t1 ,y t1 ,z t1 );

[0017] At the same time, the power Beidou terminal observes the satellite ephemeris information (A k1 ,A k2 ,...,A ki ), where A ki It is the set of all ephemeris data of the ith satellite observed by the Power Beidou terminal.

[0018] The electric power Beidou terminal described in step S2 encrypts and encodes the single point positioning information obtained in step S1, and sends it back to the main station via a Beidou short message, which specifically includes the following steps:

[0019] The power Beidou terminal performs framing processing on the original coordinates and satellite ephemeris information to obtain the data frame F':

[0020] The length of zero(m) is L(m), where L(m) is a pre-set set. for is repeated and is used to ensure that the length of the data frame F' is the set value L;

[0021] Power Beidou terminal sets scrambling code F s , scrambling code F s The length is L, and then through Pseudo-randomize the data frame F', where F" is the primary transmission frame; is an XOR operation;

[0022] Divide F' into j frames, We get F”={F1”,F2”,...,F j ”}; For the ii-th subframe F ii ”, a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0023] a. F ii " is divided into 4 groups of data, each group of data is 32 bits long, expressed as (F ii ” k ,F ii ” k+1 ,F ii ” k+2 ,F ii ” k+3 ), k represents the current iteration round;

[0024] b. Keep F ii ” k unchanged, set the first key Sk, and add the first key Sk and F ii ” k+1 、F ii ” k+2 and F ii ” k+3 Perform an XOR operation to obtain the first intermediate value Hi:

[0025] c. Decompose the first intermediate value Hi into first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 according to high and low bits, and the first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 are all 8-bit data; perform box transformation on Hi1, Hi2, Hi3 and Hi4 to obtain first intermediate box values ​​Hoi1, Hoi2, Hoi3 and Hoi4, and then merge them into the first box intermediate value Hoi, which is Hoi={Hoi1, Hoi2, Hoi3, Hoi4}, and Hoi is 32-bit data;

[0026] d. Perform four left circular shifts on the first box middle value Hoi:

[0027] Circularly shift the first box intermediate value Hoi to the left by i+2 bits to obtain the first circularly shifted value He1; He1 is 32-bit data;

[0028] Circularly shift the first box intermediate value Hoi to the left by i+10 bits to obtain the first cyclically shifted binary value He2; He2 is 32-bit data;

[0029] Circularly shift the first box intermediate value Hoi to the left by i+18 bits to obtain the first circularly shifted ternary value He3; He3 is 32-bit data;

[0030] Circularly shift the first box intermediate value Hoi to the left by i+24 bits to obtain the first circularly shifted quaternary value He4; He4 is 32-bit data;

[0031] Perform XOR operation on Hoi, He1, He2, He3 and He4 again, and get the first box XOR intermediate value Hoi':

[0032] e. Hoi' and F ii ” k Perform an XOR operation to obtain the first positive sequence value Y: Reverse Y to get the first reverse value F ii ” k+4 , complete the kth iteration;

[0033] f. Repeat steps a to e for 32 times, complete 32 rounds of iterations, and obtain the ii-th subframe F ii The first intermediate subframe (F ii ” 35 ,F ii ” 36 ,F ii ” 37 ,F ii ” 38 );

[0034] Finally, the first intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the primary transmission frame F″={F1, F2, ..., F j}The corresponding sending frame F completes the encryption encoding;

[0035] The Beidou power terminal sends frame F back to the main station via Beidou short message.

[0036] After receiving the short message, the master station described in step S3 performs decoding processing and uses the deployed power Beidou solution service for solution, which specifically includes the following steps:

[0037] After receiving the short message, the master station splits F into j frames, F = {F1, F2, ..., F jj ,...,F j}, for the jjth frame F jj , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0038] A. F jj Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F jjk ,F jjk+1 ,F jjk+2 ,Fjjk+3 ), k represents the current iteration round;

[0039] B. Keep F jjk unchanged, set the second key Sk', and add the second key Sk' and F jjk+1 、F jjk+2 and F jjk+3 Perform an XOR operation to obtain the second intermediate value Hi':

[0040] C. Decompose the second intermediate value Hi' into second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 according to high and low bits, and the second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 are all 8-bit data; perform box transformation on Hi'1, Hi'2, Hi'3 and Hi'4 to obtain second intermediate box values ​​Hoi'1, Hoi'2, Hoi'3 and Hoi'4, and then merge them into the second box intermediate value Hoi', which is Hoi'={Hoi'1, Hoi'2, Hoi'3, Hoi'4}, and Hoi' is 32-bit data;

[0041] D. Perform four left circular shifts on the middle value Hoi" of the second box:

[0042] The second box middle value Hoi" is circularly shifted to the left by i+2 bits to obtain the second circularly shifted value He'1; He'1 is 32-bit data;

[0043] Shift the second box middle value Hoi" to the left by i+10 bits to obtain the second cyclic shift binary value He'2; He'2 is 32-bit data;

[0044] Shift the second box middle value Hoi" to the left by i+18 bits to obtain the second cyclic shift ternary value He'3; He'3 is 32-bit data;

[0045] Shift the second box middle value Hoi" to the left by i+24 bits to obtain the second cyclic shift quaternary value He'4; He'4 is 32-bit data;

[0046] Perform XOR operation on Hoi” again with He'1, He'2, He'3 and He'4 to obtain the second box XOR intermediate value Hoi”':

[0047] E. Hoi”' and F jjk Perform an XOR operation to obtain the second positive sequence value Y': Reverse Y' to get the first reverse value F jjk+4 , complete the kth iteration;

[0048] F. Repeat steps A to E for 32 times, complete 32 rounds of iterations, and obtain the jjth subframe F jj The corresponding second middle subframe (F jj35 ,F jj36 ,F jj37 ,F jj38 );

[0049] Finally, the second intermediate subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame FJ corresponding to F is obtained, and the decoding process is completed;

[0050] Descramble the decoded frame FJ to obtain the decoded data FJ':

[0051] According to the preset set L(m), the decoded data FJ' is split to obtain the original coordinates as and satellite ephemeris information Use the deployed electric power Beidou solution service to obtain the differential data required for RTK positioning of the electric power Beidou terminal.

[0052] The master station described in step S4 encrypts the solved data and sends it to the power Beidou terminal via a Beidou short message, which specifically includes the following steps:

[0053] Master station for differential data After framing, the data frame F2' is obtained as The length of zero(m) is L2(m), where L2(m) is a pre-set set. The solution status information sent by the master station, The length of is u, and the length of data frame F2' is L2;

[0054] The master station sets the second scrambling code F2 s , the second scrambling code F2 s The length is L2, and then through Pseudo-randomization is performed on the data frame F2', and F2" is the primary transmission frame of the master station; is an XOR operation;

[0055] Divide F2" into j2 frames, Get F2”={F2'1',F2”2,...,F2” j}; For the 2iith subframe F2" ii , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0056] (1) Set F2” iiDivided into 4 groups of data, each group of data is 32 bits long, expressed as (F2" iik ,F2” iik+1 ,F2” iik+2 ,F2” iik+3 ), k represents the current iteration round;

[0057] (2). Hold F2” iik unchanged, set the third key Sk2, and add the third key Sk2 and F2" iik+1 、F2” iik+2 and F2” iik+3 Perform an XOR operation to obtain the third intermediate value Hi"

[0058]

[0059] (3) The third intermediate value Hi” is decomposed into third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 according to the high and low bits. The third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 are all 8-bit data; Hi”1, Hi”2, Hi”3 and Hi”4 are all box transformed to obtain third intermediate box values ​​Hoi”1, Hoi”2, Hoi”3 and Hoi”4, and then merged into the third box intermediate value Hoi 4 'For Hoi 4 '={Hoi"1, Hoi"2, Hoi"3, Hoi"4}, Hoi"' is 32-bit data;

[0060] (4) For the third box middle value Hoi 4 'Perform four left circular shifts:

[0061] The middle value of the third box Hoi 4 'Circularly shift i+2 bits to the left to obtain the third circular shift value He"1; He"1 is 32-bit data;

[0062] The middle value of the third box Hoi 4 'Circularly shift i+10 bits to the left to obtain the third circularly shifted binary value He"2; He"2 is 32-bit data;

[0063] The middle value of the third box Hoi 4 'Circularly shift i+18 bits to the left to obtain the third circularly shifted ternary value He"3; He"3 is 32-bit data;

[0064] The middle value of the third box Hoi 4 'Circularly shift i+24 bits to the left to obtain the third circularly shifted quaternary value He"4; He"4 is 32-bit data;

[0065] Hoi 4'Perform XOR operation with He"1, He"2, He"3 and He"4 again to get the third box XOR intermediate value Hoi 5 'for

[0066] (5) Hoi 5 ' and F2' iik Perform an XOR operation to obtain the third positive sequence value Y" Reverse Y" to get the third reverse value F2" iik+4 , complete the kth iteration;

[0067] (6) Repeat steps (1) to (5) 32 times in total, completing 32 rounds of iterations to obtain the 2iith subframe F2" ii The corresponding third middle subframe (F2" ii35 ,F2” ii36 ,F2” ii37 ,F2” ii38 );

[0068] Finally, the third intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the master station transmission frame F2 corresponding to the master station primary transmission frame F2", and completing the encryption coding;

[0069] The master station sends the frame FF to the power Beidou terminal via Beidou short message.

[0070] After receiving the short message, the power Beidou terminal described in step S5 performs decoding processing and makes a security judgment on the received information, which specifically includes the following steps:

[0071] After receiving the short message, the power Beidou terminal splits F2 into j2 frames, F2 = {F21, F22, ..., F2 kk ,...,F2 j2}, for the kkth subframe F2 kk , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0072] 1). Set F2 kk Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F2 kkk ,F2 kkk+1 ,F2 kkk+2 ,F2 kkk+3 ), k represents the current iteration round;

[0073] 2). Hold F2 kkk unchanged, set the fourth key Sk'2, and add the fourth key Sk'2 and F2 kkk+1 、F2 kkk+2 and F2kkk+3 Perform an XOR operation to obtain the fourth intermediate value Hi"':

[0074]

[0075] 3) Decompose the fourth intermediate value Hi'' into fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 according to high and low bits, and the fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 are all 8-bit data; perform box transformation on Hi''1, Hi''2, Hi''3 and Hi''4 to obtain fourth intermediate box values ​​Hoi''1, Hoi''2, Hoi''3 and Hoi''4, and then merge them into the fourth box intermediate value Hoi 6 'For Hoi 6 '={Hoi"'1,Hoi"'2,Hoi"'3,Hoi"'4},Hoi 6 ' is 32-bit data;

[0076] 4). For the fourth box middle value Hoi 6 'Perform four left circular shifts:

[0077] The middle value of the fourth box Hoi 6 'Circularly shift i+2 bits to the left to obtain the fourth circular shift value He"'1; He"'1 is 32-bit data;

[0078] The middle value of the fourth box Hoi 6 'Circularly shift i+10 bits to the left to obtain the fourth circularly shifted binary value He"'2; He"'2 is 32-bit data;

[0079] The middle value of the fourth box Hoi 6 'Circularly shift i+18 bits to the left to obtain the fourth circularly shifted triple value He"'3; He"'3 is 32-bit data;

[0080] The middle value of the fourth box Hoi 6 'Circularly shift i+24 bits to the left to obtain the fourth circularly shifted quad value He"'4; He"'4 is 32-bit data;

[0081] Hoi 6 ' and He"'1, He"'2, He"'3 and He"'4 are XORed again to get the fourth box XOR intermediate value Hoi 7 'for

[0082] 5). Hoi 7 ' and F2 kkk Perform an XOR operation to obtain the fourth positive sequence value Y'': Reverse Y'' to get the second reverse value F2 kkk+4 , complete the kth iteration;

[0083] 6) Repeat steps 1) to 5) for 32 times, complete 32 rounds of iterations, and obtain the kkth subframe F2 kk The corresponding fourth middle subframe (F2 kk35 ,F2 kk36 ,F2 kk37 ,F2 kk38 );

[0084] Finally, the fourth middle subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame F2J corresponding to F2 is obtained, and the decoding process is completed;

[0085] The decoded frame F2J is descrambled to obtain the decoded data F2J':

[0086] According to the preset set L2(m), the decoded data F2J' is split into differential data And the solution status information sent by the master station

[0087] right To verify: After performing a bitwise XOR operation with the check sequence Y(u) of length u, the sum operation is performed to obtain the check value sum:

[0088] If sum = u, the data is considered safe and the subsequent steps are continued;

[0089] If sum<u, the data is determined to be unsafe and the algorithm ends.

[0090] According to the judgment result of step S5, the electric power Beidou terminal performs its own high-precision positioning in step S6, which specifically includes the following steps:

[0091] The power Beidou terminal decodes the differential data (Δx t1 ,Δy t1 ,Δz t1 ), and the original coordinates (x t2 ,y t2 ,z t2 ), perform RTK solution, and obtain the high-precision positioning result of the electric Beidou terminal at the current time t2.

[0092] The present invention also provides a system for implementing the short message encryption positioning method of the electric power Beidou terminal, comprising a terminal coarse positioning module, a terminal encryption module, a master station decoding module, a master station encryption module, a terminal decoding module and a terminal precise positioning module; the terminal coarse positioning module, the terminal encryption module, the master station decoding module, the master station encryption module, the terminal decoding module and the terminal precise positioning module are connected in series in sequence; the terminal coarse positioning module is used to control the electric power Beidou terminal to perform single-point positioning and upload data information to the terminal encryption module; the terminal encryption module is used to control the electric power Beidou terminal to encrypt and encode the obtained single-point positioning information according to the received data information, and send it back to the master station through a Beidou short message, and upload the data information to the master station decoding module; the master station decoding module is used to, according to the received data information, After the control master station receives the short message, it decodes it, uses the deployed electric power Beidou solution service for solution, and uploads the data information to the master station encryption module; the master station encryption module is used to control the master station to encrypt and encode the solved data according to the received data information, and send it to the electric power Beidou terminal through the Beidou short message, and upload the data information to the terminal decoding module; the terminal decoding module is used to control the electric power Beidou terminal to decode the short message after receiving it according to the received data information, make a security judgment on the received information, and upload the data information to the terminal precise positioning module; the terminal precise positioning module is used to control the electric power Beidou terminal to perform its own high-precision positioning according to the received data information and the judgment result, and complete the short message encrypted positioning of the electric power Beidou terminal.

[0093] The short message encryption positioning method and system of the electric power Beidou terminal provided by the present invention can more safely complete the positioning of the electric power Beidou terminal in a signal-free area by establishing an encryption scheme for short message positioning between the electric power Beidou terminal and the main station, while avoiding the data leakage problem caused by malicious eavesdropping when the positioning data of the electric power Beidou terminal is transmitted via a satellite channel; and the present invention has higher reliability and better security. BRIEF DESCRIPTION OF THE DRAWINGS

[0094] Figure 1 The figure is a schematic diagram of the method flow of the present invention.

[0095] Figure 2 Schematic diagram of the functional modules of the system of the present invention. DETAILED DESCRIPTION

[0096] like Figure 1 The method flow diagram of the method of the present invention is shown as follows: the short message encryption positioning method of the electric power Beidou terminal includes the following steps:

[0097] S1. The power Beidou terminal performs single-point positioning; specifically, the steps include:

[0098] At time t1, the power Beidou terminal receives the Beidou satellite signal to perform its own single-point positioning, and the original coordinates are

[0099] At the same time, the power Beidou terminal observed the satellite ephemeris information in is the set of all ephemeris data of the i-th satellite observed by the power Beidou terminal;

[0100] S2. The power Beidou terminal encrypts the single-point positioning information obtained in step S1 and sends it back to the master station via a Beidou short message; specifically, the following steps are included:

[0101] The power Beidou terminal performs framing processing on the original coordinates and satellite ephemeris information to obtain the data frame F':

[0102] The length of zero(m) is L(m), where L(m) is a pre-set set. for is repeated and is used to ensure that the length of the data frame F' is the set value L;

[0103] Power Beidou terminal sets scrambling code F s , scrambling code F s The length is L, and then through Pseudo-randomize the data frame F', where F" is the primary transmission frame; is an XOR operation;

[0104] Divide F' into j frames, We get F”={F1”,F2”,...,F j ”}; For the ii-th subframe F ii ”, a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0105] a. F ii " is divided into 4 groups of data, each group of data is 32 bits long, expressed as (F ii ” k ,F ii ” k+1 ,F ii ” k+2 ,F ii ” k+3 ), k represents the current iteration round;

[0106] b. Keep F ii ” k unchanged, set the first key Sk, and add the first key Sk and F ii ” k+1 、F ii ” k+2and F ii ” k+3 Perform an XOR operation to obtain the first intermediate value Hi:

[0107] c. Decompose the first intermediate value Hi into first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 according to high and low bits, and the first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 are all 8-bit data; perform box transformation on Hi1, Hi2, Hi3 and Hi4 to obtain first intermediate box values ​​Hoi1, Hoi2, Hoi3 and Hoi4, and then merge them into the first box intermediate value Hoi, which is Hoi={Hoi1, Hoi2, Hoi3, Hoi4}, and Hoi is 32-bit data;

[0108] d. Perform four left circular shifts on the first box middle value Hoi:

[0109] Circularly shift the first box intermediate value Hoi to the left by i+2 bits to obtain the first circularly shifted value He1; He1 is 32-bit data;

[0110] Circularly shift the first box intermediate value Hoi to the left by i+10 bits to obtain the first cyclically shifted binary value He2; He2 is 32-bit data;

[0111] Circularly shift the first box intermediate value Hoi to the left by i+18 bits to obtain the first circularly shifted ternary value He3; He3 is 32-bit data;

[0112] Circularly shift the first box intermediate value Hoi to the left by i+24 bits to obtain the first circularly shifted quaternary value He4; He4 is 32-bit data;

[0113] Perform XOR operation on Hoi, He1, He2, He3 and He4 again, and get the first box XOR intermediate value Hoi':

[0114] e. Hoi' and F ii ” k Perform an XOR operation to obtain the first positive sequence value Y: Reverse Y to get the first reverse value F ii ” k+4 , complete the kth iteration;

[0115] f. Repeat steps a to e for 32 times, complete 32 rounds of iterations, and obtain the ii-th subframe F ii The first intermediate subframe (F ii ” 35 ,F ii ” 36 ,F ii ” 37 ,Fii ” 38 );

[0116] Finally, the first intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the primary transmission frame F″={F1, F2, ..., F j}The corresponding sending frame F completes the encryption encoding;

[0117] The Beidou power terminal sends the transmission frame F back to the master station via the Beidou short message;

[0118] S3. After receiving the short message, the master station decodes it and uses the deployed power Beidou solution service to solve it. The specific steps include:

[0119] After receiving the short message, the master station splits F into j frames, F = {F1, F2, ..., F jj ,...,F j}, for the jjth frame F jj , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0120] A. F jj Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F jjk ,F jjk+1 ,F jjk+2 ,F jjk+3 ), k represents the current iteration round;

[0121] B. Keep F jjk unchanged, set the second key Sk', and add the second key Sk' and F jjk+1 、F jjk+2 and F jjk+3 Perform an XOR operation to obtain the second intermediate value Hi':

[0122] C. Decompose the second intermediate value Hi' into second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 according to high and low bits, and the second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 are all 8-bit data; perform box transformation on Hi'1, Hi'2, Hi'3 and Hi'4 to obtain second intermediate box values ​​Hoi'1, Hoi'2, Hoi'3 and Hoi'4, and then merge them into the second box intermediate value Hoi', which is Hoi'={Hoi'1, Hoi'2, Hoi'3, Hoi'4}, and Hoi' is 32-bit data;

[0123] D. Perform four left circular shifts on the middle value Hoi" of the second box:

[0124] The second box middle value Hoi" is circularly shifted to the left by i+2 bits to obtain the second circularly shifted value He'1; He'1 is 32-bit data;

[0125] Shift the second box middle value Hoi" to the left by i+10 bits to obtain the second cyclic shift binary value He'2; He'2 is 32-bit data;

[0126] Shift the second box middle value Hoi" to the left by i+18 bits to obtain the second cyclic shift ternary value He'3; He'3 is 32-bit data;

[0127] Shift the second box middle value Hoi" to the left by i+24 bits to obtain the second cyclic shift quaternary value He'4; He'4 is 32-bit data;

[0128] Perform XOR operation on Hoi” again with He'1, He'2, He'3 and He'4 to obtain the second box XOR intermediate value Hoi”':

[0129] E. Hoi”' and F jjk Perform an XOR operation to obtain the second positive sequence value Y': Reverse Y' to get the first reverse value F jjk+4 , complete the kth iteration;

[0130] F. Repeat steps A to E for 32 times, complete 32 rounds of iterations, and obtain the jjth subframe F jj The corresponding second middle subframe (F jj35 ,F jj36 ,F jj37 ,F jj38 );

[0131] Finally, the second intermediate subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame FJ corresponding to F is obtained, and the decoding process is completed;

[0132] Descramble the decoded frame FJ to obtain the decoded data FJ':

[0133] According to the preset set L(m), the decoded data FJ' is split to obtain the original coordinates as and satellite ephemeris information Use the deployed electric power Beidou solution service to obtain the differential data required for RTK positioning of the electric power Beidou terminal.

[0134] S4. The master station encrypts the solved data and sends it to the power Beidou terminal via a Beidou short message; specifically, the steps include:

[0135] Master station for differential data After framing, the data frame F2' is obtained as The length of zero(m) is L2(m), where L2(m) is a pre-set set. The solution status information sent by the master station, The length of is u, and the length of data frame F2' is L2;

[0136] The master station sets the second scrambling code F2 s , the second scrambling code F2 s The length is L2, and then through Pseudo-randomization is performed on the data frame F2', and F2" is the primary transmission frame of the master station; is an XOR operation;

[0137] Divide F2" into j2 frames, Get F2”={F2'1',F2”2,...,F2” j}; For the 2iith subframe F2" ii , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0138] (1) Set F2” ii Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F2" iik ,F2” iik+1 ,F2” iik+2 ,F2” iik+3 ), k represents the current iteration round;

[0139] (2). Hold F2” iik unchanged, set the third key Sk2, and add the third key Sk2 and F2" iik+1 、F2” iik+2 and F2” iik+3 Perform an XOR operation to obtain the third intermediate value Hi"

[0140]

[0141] (3) The third intermediate value Hi” is decomposed into third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 according to the high and low bits. The third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 are all 8-bit data; Hi”1, Hi”2, Hi”3 and Hi”4 are all box transformed to obtain third intermediate box values ​​Hoi”1, Hoi”2, Hoi”3 and Hoi”4, and then merged into the third box intermediate value Hoi 4 'For Hoi 4'={Hoi"1, Hoi"2, Hoi"3, Hoi"4}, Hoi"' is 32-bit data;

[0142] (4) For the third box middle value Hoi 4 'Perform four left circular shifts:

[0143] The middle value of the third box Hoi 4 'Circularly shift i+2 bits to the left to obtain the third circular shift value He"1; He"1 is 32-bit data;

[0144] The middle value of the third box Hoi 4 'Circularly shift i+10 bits to the left to obtain the third circularly shifted binary value He"2; He"2 is 32-bit data;

[0145] The middle value of the third box Hoi 4 'Circularly shift i+18 bits to the left to obtain the third circularly shifted ternary value He"3; He"3 is 32-bit data;

[0146] The middle value of the third box Hoi 4 'Circularly shift i+24 bits to the left to obtain the third circularly shifted quaternary value He"4; He"4 is 32-bit data;

[0147] Hoi 4 'Perform XOR operation with He"1, He"2, He"3 and He"4 again to get the third box XOR intermediate value Hoi 5 'for

[0148] (5) Hoi 5 ' and F2' iik Perform an XOR operation to obtain the third positive sequence value Y" Reverse Y" to get the third reverse value F2" iik+4 , complete the kth iteration;

[0149] (6) Repeat steps (1) to (5) 32 times in total, completing 32 rounds of iterations to obtain the 2iith subframe F2" ii The corresponding third middle subframe (F2" ii35 ,F2” ii36 ,F2” ii37 ,F2” ii38 );

[0150] Finally, the third intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the master station transmission frame F2 corresponding to the master station primary transmission frame F2", and completing the encryption coding;

[0151] The master station sends the frame FF sent by the master station to the power Beidou terminal via the Beidou short message;

[0152] S5. After receiving the short message, the power Beidou terminal decodes and processes it, and makes a security judgment on the received information; specifically, the steps include:

[0153] After receiving the short message, the power Beidou terminal splits F2 into j2 frames, F2 = {F21, F22, ..., F2 kk ,...,F2 j2}, for the kkth subframe F2 kk , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps:

[0154] 1). Set F2 kk Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F2 kkk ,F2 kkk+1 ,F2 kkk+2 ,F2 kkk+3 ), k represents the current iteration round;

[0155] 2). Hold F2 kkk unchanged, set the fourth key Sk'2, and add the fourth key Sk'2 and F2 kkk+1 、F2 kkk+2 and F2 kkk+3 Perform an XOR operation to obtain the fourth intermediate value Hi"':

[0156]

[0157] 3) Decompose the fourth intermediate value Hi'' into fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 according to high and low bits, and the fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 are all 8-bit data; perform box transformation on Hi''1, Hi''2, Hi''3 and Hi''4 to obtain fourth intermediate box values ​​Hoi''1, Hoi''2, Hoi''3 and Hoi''4, and then merge them into the fourth box intermediate value Hoi 6 'For Hoi 6 '={Hoi"'1,Hoi"'2,Hoi"'3,Hoi"'4},Hoi 6 ' is 32-bit data;

[0158] 4). For the fourth box middle value Hoi 6 'Perform four left circular shifts:

[0159] The middle value of the fourth box Hoi 6'Circularly shift i+2 bits to the left to obtain the fourth circular shift value He"'1; He"'1 is 32-bit data;

[0160] The middle value of the fourth box Hoi 6 'Circularly shift i+10 bits to the left to obtain the fourth circularly shifted binary value He"'2; He"'2 is 32-bit data;

[0161] The middle value of the fourth box Hoi 6 'Circularly shift i+18 bits to the left to obtain the fourth circularly shifted triple value He"'3; He"'3 is 32-bit data;

[0162] The middle value of the fourth box Hoi 6 'Circularly shift i+24 bits to the left to obtain the fourth circularly shifted quad value He"'4; He"'4 is 32-bit data;

[0163] Hoi 6 ' and He"'1, He"'2, He"'3 and He"'4 are XORed again to get the fourth box XOR intermediate value Hoi 7 'for

[0164] 5). Hoi 7 ' and F2 kkk Perform an XOR operation to obtain the fourth positive sequence value Y'': Reverse Y'' to get the second reverse value F2 kkk+4 , complete the kth iteration;

[0165] 6) Repeat steps 1) to 5) for 32 times, complete 32 rounds of iterations, and obtain the kkth subframe F2 kk The corresponding fourth middle subframe (F2 kk35 ,F2 kk36 ,F2 kk37 ,F2 kk38 );

[0166] Finally, the fourth middle subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame F2J corresponding to F2 is obtained, and the decoding process is completed;

[0167] The decoded frame F2J is descrambled to obtain the decoded data F2J':

[0168] According to the preset set L2(m), the decoded data F2J' is split into differential data And the solution status information sent by the master station

[0169] right To verify: After performing a bitwise XOR operation with the check sequence Y(u) of length u, the sum operation is performed to obtain the check value sum:

[0170] If sum = u, the data is considered safe and the subsequent steps are continued;

[0171] If sum<u, the data is judged to be unsafe and the algorithm ends;

[0172] S6. According to the judgment result of step S5, the power Beidou terminal performs its own high-precision positioning and completes the short message encryption positioning of the power Beidou terminal; specifically comprises the following steps:

[0173] The power Beidou terminal obtains differential data based on decoding And the original coordinates obtained by the power Beidou terminal at the current time t2 to receive the Beidou satellite signal for its own single point positioning Perform RTK solution to obtain the high-precision positioning result of the electric power Beidou terminal at the current time t2;

[0174] In addition, when the power Beidou terminal loses tracking or the positioning is interrupted, it re-enters step S1 to perform a new round of positioning.

[0175] like Figure 2The diagram shows the functional modules of the system of the present invention: the system disclosed in the present invention for realizing the short message encryption positioning method of the electric power Beidou terminal comprises a terminal coarse positioning module, a terminal encryption module, a master station decoding module, a master station encryption module, a terminal decoding module and a terminal precise positioning module; the terminal coarse positioning module, the terminal encryption module, the master station decoding module, the master station encryption module, the terminal decoding module and the terminal precise positioning module are connected in series in sequence; the terminal coarse positioning module is used to control the electric power Beidou terminal to perform single-point positioning and upload data information to the terminal encryption module; the terminal encryption module is used to control the electric power Beidou terminal to encrypt and encode the obtained single-point positioning information according to the received data information, and send it back to the master station through the Beidou short message, and upload the data information to the master station decoding module; the master station decoding module is used to receive the received data information according to the received data information, and send the received data information to the master station decoding module; the master station decoding module is used to receive the received data information according to the received data information, and send the received data information to the master station decoding module. The received data information is controlled by the main station to decode the received short message, and the deployed Beidou power solution service is used for solution, and the data information is uploaded to the main station encryption module; the main station encryption module is used to control the main station to encrypt and encode the solved data according to the received data information, and send it to the Beidou power terminal through the Beidou short message, and upload the data information to the terminal decoding module; the terminal decoding module is used to control the Beidou power terminal to decode the received short message according to the received data information, and make a security judgment on the received information, and upload the data information to the terminal precise positioning module; the terminal precise positioning module is used to control the Beidou power terminal to perform its own high-precision positioning according to the received data information and the judgment result, and complete the short message encrypted positioning of the Beidou power terminal.

[0176] The present invention establishes a method for secure transmission of short messages between the electric power Beidou terminal and the master station, thereby ensuring the transmission of electric power sensitive data (including positioning data and ordinary data) and the operation inspection requirements of the electric power Beidou terminal in a signal-free area; therefore, the present invention can more safely complete the positioning of the terminal in a signal-free area, and can effectively avoid the dilemma of the electric power Beidou terminal being unable to obtain the differential data of the master station in a signal-free area, resulting in the inability to position, and at the same time avoid data leakage caused by malicious eavesdropping when the electric power sensitive data is transmitted via the satellite channel, thereby further improving the security and stability of terminal positioning.

Claims

1. A short message encryption positioning method for a power Beidou terminal comprises the following steps: S1. The power Beidou terminal performs single-point positioning; S2. The power Beidou terminal encrypts the single-point positioning information obtained in step S1 and sends it back to the master station via a Beidou short message; S3. After receiving the short message, the master station decodes it and uses the deployed power Beidou solution service for solution; S4. The master station encrypts the solved data and sends it to the power Beidou terminal via Beidou short message; S5. After receiving the short message, the power Beidou terminal decodes it and makes a security judgment on the received information; S6. According to the judgment result of step S5, the electric power Beidou terminal performs its own high-precision positioning and completes the short message encrypted positioning of the electric power Beidou terminal.

2. According to claim 1, the short message encryption positioning method of the electric power Beidou terminal, Features The electric power Beidou terminal described in step S1 performs single point positioning, which specifically includes the following steps: At time t 1 The power Beidou terminal receives the Beidou satellite signal to perform its own single-point positioning and obtains the original coordinates as At the same time, the power Beidou terminal observed the satellite ephemeris information in It is the set of all ephemeris data of the ith satellite observed by the Power Beidou terminal.

3. According to claim 2, the short message encryption positioning method of the electric power Beidou terminal, Features The electric power Beidou terminal described in step S2 encrypts and encodes the single point positioning information obtained in step S1, and sends it back to the main station via a Beidou short message, which specifically includes the following steps: The power Beidou terminal performs framing processing on the original coordinates and satellite ephemeris information to obtain the data frame F': The length of zero(m) is L(m), where L(m) is a pre-set set. for is repeated and is used to ensure that the length of the data frame F' is the set value L; Power Beidou terminal sets scrambling code F s , scrambling code F s The length is L, and then through Pseudo-randomize the data frame F', where F" is the primary transmission frame; is an XOR operation; Divide F' into j frames, Get F" = {F 1 ”,F 2 ”,...,F j ”}; For the ii-th subframe F ii ”, a total of 32 rounds of iterations are performed, each round of iteration includes the following steps: a. F ii " is divided into 4 groups of data, each group of data is 32 bits long, expressed as (F ii ” k ,F ii ” k+1 ,F ii ” k+2 ,F ii ” k+3 ), k represents the current iteration round; b. Keep F ii ” k unchanged, set the first key Sk, and add the first key Sk and F ii ” k+1 、F ii ” k+2 and F ii ” k+3 Perform an XOR operation to obtain the first intermediate value Hi: c. Decompose the first intermediate value Hi into first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 according to high and low bits, and the first intermediate sub-values ​​Hi1, Hi2, Hi3 and Hi4 are all 8-bit data; perform box transformation on Hi1, Hi2, Hi3 and Hi4 to obtain first intermediate box values ​​Hoi1, Hoi2, Hoi3 and Hoi4, and then merge them into the first box intermediate value Hoi, which is Hoi={Hoi1, Hoi2, Hoi3, Hoi4}, and Hoi is 32-bit data; d. Perform four left circular shifts on the first box middle value Hoi: Circularly shift the first box intermediate value Hoi to the left by i+2 bits to obtain the first circularly shifted value He1; He1 is 32-bit data; Circularly shift the first box intermediate value Hoi to the left by i+10 bits to obtain the first cyclically shifted binary value He2; He2 is 32-bit data; Circularly shift the first box intermediate value Hoi to the left by i+18 bits to obtain the first circularly shifted ternary value He3; He3 is 32-bit data; Circularly shift the first box intermediate value Hoi to the left by i+24 bits to obtain the first circularly shifted quaternary value He4; He4 is 32-bit data; Perform XOR operation on Hoi, He1, He2, He3 and He4 again, and get the first box XOR intermediate value Hoi': e. Hoi' and F ii ” k Perform an XOR operation to obtain the first positive sequence value Y: Reverse Y to get the first reverse value F ii ” k+4 , complete the kth iteration; f. Repeat steps a to e for 32 times, complete 32 rounds of iterations, and obtain the ii-th subframe F ii The first intermediate subframe (F ii ” 35 ,F ii ” 36 ,F ii ” 37 ,F ii ” 38 ); Finally, the first intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the primary transmission frame F" = {F 1 ,F 2 ,...,F j The corresponding sending frame F completes the encryption encoding; The Beidou power terminal sends frame F back to the main station via Beidou short message.

4. According to claim 3, the short message encryption positioning method of the electric power Beidou terminal, Features After receiving the short message, the master station described in step S3 performs decoding processing and uses the deployed power Beidou solution service for solution, which specifically includes the following steps: After receiving the short message, the master station splits F into j frames, F = {F 1 ,F 2 ,...,F jj ,...,F j }, for the jjth frame F jj , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps: A. F jj Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F jjk ,F jjk+1 ,F jjk+2 ,F jjk+3 ), k represents the current iteration round; B. Keep F jjk unchanged, set the second key Sk', and add the second key Sk' and F jjk+1 、F jjk+2 and F jjk+3 Perform an XOR operation to obtain the second intermediate value Hi': C. Decompose the second intermediate value Hi' into second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 according to high and low bits, and the second intermediate sub-values ​​Hi'1, Hi'2, Hi'3 and Hi'4 are all 8-bit data; perform box transformation on Hi'1, Hi'2, Hi'3 and Hi'4 to obtain second intermediate box values ​​Hoi'1, Hoi'2, Hoi'3 and Hoi'4, and then merge them into the second box intermediate value Hoi', which is Hoi'={Hoi'1, Hoi'2, Hoi'3, Hoi'4}, and Hoi' is 32-bit data; D. Perform four left circular shifts on the middle value Hoi" of the second box: Circularly shift the second box intermediate value Hoi" to the left by i+2 bits to obtain the second circularly shifted value He'1; He'1 is 32-bit data; Circularly shift the second box intermediate value Hoi'' to the left by i+10 bits to obtain the second circularly shifted binary value He'2; He'2 is 32-bit data; Circularly shift the second box intermediate value Hoi'' to the left by i+18 bits to obtain the second circularly shifted ternary value He'3; He'3 is 32-bit data; Circularly shift the second box intermediate value Hoi" to the left by i+24 bits to obtain the second circularly shifted quaternary value He'4; He'4 is 32-bit data; Perform XOR operation on Hoi” again with He'1, He'2, He'3 and He'4 to obtain the second box XOR intermediate value Hoi”': E. Hoi”' and F jjk Perform an XOR operation to obtain the second positive sequence value Y': Reverse Y' to get the first reverse value F jjk+4 , complete the kth iteration; F. Repeat steps A to E for 32 times, complete 32 rounds of iterations, and obtain the jjth subframe F jj The corresponding second middle subframe (F jj35 ,F jj36 ,F jj37 ,F jj38 ); Finally, the second intermediate subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame FJ corresponding to F is obtained, and the decoding process is completed; Descramble the decoded frame FJ to obtain the decoded data FJ': According to the preset set L(m), the decoded data FJ' is split to obtain the original coordinates as and satellite ephemeris information Use the deployed power Beidou solution service to obtain the differential data required for RTK positioning of the power Beidou terminal.

5. According to claim 4, the short message encryption positioning method of the electric power Beidou terminal, Features The master station described in step S4 encrypts the solved data and sends it to the power Beidou terminal via a Beidou short message, which specifically includes the following steps: Master station differential data After framing, the data frame F2' is obtained as The length of zero(m) is L2(m), where L2(m) is a pre-set set. The solution status information sent by the master station, The length of is u, and the length of data frame F2' is L2; The master station sets the second scrambling code F2 s , the second scrambling code F2 s The length is L2, and then through Pseudo-randomization is performed on the data frame F2', and F2" is the primary transmission frame of the master station; is an XOR operation; Divide F2" into j2 frames, Get F2" = {F2' 1 ',F2" 2 ,...,F2” j }; For the 2iith subframe F 2 ” ii , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps: (1) F 2 ” ii Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F 2 ” iik ,F 2 ” iik+1 ,F 2 ” iik+2 ,F 2 ” iik+3 ), k represents the current iteration round; (2) Maintain F 2 ” iik unchanged, set the third key Sk2, and add the third key Sk2 and F 2 ” iik+1 、F 2 ” iik+2 and F 2 ” iik+3 Perform an XOR operation to obtain the third intermediate value Hi" (3) The third intermediate value Hi” is decomposed into third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 according to the high and low bits. The third intermediate sub-values ​​Hi”1, Hi”2, Hi”3 and Hi”4 are all 8-bit data; Hi”1, Hi”2, Hi”3 and Hi”4 are all box transformed to obtain third intermediate box values ​​Hoi”1, Hoi”2, Hoi”3 and Hoi”4, and then merged into the third box intermediate value Hoi 4 'For Hoi 4 '={Hoi"1, Hoi"2, Hoi"3, Hoi"4}, Hoi"' is 32-bit data; (4) For the third box middle value Hoi 4 'Perform four left circular shifts: The middle value of the third box Hoi 4 'Circularly shift i+2 bits to the left to obtain the third circular shift value He"1; He"1 is 32-bit data; The middle value of the third box Hoi 4 ' Circularly shift i+10 bits to the left to obtain the third circularly shifted binary value He"2; He"2 is 32-bit data; The middle value of the third box Hoi 4 ' Circularly shift i+18 bits to the left to obtain the third circularly shifted triple value He"3; He"3 is 32-bit data; The middle value of the third box Hoi 4 'Circularly shift i+24 bits to the left to obtain the third circularly shifted four-value He"4; He"4 is 32-bit data; Hoi 4 'Perform XOR operation with He"1, He"2, He"3 and He"4 again to get the third box XOR intermediate value Hoi 5 'for (5) Hoi 5 ' and F 2 ” iik Perform an XOR operation to obtain the third positive sequence value Y" Reverse the order of "Y" to get the third reverse value F 2 ” iik+4 , complete the kth iteration; (6) Repeat steps (1) to (5) 32 times, complete 32 rounds of iterations, and obtain the 2iith subframe F 2 ” ii The corresponding third middle subframe (F 2 ” ii35 ,F 2 ” ii36 ,F 2 ” ii37 ,F 2 ” ii38 ); Finally, the third intermediate subframes corresponding to each subframe are merged to obtain the coded subframes corresponding to each subframe, thereby obtaining the master station transmission frame F2 corresponding to the master station primary transmission frame F2", and completing the encryption coding; The master station sends the frame FF to the power Beidou terminal via Beidou short message.

6. According to claim 5, the short message encryption positioning method of the electric power Beidou terminal, Features After receiving the short message, the power Beidou terminal described in step S5 performs decoding processing and makes a security judgment on the received information, which specifically includes the following steps: After receiving the short message, the power Beidou terminal splits F2 into j2 frames, F2 = {F2 1 ,F2 2 ,...,F2 kk ,...,F2 j2 }, for the kkth subframe F2 kk , a total of 32 rounds of iterations are performed, each round of iteration includes the following steps: 1). Set F2 kk Divided into 4 groups of data, each group of data is 32 bits long, expressed as (F2 kkk ,F2 kkk+1 ,F2 kkk+2 ,F2 kkk+3 ), k represents the current iteration round; 2). Hold F2 kkk unchanged, set the fourth key Sk'2, and add the fourth key Sk'2 and F2 kkk+1 、F2 kkk+2 and F2 kkk+3 Perform an XOR operation to obtain the fourth intermediate value Hi"': 3) Decompose the fourth intermediate value Hi'' into fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 according to high and low bits, and the fourth intermediate sub-values ​​Hi''1, Hi''2, Hi''3 and Hi''4 are all 8-bit data; perform box transformation on Hi''1, Hi''2, Hi''3 and Hi''4 to obtain fourth intermediate box values ​​Hoi''1, Hoi''2, Hoi''3 and Hoi''4, and then merge them into the fourth box intermediate value Hoi 6 'For Hoi 6 '={Hoi"'1,Hoi"'2,Hoi"'3,Hoi"'4},Hoi 6 ' is 32-bit data; 4). For the fourth box middle value Hoi 6 'Perform four left circular shifts: The middle value of the fourth box Hoi 6 'Circularly shift i+2 bits to the left to obtain the fourth circular shift value He"'1; He"'1 is 32-bit data; The middle value of the fourth box Hoi 6 'Circularly shift i+10 bits to the left to obtain the fourth circularly shifted binary value He"'2; He"'2 is 32-bit data; The middle value of the fourth box Hoi 6 'Circularly shift i+18 bits to the left to obtain the fourth circularly shifted triple value He"'3; He"'3 is 32-bit data; The middle value of the fourth box Hoi 6 'Circularly shift i+24 bits to the left to obtain the fourth circularly shifted four-value He"'4; He"'4 is 32-bit data; Hoi 6 ' and He"'1, He"'2, He"'3 and He"'4 are XORed again to get the fourth box XOR intermediate value Hoi 7 'for 5). Hoi 7 ' and F2 kkk Perform an XOR operation to obtain the fourth positive sequence value Y'': Reverse Y'' to get the second reverse value F2 kkk+4 , complete the kth iteration; 6) Repeat steps 1) to 5) for 32 times, complete 32 rounds of iterations, and obtain the kkth subframe F2 kk The corresponding fourth middle subframe (F2 kk35 ,F2 kk36 ,F2 kk37 ,F2 kk38 ); Finally, the fourth middle subframes corresponding to each subframe are reversed and then merged to obtain the decoding subframes corresponding to each subframe, and the decoding frame F2J corresponding to F2 is obtained, and the decoding process is completed; The decoded frame F2J is descrambled to obtain the decoded data F2J': According to the preset set L2(m), the decoded data F2J' is split into differential data And the solution status information sent by the master station right To verify: After performing a bitwise XOR operation with the check sequence Y(u) of length u, the sum operation is performed to obtain the check value sum: If sum = u, the data is considered safe and the subsequent steps are continued; If sum<u, the data is determined to be unsafe and the algorithm ends.

7. The short message encryption positioning method of the electric power Beidou terminal according to claim 6, Features According to the judgment result of step S5, the electric power Beidou terminal performs its own high-precision positioning in step S6, which specifically includes the following steps: The power Beidou terminal decodes the differential data (Δx t1 ,Δy t1 ,Δz t1 ), and the power Beidou terminal at the current time t 2 The original coordinates (x t2 ,y t2 ,z t2 ), perform RTK solution and obtain the current time t 2 High-precision positioning results of the power Beidou terminal.

8. A system for implementing the short message encryption positioning method of the electric Beidou terminal according to any one of claims 1 to 7, Features It includes a terminal coarse positioning module, a terminal encryption module, a master station decoding module, a master station encryption module, a terminal decoding module and a terminal precise positioning module; the terminal coarse positioning module, the terminal encryption module, the master station decoding module, the master station encryption module, the terminal decoding module and the terminal precise positioning module are connected in series in sequence; the terminal coarse positioning module is used to control the electric power Beidou terminal to perform single-point positioning and upload data information to the terminal encryption module; the terminal encryption module is used to control the electric power Beidou terminal to encrypt and encode the obtained single-point positioning information according to the received data information, and send it back to the master station through the Beidou short message, and upload the data information to the master station decoding module; The master station decoding module is used to control the master station to decode the short message after receiving it according to the received data information, and use the deployed power Beidou solution service to solve it, and upload the data information to the master station encryption module; The master station encryption module is used to control the master station to encrypt and encode the solved data according to the received data information, and send it to the power Beidou terminal through the Beidou short message, and upload the data information to the terminal decoding module; The terminal decoding module is used to control the power Beidou terminal to decode the short message after receiving it according to the received data information, make a security judgment on the received information, and upload the data information to the terminal precise positioning module; The terminal precise positioning module is used to control the electric power Beidou terminal to perform its own high-precision positioning according to the received data information and the judgment results, and complete the short message encrypted positioning of the electric power Beidou terminal.

Citation Information

Patent Citations

  • Beidou space-based high-precision real-time positioning method

    CN104570024A

  • High precision centralized differential positioning method

    CN110320540A

  • Vehicle-ground safety communication method and device and computer readable storage medium

    CN114051208A

  • Single point positioning method and system based on Beidou short message

    CN115061169A