An audio-video data encryption system and method
The encryption key is generated through the terahertz light source and detector, and the audio and video data is encrypted, solving the security and reliability problems in the audio and video data sharing process, and achieving efficient data encryption and transmission.
Patent Information
- Application Number
- CN202310239555.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2043-03-06
AI Technical Summary
In the prior art, video metadata security and distribution reliability problems exist in the process of audio and video data sharing in the process of audio and video data, especially in the case of account borrowing or copyright misappropriation.
A system consisting of terahertz light source, detector, processor and encryption device is used to generate encryption keys through terahertz light, encrypt audio and video data, and generate encrypted files.
Improve the encryption efficiency and security of audio and video data, ensure the stability and reliability of data transmission, and prevent unauthorized sharing and theft.
Smart Images

Figure CN116366311B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data encryption, and particularly to an audio - video data encryption system and method. Background Art
[0002] Currently, audio - video entertainment platforms emerge in an endless stream. Most people need to purchase memberships to watch film and television programs. This may lead to potential security risks of account loss when the same account is lent to others, ultimately bringing great troubles to the sharing of audio - video. Especially for live - scrambled programs, there are also some loopholes where copyrights are stolen or distributed randomly.
[0003] It is inevitable to share audio - video data with some friends or share some videos in family life. How to ensure the security of video metadata and the confidentiality and reliability of the data distribution process during the sharing process has become a problem worthy of deep consideration.
[0004] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main object of the present invention is to provide an audio - video data encryption system and method, aiming to solve the technical problem of how to ensure the security of video metadata during the audio - video sharing process in the prior art.
[0006] To achieve the above object, the present invention provides an audio - video data encryption system, which includes: a terahertz light source, a terahertz detector, a processor, and an encryption device;
[0007] The terahertz light source is used to generate terahertz light when receiving an encryption request;
[0008] The terahertz detector is used to collect the terahertz light and send the generated collection signal to the processor;
[0009] The processor is used to generate an encryption key according to the collection signal and send the encryption key to the encryption device;
[0010] The encryption device is used to process the encryption key and the audio - video data to be encrypted to obtain an encrypted file.
[0011] Optionally, the system further includes: a light shutter;
[0012] The processor is used to generate an encryption request and a light - shielding control signal when receiving a request from an audio - video data receiving device, send the encryption request to the terahertz light source, and use the light - shielding control signal to control the rotation of the light shutter to form a light - shielding state and a light - transmitting state;
[0013] When the shutter is in the light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the shutter is in the light-shielding state, the terahertz detector cannot collect the terahertz light.
[0014] Optionally, the terahertz detector includes: a detection module and a filtering module;
[0015] The detection module is configured to generate an electron flow based on the terahertz light to drive internal carriers, and generate a collection signal according to the electron flow;
[0016] The filtering module is configured to amplify and filter the collection signal to generate a processed collection signal;
[0017] The processor is further configured to generate an encryption key according to the change condition of the processed collection signal, and send the encryption key to the encryption device.
[0018] Optionally, the processor is further configured to change the attribute of the light-shielding control signal at preset intervals, and the attribute of the light-shielding control signal is used to control the rotation speed of the shutter so that the processor generates a key sequence, and send the key sequence to the encryption device;
[0019] The encryption device is further configured to divide the key sequence to generate several groups of encryption keys;
[0020] The encryption device is further configured to encrypt the audio and video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
[0021] Optionally, the encryption device is further configured to insert the encryption key into the data frame of the audio and video data to be encrypted to obtain a pre-encrypted file;
[0022] The encryption device is further configured to add a flag bit and a check code to the pre-encrypted file to generate an encrypted file.
[0023] In addition, to achieve the above object, the present invention further provides an audio and video data encryption method, which is applied to the audio and video data encryption system as described above, and the method includes:
[0024] When the terahertz light source receives an encryption request, it generates terahertz light;
[0025] The terahertz detector collects the terahertz light and sends the generated collection signal to the processor;
[0026] The processor generates an encryption key according to the collection signal and sends the encryption key to the encryption device;
[0027] The encryption device processes the encryption key and the audio - video data to be encrypted to obtain an encrypted file.
[0028] Optionally, before the step of generating terahertz light when the terahertz light source receives an encryption request, the method further includes:
[0029] When the processor receives a request from the audio - video data receiving device, it generates an encryption request and a light - shielding control signal, sends the encryption request to the terahertz light source, and uses the light - shielding control signal to control the rotation of the light - shielder to form a light - shielding state and a light - transmitting state;
[0030] When the light - shielder is in the light - transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light - shielder is in the light - shielding state, the terahertz detector cannot collect the terahertz light.
[0031] Optionally, the step in which the processor generates an encryption key according to the terahertz light collected by the terahertz detector and sends the encryption key to the encryption device includes:
[0032] The detection module forms an electron flow based on the terahertz light to drive internal carriers, and generates a collection signal according to the electron flow;
[0033] The filtering module amplifies and filters the collection signal to generate a processed collection signal;
[0034] The processor generates an encryption key according to the change situation of the processed collection signal and sends the encryption key to the encryption device.
[0035] Optionally, before the step in which the encryption device processes the encryption key and the audio - video data to be encrypted to obtain an encrypted file, the method further includes:
[0036] The processor changes the attribute of the light - shielding control signal at preset intervals, and the attribute of the light - shielding control signal is used to control the rotation speed of the light - shielder so that the processor generates a key sequence, and sends the key sequence to the encryption device;
[0037] Correspondingly, the step in which the encryption device processes the encryption key and the audio - video data to be encrypted to obtain an encrypted file includes:
[0038] The encryption device divides the key sequence to generate several groups of encryption keys;
[0039] The encryption device encrypts the audio - video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
[0040] Optionally, the step of the encryption device encrypting the audio and video data to be encrypted through the several groups of encryption keys to generate an encrypted file includes:
[0041] The encryption device inserts the encryption key into the data frame of the audio and video data to be encrypted to obtain a pre-encrypted file;
[0042] The encryption device adds a flag bit and a check code to the pre-encrypted file to generate an encrypted file.
[0043] When the terahertz light source of the present invention receives an encryption request, it generates terahertz light; the terahertz detector collects the terahertz light generated by the terahertz light source and sends the generated acquisition signal to the processor; the processor generates an encryption key according to the received acquisition signal and sends the encryption key to the encryption device; the encryption device processes the encryption key and the audio and video data to be encrypted to obtain an encrypted file. By collecting terahertz light through the terahertz detector to generate an encryption key and processing the audio and video data to be encrypted through the encryption key to obtain an encrypted file, the encryption efficiency of the audio and video data is improved, and the security and reliability of the audio and video data are ensured. Brief Description of the Drawings
[0044] Figure 1 is the structural block diagram of the first embodiment of the audio and video data encryption system of the present invention;
[0045] Figure 2 is the schematic diagram of the transmission data stream of the audio and video data encryption system of the present invention;
[0046] Figure 3 is a schematic diagram of an encryption process of the audio and video data encryption system of the present invention;
[0047] Figure 4 is a schematic diagram of an application scenario of the audio and video data encryption system of the present invention;
[0048] Figure 5 is the schematic diagram of the process of the first embodiment of the audio and video data encryption method of the present invention.
[0049] The realization, functional characteristics and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed Embodiments
[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0051] The embodiment of the present invention provides an audio and video data encryption system, referring to Figure 1 , Figure 1 is the structural block diagram of the first embodiment of the audio and video data encryption system of the present invention.
[0052] When the terahertz light source in this embodiment receives an encryption request, it generates terahertz light; the terahertz detector collects the terahertz light and sends the generated acquisition signal to the processor; the processor generates an encryption key based on the received acquisition signal and sends the encryption key to the encryption device; the encryption device processes the encryption key and the audio-video data to be encrypted to obtain an encrypted file. By collecting terahertz light with the terahertz detector to generate an encryption key and processing the audio-video data to be encrypted with the encryption key to obtain an encrypted file, the security and reliability of the audio-video data are ensured.
[0053] It can be understood that with the continuous development of THz light (terahertz light, an electromagnetic wave with a frequency range of 0.1 THz - 10 THz and a wavelength range of 0.03 mm - 3 mm) detection and sensing technology, the continuous optimization and upgrading of the construction and design of THz optical systems, and the continuous exploration and research of THz absorption or antireflection materials, such as graphene composite materials, electromagnetic metamaterials, liquid crystal materials, ultrathin metal materials, etc., it plays an important role in data encryption, digital communication, information security, etc., and also has high application value.
[0054] An optical system design software can be used and combined with powerful THz optical materials to design digital keys based on THz light to encrypt audio-video metadata to generate transmission metadata. Using THz high-frequency networking to encrypt and distribute the transmission metadata can achieve the purpose of high-speed, secure, and reliable data sharing.
[0055] This embodiment proposes an audio-video data encryption system that uses a THz optoelectronic system to generate an electronic key to encrypt the descrambled audio-video metadata, and uses THz wave networking to encrypt and transmit interactive information to achieve the purpose of audio-video sharing. It greatly improves the security of audio-video data elements and ensures the stable, high-speed, and reliable transmission of audio-video data.
[0056] It should be explained that the audio-video data encryption system of this embodiment can be applied to all scenarios that require audio-video data encryption. This embodiment takes the shared audio-video scenario as an example to elaborate on the audio-video data encryption system of the present invention in detail.
[0057] It should be noted that in the scenario of audio-video sharing, the audio-video data encryption system of this embodiment can be applied to audio-video data sending devices, such as set-top boxes, mobile phones, personal computers, etc. Before sharing audio-video data, the audio-video data sending device (hereinafter referred to as the sending device) needs to establish a connection with the audio-video data receiving device (hereinafter referred to as the receiving device). The connection establishment method can be wireless or wired, and this embodiment does not limit this.
[0058] As core components of the intelligent local area network system, the transmitter and receiver can be designed with embedded invisible terahertz antennas. The high-speed communication characteristics of terahertz can be used to ensure the security and smoothness of audio and video playback.
[0059] In one implementation, the digital intelligent terminal (ie, the sending device) of the audio and video to be encrypted carries the ID of the designated receiving device and initiates a sharing request to the receiving device via a specific protocol and a THz local area network.
[0060] Furthermore, when the receiving device with the specified ID receives the information, it can request verification with its own ID. When the verification is passed, the user will be prompted on the terminal interface whether to accept the request to share audio and video. If the sharing is accepted, the terminal will respond to the sending device to indicate that the handshake is successful, thereby establishing a connection.
[0061] When the connection establishment is completed, the sending device may send a sharing request to the receiving device, and the receiving device may send a receiving request to the sending device according to the sharing request of the sending device.
[0062] The audio and video data encryption system includes: a terahertz light source, a terahertz detector, a processor and an encryption device.
[0063] The terahertz light source is used to generate terahertz light when an encryption request is received.
[0064] It should be noted that a terahertz light source is a device that can emit terahertz light. A terahertz light source can be a miniature single-frequency THz light source, a tunneling diode THz oscillator source, a thin-film THz light source combining phase-change and magnetostrictive materials, a photoconductive THz source made of materials such as indium antimonide (InSb), or a semiconductor THz source made of materials such as graphene. The purpose of a terahertz light source is to generate high-power terahertz light.
[0065] In a specific implementation, the terahertz light is used to generate terahertz light when a decryption request is received.
[0066] Furthermore, in order to perform encryption processing according to the received request, the system further includes: a shutter.
[0067] The processor is used to generate an encryption request and a shading control signal when receiving a request from an audio and video data receiving device, and send the encryption request to the terahertz light source, and use the shading control signal to control the rotation of the shutter to form a shading state and a light-transmitting state.
[0068] It should be noted that when the processor receives the reception request from the audio-video data receiving device, if the audio-video to be encrypted is scrambled audio-video, the scrambled audio-video can be descrambled to obtain the original audio-video, and the original audio-video is the audio-video that can be played normally.
[0069] It can be understood that scrambling is a method of processing digital signals, which is to multiply the scrambling code with the original signal to obtain a new signal. Compared with the original signal, the new signal is scattered in time and frequency. Descrambling is an operation to restore the scrambled digital signal to the original digital signal.
[0070] It should be noted that when the audio-video to be encrypted is the original audio-video, the processor can generate an encryption request and a light-shielding control signal, send the encryption request to the terahertz light source, and send the light-shielding control signal to the light-shielding device. When the terahertz light source receives the encryption request, it can generate terahertz light for encryption. When the light-shielding device receives the light-shielding control signal, it can form a light-shielding state or a light-transmitting state in the form of rotation or opening / closing (that is, the terahertz light can intermittently shine on the terahertz detector), and the specific operation mode of the light-shielding device is not limited in this embodiment. This embodiment and the following embodiments will describe the present invention in detail by taking rotation as an example.
[0071] It should be understood that the light-shielding device is a device that can block terahertz light. There can be intermittently hollow apertures on the light-shielding device so that the terahertz light can shine on the high-precision and high-sensitivity terahertz detector. When using the rotation of the light-shielding device for light shielding, in order to enhance the generation speed of the serial number, the selected light-shielding device can have multiple apertures, and the styles of the apertures include but are not limited to circular, rectangular, square, and even serrated, etc.
[0072] It should be noted that the light-shielding control signal can be a PWM signal, and the processor can output a PWM signal with a certain duty cycle to control the light-shielding device to rotate at a certain rate, so as to generate an encryption key according to the change of the signal collected by the terahertz detector.
[0073] In specific implementation, when the processor receives the request from the audio-video data receiving device, it generates an encryption request and a light-shielding control signal, sends the encryption request to the terahertz light source, and sends the light-shielding control signal to the light-shielding device.
[0074] The terahertz detector is used to collect the terahertz light and send the generated collected signal to the processor.
[0075] It should be explained that when the terahertz light irradiates on the terahertz detector, it will cause the movement of the carriers in the detector, and then form an electron flow that can be collected by the circuit, that is, the collected signal.
[0076] It should be understood that a detection array or a detection board for collecting terahertz light is provided on the terahertz detector. The terahertz detector collects terahertz light and generates a collection signal, and then sends the collection signal to the processor.
[0077] It should be noted that when the light shutter is in a light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light shutter is in a light-blocking state, the terahertz detector cannot collect the terahertz light.
[0078] It should be explained that when the terahertz detector collects terahertz light and generates a collection signal, the processor can set the corresponding position to 1. When the terahertz light is blocked by the light shutter, the electronic current signal on the terahertz detector is very weak and cannot generate a collection signal. At this time, the processor can set the corresponding position to 0. Since the frequency of the collection signal is relatively high, within a certain signal collection period, different digital 0 / 1 serial numbers will be generated, and this serial number can be used as the encryption / decryption key for audio and video data.
[0079] In a specific implementation, the terahertz detector collects terahertz light and sends the generated collection signal to the processor.
[0080] The processor is configured to generate an encryption key according to the collection signal and send the encryption key to the encryption device.
[0081] It can be understood that when the encryption key is generated, the processor can send the key to the encryption device to perform an encryption process on the audio and video data to be encrypted.
[0082] In a specific implementation, the processor generates an encryption key according to the collection signal and sends the encryption key to the encryption device.
[0083] The encryption device is configured to process the encryption key and the audio and video data to be encrypted to obtain an encrypted file.
[0084] It should be noted that the method of processing, encrypting, and transmitting the audio and video data to be encrypted can be:
[0085] a. Divide the key to a certain extent and intersperse it at the head, middle, and tail of each data frame of the audio and video source for transmission;
[0086] b. Perform simple operations on the audio and video metadata and the key serial number, such as addition, subtraction, AND, and OR operations, and finally distribute the encrypted data;
[0087] c. Intersperse the key regularly at a certain audio and video timestamp or a certain number of frames in the audio and video metadata for transmission;
[0088] d. Attach the secret key to the audio - video metadata, then calculate the CRC (Cyclic Redundancy Check Code) and attach the CRC at the beginning of the data or interleave it in the data, and finally perform the transmission of the encrypted data.
[0089] Of course, it can also be encrypted by other means to generate an encrypted file and then transmitted to the receiving device, and this embodiment does not limit this.
[0090] The encryption device is further configured to insert the encryption secret key into the data frame of the audio - video data to be encrypted to obtain a pre - encrypted file.
[0091] It should be noted that, in order to enhance the security during the transmission process, the sending device can perform destructive encryption on the audio - video data to be encrypted, and the encrypted file is split into several transmission data packets during the transmission process.
[0092] The encryption device is further configured to add a flag bit and a check code to the pre - encrypted file to generate an encrypted file.
[0093] As Figure 2 shown, Figure 2 This is a schematic diagram of the transmission data stream of the audio - video data encryption system of the present invention.
[0094] Before the encrypted audio - video data is transmitted, its encryption secret key will be encrypted for the first time to generate a secret key data packet and transmitted to the receiving device. The encryption method can be to encrypt the encryption secret key using the receiving device ID and the start flag bit of the audio - video data to generate the secret key data packet.
[0095] It can be understood that the receiving device can judge the integrity of the received audio - video data through the CRC check code, and can identify the sending device and verify the continuity of the audio - video data through the receiving device ID and the start flag bit of the audio - video data in the audio - video data.
[0096] It should be noted that the audio - video data packet is a data packet composed of a receiving device ID, an audio - video data number, and at least one encrypted data packet.
[0097] It should be understood that the audio - video data number starts from 0 and increases sequentially until the end of a frame or the end of the complete audio - video data stream within a preset time.
[0098] It should be noted that the encryption device can also make the first packet of the transmission be the other party's ID and the start flag bit of the audio - video data packet number, so that the receiving party can perform identity verification and continuity verification of the audio - video data, and add its CRC check code at the end of the packet to enhance the integrity of the data.
[0099] In a specific implementation, the encryption device processes the encryption secret key and the audio - video data to be encrypted to obtain an encrypted file.
[0100] In this embodiment, a shutter is used to form a blocking state and a light-transmitting state for the terahertz light generated by the terahertz light source. In the light-transmitting state, the terahertz detector can receive the terahertz light to generate a collection signal; in the blocking state, the terahertz detector cannot collect the terahertz light and thus cannot generate a collection signal; the processor generates an encryption key according to the state of the collection signal transmitted by the terahertz detector, and uses the encryption key to encrypt the audio-visual data to be encrypted, thereby generating an encrypted file and transmitting it to the receiving device. Since the terahertz light is blocked by the shutter to make the terahertz detector generate a state of having and not having a collection signal, and the processor determines the state of the collection signal to generate an encryption key, the security of the audio-visual data source is greatly improved, and the high-speed, stable and reliable audio-visual transmission is also guaranteed.
[0101] Furthermore, the audio-visual data encryption system further includes a sending module.
[0102] The sending module is used to modulate the encrypted file to the terahertz frequency band and send the encrypted file to the audio-visual data receiving device through a terahertz antenna.
[0103] It can be understood that the above-mentioned terahertz frequency band refers to 100 GHz - 10 THz, which is a frequency band much higher than 5G. When data is transmitted in the terahertz frequency band, the transmission speed is fast.
[0104] It should be noted that when the sending device transmits the encrypted file, it will send the encryption key to the receiving device. The receiving device can use the received encryption key and the encrypted file to perform reverse operations, so as to decrypt the audio-visual data and synthesize the data stream for playback.
[0105] Furthermore, in order to ensure that the audio-visual is relayed within as small a range as possible in the local area network without the possibility of copyright theft.
[0106] The above-mentioned encrypted file also has a destruction flag by itself. After the audio-visual data is decrypted and played, the audio-visual file will be automatically destroyed and cannot be re-relayed and recorded.
[0107] In this embodiment, the sending module modulates the encrypted file to the terahertz frequency band and sends the encrypted file to the audio-visual data receiving device through a terahertz antenna. Since data is transmitted through terahertz waves, the transmission speed is extremely fast, reducing the time required during the transmission process.
[0108] Based on the above Figure 1 shown embodiment, the second embodiment of the audio-visual data encryption system of the present invention is proposed.
[0109] To obtain a more accurate acquisition signal, the terahertz detector includes: a detection module and a filtering module.
[0110] The detection module is configured to form an electron flow based on the terahertz light to trigger internal carriers, and generate an acquisition signal according to the electron flow.
[0111] It can be understood that when the terahertz light passes through the aperture on the light shutter and is received by the detection module, it will cause the corresponding movement of the carriers in the terahertz detector, and then form an electron flow to be processed by the circuit inside the terahertz detector (i.e., the filtering module). The final analog signal is collected by the analog input pin of the processor, and this position is set to digital 1 after analog-to-digital conversion.
[0112] It should be understood that the detection module also includes a terahertz optoelectronic conversion electronic circuit system (such as the detection array, detection board, etc. mentioned above) that can convert terahertz light into an electrical signal to generate an analog signal when terahertz light is collected.
[0113] The filtering module is configured to amplify and filter the acquisition signal to generate a processed acquisition signal.
[0114] It should be noted that the selected filtering module can be a high-pass filter with adjustable gain, high Q value, low insertion loss, and a center frequency matching the range of terahertz light. The filtering module can include a multi-stage amplifier circuit, a negative feedback circuit, and a micro-current amplification module that can amplify the signal by about 60 times.
[0115] The processor is further configured to generate an encryption key according to the change of the processed acquisition signal, and send the encryption key to the encryption device.
[0116] It can be understood that the processor can receive the processed acquisition signal sent by the filtering module through the analog input pin, and set this position to digital 1 through analog-to-digital conversion.
[0117] It should be understood that if the processed acquisition signal is not received, this position is set to digital 0.
[0118] In this embodiment, the detection module collects terahertz light to generate a collection signal. The filtering module amplifies and filters the collection signal, and then the processor processes the processed collection signal, thereby digitizing this position as 1. The processor generates a serial number containing 0 and 1 based on the state of whether the processed collection signal exists, and this serial number is the encryption key. Then, the encryption key is sent to the encryption device to enable the encryption device to encrypt the audio and video data to be encrypted. Since the collection signal of terahertz light is amplified and filtered, and the encryption key is generated based on the processed collection signal, the accuracy of encryption key generation is enhanced, and there are significant differences from common encryption methods, strengthening the security of audio and video data.
[0119] It should be noted that, in order to further enhance the security of audio and video transmission, the processor is further configured to change the attribute of the light-shielding control signal at preset intervals, and the attribute of the light-shielding control signal is used to control the rotation speed of the light-shielding device so that the processor generates a key sequence.
[0120] It can be understood that when the audio and video duration is long, if a light-shielding device with a fixed rotation speed is used, the generated encryption keys will have a high degree of repetition. Therefore, in order to generate different encryption keys in real time, the processor can change the attribute of the light-shielding control signal at preset intervals to change the rotation speed of the light-shielding device. The above-mentioned attribute of the light-shielding control signal is the duty cycle.
[0121] It should be understood that the above-mentioned preset interval can adopt different interval periods according to actual situations, and the methods include but are not limited to the following:
[0122] a. Randomly adjust the duty cycle of the light-shielding control at each frame (such as 30%, 50%, 80%, etc.), thereby generating a key sequence that is different for each frame in real time.
[0123] b. Randomly adjust the duty cycle of the light-shielding control signal at intervals of n frames (such as 25 frames, 30 frames, 50 frames), thereby generating a key sequence that is different for n frames.
[0124] c. Randomly adjust the duty cycle of the light-shielding control signal at fixed time intervals (such as 1s, 2s, 5s), thereby generating a key sequence that is different at fixed time intervals.
[0125] The encryption device is further configured to split the key sequence to generate several groups of encryption keys.
[0126] It can be understood that when the encryption device receives the key sequence sent by the processor, it can evenly split the key sequence to generate n groups of encryption keys.
[0127] The encryption device is further configured to encrypt the audio-video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
[0128] It should be understood that the audio-video data to be encrypted contains N data frames, and one or more data frames can generate an encrypted data packet, and the number of groups of encryption keys is greater than the number of data frames.
[0129] It can be understood that each data frame can be encrypted through different groups of encryption keys to generate an encrypted file.
[0130] Such as Figure 3 shown Figure 3 is a schematic diagram of an encryption process of the audio-video data encryption system of the present invention.
[0131] It should be noted that the above encryption methods for the audio-video data to be encrypted include but are not limited to the following methods:
[0132] a. For the purpose of achieving destructive encryption, when encrypting a data frame, the encryption key can be divided into m parts again, and then the m parts are interspersed into the data frame at an average interval to obtain an encrypted data packet. Finally, a CRC calculation is performed on the encrypted data packet and the CRC check code is attached to the end of the encrypted data packet.
[0133] b. When encrypting a data frame, a simple AND or OR operation is directly performed on the data and the encryption key, so that even if other terminals receive the data, they cannot parse and play it. The encryption key is evenly divided into two parts and added to the head and tail of the frame respectively to obtain an encrypted data packet. Finally, a CRC calculation is performed on the encrypted data packet and the CRC check code is attached to the end of the encrypted data packet.
[0134] c. The encryption key is divided by time units and interspersed in multiple data frames to obtain an encrypted data packet.
[0135] The present invention will be described below by taking the key sequence size of 1000 bit generated with a preset period of 25 frames as an example.
[0136] Divided into 25 groups of keys with 40 bit as a unit on average and inserted them into the data frames respectively. For the purpose of achieving data destruction, each 40-bit data is divided into 20 groups or 10 groups with 2 bit or 4 bit again and interspersed into the data frame at an average interval to obtain an encrypted data packet. Finally, the encrypted data packet is CRC calculated and attached to the end of the encrypted data packet to obtain an encrypted file.
[0137] In this embodiment, the processor changes the attribute of the light-shielding control signal at preset intervals, thereby changing the rotation speed of the light-shielding device and increasing the complexity of the generated key sequence. The encryption device divides the key sequence to generate several groups of different encryption keys, and encrypts the audio-visual data to be encrypted with different encryption keys to generate an encrypted file. Encrypting the audio-visual data to be encrypted with different encryption keys further improves the security of the audio-visual data.
[0138] As Figure 4 shown, Figure 4 This is a schematic diagram of an application scenario of the audio-visual data encryption system of the present invention.
[0139] It can be understood that when the terahertz light source is turned on, terahertz light is emitted towards the terahertz detector.
[0140] It should be understood that the processor can send a PWM signal with a periodic change to the light-shielding device to make the rotation speed of the light-shielding device different.
[0141] It should be noted that the selected light-shielding device can be a light-shielding device with equal-sized apertures. When the light-shielding device rotates, it will periodically block the terahertz light incident on the terahertz detector.
[0142] It can be understood that the terahertz detector can perform photoelectric conversion through a terahertz photoelectric conversion electronic circuit system to generate an analog voltage.
[0143] Furthermore, after being amplified and filtered, the analog voltage can be received by the processor.
[0144] Furthermore, the processor can perform analog-to-digital conversion on the analog signal to form an encryption key in a 0 / 1 sequence, thereby realizing the encryption of audio-visual data and generating an encrypted file.
[0145] The embodiment of the present invention provides an audio-visual data encryption method. Referring to Figure 5 , Figure 5 This is a schematic flowchart of the first embodiment of the audio-visual data encryption method of the present invention.
[0146] In this embodiment, when the terahertz light source receives an encryption request, it generates terahertz light. The terahertz detector collects the terahertz light and sends the generated acquisition signal to the processor. The processor generates an encryption key based on the received acquisition signal and sends the encryption key to the encryption device. The encryption device processes the encryption key and the audio-visual data to be encrypted to obtain an encrypted file. Generating an encryption key by collecting terahertz light through the terahertz detector and processing the audio-visual data to be encrypted with the encryption key to obtain an encrypted file ensures the security and reliability of the audio-visual data.
[0147] It should be noted that the audio - video data encryption method of this embodiment can be applied to all scenarios where audio - video data needs to be encrypted. Taking the shared audio - video scenario as an example, this embodiment will elaborate on the audio - video data encryption system of the present invention in detail.
[0148] It should be noted that in the scenario of audio - video sharing, the audio - video data encryption method of this embodiment can be applied to audio - video data sending devices, such as set - top boxes, mobile phones, personal computers, etc. Before sharing audio - video data, the audio - video data sending device (hereinafter referred to as the sending device) needs to establish a connection with the audio - video data receiving device (hereinafter referred to as the receiving device). The connection establishment method can be wireless connection or wired connection, and this embodiment does not limit this.
[0149] As the core members in the intelligent local area network system, the sending device and the receiving device can be designed with embedded invisible terahertz antennas. The high - speed communication characteristics of terahertz can be used to ensure the safe and smooth playback of audio - video.
[0150] In one implementation, the digital intelligent terminal (i.e., the sending device) of the audio - video to be encrypted carries the ID of the specified receiving device, and through a specific protocol, uses the THz local area network to initiate a sharing request to the receiving device.
[0151] Furthermore, when the receiving device with the specified ID receives this information, it can perform a request verification by comparing it with its own ID. When the verification passes, the user will be prompted on the terminal interface whether to accept the operation of sharing the audio - video request. If the sharing is accepted, the terminal will respond to the sending device to indicate that the handshake is successful, thus establishing a connection.
[0152] When the connection is established, the sending device can send a sharing request to the receiving device, and the receiving device can send a receiving request to the sending device according to the sharing request of the sending device.
[0153] The audio - video data encryption system includes: a terahertz light source, a terahertz detector, a processor, and an encryption device.
[0154] Step S10: When the terahertz light source receives an encryption request, it generates terahertz light.
[0155] It should be noted that a terahertz light source is a device capable of emitting terahertz light. The terahertz light source can be a micro single - frequency THz light source, or a resonant tunneling diode THz oscillation source, a thin - film THz light source composed of a phase - change material and a magnetostrictive material, a photoconductive THz source made of materials such as indium antimonide (InSb), a semiconductor THz source made of materials such as graphene, etc. The purpose of the terahertz light source is to generate high - power terahertz light.
[0156] In a specific implementation, terahertz light is used to generate terahertz light when a decryption request is received.
[0157] Further, in order to perform encryption processing according to the received request, the system further includes: a light shutter; before the step of the terahertz light source generating terahertz light when an encryption request is received, the method further includes:
[0158] When the processor receives a request from an audio-video data receiving device, it generates an encryption request and a light-shielding control signal, sends the encryption request to the terahertz light source, and uses the light-shielding control signal to control the rotation of the light shutter to form a light-shielded state and a light-transmitting state.
[0159] It should be noted that when the processor receives a reception request from an audio-video data receiving device, if the audio-video to be encrypted is scrambled audio-video, the scrambled audio-video can be descrambled to obtain the original audio-video, and the original audio-video is the audio-video that can be normally played.
[0160] It can be understood that scrambling is a method of processing digital signals, that is, multiplying a scrambling code by the original signal to obtain a new signal. Compared with the original signal, the new signal is scattered in time and frequency. Descrambling is an operation of restoring the scrambled digital signal to the original digital signal.
[0161] It should be noted that when the audio-video to be encrypted is the original audio-video, the processor can generate an encryption request and a light-shielding control signal, send the encryption request to the terahertz light source, and send the light-shielding control signal to the light shutter. When the terahertz light source receives the encryption request, it can generate terahertz light for encryption. When the light shutter receives the light-shielding control signal, it can form a light-shielded state or a light-transmitting state in the form of rotation or opening and closing (that is, the terahertz light can intermittently shine on the terahertz detector), and the specific operation mode of the light shutter is not limited in this embodiment. This embodiment and the following embodiments will describe the present invention in detail by taking rotation as an example.
[0162] It should be understood that the light shutter is a device that can block terahertz light. There can be intermittent hollow apertures on the light shutter so that terahertz light can shine on a high-precision and high-sensitivity terahertz detector. When using the method of rotating the light shutter for light shielding, in order to enhance the generation speed of the serial number, the selected light shutter can have multiple apertures, and the styles of the apertures include but are not limited to circular, rectangular, square, or even serrated, etc.
[0163] It should be noted that the light-shielding control signal can be a PWM signal, and the processor can output a PWM signal with a certain duty cycle to control the light shutter to rotate at a certain rate, so as to generate an encryption key according to the change of the signal collected by the terahertz detector.
[0164] In a specific implementation, when the processor receives a request from the audio-video data receiving device, it generates an encryption request and a light-shielding control signal, sends the encryption request to the terahertz light source, and sends the light-shielding control signal to the light-shielding device.
[0165] Step S20: The terahertz detector collects the terahertz light and sends the generated collection signal to the processor.
[0166] It should be noted that when the terahertz light irradiates on the terahertz detector, it will cause the movement of the carriers in the detector, and then form an electron flow that can be collected by the circuit, that is, the collection signal.
[0167] It should be understood that a detection array or a detection board capable of collecting terahertz light is provided on the terahertz detector. The terahertz detector collects the terahertz light, generates a collection signal, and then sends the collection signal to the processor.
[0168] It should be noted that when the light-shielding device is in a light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light-shielding device is in a light-shielding state, the terahertz detector cannot collect the terahertz light.
[0169] It should be noted that when the terahertz detector collects the terahertz light and generates a collection signal, the processor can set the corresponding position to 1. When the terahertz light is blocked by the light-shielding device, the electron flow signal on the terahertz detector is very weak and cannot generate a collection signal. At this time, the processor can set the corresponding position to 0. Since the frequency of the collection signal is relatively high, within a certain signal collection period, different digital 0 / 1 serial numbers will be generated, and this serial number can be used as the encryption / decryption key for the audio-video data.
[0170] In a specific implementation, the terahertz detector collects the terahertz light and sends the generated collection signal to the processor.
[0171] Step S30: The processor generates an encryption key according to the collection signal and sends the encryption key to the encryption device.
[0172] It can be understood that when the encryption key is generated, the processor can send the key to the encryption device to encrypt the audio-video data to be encrypted.
[0173] In a specific implementation, the processor generates an encryption key according to the collection signal and sends the encryption key to the encryption device.
[0174] Step S40: The encryption device processes the encryption key and the audio-video data to be encrypted to obtain an encrypted file.
[0175] It should be noted that the method of processing, encrypting and transmitting the audio-video data to be encrypted can be:
[0176] a. Split the secret key in a certain way and intersperse it for transmission at the beginning, middle, and end of the data frames of each audio - video source respectively.
[0177] b. Perform simple operations (not limited to addition, subtraction, AND, and OR) on the audio - video metadata and the secret key sequence number, and finally distribute the encrypted data.
[0178] c. Regularly intersperse the secret key in the audio - video metadata at a certain audio - video timestamp or a certain number of frames for transmission.
[0179] d. Attach the secret key to the audio - video metadata, then calculate the CRC (Cyclic Redundancy Check Code), and attach the CRC to the beginning of the data or intersperse it in the data, and finally perform the transmission of the encrypted data.
[0180] Of course, it can also be encrypted by other methods to generate an encrypted file and then transmitted to the receiving device, and this embodiment does not limit this.
[0181] Furthermore, in order to facilitate the receiving device to judge the integrity of the audio - video data and the identity of the sending device, the step of the encryption device encrypting the audio - video data to be encrypted with the several groups of encryption keys to generate an encrypted file includes:
[0182] The encryption device inserts the encryption key into the data frames of the audio - video data to be encrypted to obtain a pre - encrypted file.
[0183] It should be noted that, in order to enhance the security during the transmission process, the sending device can perform destructive encryption on the audio - video data to be encrypted, and the encrypted file is split into several transmission data packets during the transmission process.
[0184] The encryption device adds a flag bit and a check code to the pre - encrypted file to generate an encrypted file.
[0185] It should be noted that before the encrypted audio - video data is transmitted, its encryption key will be encrypted immediately to generate a key data packet and transmitted to the receiving device. The encryption method can be to encrypt the encryption key using the receiving device ID and the start flag bit of the audio - video data to generate a key data packet.
[0186] It can be understood that the receiving device can judge the integrity of the received audio - video data through the CRC check code, and can identify the sending device and verify the continuity of the audio - video data through the receiving device ID and the start flag bit in the audio - video data.
[0187] It should be noted that the audio - video data packet is a data packet composed of a receiving device ID, an audio - video data number, and at least one encrypted data packet.
[0188] It should be understood that the audio - video data numbers start from 0 and increase sequentially until the end of a frame or the complete audio - video data stream within a preset time.
[0189] It should be noted that the encryption device can also make the first packet transmitted be the other party's ID and the starting flag bit of the audio - video data packet number, so that the receiving party can perform identity authentication and audio - video data continuity verification. A CRC check code is added to the packet tail to enhance data integrity.
[0190] In a specific implementation, the encryption device processes the encryption key and the audio - video data to be encrypted to obtain an encrypted file.
[0191] In this embodiment, the shutter forms a blocking state and a light - transmitting state for the terahertz light generated by the terahertz light source. In the light - transmitting state, the terahertz detector can receive the terahertz light to generate a collection signal; in the blocking state, the terahertz detector cannot collect the terahertz light and thus cannot generate a collection signal. The processor generates an encryption key according to the state of the collection signal transmitted by the terahertz detector, and uses the encryption key to encrypt the audio - video data to be encrypted, thereby generating an encrypted file and transmitting it to the receiving device. Since the terahertz light is blocked by the shutter to make the terahertz detector produce states of having and not having a collection signal, and the processor determines the state of the collection signal to generate the encryption key, the security of the audio - video data source is greatly improved, and the high - speed, stable and reliable audio - video transmission is also guaranteed.
[0192] Furthermore, the audio - video data encryption system further includes a sending module; the audio - video data encryption method further includes:
[0193] The sending module modulates the encrypted file to the terahertz frequency band and sends the encrypted file to the audio - video data receiving device through a terahertz antenna.
[0194] It can be understood that the above - mentioned terahertz frequency band refers to 100 GHz - 10 THz, which is a frequency band much higher than 5G. When data is transmitted in the terahertz frequency band, the transmission speed is fast.
[0195] It should be noted that when the sending device transmits the encrypted file, it will send the encryption key to the receiving device. The receiving device can use the received encryption key and the encrypted file to perform reverse operations, thereby decrypting the audio - video data and synthesizing the data stream for playback.
[0196] Furthermore, in order to ensure that the audio - video is relayed within as small a range as possible in the local area network without the possibility of copyright infringement.
[0197] The above encrypted file also has a built-in destruction identifier. After the audio-visual data is decrypted and played, the audio-visual file will be automatically destroyed and cannot be rebroadcast or recorded.
[0198] In this embodiment, the sending module modulates the encrypted file to the terahertz frequency band and sends the encrypted file to the audio-visual data receiving device through a terahertz antenna. Since data is transmitted through terahertz waves, the transmission speed is extremely fast, reducing the time required during transmission.
[0199] Based on the above Figure 5 shown embodiment, a second embodiment of the audio-visual data encryption method of the present invention is proposed.
[0200] In order to obtain a more accurate acquisition signal, the terahertz detector includes: a detection module and a filtering module; the step in which the processor generates an encryption key according to the terahertz light collected by the terahertz detector and sends the encryption key to the encryption device includes:
[0201] The detection module generates an electron flow based on the internal carriers induced by the terahertz light and generates an acquisition signal according to the electron flow.
[0202] It can be understood that when the terahertz light passes through the aperture on the light shutter and is received by the detection module, it will cause the corresponding movement of the carriers of the terahertz detector, and then an electron flow is formed and processed by the circuit inside the terahertz detector (i.e., the filtering module). The final analog signal is collected by the analog input pin of the processor and set to digital 1 after analog-to-digital conversion.
[0203] It should be understood that the detection module also has a terahertz optoelectronic conversion electronic circuit system (such as the detection array, detection board, etc. mentioned above) that can convert terahertz light into an electrical signal to generate an analog signal when terahertz light is collected.
[0204] The filtering module amplifies and filters the acquisition signal to generate a processed acquisition signal.
[0205] It should be noted that the selected filtering module can be a high-pass filter with adjustable gain, high Q value, small insertion loss, and a center frequency matching the range of terahertz light. The filtering module can include a multi-stage amplification circuit, a negative feedback circuit, and a micro-current amplification module that can amplify the signal by about 60 times.
[0206] The processor generates an encryption key according to the change situation of the processed acquisition signal and sends the encryption key to the encryption device.
[0207] It can be understood that the processor can receive the processed acquisition signal sent by the filtering module through the analog input pin and set this position to digital 1 through analog-to-digital conversion.
[0208] It should be understood that if the processed acquisition signal is not received, this position will be set to the number 0.
[0209] In this embodiment, the detection module collects terahertz light to generate an acquisition signal, the filtering module amplifies and filters the acquisition signal, and then the processor processes the processed acquisition signal, thereby setting this position to the number 1. The processor generates a serial number containing 0 and 1 based on the state of whether the processed acquisition signal exists, and this serial number is the encryption key. Then the encryption key is sent to the encryption device to enable the encryption device to encrypt the audio and video data to be encrypted. Since the acquisition signal of terahertz light is amplified and filtered, and the encryption key is generated based on the processed acquisition signal, the accuracy of generating the encryption key is enhanced, and there are significant differences from common encryption methods, strengthening the security of the audio and video data.
[0210] It should be noted that in order to further enhance the security of audio and video transmission, before the step of the encryption device processing the encryption key and the audio and video data to be encrypted to obtain an encrypted file, the method further includes:
[0211] The processor changes the attribute of the light-shielding control signal at preset intervals, and the attribute of the light-shielding control signal is used to control the rotation speed of the light-shield to enable the processor to generate a key sequence.
[0212] It can be understood that when the audio and video duration is long, if a light-shield with a fixed rotation speed is used, the generated encryption keys will have a high repetition rate. Therefore, in order to generate different encryption keys in real time, the processor can change the attribute of the light-shielding control signal at preset intervals to change the rotation speed of the light-shield. The above-mentioned attribute of the light-shielding control signal is the duty cycle.
[0213] It should be understood that the above-mentioned preset interval can adopt different interval periods according to the actual situation, and the methods include but are not limited to the following:
[0214] a. Randomly adjust the duty cycle of the light-shielding control with each frame as the period (such as 30%, 50%, 80%, etc.), and then generate a key sequence that is different for each frame in real time.
[0215] b. Randomly adjust the duty cycle of the light-shielding control signal with n frames as the period (such as 25 frames, 30 frames, 50 frames) as the period, and then generate a key sequence that is different for n frames.
[0216] c. Randomly adjust the duty cycle of the light-shielding control signal with a fixed duration (such as 1s, 2s, 5s) as the period, and then generate a key sequence that is different at intervals of a fixed duration.
[0217] Correspondingly, the step of the encryption device processing the encryption key and the audio-video data to be encrypted to obtain an encrypted file includes:
[0218] The encryption device is further configured to split the key sequence to generate several groups of encryption keys.
[0219] It can be understood that when the encryption device receives the key sequence sent by the processor, it can evenly split the key sequence to generate n groups of encryption keys.
[0220] The encryption device encrypts the audio-video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
[0221] It should be understood that the audio-video to be encrypted contains N data frames, and one or more data frames can generate an encrypted data packet, and the number of groups of encryption keys is greater than the number of data frames.
[0222] It can be understood that each data frame can be encrypted through different groups of encryption keys to generate an encrypted file.
[0223] It should be noted that the above encryption methods for the audio-video data to be encrypted include but are not limited to the following methods:
[0224] a. For the purpose of achieving destructive encryption, when encrypting a data frame, the encryption key can be split into m parts again, and then the m parts are interspersed into the data frame at an average interval to obtain an encrypted data packet. Finally, a CRC calculation is performed on the encrypted data packet and the CRC check code is attached to the tail of the encrypted data packet.
[0225] b. When encrypting a data frame, a simple AND or OR operation is directly performed on the data and the encryption key, so that even if other terminals receive the data, they cannot parse and play it. The encryption key is evenly divided into two parts and added to the head and tail of the frame respectively to obtain an encrypted data packet. Finally, a CRC calculation is performed on the encrypted data packet and the CRC check code is attached to the tail of the encrypted data packet.
[0226] c. The encryption key is split in units of time and interspersed in multiple data frames to obtain an encrypted data packet.
[0227] The present invention will be described below by taking the key sequence size of 1000 bit generated with a preset period of 25 frames as an example.
[0228] The 40-bit unit is evenly divided into 25 groups of secret keys, which are respectively inserted into the data frame. In order to achieve the purpose of data destruction, each 40-bit data is further divided into 20 groups or 10 groups at 2-bit or 4-bit intervals and interspersed into the data frame at equal intervals to obtain an encrypted data packet. Finally, the encrypted data packet is subjected to CRC calculation and appended to the end of the encrypted data packet to obtain an encrypted file.
[0229] In this embodiment, the processor changes the attribute of the light-shielding control signal at preset intervals, thereby changing the rotation speed of the light-shielding device and increasing the complexity of the generated key sequence; and the key sequence is segmented by the encryption device to generate several groups of different encryption keys; the audio-visual data to be encrypted is encrypted with different encryption keys to generate an encrypted file. Encrypting the audio-visual data to be encrypted with different encryption keys further improves the security of the audio-visual data.
[0230] It should be noted that in this article, the terms "including", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or system including that element.
[0231] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.
[0232] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, 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 is stored in a storage medium (such as a read-only memory / random access memory, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0233] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly applied to other related technical fields, are equally included in the patent protection scope of the present invention.
Claims
1. An audio-video data encryption system, characterized in that, The system includes: a terahertz light source, a terahertz detector, a processor, and an encryption device; The terahertz light source is configured to generate terahertz light when receiving an encryption request; The terahertz detector is configured to collect the terahertz light and send the generated collection signal to the processor; The processor is configured to generate an encryption key according to the collection signal and send the encryption key to the encryption device; The encryption device is configured to process the encryption key and the audio-video data to be encrypted to obtain an encrypted file; The system further includes: a light shutter; The processor is configured to generate an encryption request and a light-shielding control signal when receiving a request from an audio-video data receiving device, send the encryption request to the terahertz light source, and use the light-shielding control signal to control the rotation of the light shutter to form a light-shielding state and a light-transmitting state; When the light shutter is in the light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light shutter is in the light-shielding state, the terahertz detector cannot collect the terahertz light; The terahertz detector includes: a detection module and a filtering module; The detection module is configured to trigger internal carriers to form an electron flow based on the terahertz light and generate a collection signal according to the electron flow; The filtering module is configured to amplify and filter the collection signal to generate a processed collection signal; The processor is further configured to generate an encryption key according to the change condition of the processed collection signal and send the encryption key to the encryption device; The processor is further configured to change the attribute of the light-shielding control signal at preset intervals, where the attribute of the light-shielding control signal is used to control the rotation speed of the light shutter so that the processor generates a key sequence and sends the key sequence to the encryption device; The encryption device is further configured to divide the key sequence to generate several groups of encryption keys; The encryption device is further configured to encrypt the audio-video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
2. The audio and video data encryption system according to claim 1, characterized in that, The encryption device is further configured to insert the encryption key into the data frame of the audio-video data to be encrypted to obtain a pre-encrypted file; The encryption device is further configured to add a flag bit and a check code to the pre-encrypted file to generate an encrypted file.
3. An audio-video data encryption method, characterized in that, The method is applied to the audio-video data encryption system as claimed in claim 1 or 2, and the method includes: The terahertz light source generates terahertz light when receiving an encryption request; The terahertz detector collects the terahertz light and sends the generated collection signal to the processor; The processor generates an encryption key according to the collection signal and sends the encryption key to the encryption device; The encryption device processes the encryption key and the audio-video data to be encrypted to obtain an encrypted file; Before the step that the terahertz light source generates terahertz light when receiving an encryption request, the method further includes: When the processor receives a request from the audio-video data receiving device, it generates an encryption request and a light-shielding control signal, sends the encryption request to the terahertz light source, and uses the light-shielding control signal to control the rotation of the light-shielding device to form a light-shielding state and a light-transmitting state; When the light-shielding device is in the light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light-shielding device is in the light-shielding state, the terahertz detector cannot collect the terahertz light; Before the step of generating terahertz light by the terahertz light source when receiving the encryption request, the method further includes: When the processor receives a request from the audio-video data receiving device, it generates an encryption request and a light-shielding control signal, sends the encryption request to the terahertz light source, and uses the light-shielding control signal to control the rotation of the light-shielding device to form a light-shielding state and a light-transmitting state; When the light-shielding device is in the light-transmitting state, the terahertz detector collects the terahertz light and generates a collection signal; when the light-shielding device is in the light-shielding state, the terahertz detector cannot collect the terahertz light; The terahertz detector includes: a detection module and a filtering module; the step of the processor generating an encryption key according to the terahertz light collected by the terahertz detector and sending the encryption key to the encryption device includes: The detection module induces internal carriers based on the terahertz light to form an electron flow, and generates a collection signal according to the electron flow; The filtering module amplifies and filters the collection signal to generate a processed collection signal; The processor generates an encryption key according to the change condition of the processed collection signal, and sends the encryption key to the encryption device; Before the step of the encryption device processing the encryption key and the audio-video data to be encrypted to obtain an encrypted file, the method further includes: The processor changes the attribute of the light-shielding control signal at preset intervals, and the attribute of the light-shielding control signal is used to control the rotation speed of the light-shielding device so that the processor generates a key sequence, and sends the key sequence to the encryption device; Correspondingly, the step of the encryption device processing the encryption key and the audio-video data to be encrypted to obtain an encrypted file includes: The encryption device divides the key sequence to generate several groups of encryption keys; The encryption device encrypts the audio-video data to be encrypted through the several groups of encryption keys to generate an encrypted file.
4. The audio and video data encryption method according to claim 3, wherein The step of the encryption device encrypting the audio-video data to be encrypted through the several groups of encryption keys to generate an encrypted file includes: The encryption device inserts the encryption key into the data frame of the audio-video data to be encrypted to obtain a pre-encrypted file; The encryption device adds a flag bit and a check code to the pre-encrypted file to generate an encrypted file.
Citation Information
Patent Citations
Audio and video transmission system based on quantum encryption
CN110535634A
Photoelectric sampling device, meter and photoelectric sampling method
CN113503932A