Content detection method and device, equipment, storage medium and product

By building the main chain and directed dynamic map in the alliance chain, matching the content to be detected for AIGC detection, the problem of high cost and poor timeliness of AIGC content detection in the prior art is solved, and fast and effective AIGC content detection is achieved.

CN119474468AActive Publication Date: 2025-02-18CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411605125.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-02-18
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

The existing AIGC content detection methods are costly and have poor timeliness, making it difficult to detect AIGC content in a timely and effective manner.

Method used

By storing the AIGC content to be chained into the initial alliance chain, a preset alliance chain containing the main chain and directed dynamic graph is constructed, and the content to be detected is matched with the block content of the main chain and directed dynamic graph, AIGC detection.

Benefits of technology

It realizes the fast finding of the most relevant directed dynamic graph blocks, and quickly finds one or more contents that are the same or similar to the content to be detected, so as to detect AIGC content in a timely and effective manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474468A_ABST
    Figure CN119474468A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and discloses a content detection method and device, equipment, a storage medium and a product. The AIGC content to be linked is stored in the initial alliance chain, the preset alliance chain comprising the main chain and the directed dynamic graph can be constructed, and when the content to be detected fails to be matched with the main chain block content corresponding to the main chain, the content to be detected is further matched with the dynamic graph block content corresponding to the directed dynamic graph, so that the content to be detected is matched with the dynamic graph block content corresponding to the directed dynamic graph. Compared with an existing mode that an alliance chain is one data and one main chain block, when the content with the high AIGC relevancy is searched, the whole block chain needs to be traversed, the method can quickly find the directed dynamic graph block with the highest relevancy when the AIGC content is detected, and the detection efficiency of the directed dynamic graph block is improved. Therefore, one or more contents which are the same as or similar to the to-be-detected contents can be quickly found, so that the AIGC contents can be effectively detected in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a content detection method, device, equipment, storage medium and product. Background Art

[0002] The current detection and supervision methods of AIGC content are mainly to use AI to detect AI, based on the generative capabilities of AI large models, that is, to generate content in the same form as the content to be detected (such as text, pictures, files, audio, video, etc.), and then compare the generated content with the content to be detected to determine whether the content to be detected is AI generated. However, the above method has the problems of high cost and poor timeliness. Therefore, how to detect AIGC content in a timely and effective manner has become an urgent problem to be solved. Summary of the invention

[0003] The main purpose of this application is to provide a content detection method, device, equipment, storage medium and product, aiming to solve the technical problem of how to detect AIGC content in a timely and effective manner.

[0004] To achieve the above object, the present application provides a content detection method, which includes the following steps:

[0005] The AIGC content to be uploaded is stored in the initial alliance chain to obtain a preset alliance chain, which includes a main chain and a directed dynamic graph;

[0006] Matching the content to be detected with the content of the main chain block corresponding to the main chain;

[0007] When the matching fails, the content to be detected is matched with the dynamic graph block content corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected according to the matching result.

[0008] Optionally, the step of storing the AIGC content to be chained in the initial alliance chain to obtain a preset alliance chain specifically includes:

[0009] Determine the content relevance between the AIGC content to be uploaded and the AIGC content already uploaded in the initial alliance chain;

[0010] Compare the content relevance with a preset threshold, and construct a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result;

[0011] Determine the content type of the AIGC content to be uploaded, and judge whether the types mounted by the starting block and the end block include the content type;

[0012] The preset alliance chain is determined according to the judgment result and the AIGC content to be uploaded to the chain.

[0013] Optionally, the step of comparing the content relevance with a preset threshold, and constructing a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result, specifically includes:

[0014] When the content relevance is lower than a preset threshold, a new main chain block is created on the main chain in the initial alliance chain based on the AIGC content to be chained, and the new main chain block is mounted to the end of the main chain;

[0015] When the content relevance is higher than or equal to the preset threshold, determining whether the directed dynamic graph in the initial alliance chain is constructed;

[0016] If not, then construct the starting block and the end block of the directed dynamic graph, the end block points to the starting block, and the starting block points to the corresponding main chain block.

[0017] Optionally, the step of determining a preset alliance chain according to the judgment result and the AIGC content to be uploaded to the chain specifically includes:

[0018] When the result of the judgment is that the types mounted by the starting block and the end block do not include the content type, creating a type block corresponding to the content type on the directed dynamic graph based on the AIGC content to be uploaded;

[0019] Determine whether the relevance classification interval mounted after the type block contains the relevance to be chained corresponding to the AIGC content to be chained;

[0020] If so, the type of blocks are inserted into the directed dynamic graph in a preset order to obtain a preset alliance chain.

[0021] Optionally, when the matching fails, the step of matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph, and performing AIGC detection on the content to be detected according to the matching result specifically includes:

[0022] When the matching fails, matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph;

[0023] When the match is successful, determining the relevance to be detected corresponding to the content to be detected, and selecting a relevance interval subchain from the directed dynamic graph according to the relevance to be detected;

[0024] Perform AIGC detection on the content to be detected according to the correlation interval sub-chain and the content to be detected.

[0025] Optionally, the step of performing AIGC detection on the content to be detected according to the correlation interval subchain and the content to be detected specifically includes:

[0026] Compare all block contents in the correlation interval subchain with the content to be detected;

[0027] If the comparison result is that the content to be detected is the same as the content of the block, then the content to be detected is detected successfully;

[0028] If the comparison result is that the content to be detected is different from the block content, the detection of the content to be detected fails.

[0029] In addition, to achieve the above purpose, the present application also provides a content detection device, the content detection device comprising:

[0030] A consortium chain construction module is used to store the AIGC content to be uploaded to the initial consortium chain to obtain a preset consortium chain, which includes a main chain and a directed dynamic graph;

[0031] A content matching module, used to match the content to be detected with the content of the main chain block corresponding to the main chain;

[0032] The content detection module is used to match the content to be detected with the dynamic image block content corresponding to the directed dynamic image when the matching fails, and perform AIGC detection on the content to be detected according to the matching result.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a content detection device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the content detection method described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the content detection method described above are implemented.

[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the content detection method described above are implemented.

[0036] This application obtains a preset alliance chain by storing the AIGC content to be chained in the initial alliance chain, which includes a main chain and a directed dynamic graph, and then matches the content to be detected with the content of the main chain block corresponding to the main chain. When the match fails, the content to be detected is matched with the content of the dynamic graph block corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected based on the matching result. This application first stores the AIGC content to be chained in the initial alliance chain, and can build a preset alliance chain including the main chain and the directed dynamic graph. When the content to be detected fails to match the content of the main chain block corresponding to the main chain, the content to be detected is further matched with the content of the dynamic graph block corresponding to the directed dynamic graph. Compared with the existing alliance chain mode of one data and one main chain block, when searching for content with a high AIGC relevance, the entire blockchain needs to be traversed. The above method of this application can quickly find the directed dynamic graph block with the highest relevance when detecting AIGC content, and then quickly find one or more content that is the same or similar to the content to be detected, so as to detect the AIGC content in a timely and effective manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 This is a flow chart of the first embodiment of the content detection method of the present application;

[0040] Figure 2 A schematic diagram of a preset alliance chain of an embodiment of the content detection method of the present application;

[0041] Figure 3 This is a flow chart of the second embodiment of the content detection method of the present application;

[0042] Figure 4 This is a schematic diagram of the overall process of uploading data to the chain in accordance with an embodiment of the content detection method of the present application;

[0043] Figure 5 This is a flowchart of the third embodiment of the content detection method of the present application;

[0044] Figure 6 This is a schematic diagram of the overall process of content detection in one embodiment of the content detection method of the present application;

[0045] Figure 7 This is a structural block diagram of the first embodiment of the content detection device of the present application;

[0046] Figure 8 It is a structural diagram of a content detection device in a hardware operating environment involved in an embodiment of the present application.

[0047] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0050] The main solution of the embodiment of the present application is: storing the AIGC content to be uploaded to the initial alliance chain to obtain a preset alliance chain, wherein the preset alliance chain includes a main chain and a directed dynamic graph; matching the content to be detected with the main chain block content corresponding to the main chain; when the match fails, matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph, and performing AIGC detection on the content to be detected based on the matching result.

[0051] The current method of detecting and regulating AIGC content is mainly to use AI to detect AI, based on the generative capabilities of AI large models. That is, after generating content in the same form as the content to be detected (such as text, pictures, files, audio, video, etc.), the generated content is compared with the content to be detected to determine whether the content to be detected is generated by AI. However, the above method has the problems of high cost and poor timeliness.

[0052] This application obtains a preset alliance chain by storing the AIGC content to be chained in the initial alliance chain, which includes a main chain and a directed dynamic graph, and then matches the content to be detected with the content of the main chain block corresponding to the main chain. When the match fails, the content to be detected is matched with the content of the dynamic graph block corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected based on the matching result. This application first stores the AIGC content to be chained in the initial alliance chain, and can build a preset alliance chain including the main chain and the directed dynamic graph. When the content to be detected fails to match the content of the main chain block corresponding to the main chain, the content to be detected is further matched with the content of the dynamic graph block corresponding to the directed dynamic graph. Compared with the existing alliance chain mode of one data and one main chain block, when searching for content with a high AIGC relevance, the entire blockchain needs to be traversed. The above method of this application can quickly find the directed dynamic graph block with the highest relevance when detecting AIGC content, and then quickly find one or more content that is the same or similar to the content to be detected, so as to detect the AIGC content in a timely and effective manner.

[0053] It should be noted that the execution subject of the present application may be a computing service device with data processing, network communication and program running functions, such as a computer, or an electronic device capable of implementing the above functions, a content detection device, etc. The following takes the content detection device as an example to illustrate this embodiment and the following embodiments.

[0054] Based on this, the present application embodiment provides a content detection method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the content detection method of the present application.

[0055] In this embodiment, the content detection method includes the following steps:

[0056] Step S10: Store the AIGC content to be uploaded to the initial alliance chain to obtain a preset alliance chain, which includes a main chain and a directed dynamic graph.

[0057] It is understandable that the process of establishing the initial alliance chain may include: ① Each AIGC platform alliance member applies to join the alliance chain; ② The blockchain alliance reviews the application in ①. If the review fails, the step ends; if the review passes, enter ③; ③ The alliance chain administrator allocates alliance node-related accounts (including alliance codes) and public and private keys to each AIGC platform and other alliance members that have passed the review on the alliance node management platform; ④ Each AIGC platform and other alliance members that have newly joined the alliance deploy alliance nodes according to the accounts and codes in ③. If the AIGC platform and other alliance members are deployed for the first time with the alliance chain, the data in the alliance chain is empty at this time; if the AIGC platform and other alliance members join during the operation of the alliance chain, they will first synchronize existing data from other nodes. After the data synchronization is completed, they will officially become alliance chain nodes, nodes with the ability to provide external data on-chain reading and writing capabilities.

[0058] It should be understood that artificial intelligence generated content (AIGC) refers to the content that needs to be chained to the initial alliance chain, and a preset alliance chain can be obtained. The preset alliance chain may include a main chain and a directed dynamic graph. Figure 2 , Figure 2 This is a schematic diagram of a preset alliance chain in an embodiment of the content detection method of the present application, such as Figure 2 As shown, the main chain is composed of unrelated content, which is a series of connected blocks. The related content is composed of directed dynamic graphs mounted on the main chain blocks. The dynamic graph consists of a starting point, an end point, and an intermediate point. Different AIGC types are mounted under the starting point of the graph, which are not limited to pictures, texts, files, audios, videos, etc. Each category is graded according to relevance, and each level mounts the ascending content of the corresponding level. Taking this embodiment as an example, the descending relevance interval of this embodiment is divided into [0, 0.1), [0.1, 0.2), [0.2, 0.3), [0.3, 0.4), [0.4, 0.5), [0.5, 0.6), [0.7, 0.8), [0.8, 0.9), [0.9, 1), and each level is dynamically created according to the relevance of the content on the chain. Figure 2 and insert them into the corresponding positions in ascending order.

[0059] The design of the preset alliance chain in this embodiment is conducive to quickly finding the most relevant block when AIGC content is detected. As mentioned above, the directed dynamic graph corresponding to the block is a highly relevant aggregated content of this type. According to the category of AIGC, one or more contents that are the same or similar to the query content can be quickly found. However, the traditional blockchain mode of one data and one main chain block requires traversing the entire blockchain when searching for content with high AIGC relevance, which is time-consuming and labor-intensive and cannot meet the needs of timely verification.

[0060] Step S20: Match the content to be detected with the main chain block content corresponding to the main chain.

[0061] It is understandable that when a user or platform detects whether the content is AIGC, the blockchain interface can be called to check. The blockchain interface can pass the content to be detected to the above-mentioned preset alliance chain. The content to be detected includes user input content Input, AIGC platform generation result OutPut, generation time, generation platform, metadata, ownership, license and other contents. Specifically, the content to be detected can be matched with the main chain block content corresponding to the main chain. If the match is successful, it means that the main chain block content contains the same content as the content to be detected. At this time, the content to be detected can be determined to be AIGC content, that is, content generated by artificial intelligence.

[0062] Step S30: When the matching fails, the content to be detected is matched with the dynamic graph block content corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected according to the matching result.

[0063] It should be understood that when the match between the content to be detected and the main chain block content fails, that is, there is no content identical to the content to be detected in the main chain block content, the content to be detected can be matched with the dynamic graph block content corresponding to the directed dynamic graph. If the match is successful, it means that there is content identical to the content to be detected in the dynamic graph block content. At this time, the content to be detected can be determined to be AIGC content. If the match fails, it means that there is no content identical to the content to be detected in the dynamic graph block content. At this time, it can be determined that the content to be detected is not AIGC content.

[0064] This embodiment obtains a preset alliance chain by storing the AIGC content to be chained in the initial alliance chain, the preset alliance chain includes a main chain and a directed dynamic graph, and then matches the content to be detected with the content of the main chain block corresponding to the main chain. When the match fails, the content to be detected is matched with the content of the dynamic graph block corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected according to the matching result. This embodiment first stores the AIGC content to be chained in the initial alliance chain, and can build a preset alliance chain including the main chain and the directed dynamic graph. When the content to be detected fails to match the content of the main chain block corresponding to the main chain, the content to be detected is further matched with the content of the dynamic graph block corresponding to the directed dynamic graph. Compared with the existing alliance chain mode of one data and one main chain block, when searching for content with a high AIGC relevance, the entire blockchain needs to be traversed. The above method of this embodiment can quickly find the directed dynamic graph block with the highest relevance when detecting AIGC content, and then quickly find one or more content that is the same or similar to the content to be detected, so as to detect the AIGC content in a timely and effective manner.

[0065] refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the content detection method of the present application.

[0066] Based on the above first embodiment, in this embodiment, step S10 includes:

[0067] Step S101: Determine the content relevance between the AIGC content to be chained and the AIGC content already chained in the initial alliance chain.

[0068] It is understandable that the AIGC content to be uploaded may include user input content Input and AIGC platform generated result Output. Figure 4 , Figure 4 This is a schematic diagram of the overall process of data chaining in an embodiment of the content detection method of the present application. Specifically, after initiating a chaining request, the above-mentioned AIGC content to be chained can be published to a node A of the initial alliance chain. Node A packages the AIGC content to be chained into blocks and publishes them to the initial alliance chain. Under the support of the consensus algorithm, each alliance chain node forms a consensus, and each node saves the block to be chained locally. The smart contract finds the consensus block to be chained, calculates the content relevance between the AIGC content to be chained and the AIGC content already chained in the initial alliance chain. Specifically, the smart contract takes out the AIGC content already chained in the initial alliance chain at one time, which may include user input content Input and AIGC platform generated result OutPut. The generation time, generation platform, metadata, ownership, and license are not closely related to the calculation of content relevance. Together with the content to be chained, mainly the user input content Input and AIGC platform generated result OutPut, they are used as the input parameters of the smart contract and passed into the smart contract function to calculate the content relevance.

[0069] Step S102: Compare the content relevance with a preset threshold, and construct a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result.

[0070] It should be understood that the content relevance can be compared with a preset threshold, and a new main chain block can be constructed on the initial alliance chain based on the comparison result. The new main chain block refers to a new block constructed on the basis of the existing main chain on the initial alliance chain. The starting block and the end block of a directed dynamic graph can also be constructed, such as Figure 2 The starting point of the graph and the end point of the graph are shown.

[0071] Furthermore, in order to effectively construct a new main chain block and / or a starting block and an end block on the initial alliance chain, in this embodiment, the step S102 includes: when the content relevance is lower than a preset threshold, creating a new main chain block on the main chain in the initial alliance chain based on the AIGC content to be uploaded, and the new main chain block is mounted to the end of the main chain; when the content relevance is higher than or equal to the preset threshold, determining whether the directed dynamic graph in the initial alliance chain is constructed; if not, constructing the starting block and the end block of the directed dynamic graph, the end block points to the starting block, and the starting block points to the corresponding main chain block.

[0072] It is understandable that when the content relevance is lower than the preset threshold, a new main chain block can be created on the main chain in the initial alliance chain, and the content of the new main chain block is not limited to the user input content Input, AIGC platform generation result Output, generation time, generation platform, metadata, ownership, license, etc. included in the AIGC content to be chained. After the new main chain block is created, it can be mounted to the end of the main chain.

[0073] It should be understood that when the content relevance is higher than or equal to the preset threshold, it means that the main chain block of the corresponding content and the content of the directed dynamic graph are highly relevant to the content to be detected. At this time, you can check whether the directed dynamic graph in the initial alliance chain has been constructed. If at least the starting block and the end block of the directed dynamic graph have been constructed, it means that the directed dynamic graph has been constructed. At this time, it is necessary to build the AIGC content construction block to be chained and insert it into the directed dynamic graph according to the content type and relevance. If the directed dynamic graph does not have a starting block and an end block, it means that this is the second content on the chain with a high content relevance. The first is the content of the main chain block. At this time, it is necessary to build a directed dynamic graph. First, build the starting block and the end block. The end block points to the starting block, and the starting block points to the corresponding main chain block.

[0074] Step S103: Determine the content type of the AIGC content to be uploaded, and judge whether the types mounted by the starting block and the end block include the content type.

[0075] It is understandable that content types may include image types, text types, audio types, video types, etc. After constructing the basic directed dynamic graph, the content type of the AIGC content to be uploaded to the chain can be checked, and whether the types mounted between the starting block and the end block of the directed dynamic graph contain the above content types. If not, create a type block corresponding to the content type.

[0076] Step S104: Determine the preset alliance chain according to the judgment result and the AIGC content to be uploaded to the chain.

[0077] Furthermore, in order to effectively obtain the preset alliance chain, in this embodiment, the step S104 includes: when the judgment result is that the types mounted by the starting block and the end block do not include the content type, creating a type block corresponding to the content type on the directed dynamic graph based on the AIGC content to be chained; judging whether the relevance grading interval mounted after the type block includes the relevance to be chained corresponding to the AIGC content to be chained; if so, inserting the type block into the directed dynamic graph according to the preset order to obtain the preset alliance chain.

[0078] It should be understood that when the judgment result is that the types mounted in the starting block and the end block of the directed dynamic graph do not contain the content type corresponding to the content to be chained, a type block corresponding to the content type can be created. Then check whether the relevance grading interval mounted after the type block contains the relevance to be chained corresponding to the AIGC content to be chained. Specifically, the relevance between the AIGC content to be chained and all the content corresponding to the type block can be calculated through the smart contract algorithm. If not, it is necessary to create a corresponding interval block. For example, there are intervals [0.1, 0.2), [0.2, 0.3), but the relevance to be chained is 0.4, which means that it is necessary to create a corresponding [0.4, 0.5) interval block and mount it after the corresponding type. At this time, the node at the end of the graph points to the interval block.

[0079] It is understandable that if the relevance grading interval contains the relevance to be chained corresponding to the AIGC content to be chained, it means that there is already an interval block with the relevance corresponding to the AIGC content to be chained, so the interval subchain is traversed and the blocks of the new chained content (including the relevance value) are inserted in ascending order. If the block is the last block of the interval subchain, the node at the end of the directed dynamic graph will point to the interval block. After the smart contract completes the above content, the content of the directed dynamic graph or the newly created main chain block will be JSONized, packaged into blocks, and published to the blockchain to complete the consensus of the blockchain; if the consensus is unsuccessful, the entire chain will be rolled back.

[0080] This embodiment determines the content relevance between the AIGC content to be chained and the AIGC content already chained in the initial alliance chain, and then compares the content relevance with a preset threshold, and builds a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result, and then determines the content type of the AIGC content to be chained, and determines whether the types mounted by the starting block and the end block include the content type, and then determines the preset alliance chain according to the judgment result and the AIGC content to be chained.

[0081] refer to Figure 5 , Figure 5 This is a flowchart of the third embodiment of the content detection method of the present application.

[0082] Based on the above embodiments, in this embodiment, step S30 includes:

[0083] Step S301: when the matching fails, matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph.

[0084] Understandably, referring to Figure 6 , Figure 6 This is a schematic diagram of the overall process of content detection in an embodiment of the content detection method of the present application. Specifically, if the content to be detected fails to match the content of the main chain block corresponding to the main chain, that is, the main chain block content does not contain the content to be detected, then detection is performed in the directed dynamic graph, that is, the content to be detected is matched with the dynamic graph block content corresponding to the directed dynamic graph. Specifically, it can be checked whether the type of the content to be detected is in the directed dynamic graph. If not, it means that the content to be detected is not in the preset alliance chain, the match fails, and detection verification cannot be performed. If it exists, the match is successful.

[0085] Step S302: when the match is successful, determining the relevance to be detected corresponding to the content to be detected, and selecting a relevance interval subchain from the directed dynamic graph according to the relevance to be detected.

[0086] It should be understood that if the content to be detected successfully matches the content of the dynamic graph block corresponding to the directed dynamic graph, the relevance to be detected corresponding to the content to be detected is determined. Specifically, the content contained in the directed dynamic graph block corresponding to the type of content to be detected can be determined first, and then the relevance between the content and the content to be detected is calculated through the smart contract algorithm, and the correlation interval sub-chain is determined according to the relevance to be detected.

[0087] Step S303: performing AIGC detection on the content to be detected according to the correlation interval sub-chain and the content to be detected.

[0088] Furthermore, in order to effectively perform AIGC detection on the content to be detected, in this embodiment, the step S303 includes: comparing all block contents in the correlation interval subchain with the content to be detected; if the comparison result is that the content to be detected is the same as the block content, the detection of the content to be detected is successful; if the comparison result is that the content to be detected is different from the block content, the detection of the content to be detected fails.

[0089] It is understandable that the contents of several blocks in the subchain of the correlation interval that are close to the content to be detected can be traversed to see if they are the same as the detected content, not limited to the user input content Input, the AIGC platform generated result OutPut, the generation time, the generation platform, metadata, ownership, license and other contents. If they are the same, the detection of the content to be detected is successful, that is, there is content to be detected in the preset alliance chain, and the content to be detected is AIGC content; if they are not the same, the detection of the content to be detected fails and the detection verification cannot be performed. However, there is highly related content, so the content of the highly related blocks can be returned as the result, not limited to the user input content Input, the AIGC platform generated result OutPut, the generation time, the generation platform, metadata, ownership, license and other contents.

[0090] In the specific implementation, in view of the business characteristics of AIGC content with strong timeliness, when the main chain, especially the directed dynamic graph, has no new data uploaded or detected for more than a certain threshold time, it is considered that the timeliness of the content and related content has expired, and the smart contract automatically recycles the data. When recycling, the content of the graph can be compressed and stored in the starting block of the graph, and the blocks of other graphs can be automatically recycled.

[0091] This embodiment matches the content to be detected with the content of the dynamic graph block corresponding to the directed dynamic graph when the match fails, determines the relevance to be detected corresponding to the content to be detected when the match succeeds, selects a relevance interval subchain from the directed dynamic graph according to the relevance to be detected, and then performs AIGC detection on the content to be detected according to the relevance interval subchain and the content to be detected. This embodiment matches the content to be detected with the content of the dynamic graph block corresponding to the directed dynamic graph when the match between the content to be detected and the main chain block content corresponding to the main chain fails, selects a relevance interval subchain from the directed dynamic graph according to the relevance to be detected, quickly finds the relevance interval subchain with the highest relevance from the directed dynamic graph, and then performs AIGC detection on the content to be detected according to the relevance interval subchain and the content to be detected, thereby timely and effectively detecting AIGC content.

[0092] Reference Figure 7 , Figure 7 This is a structural block diagram of the first embodiment of the content detection device of the present application.

[0093] like Figure 7 As shown, the content detection device proposed in the embodiment of the present application includes:

[0094] The alliance chain construction module 10 is used to store the AIGC content to be chained into the initial alliance chain to obtain a preset alliance chain, wherein the preset alliance chain includes a main chain and a directed dynamic graph;

[0095] A content matching module 20, used to match the content to be detected with the content of the main chain block corresponding to the main chain;

[0096] The content detection module 30 is used to match the content to be detected with the dynamic image block content corresponding to the directed dynamic image when the matching fails, and perform AIGC detection on the content to be detected according to the matching result.

[0097] This embodiment obtains a preset alliance chain by storing the AIGC content to be chained in the initial alliance chain, the preset alliance chain includes a main chain and a directed dynamic graph, and then matches the content to be detected with the content of the main chain block corresponding to the main chain. When the match fails, the content to be detected is matched with the content of the dynamic graph block corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected according to the matching result. This embodiment first stores the AIGC content to be chained in the initial alliance chain, and can build a preset alliance chain including the main chain and the directed dynamic graph. When the content to be detected fails to match the content of the main chain block corresponding to the main chain, the content to be detected is further matched with the content of the dynamic graph block corresponding to the directed dynamic graph. Compared with the existing alliance chain mode of one data and one main chain block, when searching for content with a high AIGC relevance, the entire blockchain needs to be traversed. The above method of this embodiment can quickly find the directed dynamic graph block with the highest relevance when detecting AIGC content, and then quickly find one or more content that is the same or similar to the content to be detected, so as to detect the AIGC content in a timely and effective manner.

[0098] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present application. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0099] In addition, for technical details not fully described in this embodiment, please refer to the content detection method provided in any embodiment of the present application, and will not be repeated here.

[0100] Based on the above-mentioned first embodiment of the content detection device of the present application, a second embodiment of the content detection device of the present application is proposed.

[0101] In this embodiment, the alliance chain construction module 10 is also used to determine the content relevance between the AIGC content to be chained and the AIGC content that has been chained in the initial alliance chain; compare the content relevance with a preset threshold, and build a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result; determine the content type of the AIGC content to be chained, and judge whether the types mounted by the starting block and the end block include the content type; determine the preset alliance chain according to the judgment result and the AIGC content to be chained.

[0102] Furthermore, the alliance chain construction module 10 is also used to create a new main chain block on the main chain in the initial alliance chain based on the AIGC content to be uploaded when the content relevance is lower than a preset threshold, and the new main chain block is mounted to the end of the main chain; when the content relevance is higher than or equal to the preset threshold, determine whether the directed dynamic graph in the initial alliance chain is constructed; if not, construct the starting block and the end block of the directed dynamic graph, the end block points to the starting block, and the starting block points to the corresponding main chain block.

[0103] Furthermore, the alliance chain construction module 10 is also used to create a type block corresponding to the content type on the directed dynamic graph based on the AIGC content to be chained when the judgment result is that the types mounted by the starting block and the end block do not include the content type; judge whether the relevance grading interval mounted after the type block includes the relevance to be chained corresponding to the AIGC content to be chained; if so, insert the type block into the directed dynamic graph according to a preset order to obtain a preset alliance chain.

[0104] Furthermore, the content detection module 30 is also used to match the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph when the matching fails; when the matching is successful, determine the relevance to be detected corresponding to the content to be detected, and select a relevance interval subchain from the directed dynamic graph according to the relevance to be detected; and perform AIGC detection on the content to be detected according to the relevance interval subchain and the content to be detected.

[0105] Furthermore, the content detection module 30 is also used to compare the content of all blocks in the correlation interval subchain with the content to be detected; if the comparison result is that the content to be detected is the same as the block content, the detection of the content to be detected is successful; if the comparison result is that the content to be detected is different from the block content, the detection of the content to be detected fails.

[0106] Other embodiments or specific implementations of the content detection device of the present application can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0107] The present application provides a content detection device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the content detection method in the above-mentioned embodiment 1.

[0108] Reference below Figure 8, which shows a schematic diagram of the structure of a content detection device suitable for implementing an embodiment of the present application. The content detection device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The content detection device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0109] like Figure 8 As shown, the content detection device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the content detection device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the content detection device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a content detection device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.

[0110] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0111] The content detection device provided by the present application adopts the content detection method in the above embodiment, which can solve the technical problem of how to detect AIGC content in a timely and effective manner. Compared with the prior art, the beneficial effects of the content detection device provided by the present application are the same as the beneficial effects of the content detection method provided by the above embodiment, and the other technical features in the content detection device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0112] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0113] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0114] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the content detection method in the above-mentioned embodiment.

[0115] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0116] The computer-readable storage medium may be included in the content detection device; or may exist independently without being assembled into the content detection device.

[0117] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the content detection device, the content detection device: stores the AIGC content to be uploaded to the initial alliance chain to obtain a preset alliance chain, and the preset alliance chain includes a main chain and a directed dynamic graph; matches the content to be detected with the main chain block content corresponding to the main chain; when the match fails, matches the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph, and performs AIGC detection on the content to be detected according to the matching result.

[0118] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0119] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0120] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0121] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned content detection method, and can solve the technical problem of how to detect AIGC content in a timely and effective manner. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the content detection method provided in the above-mentioned embodiment, and will not be repeated here.

[0122] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned content detection method when executed by a processor.

[0123] The computer program product provided by this application can solve the technical problem of how to detect AIGC content in a timely and effective manner. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the content detection method provided by the above embodiment, which will not be repeated here.

[0124] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A content detection method, characterized in that: The content detection method comprises the following steps: The AIGC content to be uploaded is stored in the initial alliance chain to obtain a preset alliance chain, which includes a main chain and a directed dynamic graph; Matching the content to be detected with the content of the main chain block corresponding to the main chain; When the matching fails, the content to be detected is matched with the dynamic graph block content corresponding to the directed dynamic graph, and AIGC detection is performed on the content to be detected according to the matching result.

2. The content detection method according to claim 1, characterized in that: The step of storing the AIGC content to be chained into the initial alliance chain to obtain the preset alliance chain specifically includes: Determine the content relevance between the AIGC content to be uploaded and the AIGC content already uploaded in the initial alliance chain; Compare the content relevance with a preset threshold, and construct a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result; Determine the content type of the AIGC content to be uploaded, and judge whether the types mounted by the starting block and the end block include the content type; The preset alliance chain is determined according to the judgment result and the AIGC content to be uploaded to the chain.

3. The content detection method according to claim 2, characterized in that: The step of comparing the content relevance with a preset threshold and constructing a new main chain block and / or a starting block and an end block of a directed dynamic graph on the initial alliance chain according to the comparison result specifically includes: When the content relevance is lower than a preset threshold, a new main chain block is created on the main chain in the initial alliance chain based on the AIGC content to be chained, and the new main chain block is mounted to the end of the main chain; When the content relevance is higher than or equal to the preset threshold, determining whether the directed dynamic graph in the initial alliance chain is constructed; If not, then construct the starting block and the end block of the directed dynamic graph, the end block points to the starting block, and the starting block points to the corresponding main chain block.

4. The content detection method according to claim 2, characterized in that: The step of determining the preset alliance chain according to the judgment result and the AIGC content to be chained specifically includes: When the result of the judgment is that the types mounted by the starting block and the end block do not include the content type, creating a type block corresponding to the content type on the directed dynamic graph based on the AIGC content to be uploaded; Determine whether the relevance classification interval mounted after the type block contains the relevance to be chained corresponding to the AIGC content to be chained; If so, the type of blocks are inserted into the directed dynamic graph in a preset order to obtain a preset alliance chain.

5. The content detection method according to any one of claims 1 to 4, characterized in that: When the matching fails, the step of matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph, and performing AIGC detection on the content to be detected according to the matching result specifically includes: When the matching fails, matching the content to be detected with the dynamic graph block content corresponding to the directed dynamic graph; When the match is successful, determining the relevance to be detected corresponding to the content to be detected, and selecting a relevance interval subchain from the directed dynamic graph according to the relevance to be detected; Perform AIGC detection on the content to be detected according to the correlation interval sub-chain and the content to be detected.

6. The content detection method according to claim 5, characterized in that: The step of performing AIGC detection on the content to be detected according to the correlation interval subchain and the content to be detected specifically includes: Compare all block contents in the correlation interval subchain with the content to be detected; If the comparison result is that the content to be detected is the same as the content of the block, then the content to be detected is detected successfully; If the comparison result is that the content to be detected is different from the block content, the detection of the content to be detected fails.

7. A content detection device, characterized in that: The content detection device comprises: A consortium chain construction module is used to store the AIGC content to be uploaded to the initial consortium chain to obtain a preset consortium chain, which includes a main chain and a directed dynamic graph; A content matching module, used to match the content to be detected with the content of the main chain block corresponding to the main chain; The content detection module is used to match the content to be detected with the dynamic image block content corresponding to the directed dynamic image when the matching fails, and perform AIGC detection on the content to be detected according to the matching result.

8. A content detection device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the content detection method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the content detection method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the content detection method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • System and method providing advanced distributed ledger capabilities via specialized data records

    CA3141042A1

  • Method for constructing index for data set, data query method and calculation device

    CN110929103A

  • Data processing method and device

    CN112101399A

  • Dynamic weight-based consensus method for blockchain enabling data sharing

    CN115118732A

  • Multi-node multi-branch block directed acyclic topological structure and method thereof

    CN116226268A