Communication method and apparatus, electronic device, and storage medium

By injecting artificial noise into the signal and using the injection location to generate the key, the problem of easy key prediction in existing technologies is solved, and highly secure information transmission is achieved.

CN115801238BActive Publication Date: 2026-04-21BANK OF CHINA FINANCIAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BANK OF CHINA FINANCIAL TECH CO LTD
Filing Date
2022-11-02
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing technologies that generate keys based on signal impulse responses result in low information transmission security, making it easy for eavesdroppers to predict the key content.

Method used

By injecting artificial noise into the signal, an encrypted sequence is generated. The injection position of the artificial noise is used as a random source to increase the randomness of the key. A private key is generated using random clustering and a consistent uniform hash function for authentication and decoding.

Benefits of technology

It improves the randomness of the key and the security of information transmission, reduces the information leakage rate, and enhances the security of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801238B_ABST
    Figure CN115801238B_ABST
Patent Text Reader

Abstract

This invention provides a communication method, apparatus, electronic device, and storage medium. The method applied to a transmitting device includes: injecting artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and storing the injection positions of the artificial noise signals; randomly clustering a codebook composed of the one or more encrypted sequences to obtain multiple non-empty clusters, and randomly dividing each non-empty cluster into multiple sub-clusters; randomly encoding the sequence number of the non-empty cluster to which each encrypted sequence belongs to obtain a first sequence number corresponding to each encrypted sequence; sending the first sequence number and the encrypted sequence to a receiving device for authentication based on the first sequence number; and generating a private key corresponding to the encrypted sequence based on the injection positions of the artificial noise signals, so that the receiving device can decode the encrypted sequence using the private key after successful authentication. The key generation method employed in this invention improves key randomness and transmission security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to an application communication method, apparatus, electronic device, and storage medium. Background Technology

[0002] In communication systems, key randomness is a crucial indicator of key predictability. More specifically, the keys generated by the communicating parties must possess sufficient randomness to support their secure communication. Current technologies often employ key generation schemes based on signal impulse responses. These schemes rely on shared random sources, such as the impulse response of a reciprocal channel, frequency selectivity, and received signal strength. Under this approach, once an eavesdropper obtains the key pattern, they can easily predict its contents. Since eavesdroppers possess unlimited computational power, if they can obtain the channel's impulse response pattern, the security of information transmission is compromised. Summary of the Invention

[0003] This invention provides a communication method, apparatus, electronic device, and storage medium to address the shortcomings of low information transmission security caused by key patterns generated based on signal impulse responses in the prior art, thereby increasing the randomness of key generation and the security of information transmission.

[0004] In a first aspect, the present invention provides a communication method applied to a transmitting device, comprising:

[0005] Inject artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals;

[0006] The total codebook composed of the one or more encrypted sequences is randomly clustered to obtain multiple non-empty clusters, and each non-empty cluster is randomly divided into multiple sub-clusters;

[0007] The sequence number of each non-empty cluster containing the encrypted sequence is randomly encoded to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are sent to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0008] Based on the injection location of the artificial noise signal, a private key corresponding to the encryption sequence is generated, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

[0009] In some embodiments, injecting artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences includes:

[0010] One or more signals to be transmitted are randomly encoded to obtain one or more codeword sequences;

[0011] Artificial noise is injected into each codeword sequence, and each codeword sequence injected with artificial noise is obfuscated to generate one or more encrypted sequences.

[0012] In some embodiments, generating the private key corresponding to the encryption sequence based on the injection location of the artificial noise signal includes:

[0013] The injection location of the artificial noise signal is used as a random source and mapped to the private key corresponding to the encryption sequence through a consistent uniform hash function.

[0014] In some embodiments, the location for storing the injection of the artificial noise signal includes:

[0015] The injection location of the artificial noise signal is stored in a first-in-first-out queue;

[0016] Before mapping the injection location of the artificial noise signal as a random source to the private key corresponding to the encryption sequence through a consistent uniform hash function, the method further includes:

[0017] The injection position of the artificial noise signal is read from the first-in-first-out queue.

[0018] In a second aspect, the present invention provides a communication method applied to a receiving device, comprising:

[0019] Receive an encrypted sequence and a first sequence number, determine the target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence belongs based on the first sequence number;

[0020] Based on the index of the non-empty cluster where the target sequence is located and the random clustering process, the index of the sub-cluster where the target sequence is located is determined, and identity authentication is performed based on the index of the sub-cluster where the target sequence is located.

[0021] After successful identity authentication, the target sequence is decoded using the private key provided by the sending device to obtain the signal sent by the sending device.

[0022] In some embodiments, the step of performing identity authentication based on the sequence number of the sub-cluster where the target sequence is located includes:

[0023] If the sequence number of the sub-cluster containing the target sequence is consistent with the sequence number of the sub-cluster used for authentication by the sending device, then the authentication between the receiving device and the sending device is confirmed to be successful.

[0024] In some embodiments, decoding the encrypted sequence according to the private key provided by the transmitting device to obtain the signal sent by the transmitting device includes:

[0025] Based on the private key provided by the transmitting device, artificial noise signals in the target sequence are removed bit by bit to obtain the signal transmitted by the transmitting device.

[0026] Thirdly, the present invention provides a transmitting end device, comprising:

[0027] The noise injection unit is used to inject artificial noise signals into one or more signals to be transmitted, obtain one or more encrypted sequences, and store the injection position of the artificial noise signals.

[0028] A random clustering unit is used to randomly cluster the total codebook composed of the one or more encrypted sequences to obtain multiple non-empty clusters, and to randomly divide each non-empty cluster into multiple sub-clusters;

[0029] The first sending unit is configured to randomly encode the sequence number of the non-empty cluster to which each encrypted sequence belongs, to obtain a first sequence number corresponding to each encrypted sequence, and send the first sequence number and the encrypted sequence to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0030] A key generation unit is used to generate a private key corresponding to the encryption sequence based on the injection position of the artificial noise signal, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

[0031] Fourthly, the present invention provides a receiving end device, comprising:

[0032] The first determining unit is configured to receive an encrypted sequence and a first sequence number, determine a target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence belongs based on the first sequence number.

[0033] The identity authentication unit is used to determine the index of the sub-cluster where the target sequence is located based on the index of the non-empty cluster where the target sequence is located and the random clustering process, and to perform identity authentication based on the index of the sub-cluster where the target sequence is located.

[0034] The decoding unit is used to decode the target sequence according to the private key provided by the sending device after the identity authentication is successful, so as to obtain the signal sent by the sending device.

[0035] Fifthly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the communication method as described in either the first or second aspect above.

[0036] In a sixth aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the communication method as described in any one of the first or second aspects above.

[0037] In a seventh aspect, the present invention also provides a computer program product, comprising a computer program that, when executed by a processor, implements the method as described in any one of the first or second aspects above.

[0038] The present invention provides a communication method, apparatus, electronic device, and storage medium that increases the randomness of key generation and the security of information transmission by injecting artificial noise signals into the transmitted signals and using the position of the artificial noise in the sequence as a random source. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0040] Figure 1 This is one of the flowcharts illustrating the communication method provided by the present invention;

[0041] Figure 2 This is the second flowchart illustrating the communication method provided by the present invention;

[0042] Figure 3 This is a schematic diagram of the structure of the transmitting device provided by the present invention;

[0043] Figure 4 This is a schematic diagram of the receiving device provided by the present invention;

[0044] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0046] To address the shortcomings of low randomness in key generation and low security in information transmission in existing technologies, this invention provides a communication method, apparatus, electronic device, and storage medium to increase the randomness of key generation and the security of information transmission. Underwater acoustic channels have complex noise sources and are characterized by high latency and low data rate. Compared to terrestrial communication systems, underwater acoustic communication systems are more complex. This invention uses a relatively complex underwater acoustic communication system as an example application environment. The following section combines... Figures 1-5 The present invention will now be described.

[0047] Figure 1 This is one of the flowcharts illustrating the communication method provided by the present invention, such as... Figure 1 As shown, the communication method includes:

[0048] Step 100: Inject artificial noise signals into one or more signals to be sent to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals;

[0049] Step 101: Randomly cluster the total codebook composed of the one or more encrypted sequences to obtain multiple non-empty clusters, and randomly divide each non-empty cluster into multiple sub-clusters;

[0050] Step 102: Randomly encode the sequence number of the non-empty cluster to which each encrypted sequence belongs, to obtain the first sequence number corresponding to each encrypted sequence, and send the first sequence number and the encrypted sequence to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0051] Step 103: Based on the injection location of the artificial noise signal, generate a private key corresponding to the encryption sequence, so that the receiving device can decode the encryption sequence according to the private key after the identity authentication is successful.

[0052] Specifically, researchers in underwater acoustic communication systems often use underwater sound as the communication carrier. Although the propagation speed of underwater acoustic signals is relatively low, the attenuation of sound waves underwater is minimal, which is beneficial for the complete transmission of signals. The introduction of artificial noise technology has solved the problem that transmitting base stations and legitimate receiving users cannot obtain the channel state of eavesdroppers. By injecting artificial noise into one or more transmitted signals, interference is generated against the eavesdropper, attenuating the signal-to-noise ratio of the eavesdropping channel and disrupting the eavesdropper's channel conditions, without significantly negatively impacting the signal reception at the legitimate receiving end. Artificial noise reduces the signal-to-noise ratio of the eavesdropping channel, disrupts the eavesdropper's channel conditions, and ensures that the private key is generated at a positive rate with the assistance of artificial noise. Even if the accurate channel state of the eavesdropper cannot be obtained, secure information transmission can be achieved through the interference of artificial noise, reducing the information leakage rate.

[0053] Artificial noise here refers to audio clips, such as car horns, radio broadcasts, and any audio clips.

[0054] Eavesdroppers typically possess high computational power. If they directly transmit encrypted sequences through the underwater acoustic channel, it could lead to rejection by legitimate receivers or sabotage by the eavesdropper. Therefore, this invention proposes to randomly and independently divide the total codebook of one or more encrypted sequences into several unequal non-empty clusters, where each non-empty cluster consists of several sub-clusters. Each non-empty cluster is then randomly and independently divided into multiple sub-clusters.

[0055] The method for random clustering is publicly available. This invention assumes that the random clustering mechanism is mutually agreed upon by the sender and receiver. The purpose of random clustering is to generate sequence numbers for authentication and to protect the encrypted sequence. The sequence number position information of the encrypted sequence is sent using the random clustering method, and the encrypted sequence is only accepted after the legitimate receiver has authenticated the sender.

[0056] The legitimate sender randomly encodes the sequence number of each encrypted sequence within a non-empty cluster to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are then sent to the receiving device for authentication based on the first sequence number. An eavesdropper may monitor the channel and receive this sequence number.

[0057] The legitimate sender generates a private key corresponding to the encrypted sequence based on the injection position of the artificial noise signal. After successful authentication, the receiving device decodes the encrypted sequence using the private key, that is, it removes the artificial noise symbols in the received sequence bit by bit according to the key. After completing one communication, the two parties in the legitimate communication reach a consensus on the key generation mode. Simultaneously with authentication, the receiving end has determined the information of the legitimate sender. This key is not transmitted through the public channel; it is known only to the authenticated receiver.

[0058] In this embodiment, by injecting artificial noise into the transmitted signal, interference is generated with the eavesdropper, the signal-to-noise ratio of the eavesdropping channel is attenuated, and the eavesdropper's channel conditions are disrupted, thereby achieving secure information transmission and reducing the information leakage rate. Simultaneously, the injection location of the artificial noise signal is used as a random source, increasing the randomness of the generated key.

[0059] In some embodiments, injecting artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences includes:

[0060] One or more signals to be transmitted are randomly encoded to obtain one or more codeword sequences;

[0061] Artificial noise is injected into each codeword sequence, and each codeword sequence injected with artificial noise is obfuscated to generate one or more encrypted sequences.

[0062] Specifically, the legitimate sender randomly encodes one or more signals to be transmitted into codewords using Shannon encoding, resulting in one or more codeword sequences.

[0063] The set of codeword sequences is called a subcodebook. Each codeword sequence in the subcodebook is then obfuscated by injecting artificial noise. A new encrypted sequence is generated using an obfuscation function. The idea behind this obfuscation function is to randomly inject a portion of data from the input sequence into another sequence to obfuscate and generate a new sequence, storing the injection position information in a specific array.

[0064] In this embodiment, artificial noise is added to obfuscate the information during the encoding process, which improves the concealment of the information and increases the difficulty for eavesdroppers to steal it.

[0065] In some embodiments, generating the private key corresponding to the encryption sequence based on the injection location of the artificial noise signal includes:

[0066] The injection location of the artificial noise signal is used as a random source and mapped to the private key corresponding to the encryption sequence through a consistent uniform hash function.

[0067] The legitimate sender uses the injection points of the artificial noise signal as a random source and maps them to the private key corresponding to the encryption sequence using a consistent uniform hash function. Therefore, the possibility of an eavesdropper stealing messages without knowing the private key is low.

[0068] After successful authentication, the receiving device decodes the encrypted sequence using the private key, that is, it removes artificial noise symbols from the received sequence bit by bit according to the key. The one-way nature of the global hash function ensures that during the key verification process between the communicating parties, an eavesdropper cannot obtain any information about the private key. After a communication is completed, the legitimate communicating parties reach a consensus on the key generation mode. Simultaneously with authentication, the receiving end has determined the information of the legitimate sender. This key is not transmitted publicly through the channel; it is known only to the authenticated receiver.

[0069] In this embodiment, the random source of the key is generated by randomly injecting artificial noise into the location information, which serves as the key codebook for key generation, thereby improving the randomness of the key.

[0070] In some embodiments, the location for storing the injection of the artificial noise signal includes:

[0071] The injection location of the artificial noise signal is stored in a first-in-first-out queue;

[0072] Before mapping the injection location of the artificial noise signal as a random source to the private key corresponding to the encryption sequence through a consistent uniform hash function, the method further includes:

[0073] The injection position of the artificial noise signal is read from the first-in-first-out queue.

[0074] Specifically, the injection positions of the artificial noise are stored in a first-in-first-out (FIFO) queue as a random source for subsequent key generation. The legitimate sender reads the injection positions of the artificial noise signal from the FIFO queue and uses these injection positions as a random source, mapping them to the private key corresponding to the encryption sequence using a consistent uniform hash function.

[0075] In this embodiment, by storing the injection position of the artificial noise signal in a first-in-first-out queue, reading the injection position of the artificial noise signal from the first-in-first-out queue, and using the injection position of the artificial noise signal as a random source, mapping it to the private key corresponding to the encryption sequence through a consistent uniform hash function, the randomness of key generation and the security of signal transmission are increased.

[0076] Figure 2 This is a second flowchart illustrating the communication method provided by the present invention, as shown below. Figure 2 As shown, the communication method includes:

[0077] Step 200: Receive the encrypted sequence and the first sequence number, determine the target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence is located based on the first sequence number;

[0078] Step 201: Determine the index of the sub-cluster where the target sequence is located based on the index of the non-empty cluster where the target sequence is located and the random clustering process; and perform identity authentication based on the index of the sub-cluster where the target sequence is located.

[0079] Step 202: After successful identity authentication, the target sequence is decoded according to the private key provided by the sending device to obtain the signal sent by the sending device.

[0080] Specifically, the legitimate receiving end searches for a unique sequence within the observed sequence that belongs to the same typical sequence as the received encrypted sequence; this unique sequence is the target sequence. The first sequence number is then decoded to determine the non-empty cluster sequence number to which the target sequence belongs.

[0081] The method of random clustering is publicly available. This invention assumes that the random clustering mechanism is mutually agreed upon by both the sender and receiver. The receiving end determines the sub-cluster number of the target sequence based on the sequence number of the non-empty cluster to which the target sequence belongs and the random clustering process. Based on the sequence number of the sub-cluster number to which the target sequence belongs, the receiving end performs authentication between the sending end and the receiving end.

[0082] After successful identity authentication, the target sequence is decoded according to the private key provided by the transmitting device. That is, artificial noise symbols in the received sequence are removed bit by bit according to the key to obtain the signal sent by the transmitting device.

[0083] In this embodiment, authentication between the sender and receiver is effectively completed based on the sequence number of the subcluster containing the target sequence. After successful authentication, the target sequence is decoded using the private key provided by the sending device to obtain the signal sent by the sending device. An authentication module is added during information transmission to ensure correct information transmission and prevent intentional tampering of the transmitted message by eavesdroppers.

[0084] In some embodiments, the step of performing identity authentication based on the sequence number of the sub-cluster where the target sequence is located includes:

[0085] If the sequence number of the sub-cluster containing the target sequence is consistent with the sequence number of the sub-cluster used for authentication by the sending device, then the authentication between the receiving device and the sending device is confirmed to be successful.

[0086] Specifically, the authentication between the sender and receiver is performed by the following judgment: if the sequence number of the sub-cluster where the target sequence is located is consistent with the sequence number of the sub-cluster used by the sender for authentication, the authentication between the two parties is completed.

[0087] For example, a legitimate sender A determines that the sequence number of the non-empty cluster containing the encrypted sequence is a1 and the sequence number of the sub-cluster is b1. Then, it randomly encodes the sequence number a1 of the non-empty cluster and sends it to the receiver.

[0088] The legitimate receiver B observes sequence V. After receiving the sequence number a1 of a non-empty cluster sent by the legitimate sender, it searches for a unique sequence X1 belonging to the same typical sequence as the received encrypted sequence from the observed sequence. Then, the legitimate receiver B determines the sequence number of the sub-cluster to which this unique sequence belongs through a random clustering process, which is b2. That is, the sequence number of the non-empty cluster determined by the random clustering process for the unique sequence X1 is a1, and the sequence number of the sub-cluster is b2. When b1 = b2, the legitimate communication parties complete the authentication.

[0089] In this embodiment, the authentication between the receiving device and the sending device is determined by whether the sequence number of the sub-cluster containing the target sequence matches the sequence number of the sub-cluster used for authentication by the sending device. If they match, the authentication between the two parties is successful, thus improving communication security.

[0090] In some embodiments, decoding the encrypted sequence according to the private key provided by the transmitting device to obtain the signal sent by the transmitting device includes:

[0091] Based on the private key provided by the transmitting device, artificial noise signals in the target sequence are removed bit by bit to obtain the signal transmitted by the transmitting device.

[0092] Specifically, based on the private key provided by the transmitting device, which contains the specific position where the artificial noise signal is injected into the signal sequence, the transmitting end removes the artificial noise signal in the target sequence bit by bit according to the private key to obtain the signal transmitted by the transmitting end.

[0093] In this embodiment, artificial noise signals in the target sequence are removed bit by bit according to the private key provided by the transmitting device to obtain the signal sent by the transmitting device, which increases the randomness of the generated key and improves the security of communication.

[0094] The communication device provided by the present invention is described below. The communication device described below and the communication method described above can be referred to in correspondence.

[0095] Figure 3 This is a schematic diagram of the transmitting device structure provided by the present invention, as shown below. Figure 3 As shown, the transmitting device 300 includes:

[0096] The noise injection unit 310 is used to inject artificial noise signals into one or more signals to be transmitted, obtain one or more encrypted sequences, and store the injection position of the artificial noise signals.

[0097] The random clustering unit 320 is used to randomly cluster the total codebook composed of the one or more encrypted sequences to obtain multiple non-empty clusters, and to randomly divide each non-empty cluster into multiple sub-clusters;

[0098] The first sending unit 330 is used to randomly encode the sequence number of the non-empty cluster to which each encrypted sequence belongs, to obtain a first sequence number corresponding to each encrypted sequence, and to send the first sequence number and the encrypted sequence to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0099] The key generation unit 340 is used to generate a private key corresponding to the encryption sequence based on the injection position of the artificial noise signal, so that the receiving device can decode the encryption sequence according to the private key after the identity authentication is passed.

[0100] In some embodiments, injecting artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences includes:

[0101] One or more signals to be transmitted are randomly encoded to obtain one or more codeword sequences;

[0102] Artificial noise is injected into each codeword sequence, and each codeword sequence injected with artificial noise is obfuscated to generate one or more encrypted sequences.

[0103] In some embodiments, generating the private key corresponding to the encryption sequence based on the injection location of the artificial noise signal includes:

[0104] The injection location of the artificial noise signal is used as a random source and mapped to the private key corresponding to the encryption sequence through a consistent uniform hash function.

[0105] In some embodiments, the location for storing the injection of the artificial noise signal includes:

[0106] The injection location of the artificial noise signal is stored in a first-in-first-out queue;

[0107] Before mapping the injection location of the artificial noise signal as a random source to the private key corresponding to the encryption sequence through a consistent uniform hash function, the method further includes:

[0108] The injection position of the artificial noise signal is read from the first-in-first-out queue.

[0109] It should be noted that the transmitting end communication device provided in this embodiment of the invention can implement all the method steps implemented in the above communication method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0110] Figure 4 This is a schematic diagram of the receiving device structure provided by the present invention, as shown below. Figure 4 As shown, the receiving device 400 includes:

[0111] The first determining unit 410 is configured to receive an encrypted sequence and a first sequence number, determine a target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence is located based on the first sequence number.

[0112] The identity authentication unit 420 is used to determine the sequence number of the sub-cluster where the target sequence is located based on the sequence number of the non-empty cluster where the target sequence is located and the random clustering process, and to perform identity authentication based on the sequence number of the sub-cluster where the target sequence is located.

[0113] The decoding unit 430 is used to decode the target sequence according to the private key provided by the sending device after the identity authentication is successful, so as to obtain the signal sent by the sending device.

[0114] In some embodiments, the step of performing identity authentication based on the sequence number of the sub-cluster where the target sequence is located includes:

[0115] If the sequence number of the sub-cluster containing the target sequence is consistent with the sequence number of the sub-cluster used for authentication by the sending device, then the authentication between the receiving device and the sending device is confirmed to be successful.

[0116] In some embodiments, decoding the encrypted sequence according to the private key provided by the transmitting device to obtain the signal sent by the transmitting device includes:

[0117] Based on the private key provided by the transmitting device, artificial noise signals in the target sequence are removed bit by bit to obtain the signal transmitted by the transmitting device.

[0118] It should be noted that the receiving end communication device provided in this embodiment of the invention can implement all the method steps implemented in the above communication method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0119] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a communication method, which includes:

[0120] Inject artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals;

[0121] The total codebook composed of the one or more encrypted sequences is randomly clustered to obtain multiple non-empty clusters, and each non-empty cluster is randomly divided into multiple sub-clusters;

[0122] The sequence number of each non-empty cluster containing the encrypted sequence is randomly encoded to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are sent to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0123] Based on the injection location of the artificial noise signal, a private key corresponding to the encryption sequence is generated, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

[0124] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0125] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer being able to execute the communication methods provided by the above methods, the method comprising:

[0126] Inject artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals;

[0127] The total codebook composed of the one or more encrypted sequences is randomly clustered to obtain multiple non-empty clusters, and each non-empty cluster is randomly divided into multiple sub-clusters;

[0128] The sequence number of each non-empty cluster containing the encrypted sequence is randomly encoded to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are sent to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0129] Based on the injection location of the artificial noise signal, a private key corresponding to the encryption sequence is generated, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

[0130] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the communication methods provided by the methods described above, the method comprising:

[0131] Inject artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals;

[0132] The total codebook composed of the one or more encrypted sequences is randomly clustered to obtain multiple non-empty clusters, and each non-empty cluster is randomly divided into multiple sub-clusters;

[0133] The sequence number of each non-empty cluster containing the encrypted sequence is randomly encoded to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are sent to the receiving device so that the receiving device can perform identity authentication based on the first sequence number.

[0134] Based on the injection location of the artificial noise signal, a private key corresponding to the encryption sequence is generated, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

[0135] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0136] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication method, characterized in that, Applied to transmitting devices, including: Inject artificial noise signals into one or more signals to be transmitted to obtain one or more encrypted sequences, and store the injection positions of the artificial noise signals; The total codebook composed of the one or more encrypted sequences is randomly clustered to obtain multiple non-empty clusters, and each non-empty cluster is randomly divided into multiple sub-clusters; The sequence number of each non-empty cluster containing the encrypted sequence is randomly encoded to obtain a first sequence number corresponding to each encrypted sequence. The first sequence number and the encrypted sequence are sent to the receiving device so that the receiving device can perform identity authentication based on the first sequence number. Based on the injection location of the artificial noise signal, a private key corresponding to the encryption sequence is generated, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

2. The communication method according to claim 1, characterized in that, The process of injecting artificial noise into one or more signals to be transmitted to obtain one or more encrypted sequences includes: One or more signals to be transmitted are randomly encoded to obtain one or more codeword sequences; Artificial noise is injected into each codeword sequence, and each codeword sequence injected with artificial noise is obfuscated to generate one or more encrypted sequences.

3. The communication method according to claim 1, characterized in that, The step of generating the private key corresponding to the encryption sequence based on the injection position of the artificial noise signal includes: The injection location of the artificial noise signal is used as a random source and mapped to the private key corresponding to the encryption sequence through a consistent uniform hash function.

4. The communication method according to claim 1, characterized in that, The location for storing the injection of the artificial noise signal includes: The injection location of the artificial noise signal is stored in a first-in-first-out queue; Before mapping the injection location of the artificial noise signal as a random source to the private key corresponding to the encryption sequence through a consistent uniform hash function, the method further includes: The injection position of the artificial noise signal is read from the first-in-first-out queue.

5. A communication method, characterized in that, Applied to receiving devices, including: Receive an encrypted sequence and a first sequence number, determine the target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence belongs based on the first sequence number; Based on the index of the non-empty cluster where the target sequence is located and the random clustering process, the index of the sub-cluster where the target sequence is located is determined, and identity authentication is performed based on the index of the sub-cluster where the target sequence is located. After successful identity authentication, the target sequence is decoded according to the private key provided by the sending device to obtain the signal sent by the sending device; the private key corresponding to the encrypted sequence is generated by the sending device injecting artificial noise signal into one or more signals to be sent, based on the injection position of the artificial noise signal.

6. The communication method according to claim 5, characterized in that, The step of performing identity authentication based on the sequence number of the sub-cluster where the target sequence is located includes: If the sequence number of the sub-cluster containing the target sequence is consistent with the sequence number of the sub-cluster used for authentication by the sending device, then the authentication between the receiving device and the sending device is confirmed to be successful.

7. The communication method according to claim 5, characterized in that, The step of decoding the encrypted sequence according to the private key provided by the sending device to obtain the signal sent by the sending device includes: Based on the private key provided by the transmitting device, artificial noise signals in the target sequence are removed bit by bit to obtain the signal transmitted by the transmitting device.

8. A transmitting device, characterized in that, include: The noise injection unit is used to inject artificial noise signals into one or more signals to be transmitted, obtain one or more encrypted sequences, and store the injection position of the artificial noise signals. A random clustering unit is used to randomly cluster the total codebook composed of the one or more encrypted sequences to obtain multiple non-empty clusters, and to randomly divide each non-empty cluster into multiple sub-clusters; The first sending unit is configured to randomly encode the sequence number of the non-empty cluster to which each encrypted sequence belongs, to obtain a first sequence number corresponding to each encrypted sequence, and send the first sequence number and the encrypted sequence to the receiving device so that the receiving device can perform identity authentication based on the first sequence number. A key generation unit is used to generate a private key corresponding to the encryption sequence based on the injection position of the artificial noise signal, so that the receiving device can decode the encryption sequence according to the private key after successful identity authentication.

9. A receiving device, characterized in that, include: The first determining unit is configured to receive an encrypted sequence and a first sequence number, determine a target sequence in the received encrypted sequence, and determine the sequence number of the non-empty cluster in which the target sequence belongs based on the first sequence number. The identity authentication unit is used to determine the index of the sub-cluster where the target sequence is located based on the index of the non-empty cluster where the target sequence is located and the random clustering process, and to perform identity authentication based on the index of the sub-cluster where the target sequence is located. The decoding unit is used to decode the target sequence according to the private key provided by the sending device after the identity authentication is successful, so as to obtain the signal sent by the sending device; the private key corresponding to the encryption sequence is generated by the sending device injecting artificial noise signal into one or more signals to be sent, based on the injection position of the artificial noise signal.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the communication method as described in any one of claims 1 to 4, or implements the communication method as described in any one of claims 5 to 7.

Citation Information

Patent Citations

  • Key negotiation method and communication device

    CN110365474A

  • Quantum noise stream encryption key updating method and device and storage medium

    CN113904770A