Video file auditing method and device based on smart contract
Through the smart contract automatic video file review, the problems of inefficiency and difficulty in guaranteeing fairness in traditional manual review are solved, and an efficient, transparent and fair video file review process is achieved.
Patent Information
- Application Number
- CN202510073267.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-13
AI Technical Summary
Traditional video review methods rely on manual labor, are inefficient and easily affected by human factors, making it difficult to ensure the fairness and transparency of the audit results.
Using a video file review method based on smart contracts, we create smart contract instances by obtaining video files and metadata, and automatically conduct copyright compliance, content compliance and sentiment analysis audits based on preset audit rules, and record the audit process and results in the blockchain.
It reduces manual intervention, reduces labor costs, improves audit efficiency, ensures the compliance of video files, and realizes transparency and traceability of audits through blockchain, improving the fairness of the audit process.
Smart Images

Figure CN119996787A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and specifically to a video file review method and device based on smart contracts. Background Art
[0002] With the rapid development of video platforms, the amount of user-generated content (UGC) has surged, and compliance review of video content has become one of the core tasks of platform operations. Traditional video review methods rely on manual review, which is not only inefficient, but also easily affected by human factors, and the fairness and transparency of the review results are difficult to guarantee. In recent years, the development of smart contracts and blockchain technology has provided new ideas for video content review. Summary of the invention
[0003] In view of the above problems, the present application is proposed to provide a video file review method, apparatus, computing device, computer storage medium and computer program product based on smart contracts that overcome the above problems or at least partially solve the above problems.
[0004] According to one aspect of an embodiment of the present application, a video file review method based on a smart contract is provided, comprising:
[0005] Obtain the video file to be reviewed and the corresponding video metadata;
[0006] Create smart contract instances based on video metadata and smart contract templates in the blockchain;
[0007] Based on the smart contract instance, the video file to be reviewed is reviewed according to the preset review rules to obtain the review result;
[0008] Based on the smart contract instance, the video metadata, file review process, and review results of the video file to be reviewed are packaged into blocks and stored in the blockchain.
[0009] Furthermore, the video file to be reviewed is reviewed according to the preset review rules, and the review result further includes:
[0010] The smart contract instance is connected to the preset copyright database through the oracle, and the copyright compliance audit is performed on the video file to be audited by querying the preset copyright database to obtain the copyright compliance audit result.
[0011] Further, the video metadata includes: a hash value of the video file;
[0012] The copyright compliance review of the video file to be reviewed by querying the preset copyright database further includes:
[0013] The smart contract instance sends a copyright status query request to the oracle, so that the oracle queries the preset copyright database according to the video file hash value and / or video features to obtain the copyright status information corresponding to the video file to be reviewed, wherein the copyright status query request carries the video file hash value and video features;
[0014] The smart contract instance performs a copyright compliance review on the video file to be reviewed based on the copyright status information returned by the oracle and the preset copyright compliance review rules.
[0015] Furthermore, the video file to be reviewed is reviewed according to the preset review rules, and the review result further includes:
[0016] The smart contract instance calls a preset content review tool and / or uses a preset content review method to perform a content compliance review on the video data of the video file to be reviewed, and obtains a content compliance review result.
[0017] Furthermore, the smart contract instance calls a preset content review tool to perform content compliance review on the video data of the video file to be reviewed, further including:
[0018] The smart contract instance calls the image recognition tool to perform image recognition on the video frames of the video file to be reviewed to determine whether there is any abnormal content in the video frames of the video file to be reviewed.
[0019] Furthermore, the smart contract instance uses a preset content review method to conduct content compliance review on the video data of the video file to be reviewed, further including:
[0020] The smart contract instance uses natural language processing methods to perform text content review on the voice data and / or text information of the video file to be reviewed to determine whether there is any abnormal content in the text information.
[0021] Furthermore, performing file review on the video file to be reviewed according to the preset review rules further includes:
[0022] The smart contract instance calls the sentiment analysis tool to perform sentiment analysis on the voice data and / or text information of the video file to be reviewed to determine whether there is any abnormal content in the voice data and / or text information.
[0023] Furthermore, the method further includes: receiving reporting data sent by the reporting object;
[0024] The number of reported objects is counted based on the smart contract instance. If the number of reported objects is greater than or equal to the preset reporting threshold, a secondary review notification is sent to the review end.
[0025] Furthermore, the method further includes: if the audit result is the first result, pre-marking the video file to be audited based on the smart contract instance and executing the publishing logic of the video file to be audited;
[0026] If the audit result is the second result, an exception notification is sent to the upload object or a preset process is performed on the upload object account based on the smart contract instance;
[0027] The video metadata, file review process, and review results of the video file to be reviewed are packaged into blocks and stored in the blockchain based on the smart contract instance, further including:
[0028] Based on the smart contract instance, the video metadata, file review process, review results, review decision execution operations, and review basis of the video files to be reviewed are packaged into blocks and stored in the blockchain.
[0029] According to another aspect of an embodiment of the present application, a video file review device based on a smart contract is provided, comprising:
[0030] An acquisition module, adapted to acquire the video file to be reviewed and the corresponding video metadata;
[0031] A creation module, suitable for creating smart contract instances based on video metadata and smart contract templates in the blockchain;
[0032] The review module is suitable for reviewing the video files to be reviewed based on the smart contract instance according to the preset review rules to obtain the review results;
[0033] The packaging module is suitable for packaging the video metadata, file review process, and review results of the video files to be reviewed into blocks based on the smart contract instance and storing them in the blockchain.
[0034] According to another aspect of the embodiment of the present application, there is provided a computing device, including: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0035] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned video file review method based on smart contract.
[0036] According to another aspect of the embodiments of the present application, a computer storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned video file review method based on smart contracts.
[0037] According to another aspect of an embodiment of the present application, a computer program product is provided, comprising at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the above-mentioned video file review method based on smart contracts.
[0038] According to the solution provided in the embodiment of the present application, a smart contract is called to automatically review video files according to preset review rules, thereby reducing manual intervention, lowering labor costs, improving platform review efficiency, and ensuring the compliance of video files published by the video platform. The file review process, review results, and video metadata are recorded in the blockchain through smart contracts, thereby achieving transparency and traceability of the review and improving the fairness of the review process.
[0039] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation method of the embodiment of the present application is listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present application. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0041] Figure 1 A schematic diagram of a process of a video file review method based on a smart contract according to an embodiment of the present application is shown;
[0042] Figure 2 A schematic diagram of a process of a video file review method based on a smart contract according to another embodiment of the present application is shown;
[0043] Figure 3 A schematic diagram of the framework for video file review based on smart contracts;
[0044] Figure 4 A structural block diagram of a video file review device based on a smart contract according to an embodiment of the present application is shown;
[0045] Figure 5 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0046] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0047] First, the terms involved in one or more embodiments of the present application are explained.
[0048] A smart contract is a program that automatically executes, manages or verifies contract terms on a blockchain. It is self-executing and automatically triggers corresponding actions when specific conditions are met.
[0049] Blockchain is a decentralized distributed ledger technology in which all transactions or data records are stored in the form of blocks. Each block is linked together through encryption to ensure that the data cannot be tampered with and is transparent.
[0050] Content compliance review refers to the use of technical means to check whether the video content complies with platform or legal regulations to ensure that it does not contain illegal, infringing, sensitive or inappropriate content.
[0051] Oracle is a tool that connects blockchain with the outside world and can provide external data to blockchain, such as copyright information, real-time data, etc.
[0052] Natural language processing (NLP) is a technology that allows computers to understand, analyze, and generate natural language. In this application, it is mainly used to analyze the subtitles and descriptions of videos to determine whether they contain illegal words.
[0053] Figure 1 The flowchart of the video file review method based on smart contract according to one embodiment of the present application is shown, and the method is executed by the video platform, wherein the video platform is implemented based on blockchain, such as Figure 1 As shown, the method comprises the following steps:
[0054] Step S101, obtaining a video file to be reviewed and corresponding video metadata.
[0055] When any object produces a video file, it can publish the video file produced by it through the video platform, and the video platform needs to review the video file before publishing the video file. Therefore, the method provided by this embodiment can be used to review the video file.
[0056] Specifically, the video platform can provide a video publishing page to the uploader, and a "publish button" is provided in the video publishing page. The uploader can upload the video file to be published by clicking the "publish button" and enter the video metadata corresponding to the video file. The video platform can obtain the video file uploaded by the uploader and the corresponding video metadata. In addition, the video platform can also generate a unique video identifier for the video file, where the video metadata includes: video identifier, uploader identifier, video title, video description information, video file hash value, copyright statement information and other data. The video file hash value is used to verify the integrity of the content. The video file hash values of different video files are different. Even if the video file has only a slight change, its corresponding video file hash value is completely different, so the video file hash value can be used to verify whether the video file has been modified.
[0057] By obtaining video metadata, after completing the video file review, the video metadata and review-related information can be stored together in the blockchain to ensure that the data cannot be tampered with and is transparent and traceable. When there are doubts about the review-related information in the later stage, it is convenient for confrontation.
[0058] Step S102, creating a smart contract instance according to the video metadata and the smart contract template in the blockchain.
[0059] After obtaining the video file to be reviewed, it is necessary to conduct a file review on the video file to be reviewed. What is deployed in the blockchain is the smart contract template, which has not been instantiated. Therefore, the smart contract template deployed in the blockchain can be called to create a smart contract instance based on the video metadata and the smart contract template in the blockchain, that is, the video metadata is used as input data and filled into the corresponding position of the smart contract template to realize the instantiation of the smart contract.
[0060] When multiple video files need to be reviewed at the same time, the video metadata of multiple video files can be used as input data and filled into the corresponding positions of the smart contract template to realize the instantiation of the smart contract.
[0061] Step S103: Based on the smart contract instance, the video file to be reviewed is reviewed according to preset review rules to obtain a review result.
[0062] After creating a smart contract instance, the audit process can be automatically triggered based on the created smart contract instance according to the preset audit rules to audit the video file to be audited. Specifically, the video file can be audited in many aspects, such as copyright compliance audit, content compliance audit and moral review. After completing the file audit, the corresponding audit result can be obtained. The audit result can be passed or failed. The video that passes the audit can be identified as a compliant video, and the video that fails the audit can be identified as an illegal video. The audit result can also include: content information that fails the audit, etc. The specific audit result can be set according to actual needs.
[0063] Step S104: Based on the smart contract instance, the video metadata, file review process, and review results of the video file to be reviewed are packaged into blocks and stored in the blockchain.
[0064] After obtaining the audit results, the video metadata, file audit process, and audit results of the video file to be audited can be packaged into blocks through smart contract instances, packaged to generate blocks, and then stored in the blockchain. By recording the video metadata, file audit process, and audit results in the blockchain, the transparency and non-tamperability of the file audit process and audit results are guaranteed. Therefore, when the uploader has doubts about the audit results, it can confront them by querying the information recorded in the blockchain.
[0065] According to the video file review method based on smart contracts provided in the embodiments of the present application, smart contracts are called to automatically review video files according to preset review rules, thereby reducing manual intervention, reducing labor costs, improving platform review efficiency, and ensuring the compliance of video files published by the video platform. The file review process, review results, and video metadata are recorded in the blockchain through smart contracts, thereby achieving transparency and traceability of the review and improving the fairness of the review process.
[0066] Figure 2 A schematic diagram of a video file review method based on a smart contract according to an embodiment of the present application is shown. Figure 2 As shown, the method comprises the following steps:
[0067] Step S201, obtaining the video file to be reviewed and the corresponding video metadata.
[0068] Step S202: Create a smart contract instance based on the video metadata and the smart contract template in the blockchain.
[0069] In this embodiment, step S201-step S201 and Figure 1 Steps S101 and S102 in the illustrated embodiment are similar and will not be described in detail here.
[0070] In step S203, the smart contract instance is connected to the preset copyright database through the oracle, and the copyright compliance audit is performed on the video file to be audited by querying the preset copyright database to obtain the copyright compliance audit result.
[0071] Smart contracts run on the blockchain, and their execution environment is deterministic and closed. Therefore, they do not support direct interaction with external data sources. Therefore, they can be connected to the preset copyright database through an oracle. The preset copyright database stores the copyright status information of each video and one or more of the following information: video files, video frames, video feature vectors, video file hash values, etc., so that the copyright status information of the video file to be reviewed can be determined by querying the preset copyright database, thereby performing a copyright compliance review on the video file to be reviewed, and obtaining the copyright compliance review result corresponding to the video file to be reviewed, where the copyright compliance review result may include: passing the copyright compliance review or failing the copyright compliance review.
[0072] In an optional implementation of the present application, the video metadata includes: a video file hash value; therefore, the smart contract instance can send a copyright status query request to the oracle, wherein the copyright status query request carries a video file hash value and / or video features. After receiving the copyright status query request, the oracle can query the preset copyright database according to the video file hash value and / or video features, and compare the video file hash value and / or video features of the video file to be reviewed with the video file hash value and / or video features recorded in the preset copyright database. In the case of the comparison, the copyright information corresponding to the video file recorded in the preset copyright database is determined, thereby obtaining the copyright status information corresponding to the video file to be reviewed. The copyright status information can be: obtaining adaptation authorization or not obtaining adaptation authorization; obtaining public permission or not obtaining public permission; the smart contract instance performs a copyright compliance review on the video file to be reviewed according to the copyright status information returned by the oracle and the preset copyright compliance review rules. For the case of failure to pass the review, the smart contract instance will automatically mark the video file to be reviewed, marking it as abnormal or marking it as failing the copyright compliance review. At this time, the video file will be blocked from being released. For example, the preset copyright compliance rule may be that the copyright status information is not authorized for adaptation or not publicly licensed, which means that it can be considered as not passing the copyright compliance review; the preset copyright compliance rule may be that the copyright status information is authorized for adaptation or publicly licensed, which means that it can be considered as passing the copyright compliance review. This is just an example and does not have any limiting effect.
[0073] Here, oracle technology is used, and the smart contract instance can automatically call the external copyright database to quickly compare the video content with the videos with registered copyrights to ensure copyright compliance.
[0074] In step S204, the smart contract instance calls a preset content review tool and / or uses a preset content review method to perform a content compliance review on the video data of the video file to be reviewed, and obtains a content compliance review result.
[0075] Specifically, smart contract instances can also be used to perform content review on video files to be reviewed. Here, the main purpose is to review whether there is abnormal content in the video data (video frames and / or text information and / or audio data) based on content compliance rules. Abnormal content can be sensitive words, image content that does not comply with platform regulations, and text content that does not comply with platform regulations.
[0076] In an optional implementation of the present application, the smart contract instance can call an image recognition tool to perform image recognition on the video frames of the video file to be reviewed, wherein the image recognition tool is a pre-developed and designed SDK, for example, it can be Google Vision, AWS Rekognition, and the smart contract instance can call the image recognition tool through the API interface, and the image recognition tool can extract key video frames from the video file to be reviewed, and then perform in-depth analysis on the key video frames to detect whether there is abnormal content in the image content of the video frame, where the abnormal content mainly refers to some image content that is not suitable for display. The specific review process can refer to the review process in the prior art, which will not be repeated here.
[0077] In an optional implementation of the present application, there may be some sensitive information in the subtitles or video description information or audio data of the video file to be reviewed, and this sensitive information is not suitable for publication. Therefore, the smart contract instance uses a natural language processing method to perform a text content review on the text information of the video file to be reviewed to determine whether the text information contains abnormal content. For audio data, the smart contract instance can first call a speech-to-text tool to convert the audio data into text information through the speech-to-text tool, and then use a natural language processing method to perform a text content review on the converted text information to determine whether there is abnormal content in the audio data. Among them, the smart contract instance can call an SDK with a natural language processing function through an API interface to perform a text content review on the text information of the video file to be reviewed. The specific review process can refer to the review process in the prior art, which will not be repeated here.
[0078] In step S205, the smart contract instance calls a sentiment analysis tool to perform sentiment analysis on the voice data and / or text information of the video file to be reviewed to determine whether there is any abnormal content in the voice data and / or text information.
[0079] For audio data, the smart contract instance can first call the speech-to-text tool to convert the audio data into text information. The smart contract instance can call the sentiment analysis tool through the API interface to perform sentiment analysis on the voice data and / or text information in the video file to be reviewed to identify whether there is inappropriate content that is extremely negative or other abnormal emotional states.
[0080] Step S206: If the audit result is the first result, the smart contract instance presets a mark on the video file to be audited and executes the publishing logic of the video file to be audited.
[0081] If the audit result is the first result, that is, passed the audit, which means passed all audits, the smart contract instance will automatically mark the video file to be reviewed with a preset mark, for example, marked as "compliant" and pushed it to the video platform for release.
[0082] Step S207: If the audit result is the second result, the smart contract instance sends an exception notification to the upload object or performs preset processing on the upload object account.
[0083] If the review is the second result, that is, all reviews have not passed, for example, the copyright compliance review has not passed, and / or the content compliance review has not passed, and / or the ethical review has not passed, then the smart contract instance sends an exception notification to the uploader, prompting the uploader to modify or delete the video file; or, performs preset processing on the uploader's account, for example, restricting the uploader's upload permissions, or deducting credit points in the uploader's account.
[0084] Among them, sending abnormal notifications to the upload object, performing preset processing on the upload object account, and publishing video files can all be considered as audit decision execution operations.
[0085] Step S208, based on the smart contract instance, the video metadata, file review process, review results, review decision execution operation, and review basis of the video file to be reviewed are packaged into blocks and stored in the blockchain.
[0086] In order to improve the fairness of the audit process, after the audit is completed, the video metadata of the video file to be audited, all audit processes, audit results, audit decision execution operations and audit basis (such as copyright database query, image recognition results, etc.) can be packaged into blocks and stored on the blockchain based on the smart contract instance, thereby ensuring the transparency and immutability of the results. It should be noted that the audit process can be recorded at any time during the audit. In addition, abnormal content can also be recorded in the blockchain at the same time.
[0087] In an optional implementation of the present application, after the uploader uploads the video file, the video file to be reviewed will enter a pre-release stage. In this stage, the video file to be reviewed can accept review reports from other users. The user who makes the report is referred to as the reporting object. The reporting object can report on the copyright, error information, and abnormal content of the video file to be reviewed. Therefore, the reporting data sent by the reporting object can be received here; the smart contract instance can count the number of reporting objects. If the number of reporting objects is greater than or equal to the preset reporting number threshold, a secondary review notification is sent to the review end, wherein the secondary review notification can carry the reporting data. By triggering the manual review procedure, the review accuracy can be improved to avoid the inability to publish the video file uploaded by the uploader due to incorrect review.
[0088] In an optional implementation of the present application, if the smart contract instance encounters a complex or ambiguous situation (such as a situation where the content is uncertain, etc.), the manual intervention mechanism can also be automatically triggered. The smart contract instance notifies the review end according to the preset notification rules (such as the appearance of sensitive words, etc.), and the review end manually reviews the video file to be reviewed, and makes a final judgment according to the platform rules to obtain the corresponding manual review results. The manual review results will be recorded in the blockchain through the smart contract instance, and the review status in the blockchain will be updated, for example, reviewed.
[0089] According to the video file review method based on smart contracts provided in the embodiments of the present application, copyright compliance review, content compliance review and ethical review of videos are automatically executed through smart contracts, thereby avoiding the limitations and errors of manual review, reducing manual intervention, and improving review efficiency; all review records (including file review process, review results, review decision execution operations, review basis, etc.) will be written into the blockchain to ensure the transparency, traceability and non-tamperability of the review records, improve the fairness of the review process, and ensure the security of the video platform. For some complex or ambiguous review situations, the smart contract will trigger the manual intervention process to ensure the accuracy of the review.
[0090] Figure 3 The following is a schematic diagram of the framework for video file review based on smart contracts. Figure 3 As shown in the figure, during the review, video metadata, user reporting data, and data from external data sources will be provided to the smart contract as external input data. The smart contract can obtain the corresponding review results based on copyright compliance rules, content compliance rules, reporting trigger conditions, and ethical review rules. In the case of copyright non-compliance, the uploader will be notified to modify or delete the video file; in the case of content non-compliance, the uploader's permissions will be restricted; when the reporting number threshold is reached, manual review will be initiated; when all reviews are passed, the video file will be allowed to be released; in addition, all review records will be packaged into blocks and stored in the blockchain.
[0091] Figure 4 The structure diagram of a video file review device based on a smart contract according to an embodiment of the present application is shown as follows: Figure 4 As shown, the device comprises:
[0092] The acquisition module 401 is adapted to acquire the video file to be reviewed and the corresponding video metadata;
[0093] A creation module 402, adapted to create a smart contract instance according to the video metadata and the smart contract template in the blockchain;
[0094] The review module 403 is adapted to perform a file review on the video file to be reviewed based on the smart contract instance and according to the preset review rules to obtain the review result;
[0095] The packaging module 404 is suitable for packaging the video metadata, file review process, and review results of the video file to be reviewed into blocks based on the smart contract instance and storing them in the blockchain.
[0096] Optionally, the audit module is further adapted to: the smart contract instance is connected to a preset copyright database through an oracle, and a copyright compliance audit is performed on the video file to be audited by querying the preset copyright database to obtain a copyright compliance audit result.
[0097] Optionally, the video metadata includes: a video file hash value;
[0098] The audit module is further adapted to: the smart contract instance sends a copyright status query request to the oracle, so that the oracle queries a preset copyright database according to the video file hash value and / or video features to obtain the copyright status information corresponding to the video file to be audited, wherein the copyright status query request carries the video file hash value and video features;
[0099] The smart contract instance performs a copyright compliance review on the video file to be reviewed based on the copyright status information returned by the oracle and the preset copyright compliance review rules.
[0100] Optionally, the audit module is further adapted to: the smart contract instance calls a preset content audit tool and / or utilizes a preset content audit method to perform a content compliance audit on the video data of the video file to be audited, and obtain a content compliance audit result.
[0101] Optionally, the audit module is further adapted to: the smart contract instance calls an image recognition tool to perform image recognition on the video frame of the video file to be audited to determine whether there is abnormal content in the video frame of the video file to be audited.
[0102] Optionally, the audit module is further adapted to: the smart contract instance uses a natural language processing method to perform a text content audit on the voice data and / or text information of the video file to be audited to determine whether there is any abnormal content in the text information.
[0103] Optionally, the audit module is further adapted to: the smart contract instance calls a sentiment analysis tool to perform sentiment analysis on the voice data and / or text information of the video file to be audited to determine whether there is abnormal content in the voice data and / or text information.
[0104] Optionally, the device further comprises: a receiving module, adapted to receive reporting data sent by the reporting object;
[0105] The sending module is suitable for counting the number of reported objects based on the smart contract instance. If the number of reported objects is greater than or equal to the preset reporting quantity threshold, a secondary review notification is sent to the review end.
[0106] Optionally, the device further comprises: a publishing module, adapted to, if the review result is the first result, pre-mark the video file to be reviewed based on the smart contract instance and execute the publishing logic of the video file to be reviewed;
[0107] A processing module, adapted to send an exception notification to the upload object or perform a preset process on the upload object account based on the smart contract instance if the audit result is the second result;
[0108] The packaging module is further suitable for: based on the smart contract instance, the video metadata, file review process, review results, review decision execution operation, and review basis of the video file to be reviewed are packaged into blocks and stored in the blockchain.
[0109] The description of each module above refers to the corresponding description in the method embodiment and will not be repeated here.
[0110] According to the video file review device based on smart contracts provided in the embodiment of the present application, the copyright compliance review, content compliance review and ethical review of the video are automatically executed through smart contracts, thereby avoiding the limitations and errors of manual review, reducing manual intervention, and improving review efficiency; all review records (including file review process, review results, review decision execution operations, review basis, etc.) will be written into the blockchain to ensure the transparency, traceability and non-tamperability of the review records, improve the fairness of the review process, and ensure the security of the video platform. For some complex or ambiguous review situations, the smart contract will trigger the manual intervention process to ensure the accuracy of the review.
[0111] An embodiment of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction or computer program, which enables a processor to perform operations corresponding to the video file review method based on smart contracts in any of the above method embodiments.
[0112] An embodiment of the present application provides a computer program product, which includes at least one executable instruction or computer program, which can enable a processor to perform operations corresponding to the video file review method based on smart contracts in any of the above-mentioned method embodiments.
[0113] Figure 5 A schematic diagram of the structure of an embodiment of a computing device of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.
[0114] like Figure 5 As shown, the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .
[0115] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the embodiment of the video file review method based on the smart contract for the computing device.
[0116] Specifically, the program 510 may include program codes, which include computer operation instructions.
[0117] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0118] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0119] The program 510 can be specifically used to enable the processor 502 to execute the video file review method based on the smart contract in any of the above method embodiments. The specific implementation of each step in the program 510 can refer to the corresponding descriptions in the corresponding steps and units in the above video file review embodiment based on the smart contract, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0120] The algorithm and display provided herein are not inherently related to any specific computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present application embodiment described herein, and the above description of specific languages is to disclose the best mode of implementation of the present application embodiment.
[0121] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0122] Similarly, it should be understood that in order to streamline the present disclosure and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed embodiments of the present application require more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the embodiment of the present application.
[0123] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0124] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the embodiments of the present application and to form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0125] The various component embodiments of the embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to the embodiments of the present application. The embodiments of the present application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the embodiments of the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0126] It should be noted that the above embodiments illustrate rather than limit the embodiments of the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The embodiments of the present application may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
Claims
1. A video file review method based on smart contracts, comprising: Obtain the video file to be reviewed and the corresponding video metadata; Creating a smart contract instance based on the video metadata and the smart contract template in the blockchain; Based on the smart contract instance, the video file to be reviewed is reviewed according to preset review rules to obtain a review result; Based on the smart contract instance, the video metadata, file review process, and review results of the video file to be reviewed are packaged into blocks and stored in the blockchain.
2. The method according to claim 1, wherein: The performing file review on the video file to be reviewed according to the preset review rules to obtain the review result further comprises: The smart contract instance is connected to a preset copyright database through an oracle, and a copyright compliance audit is performed on the video file to be audited by querying the preset copyright database to obtain a copyright compliance audit result.
3. The method according to claim 2, wherein: The video metadata includes: a video file hash value; The step of performing copyright compliance review on the video file to be reviewed by querying the preset copyright database further includes: The smart contract instance sends a copyright status query request to the oracle, so that the oracle queries the preset copyright database according to the video file hash value and / or video features to obtain the copyright status information corresponding to the video file to be reviewed, wherein the copyright status query request carries the video file hash value and video features; The smart contract instance performs a copyright compliance review on the video file to be reviewed based on the copyright status information returned by the oracle and preset copyright compliance review rules.
4. The method according to any one of claims 1 to 3, wherein: The performing file review on the video file to be reviewed according to the preset review rules to obtain the review result further comprises: The smart contract instance calls a preset content review tool and / or utilizes a preset content review method to perform a content compliance review on the video data of the video file to be reviewed to obtain a content compliance review result.
5. The method according to claim 4, wherein: The smart contract instance calls a preset content review tool to perform content compliance review on the video data of the video file to be reviewed, further comprising: The smart contract instance calls an image recognition tool to perform image recognition on the video frame of the video file to be reviewed to determine whether there is abnormal content in the video frame of the video file to be reviewed.
6. The method according to claim 4 or 5, wherein: The smart contract instance further includes: performing content compliance review on the video data of the video file to be reviewed using a preset content review method: The smart contract instance uses a natural language processing method to perform a text content review on the voice data and / or text information of the video file to be reviewed to determine whether the text information contains abnormal content.
7. The method according to any one of claims 1 to 6, wherein: The file review of the video file to be reviewed according to the preset review rules further includes: The smart contract instance calls a sentiment analysis tool to perform sentiment analysis on the voice data and / or text information of the video file to be reviewed to determine whether the voice data and / or the text information contains abnormal content.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: receiving reporting data sent by the reporting object; The number of reported objects is counted based on the smart contract instance. If the number of reported objects is greater than or equal to the preset reporting threshold, a secondary review notification is sent to the review end.
9. The method according to any one of claims 1 to 8, wherein: The method further includes: if the audit result is the first result, pre-marking the video file to be audited based on the smart contract instance and executing the publishing logic of the video file to be audited; If the audit result is the second result, an exception notification is sent to the upload object or a preset process is performed on the upload object account based on the smart contract instance; The process of packaging the video metadata, the file review process, and the review result of the video file to be reviewed into blocks based on the smart contract instance and storing them in the blockchain further includes: Based on the smart contract instance, the video metadata, file review process, review results, review decision execution operation, and review basis of the video file to be reviewed are packaged into blocks and stored in the blockchain.
10. A video file review device based on smart contracts, comprising: An acquisition module, adapted to acquire the video file to be reviewed and the corresponding video metadata; A creation module, adapted to create a smart contract instance according to the video metadata and the smart contract template in the blockchain; An audit module, adapted to perform a file audit on the video file to be audited based on the smart contract instance and according to preset audit rules to obtain an audit result; The packaging module is suitable for packaging the video metadata, file review process, and review results of the video file to be reviewed into blocks based on the smart contract instance and storing them in the blockchain.
11. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the video file review method based on smart contracts as described in any one of claims 1-9.
12. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the video file review method based on a smart contract as described in any one of claims 1-9.
13. A computer program product, comprising at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the video file review method based on a smart contract as described in any one of claims 1-9.