Quantum block chain system for image digital copyright protection in consumer electronics

Through the quantum blockchain system and the quantum commissioned proof of stake consensus algorithm, the security and efficiency problems of classic blockchain under the threat of quantum computing are solved, and efficient protection of consumer electronic picture copyright is achieved, resisting quantum attacks and ensuring complete information sex.

CN119167330AInactive Publication Date: 2024-12-20NANJING UNIV OF INFORMATION SCI & TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411668532.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2024-12-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Classic blockchain technology faces the threat of quantum computing, and cannot effectively improve security, storage capacity and consensus algorithm efficiency, and is difficult to adapt to the digital copyright protection needs of images in consumer electronics.

Method used

The quantum blockchain system is adopted, including data initialization module, transaction release module, identity authentication module, transaction verification module, selection of representative node module and creation of block module, and the quantum delegated proof of stake consensus algorithm and controlled Z operation are used to pass quantum secrets. Key and particle entangled states realize identity verification and transaction verification, filter malicious nodes, and improve the security and efficiency of blockchain.

Benefits of technology

Effectively resist intercept-retransmission attacks, entangled measurement attacks and impersonation attacks, ensure the integrity and consistency of copyright information, enhance the robustness of quantum attacks, and achieve efficient digital image copyright protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119167330A_ABST
    Figure CN119167330A_ABST
Patent Text Reader

Abstract

The invention discloses a quantum block chain system for image digital copyright protection in consumer electronics in the technical field of quantum block chains. The quantum block chain system comprises a data initialization module, an initialization node and a quantum key, the release transaction module initiates transactions and broadcasts the transactions to other nodes; the identity authentication module verifies the identity of the node initiating the transaction; the transaction verification module is used for verifying the validity of the transaction information and the originality of the image needing digital copyright protection, and adding the valid transaction information to a to-be-packaged transaction pool; the representative node selection module is used for selecting representative nodes; creating a block module, packaging the effective transaction information into blocks, and broadcasting the blocks to other nodes; and the block adding module is used for storing blocks. The block authentication method has good security, effectively resists interception-retransmission attacks, entanglement measurement attacks, third-party attacks and pretending attacks, stores complete copyright information, effectively prevents external eavesdropping, and improves block authentication and uplink efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a quantum blockchain system for protecting digital copyright of images in consumer electronics, belonging to the technical field of quantum blockchain. Background Art

[0002] With the rapid development of Internet of Things technology, the diversity and quantity of consumer electronic products and services have increased dramatically, and a considerable number of digital image works have not only important commercial value, but also personal privacy of users. These digital images are often used, copied or disseminated by malicious users without authorization, which often infringes the copyright of the digital image owner and leads to the leakage of their personal privacy. However, the centralized digital image copyright protection method based on encryption not only requires a large amount of computing, communication and storage resources, but also is not conducive to adapting to the distributed Internet of Things application environment in consumer electronics; the method based on digital watermarking requires the establishment of a trusted third party, which may lead to industry monopoly and technical barriers; and the blockchain, as a distributed database, can provide a new collaborative trust paradigm in a multi-party environment, and has natural advantages in solving the problem of digital image copyright protection: first, decentralization is an inherent feature of the blockchain, which means that the copyright of the digital image must be verified by all nodes before it can be written into the block, which helps to avoid the limitation of a single decision-making power; second, once the copyright information is verified and added to the blockchain, it will be permanently stored to ensure the reliability, stability and traceability of the copyright; in addition, the blockchain can provide accurate timestamps and tamper-proof proof of ownership. Therefore, given the high value, privacy, and massive nature of images in consumer electronics, blockchain technology is more suitable for solving the problem of digital copyright protection of images in consumer electronics.

[0003] The security of classic blockchain technology and its consensus algorithm mainly relies on classic cryptographic algorithms. The consensus mechanisms in blockchain, such as proof of work and proof of stake, rely on hash rate to compete for bookkeeping rights. With the continuous development of Shor's algorithm, Grover's algorithm and quantum computer hardware, users with quantum computers have an advantage in calculating hash values ​​compared to ordinary users. Malicious attackers will monopolize the mining of new blocks, making it impossible for creators to fairly and effectively record the copyright information of digital works in the blockchain.

[0004] Quantum blockchain technology uses quantum cryptography, quantum superposition, quantum entanglement, quantum randomness and uncertainty to improve the efficiency of blockchain and resist attacks from quantum computers. Although some basic quantum blockchain designs and solutions have been proposed, the high value, privacy and massive nature of images in consumer electronics require quantum blockchain solutions with higher security and larger storage capacity, as well as efficient consensus algorithms that can resist quantum attacks.

[0005] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgement or any form of suggestion that the information constitutes the prior art already known to ordinary technicians in this field. Summary of the invention

[0006] The technical problem to be solved by the present invention is: how to solve the quantum computing threat faced by classical blockchain technology, improve security, storage capacity and consensus algorithm efficiency, so as to meet the needs of digital copyright protection of pictures in consumer electronics.

[0007] In order to solve the above technical problems, the present invention is implemented by adopting the following technical solutions.

[0008] The present invention provides a quantum blockchain system for protecting digital copyright of images in consumer electronics, characterized in that it includes the following modules:

[0009] Data initialization module, used to initialize nodes and quantum keys in the quantum blockchain network;

[0010] A transaction publishing module is used to initiate transactions using nodes in the quantum blockchain network and broadcast transactions to other nodes in the quantum blockchain network;

[0011] The identity authentication module is used to verify the identity of the node initiating the transaction using the quantum delegated proof-of-stake consensus algorithm and obtain the node that has passed the identity authentication;

[0012] The transaction verification module is used to verify the validity of the transaction information of the node that has passed the identity verification and the originality of the image that needs digital copyright protection, obtain the node that has passed the transaction verification and the valid transaction information and add the valid transaction information to the transaction pool to be packaged;

[0013] Select the representative node module to calculate the node behavior weight ratio through the block generation behavior of the transaction-verified node, filter out malicious or faulty nodes, and use the quantum delegated proof-of-stake consensus algorithm to select a group of representative nodes with block packaging authority;

[0014] Create a block module, which is used to use the representative node to package the transactions containing valid transaction information in the transaction pool to be packaged into blocks, and broadcast them to other nodes in the quantum blockchain network;

[0015] Add a block module to verify the validity of the received blocks through block verification, and use controlled Z operations to link the verified blocks to the local copy of the blockchain for storage.

[0016] Further, the data initialization module is configured to perform the following operations:

[0017] Initialize nodes in the quantum blockchain network;

[0018] The QKD protocol is used to distribute a length of The quantum key of represents a positive integer;

[0019] Initialize the quantum key.

[0020] Furthermore, the transaction publishing module is also configured to perform the following actions:

[0021] Transactions are initiated using nodes in the quantum blockchain network, and the copyright information of the image that requires digital copyright protection is used as additional information of the transaction. The additional information of the transaction is broadcast along with the transaction to other nodes in the quantum blockchain network using the distribution of quantum keys.

[0022] Furthermore, the identity authentication module is configured to perform the following actions:

[0023] After receiving the transaction, other nodes in the quantum blockchain network use the quantum delegated proof-of-stake consensus algorithm to send an identity authentication request to the node that initiated the transaction. The identity authentication process needs to be controlled by the third-party node Charlie to obtain the node that has passed the identity authentication. Specifically, the following actions are performed:

[0024] (1) Using the third-party node Charlie, randomly select Bell states form three groups of Bell states , the three groups of Bell states The result is obtained by adding the bit strings corresponding to the Bell states at the same position in the modulo 2 addition. To save, represents the number of Bell states in each group, ;

[0025] (2) Using the third-party node Charlie, The first particle of the Bell state is divided into the first particle sequence , the second particle is divided into the second particle sequence , and obtain six particle sequences and ; The third-party node Charlie holds the particle sequence and , respectively in the particle sequence Embed bait particles, corresponding to the particle sequence , the particle sequence and Send to the client, the particle sequence and Sent to the server, where ;

[0026] (3) Receive the particle sequence on the server , and the client receives the particle sequence , Afterwards, the inserted bait particles are used to check the security of the quantum channel and the integrity of the particle sequence. Particle sequences that fail the security check of the quantum channel and the integrity check of the particle sequence are judged as failing the server-side identity authentication, and the received transaction is discarded; particle sequences that pass the security check of the quantum channel and the integrity check of the particle sequence are judged as passing the server-side identity authentication, and the client identity authentication continues;

[0027] (4) Use the server to retrieve the particle sequence and In decoy particles, holding particle sequence and ; Use the client to retrieve the particle sequence and In decoy particles, holding particle sequence and ;

[0028] (5) Use the client based on the key For a sequence of particles The first group of Bell states or contains particle sequences The third group of Bell states Execute the corresponding unitary transformation; use the server to calculate the key For a sequence of particles The second group of Bell states or contains particle sequences The third group of Bell states Perform the corresponding unitary transformation, where the key is the key between the client and the server. Represents the client, Indicates the server side;

[0029] (6) Using the third-party node Charlie, the client and server perform Bell state measurements on the particle sequence they hold, and obtain the third-party node measurement results respectively. , client measurement results , the server measurement results ; The client measurement results and the server measurement results and The corresponding classic bit sequence is sent to the third-party node Charlie, where Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of the particles are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of the particles are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of each particle;

[0030] (7) Use the third-party node Charlie to measure the results of the third-party nodes , client measurement results and server measurement results The corresponding classical bit sequence is in the same position. The result is obtained by adding the bit string modulo 2. ,if , it is determined that the client's identity authentication has been passed, otherwise it is determined that the client's identity authentication has not been passed and the received transaction is discarded;

[0031] (8) The node that initiates the transaction and passes the client's identity authentication is regarded as the authenticated node.

[0032] Furthermore, the transaction verification module is configured to perform the following actions:

[0033] Verify the validity of the transaction information of the authenticated node, including checking the field format of the transaction on the server side;

[0034] Verifying the originality of the image subject to digital copyright protection, including comparing a perceived hash value of the image subject to digital copyright protection in the authenticated node with a hash value of the image subject to digital copyright protection in a local blockchain copy;

[0035] Nodes that pass the quantum delegated proof-of-stake consensus algorithm that have passed both the validity verification of transaction information and the originality verification of images that require digital copyright protection will be considered as nodes that have passed transaction verification;

[0036] The server adds transactions containing valid transaction information to the transaction pool to be packaged and discards transactions that do not contain valid transaction information.

[0037] Further, the representative node selection module is configured to perform the following actions, wherein: represents the number of candidate nodes, Indicates the number of nodes that have passed transaction verification in the quantum blockchain network:

[0038] Using the quantum delegated proof-of-stake consensus algorithm, repeat the following steps until a group of representative nodes with block packaging authority are selected, including:

[0039] (1) From Select from the nodes that have passed transaction verification Candidate nodes , ;

[0040] preparation A task for anonymous voting class Particle quantum state and Used to generate index numbers class Particle entanglement ,in express class Particle quantum state The security strength of quantum state The number of test particles selected for safety inspection, where express class Particle entanglement The security strength of entangled state The number of test particles selected for safety inspection;

[0041] Will class Particle quantum state Distribute to Voters, the voting range of voters is , respectively, candidate nodes Voting; each voter chooses quantum state Perform safety checks as test particles and obtain the initial voting matrix ; When the Voters choose Measurement results of test particles satisfy , indicating that the security check has passed, otherwise the other voters are notified to terminate the selection of representative nodes, where , , ;

[0042] (2) Record the malicious or faulty behaviors of the candidate nodes and calculate the weight ratio of the malicious or faulty behaviors of the candidate nodes, where the malicious or faulty behaviors include packaging failure, block check failure, and communication failure;

[0043] (3) Calculate the number of valid votes for each candidate node based on the initial voting results and the weight ratio of the candidate node’s malicious or faulty behavior; based on the number of valid votes for each candidate node, select the candidate node with the most valid votes. A node becomes a representative node ;

[0044] (7) Using representative nodes The blocks are packaged and added to the quantum blockchain in sequence.

[0045] Furthermore, the create block module is configured to perform the following actions:

[0046] The representative node is used to package the transactions containing valid transaction information in the transaction pool to be packaged into blocks, and the blocks are broadcast to other nodes in the quantum blockchain network. When the representative node fails to generate a block within the allocated time, the transactions containing valid transaction information in the transaction pool to be packaged are delayed to the next representative node for packaging into blocks, and the failure of the representative node to generate blocks is recorded.

[0047] Furthermore, the add block module is configured to perform the following actions:

[0048] After receiving the blocks broadcast by the representative node, other nodes verify the validity of the blocks, obtain valid blocks and discard the blocks that fail the verification. Verifying the validity of the blocks includes evaluating whether the version number and timestamp of the blocks comply with the rules.

[0049] The last block in the quantum blockchain is used as the control party, and a controlled Z operation is performed on the valid block to link it to the local copy of the quantum blockchain.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] 1. The present invention proposes a quantum blockchain system for digital image copyright protection in consumer electronics, including a data initialization module, a transaction publishing module, an identity authentication module, a transaction verification module, a representative node selection module, a block creation module, and a block addition module. The present invention not only has good security, but can effectively resist interception-retransmission attacks, entanglement measurement attacks, third-party attacks, and impersonation attacks, and can also ensure the integrity and consistency of the stored copyright information;

[0052] 2. The present invention uses the identity authentication module to verify the authenticity of the node identity in the network, thereby enhancing its robustness against quantum attacks. Through the mutual linking of quantum particle entanglement states, the identity authentication module can not only efficiently store and manage a large amount of digital image copyright information in consumer electronics, but also achieve efficient on-chain consensus;

[0053] 3. The present invention utilizes a proposed quantum delegated proof-of-stake consensus algorithm with filtering function, which can not only prevent external eavesdroppers, but also filter out malicious or faulty nodes in the quantum blockchain network. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a schematic diagram of the overall module architecture of a quantum blockchain system for digital image copyright protection in consumer electronics provided by an embodiment of the present invention;

[0055] Figure 2 This is a schematic diagram of the overall process of a quantum blockchain system for protecting digital image copyright in consumer electronics provided by an embodiment of the present invention;

[0056] Figure 3 It is a schematic diagram of a process of selecting a representative node provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. The embodiments of the present invention and the technical features in the embodiments may be combined with each other unless there is a conflict.

[0058] Example 1

[0059] like Figure 1As shown, this embodiment introduces a quantum blockchain system for digital image copyright protection in consumer electronics, including the following modules:

[0060] The data initialization module is used to initialize the nodes and quantum keys in the quantum blockchain network; ensuring that each node has a quantum key to participate in network communication and transaction verification.

[0061] The transaction publishing module is used to initiate transactions using nodes in the quantum blockchain network and broadcast transactions to other nodes in the quantum blockchain network; it realizes the distributed propagation of transactions and ensures that all nodes can receive and process transaction information.

[0062] The identity authentication module is used to verify the identity of the node initiating the transaction using the quantum delegated proof-of-stake consensus algorithm and obtain the node that has passed the identity authentication; the quantum delegated proof-of-stake consensus algorithm is used to enhance the security of the network and prevent malicious nodes from committing fraud or attacks.

[0063] The transaction verification module is used to verify the validity of the transaction information of the authenticated nodes and the originality of the images that need digital copyright protection, obtain the nodes that have passed the transaction verification and the valid transaction information and add the valid transaction information to the transaction pool to be packaged; ensure that only valid and legal transactions are added to the blockchain, and protect the integrity of digital copyright and transactions.

[0064] The representative node module is selected to calculate the behavior weight ratio of the node through the block generation behavior of the node verified by the transaction, filter out malicious or faulty nodes, and use the quantum delegated proof-of-stake consensus algorithm to select a group of representative nodes with block packaging authority; improve the efficiency and security of the blockchain network, and ensure that only trusted and active nodes participate in the packaging and verification of blocks.

[0065] Create a block module to use representative nodes to package transactions containing valid transaction information in the transaction pool to be packaged into blocks and broadcast them to other nodes in the quantum blockchain network; realize centralized processing and rapid propagation of transactions, and ensure that all nodes can synchronize the latest block information in a timely manner.

[0066] Add a block module to verify the validity of the received blocks through block verification, and use controlled Z operations to store the verified blocks in the local copy of the blockchain; ensure the continuity and consistency of the blockchain, prevent the insertion and tampering of malicious blocks, and protect the integrity and security of the blockchain.

[0067] The quantum blockchain system of this embodiment also includes an interstellar file transfer system IIPFS module, which is used to store images that require digital copyright protection and folders of text files containing copyright information of images that require digital copyright protection. The storage method that combines quantum blockchain with IPFS can further effectively alleviate the storage pressure of the blockchain.

[0068] Example 2

[0069] Based on the same inventive concept as Example 1, this example introduces a quantum blockchain system for protecting digital image copyright in consumer electronics, including: a data initialization module, a transaction publishing module, an identity authentication module, a transaction verification module, a representative node selection module, a block creation module, and a block addition module.

[0070] The functions and effects of the above modules are realized by referring to the relevant contents of the method in Example 1, which will not be described in detail. The method for configuring each module includes:

[0071] Quantum blockchain network Nodes work together. Each node in the nodes stores, prepares and measures the particle quantum state and transmits particle quantum state and classical information to each other. Initialization includes A distributed quantum blockchain network with nodes, each of which can store, prepare and measure particle quantum states, and can transmit particle quantum states and classical information to each other.

[0072] The data initialization module is configured to perform the following operations:

[0073] Use the QKD protocol to distribute a length of For example, the key shared between the client and the server is ,in, Represents a positive integer, key It is the key between the client and the server. A represents the client and B represents the server. Two binary digits, indicating the client and the server Shared bit key, .

[0074] The publish transaction module is also configured to perform the following actions:

[0075] Transactions are initiated using nodes in the quantum blockchain network, and the copyright information of the image that requires digital copyright protection is used as additional information of the transaction. The additional information of the transaction is broadcast along with the transaction to other nodes in the quantum blockchain network using the distribution of quantum keys.

[0076] The authentication module is configured to perform the following actions:

[0077] After receiving the transaction, other nodes in the quantum blockchain network use the quantum delegated proof-of-stake consensus algorithm to send an identity authentication request to the node that initiated the transaction. The identity authentication process needs to be controlled by the third-party node Charlie to obtain the node that has passed the identity authentication. Specifically, the following actions are performed:

[0078] (1) Using the third-party node Charlie, randomly select Bell states form three groups of Bell states , the three groups of Bell states The result is obtained by adding the bit strings corresponding to the Bell states at the same position in the modulo 2 addition. To save, , represents the i-th group of Bell states, ,in, is the Dirac symbol, which represents the state in quantum mechanics. Denote the first qubit as , the second qubit is The first Bell state of Denote the first qubit as , the second qubit is The second Bell state of Denote the first qubit as , the second qubit is No. Bell states, where represents the number of Bell states in each group, , ;

[0079] (2) Using the third-party node Charlie, The first particle of the Bell state is divided into the first particle sequence , the second particle is divided into the second particle sequence , and obtain six particle sequences and ; The third-party node Charlie holds the particle sequence and , in the particle sequence Embed bait particles, and obtain the particle sequence , the particle sequence and Send to the client, the particle sequence and Sent to the server; ;

[0080] (3) Receive the particle sequence on the server , and the client receives the particle sequence , Afterwards, the inserted bait particles are used to check the security of the quantum channel and the integrity of the particle sequence. Particle sequences that fail the security check of the quantum channel and the integrity check of the particle sequence are judged as failing the server-side identity authentication, and the received transaction is discarded; particle sequences that pass the security check of the quantum channel and the integrity check of the particle sequence are judged as passing the server-side identity authentication, and the client identity authentication continues;

[0081] (4) Use the server to retrieve the particle sequence and In decoy particles, holding particle sequence and ; Use the client to retrieve the particle sequence and In decoy particles, holding particle sequence and ;

[0082] (5) Use the client based on the key For a sequence of particles The first group of Bell states Or contain particle sequences The third group of Bell states Execute the corresponding unitary transformation; use the server to calculate the key For a sequence of particles The second group of Bell states or contains particle sequences The third group of Bell states Perform the corresponding unitary transformation, where the key is the key between the client and the server. Represents the client, Indicates the server side;

[0083] Among them, the unitary transformation With key The relationship is expressed as:

[0084] ;

[0085] In the formula, Indicates the key When the key Unitary transformations performed; Indicates the key When the key Unitary transformations performed; Indicates the key When the key Unitary transformations performed; Indicates the key When the key Unitary transformations performed; represents the identity matrix, ; represents the Pauli_X matrix, ; represents an imaginary number The product with the Pauli_Y matrix, ; represents the Pauli_Z matrix, ; is the right-state vector, indicating the vector , is the left-state vector, indicating that the vector ; is the right-state vector, indicating the vector , is the left-state vector, indicating that the vector ; express and The tensor product of express and The tensor product of express and The tensor product of express and The tensor product of .

[0086] (6) Using the third-party node Charlie, the client and server perform Bell state measurements on the particle sequences they hold, and obtain the third-party node measurement results respectively. , client measurement results , the server measurement results ; The client measurement results and the server measurement results and The corresponding classic bit sequence is sent to the third-party node Charlie, where Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of the particles are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of the particles are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of particles; among them, represents the number of Bell states in each group, ;

[0087] (7) Use the third-party node Charlie to measure the results of the third-party nodes , client measurement results and server measurement results The corresponding classical bit sequence is in the same position. The result is obtained by adding the bit string modulo 2. ,if , it is determined that the client's identity authentication has been passed, otherwise it is determined that the client's identity authentication has not been passed and the received transaction is discarded;

[0088] (8) The node that initiates the transaction and passes the client's identity authentication is regarded as the authenticated node.

[0089] The transaction verification module is configured to perform the following actions:

[0090] Verify the validity of the transaction information of the authenticated node, including checking the field format of the transaction on the server side;

[0091] Verifying the originality of the image subject to digital copyright protection, including comparing a perceived hash value of the image subject to digital copyright protection in the authenticated node with a hash value of the image subject to digital copyright protection in a local blockchain copy;

[0092] Nodes that pass the quantum delegated proof-of-stake consensus algorithm that have passed both the validity verification of transaction information and the originality verification of images that require digital copyright protection will be considered as nodes that have passed transaction verification;

[0093] The server adds transactions containing valid transaction information to the transaction pool to be packaged and discards transactions that do not contain valid transaction information.

[0094] The select representative node module is configured to perform the following actions, wherein: represents the number of candidate nodes, Indicates the number of nodes that have passed transaction verification in the quantum blockchain network:

[0095] like Figure 3 As shown, using the quantum delegated proof-of-stake consensus algorithm, repeat the following steps until a group of representative nodes with block packaging authority are selected, including:

[0096] (1) From Select from the nodes that have passed transaction verification Candidate nodes , ;

[0097] preparation A task for anonymous voting class Particle quantum state and Used to generate index numbers class Particle entanglement ,in express class Particle quantum state The security strength of quantum state The number of test particles selected for safety inspection, where express class Particle entanglement The security strength of entangled state The number of test particles selected for safety inspection;

[0098] Will class Particle quantum state Distribute to Voters, the voting range of voters is , respectively, candidate nodes Voting; each voter chooses quantum state Perform safety checks as test particles and obtain the initial voting matrix ; When the Voters choose Measurement results of test particles satisfy , indicating that the security check has passed, otherwise the other voters are notified to terminate the selection of representative nodes, where , , ;

[0099] in, class Particle quantum state It is expressed as:

[0100] ;

[0101] In the formula, Indicates the calculation state indivual class Particle quantum state status, where , is the Dirac notation, which represents the state in quantum mechanics, and mod represents the modulo operation.

[0102] Among them, when measuring on the computing base class Particle quantum state , the sum of all measurements modulo zero.

[0103] Will class Particle entanglement It is expressed as:

[0104] ;

[0105] In the formula, Indicates the calculation state indivual class Particle entanglement status, where , Represents the voting number middle All permutations of elements; Represents the voting number The reverse number of Represents the total number of elements in the voting sequence The factorial of .

[0106] in, class Particle entanglement The measurements of all particles in the system are different on any basis.

[0107] The first Voters Ballot number It is expressed as:

[0108] ;

[0109] In the formula, Updated voting number, Indicates the voting number before the update, express class Particle entanglement Middle Particle, that is, Voters, Indicates Candidate nodes, Indicates Voters In the Voting in a ballot box, .

[0110] The initial voting results It is expressed as:

[0111] ;

[0112] (2) Record the malicious or faulty behaviors of candidate nodes and calculate the weight ratio of the malicious or faulty behaviors of candidate nodes. Malicious or faulty behaviors include packaging failure, block check failure, communication failure, and other types of malicious behaviors;

[0113] The malicious or faulty behavior records generated by blocks are used as calculation factors for the next election of candidate nodes to reduce the probability of malicious or faulty nodes being elected as candidate nodes again. Indicates the type of malicious or faulty behavior in block generation, Indicates the type of malicious or faulty behavior in block generation The weight of Indicates that in the quantum blockchain, the reason for allowing block generation failure is The maximum threshold for the number of times.

[0114] when When: indicates that the node fails to package transactions, ;

[0115] when When: indicates that the block check failed, ;

[0116] when When: indicates that the node communication fails, ;

[0117] when When: indicates other types of malicious behavior, .

[0118] The formula for calculating the weight ratio of malicious or faulty behavior of candidate nodes is expressed as:

[0119] ;

[0120] In the formula, Indicates the calculation candidate node The voting weight ratio of Represents a candidate node Malicious or malfunctioning behavior The probability of Indicates that in the quantum blockchain, the reason for allowing block generation failure is The maximum threshold of the number of Indicates malicious or faulty block generation behavior The weight of .

[0121] (3) Calculate the number of valid votes for each candidate node based on the initial voting results and the weight ratio of the candidate node’s malicious or faulty behavior; , select the candidate node with the most valid votes A node becomes a representative node ;

[0122] The number of valid votes It is expressed as:

[0123] ;

[0124] In the formula, Indicates candidate nodes, among which , represents the initial voting result, surface

[0125] Calculate candidate nodes The voting weight ratio of

[0126] (4) Using representative nodes The blocks are packaged and added to the quantum blockchain in sequence.

[0127] The CreateBlock module is configured to perform the following actions:

[0128] The representative node is used to package the transactions containing valid transaction information in the transaction pool to be packaged into blocks, and the blocks are broadcast to other nodes in the quantum blockchain network. When the representative node fails to generate a block within the allocated time, the transactions containing valid transaction information in the transaction pool to be packaged are delayed to the next representative node for packaging into blocks, and the failure of the representative node to generate blocks is recorded.

[0129] The Add Block module is configured to perform the following actions:

[0130] After receiving the blocks broadcast by the representative node, other nodes verify the validity of the blocks, obtain valid blocks and discard the blocks that fail the verification. Verifying the validity of the blocks includes evaluating whether the version number and timestamp of the blocks comply with the rules.

[0131] The last block in the quantum blockchain is used as the control party, and a controlled Z operation is performed on the valid block to link it to the local copy of the quantum blockchain.

[0132] This embodiment provides a schematic diagram of the overall process of a quantum blockchain system for protecting digital image copyright in consumer electronics. Figure 2 As shown, the specific process includes:

[0133] (1) The user uploads a digital image that needs copyright protection, and the quantum blockchain obtains the digital image that needs copyright protection.

[0134] (2) Nodes in the quantum blockchain network initiate transactions and broadcast them to other nodes in the quantum blockchain network.

[0135] (3) After receiving the transaction, other nodes in the quantum blockchain use the quantum delegated proof-of-stake consensus algorithm to send an identity authentication request to the node that initiated the transaction and obtain the node that has passed the identity authentication.

[0136] (4) Verify the validity of the transaction information of the authenticated node and the originality of the image that needs digital copyright protection, obtain the node that has passed the transaction verification and the valid transaction information, and add the valid transaction information to the transaction pool to be packaged.

[0137] (5) Based on the block generation behavior of the nodes that have passed transaction verification, the behavior weight ratio of the nodes is calculated, malicious or faulty nodes are filtered out, and a group of representative nodes with block packaging authority are selected using the quantum delegated proof-of-stake consensus algorithm.

[0138] (6) Use representative nodes to package transactions containing valid transaction information in the transaction pool to be packaged into blocks and broadcast them to other nodes in the quantum blockchain network.

[0139] (7) Verify the validity of the received block through block verification, and use controlled Z operations to link the verified block to the local copy of the blockchain for storage.

[0140] (8) After successfully linking a valid block in the quantum blockchain, the representative node packages the images that need digital copyright protection and the text files of the copyright information of the images that need digital copyright protection into a folder and uploads them to the interstellar file transfer system IPFS for storage.

[0141] In summary, the present invention proposes a quantum blockchain system for protecting digital image copyright in consumer electronics, including a data initialization module, a transaction publishing module, an identity authentication module, a transaction verification module, a representative node selection module, a block creation module, and a block addition module. The present invention not only has good security, but can also effectively resist interception-retransmission attacks, entanglement measurement attacks, third-party attacks, and impersonation attacks, and can also ensure the integrity and consistency of the stored copyright information.

[0142] The present invention uses the identity authentication module to verify the authenticity of the node identity in the network, thereby enhancing its robustness against quantum attacks. Through the mutual linking of quantum particle entanglement states, the identity authentication module can not only efficiently store and manage a large amount of digital image copyright information in consumer electronics, but also achieve efficient on-chain consensus;

[0143] The present invention utilizes a proposed quantum delegated proof-of-stake consensus algorithm with filtering function, which can not only prevent external eavesdroppers, but also filter out malicious or faulty nodes in the quantum blockchain network.

[0144] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0145] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0148] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A quantum blockchain system for image digital copyright protection in consumer electronics, It is characterized in that Includes the following modules: Data initialization module, used to initialize nodes and quantum keys in the quantum blockchain network; A transaction publishing module is used to initiate transactions using nodes in the quantum blockchain network and broadcast transactions to other nodes in the quantum blockchain network; The identity authentication module is used to verify the identity of the node initiating the transaction using the quantum delegated proof-of-stake consensus algorithm and obtain the node that has passed the identity authentication; The transaction verification module is used to verify the validity of the transaction information of the node that has passed the identity verification and the originality of the image that needs digital copyright protection, obtain the node that has passed the transaction verification and the valid transaction information and add the valid transaction information to the transaction pool to be packaged; Select the representative node module to calculate the node behavior weight ratio through the block generation behavior of the transaction-verified node, filter out malicious or faulty nodes, and use the quantum delegated proof-of-stake consensus algorithm to select a group of representative nodes with block packaging authority; Create a block module, which is used to use the representative node to package the transactions containing valid transaction information in the transaction pool to be packaged into blocks, and broadcast them to other nodes in the quantum blockchain network; Add a block module to verify the validity of the received blocks through block verification, and use controlled Z operations to link the verified blocks to the local copy of the blockchain for storage.

2. According to claim 1, the quantum blockchain system for image digital copyright protection in consumer electronics, It is characterized in that The data initialization module is configured to perform the following operations: Initialize nodes in the quantum blockchain network; The QKD protocol is used to distribute a length of The quantum key of represents a positive integer; Initialize the quantum key.

3. According to claim 1 or 2, the quantum blockchain system for image digital copyright protection in consumer electronics, It is characterized in that The publish transaction module is also configured to perform the following actions: Transactions are initiated using nodes in the quantum blockchain network, and the copyright information of the image that requires digital copyright protection is used as additional information of the transaction. The additional information of the transaction is broadcast along with the transaction to other nodes in the quantum blockchain network using the distribution of quantum keys.

4. According to claim 1, the quantum blockchain system for image digital copyright protection in consumer electronics, It is characterized in that The authentication module is configured to perform the following actions: After receiving the transaction, other nodes in the quantum blockchain network use the quantum delegated proof-of-stake consensus algorithm to send an identity authentication request to the node that initiated the transaction. The identity authentication process needs to be controlled by the third-party node Charlie to obtain the node that has passed the identity authentication. Specifically, the following actions are performed: (1) Using the third-party node Charlie, randomly select Bell states form three groups of Bell states , the three groups of Bell states The result is obtained by adding the bit strings corresponding to the Bell states at the same position in the modulo 2 addition. To save, represents the number of Bell states in each group, ; (2) Using the third-party node Charlie, The first particle of the Bell state is divided into the first particle sequence , the second particle is divided into the second particle sequence , and obtain six particle sequences and ; The third-party node Charlie holds the particle sequence and , respectively in the particle sequence Embed bait particles, corresponding to the particle sequence , the particle sequence and Send to the client, the particle sequence and Sent to the server, where ; (3) Receive the particle sequence on the server , and the client receives the particle sequence , Afterwards, the inserted bait particles are used to check the security of the quantum channel and the integrity of the particle sequence. Particle sequences that fail the security check of the quantum channel and the integrity check of the particle sequence are judged as failing the server-side identity authentication, and the received transaction is discarded; particle sequences that pass the security check of the quantum channel and the integrity check of the particle sequence are judged as passing the server-side identity authentication, and the client identity authentication continues; (4) Use the server to retrieve the particle sequence and In decoy particles, holding particle sequence and ; Use the client to retrieve the particle sequence and In decoy particles, holding particle sequence and ; (5) Use the client based on the key For a sequence of particles The first group of Bell states Or contain particle sequences The third group of Bell states Execute the corresponding unitary transformation; use the server to calculate the key For a sequence of particles The second group of Bell states Or contain particle sequences The third group of Bell states Perform the corresponding unitary transformation, where the key is the key between the client and the server. Represents the client, Indicates the server side; (6) Using the third-party node Charlie, the client and server perform Bell state measurements on the particle sequence they hold, and obtain the third-party node measurement results respectively. , client measurement results , the server measurement results ; The client measurement results and the server measurement results and The corresponding classic bit sequence is sent to the third-party node Charlie, where Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of each particle are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of each particle are Represents a particle sequence and The measurement result of the first particle in Represents a particle sequence and The measurement result of the second particle in is, Represents a particle sequence and Middle The measurement results of each particle; (7) Use the third-party node Charlie to measure the results of the third-party nodes , client measurement results and server measurement results The corresponding classical bit sequence is in the same position. The result is obtained by adding the bit string modulo 2. ,if , it is determined that the client's identity authentication has been passed, otherwise it is determined that the client's identity authentication has not been passed and the received transaction is discarded; (8) The node that initiates the transaction and passes the client's identity authentication is regarded as the authenticated node.

5. According to claim 1, the quantum blockchain system for image digital copyright protection in consumer electronics, It is characterized in that The transaction verification module is configured to perform the following actions: Verify the validity of the transaction information of the authenticated node, including checking the field format of the transaction on the server side; Verifying the originality of the image subject to digital copyright protection, including comparing a perceived hash value of the image subject to digital copyright protection in the authenticated node with a hash value of the image subject to digital copyright protection in a local blockchain copy; Nodes that pass the quantum delegated proof-of-stake consensus algorithm that have passed both the validity verification of transaction information and the originality verification of images that require digital copyright protection will be considered as nodes that have passed transaction verification; The server adds transactions containing valid transaction information to the transaction pool to be packaged and discards transactions that do not contain valid transaction information.

6. The quantum blockchain system for image digital copyright protection in consumer electronics according to claim 1, It is characterized in that The select representative node module is configured to perform the following actions, wherein: represents the number of candidate nodes, Indicates the number of nodes that have passed transaction verification in the quantum blockchain network: Using the quantum delegated proof-of-stake consensus algorithm, repeat the following steps until a group of representative nodes with block packaging authority are selected, including: (1) From Select from the nodes that have passed transaction verification Candidate nodes , ; preparation A task for anonymous voting class Particle quantum state and Used to generate index numbers class Particle entanglement ,in express class Particle quantum state The security strength of quantum state The number of test particles selected for safety inspection, where express class Particle entanglement The security strength of entangled state The number of test particles selected for safety inspection; Will class Particle quantum state Distribute to Voters, the voting range of voters is , respectively, candidate nodes Voting; each voter chooses quantum state Perform safety checks as test particles and obtain the initial voting matrix ; When the Voters choose Measurement results of test particles satisfy , indicating that the security check has passed, otherwise the other voters are notified to terminate the selection of representative nodes, where , , ; Will class Particle entanglement Distribute to voters, each voter chooses entangled state As a test particle, it undergoes a safety check. After passing the safety check, it is measured on the computing base to generate the first Voters of Voting number and Voters The corresponding index number , indicating the Voters In the In the ballot box Candidate nodes Vote, update Voters The vote number, where the vote represents the ability to package and add the block to the quantum blockchain; Obtain voting matrix by publishing updated ballot numbers of all voters through simulated broadcast channels ; Using the voting matrix The row sum of the candidate nodes Modulo, get the initial voting results ; (2) Record the malicious or faulty behaviors of the candidate nodes and calculate the weight ratio of the malicious or faulty behaviors of the candidate nodes, where the malicious or faulty behaviors include packaging failure, block check failure, and communication failure; (3) Calculate the number of valid votes for each candidate node based on the initial voting results and the weight ratio of the candidate node’s malicious or faulty behavior; based on the number of valid votes for each candidate node, select the candidate node with the most valid votes. A node becomes a representative node ; (4) Using representative nodes The blocks are packaged and added to the quantum blockchain in sequence.

7. The quantum blockchain system for image digital copyright protection in consumer electronics according to claim 1, It is characterized in that The CreateBlock module is configured to perform the following actions: The representative node is used to package the transactions containing valid transaction information in the transaction pool to be packaged into blocks, and the blocks are broadcast to other nodes in the quantum blockchain network. When the representative node fails to generate a block within the allocated time, the transactions containing valid transaction information in the transaction pool to be packaged are delayed to the next representative node for packaging into blocks, and the failure of the representative node to generate blocks is recorded.

8. The quantum blockchain system for image digital copyright protection in consumer electronics according to claim 1, It is characterized in that The Add Block module is configured to perform the following actions: After receiving the blocks broadcast by the representative node, other nodes verify the validity of the blocks, obtain valid blocks and discard the blocks that fail the verification. Verifying the validity of the blocks includes evaluating whether the version number and timestamp of the blocks comply with the rules. The last block in the quantum blockchain is used as the control party, and a controlled Z operation is performed on the valid block to link it to the local copy of the quantum blockchain.

Citation Information

Patent Citations

  • Image copyright protection and transaction authentication method and device and medium

    CN117557441A