Content security auditing and tracing system based on block chain
By designing a blockchain-based content security audit traceability system, the problems of video security and authenticity on the Internet are solved, effective management and traceability of video information are realized, and data security and credibility are improved.
Patent Information
- Application Number
- CN202311654671.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-06-13
AI Technical Summary
How to ensure the security and authenticity of videos uploaded by users on the Internet, and effectively manage and query a large amount of video information.
Design a blockchain-based content security audit traceability system, including user module, chain-up module and traceability module, to realize secure storage and traceability query of user information and video information through blockchain technology.
It realizes effective management of user information, authenticity and security of video information, and convenient and fast traceability query, improving the security and credibility of data.
Smart Images

Figure CN120145458A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a distributed content security audit and traceability system, in particular to a system that uses blockchain technology to achieve secure storage and traceability query of user information and video information. Background Art
[0002] With the rapid development of the Internet, the number of videos uploaded by users is increasing day by day. How to ensure the security and authenticity of the videos uploaded by users has become an important issue. In addition, for these large amounts of video information, how to effectively manage and query them is also a problem that needs to be solved. Summary of the Invention
[0003] The present invention provides a content security audit and traceability system based on blockchain, including: a user module for user registration and login, generating video codes, and uploading and auditing videos; a blockchain module for uploading newly registered user information and audited video information to the blockchain; and saving the blockchain information returned after uploading to a non-relational database in the database; a traceability module for performing traceability queries on the blockchain information saved in the non-relational database; and comparing and verifying the returned on-chain information with the information in the database; a database connected to the user module, the blockchain module, and the traceability module respectively.
[0004] In some possible implementation manners, the system further includes: an interface for requesting to generate a video code and obtain a video code, an interface for requesting data to be uploaded to the blockchain and returning a transaction address, an interface for requesting blockchain traceability and returning a result, and an interface for verifying that the result returned by the blockchain is consistent with the database information.
[0005] In some possible implementation manners, the interfaces for requesting to generate a video code and obtain a video code are respectively connected to the user module and an external program; the interfaces for requesting to generate a video code and obtain a video code are used to obtain the video codes generated by the user module.
[0006] In some possible implementation manners, the interface for requesting data to be uploaded to the blockchain and returning a transaction address is respectively connected to the user module and the blockchain module; wherein the data uploaded to the blockchain includes user information data and video information data; the interface for requesting data to be uploaded to the blockchain and returning a transaction address is used to upload user information and audited video information to the blockchain.
[0007] In some possible implementation manners, the interface for requesting blockchain traceability and returning a result is respectively connected to the blockchain module and the traceability module; the interface for requesting blockchain traceability and returning a result is used to initiate a traceability request to the blockchain and return the traceability result after querying.
[0008] In some possible implementation manners, the interfaces for verifying that the blockchain return result is consistent with the database information are respectively connected to the traceability module and the database; the interfaces for verifying that the blockchain return result is consistent with the database information are used to compare whether the traceability result is consistent with the information stored in the database.
[0009] In some possible implementation manners, the database includes a relational database and a non-relational database; the relational database is used to store user information, generated video code records, and video information; the non-relational database is used to store the blockchain information of the user information and video information after being uploaded to the chain.
[0010] In some possible implementation manners, the traceability module is used to query in the database according to the video code; obtain any one or several of the uploader of the corresponding video, whether it passes the review, the reviewer, and the upload time by using the relational database; obtain the corresponding blockchain information by using the non-relational database, and can trace the information on the chain on the chain and compare it with the information in the database to verify whether the video information has been tampered with.
[0011] The beneficial effects brought by the technical solution provided by the embodiments of the present invention at least include: the content security audit and traceability system based on the blockchain of the present invention can realize the effective management of user information, the guarantee of the authenticity and security of video information, and convenient and fast traceability query. At the same time, by using the immutability and traceability of blockchain technology, the security and credibility of data can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0013] Figure 1 It is a schematic diagram of modules provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail with reference to the drawings.
[0015] The present invention will be described in detail below with reference to specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several changes and improvements can be made. These all belong to the protection scope of the present invention.
[0016] Please refer to Figure 1 , the present invention discloses a content security audit and traceability system based on blockchain. The system includes: User module: Users need to register and log in to the system. When registering, users need to provide personal information such as name, contact information, etc. These information will be saved in a relational database. When logging in, users need to enter the username and password provided during registration, and the system will verify whether these information match. If the match is successful, the user will log in successfully and can upload videos.
[0017] Blockchain module: When the user uploads a video and passes the audit, the system will upload the user information and the audited video information to the blockchain. The process of uploading to the blockchain includes packing the data into a transaction and then sending the transaction to the blockchain network. This process will ensure the security and immutability of the data. At the same time, the blockchain information returned after uploading to the blockchain will be saved in a non-relational database for subsequent traceability queries.
[0018] Traceability module: Based on the blockchain information saved in the non-relational database, the traceability module can perform traceability queries on any video. Users can initiate a traceability request by entering the video code or the on-chain address. The system will query on the blockchain based on this information and return the corresponding on-chain information. This information will include the uploader, audit status, upload time, etc. Among them, the video code is assigned to the user when the user uploads the video and is used to mark the current video to be uploaded. One video corresponds to one video code, and the same user can also upload multiple videos, that is, multiple video codes can be obtained.
[0019] Furthermore, the system provided by the present invention further includes a verification module: To ensure the authenticity and integrity of the data, the system will compare and verify the returned on-chain information with the information in the database. If the two match, it means the data is trustworthy; otherwise, the system will prompt the user that the data may have been tampered with. Database: The database of this system is divided into a relational database and a non-relational database. The relational database is used to store user information and video information, and the non-relational database is used to store the blockchain information of the user information and video information after uploading to the blockchain. This design can facilitate users to query and verify the data.
[0020] The following will further elaborate on the specific process in combination with Figure 1 and the specific working process is as follows:
[0021] Users register and log in through the user module. After logging in, the user selects to upload a video; the user module generates a globally unique video code that increments with the system to identify the video uploaded by the current user. This video code and information related to the video (such as title, description, etc.) are recorded in a relational database for subsequent queries. Then the user uploads the video, triggering the upload process. The user module calculates the hash value of the video and passes it to the blockchain module. The current video enters the queue to be reviewed.
[0022] Reviewers log in to the system and enter the review interface. Reviewers select a video from the queue to be reviewed and review the video, generating detailed review process information, including: Reviewer information: the identity information of the reviewer to ensure the traceability of the reviewer's identity; Review conclusion: the reviewer's review decision indicating whether the video passes the review; Review time: the timestamp recording the review operation for traceability. If the review is passed, the video information enters the queue of passed reviews and more information is generated: Content rating: based on the review conclusion and the nature of the video content, the system generates a content rating for subsequent appropriate management and classification of the video; Publisher information: identifying the user information of the video publisher, including user ID, username, etc., for tracing the source of the video.
[0023] After the review is passed, the review status of the video is updated to "review passed" in the relational database, and the content rating and publisher information are recorded in the relational database together with the video information for subsequent user queries and system management. Metadata of the reviewed video is generated, including the video code, the hash value of the video, the content rating, the publisher information, etc. The blockchain module uses the generated video metadata and review process information to trigger the process of uploading video information to ensure the secure storage of this information on the blockchain.
[0024] The blockchain module retrieves the reviewed video information from the queue of passed reviews. The blockchain module constructs a transaction using the video metadata and review process information, which also includes information such as the uploader, reviewer, review process information, content rating, publisher, etc. A smart contract is used to perform the operation of uploading video information, and the smart contract stipulates the data structure and the logic of uploading. The transaction of video information is packaged into a block, and the consensus algorithm ensures the consistency of the block. Nodes in the blockchain network verify and accept the block, and upload the video information to the blockchain. The blockchain returns blockchain information containing the video information, such as transaction hash and block hash. The blockchain module saves this blockchain information in a non-relational database to ensure the immutability of the information.
[0025] The user logs in to the system and selects to query or trace the video information. The user module queries the basic information of the video, such as the uploader and review status, in the relational database using the video code. The user module calls the interface that requests blockchain tracing and returns the result to initiate a request to the tracing module.
[0026] The tracing module queries the blockchain information of the video in the non-relational database using the video code. It can also trace on the blockchain through the blockchain information to obtain the video information on the chain. The tracing module compares and verifies the information obtained from the blockchain with the information in the database to ensure the consistency and immutability of the video information. The information for comparison includes the uploader, review status, reviewer information, review conclusion, review time, content classification, publisher, etc.
[0027] The query result is returned to the user, and the user can view the complete information of the video, including detailed information such as the review process, content classification, and publisher. If the information is consistent, the user can trust the authenticity of the video information because it has been verified through the immutability of the blockchain.
[0028] This process ensures that the video information uploaded by the user is recorded on the blockchain after passing the review, and the user can verify the authenticity and integrity of the video information through the system's query and tracing functions. The entire process realizes the traceability and immutability of information through blockchain technology.
[0029] In this article, specific examples are used to elaborate in detail on the inventive concept. The description of the above embodiments is only used to help understand the core idea of the present invention. It should be noted that for those of ordinary skill in the art, any obvious modifications, equivalent substitutions, or other improvements made without departing from the inventive concept should be included within the protection scope of the present invention.
[0030] Those skilled in the art will readily think of other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application aims to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include the common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the above claims.
[0031] It should be understood that the present application is not limited to the precise structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
[0032] It should be understood that the "plurality" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0033] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk, an optical disc, or the like.
[0034] The above are only the preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A content security audit and traceability system based on blockchain, characterized in that, it includes: A user module, which is used for user registration and login, generating video codes, and uploading and auditing videos; A blockchain module, which is used for uploading newly registered user information and video information that has passed the audit to the blockchain; and saving the blockchain information returned after uploading to a non-relational database in the database; A traceability module, which is used for tracing and querying the blockchain information saved in the non-relational database; and comparing and verifying the returned on-chain information with the information in the database; A database, which is respectively connected to the user module, the blockchain module, and the traceability module.
2. The content security audit and traceability system based on blockchain according to claim 1, characterized in that, it further includes: An interface for requesting to generate a video code and obtain a video code, an interface for requesting data to be uploaded to the blockchain and returning a transaction address, an interface for requesting blockchain traceability and returning a result, and an interface for verifying that the blockchain returned result is consistent with the database information.
3. The content security audit and traceability system based on blockchain according to claim 2, characterized in that, The interfaces for requesting to generate a video code and obtain a video code are respectively connected to the user module and an external program; the interfaces for requesting to generate a video code and obtain a video code are used to obtain the video code generated by the user module.
4. The content security audit and traceability system based on blockchain according to claim 2 or 3, characterized in that, The interface for requesting data to be uploaded to the blockchain and returning a transaction address is respectively connected to the user module and the blockchain module; wherein the uploaded data includes user information data and video information data; the interface for requesting data to be uploaded to the blockchain and returning a transaction address is used to upload user information and the video information that has passed the audit.
5. The content security audit and traceability system based on blockchain according to claim 2, characterized in that, The interface for requesting blockchain traceability and returning a result is respectively connected to the blockchain module and the traceability module; the interface for requesting blockchain traceability and returning a result is used to initiate a traceability request to the blockchain and return the traceability result after querying.
6. The content security audit and traceability system based on blockchain according to claim 2, characterized in that, The interface for verifying that the blockchain returned result is consistent with the database information is respectively connected to the traceability module and the database; the interface for verifying that the blockchain returned result is consistent with the database information is used to compare whether the traceability result is consistent with the information stored in the database.
7. The content security audit and traceability system based on blockchain according to claim 6, characterized in that, The database includes a relational database and a non-relational database; the relational database is used to store user information, generated video code records, and video information; the non-relational database is used to store the blockchain information of user information and video information after uploading.
8. The content security audit and traceability system based on blockchain according to claim 7, characterized in that, The traceability module is used to query in the database according to the video code; obtain any one or several of the uploader of the corresponding video, whether it has passed the review, the reviewer, and the upload time by using a relational database; obtain the corresponding blockchain information by using a non-relational database, and the information on the chain can be traced on the chain and compared with the information in the database to verify whether the video information has been tampered with.