CN117544351A - Block chain data processing method, device, equipment and storage medium - Google Patents

Block chain data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117544351A
CN117544351A CN202311490338.5A CN202311490338A CN117544351A CN 117544351 A CN117544351 A CN 117544351A CN 202311490338 A CN202311490338 A CN 202311490338A CN 117544351 A CN117544351 A CN 117544351A
Authority
CN
China
Prior art keywords
multimedia data
original multimedia
online
information
image transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311490338.5A
Other languages
Chinese (zh)
Inventor
朱耿良
王宗友
刘区城
廖志勇
时一防
刘汉卿
黄杨峻
聂凯轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202311490338.5A priority Critical patent/CN117544351A/en
Publication of CN117544351A publication Critical patent/CN117544351A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application discloses a block chain data processing method, a device, equipment and a storage medium, which are applied to a block chain technology, wherein the method comprises the following steps: acquiring original multimedia data to be uploaded in the online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment; according to the media attribute information, verifying the relationship between the original multimedia data and the online graphic transmission equipment to obtain relationship indication information; when the relation indication information indicates that the original multimedia data is generated by the online image transmission equipment, signing the original multimedia data according to a private key of the online image transmission equipment to obtain abstract signature information of the original multimedia data; and sending the digest signature information, the object attribute information and the original multimedia data to node equipment in the blockchain network. The copyright protection of the multimedia data can be realized through the method and the device.

Description

Block chain data processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a blockchain data processing method, device, apparatus, and storage medium.
Background
With the rapid development of multimedia data processing technology, multimedia data (such as images and videos) are becoming an integral part of people's work and study, and high-value multimedia data can not only bring aesthetic feeling to users or provide useful information quantity, but also bring economic value to the authors of multimedia data. In practice, it is found that an illegal user steals multimedia data written by others and spreads the stolen multimedia data in the network on behalf of the illegal user, so that the earnest interests of the author of the multimedia data are greatly damaged. Based on this, how to ensure copyright protection of multimedia data is a current urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a block chain data processing method, a device, equipment and a storage medium, which can realize copyright protection of multimedia data.
An aspect of an embodiment of the present application provides a blockchain data processing method, including:
acquiring original multimedia data to be uploaded in online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment;
verifying the relationship between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relationship indication information;
When the relation indication information indicates that the original multimedia data is generated by the online image transmission equipment, signing the original multimedia data according to a private key of the online image transmission equipment to obtain summary signature information of the original multimedia data;
transmitting the summary signature information of the original multimedia data, the object attribute information and the original multimedia data to node equipment in a block chain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
An aspect of an embodiment of the present application provides a blockchain data processing method, including:
receiving abstract signature information of original multimedia data sent by online image transmission equipment, object attribute information of an object corresponding to the online image transmission equipment and the original multimedia data;
According to the public key of the online image transmission equipment, signature verification is carried out on the abstract signature information of the original multimedia data, and a signature verification result is obtained;
when the signature verification result indicates that the summary signature information passes the signature verification, generating a digital certificate of the original multimedia data according to the object attribute information; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
storing the digital voucher and the original multimedia data on a blockchain in the blockchain network.
An aspect of an embodiment of the present application provides a blockchain data processing device, including:
the acquisition module is used for acquiring original multimedia data to be uploaded in the online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment;
The verification module is used for verifying the relationship between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relationship indication information;
the signature module is used for signing the original multimedia data according to the private key of the online image transmission equipment when the relationship indication information indicates that the original multimedia data is generated by the online image transmission equipment, so as to obtain abstract signature information of the original multimedia data;
the sending module is used for sending the summary signature information of the original multimedia data, the object attribute information and the original multimedia data to node equipment in a blockchain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
An aspect of an embodiment of the present application provides a blockchain data processing device, including:
The receiving module is used for receiving the abstract signature information of the original multimedia data sent by the online picture transmission equipment, and the object attribute information of the object corresponding to the online picture transmission equipment and the original multimedia data;
the signature verification module is used for verifying signature of the abstract signature information of the original multimedia data according to the public key of the online image transmission equipment to obtain a signature verification result;
the generation module is used for generating a digital certificate of the original multimedia data according to the object attribute information when the signature verification result indicates that the summary signature information passes the signature verification; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
and the storage module is used for storing the digital certificate and the original multimedia data on a blockchain in the blockchain network.
In one aspect, a computer device is provided, where the computer device includes a memory and a processor, where the memory stores a computer program, and where the processor implements the steps of the method when executing the computer program.
In one aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, the computer program implementing the steps of the method described above when executed by a processor.
In one aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the above method.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a blockchain data processing system provided herein;
FIG. 2 is a schematic diagram of an interaction scenario between devices in a blockchain data processing system provided herein;
FIG. 3 is a flow chart of a block chain data processing method provided in the present application;
FIG. 4 is a flow chart of a blockchain data processing method provided by the present application;
FIG. 5 is a schematic view of a scenario in which original multimedia data is signed;
FIG. 6 is a schematic diagram of a scenario in which original multimedia data is signed;
FIG. 7 is a flow chart of a blockchain data processing method provided by the present application;
FIG. 8 is a schematic diagram of a block chain data processing apparatus according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a block chain data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a block chain data processing system according to an embodiment of the present application. The blockchain data processing system may include a blockchain network, and one or more terminals.
The blockchain network is an end-to-end decentralization network formed by a plurality of node devices (also called blockchain nodes), the number of the node devices in the blockchain network can be deployed according to actual requirements, and the number of the node devices is not limited in the application; as illustrated in fig. 1 by the example of 4 node devices included in the blockchain network, the 4 node devices are node device 101, node device 102, node device 103, and node device 104, respectively.
It is understood that the functions involved in each node device in a blockchain network include:
1) The routing, the node has the basic functions of the devices for supporting communication between the node devices.
For example, as shown in fig. 1, data or block transmission may be performed between node devices through a network connection. The network connection between the node devices may perform data transmission based on the node identifiers, each node device has a node identifier corresponding to the node device, and each node device may store the node identifiers of other node devices having a connection relationship with itself, so as to broadcast the acquired data or the generated block to the other node devices according to the node identifiers of the other node devices, for example, the node device 101 may maintain a node identifier list, where the node identifier list stores node names and node identifiers of the other node devices, as shown in table 1:
TABLE 1
Node name Node identification
Node device 101 117.xxx.xxx.174
Node device 102 117.xxx.xxx.145
Node device 111 117.xxx.xxx.183
Node device 112 117.xxx.xxx.125
Node device 113 119..xxx.xxx.102
The node identifier may be any of a protocol (Internet Protocol, IP) address and other information that can be used to identify the node device in the blockchain network, and the IP address is only illustrated in table 1.
Assuming that the node identifier of the node device 101 is 117.Xxx.xxx.174, the node device 101 may send a data synchronization request to the node device 102 through the 117.Xxx.xxx.174, and the node device 102 may know that the data synchronization request is sent by the node device 101 through the node identifier 117. Xxx.xxx.174; similarly, the node device 102 may send the transaction data a to the node device 101 through the node identifier 117.Xxx.xxx.145, and the node device 101 may know that the transaction data a is sent by the node device 101 through the node identifier 117.Xxx.xxx.145, and so on, and data transmission between other node devices is not described in detail.
2) The application is used for being deployed in a block chain to realize specific service according to actual service requirements, recording data related to the realization function to form recorded data, carrying a digital signature in the recorded data to represent the source of task data, sending the recorded data to other node equipment in the block chain network, and adding the recorded data into a temporary block when the source and the integrity of the recorded data are verified by the other node equipment.
For example, the services implemented by the application include:
2.1 The node device may include a resource client that may be configured to implement a resource management service function and to implement a communication connection with the de-centralized application client based on the resource management service function. The resource client is a tool for managing and storing digital resources of users, and can transfer digital resources to other accounts based on the resource client, for example, and can receive digital resources transferred to other accounts based on the resource client. The resource client may be a hardware device or a software program.
It will be appreciated that as various types of decentralized applications are widely deployed on the blockchain, the activities of users on the blockchain increase, and a typical user may log in using a blockchain key management tool when using the decentralized application, where the address in the blockchain key management tool corresponds to a user on the blockchain, the decentralized application may obtain the user address from the key management tool through some interfaces, and in order to solve the problem that the Dapp background cannot trust the user address used when logging in the decentralized application.
2.2 The shared ledger is used for providing the functions of storing, inquiring, modifying and the like of account data (namely transaction data), sending record data of the operation of the account data to other nodes in the blockchain network, after the other nodes verify that the account data is valid, storing the record data into a temporary block as a response for acknowledging that the account data is valid, and also sending acknowledgement to node equipment initiating the operation.
For example, each node device may receive data to be logged while operating normally and maintain a shared ledger (i.e., blockchain) based on the received data to be logged. In order to ensure the information intercommunication in the shared ledger network, network connection can exist between each node device in the shared ledger network, and data transmission can be carried out between the node devices through the network connection. For example, when any node device in the shared ledger network receives the data to be recorded, other node devices in the shared ledger network verify the data to be recorded according to the consensus algorithm, and store the data to be recorded as the data in the shared ledger after the verification is successful (i.e. after the verification is completed), so that the data stored on all node devices in the shared ledger network are consistent.
2.3 A computerized agreement that can execute the terms of a contract, implemented by code deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions based on actual business demand codes, such as querying the physical distribution status of the goods purchased by the buyer, transferring the buyer's digital resources to the merchant's address after the buyer signs for the goods; of course, the smart contract is not limited to executing the contract for the transaction, and may execute a contract that processes the received information.
The node equipment in the blockchain network in the application can be a back-end service equipment of the blockchain application, can be used for storing the blockchain and checking signature information of the abstract of the original multimedia data, generates a digital certificate related to the original multimedia data when the checking signature passes, and stores the digital certificate of the original multimedia data on the blockchain to realize copyright protection of the original multimedia data.
The original multimedia data may refer to any multimedia data to be uploaded in the terminal, and the original multimedia data may refer to any one of an image, a video, an audio and a document. The application mainly uses original multimedia data as images for illustration.
Wherein. The number of the terminals can be deployed according to actual requirements, and the number of the terminals is not limited; as illustrated in fig. 1 by the example of the system including 3 terminals, the 3 terminals are terminal 111, terminal 112, and terminal 113, respectively. The terminal may generate components and blockchain applications, the generating components may refer to components for generating multimedia data, the generating components may be software, hardware, a combination of software and hardware, specifically, the generating components may refer to a camera module in the terminal or a multimedia generating application program (such as an image generating application program, a video generating application program) and the like, and for convenience of distinction, the generating components in the terminal are referred to as local generating components. The blockchain application may also be called a blockchain client, and may be used to verify whether the original multimedia data to be uploaded in the terminal is a creative work of an object corresponding to the terminal, and when the original multimedia data is determined to be a creative work of the object corresponding to the terminal, sign the original multimedia data to obtain summary signature information of the original multimedia data, and upload the summary signature information of the original multimedia data, the original multimedia data and the object attribute information to a node device in the blockchain network.
In one embodiment, the blockchain data processing system may belong to a single-layer blockchain network, that is, the blockchain data processing system includes a blockchain network to which node device 101, node device 102, node device 103, and node device 104 belong, and each terminal may communicate with the node devices in the blockchain network independently of each other. In this embodiment, a terminal to which original multimedia data is to be transmitted to a blockchain network among the respective terminals is referred to as an online image transmission device.
In one embodiment, the blockchain data processing system may belong to a dual-layer blockchain network, that is, the blockchain network data processing system includes a blockchain network to which node device 101, node device 102, node device 103, node device 104 belong, and a sub-blockchain network to which terminal 111, terminal 112, and terminal 113 belong. Each terminal maintains a sub-blockchain together, and the sub-blockchain can include an intelligent contract, wherein the intelligent contract can be used for verifying whether the original multimedia data is the original work of the object corresponding to the terminal, and the verification process can be described below. In this embodiment, a terminal to which original multimedia data is to be transmitted in each terminal to the blockchain network is referred to as an online mapping device, and terminals in the blockchain network other than the online mapping device may be referred to as child node devices.
It should be noted that, the online image transmission device in the application can have high-efficient transmission speed and stable network connection, so as to ensure timely transmission and integrity of multimedia data, and meet the requirement of online transmission of multimedia data.
It can be understood that the node device 101, the node device 102, the node device 103, and the node device 104 may be independent physical servers, or may be a server cluster or a distributed system formed by at least two physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligent platforms. The terminal may include: smart phones, tablet computers, notebook computers, desktop computers, intelligent voice interaction devices, intelligent home appliances (e.g., smart televisions), wearable devices, vehicle terminals, and other intelligent terminals with data processing functions.
In one embodiment, the present application may be applied to a copyright protection scenario regarding an image, a video, a text, etc., as illustrated in fig. 2 by taking a version protection scenario regarding an image as an example, the online image transmission device 20a in fig. 2 may be any terminal in fig. 1, and the node device 21a may be any node device in the blockchain network in fig. 1. The online mapping device 20a may include a login module 22a, a local generation component 23a, an online mapping module 24a, a multimedia verification module 25a, and a digest signature module 26a; the node device 21a may include an issue module 27a and a write module 28a.
It should be noted that, the online image transmission module 24a has an efficient transmission speed and a stable network connection, so as to ensure timely transmission and integrity of the image, and can meet the requirement of online image transmission.
In a specific implementation, the online graphical device 20a may include a blockchain application 29a, and when the login module 22a in the online graphical device 20a may receive a login request triggered by a user, the login request may include login authentication information of the user. The login authentication information may include at least one of face information obtained by biometric identification and login information input by a receiving user, and the login information may include a login account number, a login password, and the like. The login module 22a may verify the login authentication information, allowing the user to login to the blockchain application 29a when the login authentication information is verified. When the online mapping device 20a receives a shooting instruction about an image, a local generation component 23a (shooting module) may be invoked to shoot, so as to obtain an image 30a, that is, the image 30a may refer to original multimedia data, the online mapping module 24a may upload the image 30a to a blockchain application 29a, and in the blockchain application 29a, through a multimedia verification module 25a, it is verified whether the image 30a is a creative work of a user corresponding to the online mapping device 20a according to media attribute information of the image 30 a. The media attribute information herein may include at least one of component attribute information of the image 30a for generating an actual generation component of the image 30a, a generation time of the image 30a, a photographing parameter of the image 30a, a photographing place, and a size of the image 30 a. For example, because the actual generation component of image 30a is local generation component 23a of online mapping device 20a, multimedia verification module 25a may determine that image 30a is the original work of the user to whom online mapping device 20a corresponds.
Further, when the multimedia verification module 25a determines that the image 30a is the original work of the user corresponding to the online image transmission device 20a, the digest signature module 26a may sign the image 30a according to the private key of the online image transmission device 20a to obtain digest signature information of the image 30a, and send the digest signature information, the image 30a, and the object attribute information of the user corresponding to the online image transmission device 20a to the node device 21a. The issuing module 27a in the node device 21a may check the digest signature information according to the public key of the online image transmission device 20a, and when the digest signature information passes the check, generate a digital certificate of the image 30a according to the object attribute information, where the digital certificate is used to indicate that the image 30a belongs to the user corresponding to the online image transmission device 20 a. The writing module 28a in the node device 21a may associate the image 30a with the digital voucher, and store the associated digital voucher and image 30a onto the blockchain in the node device 21a.
After the image 30a and the digital certificate are successfully stored on the blockchain, the online image transmission device 20a can delete the image 30a, so that the digital certificate is generated for the shot image in real time, the storage pressure of the online image transmission device is reduced, the version protection of the image can be realized, the online image transmission device can be applied to the field of photography, the version of photographic works (such as images and videos) is protected, and the rights and interests of photographic users and the creation power are improved.
Further, please refer to fig. 3, which is a flowchart illustrating a blockchain data processing method according to an embodiment of the present application. As shown in fig. 3, the method may be referred to herein as an on-line mapping device by any of the terminals in fig. 1. Wherein, the method can comprise the following steps:
s101, acquiring original multimedia data to be uploaded in the online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment.
In the application, when the online image transmission device detects that the local storage comprises newly generated multimedia data, the newly generated multimedia data is used as original multimedia data to be uploaded, media attribute information of the original multimedia data is obtained, and object attribute information of a corresponding object of the online image transmission device is obtained.
It should be noted that, the original multimedia data may be generated by a local generating component in the online image transmission device, where the original multimedia data is called as the original work of the object corresponding to the online image transmission device. Or the original multimedia data can be downloaded from the network by the online graphic device, and the original multimedia data is called as a non-original work of an object corresponding to the online graphic device.
It should be noted that the media attribute information may include at least one of component attribute information of an actual generation component for generating the multimedia data, a generation time of the original multimedia data, a photographing parameter of the original multimedia data, a photographing place, a size of the original multimedia data, and the component attribute information may include at least one of a name, a model, and the like of the actual generation component. The media attribute information is generated at the time of the original multimedia data generation, and the media attribute information cannot be tampered with. The actual generation component may refer to a generation component of the original multimedia data, and the actual generation component may be determined according to media attribute information of the original multimedia data.
It should be noted that, the object corresponding to the online mapping device may refer to a user logged into a blockchain application in the online mapping device, and the object attribute information of the object corresponding to the online mapping device may include an account where the user logs into the blockchain application, a nickname of the user in the blockchain application, and so on.
And S102, verifying the relation between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relation indication information.
In the application, after the online image transmission device acquires the original multimedia data, the online image transmission device can verify the relationship between the original multimedia data and the online image transmission device according to the media attribute information by using a blockchain application to obtain relationship indication information. The relationship indicating information is used to indicate that the original multimedia data was generated by the on-line mapping device or that the original multimedia data was not generated by the on-line mapping device. By verifying the relation between the original multimedia data and the online graphic transmission equipment, illegal theft of the multimedia data of other people can be avoided, and copyright protection of the multimedia data is realized.
In one embodiment, when the blockchain data processing system implementing the application is a single-layer blockchain network, the online mapping device can verify the relationship between the original multimedia data and the online mapping device according to the media attribute information through the blockchain application, so as to obtain a first verification result, and the first verification result is determined as relationship indication information, wherein the first verification result is used for indicating that the original multimedia data is generated by the online mapping device or indicating that the original multimedia data is not generated by the online mapping device. In other words, in a single layer blockchain network, the relationship between the original multimedia data and the online mapping device is verified by a single online mapping device.
It can be appreciated that when the blockchain data processing system implementing the present application is a dual-layer blockchain network, that is, the online graph transferring device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further includes a sub-node device other than the online graph transferring device, and the sub-blockchain network is a decentralised network. At this time, the relationship between the original multimedia data and the on-line image transmission device can be verified by a plurality of devices in the sub-block chain network, and the relationship indication information is obtained, so that the accuracy of verifying the relationship between the original multimedia data and the on-line image transmission device and the transparency of verification can be improved, and the specific implementation process can be referred to below.
And S103, when the relation indication information indicates that the original multimedia data is generated by the online image transmission equipment, signing the original multimedia data according to a private key of the online image transmission equipment to obtain summary signature information of the original multimedia data.
In the application, when the relationship indication information indicates that the original multimedia data is generated by the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data. Because the signature verification of the summary signature information can only be successfully performed by the public key corresponding to the online image transmission device, the summary signature information of the original multimedia data can be used for reflecting that the original multimedia data is generated by the online image transmission device and verifying the integrity of the original multimedia data. Therefore, by signing the original multimedia data, the method is beneficial to avoiding the illegal and stolen multimedia data from being uploaded to the blockchain network, and meanwhile, whether the original multimedia data is tampered in the transmission process can be verified.
It should be noted that, the public key and the private key corresponding to the online image transmission device belong to the object corresponding to the online image transmission device, the public key and the private key belong to a key pair, the private key is stored by the online image transmission device, the public key is disclosed to each node device in the blockchain network, the private key can be used for signing and decrypting, and the public key can be used for signature verification and encryption.
In one embodiment, when the blockchain data processing system implementing the application is a single-layer blockchain network, and the relationship indication information indicates that the original multimedia data is generated by the online mapping device, the online mapping device may sample a private key of the online mapping device to sign the original multimedia data, obtain first summary signature information of the original multimedia data, determine the first summary signature information as summary signature information of the original multimedia data, and the summary signature information includes a signature of the online mapping device, which indicates that the online mapping device witnessed (verifies) that the original multimedia data is generated by the online mapping device, so as to implement copyright protection of the multimedia data.
In one embodiment, when the blockchain data processing system implementing the application is a dual-layer blockchain network, and the relationship indication information indicates that the original multimedia data is generated by the online graph transmission device, a private key corresponding to a target sub-node in the sub-blockchain network can sign the original multimedia data to obtain summary signature information of the original multimedia data, and the target sub-node can verify in the sub-blockchain network that the original multimedia data is generated by the online graph transmission device, that is, the summary signature information includes a signature of the device in the sub-blockchain network, which indicates that a plurality of devices in the sub-blockchain network witness that the original multimedia data is generated by the online graph transmission device, thereby realizing copyright protection of the multimedia data.
S104, sending the summary signature information, the object attribute information and the original multimedia data to node equipment in a block chain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
In the application, the online image transmission device can send the summary signature information, the object attribute information and the original multimedia data of the original multimedia data to node devices in the blockchain network. The node device can check the abstract signature information, when the abstract signature information passes, the node device indicates that the original multimedia data is not tampered in the transmission process (namely, the original multimedia data has integrity), the original multimedia data is generated by the online image transmission device, the node device can generate a digital certificate of the original multimedia data according to the object attribute information, the digital certificate is used for indicating that the original multimedia belongs to an object corresponding to the online image transmission device, the digital certificate can comprise the object attribute information and the information of the name, the size and the like of the original multimedia data, thereby avoiding illegal users from stealing the multimedia data of other people and realizing the copyright protection of the multimedia data.
It should be noted that the digital certificate is a trusted digital rights certificate with uniqueness in the blockchain network, and the digital certificate has a unique identifier, and the identifier can be used for identifying an original creator of the original multimedia data, that is, the original creator is an object corresponding to the online graphical device. The digital certificate is used for indicating that the original multimedia data belongs to the object corresponding to the online picture transmission equipment, and the digital certificate is also used for indicating that the object corresponding to the online picture transmission equipment has rights for using, displaying, selling and the like of the multimedia data.
In one embodiment, the node device may add media attribute information of the original multimedia data to the digital certificate, thereby improving the credibility of the digital certificate.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Further, please refer to fig. 4, which is a flowchart illustrating a blockchain data processing method according to an embodiment of the present application. As shown in fig. 4, the method may be used by any online image transmission device in fig. 1, where the online image transmission device may refer to any device in a sub-block chain network, where the sub-block chain network includes a plurality of devices, and for convenience of distinction, a device in the sub-block chain network that needs to upload original multimedia data currently may be referred to as an online image transmission device, and devices in the sub-block chain network other than the online image transmission device are referred to as child node devices.
Wherein, the method can comprise the following steps:
s201, acquiring original multimedia data to be uploaded in the online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment.
And S202, verifying the relation between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain a first verification result.
In the application, the online image transmission device can verify the relationship between the original multimedia data and the online image transmission device through the blockchain application according to the media attribute information to obtain a first verification result.
The online image transmission device can adopt any one of the following three verification modes or a combination verification mode, and verifies the relationship between the original multimedia data and the online image transmission device according to the media attribute information to obtain a first verification result: in the first verification mode, the online image transmission device can determine component attribute information of an actual generation component for generating the original multimedia data according to the media attribute information; reading component attribute information of a local generation component used for generating multimedia data in the online picture transmission equipment from a blockchain in the blockchain network; determining the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component; and according to the similarity, verifying the relation between the original multimedia data and the online image transmission equipment to obtain a first verification result.
In the first verification mode, the online mapping device may extract component attribute information of an actual generating component for generating original multimedia data from the media attribute information, and read component attribute information of a local generating component for generating multimedia data in the online mapping device from a blockchain in the blockchain network. And calculating the similarity between the component attribute information of the actual generating component and the component information of the local generating component by adopting a similarity algorithm, determining that the original multimedia data is generated by the online mapping equipment when the similarity is larger than a similarity threshold value, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping equipment, wherein the similarity algorithm can comprise Jacquard similarity, cosine similarity, pearson similarity and the like. When the similarity is less than or equal to the similarity threshold, determining that the original multimedia data is not generated by the online mapping device, and generating a first verification result for indicating that the original multimedia data is not generated by the online mapping device. By verifying whether the original multimedia data is generated by a local generation component in the online picture transmission equipment or not, the relation between the original multimedia data and the online picture transmission equipment is verified, the illegal user is prevented from stealing the multimedia data of other people, and the copyright protection of the multimedia data is realized.
It should be noted that, the component attribute information may be obtained from the description information of the original multimedia data, or the component attribute information may be obtained from a watermark that is added when the multimedia data is generated.
In the second verification mode, the online image transmission device can acquire the generation time of the original multimedia data from the media attribute information; acquiring operation log data of a local generation component in the online graph transmission equipment in a historical time period according to the generation time; the generation time belongs to the history time period; determining the working state of the local generation component in the historical time period according to the operation log data; and verifying the relation between the original multimedia data and the online graphic transmission equipment according to the working state of the local generation assembly in the historical time period to obtain a first verification result.
In the second verification mode, the online mapping device may obtain a generation time in the original multimedia data from the media attribute information, and according to the generation time, obtain running log data of a local generation component in the online mapping device in a historical time period, where the generation time belongs to the historical time period, and the running log data reflects a running condition of the local generation component in the historical time period, for example, including a start running time, an end running time, a running duration, and the like. Further, according to the operation log data, the working state of the local generation component in the historical time period is determined, wherein the working state comprises a starting state or an un-starting state, the starting state means that the local generation component is in a normal working state in the historical time period, and the un-starting state reflects that the local generation component is not in the normal working state in the historical time period. When the working state of the generating component in the historical time period is in an inactive state, the original multimedia data is determined not to be generated by the online image transmission device, and a first verification result used for indicating that the original multimedia data is not generated by the online image transmission device is generated. When the working state of the generating component in the history time period is in a starting state, the original multimedia data is determined to be generated by the online image transmission device, and a first verification result used for indicating that the original multimedia data is generated by the online image transmission device is generated. And verifying the relation between the original multimedia data and the online graphic transmission equipment according to the working state of the local generation assembly in the historical time period, so that illegal users are prevented from stealing the multimedia data of other people, and copyright protection of the multimedia data is realized.
In a third verification mode, the online image transmission equipment queries a digital certificate matched with the media attribute information from the blockchain to obtain a query result; if the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain, acquiring the matching degree between the original multimedia data and the multimedia data in the retrieval database; and if the multimedia data with the matching degree larger than the matching threshold value between the original multimedia data and the original multimedia data does not exist in the search database, determining that the original multimedia data is generated by the online mapping equipment, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping equipment.
In the third verification mode, the online image transmission device may query the digital certificate matched with the media attribute information from the blockchain to obtain a query result, if the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain, it indicates that the original multimedia data has not generated the digital certificate, further, the matching degree between the original multimedia data and the multimedia data in the search database may be obtained according to the above-mentioned similarity algorithm, that is, the matching degree may refer to the similarity between the original multimedia data and the multimedia data in the search database, and the search database may be a database disclosed in the network. If the search database does not contain the multimedia data with the matching degree larger than the matching threshold value, the online mapping device can determine that the original multimedia data is generated by the online mapping device and generate a first verification result used for indicating that the original multimedia data is generated by the online mapping device. By verifying the relation between the original multimedia data and the online graphic transmission equipment according to the digital certificates on the retrieval database and the blockchain, illegal users are prevented from stealing the multimedia data of other people, and copyright protection of the multimedia data is realized.
In one embodiment, the online mapping device may verify the relationship between the original multimedia data and the online mapping device according to the first verification generation mode and the second verification generation mode, specifically, when the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component is greater than a similarity threshold, and the working state of the local generation component in the history actual segment is the start state, it is determined that the original multimedia data is generated by the online mapping device, and a first verification result for indicating that the original multimedia data is generated by the online mapping device is generated.
In one embodiment, the online mapping device may verify the relationship between the original multimedia data and the online mapping device according to the first verification mode and the third verification mode, specifically, when the original multimedia data satisfies any one of the following three conditions, determining that the original multimedia data is generated by the online mapping device, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping device: in the first case, when the similarity between the component attribute information of the actual generating component and the component attribute information of the local generating component is greater than a similarity threshold, and the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain. And in the second case, when the similarity between the component attribute information of the actual generating component and the component attribute information of the local generating component is greater than a similarity threshold value, and multimedia data with the matching degree with the original multimedia data greater than a matching threshold value does not exist in the search database. And thirdly, when the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component is larger than a similarity threshold value, and multimedia data with the matching degree larger than a matching threshold value between the original multimedia data does not exist in the search database, and the query result indicates that a digital certificate matched with the media attribute information does not exist on the blockchain.
In one embodiment, the online mapping device may verify the relationship between the original multimedia data and the online mapping device according to the generation verification mode two and the verification mode three, specifically, when the original multimedia data satisfies any one of the following three conditions, determining that the original multimedia data is generated by the online mapping device, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping device: in the first case, when the working state of the generating component in the history period is the starting state, and the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain. And in the second case, when the working state of the generating component in the history time period is a starting state and the multimedia data with the matching degree with the original multimedia data larger than the matching threshold value does not exist in the search database. And thirdly, when the working state of the generating component in the historical time period is a starting state, and the multimedia data with the matching degree larger than the matching threshold value between the original multimedia data does not exist in the searching database, and the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain.
In one embodiment, the online mapping device may verify the relationship between the original multimedia data and the online mapping device according to the first verification mode, the second verification mode and the third verification mode, specifically, when the original multimedia data satisfies any one of the following three conditions, determining that the original multimedia data is generated by the online mapping device, and generating a first verification result indicating that the original multimedia data is generated by the online mapping device: in the first case, when the similarity between the component attribute information of the actual generating component and the component attribute information of the local generating component is greater than a similarity threshold, and the working state of the generating component in the historical time period is a starting state, and the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain. And in the second case, when the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component is greater than a similarity threshold, the working state of the generation component in the historical time period is a starting state, and the multimedia data with the matching degree with the original multimedia data greater than the matching threshold does not exist in the search database. And thirdly, when the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component is larger than a similarity threshold, the working state of the generation component in the history time period is an starting state, the multimedia data with the matching degree larger than the matching threshold with the original multimedia data does not exist in the search database, and the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain.
And S203, broadcasting the media attribute information and the original multimedia data to a sub-node device in the sub-block chain network, wherein the sub-node device is used for verifying the relationship between the original multimedia data and the online picture transmission device according to the media attribute information to obtain a second verification result.
In the application, the online image transmission device may broadcast the media attribute information and the original multimedia data to a sub-node device in the sub-block chain network, where the sub-node device may verify, by using the block chain, a relationship between the original multimedia data and the online image transmission device according to the media attribute information, to obtain a second verification result, where the second verification result is used to indicate that the original multimedia data is generated by the online image transmission device, or indicate that the original multimedia data is not generated by the online image transmission device.
S204, receiving the second verification result sent by the child node device, and generating relationship indication information for indicating the relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result.
In the method, after the child node equipment in the sub-block chain network acquires the second verification result, the second verification result is sent to the online graph transmission equipment, the online graph transmission equipment can receive the second verification result, and according to the first verification result and the second verification result, relationship indication information for indicating the relationship between the original multimedia data and the online graph transmission equipment is generated, the relationship between the original multimedia data and the online graph transmission equipment is verified together through equipment in the sub-block chain network, and verification accuracy and fairness are improved.
In one embodiment, the generating relationship indicating information for indicating a relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result includes: the online image transmission equipment can count the number of target nodes in the subarea block chain network according to the first verification result and the second verification result; verifying that the number of the target nodes is the number corresponding to the equipment generated by the online image transmission equipment when the original multimedia data is obtained through the verification of the sub-block chain network; and acquiring the total node number in the sub-block chain network. And when the ratio between the number of the target nodes and the total number of the nodes is larger than a ratio threshold, generating relation indicating information for indicating that the original multimedia data is generated by the online mapping equipment.
Specifically, the online graph transmission device may count, according to the first verification result and the second verification result, the number of devices corresponding to the original multimedia data obtained by verification in the sub-blockchain network and generated by the online graph transmission device, determine the counted number as the number of target nodes, and further, the online graph transmission device may count the total number of devices corresponding to the sub-blockchain network, and record the total number as the total number of nodes. And obtaining the ratio between the number of target nodes and the number of total nodes, wherein the ratio is the number of target nodes divided by the number of total nodes, and when the ratio is larger than a ratio threshold value, generating relation indicating information for indicating that the original multimedia data is generated by the online image transmission equipment. The ratio threshold is greater than or equal to 0.5, that is, when most devices in the sub-block chain network verify that the original multimedia data is generated by the online image transmission device, the online image transmission device generates relation indicating information for indicating that the original multimedia data is generated by the online image transmission device, so that copyright protection of the original multimedia data is realized.
It should be noted that the ratio threshold may be preset, or the ratio threshold may be determined according to the media value of the original multimedia data, for example, the media value of the original multimedia data has a positive correlation with the ratio threshold, that is, the higher the media value, the greater the ratio threshold; conversely, the lower the media value, the smaller the ratio threshold. The media value of the original multimedia data may be determined according to at least one of a popularity of an object corresponding to the online graphical device, a type of the original multimedia data, and the like.
And S205, when the relation indication information indicates that the original multimedia data is generated by the online image transmission equipment, signing the original multimedia data according to a private key of the online image transmission equipment to obtain summary signature information of the original multimedia data.
In one embodiment, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device; the online image transmission device can sign the original multimedia data by any one of the following two signature modes to obtain the abstract signature information of the original multimedia data:
The signature mode I and the online image transmission equipment can sign the original multimedia data according to the private key of the online image transmission equipment to obtain first abstract signature information of the original multimedia data; receiving second abstract signature information of the original multimedia data sent by the child node equipment; the second summary signature information is obtained by signing the original multimedia data by using a private key of the child node device when the child node device determines that the original multimedia data is generated by the online image transmission device. And merging the first abstract signature information and the second abstract signature information to obtain the abstract signature information of the original multimedia data.
In a first signature mode, the online image transmission device can sign the original multimedia data according to a private key of the online image transmission device to obtain first abstract signature information of the original multimedia data; when the child node equipment in the sub-blockchain network verifies that the original multimedia data is generated by the online image transmission equipment, the original multimedia data can be signed according to a private key corresponding to the child node equipment to obtain second abstract signature information, the second abstract signature information is sent to the online image transmission equipment, and the online image transmission equipment can receive the second abstract signature information. And then merging the first abstract signature information and the second abstract signature information to obtain abstract signature information of the original multimedia data, and arranging the second abstract signature information after the first abstract signature information or before the first abstract signature information to obtain abstract signature information of the original multimedia data. And signing the original multimedia data by a plurality of devices in the sub-block chain network to obtain summary signature information, wherein the summary signature information is used for indicating that the plurality of devices witness that the original multimedia data is generated by the online picture transmission device, so as to realize the copyright protection of the multimedia data.
For example, as shown in fig. 5, the online image transmission device has a private key 60a, the child node device 1 in the child blockchain network has a private key 61a, and the child node device 2 has a private key 62a; when the online mapping device, the child node device 1 and the child node device 2 verify that the original multimedia data 63a is generated by the online mapping device. The online image transmission device may sign the original multimedia data 63a by using the private key 60a to obtain summary signature information 64a, and the child node device 1 may sign the original multimedia data 63a by using the private key 61a to obtain summary signature information 65a, and send the summary signature information 65a to the online image transmission device. The child node device 2 may sign the original multimedia data 63a with the private key 62a to obtain digest signature information 66a, and send the digest signature information 66a to the online graphical device. The online image transmission device may sequentially arrange the digest signature information 64a, the digest signature information 65a, and the digest signature information 66a to obtain the digest signature information of the original multimedia data 63 a.
The second signature mode and the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data, and the first abstract signature information is sent to the sub-node device in the sub-block chain network; and the child node device is used for encrypting the first abstract signature information by adopting a private key of the child node device when the original multimedia data is determined to be generated by the online image transmission device, so as to obtain ciphertext of the first abstract signature information of the original multimedia data. And receiving ciphertext of the first summary signature information sent by the child node equipment, and determining the ciphertext of the first summary signature information as the summary signature information of the original multimedia data. And signing the original multimedia data by a plurality of devices in the sub-block chain network to obtain summary signature information, wherein the summary signature information is used for indicating that the plurality of devices witness that the original multimedia data is generated by the online picture transmission device, so as to realize the copyright protection of the multimedia data.
For example, as shown in fig. 6, the online mapping device has a private key 70a, and the child node device 3 in the child blockchain network has a private key 71a. When the online mapping device and the child node device 3 verify that the original multimedia data 71a is generated by the online mapping device. The online image transmission device may use the private key 70a to sign the original multimedia data 71a to obtain the digest signature information 72a, send the digest signature information 72a to the node device 3, and the node device 3 may use the private key 73a to sign the digest signature information 72a to obtain the digest signature information of the original multimedia data. In particular, taking an example that two devices in the sub-block chain network verify that the original multimedia data is generated by the online image transmission device as an illustration, in practical application, step S205 is executed only when the number of devices corresponding to the devices in the sub-block chain network verify that the original multimedia data is generated by the online image transmission device is greater than a number threshold, where the number threshold is generally greater than 2, and the number threshold is determined according to the total number of devices in the sub-block chain network.
In one embodiment, signing the original multimedia data according to the private key of the online mapping device to obtain first digest signature information of the original multimedia data includes: the online image transmission device may adopt a hash algorithm to perform hash operation on the original multimedia data to obtain a hash value of the original multimedia data, and adopt a private key of the online image transmission device to encrypt the hash value of the original multimedia data to obtain first digest signature information of the original multimedia data. The hash algorithm herein may be referred to as a secure hash algorithm (Secure Hash Algorithm, SHA) and may include any of SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.
S206, transmitting the summary signature information, the object attribute information and the original multimedia data to node equipment in a block chain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
In one embodiment, after the online graphical device uploads the original multimedia data to the node device in the blockchain network, the original multimedia data may be deleted from the local storage, and the storage pressure of the local storage may be reduced.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Further, please refer to fig. 7, which is a flowchart illustrating a blockchain data processing method according to an embodiment of the present application. As shown in fig. 7, the method may be performed by a node device in the blockchain network of fig. 1. Wherein, the method can comprise the following steps:
s301, receiving abstract signature information of original multimedia data sent by the online image transmission equipment, and object attribute information of an object corresponding to the online image transmission equipment and the original multimedia data.
S302, signing verification is carried out on the abstract signature information of the original multimedia data according to the public key of the online image transmission device, and a signing verification result is obtained.
In the application, the node equipment can check the abstract signature information of the original multimedia data according to the public key corresponding to the online image transmission equipment to obtain a signature checking result, wherein the signature checking result is used for indicating that the abstract signature information passes or the signature checking result is used for indicating that the abstract signature information fails. Specifically, a plurality of node devices in the blockchain network check the summary signature information of the original multimedia data according to the public key corresponding to the online graph transmission device, and when the number of node devices for obtaining the result of checking the signature passing is greater than a number threshold, a signature checking result for indicating the summary signature information to check the signature passing is generated.
In one embodiment, when the digest signature information includes a signature of the online image transmission device, the node device may decrypt the digest signature information by using a public key corresponding to the online image transmission device to obtain a first hash value of the original multimedia data; and carrying out hash operation on the received original multimedia data to obtain a second hash value, and when the first hash value is the same as the second hash value, indicating that the original multimedia data is not tampered or information is lost in the transmission process (namely, the original multimedia data has integrity and authenticity), or determining that the summary signature information of the original multimedia data is not forged, determining that the summary signature information passes the verification, and generating a verification result for indicating the summary signature information passes the verification. When the first hash value is different from the second hash value, the abnormal conditions such as tampering or information loss and the like of the original multimedia data are indicated in the transmission process, or the digest signature information of the original multimedia data is forged, the fact that the digest signature information is not checked is determined, and a check result for indicating that the digest signature information is not checked is generated.
In one embodiment, the online mapping device belongs to a sub-blockchain network of the blockchain network, and the sub-blockchain network further comprises a sub-node device besides the online mapping device. When the summary signature information includes signatures of a plurality of devices in the sub-blockchain network, that is, when the summary signature information is generated based on the first signature mode, the node device may split the summary signature information of the original multimedia data to obtain the first summary signature information and the second summary signature information. The first summary signature information may be obtained by signing the original multimedia data based on a private key corresponding to the online graphical device, and the second summary signature information may be obtained by signing the original multimedia data based on a private key corresponding to the child node device. Further, the node equipment can adopt the public key of the online image transmission equipment to carry out signature verification on the first abstract signature information to obtain a first signature verification result; and adopting the public key of the child node equipment to carry out signature verification on the second abstract signature information to obtain a second signature verification result. And determining the signature verification result of the abstract signature information of the original multimedia data according to the first signature verification result and the second signature verification result. If the first signature verification result and the second signature verification result are both signature verification passing, generating a signature verification result indicating that the summary signature information of the original multimedia data passes the signature verification; when at least one of the first signature verification result and the second signature verification result is that the signature verification fails, generating a signature verification result indicating that the signature verification of the abstract signature information of the original multimedia data fails.
It can be understood that the signing of the first abstract signature information by adopting the public key of the online graph transmission device to obtain a first signing verification result includes: decrypting the first abstract signature information by adopting the public key of the online graph transmission equipment to obtain a first hash value of the original multimedia data, carrying out hash operation on the original multimedia data to obtain a second hash value, and generating a first signature verification result for indicating the first abstract signature information to pass through when the first hash value is identical to the second hash value; and when the first hash value is different from the second hash value, generating a first verification result for indicating that the verification of the first digest signature information fails.
It can be understood that the signing verification is performed on the second summary signature information by using the public key of the child node device to obtain a second signing verification result, which includes: decrypting the second abstract signature information by adopting the public key of the child node equipment to obtain a third hash value, and generating a second signature verification result for indicating the second abstract signature information to pass through when the third hash value is the same as the second hash value; and when the third hash value is different from the second hash value, generating a second signature verification result for indicating that the signature verification of the second digest signature information fails.
In one embodiment, the online mapping device belongs to a sub-blockchain network of the blockchain network, and the sub-blockchain network further comprises a sub-node device besides the online mapping device. When the summary signature information comprises signatures of a plurality of devices in the sub-blockchain network, namely when the summary signature information is generated based on the second signature mode, node equipment can perform signature decoding on the summary signature information of the original multimedia data according to the public key of the sub-node equipment to obtain first summary signature information; and performing signing decomposition on the first abstract information according to the public key of the online graph transmission equipment to obtain a signing verification result.
Specifically, the node device may decrypt the summary signature information of the original multimedia data according to the public key of the child node device to obtain first summary signature information, decrypt the first summary information according to the public key of the online graph transmission device to obtain a fourth hash value, perform hash operation on the received original multimedia data to obtain a second hash value, and generate a signature verification result for indicating that the summary signature information of the original multimedia data passes when the fourth hash value is identical to the second hash value; and when the fourth hash value is different from the second hash value, generating a signature verification result for indicating that the signature verification of the summary signature information of the original multimedia data fails.
S303, when the signature verification result indicates that the summary signature information passes the signature verification, generating a digital certificate of the original multimedia data according to the object attribute information; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, the digital certificate is used for indicating that the original multimedia data belongs to the object corresponding to the online image transmission device, and the summary signature information passing the signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on the media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device.
S304, storing the digital certificate and the original multimedia data on a blockchain in the blockchain network.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Fig. 8 is a schematic structural diagram of a blockchain data processing device according to an embodiment of the present application. The blockchain-based data processing device may be a computer program (including program code) running in the network device, for example, the blockchain-based data processing device is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. As shown in fig. 8, the blockchain data processing device may include:
an obtaining module 811, configured to obtain original multimedia data to be uploaded in an online image capturing device, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image capturing device;
a verification module 812, configured to verify a relationship between the original multimedia data and the online graphic device according to the media attribute information, to obtain relationship indication information;
the signature module 813 is configured to, when the relationship indication information indicates that the original multimedia data is generated by the online mapping device, sign the original multimedia data according to a private key of the online mapping device, and obtain summary signature information of the original multimedia data;
A transmitting module 814, configured to transmit the digest signature information of the original multimedia data, the object attribute information, and the original multimedia data to a node device in a blockchain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
optionally, the verification module 812 may include a verification unit 81a, a broadcasting unit 82a, and a generation unit 83a;
a verification unit 81a, configured to verify a relationship between the original multimedia data and the online graphic device according to the media attribute information, to obtain a first verification result;
a broadcasting unit 82a, configured to broadcast the media attribute information and the original multimedia data to a child node device in the sub-block chain network, where the child node device is configured to verify a relationship between the original multimedia data and the online graphical device according to the media attribute information, so as to obtain a second verification result;
And a generating unit 83a configured to receive the second verification result sent by the child node device, and generate relationship indicating information for indicating a relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result.
Optionally, the generating unit 83a generates relationship indicating information for indicating a relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result, including:
counting the number of target nodes in the sub-block chain network according to the first verification result and the second verification result; verifying that the number of the target nodes is the number corresponding to the equipment generated by the online image transmission equipment when the original multimedia data is obtained through the verification of the sub-block chain network;
acquiring the total node number in the sub-block chain network;
and when the ratio between the number of the target nodes and the total number of the nodes is larger than a ratio threshold, generating relation indicating information for indicating that the original multimedia data is generated by the online mapping equipment.
Optionally, the verifying unit 81a verifies a relationship between the original multimedia data and the online graphical device according to the media attribute information to obtain a first verification result, including:
Determining component attribute information of an actual generation component for generating the original multimedia data according to the media attribute information;
reading component attribute information of a local generation component used for generating multimedia data in the online picture transmission equipment from a blockchain in the blockchain network;
determining the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component;
and according to the similarity, verifying the relation between the original multimedia data and the online image transmission equipment to obtain a first verification result.
Optionally, the verifying unit 81a verifies a relationship between the original multimedia data and the online graphical device according to the media attribute information to obtain a first verification result, including:
acquiring the generation time of the original multimedia data from the media attribute information;
acquiring operation log data of a local generation component in the online graph transmission equipment in a historical time period according to the generation time; the generation time belongs to the history time period;
determining the working state of the local generation component in the historical time period according to the operation log data;
And verifying the relation between the original multimedia data and the online graphic transmission equipment according to the working state of the local generation assembly in the historical time period to obtain a first verification result.
Optionally, the verifying unit 81a verifies a relationship between the original multimedia data and the online graphical device according to the media attribute information to obtain a first verification result, including:
inquiring a digital certificate matched with the media attribute information from the blockchain to obtain an inquiry result;
if the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain, acquiring the matching degree between the original multimedia data and the multimedia data in the retrieval database;
and if the multimedia data with the matching degree larger than the matching threshold value between the original multimedia data and the original multimedia data does not exist in the search database, determining that the original multimedia data is generated by the online mapping equipment, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping equipment.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
Optionally, the signing module 813 signs the original multimedia data according to the private key of the online image transmission device to obtain summary signature information of the original multimedia data, and includes:
signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
receiving second abstract signature information of the original multimedia data sent by the child node equipment; the second summary signature information is obtained by signing the original multimedia data by adopting a private key of the child node device when the child node device determines that the original multimedia data is generated by the online image transmission device;
and merging the first abstract signature information and the second abstract signature information to obtain the abstract signature information of the original multimedia data.
Optionally, the signature module 813 belongs to a sub-block chain network of the block chain network, where the sub-block chain network further includes a sub-node device other than the online image transmission device;
the signing the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, which comprises the following steps:
Signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
transmitting the first digest signature information to a child node device in the sub-block chain network; the child node device is used for encrypting the first abstract signature information by adopting a private key of the child node device when the original multimedia data is determined to be generated by the online image transmission device, so as to obtain ciphertext of the first abstract signature information;
and receiving ciphertext of the first abstract signature information sent by the child node equipment, and determining the ciphertext of the first abstract signature information as the abstract signature information of the original multimedia data.
Optionally, the signing module 813 signs the original multimedia data according to the private key of the online image transmission device to obtain first summary signature information of the original multimedia data, where the first summary signature information includes:
carrying out hash operation on the original multimedia data to obtain a hash value of the original multimedia data;
and encrypting the hash value of the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Fig. 9 is a schematic structural diagram of a blockchain data processing device according to an embodiment of the present application. The blockchain-based data processing device may be a computer program (including program code) running in the network device, for example, the blockchain-based data processing device is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. As shown in fig. 9, the blockchain data processing device may include:
the receiving module 911 is configured to receive summary signature information of original multimedia data sent by an online image transmission device, and object attribute information of an object corresponding to the online image transmission device and the original multimedia data;
the signature verification module 912 is configured to verify signature of the summary signature information of the original multimedia data according to the public key of the online image transmission device, so as to obtain a signature verification result;
a generating module 913, configured to generate a digital certificate of the original multimedia data according to the object attribute information when the signature verification result indicates that the summary signature information passes the signature verification; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
A storage module 914 for storing the digital certificate and the original multimedia data on a blockchain in the blockchain network.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
the signature verification module 912 performs signature verification on the summary signature information of the original multimedia data according to the public key of the online image transmission device, so as to obtain a signature verification result, which includes:
splitting the abstract signature information of the original multimedia data to obtain first abstract signature information and second abstract signature information;
the public key of the online image transmission equipment is adopted to carry out signature verification on the first abstract signature information, and a first signature verification result is obtained;
signing the second abstract signature information by adopting the public key of the child node equipment to obtain a second signing verification result;
and determining the signature verification result of the abstract signature information of the original multimedia data according to the first signature verification result and the second signature verification result.
Optionally, the signature verification module 912 belongs to a sub-block chain network of the block chain network, where the sub-block chain network further includes a sub-node device other than the online signature transmission device;
The signature verification is performed on the summary signature information of the original multimedia data according to the public key of the online image transmission device to obtain a signature verification result, which comprises the following steps:
decrypting the abstract signature information of the original multimedia data according to the public key of the child node equipment to obtain first abstract signature information;
and performing signing decomposition on the first abstract information according to the public key of the online graph transmission equipment to obtain a signing verification result.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 10, the above-mentioned computer device 1000 may refer to a terminal or a server, including: processor 1001, network interface 1004, and memory 1005, and in addition, the above-described computer device 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. In some embodiments, the user interface 1003 may include a DiSPlay (DiSPlay), a Keyboard (keyBoard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface, among others. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The MeMory 1005 may be a high-speed RAM MeMory or a nonvolatile MeMory (non-volatile MeMory), such as at least one magnetic disk MeMory. The memory 1005 may also optionally be at least one storage device remote from the processor 1001. As shown in fig. 10, an operating system, a network communication module, a user interface module, and a computer program may be included in the memory 1005, which is a type of computer-readable storage medium.
In the computer device 1000 shown in FIG. 10, the network interface 1004 may provide network communication functions; while user interface 1003 is primarily used as an interface to provide input; and the processor 1001 may be configured to invoke a computer program stored in the memory 1005 to execute:
acquiring original multimedia data to be uploaded in online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment;
verifying the relationship between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relationship indication information;
when the relation indication information indicates that the original multimedia data is generated by the online image transmission equipment, signing the original multimedia data according to a private key of the online image transmission equipment to obtain summary signature information of the original multimedia data;
transmitting the summary signature information of the original multimedia data, the object attribute information and the original multimedia data to node equipment in a block chain network; the node device in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to execute a sub-blockchain network of the blockchain network to which the online mapping device belongs, where the sub-blockchain network further includes a sub-node device other than the online mapping device;
verifying the relationship between the original multimedia data and the online graphic transmission device according to the media attribute information to obtain relationship indication information, wherein the relationship indication information comprises:
verifying the relation between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain a first verification result;
broadcasting the media attribute information and the original multimedia data to a sub-node device in the sub-block chain network, wherein the sub-node device is used for verifying the relationship between the original multimedia data and the online picture transmission device according to the media attribute information to obtain a second verification result;
and receiving the second verification result sent by the child node device, and generating relationship indicating information for indicating the relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to generate relationship indicating information for indicating a relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result, and includes:
counting the number of target nodes in the sub-block chain network according to the first verification result and the second verification result; verifying that the number of the target nodes is the number corresponding to the equipment generated by the online image transmission equipment when the original multimedia data is obtained through the verification of the sub-block chain network;
acquiring the total node number in the sub-block chain network;
and when the ratio between the number of the target nodes and the total number of the nodes is larger than a ratio threshold, generating relation indicating information for indicating that the original multimedia data is generated by the online mapping equipment.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform verification of a relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, where the first verification result includes:
Determining component attribute information of an actual generation component for generating the original multimedia data according to the media attribute information;
reading component attribute information of a local generation component used for generating multimedia data in the online picture transmission equipment from a blockchain in the blockchain network;
determining the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component;
and according to the similarity, verifying the relation between the original multimedia data and the online image transmission equipment to obtain a first verification result.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform verification of a relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, where the first verification result includes:
acquiring the generation time of the original multimedia data from the media attribute information;
acquiring operation log data of a local generation component in the online graph transmission equipment in a historical time period according to the generation time; the generation time belongs to the history time period;
Determining the working state of the local generation component in the historical time period according to the operation log data;
and verifying the relation between the original multimedia data and the online graphic transmission equipment according to the working state of the local generation assembly in the historical time period to obtain a first verification result.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform verification of a relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, where the first verification result includes:
inquiring a digital certificate matched with the media attribute information from the blockchain to obtain an inquiry result;
if the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain, acquiring the matching degree between the original multimedia data and the multimedia data in the retrieval database;
and if the multimedia data with the matching degree larger than the matching threshold value between the original multimedia data and the original multimedia data does not exist in the search database, determining that the original multimedia data is generated by the online mapping equipment, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping equipment.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform signing the original multimedia data according to a private key of the online mapping device, to obtain digest signature information of the original multimedia data, and includes:
signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
receiving second abstract signature information of the original multimedia data sent by the child node equipment; the second summary signature information is obtained by signing the original multimedia data by adopting a private key of the child node device when the child node device determines that the original multimedia data is generated by the online image transmission device;
and merging the first abstract signature information and the second abstract signature information to obtain the abstract signature information of the original multimedia data.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform signing the original multimedia data according to a private key of the online mapping device, to obtain digest signature information of the original multimedia data, and includes:
signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
transmitting the first digest signature information to a child node device in the sub-block chain network; the child node device is used for encrypting the first abstract signature information by adopting a private key of the child node device when the original multimedia data is determined to be generated by the online image transmission device, so as to obtain ciphertext of the first abstract signature information;
and receiving ciphertext of the first abstract signature information sent by the child node equipment, and determining the ciphertext of the first abstract signature information as the abstract signature information of the original multimedia data.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform signing the original multimedia data according to a private key of the online mapping device, to obtain first digest signature information of the original multimedia data, including:
carrying out hash operation on the original multimedia data to obtain a hash value of the original multimedia data;
and encrypting the hash value of the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data.
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to execute:
receiving abstract signature information of original multimedia data sent by online image transmission equipment, object attribute information of an object corresponding to the online image transmission equipment and the original multimedia data;
according to the public key of the online image transmission equipment, signature verification is carried out on the abstract signature information of the original multimedia data, and a signature verification result is obtained;
when the signature verification result indicates that the summary signature information passes the signature verification, generating a digital certificate of the original multimedia data according to the object attribute information; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
Storing the digital voucher and the original multimedia data on a blockchain in the blockchain network.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform signing verification on the summary signature information of the original multimedia data according to the public key of the online mapping device, so as to obtain a signing verification result, where the signing verification result includes:
splitting the abstract signature information of the original multimedia data to obtain first abstract signature information and second abstract signature information;
the public key of the online image transmission equipment is adopted to carry out signature verification on the first abstract signature information, and a first signature verification result is obtained;
signing the second abstract signature information by adopting the public key of the child node equipment to obtain a second signing verification result;
and determining the signature verification result of the abstract signature information of the original multimedia data according to the first signature verification result and the second signature verification result.
Optionally, the online graph transmission device belongs to a sub-block chain network of the block chain network, and the sub-block chain network further comprises a sub-node device except the online graph transmission device;
Optionally, the processor 1001 is configured to invoke a computer program stored in the memory 1005 to perform signing verification on the summary signature information of the original multimedia data according to the public key of the online mapping device, so as to obtain a signing verification result, where the signing verification result includes:
decrypting the abstract signature information of the original multimedia data according to the public key of the child node equipment to obtain first abstract signature information;
and performing signing decomposition on the first abstract information according to the public key of the online graph transmission equipment to obtain a signing verification result.
In the application, when the original multimedia data is verified to be generated by the online image transmission device, namely when the original multimedia data is the original work of the object corresponding to the online image transmission device, the online image transmission device can sign the original multimedia data according to the private key of the online image transmission device to obtain the summary signature information of the original multimedia data, and the summary signature information of the original multimedia data can prove that the original multimedia data is generated by the online image transmission device and can be used for verifying the integrity of the original multimedia data. Further, the summary signature information, the object attribute information and the original multimedia data of the original multimedia data are sent to a node device in the blockchain network, the node device can verify the integrity of the original multimedia data based on the summary signature information of the original multimedia data, and whether the original multimedia data is generated by the online mapping device or not, namely when the summary signature information of the original multimedia data passes through the verification, the original multimedia data is generated by the online mapping device, and the original multimedia data has the integrity, at the moment, the node device generates a digital certificate of the original multimedia data according to the object attribute information, and stores the digital certificate and the original multimedia data on a blockchain in the blockchain network. The original multimedia data can be proved to be the original work of the object corresponding to the online picture transmission equipment through the digital certificate, illegal users can be effectively prevented from embezzling the original multimedia data, and the digital certificate has non-tamper property and uniqueness, so that the copyright protection of the original multimedia data can be realized through the digital certificate, the original multimedia data on a blockchain has non-tamper property, and the integrity and the authenticity of the original multimedia data can be ensured.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program executed by the blockchain data processing device mentioned above, and the computer program includes program instructions, when the processor executes the program instructions, the processor can execute the description of the blockchain data processing method in the corresponding embodiment, and therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application.
As an example, the above-described program instructions may be executed on one computer device or at least two computer devices disposed at one site, or alternatively, at least two computer devices distributed at least two sites and interconnected by a communication network, which may constitute a blockchain network.
The computer readable storage medium may be a blockchain data processing apparatus provided in any of the foregoing embodiments or a central storage unit of the foregoing computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a SMart Media Card (SMC), a Secure Digital (SD) card, a flaSh memory card (flashh card), etc. provided on the computer device. Further, the computer-readable storage medium may also include both a central storage unit and an external storage device of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
The terms first, second and the like in the description and in the claims and drawings of the embodiments of the present application are used for distinguishing between different media and not necessarily for describing a particular sequential or chronological order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or modules but may, in the alternative, include other steps or modules not listed or inherent to such process, method, apparatus, article, or device.
In the application, the collection and processing of related data (such as initial behavior characteristics corresponding to the interaction behavior of the user, object characteristics of the user and the like) should be strictly according to the requirements of relevant national laws and regulations when the example is applied, so as to acquire the informed consent or independent consent of the personal information body, and develop the subsequent data use and processing behavior within the authorized range of the laws and regulations and the personal information body.
The embodiments of the present application further provide a computer program product, which includes a computer program, where the computer program when executed by a processor implements the description of the blockchain data processing method and the decoding method in the foregoing corresponding embodiments, and therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer program product according to the present application, reference is made to the description of the method embodiments of the present application.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The methods and related devices provided in the embodiments of the present application are described with reference to the method flowcharts and/or structure diagrams provided in the embodiments of the present application, and each flowchart and/or block of the method flowcharts and/or structure diagrams may be implemented by computer program instructions, and combinations of flowcharts and/or blocks in the flowchart and/or block diagrams. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable network connection device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable network connection device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable network connection device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or structural diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable network connection device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer implemented process such that the instructions which execute on the computer or other programmable device provide steps for implementing the functions specified in the flowchart flow or flows and/or structures.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (17)

1. A method of blockchain data processing, comprising:
acquiring original multimedia data to be uploaded in online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment;
according to the media attribute information, verifying the relationship between the original multimedia data and the online graphic transmission equipment to obtain relationship indication information;
when the relation indication information indicates that the original multimedia data is generated by the online picture transmission equipment, signing the original multimedia data according to a private key of the online picture transmission equipment to obtain summary signature information of the original multimedia data;
transmitting the summary signature information, the object attribute information and the original multimedia data of the original multimedia data to node equipment in a block chain network; the node equipment in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission equipment.
2. The method of claim 1, wherein the online mapping device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further comprising child node devices other than the online mapping device;
and verifying the relationship between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relationship indication information, wherein the relationship indication information comprises:
according to the media attribute information, verifying the relation between the original multimedia data and the online graphic transmission equipment to obtain a first verification result;
broadcasting the media attribute information and the original multimedia data to a sub-node device in the sub-block chain network, wherein the sub-node device is used for verifying the relationship between the original multimedia data and the online graphic transmission device according to the media attribute information to obtain a second verification result;
and receiving the second verification result sent by the child node equipment, and generating relation indicating information for indicating the relation between the original multimedia data and the online mapping equipment according to the first verification result and the second verification result.
3. The method according to claim 2, wherein the generating relationship indicating information for indicating a relationship between the original multimedia data and the online mapping device according to the first verification result and the second verification result includes:
counting the number of target nodes in the sub-block chain network according to the first verification result and the second verification result; the target node number is the number corresponding to the equipment generated by the online image transmission equipment, and the original multimedia data is obtained through verification of the sub-block chain network;
acquiring the total node number in the sub-block chain network;
and when the ratio between the number of target nodes and the total number of nodes is larger than a ratio threshold, generating relation indicating information for indicating that the original multimedia data is generated by the online mapping equipment.
4. The method according to claim 2, wherein verifying the relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, comprises:
determining component attribute information of an actual generation component for generating the original multimedia data according to the media attribute information;
Reading component attribute information of a local generation component used for generating multimedia data in the online picture transmission equipment from a blockchain in the blockchain network;
determining the similarity between the component attribute information of the actual generation component and the component attribute information of the local generation component;
and according to the similarity, verifying the relation between the original multimedia data and the online image transmission equipment to obtain a first verification result.
5. The method according to claim 2, wherein verifying the relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, comprises:
acquiring the generation time of the original multimedia data from the media attribute information;
acquiring operation log data of a local generation component in the online graphic transmission equipment in a historical time period according to the generation time; the generation time belongs to the history time period;
determining the working state of the local generation component in the historical time period according to the operation log data;
and verifying the relation between the original multimedia data and the online graphic transmission equipment according to the working state of the local generation assembly in the historical time period to obtain a first verification result.
6. The method according to claim 2, wherein verifying the relationship between the original multimedia data and the online graphical device according to the media attribute information, to obtain a first verification result, comprises:
inquiring a digital certificate matched with the media attribute information from the blockchain to obtain an inquiry result;
if the query result indicates that the digital certificate matched with the media attribute information does not exist on the blockchain, acquiring the matching degree between the original multimedia data and the multimedia data in the retrieval database;
and if the multimedia data with the matching degree larger than the matching threshold value between the original multimedia data and the original multimedia data does not exist in the search database, determining that the original multimedia data is generated by the online mapping equipment, and generating a first verification result for indicating that the original multimedia data is generated by the online mapping equipment.
7. The method of claim 1, wherein the online mapping device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further comprising child node devices other than the online mapping device;
The signing the original multimedia data according to the private key of the online image transmission device to obtain the abstract signature information of the original multimedia data comprises the following steps:
signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
receiving second abstract signature information of the original multimedia data sent by the child node equipment; the second summary signature information is obtained by signing the original multimedia data by adopting a private key of the child node equipment when the child node equipment determines that the original multimedia data is generated by the online image transmission equipment;
and merging the first abstract signature information and the second abstract signature information to obtain the abstract signature information of the original multimedia data.
8. The method of claim 1, wherein the online mapping device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further comprising child node devices other than the online mapping device;
the signing the original multimedia data according to the private key of the online image transmission device to obtain the abstract signature information of the original multimedia data comprises the following steps:
Signing the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data;
transmitting the first digest signature information to a child node device in the sub-block chain network; the child node device is used for encrypting the first abstract signature information by adopting a private key of the child node device when the original multimedia data is determined to be generated by the online image transmission device, so as to obtain ciphertext of the first abstract signature information;
and receiving the ciphertext of the first abstract signature information sent by the child node equipment, and determining the ciphertext of the first abstract signature information as the abstract signature information of the original multimedia data.
9. The method according to claim 7 or 8, wherein signing the original multimedia data according to the private key of the online mapping device, to obtain first digest signature information of the original multimedia data, includes:
performing hash operation on the original multimedia data to obtain a hash value of the original multimedia data;
and encrypting the hash value of the original multimedia data according to the private key of the online image transmission device to obtain first abstract signature information of the original multimedia data.
10. A method of blockchain data processing, comprising:
receiving abstract signature information of original multimedia data sent by online image transmission equipment, object attribute information of an object corresponding to the online image transmission equipment and the original multimedia data;
according to the public key of the online image transmission device, signature verification is carried out on the abstract signature information of the original multimedia data, and a signature verification result is obtained;
when the signature verification result indicates that the summary signature information passes the signature verification, generating a digital certificate of the original multimedia data according to the object attribute information; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
the digital voucher and the original multimedia data are stored onto a blockchain in the blockchain network.
11. The method of claim 10, wherein the online mapping device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further comprising a child node device other than the online mapping device;
the signing verification is carried out on the abstract signature information of the original multimedia data according to the public key of the online graph transmission equipment to obtain a signing verification result, and the signing verification method comprises the following steps:
splitting the abstract signature information of the original multimedia data to obtain first abstract signature information and second abstract signature information;
the public key of the online image transmission equipment is adopted to carry out signature verification on the first abstract signature information, and a first signature verification result is obtained;
signing the second abstract signature information by adopting the public key of the child node equipment to obtain a second signing verification result;
and determining the signature verification result of the abstract signature information of the original multimedia data according to the first signature verification result and the second signature verification result.
12. The method of claim 10, wherein the online mapping device belongs to a sub-blockchain network of the blockchain network, the sub-blockchain network further comprising a child node device other than the online mapping device;
The signing verification is carried out on the abstract signature information of the original multimedia data according to the public key of the online graph transmission equipment to obtain a signing verification result, and the signing verification method comprises the following steps:
decrypting the abstract signature information of the original multimedia data according to the public key of the child node equipment to obtain first abstract signature information;
and performing signing decomposition on the first abstract information according to the public key of the online graph transmission equipment to obtain a signing verification result.
13. A blockchain data processing device, comprising:
the acquisition module is used for acquiring original multimedia data to be uploaded in the online image transmission equipment, and media attribute information of the original multimedia data and object attribute information of an object corresponding to the online image transmission equipment;
the verification module is used for verifying the relation between the original multimedia data and the online graphic transmission equipment according to the media attribute information to obtain relation indication information;
the signature module is used for signing the original multimedia data according to the private key of the online image transmission equipment when the relationship indication information indicates that the original multimedia data is generated by the online image transmission equipment, so as to obtain abstract signature information of the original multimedia data;
The sending module is used for sending the summary signature information, the object attribute information and the original multimedia data to node equipment in a blockchain network; the node equipment in the blockchain network is used for generating a digital certificate of the original multimedia data according to the object attribute information when the digest signature information passes through the signature verification, and storing the digital certificate and the original multimedia data on a blockchain in the blockchain network, wherein the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission equipment.
14. A blockchain data processing device, comprising:
the receiving module is used for receiving the abstract signature information of the original multimedia data sent by the online picture transmission equipment, and the object attribute information of the object corresponding to the online picture transmission equipment and the original multimedia data;
the signature verification module is used for verifying signature of the abstract signature information of the original multimedia data according to the public key of the online image transmission equipment to obtain a signature verification result;
the generation module is used for generating a digital certificate of the original multimedia data according to the object attribute information when the signature verification result indicates that the summary signature information passes the signature verification; the digital certificate is used for indicating that the original multimedia data belongs to an object corresponding to the online image transmission device, and summary signature information passing through signature verification is obtained by signing the original multimedia data by adopting a private key of the online image transmission device when the online image transmission device verifies based on media attribute information of the original multimedia data to obtain the original multimedia data generated by the online image transmission device;
And the storage module is used for storing the digital certificate and the original multimedia data onto a blockchain in the blockchain network.
15. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 12 when the computer program is executed.
16. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 12.
17. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any one of claims 1 to 12.
CN202311490338.5A 2023-11-08 2023-11-08 Block chain data processing method, device, equipment and storage medium Pending CN117544351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311490338.5A CN117544351A (en) 2023-11-08 2023-11-08 Block chain data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311490338.5A CN117544351A (en) 2023-11-08 2023-11-08 Block chain data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117544351A true CN117544351A (en) 2024-02-09

Family

ID=89785392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311490338.5A Pending CN117544351A (en) 2023-11-08 2023-11-08 Block chain data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117544351A (en)

Similar Documents

Publication Publication Date Title
CN110569675B (en) Multi-Agent transaction information protection method based on block chain technology
CN111970129B (en) Data processing method and device based on block chain and readable storage medium
US11151236B2 (en) File verification database system
EP3710974B1 (en) Method and arrangement for detecting digital content tampering
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN111159651B (en) Block chain online evidence-storing method and system
CN110785760A (en) Method and system for registering digital documents
US11025430B2 (en) File provenance database system
JP2017098806A (en) Existence proof program and existence proof server for electronic data
CN111314172B (en) Block chain-based data processing method, device, equipment and storage medium
US20200387859A1 (en) Methods, Application Server, Block Chain Node and Media For Logistics Tracking and Source Tracing
CN112287034B (en) Data synchronization method, equipment and computer readable storage medium
US11139960B2 (en) File redaction database system
CN110096903B (en) Asset verification method based on block chain and block chain network system
CN110266872B (en) Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium
CN105007301A (en) Electronic evidence processing system and method based on social platform
CN112287033B (en) Data synchronization method, equipment and computer readable storage medium
CN111488372A (en) Data processing method, device and storage medium
CN113129008B (en) Data processing method, device, computer readable medium and electronic equipment
CN114254269B (en) System and method for determining rights of biological digital assets based on block chain technology
CN110941840A (en) Data processing method, system and terminal
CN110347750B (en) Block chain-based data processing method and device
CN117544351A (en) Block chain data processing method, device, equipment and storage medium
CN109271811B (en) Group signature-based electronic material evidence tamper-proof storage method
CN115544170B (en) Data hosting method and device based on block chain, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication