Method and device for checking data of a missile-earth communication based on hash check
By using a combination of binary transformation matrix and hash mapping algorithm to verify the data in air-to-ground communication, the problem of low anti-counterfeiting in existing technologies is solved, achieving highly reliable and confidential data verification and ensuring the security and accuracy of data transmission.
Patent Information
- Application Number
- CN202310582880.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-05-22
AI Technical Summary
Existing ground-to-air communication data has low anti-counterfeiting capabilities and is easily counterfeited once the parameters are known. Traditional verification methods are at risk of data forgery and deception.
A hash-based verification method is adopted, which involves binding binary transformation matrices between communication devices and constructing a key. The binary transformation matrix and hash mapping algorithm are used to transform and verify the communication data, and the output second parameter is compared with the key to determine the accuracy of the data.
This improves the anti-counterfeiting capabilities of air-to-ground communication data, avoids the shortcomings of single-parameter verification, and ensures the security and reliability of data transmission.
Smart Images

Figure CN116600298B_ABST
Abstract
Description
[0001] Technical field verification
[0002] This invention relates to the field of ground-to-ground communication data technology, specifically to a method and apparatus for verifying ground-to-ground communication data based on hash verification. Background Technology
[0003] Airborne-to-ground communication data is used in specific environments, and the requirements for anti-counterfeiting are gradually increasing. In the existing technology, airborne-to-ground communication data is verified using a single parameter, and it is easy to counterfeit if the parameter is known, resulting in low anti-counterfeiting level of existing airborne-to-ground communication data. Summary of the Invention
[0004] The purpose of this invention is to provide a method for verifying ground-to-ground communication data based on hash verification, so as to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a method for verifying ground-to-ground communication data based on hash verification, comprising: acquiring ground-to-ground communication data between two communication devices; binding a binary transformation matrix between the two communication devices and constructing a key; transforming the ground-to-ground communication data based on the binary transformation matrix and outputting a first parameter; transforming the first parameter based on a hash mapping algorithm and outputting a second parameter; comparing the second parameter with the key, and if the second parameter and the key are equal, then the ground-to-ground communication data is accurate data.
[0006] According to one aspect of this disclosure, a verification device for pop-to-ground communication data based on hash verification is provided, comprising: an acquisition module for acquiring pop-to-ground communication data between two communication devices; a binding module for binding a binary transformation matrix between the two communication devices and constructing a key; a conversion module for converting the pop-to-ground communication data based on the binary transformation matrix and outputting a first parameter; an output module for converting the first parameter based on a hash mapping algorithm and outputting a second parameter; and a comparison module for comparing the second parameter with the key, wherein if the second parameter and the key are equal, the pop-to-ground communication data is accurate data.
[0007] According to one aspect of this disclosure, a computer-readable program medium is provided that stores computer program instructions, which, when executed by a computer, cause the computer to perform the method described above.
[0008] According to one aspect of this disclosure, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions that, when executed by the processor, implement the method described above.
[0009] As can be seen from the above technical solutions, the embodiments of the present invention have at least the following advantages and positive effects:
[0010] In some embodiments of the present invention, the technical solutions provided involve acquiring ground-to-ground communication data between two communication devices; embedding a binary transformation matrix between the two communication devices and constructing a key; transforming the ground-to-ground communication data based on the binary transformation matrix and outputting a first parameter; transforming the first parameter based on a hash mapping algorithm and outputting a second parameter; comparing the second parameter with the key; and if the second parameter and the key are equal, then the ground-to-ground communication data is accurate data. The ground-to-ground communication data is verified using both the binary transformation matrix and the key, avoiding the use of a single parameter for verification and improving the anti-counterfeiting capability of the ground-to-ground communication data. Furthermore, the hash mapping algorithm transforms the ground-to-ground communication data obtained from the binary transformation matrix to facilitate the comparison between the second parameter and the key. Attached Figure Description
[0011] Figure 1 This is a flowchart illustrating a method for verifying ground-to-ground communication data based on hash verification, according to an exemplary embodiment.
[0012] Figure 2 This is a block diagram illustrating a verification device for ground-to-ground communication data based on hash verification, according to an exemplary embodiment.
[0013] Figure 3 This is a hardware diagram of an electronic device according to an exemplary embodiment.
[0014] Figure 4 It is a computer-readable storage medium illustrating a method for verifying ground-to-ground communication data based on hash verification according to an exemplary embodiment. Detailed Implementation
[0015] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0016] Airborne-to-ground communication data is used in specific environments, and the requirements for anti-counterfeiting are gradually increasing. In the existing technology, airborne-to-ground communication data is verified using a single parameter, and it is easy to counterfeit if the parameter is known, resulting in low anti-counterfeiting level of existing airborne-to-ground communication data.
[0017] Furthermore, wireless telemetry and control for rockets can reduce the number of ground-based telemetry and control cables, improving transfer and launch efficiency. During wireless telemetry and control, the security and reliability of wireless commands are paramount. To ensure data security, the correctness and security of data transmitted between the missile and the ground need to be verified, checking for transmission errors or malicious modification during transmission. Traditional verification methods such as CRC have universal and fixed algorithms, posing a risk of data forgery and deception. This invention proposes a hash-based verification method that uses a user-defined, private sparse transformation matrix to prevent data forgery and deception, achieving highly reliable and confidential verification of the correctness and security of communication data.
[0018] According to one embodiment of this disclosure, a method for verifying ground-to-ground communication data based on hash verification is provided, such as... Figures 1 to 4 As shown, the method for verifying ground-to-ground communication data based on hash verification includes:
[0019] Step S110: Obtain the ground-to-ground communication data between the two communication devices;
[0020] Step S120: A binary transformation matrix is bound between the two communication devices, and a key is constructed;
[0021] Step S130: Convert the air-to-ground communication data based on the binary transformation matrix and output the first parameter;
[0022] Step S140: Convert the first parameter based on the hash mapping algorithm and the key, and output the second parameter;
[0023] Step S150: Compare the second parameter with the preset key. If the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data.
[0024] In some embodiments of the present invention, the technical solutions provided involve acquiring ground-to-ground communication data between two communication devices; embedding a binary transformation matrix between the two communication devices and constructing a key; transforming the ground-to-ground communication data based on the binary transformation matrix and outputting a first parameter; transforming the first parameter based on a hash mapping algorithm and outputting a second parameter; comparing the second parameter with the key; and if the second parameter and the key are equal, then the ground-to-ground communication data is accurate data. The ground-to-ground communication data is verified using both the binary transformation matrix and the key, avoiding the use of a single parameter for verification and improving the anti-counterfeiting capability of the ground-to-ground communication data. Furthermore, the hash mapping algorithm transforms the ground-to-ground communication data obtained from the binary transformation matrix to facilitate the comparison between the second parameter and the key.
[0025] These steps are described in detail below.
[0026] As Figures 1 to 1 shown, in step S110, obtain the bouncing communication data between two communication devices.
[0027] The specific steps include: establish a communication connection between the two communication devices and interact; the bouncing communication data is transmitted between the two communication devices; the bouncing communication data is preliminarily verified during the transmission process.
[0028] Among them, through the preliminary verification, the bouncing communication data is verified while being transmitted, and the transmission channel of the bouncing communication data between the two communication devices is ensured to be independent.
[0029] In step S120, bind a binary transformation matrix between the two communication devices and construct a key;
[0030] In step S130, transform the bouncing communication data based on the binary transformation matrix and output a first parameter;
[0031] The specific steps include: bind a binary transformation matrix G0 to one of the communication devices, the dimension of G0 is N×M, where N is greater than M; convert the bouncing communication data into an N1-bit binary sequence, denoted as SEQ1, where N1 < N; convert SEQ1 into a bipolar SEQ2, SEQ2 = (2*SEQ1 - 1); read N1 rows of the check matrix G0 from the bound ROM, denoted as G, the dimension of G0 is N1×M; obtain SEQ3 = SEQ2*G, SEQ3 is a group of M-bit parameters; binaryize SEQ3 through the symbol operation operator sig(·) to obtain SEQ4, SEQ4 is the first parameter; that is, SEQ4 = sig(SEQ3).
[0032] In step S140, transform the first parameter based on the hash mapping algorithm and the key and output a second parameter.
[0033] The specific steps include: input the first parameter into the hash mapping model and perform transformation based on the hash mapping; the transformation result after the hash mapping is combined with the key to form the second parameter.
[0034] Among them, the first parameter is transformed by the hash algorithm through the hash mapping model, and random transformation is performed based on the hash algorithm for subsequent data verification.
[0035] The transformation of the first parameter based on the hash mapping algorithm and the key and the output of the second parameter further include: the second parameter is the check code T, where T = f(SEQ4, KEY), f(·) represents the hash mapping function, and T is the mapping check result of a fixed length.
[0036] like Figures 1 to 1 As shown, in step S150, the second parameter and the preset key are compared. If the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data.
[0037] The specific steps include: comparing the second parameter with the preset key and determining whether the second parameter and the preset key are equal; if the second parameter and the preset key are equal, the air-to-ground communication data is accurate data; if the second parameter and the preset key are not equal, the air-to-ground communication data is erroneous data and is corrected.
[0038] As can be seen from the above technical solutions, the embodiments of the present invention have at least the following advantages and positive effects:
[0039] In some embodiments of the present invention, the technical solutions provided involve acquiring ground-to-ground communication data between two communication devices; embedding a binary transformation matrix between the two communication devices and constructing a key; transforming the ground-to-ground communication data based on the binary transformation matrix and outputting a first parameter; transforming the first parameter based on a hash mapping algorithm and outputting a second parameter; comparing the second parameter with the key; and if the second parameter and the key are equal, then the ground-to-ground communication data is accurate data. The ground-to-ground communication data is verified using both the binary transformation matrix and the key, avoiding the use of a single parameter for verification and improving the anti-counterfeiting capability of the ground-to-ground communication data. Furthermore, the hash mapping algorithm transforms the ground-to-ground communication data obtained from the binary transformation matrix to facilitate the comparison between the second parameter and the key.
[0040] like Figure 2 As shown, in one embodiment, the hash-based verification device 200 for ground-to-ground communication data further includes:
[0041] The acquisition module 210 is used to acquire ground-to-ground communication data between two communication devices;
[0042] Binding module 220 is used to bind a binary transformation matrix between the two communication devices and to construct a key;
[0043] The conversion module 230 is used to convert the air-to-ground communication data based on the binary transformation matrix and output the first parameter;
[0044] Output module 240 is used to convert the first parameter based on a hash mapping algorithm and the key, and output the second parameter;
[0045] The comparison module 250 is used to compare the second parameter with the preset key. If the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data.
[0046] The following reference Figure 3 To describe an electronic device 40 according to this embodiment of the present invention. Figure 3 The electronic device 40 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0047] like Figure 3 As shown, the electronic device 40 is manifested in the form of a general-purpose computing device. The components of the electronic device 40 may include, but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including storage unit 42 and processing unit 41).
[0048] The storage unit stores program code, which can be executed by the processing unit 41 to perform the steps described in the "Embodiment Methods" section of this specification according to various exemplary embodiments of the present invention.
[0049] Storage unit 42 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 421 and / or cache memory 422, and may further include a read-only memory (ROM) 423.
[0050] Storage unit 42 may also include a program / utility 424 having a set (at least one) of program modules 425, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0051] Bus 43 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the multiple bus structures.
[0052] Electronic device 40 can also communicate with one or more external devices (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 40, and / or with any device that enables electronic device 40 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 45. Furthermore, electronic device 40 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 46. Figure 3As shown, network adapter 46 communicates with other modules of electronic device 40 via bus 43. It should be understood that, although... Figure 3 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0053] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with readily available hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0054] According to one embodiment of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the present invention can also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the present invention described in the "Exemplary Methods" section above.
[0055] refer to Figure 4 As shown, a program product 50 for implementing the above-described method according to an embodiment of the present invention is described. It may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0056] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0057] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0058] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0059] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0060] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0061] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for verifying ground-to-ground communication data based on hash verification, characterized in that, include: Acquire ground-to-ground communication data between two communication devices; A binary transformation matrix is bound between the two communication devices, and a key is constructed; The ballistic communication data is transformed based on the binary transformation matrix, and the first parameter is output. The first parameter is converted based on a hash mapping algorithm and the key, and the second parameter is output. The second parameter is compared with the preset key. If the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data. The acquisition of ground-to-ground communication data between the two communication devices includes: The two communication devices establish a communication connection and interact with each other. The air-to-ground communication data is transmitted between the two communication devices; The ballistic communication data undergoes preliminary verification during transmission. The step of converting the air-to-ground communication data based on the binary transformation matrix and outputting the first parameter includes: A binary transformation matrix G0 is loaded into the communication device described above. The dimension of G0 is N×M, where N is greater than M. The air-to-ground communication data is converted into an N1-bit binary sequence, labeled SEQ1, where N1 <N; Convert SEQ1 to a bipolar SEQ2, SEQ2 = (2*SEQ1-1); Read the N1 row of the check matrix G0 from the binding ROM, denoted as G, where the dimension of G0 is N1×M; obtain SEQ3 = SEQ2*G, where SEQ3 is a set of M-bit parameters; Binarize SEQ3 to SEQ4 using the sign operation operator sig(·), where SEQ4 is the first parameter; that is, SEQ4 = sig(SEQ3); The step of converting the first parameter based on a hash mapping algorithm and the key, and outputting the second parameter, includes: The first parameter is input into the hash mapping model, and the transformation is performed based on the hash mapping; The transformation result of the hash mapping is combined with the key to form the second parameter.
2. The method for verifying ground-to-ground communication data based on hash verification according to claim 1, characterized in that, The step of converting the first parameter based on a hash mapping algorithm and the key, and outputting the second parameter, further includes: The second parameter is the checksum T, where T = f(SEQ4,KEY), f(·) represents the hash mapping function, and T is the fixed-length mapping check result.
3. The method for verifying ground-to-ground communication data based on hash verification according to claim 2, characterized in that, The step of comparing the second parameter with the preset key, and if the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data, includes: The second parameter is compared with the preset key, and it is determined whether the second parameter and the preset key are equal. If the second parameter is equal to the preset key, then the ground-to-ground communication data is accurate data; If the second parameter and the preset key are not equal, the ground communication data is incorrect and will be corrected.
4. A verification device for ground-to-ground communication data based on hash verification, characterized in that, include: The acquisition module is used to acquire ground-to-ground communication data between two communication devices; A binding module is used to bind a binary transformation matrix between the two communication devices and to construct a key; The conversion module is used to convert the air-to-ground communication data based on the binary transformation matrix and output the first parameter; The output module is used to convert the first parameter based on the hash mapping algorithm and the key, and output the second parameter; The comparison module is used to compare the second parameter with the preset key. If the second parameter and the preset key are equal, then the air-to-ground communication data is accurate data. The acquisition module is used for: The two communication devices establish a communication connection and interact with each other. The air-to-ground communication data is transmitted between the two communication devices; The ballistic communication data undergoes preliminary verification during transmission. The conversion module is used for: A binary transformation matrix G0 is loaded into the communication device described above. The dimension of G0 is N×M, where N is greater than M. The air-to-ground communication data is converted into an N1-bit binary sequence, labeled SEQ1, where N1 <N; Convert SEQ1 to a bipolar SEQ2, SEQ2 = (2*SEQ1-1); Read the N1 row of the check matrix G0 from the binding ROM, denoted as G, where the dimension of G0 is N1×M; obtain SEQ3 = SEQ2*G, where SEQ3 is a set of M-bit parameters; Binarize SEQ3 to SEQ4 using the sign operation operator sig(·), where SEQ4 is the first parameter; that is, SEQ4 = sig(SEQ3); The output module is used for: The first parameter is input into the hash mapping model, and the transformation is performed based on the hash mapping; The transformation result of the hash mapping is combined with the key to form the second parameter.
5. A computer-readable program medium, characterized in that, It stores computer program instructions, which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 3.
6. An electronic device, characterized in that, include: processor; A memory storing computer-readable instructions that, when executed by the processor, implement the method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Code-based encryption apparatus and method capable of message authentication
KR1020180104363A