A method and system for preventing eavesdropping based on quantum communication
By dividing random numbers into frequency and amplitude components in quantum communication, dynamically adjusting the frequency and amplitude to generate interference waves, and adjusting the amplitude according to ambient sound, the shortcomings of existing quantum communication anti-eavesdropping methods are solved, achieving effective defense against ultrasonic eavesdropping and improved environmental adaptability.
Patent Information
- Application Number
- CN202411585015.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2044-11-07
AI Technical Summary
Existing quantum communication anti-eavesdropping methods cannot effectively defend against ultrasonic eavesdropping, fail to dynamically adjust interference waves according to changes in ambient sound, and lack dynamic adjustment of interference wave frequency and amplitude, resulting in reduced communication security.
Random numbers are generated by the QKD module and divided into frequency and amplitude components. The frequency and amplitude are dynamically adjusted to generate interference waves. The amplitude of the interference waves is adjusted in combination with changes in ambient sound. A double buffering mechanism using an initialization list is adopted to ensure the continuity and unpredictability of random numbers.
This improves the anti-eavesdropping performance of quantum communication, enhances the system's environmental adaptability and communication stability, effectively prevents ultrasonic eavesdropping, and improves communication security.
Smart Images

Figure CN119743246B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quantum communication technology, specifically to a method and system for preventing eavesdropping based on quantum communication. Background Technology
[0002] In today's information age, data security has become an important issue for national security and personal privacy protection. Quantum communication, as a communication technology based on the principles of quantum mechanics, has received widespread attention from global research institutions and industries due to its theoretical absolute security. In particular, quantum key distribution (QKD) technology can ensure the security of keys during transmission, thus providing a theoretically unbreakable encryption method for both communicating parties. With the continuous advancement of technology, quantum communication has moved from the laboratory to practical applications, and related research results and technological developments are changing rapidly.
[0003] However, despite the theoretically high security of quantum communication technology, it still faces numerous challenges in practical applications. Traditional QKD modules, while capable of generating random numbers to ensure communication security, lack effective defenses against potential eavesdropping techniques such as ultrasonic interception. Ultrasonic eavesdropping can acquire information without interfering with normal communication, posing a serious threat to existing quantum communication systems. Existing anti-eavesdropping technologies often overlook the impact of environmental factors on communication security. In real-world environments, changes in sound intensity can affect the effectiveness of interference waves, and existing systems fail to dynamically adjust the amplitude of interference waves, thus hindering their effectiveness in complex and variable environments. In environments where absolute security of communication is difficult to maintain, and the lack of defense strategies against eavesdropping in the ultrasonic frequency range makes quantum communication systems vulnerable to such eavesdropping. Existing anti-eavesdropping technologies fail to fully utilize environmental sound information and cannot adjust interference strategies in real time according to environmental changes, resulting in reduced communication security in specific environments. Current technologies have not formed a complete anti-eavesdropping system and cannot improve the overall security performance of quantum communication. Therefore, developing a quantum communication method that can effectively defend against ultrasonic eavesdropping, adapt to environmental changes, and form a complete anti-eavesdropping system is of great significance for promoting the practical application and commercialization of quantum communication technology. Summary of the Invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by this invention is that existing quantum communication anti-eavesdropping methods cannot effectively defend against ultrasonic eavesdropping, fail to dynamically adjust interference waves according to changes in ambient sound, lack dynamic adjustment of interference wave frequency and amplitude, and how to improve the anti-eavesdropping performance of quantum communication and achieve real-time and efficient interference wave generation and adjustment.
[0006] To address the aforementioned technical problems, this invention provides the following technical solution: a quantum communication-based anti-eavesdropping method, comprising using a QKD module to generate random numbers, the random numbers being transmitted to the anti-eavesdropping device via a quantum communication channel and divided into a frequency component and an amplitude component; judging the frequency value of each frequency component to check whether it falls within the ultrasonic frequency range, generating an interference wave by dynamically adjusting the frequency and amplitude; acquiring the sound intensity of the current environment, and adjusting the amplitude of the interference wave according to changes in the environmental sound.
[0007] As a preferred embodiment of the quantum communication-based anti-eavesdropping method of the present invention, the method is characterized in that: the generation of random numbers includes: a QKD module generating quantum random numbers through a quantum random number generator; the QKD module dividing the quantum random numbers into initialization vectors of length 16 bits; the QKD module caching multiple initialization vectors of length 16 bits in the initialization list of the QKD module; and the QKD module retrieving any initialization vector from the initialization list as a random number based on the activation action of the anti-eavesdropping device.
[0008] As a preferred embodiment of the quantum communication-based anti-eavesdropping method of the present invention, the initialization list includes a first cache table and a second cache table; the first cache table is connected to the initialization list, and when the second cache table finishes reading data from the first cache table, the first cache table requests a quantum random number generator to generate random numbers and stores the initialization vector obtained by splitting the random numbers; the second cache table is connected to the first cache table, and when the initialization vector of the first cache table is exhausted, the second cache table reads and stores the data in the first cache table. Each value in the second cache table has a status flag bit. Each time data is read from the first cache table, the status flag bit of each value in the second cache table is set to unread. If a value in the second cache table is taken as a random number, the status flag bit of the corresponding value in the second cache table is marked as read. If the status flag bit of the corresponding value in the second cache table is marked as read, the value corresponding to the status flag bit marked as read cannot be read when reading the initialization vector from the second cache table.
[0009] As a preferred embodiment of the quantum communication-based anti-eavesdropping method described in this invention, the segmentation into a frequency portion and an amplitude portion includes cutting the frequency portion into... Values with the same units digit , , ... Cut the amplitude section into Values with the same units digit , , ... .
[0010] As a preferred embodiment of the quantum communication-based anti-eavesdropping method described in this invention, the step of judging the frequency value of each frequency segment includes judging the frequency. Whether it is within the ultrasonic frequency range; when determining the frequency Within the ultrasonic frequency range, Add 1 and re-evaluate the frequency. Whether it is within the ultrasonic frequency range; when determining the frequency When the frequency is outside the ultrasonic frequency range, generate a scaled random number. Determine frequency When the frequency is less than the ultrasonic frequency range, the scaled random number generated is greater than 1; update frequency. , is represented as: in, Indicate the updated frequency; determine the updated frequency. Whether it is within the ultrasonic frequency range, when the frequency is updated If the frequency is outside the ultrasonic frequency range, update the frequency; when the updated frequency... Within the ultrasonic frequency range, let i = i + 1, and for the new frequency... Repeat the judgment to determine whether it is within the ultrasonic frequency range until... .
[0011] As a preferred embodiment of the quantum communication-based anti-eavesdropping method described in this invention, the generation of the interference wave includes frequency-based methods. The corresponding amplitude As an amplitude-generated sine wave, it can be represented as: in, For time variables, Indicates the first A sine wave in time The value of time is used to synthesize all the generated sine waves to obtain the first interference wave. , is represented as: in, To generate the total number of sine waves, It is sent to the speaker as an input signal.
[0012] As a preferred embodiment of the quantum communication-based anti-eavesdropping method described in this invention, the adjustment of the amplitude of the interference wave includes collecting ambient sound and obtaining the decibel value of the ambient sound. Calculate amplitude minimum value of the mean , is represented as: in, As the reference amplitude, if the amplitude The minimum value of the mean is greater than the current amplitude. mean Then calculate the amplitude. The minimum value of the mean and the current amplitude mean The difference , is represented as: Update amplitude The update method is represented as: in, This indicates the updated amplitude.
[0013] Another objective of this invention is to provide a quantum communication-based anti-eavesdropping system that can determine whether the frequency value of each frequency unit falls within the ultrasonic frequency range, and generate interference waves by dynamically adjusting the frequency and amplitude, thereby solving the ultrasonic eavesdropping threat problem inherent in current quantum communication technologies.
[0014] As a preferred embodiment of the quantum communication-based anti-eavesdropping system described in this invention, it includes a segmentation module, a judgment module, and an adjustment module. The segmentation module is used to generate random numbers using a QKD module. The random numbers are transmitted to the anti-eavesdropping device through a quantum communication channel and are segmented into a frequency part and an amplitude part. The judgment module is used to judge the frequency value of each frequency part, check whether it falls within the ultrasonic frequency range, and generate an interference wave by dynamically adjusting the frequency and amplitude. The adjustment module is used to collect the sound intensity of the current environment and adjust the amplitude of the interference wave according to the changes in the environmental sound.
[0015] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program as steps to implement a quantum communication-based anti-eavesdropping method.
[0016] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a quantum communication-based anti-eavesdropping method.
[0017] The beneficial effects of this invention are as follows: The quantum communication-based anti-eavesdropping method provided by this invention improves security and randomness by generating random numbers using a QKD module, providing a solid foundation for subsequent anti-eavesdropping measures. Dividing the random numbers into frequency and amplitude components provides flexibility and diversity for subsequent interference wave generation, making the interference strategy more complex and difficult for eavesdroppers to analyze and crack. The dual-buffering mechanism of the initialization list ensures the continuity and unpredictability of the random numbers, thereby improving the efficiency and security of the entire anti-eavesdropping system. By judging the frequency value of each frequency component to check whether it falls within the ultrasonic frequency range, and dynamically adjusting the frequency and amplitude to generate interference waves, specific defense against the ultrasonic frequency range is achieved, effectively preventing eavesdropping using ultrasound. The dynamic adjustment of frequency and amplitude ensures that the generated interference waves have high... The randomness and adaptability of the system increase the difficulty for eavesdroppers to identify and filter interference waves. By introducing scaled random numbers, it ensures that the adjusted frequency value falls within the ultrasonic frequency range, thereby improving the effectiveness and security of the interference waves. By collecting the sound intensity of the current environment and adjusting the amplitude of the interference waves according to changes in ambient sound, real-time acquisition of ambient sound intensity allows the amplitude adjustment of the interference waves to match the ambient noise level, improving the concealment and effectiveness of the interference waves. Dynamically adjusting the amplitude of the interference waves according to changes in ambient sound ensures that the interference waves maintain sufficient interference capability in different sound environments, thus enhancing the security of the communication process. By calculating the minimum mean amplitude and comparing it with the current mean amplitude, adaptive adjustment of the interference wave amplitude is achieved. This not only improves the system's environmental adaptability but also ensures the stability of the communication process in complex environments. This invention achieves better results in improving the performance of anti-eavesdropping systems, enhancing the security of quantum communication, and strengthening the system's ability to cope with various eavesdropping methods. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 The first embodiment of the present invention provides an overall flowchart of a quantum communication-based anti-eavesdropping method.
[0020] Figure 2 The following is an overall flowchart of a quantum communication-based anti-eavesdropping system provided for the third embodiment of the present invention. Detailed Implementation
[0021] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0022] Example 1, referring to Figure 1 As one embodiment of the present invention, a quantum communication-based anti-eavesdropping method is provided, comprising: S1: Use the QKD module to generate random numbers. The random numbers are transmitted to the anti-eavesdropping device through the quantum communication channel and are divided into frequency part and amplitude part.
[0023] Furthermore, the random number generation process includes: the QKD module generating quantum random numbers through a quantum random number generator; the QKD module dividing the quantum random numbers into 16-bit initialization vectors; the QKD module caching multiple 16-bit initialization vectors in its initialization list; and the QKD module retrieving any initialization vector from the initialization list as a random number based on the activation of the anti-eavesdropping device.
[0024] It should be noted that the initialization list includes a first cache table and a second cache table. The first cache table is connected to the initialization list. When the second cache table finishes reading data from the first cache table, the first cache table requests the quantum random number generator to generate random numbers and stores the initialization vector obtained by splitting the random numbers. The second cache table is connected to the first cache table. When the initialization vector of the first cache table is exhausted, the second cache table reads and stores the data from the first cache table. Each value in the second cache table has a status flag bit. Each time data is read from the first cache table, the status flag bit of each value in the second cache table is set to unread. If a value in the second cache table is taken as a random number, the status flag bit of the corresponding value in the second cache table is marked as read. If the status flag bit of the corresponding value in the second cache table is marked as read, the value corresponding to the status flag bit marked as read cannot be read when reading the initialization vector from the second cache table.
[0025] It should also be noted that being divided into a frequency section and an amplitude section includes cutting the frequency section into... Values with the same units digit , , ... Cut the amplitude section into Values with the same units digit , , ... .
[0026] It should also be noted that by using the QKD module to generate random numbers, the security and randomness of the system are improved, which provides a solid foundation for subsequent anti-eavesdropping measures. By dividing the random numbers into frequency and amplitude components, flexibility and diversity are provided for the generation of subsequent interference waves, making the interference strategies more complex and difficult for eavesdroppers to analyze and crack. The dual-buffering mechanism of the initialization list ensures the continuity and unpredictability of the random numbers, thereby improving the efficiency and security of the entire anti-eavesdropping system.
[0027] S2: Determine the frequency value of each frequency section to check if it falls within the ultrasonic frequency range, and generate interference waves by dynamically adjusting the frequency and amplitude.
[0028] Furthermore, the frequency value of each frequency section is determined, including frequency determination. Whether it is within the ultrasonic frequency range; when determining the frequency Within the ultrasonic frequency range, Add 1 and re-evaluate the frequency. Whether it is within the ultrasonic frequency range; when determining the frequency When the frequency is outside the ultrasonic frequency range, generate a scaled random number. Determine frequency When the frequency is less than the ultrasonic frequency range, the scaled random number generated is greater than 1; update frequency. , is represented as: in, Indicate the updated frequency; determine the updated frequency. Whether it is within the ultrasonic frequency range, when the frequency is updated If the frequency is outside the ultrasonic frequency range, update the frequency; when the updated frequency... Within the ultrasonic frequency range, let i = i + 1, and for the new frequency... Repeat the judgment to determine whether it is within the ultrasonic frequency range until... .
[0029] It should be noted that the generation of interference waves includes frequency-based methods. The corresponding amplitude As an amplitude-generated sine wave, it can be represented as: in, For time variables, Indicates the first A sine wave in time The value of time is used to synthesize all the generated sine waves to obtain the first interference wave. , is represented as: in, To generate the total number of sine waves, It is sent to the speaker as an input signal.
[0030] It should also be noted that by judging the frequency value of each frequency section to check whether it falls within the ultrasonic frequency range, and by dynamically adjusting the frequency and amplitude to generate interference waves, specific defense against the ultrasonic frequency range is achieved, effectively preventing eavesdropping using ultrasound. By dynamically adjusting the frequency and amplitude, the generated interference waves have a high degree of randomness and adaptability, increasing the difficulty for eavesdroppers to identify and filter the interference waves. By introducing scaled random numbers, it is ensured that the value after frequency adjustment belongs to the ultrasonic frequency range, thereby improving the effectiveness and security of the interference waves.
[0031] S3: Collect the sound intensity of the current environment and adjust the amplitude of the interference wave according to changes in the ambient sound.
[0032] Furthermore, adjusting the amplitude of the interference wave includes collecting ambient sound data to obtain the decibel value of the ambient sound. Calculate amplitude minimum value of the mean , is represented as: in, As the reference amplitude, if the amplitude The minimum value of the mean is greater than the current amplitude. mean Then calculate the amplitude. The minimum value of the mean and the current amplitude mean The difference , is represented as: Update amplitude The update method is represented as: in, This indicates the updated amplitude.
[0033] It should also be noted that by collecting the sound intensity of the current environment and adjusting the amplitude of the interference wave according to changes in the ambient sound, the real-time collection of ambient sound intensity allows the amplitude adjustment of the interference wave to match the ambient noise level, improving the concealment and effectiveness of the interference wave. Dynamically adjusting the amplitude of the interference wave according to changes in ambient sound ensures that the interference wave can maintain sufficient interference capability in different sound environments, thereby improving the security of the communication process. By calculating the minimum mean amplitude and comparing it with the current mean amplitude, adaptive adjustment of the interference wave amplitude is achieved. This not only improves the system's environmental adaptability but also ensures the stability of the communication process in complex environments.
[0034] Example 2 is an embodiment of the present invention, which provides a method for preventing eavesdropping based on quantum communication. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0035] First, the experimental setup includes a QKD module, an anti-eavesdropping device, a speaker, and an ambient sound monitoring device. The QKD module generates a series of 16-bit quantum random numbers through a quantum random number generator. These random numbers are stored in the initialization list of the QKD module, which consists of a first cache table and a second cache table to ensure a continuous supply of random numbers. When the anti-eavesdropping device is activated, an initialization vector is randomly selected from the initialization list as the random number.
[0036] The random number is divided into a frequency part and an amplitude part. The frequency part is cut into 10 equal-digit values, and the amplitude part is also cut into 10 equal-digit values. The frequency value of each frequency part is judged to check whether it falls within the ultrasonic frequency range. If the frequency value falls within the range, an interference wave is generated by dynamically adjusting the frequency and amplitude. This process involves scaling the frequency value to ensure that it belongs to the ultrasonic frequency range, thereby avoiding potential ultrasonic eavesdropping. During the generation of the interference wave, 10 sine waves were generated based on the adjusted frequency value and the corresponding amplitude value, and they were synthesized to obtain the first interference wave. Finally, the experiment collected the sound intensity of the current environment and adjusted the amplitude of the interference wave according to the changes in the environmental sound. In this step, the decibel value of the environmental sound was used to calculate the minimum value of the mean amplitude, and the amplitude was updated according to the difference between this value and the current mean amplitude.
[0037] The experiment was conducted in three groups, each under different ambient sound intensities (50dB, 60dB, and 70dB). Three control groups were also set up. The frequency and amplitude of the interference wave in the control groups were not adjusted. The experimental data were recorded and analyzed with reference to Table 1.
[0038] Table 1 Experimental Data Recording Table
[0039] By comparing the data from the experimental group and the control group, the effectiveness of the method of the present invention was verified. In the experimental group, the number of times the interference wave frequency was adjusted and the amount of interference wave amplitude adjustment were significantly higher than those in the control group (the control group did not make any adjustments). This indicates that the method of the present invention can dynamically adjust the interference strategy according to environmental changes. In particular, when the ambient sound intensity increases, the experimental group can effectively adjust the amplitude of the interference wave to adapt to the environmental changes, while the control group cannot do this. In addition, the number of frequency adjustments in the ultrasonic frequency range of the experimental group shows that the method of the present invention can effectively avoid the risk of ultrasonic eavesdropping. Compared with the control group, the experimental group has a larger amount of interference wave amplitude adjustment, indicating that the method of the present invention can better adapt to different sound environments, thereby improving the security of communication. Compared with the prior art, the method of the present invention shows significant creativity and novelty in anti-eavesdropping, and can more effectively defend against ultrasonic eavesdropping and dynamically adjust the interference strategy according to environmental changes, thereby improving the security of quantum communication.
[0040] Example 3, referring to Figure 2 As an embodiment of the present invention, a quantum communication-based anti-eavesdropping system is provided, including a segmentation module, a judgment module, and an adjustment module.
[0041] The segmentation module is used to generate random numbers using the QKD module. The random numbers are transmitted to the anti-eavesdropping device through a quantum communication channel and are segmented into frequency and amplitude components. The judgment module is used to judge the frequency value of each frequency component and check whether it falls within the ultrasonic frequency range. It generates interference waves by dynamically adjusting the frequency and amplitude. The adjustment module is used to collect the sound intensity of the current environment and adjust the amplitude of the interference wave according to the changes in the environmental sound.
[0042] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, 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 of the various embodiments of this 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.
[0043] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0044] More specific examples (a non-exhaustive list) of computer-readable media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0045] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc. It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
[0046] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A method for preventing eavesdropping based on quantum communication, characterized in that, include: Random numbers are generated using a QKD module. These random numbers are then transmitted to the anti-eavesdropping device via a quantum communication channel and are divided into a frequency component and an amplitude component. The frequency value of each frequency section is judged to check whether it falls within the ultrasonic frequency range, and interference waves are generated by dynamically adjusting the frequency and amplitude. Collect the sound intensity of the current environment and adjust the amplitude of the interference wave according to changes in the ambient sound. The generation of random numbers includes the QKD module generating quantum random numbers through a quantum random number generator; The QKD module divides the quantum random number into an initialization vector of length 16 bits; The QKD module caches multiple 16-bit initialization vectors in the QKD module's initialization list; The QKD module retrieves any initialization vector from the initialization list as a random number based on the activation action of the anti-eavesdropping device. The initialization list includes a first cache table and a second cache table; The first cache table is connected to the initialization list. When the second cache table finishes reading data from the first cache table, the first cache table requests the quantum random number generator to generate random numbers and stores the initialization vector obtained by random number segmentation. The second cache table is connected to the first cache table. When the initialization vector of the first cache table is exhausted, the second cache table reads and stores the data from the first cache table. Each value in the second cache table has a status flag bit. Each time data is read from the first cache table, the status flag bit of each value in the second cache table is set to unread. If a value in the second cache table is taken as a random number, the status flag bit of the corresponding value in the second cache table is marked as read. If the status flag bit of the corresponding value in the second cache table is marked as read, the value corresponding to the status flag bit marked as read cannot be read when the initialization vector is read from the second cache table. The frequency part and the amplitude part are divided into values having the same number of digits , , ,..., ; cutting the amplitude part into values having the same number of digits , , ,..., ; The determining of the frequency value of each frequency section includes determining whether the frequency is in an ultrasonic frequency range ; When the frequency is judged In the ultrasonic frequency range, Add 1 and rejudge the frequency Whether in the ultrasonic frequency range; When judging frequency When the frequency is outside the ultrasonic frequency range, generate a scaled random number. Determine frequency The scaled random number generated when the frequency is less than the ultrasonic frequency range is greater than 1; Update frequency , represented as: in, Indicates the updated frequency; Determine the frequency after the update Whether it is within the ultrasonic frequency range, when the frequency is updated If the frequency is outside the ultrasonic frequency range, update the frequency again; When the updated frequency Within the ultrasonic frequency range, let i = i + 1, and for the new frequency... Repeat the judgment to determine whether it is within the ultrasonic frequency range until... ; The generated interference wave includes frequency-based... The corresponding amplitude As an amplitude-generated sine wave, it can be represented as: in, For time variables, Indicates the first A sine wave in time The value of time is used to synthesize all the generated sine waves to obtain the first interference wave. , represented as: in, To generate the total number of sine waves, Send as an input signal to the speaker; Adjusting the amplitude of the interference wave includes collecting ambient sound and obtaining the decibel value of the ambient sound. Calculate amplitude minimum value of the mean , represented as: in, As the reference amplitude, if the amplitude The minimum value of the mean is greater than the current amplitude. mean Then calculate the amplitude. The minimum value of the mean and the current amplitude mean The difference , represented as: Update amplitude The update method is represented as: in, This indicates the updated amplitude.
2. A system employing the quantum communication-based anti-eavesdropping method as described in claim 1, characterized in that: Includes a segmentation module, a judgment module, and an adjustment module; The segmentation module is used to generate random numbers using the QKD module. The random numbers are transmitted to the anti-eavesdropping device through a quantum communication channel and are segmented into a frequency part and an amplitude part. The judgment module is used to judge the frequency value of each frequency section, check whether it falls within the ultrasonic frequency range, and generate interference waves by dynamically adjusting the frequency and amplitude. The adjustment module is used to collect the sound intensity of the current environment and adjust the amplitude of the interference wave according to the changes in the ambient sound.
3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the anti-eavesdropping method based on quantum communication as described in claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the quantum communication-based anti-eavesdropping method described in claim 1.
Citation Information
Patent Citations
Ultrasonic eavesdropping-resistant and secret-recording-resistant device and eavesdropping-resistant and secret-recording-resistant method using same
CN105006232A
Data acquisition and signal identification method based on data information encryption method
CN117082502A
