Image communication digital media method and system
By establishing a quantum channel in the image communication system and using the quantum key distribution protocol to generate the key, combined with blockchain technology, the problems of complex key management, insufficient security and lack of copyright protection mechanism in the existing technology are solved, and efficient and secure image data transmission and copyright protection are achieved.
Patent Information
- Application Number
- CN202510034632.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-04-04
AI Technical Summary
In the existing image communication technology, key management is complex, insufficient security and lack of copyright protection mechanisms, making it difficult to effectively deal with quantum computing and network security threats.
By establishing a quantum channel between the sending end and the receiving end, the encryption key and decryption key are generated using the quantum key distribution protocol, and the decryption key is transmitted using quantum communication technology, combining blockchain technology for data transmission and copyright protection.
It realizes a theoretically unbreakable secure communication mechanism, ensures the security and integrity of data transmission, and realizes the secure storage and transparent management of copyright information through blockchain.
Smart Images

Figure CN119766452A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum communication technology, and in particular to an image communication digital media method and system. Background Art
[0002] In recent years, with the rapid development of information technology, the field of image communication has made significant progress. Traditional image transmission methods mainly rely on classic encryption technology and Internet protocols to ensure the security and integrity of data. However, these methods have gradually shown their limitations in the face of increasingly complex network security threats.
[0003] On the one hand, although classical encryption algorithms (such as AES and RSA) are widely used to protect image data, their security may be challenged by the development of quantum computing technology. On the other hand, existing image transmission systems usually lack effective metadata management and copyright protection mechanisms, making digital media content vulnerable to unauthorized copying and distribution. In addition, key management in traditional schemes is complex and has security risks, especially in long-distance transmission, where the key exchange process is vulnerable to man-in-the-middle attacks. Summary of the invention
[0004] In view of the above existing problems, the present invention is proposed.
[0005] Therefore, the present invention provides a digital media method for image communication to solve the problems of complex key management, insufficient security and lack of copyright protection mechanism in existing image communication, and ensures the security and integrity of data transmission through quantum key distribution and blockchain technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: In a first aspect, the present invention provides a digital media method for image communication, which includes capturing an original image, performing preprocessing, generating image data and metadata, establishing a quantum channel between a transmitting end and a receiving end, and generating an encryption key and a decryption key through a quantum key distribution protocol; The generated decryption key is transmitted to the receiving end by using quantum communication technology, and the image data and metadata are encrypted by the encryption key to obtain the encrypted image data and metadata; Transmit the encrypted image data and metadata through the quantum channel and obtain the quantum decryption key at the receiving end; Decrypting the received image data using a quantum decryption key to obtain decrypted image data and metadata thereof; The decrypted image data and its metadata are transferred to the blockchain.
[0007] As a preferred solution of the digital media method for image communication of the present invention, the process of capturing the original image, preprocessing, and generating image data and metadata includes the following steps: Scan the image using a high-resolution camera and scanner equipment to obtain the original image; The original image is denoised using the denoising function of Photoshop, the contrast of the original image is improved by applying histogram equalization, the edge of the original image is enhanced by using the Laplacian operator, and the metadata associated with the original image is generated by using ExifTool to obtain the preprocessed image data and metadata; The preprocessed image data and metadata are used in a convolutional neural network to generate feature vectors of the image data and metadata.
[0008] As a preferred solution of the digital media method for image communication of the present invention, wherein: the step of establishing a quantum channel between the transmitting end and the receiving end and generating an encryption key and a decryption key through a quantum key distribution protocol comprises the following steps: ID Quantique Clavis2 QKD was selected as the quantum communication device, and the GPS synchronized clock was used to adjust the time base of the transmitter and receiver to be consistent; Using the BB84 protocol, the transmitter generates and sends quantum bits to the receiver through a photon source to establish a quantum channel; Through a TLS / SSL encrypted Internet connection, both parties publicly compare their respective bases and select the consistent parts to form an encryption key, expressed as, ; in, is the generated encryption key, is the time cycle, is the decay constant of the encryption key, is the time variable, is the time decay function for encryption key generation, is the encryption key GPS synchronized clock signal strength over time function, is the total number of qubits involved in the basis comparison, is the qubit number index, It is The importance weight of a quantum bit in the generation of encryption keys, is the basis alignment function, is the encryption key The selection basis of qubits, is a binary string with low-density parity check code applied ; Apply low-density parity check code LDPC and Toeplitz matrix hash function to generate the final decryption key, expressed as, ; in, is the generated decryption key, is the decay constant of the decryption key, is the time decay function for decryption key generation, is a function of the decryption key GPS synchronized clock signal strength over time, It is The importance weight of a quantum bit in the generation of decryption keys, is the decryption key The selection basis of qubits, is the Toeplitz matrix hash function, is the original key, From the original key The generated intermediate key.
[0009] As a preferred solution of the digital media method for image communication of the present invention, wherein: the generated decryption key is transmitted to the receiving end by using quantum communication technology, and the image data and metadata are encrypted by the encryption key to obtain the encrypted image data and metadata, including the following steps: Through the established quantum channel, according to the BB84 protocol, the sender selects the basis encoding quantum bits and sends them to the receiver through the quantum channel. Each quantum bit carries the decryption key information. The receiving end independently selects a basis to measure the received quantum state. Through a TLS / SSL encrypted Internet connection, both parties publicly compare their respective basis selections, select the consistent parts to form the final decryption key, and calculate and compare the hash value of the decryption key to verify that the sender and the receiver have the same decryption key. Configure the AES-256 encryption library at the sending end, use advanced encryption AES-256, and according to the AES-256 requirements, use the key extension algorithm to extend the length of the quantum key. Use the generated encryption key to encrypt the preprocessed image data and metadata to obtain the encrypted image data and metadata.
[0010] As a preferred solution of the digital media method for image communication of the present invention, the encrypted image data and metadata are transmitted through a quantum channel, and a quantum decryption key in a receiving end is obtained, including the following steps: Divide the encrypted image data and metadata into data blocks, and transmit the encrypted image data and metadata block by block through the quantum channel; During the transmission process, after each data block is transmitted, the sender waits for the confirmation message from the receiver. If it is received, it will continue to transmit the next data block. If it is not received, it will resend the data block. When the quantum state reaches the receiving end, the basis is independently selected for measurement, and the decryption key in the receiving end is obtained and stored in the memory.
[0011] As a preferred solution of the digital media method for image communication of the present invention, the method of decrypting the received image data by using a quantum decryption key to obtain the decrypted image data and its metadata includes the following steps: The receiving end prepares the decoding software environment, and uses the quantum decryption key received at the receiving end to implement AES-256 decryption using the PyCryptodome library to obtain the decrypted image data and metadata, expressed as, ; in, is the decrypted image data, is the information filtering function, is the encrypted image data, is the total number of feature vectors of image data and metadata, is the feature vector index of image data and metadata, It is feature vector of image data and metadata, is a normalization function.
[0012] As a preferred solution of the digital media method for image communication of the present invention, wherein: the decrypted image data and its metadata are transmitted to the blockchain, including the following steps: Using Hyperledger Fabric as a blockchain platform, new blocks are created to record basic information of the image and related copyright information; Write a Solidity smart contract to transfer the decrypted image data and metadata to the blockchain. When a new image is uploaded, a new block is created on the blockchain for the new image to be stored.
[0013] In a second aspect, the present invention provides an image communication digital media system, including an image acquisition module, a data encryption module, a data transmission module, a data decryption module and a blockchain recording module; The image acquisition module is used to capture the original image, perform preprocessing, generate image data and metadata, establish a quantum channel between the transmitting end and the receiving end, and generate encryption keys and decryption keys through the quantum key distribution protocol; The data encryption module transmits the generated decryption key to the receiving end by using quantum communication technology, encrypts the image data and metadata by using the encryption key, and obtains the encrypted image data and metadata. The data encryption module is used for; The data transmission module is used to transmit the encrypted image data and metadata through the quantum channel and obtain the quantum decryption key in the receiving end; The data decryption module is used to decrypt the received image data using a quantum decryption key to obtain the decrypted image data and its metadata; The blockchain recording module is used to transmit the decrypted image data and its metadata to the blockchain.
[0014] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the image communication digital media method as described in the first aspect of the present invention is implemented.
[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the image communication digital media method as described in the first aspect of the present invention.
[0016] The beneficial effects of the present invention are as follows: by capturing the original image and performing preprocessing, image quality is optimized; by establishing a quantum channel between the transmitting end and the receiving end and using the quantum key distribution protocol to generate encryption and decryption keys, a theoretically unbreakable secure communication mechanism is implemented; by utilizing quantum communication technology to transmit the decryption key and using the encryption key to encrypt the image data and metadata, secure key delivery and high data confidentiality are achieved; by transmitting the encrypted image data and metadata through the quantum channel and ensuring that the receiving end obtains the quantum decryption key, efficient and secure data transmission is achieved; by decrypting the received image data using the quantum decryption key, accurate data recovery and verification are achieved; by uploading the decrypted image data and its metadata to the blockchain, secure storage and transparent management of copyright information are achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0018] Figure 1 This is a flow chart of the digital media method for image communication in Example 1.
[0019] Figure 2 This is a module diagram of the image communication digital media system in Example 1. DETAILED DESCRIPTION
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0021] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0022] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0023] Example 1, reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and which provides an image communication digital media method, comprising the following steps: S1. Capture the original image, perform preprocessing, and generate image data and metadata, as follows: Select a high-resolution camera and adjust the device settings, including autofocus, white balance, and ISO sensitivity, for different scenarios. Use the camera to shoot and the scanner to scan the target object to obtain the original image.
[0024] Import the captured original image into Adobe Photoshop software, select filter options, noise options, reduce noise options, adjust brightness details, color details and reduce white parameters to remove random noise in the original image while maintaining the details of the image.
[0025] In Photoshop, select the histogram option in the window to display the tonal distribution of the current image, and then choose to expand the brightness range of the image to increase the contrast and make the image clearer.
[0026] Download and install the ExifTool tool, use commands in the command line interface to add metadata to the image to obtain the preprocessed image data and metadata, and save the preprocessed image data in high-quality JPEG format.
[0027] The preprocessed image data and metadata are processed using a convolutional neural network through multiple convolutional layers and pooling layers to obtain high-level features of the image data and metadata and generate feature vectors of the image data and metadata.
[0028] S2. Establishing a quantum channel between the transmitting end and the receiving end, and generating encryption keys and decryption keys through a quantum key distribution protocol, including the following steps: ID Quantique Clavis2 QKD is selected as the quantum communication device. Clavis2 devices are installed at the sending end (Alice) and the receiving end (Bob) respectively, and the normal operation of the devices is ensured. A high-precision GPS synchronized clock is connected to the Clavis2 device to ensure that the time base of the sending end and the receiving end is completely consistent.
[0029] At the sending end (Alice), the BB84 protocol is started. Alice generates a sufficiently long random qubit string as potential key material. For each qubit, Alice randomly selects one of two orthogonal basis vectors to encode the qubit. Based on the selected basis vector and qubit value, Alice prepares the corresponding quantum state and sends it to the receiving end through the quantum channel.
[0030] After receiving each quantum state, Bob independently and randomly selects one of the same two basis vectors for measurement. Bob records the results of each measurement and the selected basis vector, and uses TLS / SSL encrypted Internet connection to establish a secure classical communication channel for non-sensitive information exchange between Alice and Bob. Through the classical channel, Alice and Bob publicly disclose the basis vectors they each select for each quantum state, but do not disclose the specific quantum bit values. Both parties only retain the quantum bit values corresponding to the quantum states that select the same basis vector. These quantum bit values will become the preliminary shared encryption key, expressed as, ; in, is the generated encryption key used to encrypt image data and metadata. is the time period, which indicates the total length of time from the start of clock synchronization to the completion of key generation. is the decay constant of the encryption key, which is used to control the decay speed. is a time variable, used to represent a point in time, is the time decay function for encryption key generation, used to simulate the time delay effect, It is a function of the encryption key GPS synchronized clock signal strength over time, which is used to ensure that the time base of the sender and the receiver is consistent. is the total number of qubits involved in the basis comparison, is the quantum bit number index, each Corresponding to a quantum bit, It is The importance weight of the quantum bits in the generation of encryption keys is used for weighted summation, is a basis comparison function used to evaluate whether the basis selected by the sender and the receiver is consistent. is the encryption key The selection basis of qubits, is a binary string with low-density parity check code applied , used for error correction; Low-density parity-check code (LDPC) is applied for error correction, and privacy amplification technology is used to reduce any possible information leakage, improve the security and reliability of the key, and the Toeplitz matrix hash function is used to generate the final decryption key, which is expressed as, ; in, is the generated decryption key, is the decay constant of the decryption key, which is used to control the decay speed. is the time decay function for decryption key generation, used to simulate the time delay effect, It is a function of the decryption key GPS synchronized clock signal strength over time, which is used to ensure that the time base of the sender and the receiver is consistent. It is The importance weight of the quantum bits in the generation of decryption keys is used for weighted summation, is the decryption key The selection basis of qubits, is a Toeplitz matrix hash function, which is used to enhance the security of the key. is the original key, From the original key The generated intermediate key.
[0031] S3, transmitting the generated decryption key to the receiving end by using quantum communication technology, encrypting the image data and metadata by using the encryption key, and obtaining the encrypted image data and metadata, including the following steps: The quantum channel is started at the sending end, and the single photon source and quantum communication components are prepared. According to the BB84 protocol, the sending end randomly selects basis-coded quantum bits and sends them to the receiving end through the quantum channel. Each quantum bit carries part of the decryption key information, and the hash value of the key is calculated and compared to ensure that the sending and receiving ends have the same decryption key.
[0032] According to the requirements of the AES-256 algorithm, the decryption key is extended to 256 bits using the key expansion algorithm Rijndael key schedule. The AES-256 encryption library OpenSSL is configured on the sending end, the encryption mode GCM mode and necessary parameters (such as IV vector and label) are set, and the preprocessed image data and metadata are read from the storage medium to ensure that the data format is correct and complete.
[0033] Use the generated encryption key to initialize the AES-256 encryption engine, ensure that the encryption parameters are set correctly, call the AES-256 encryption function to encrypt the image data and metadata block by block. For the AES-GCM mode, additional authentication data (such as metadata) is required to verify the authenticity and integrity of the data. Save the encrypted image data and metadata to the local disk and cloud storage service location.
[0034] S4, transmitting the encrypted image data and metadata through the quantum channel, and obtaining the quantum decryption key at the receiving end, including the following steps: Set transmission parameters, including block size and transmission rate, to optimize transmission efficiency. At the same time, ensure that the TLS / SSL encrypted classical Internet connection is used for auxiliary information exchange, and divide the encrypted image data and metadata into data blocks of appropriate size to facilitate block-by-block transmission through the quantum channel. Each data block should contain sufficient redundant information to support subsequent error detection and correction, and embed a cyclic redundancy check (CRC) in each data block to detect errors that may occur during transmission.
[0035] Use network monitoring tools to track the status of the quantum channel in real time, including signal strength and bit error rate indicators. According to the monitoring results, dynamically adjust the transmission parameters, such as reducing the transmission rate and increasing redundancy, to adapt to network fluctuations and ensure data integrity. Transmit the encrypted image data and metadata block by block through the quantum channel to ensure that each block of data can reach the receiving end safely. After each data block is transmitted, the sender waits for the confirmation message from the receiving end. If a negative confirmation (NACK) is received, the data block is resent; if a positive confirmation (ACK) is received, the next data block is transmitted.
[0036] The received quantum decryption key is securely stored in the hardware security module (HSM) and memory to prevent unauthorized access. The receiving end receives the encrypted image data and metadata transmitted through the quantum channel block by block to ensure that each data block is correct. For the received data blocks, a pre-defined error detection and correction mechanism (such as LDPC decoding) is applied to ensure the integrity and accuracy of the data. After each data block is received, a confirmation message (ACK / NACK) is sent to the sending end to ensure that the transmission process proceeds smoothly. All received data blocks are reassembled to restore the complete encrypted image data and metadata.
[0037] S5. Decrypt the received image data using the quantum decryption key to obtain the decrypted image data and its metadata, including the following steps: Configure the Python environment, ensure that all dependencies are correctly installed, and be able to import the required libraries normally, extract the previously received quantum decryption key from the secure storage and load it into memory.
[0038] According to the requirements of AES-256, the Cipher module in the PyCryptodome library is used to initialize the decryption engine. The encryption mode (such as GCM mode) and other necessary parameters (such as IV vector, tag) are set. According to the requirements of the AES-256 algorithm, the decryption key is expanded to 256 bits using a key expansion algorithm (such as Rijndael key schedule), and the final key for decryption is generated. The encrypted image data and metadata are read from the storage medium, expressed as, ; in, is the decrypted image data, is an information filtering function used to remove redundant information and optimize image quality. It is the encrypted image data, which is used to pass to the complex information filtering function. is the total number of feature vectors of image data and metadata, used for normalization, It is the feature vector index of image data and metadata, which is used to identify the sequence number of the feature vector of image data and metadata. It is The feature vector of image data and metadata is used for normalization. feature vector of image data and metadata, is a normalization function used to normalize the feature vector of each image data and metadata Perform normalization.
[0039] Call the AES-256 decryption function to decrypt each data block to ensure that each data block is processed correctly. For the AES-GCM mode, additional authentication data (such as metadata) is required to verify the authenticity and integrity of the data. The decrypted data is reassembled into the original image data and metadata according to the predefined structure. The decrypted image data and metadata are saved to the specified location, and the log information of the decryption operation is recorded, including the time, participants and key ID, for future auditing and tracking.
[0040] S6. The decrypted image data and its metadata are transmitted to the blockchain, including the following steps: Install Hyperledger Fabric binaries and Fabric Samples, use the cryptogen tool to generate the required certificates and private keys, use the configtxgen tool to generate the genesis block and channel configuration transaction files, start the blockchain network, start all nodes (Orderer, Peer), ensure they are running properly, create and join channels, and ensure that all participants are communicating on the same channel.
[0041] Configure the Fabric CA server to generate and manage identity certificates, register an admin user, and register users for each organization, log in with the admin user, and issue certificates to new users.
[0042] Use Go language to define functions for processing image data and metadata, including functions for uploading images, querying image information, and verifying copyright. Package the chaincode and install it on the Peer node. Use the peer chaincode instantiate command to instantiate the chaincode and ensure that the chaincode is activated in the channel.
[0043] Create a new block to record the basic information and copyright information of the image, and write a Solidity smart contract to transfer the decrypted image data and metadata to the blockchain.
[0044] This embodiment also provides an image communication digital media system, including: an image acquisition module, a data encryption module, a data transmission module, a data decryption module and a blockchain recording module; The image acquisition module is used to capture the original image, perform preprocessing, generate image data and metadata, establish a quantum channel between the sending end and the receiving end, and generate encryption keys and decryption keys through the quantum key distribution protocol; the data encryption module transmits the generated decryption key to the receiving end using quantum communication technology, encrypts the image data and metadata using the encryption key, and obtains the encrypted image data and metadata; the data transmission module is used to transmit the encrypted image data and metadata through the quantum channel and obtain the quantum decryption key in the receiving end; the data decryption module is used to decrypt the received image data using the quantum decryption key to obtain the decrypted image data and its metadata; the blockchain recording module is used to transmit the decrypted image data and its metadata to the blockchain.
[0045] This embodiment also provides a computer device suitable for the case of the image communication digital media method, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the image communication digital media method proposed in the above embodiment.
[0046] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0047] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for realizing digital media for image communication proposed in the above embodiment is realized. The storage medium can be realized by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0048] In summary, the present invention optimizes image quality by capturing the original image and performing preprocessing, realizes a theoretically unbreakable secure communication mechanism by establishing a quantum channel between the transmitting end and the receiving end and using the quantum key distribution protocol to generate encryption and decryption keys, realizes the secure transmission of keys and high confidentiality of data by utilizing quantum communication technology to transmit decryption keys and using encryption keys to encrypt image data and metadata, realizes efficient and secure data transmission by transmitting encrypted image data and metadata through the quantum channel and ensuring that the receiving end obtains the quantum decryption key, realizes accurate data recovery and verification by decrypting the received image data with the quantum decryption key, and realizes secure storage and transparent management of copyright information by uploading the decrypted image data and its metadata to the blockchain.
[0049] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A digital media method for image communication, characterized in that: include, Capture the original image, perform preprocessing, generate image data and metadata, establish a quantum channel between the sender and the receiver, and generate encryption and decryption keys through the quantum key distribution protocol; The generated decryption key is transmitted to the receiving end by using quantum communication technology, and the image data and metadata are encrypted by the encryption key to obtain the encrypted image data and metadata; Transmit the encrypted image data and metadata through the quantum channel and obtain the quantum decryption key at the receiving end; Decrypting the received image data using a quantum decryption key to obtain decrypted image data and metadata thereof; The decrypted image data and its metadata are transferred to the blockchain.
2. The image communication digital media method according to claim 1, characterized in that: The method of capturing the original image, performing preprocessing, and generating image data and metadata includes the following steps: Scan the image using a high-resolution camera and scanner equipment to obtain the original image; The original image is denoised using the denoising function of Photoshop, the contrast of the original image is improved by applying histogram equalization, the edge of the original image is enhanced by using the Laplacian operator, and the metadata associated with the original image is generated by using ExifTool to obtain the preprocessed image data and metadata; The preprocessed image data and metadata are used in a convolutional neural network to generate feature vectors of the image data and metadata.
3. The image communication digital media method according to claim 2, characterized in that: The step of establishing a quantum channel between the transmitting end and the receiving end and generating an encryption key and a decryption key through a quantum key distribution protocol comprises the following steps: ID Quantique Clavis2 QKD was selected as the quantum communication device, and the GPS synchronized clock was used to adjust the time base of the transmitter and receiver to be consistent; Using the BB84 protocol, the transmitter generates and sends quantum bits to the receiver through a photon source to establish a quantum channel; Through a TLS / SSL encrypted Internet connection, both parties publicly compare their respective bases and select the consistent parts to form an encryption key, expressed as, ; in, is the generated encryption key, is the time cycle, is the decay constant of the encryption key, is the time variable, is the time decay function for encryption key generation, is the encryption key GPS synchronized clock signal strength over time function, is the total number of qubits involved in the basis comparison, is the qubit number index, It is The importance weight of a quantum bit in the generation of encryption keys, is the basis alignment function, is the encryption key The selection basis of qubits, is a binary string with low-density parity check code applied ; Apply low-density parity check code LDPC and Toeplitz matrix hash function to generate the final decryption key, expressed as, ; in, is the generated decryption key, is the decay constant of the decryption key, is the time decay function for decryption key generation, is a function of the decryption key GPS synchronized clock signal strength over time, It is The importance weight of a quantum bit in the generation of decryption keys, is the decryption key The selection basis of qubits, is the Toeplitz matrix hash function, is the original key, From the original key The generated intermediate key.
4. The image communication digital media method according to claim 3, characterized in that: The generated decryption key is transmitted to the receiving end by using quantum communication technology, and the image data and metadata are encrypted by the encryption key to obtain the encrypted image data and metadata, including the following steps: Through the established quantum channel, according to the BB84 protocol, the sender selects the basis encoding quantum bits and sends them to the receiver through the quantum channel. Each quantum bit carries the decryption key information. The receiving end independently selects a basis to measure the received quantum state. Through a TLS / SSL encrypted Internet connection, both parties publicly compare their respective basis selections, select the consistent parts to form the final decryption key, and calculate and compare the hash value of the decryption key to verify that the sender and the receiver have the same decryption key. Configure the AES-256 encryption library at the sending end, use advanced encryption AES-256, and according to the AES-256 requirements, use the key extension algorithm to extend the length of the quantum key. Use the generated encryption key to encrypt the preprocessed image data and metadata to obtain the encrypted image data and metadata.
5. The image communication digital media method according to claim 4, characterized in that: The encrypted image data and metadata are transmitted through a quantum channel, and a quantum decryption key is obtained at the receiving end, including the following steps: Divide the encrypted image data and metadata into data blocks, and transmit the encrypted image data and metadata block by block through the quantum channel; During the transmission process, after each data block is transmitted, the sender waits for the confirmation message from the receiver. If it is received, it will continue to transmit the next data block. If it is not received, it will resend the data block. When the quantum state reaches the receiving end, the basis is independently selected for measurement, the decryption key in the receiving end is obtained, and stored in the memory.
6. The image communication digital media method according to claim 5, characterized in that: The method of decrypting the received image data by using the quantum decryption key to obtain the decrypted image data and its metadata includes the following steps: The receiving end prepares the decoding software environment and uses the quantum decryption key received at the receiving end to decrypt AES-256 to obtain the decrypted image data and metadata, which are expressed as, ; in, is the decrypted image data, is the information filtering function, is the encrypted image data, is the total number of feature vectors of image data and metadata, is the feature vector index of image data and metadata, It is feature vector of image data and metadata, is a normalization function.
7. The digital media method for image communication according to claim 6, characterized in that: The method of transmitting the decrypted image data and its metadata to the blockchain includes the following steps: Using Hyperledger Fabric as a blockchain platform, new blocks are created to record basic information of the image and related copyright information; Write a Solidity smart contract to transfer the decrypted image data and metadata to the blockchain. When a new image is uploaded, a new block is created on the blockchain for the new image to be stored.
8. An image communication digital media system, based on the image communication digital media method according to any one of claims 1 to 7, characterized in that: Including image acquisition module, data encryption module, data transmission module, data decryption module and blockchain recording module; The image acquisition module is used to capture the original image, perform preprocessing, generate image data and metadata, establish a quantum channel between the transmitting end and the receiving end, and generate encryption keys and decryption keys through the quantum key distribution protocol; The data encryption module transmits the generated decryption key to the receiving end using quantum communication technology, encrypts the image data and metadata using the encryption key, and obtains the encrypted image data and metadata; The data transmission module is used to transmit the encrypted image data and metadata through the quantum channel and obtain the quantum decryption key in the receiving end; The data decryption module is used to decrypt the received image data using a quantum decryption key to obtain the decrypted image data and its metadata; The blockchain recording module is used to transmit the decrypted image data and its metadata to the blockchain.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the image communication digital media method described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the image communication digital media method according to any one of claims 1 to 7 are implemented.