Data right confirmation method and device based on target identification and medium
By pre-processing and target recognition of images, and using blockchain and multi-party review mechanisms to process image data rights in a fine-grained manner, it solves the problems of extensive rights granting and subjective judgments in the existing technology, and achieves more accurate and fair image data. Registration of rights and handling of complaints.
Patent Information
- Application Number
- CN202410845064.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology is too extensive in granting rights during the image data rights confirmation process, and the rights judgment is too subjective, making it difficult to handle image information and rights disputes in a fine-grained manner.
By preprocessing and target recognition of images to be confirmed, key image blocks are extracted, and blockchain and multi-party review mechanisms are used to register and verify rights. The similarity calculation model is combined with the assisted judgment to achieve fine-grained rights registration and appeal processing.
It improves the accuracy and objectivity of image data rights assignment, reduces manual participation, and ensures the reliability and fairness of rights registration.
Smart Images

Figure CN118606909A
Abstract
Description
Technical Field
[0001] The present invention relates to a data rights confirmation method, device and medium based on target recognition, and belongs to the technical field of machine learning. Background Art
[0002] With the rapid development of the data industry, data has become a new production factor with extremely high value. However, due to the non-exclusive and non-competitive characteristics of data, the ownership of data property has always been a difficult problem. Data rights confirmation technology protects the rights and interests of data subjects, promotes the rational use and circulation of data, and promotes the development of the digital economy by giving data property attributes, ensuring the authenticity and traceability of data. In enterprises, data rights confirmation can help enterprises better manage and utilize data resources, improve operational efficiency and competitiveness. For example, data classification and grading, data trading, data asset management, etc. all require the support of data rights confirmation technology. Through data rights confirmation, enterprises can protect their rights and interests, avoid disputes in the process of data transactions, and better manage and utilize data assets.
[0003] Blockchain is a decentralized distributed ledger that is tamper-proof, secure and reliable. It combines distributed storage, peer-to-peer transmission, consensus mechanism, cryptography and other technologies to record transactions and information through an ever-growing data chain (Blocks) to ensure data security and transparency.
[0004] At present, traditional data rights confirmation technologies, especially for image-type data assets, are mostly oriented towards overall authorization, and when rights disputes arise, they can only be judged based on the subjective judgment of auditors. However, images can often be modified by modifying some content or color style to generate new images. If only the global rights are authenticated, local infringements will often go undetected, and the judgment will be unfair if it is based solely on the subjective judgment of auditors. In this case, how to design a method that can authorize image information and handle rights disputes in a more fine-grained manner has become an urgent problem to be solved. Summary of the invention
[0005] The purpose of the present invention is to provide a data rights confirmation method, device and medium based on target recognition, which solves the problems of excessively rough granting of rights and excessively subjective rights determination in the previous image data rights confirmation process.
[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions: Preprocess the images to be confirmed, unify the minimum side length of the images, and normalize the image pixel values to obtain the feature matrix; Build and train the target recognition model, input the normalized feature matrix into the model, and identify the key image blocks; Use the hash function to calculate the hash value of each image block, and package the hash value with the rights information and the authorized person information and upload it to the blockchain; The transaction information is reviewed by multiple review agencies, and the transaction is confirmed based on the review results. The source image, image block, block ID, image metadata and rights owner information are stored in a distributed storage system. Input the appeal image block and the authorized image block into the similarity calculation model to obtain the image similarity; if the similarity does not reach the set threshold, the appeal is terminated; if the similarity reaches the set threshold, the authorized image block ID is obtained from the distributed storage and the image block hash is calculated; Upload the block ID and hash value to the rights verification smart contract, and perform subsequent processing based on the results returned by the smart contract.
[0007] Preferably, the target recognition model adopts the Faster R-CNN model.
[0008] Preferably, the hash function adopts sha-256.
[0009] Preferably, the rights information includes ownership, operating rights, usage rights, and the time point and validity period of the rights granted.
[0010] Preferably, the institution adopts a voting mechanism to review the transaction information, and more than half of the votes are considered as approval.
[0011] Preferably, the distributed storage adopts distributed minio.
[0012] Preferably, the similarity calculation model adopts a pre-trained twin network, and the set threshold is 0.9.
[0013] Preferably, the rights verification smart contract receives the block ID and hash value, obtains the block information in the blockchain according to the block ID, compares the uploaded hash value with the hash in the block information, and returns success if they are consistent, otherwise returns failure.
[0014] The advantages of the present invention are: the present invention uses a target recognition model to extract targets from image data, obtains backbone information, and uses the advantages of blockchain decentralization, security, reliability and non-tamperability to store important image blocks and rights information, and uses a similarity calculation model to perform similarity judgment on the complaint image block and the evidence image block to assist manual judgment, and finally achieves fine-grained image data rights registration and rights complaint judgment. The present invention uses a target recognition model to segment the image and assign rights to each image block, making the power assignment more accurate and more fine-grained. At the same time, blockchain is used for rights registration and combined with a multi-party joint review system, making the right confirmation process more reliable and the rights registration more credible. Finally, the similarity calculation network is used to calculate the two image blocks, reducing the degree of manual participation and making the rights judgment more objective and fair. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0016] Figure 1 It is a schematic diagram of the process of the present invention.
[0017] Figure 2 Flow chart of the rights appeal method. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] like Figure 1 As shown, a data rights confirmation method based on target identification includes: S1: Preprocess the image to be authenticated, unify the minimum side length of the image, and normalize the image pixel values to obtain the feature matrix.
[0020] S2: Build and train the target recognition model, input the normalized feature matrix into the model, and identify the key image blocks.
[0021] S3: Use the hash function to calculate the hash value of each image block, and package the hash value, rights information, and authorized person information and upload them to the blockchain.
[0022] S4: The transaction information is reviewed by multiple review agencies, and the transaction is confirmed based on the review results. The source image, image block, block ID, image metadata and rights owner information are stored in a distributed storage system.
[0023] S5: Input the appeal image block and the authorized image block into the similarity calculation model to obtain the image similarity; if the similarity does not reach the set threshold, the appeal is terminated; if the similarity reaches the set threshold, the authorized image block storage block ID is obtained from the distributed storage and the image block hash is calculated.
[0024] S6: Upload the block ID and hash value to the rights verification smart contract, and perform subsequent processing based on the results returned by the smart contract.
[0025] As a refinement of the above embodiment, the minimum side length of the image is unified (such as 600 pixels) through a proportional stretching operation; the normalization is to normalize the pixel values of the image to the range used in model training, usually [0, 1] or [-1, 1].
[0026] The target recognition model adopts the Faster R-CNN model; the key image block is a local image block containing important image information; the hash function adopts sha-256; the similarity calculation model adopts a pre-trained Siamese Network; and the set threshold is 0.9.
[0027] The distributed storage adopts distributed minio.
[0028] The rights information includes ownership, operating rights, usage rights, and the time point and validity period of the rights granted; the authorized person information is information that can uniquely identify the authorized person, such as an ID number.
[0029] The rights verification smart contract obtains the block information in the blockchain after receiving the block ID, and then compares the uploaded hash value with the hash in the block information. If they are consistent, it returns success, otherwise it returns failure. If the smart contract returns success, it collects the appeal information and the evidence information and sends them to manual judgment. When the similarity does not reach the threshold, the appeal is automatically closed. The appeal information includes the certificate that can prove that the owner holds the right to the image block, the appeal request, the complete image information held by the owner, and the image block location.
[0030] The embodiment of the present disclosure also provides a data rights confirmation device based on target identification, including a processor and a memory. Optionally, the device may also include a communication interface and a bus. The processor, the communication interface, and the memory may communicate with each other through the bus. The communication interface may be used for information transmission. The processor may call the logic instructions in the memory to execute the data rights confirmation method based on target identification of the above embodiment.
[0031] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0032] The memory, as a computer-readable storage medium, can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor executes the function application and data processing by running the program instructions / modules stored in the memory, that is, the data right confirmation method based on target identification in the above embodiment is implemented.
[0033] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory may include a high-speed random access memory and may also include a non-volatile memory.
[0034] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned data rights confirmation method based on target identification.
[0035] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0036] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0037] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A data rights confirmation method based on target identification, characterized in that: The following steps are involved: Preprocess the images to be confirmed, unify the minimum side length of the images, and normalize the image pixel values to obtain the feature matrix; Build and train the target recognition model, input the normalized feature matrix into the model, and identify the key image blocks; Use the hash function to calculate the hash value of each image block, and package the hash value with the rights information and the authorized person information and upload it to the blockchain; The transaction information is reviewed by multiple review agencies, and the transaction is confirmed based on the review results. The source image, image block, block ID, image metadata and rights owner information are stored in a distributed storage system. Input the appeal image block and the authorized image block into the similarity calculation model to obtain the image similarity; if the similarity does not reach the set threshold, the appeal is terminated; if the similarity reaches the set threshold, the authorized image block ID is obtained from the distributed storage and the image block hash is calculated; Upload the block ID and hash value to the rights verification smart contract, and perform subsequent processing based on the results returned by the smart contract.
2. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The target recognition model adopts the Faster R-CNN model.
3. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The hash function adopts sha-256.
4. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The rights information includes ownership, operating rights, usage rights, and the time point and validity period of the rights.
5. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The said institution adopts a voting mechanism to review transaction information, and a majority of the votes are considered approval.
6. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The distributed storage adopts distributed minio.
7. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The similarity calculation model adopts a pre-trained twin network, and the set threshold is 0.
9.
8. The data rights confirmation method based on target identification according to claim 1 is characterized in that: The rights verification smart contract receives the block ID and hash value, obtains the block information in the blockchain according to the block ID, and compares the uploaded hash value with the hash in the block information. If they are consistent, it returns success, otherwise it returns failure.
9. A data rights confirmation device based on target identification, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the data rights confirmation method based on target identification as described in any one of claims 1-8 when running the program instructions.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.
