Multimedia content management and control optimization method based on target recognition

By constructing a multi-modal content information graph structure and utilizing graph attention networks and integrated models, the problem of low accuracy in identifying complex dynamic live videos in multimedia content management and control methods in the existing technology is solved, and more efficient and accurate multimedia is achieved. Content monitoring.

CN118196579BActive Publication Date: 2024-10-01GUANGDONG HUARUI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410324769.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-21
Publication Date
2024-10-01
Estimated Expiration
2044-03-21

AI Technical Summary

Technical Problem

Existing multimedia content management and control methods rely on basic image recognition technology, which makes it difficult to effectively identify bad images and non-compliant speech in live videos that are complex, dynamic, or contain disturbing elements, resulting in a decrease in recognition accuracy.

Method used

A multimedia content management and control method based on target recognition is adopted to construct a multi-modal content information graph structure by extracting video clip data. The graph attention network and integrated model (combined with CNN and RNN modules) are used to conduct video content analysis and fuse video frame images, Audio sequences and UGC text information are used to identify taboo videos.

Benefits of technology

It improves the recognition accuracy of taboo videos, enhances the adaptive recognition ability of dynamic changes in videos, reduces compliance misjudgments and missed judgments, and improves the efficiency and accuracy of live content monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118196579B_ABST
    Figure CN118196579B_ABST
Patent Text Reader

Abstract

The present invention provides a multimedia content control optimization method based on target recognition, which includes: extracting multiple video clip data from a target video to be controlled; determining the multimodal content information corresponding to each video clip data; constructing initial graph structure data according to each multimodal content information; updating the initial graph structure data based on a graph attention network to obtain corresponding target graph structure data; inputting the target graph structure data into a target classification model to determine whether the target video belongs to a taboo video, and the target classification model adopts an integrated model. Thus, a comprehensive and integrated analysis of the multidimensional content information of the video can be performed, and the accuracy of the content review and identification results of the taboo video content can be effectively improved, so as to meet the real-time review requirements for live multimedia content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multimedia content intelligent auditing, and in particular to a multimedia content management and control optimization method based on target recognition. Background Art

[0002] With the rapid development of the Internet and multimedia technology, the amount of multimedia content such as images and videos on the Internet has increased dramatically. These contents contain a lot of bad information, which poses a potential threat to society and individuals.

[0003] At present, live broadcast software is becoming more and more popular, and the pornographic live broadcast content spread by live broadcast software will cause serious social problems. This not only violates laws and regulations, but also affects the platform's reputation and user experience. Currently, the content monitoring of most live broadcast platforms mainly relies on manual review and basic image recognition technology, resulting in obvious limitations in real-time and accuracy.

[0004] Traditional multimedia content management methods mainly use basic image recognition technology. However, in traditional basic image recognition technology, it mostly relies on simple image feature matching, such as color, shape, pattern, etc. However, this type of method may be effective when processing static and simple images, but when faced with complex, dynamic or live videos containing interference elements, especially when the video contains not only static image information, but also real-time dynamic messages, bullet comments and time series information, the recognition accuracy rate is greatly reduced.

[0005] In response to the above problems, the industry has not yet proposed a better technical solution. Summary of the invention

[0006] The present invention provides a multimedia content control optimization method, system, electronic device and storage medium based on target recognition, which are used to at least solve the problem in the prior art that the live broadcast system cannot quickly identify bad pictures and non-compliant remarks in dynamic live broadcast pictures.

[0007] The present invention provides a multimedia content management and optimization method based on target recognition, comprising: extracting a plurality of video segment data from a target video to be managed and processed, wherein the time length corresponding to each of the video segment data conforms to a preset time unit; for each of the video segment data, determining the multimodal content information corresponding to the video segment data, wherein the multimodal content information package identifies a video frame image, an audio sequence corresponding to an audio segment, and a text sequence corresponding to a UGC text set; the identified video frame image is selected from a video frame image set corresponding to the video segment data; and constructing initial graph structure data according to each of the multimodal content information; the initial graph structure data comprises a plurality of edges and nodes, wherein each node is defined by an identified video frame image, an audio sequence, or a text sequence, Each edge is used to connect each node corresponding to the same video time; the initial graph structure data is updated based on the graph attention network to obtain the corresponding target graph structure data; the target graph structure data is input into the target classification model to determine whether the target video is a taboo video, and the target classification model adopts an integrated model; the target classification model includes a CNN module, an RNN module and an integrated output module, the CNN module is used to process the target image node in the target graph structure data to obtain a first intermediate result, the RNN module is used to process the target text node and the target audio node in the target graph structure data to obtain a second intermediate result, and the integrated output module is used to determine the target classification result for the taboo video based on the first intermediate result and the second intermediate result.

[0008] Optionally, the process of determining the identification video frame image includes: for each video frame image in the video frame image set, calculating the change amplitude of the video frame image in image texture relative to the previous historical video frame image, and determining the video frame image whose corresponding change amplitude exceeds a preset threshold as a key video frame image; for each of the key video frame images, calculating the gradient amplitude of the key video frame image in image brightness to determine the sum of edge intensities corresponding to the key video frame image; and determining the identification video frame image based on the key video frame image with the corresponding largest sum of edge intensities among each of the key video frame images.

[0009] Optionally, for each of the key video frame images, calculating the gradient amplitude of the key video frame image in image brightness to determine the sum of edge intensities corresponding to the key video frame image includes: calculating the Sobel edge detection operator corresponding to each pixel point (x, y) in the key video frame image I (x, y):

[0010]

[0011]

[0012] In the formula, G x and G y They represent the horizontal Sobel operator and the vertical Sobel operator respectively, and * represents the convolution operation;

[0013] Calculate the gradient amplitude corresponding to each pixel in the key video frame image:

[0014]

[0015] The gradient amplitude M(x, y) corresponding to each pixel point in the key video frame image is summed to obtain the sum of edge strengths corresponding to the key video frame image:

[0016]

[0017] Wherein, Q represents the sum of edge intensities corresponding to the key video frame image, which is used to evaluate the overall clarity of the image.

[0018] Optionally, constructing initial graph structure data according to each of the multimodal content information includes: compressing the text sequence in each of the multimodal content information to generate a corresponding compressed text sequence to update each of the multimodal content information; constructing initial graph structure data according to each of the updated multimodal content information; wherein the compression of the text sequence includes:

[0019] For each word t in the text sequence T i , and obtain its embedding vector vec(t i ), and then apply a K-means algorithm to cluster the embedding vectors to identify keywords:

[0020] vec(t i )=BERT(t i )

[0021] C=K-means({vec(t 1 ),vec(t 2 ),...,vec(t n )})

[0022] In the formula, BERT(t i ) indicates the word t i BERT embedding vector, C represents the keyword set obtained by clustering;

[0023] Input the text sequence T and the keyword set C into the Transformer model to generate the corresponding summary sequence as the corresponding compressed text sequence;

[0024] S = Transformer (T, C)

[0025] Where S represents the generated summary sequence.

[0026] Optionally, the RNN module is used to process the summary sequence S and the audio sequence A, and the structure of the RNN module is:

[0027] o ti =LSTM text (emb(s i ))

[0028] O text ={o s1 ,o s2 ,...,o sn}

[0029] o ai =GRU audio (a i )

[0030] O audio ={o a1 ,o a2 ,...,o am}

[0031] O RNN =Concat(O text ,O audio )

[0032] Where S = {s 1 ,s 2 ,…,s n}, A={a 1 ,a 2 ,…,a n}; a i represents the i-th feature vector in the audio sequence A, s i represents the i-th feature vector in the summary sequence S; emb(s i ) indicates word s i The embedding vector of text represents the text output sequence processed by LSTM, O audio Represents the audio output sequence processed by GRU, LSTM text Represents the LSTM network and GRU that processes the summary sequence audio represents the GRU network for processing audio sequences; Concat(·) represents the feature concatenation operation, O RNN Represents the output result of the RNN module.

[0033] Optionally, the taboo videos include pornographic videos and / or horror videos.

[0034] Optionally, the CNN module in the target classification model adopts a tree network, the tree network includes multiple groups of cascaded tree structure units, each group of the tree structure units includes a first convolutional layer unit, a second convolutional layer unit and an information sharing network unit, the first convolutional layer unit and the second convolutional layer unit are single-task network models respectively; the first convolutional layer unit is used to process the pornographic video image recognition task, and the second convolutional layer unit is used to process the horror video image recognition task; the information sharing network unit connects the first convolutional layer unit and the second convolutional layer unit; the first convolutional layer unit and the second convolutional layer unit are connected to each other; The two convolutional layer units are respectively used to determine the first convolutional feature and the second convolutional feature corresponding to the target image node; the information sharing network unit is used to fuse the first convolutional feature and the second convolutional feature to determine the corresponding fused feature, and is also used to perform the following operations: when it is determined that the current target recognition task is a pornographic video image recognition task, the fused feature is input into the first convolutional layer unit in the next cascaded tree structure unit; when it is determined that the current target recognition task is a horror video image recognition task, the fused feature is input into the second convolutional layer unit in the next cascaded tree structure unit.

[0035] Optionally, the specific structure of the CNN module is:

[0036]

[0037]

[0038]

[0039] When TASK(I) = "yellow", and

[0040] When TASK(I) = "thriller", and

[0041] In the formula, I vec Represents the input image feature corresponding to the target image node, represents the first feature processing result of the first convolutional layer unit in the kth group of tree structure units, represents the second feature processing result of the second convolutional layer unit in the kth group of tree structure units, and Represent the convolution operations of the first convolutional layer unit and the second convolutional layer unit, respectively, M (k)represents the fusion feature of the first feature processing result and the second feature processing result, α and β represent weighting coefficients; TASK(I) represents the image recognition task type; and They respectively represent the feature processing results of the first convolutional layer unit and the second convolutional layer unit in the k+1th group of tree structure units.

[0042] Optionally, the integrated output module adopts a deep separable convolutional network based on an attention mechanism, which includes an input feature preprocessing layer, an attention layer, a deep separable convolutional layer and a classification decision layer;

[0043] The structure of the input feature preprocessing layer is:

[0044] O′ CNN =Preprocess( CNN )

[0045] O′ RNN =Preprocess( RNN )

[0046] The structure of the attention layer is:

[0047] O att_CNN =Attention(O′ CNN )

[0048] O att_RNN =Attention(O′ RNN )

[0049] The structure of the classification decision layer is:

[0050] O combined = SepConv(Concat( att_CNN ,O att_RNN ))

[0051] Y = softmax(FC(O combined ))

[0052] In the formula, O CNN Represents the output result of the CNN module; Preprocess(·) represents the preprocessing function, Attention(·) represents the attention mechanism function; SepConv(·) represents the depthwise separable convolution operation; FC(·) represents the fully connected layer processing, and softmax(·) represents the softmax activation function.

[0053] The embodiment of the present invention further provides a multimedia content management and optimization system based on target recognition, comprising: a video segment extraction unit, configured to extract multiple video segment data from a target video to be managed and processed, wherein the time length corresponding to each of the video segment data conforms to a preset time unit; a multimodal content determination unit, configured to determine, for each of the video segment data, the multimodal content information corresponding to the video segment data, wherein the multimodal content information package identifies the video frame image, the audio sequence corresponding to the audio segment, and the text sequence corresponding to the UGC text set; the identified video frame image is selected from the video frame image set corresponding to the video segment data; a graph structure construction unit, configured to construct initial graph structure data according to each of the multimodal content information; the initial graph structure data comprises multiple edges and nodes, each node is respectively composed of an identified video frame image, an audio sequence corresponding to the audio segment, and a text sequence corresponding to the UGC text set. The target video is defined as a taboo video or a text sequence, and each edge is used to connect each node corresponding to the same video time; a graph structure updating unit is configured to update the initial graph structure data based on a graph attention network to obtain corresponding target graph structure data; a target identification unit is configured to input the target graph structure data into a target classification model to determine whether the target video is a taboo video, and the target classification model adopts an integrated model; the target classification model includes a CNN module, an RNN module and an integrated output module, the CNN module is used to process the target image node in the target graph structure data to obtain a first intermediate result, the RNN module is used to process the target text node and the target audio node in the target graph structure data to obtain a second intermediate result, and the integrated output module is used to determine the target classification result for the taboo video according to the first intermediate result and the second intermediate result.

[0054] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for optimizing multimedia content management based on target recognition as described in any one of the above is implemented.

[0055] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described multimedia content management and optimization methods based on target identification.

[0056] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned multimedia content management and optimization methods based on target recognition.

[0057] The target recognition-based multimedia content management optimization method and system provided by the present invention have at least solved the problem that the traditional multimedia content management method mainly relies on basic image recognition technology, resulting in a serious decline in recognition accuracy when processing complex, dynamic or live videos containing interference elements, and can at least produce the following technical effects:

[0058] (1) By constructing multimodal content information (including video frame images, audio sequences, and UGC text sequences) and using Graph Attention Networks (GATs) to optimize graph structure data, a more comprehensive understanding of video content is achieved. Furthermore, the design of an integrated model (combining CNN and RNN modules) can more effectively process and identify different types of multimedia data, thereby significantly improving the accuracy of identifying taboo videos.

[0059] (2) By dividing the video into segments and analyzing the video frame images, audio sequences, and text sequences of each segment, the dynamic characteristics of the video can be better processed. Here, the application of the graph attention network enables the model to process time series information more effectively and enhances the adaptive recognition ability of the dynamic changes of the video.

[0060] (3) The target classification model not only focuses on the live video image itself, but also integrates the analysis of audio and text information. Through the comprehensive analysis of multiple information sources, it improves the monitoring dimension of the multimedia content of the live video. In addition, through the comprehensive analysis of multiple information sources, the generalization ability of the integrated model in different scenarios can be improved.

[0061] (4) The target classification model uses an integrated model to perform multimodal fusion analysis on each clip, reducing the reliance on a single model to handle all tasks and the complexity of the model in processing a single task. This improves the real-time performance and overall efficiency of the system to a certain extent and supports more efficient and large-scale parallel processing of video data.

[0062] Through this solution, the comprehensive application of graph attention networks and integrated models has achieved efficient and accurate monitoring of multimedia content (especially live videos), which can analyze multimedia content more comprehensively and accurately, effectively improve the recognition accuracy and comprehensive coverage of taboo content, and effectively reduce misjudgments and omissions of compliance of live content, thus ensuring the healthy maintenance of the live network environment and a good user live interactive experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A flowchart showing an example of a multimedia content management and optimization method based on target recognition according to an embodiment of the present invention is shown;

[0065] Figure 2 A schematic diagram showing a structure of an example of a target classification model according to an embodiment of the present invention is shown;

[0066] Figure 3 Shown according to Figure 2 FIG. 1 is an operational flow chart of an example of a process for determining an identified video frame image in step S120;

[0067] Figure 4 Shown according to Figure 1 An exemplary operation flow chart of step S130 in FIG.

[0068] Figure 5 A schematic structural diagram of an example of a RNN module according to an embodiment of the present invention is shown;

[0069] Figure 6 A schematic diagram showing the structure of an example of a CNN module in a target classification model according to an embodiment of the present invention is shown;

[0070] Figure 7 Shown according to Figure 6 A schematic structural diagram of an example of a tree structure unit in;

[0071] Figure 8 A schematic structural diagram of an example of an integrated output module according to an embodiment of the present invention is shown;

[0072] Fig. 9 A structural block diagram of an example of a multimedia content management and optimization system based on target recognition according to an embodiment of the present invention is shown;

[0073] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0075] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0076] Figure 1 A flowchart of an example of a multimedia content management and optimization method based on target recognition according to an embodiment of the present invention is shown.

[0077] Regarding the execution subject of the method of the embodiment of the present invention, it can be any electronic device with processing and computing capabilities, such as a computer terminal, a mobile phone terminal, etc. More specifically, in combination with the live content review business scenario, its execution subject can be a platform server to achieve efficient and accurate monitoring of multimedia content (especially live video), and can comprehensively and accurately analyze multimedia content, effectively improving the recognition accuracy and comprehensive coverage of taboo content.

[0078] like Figure 1 As shown, in step S110, a plurality of video segment data are extracted from the target video to be managed and processed.

[0079] Here, the time length corresponding to each video clip data conforms to the preset time unit. Here, the preset time unit can be set according to the system default, such as 1 minute or half a minute, so as to process the live video of a specific time segment. In some embodiments, the preset time unit can be related to the anchor type. For example, the first preset time unit corresponding to the game anchor can be greater than the second preset time unit corresponding to the dance anchor, so as to save system resource consumption.

[0080] In step S120 , for each video segment data, multimodal content information corresponding to the video segment data is determined.

[0081] Here, the multimodal content information package identifies the video frame image, the audio sequence corresponding to the audio clip, and the text sequence corresponding to the UGC text set (including user comments and real-time video barrage). More specifically, the silent segments in the audio clip are truncated, and an audio time sequence is generated based on the valid audio frames. The repeated text in the UGC text set is identified and filtered out to obtain a text time sequence. Here, the identified video frame image can be arbitrarily specified from the video frame image set. Preferably, the identified video frame image can also be determined from the video frame image set according to a preset algorithm or condition. More details will be expanded in conjunction with other examples below.

[0082] In step S130, initial graph structure data is constructed according to each multimodal content information.

[0083] Here, the initial graph structure data includes multiple edges and nodes, each node is defined by identifying a video frame image, an audio sequence or a text sequence, and each edge is used to connect nodes corresponding to the same video time.

[0084] More specifically, the features of each modality are represented as nodes in the graph. For example, the features of video frames, audio clips, and text messages are all independent nodes. Furthermore, the video frames can be connected with the audio clips and comments at the same time point, so that data of different modalities can be associated through edges.

[0085] In step S140, the initial graph structure data is updated based on the graph attention network to obtain the corresponding target graph structure data.

[0086] Here, a graph attention network (e.g., GAT) is applied to process graph-structured data, so that information can be transferred and integrated between nodes, helping the model capture and understand the relationship between different modalities. Each graph convolution operation updates the feature representation of the node so that it contains information about neighboring nodes. In this way, each updated node (such as a specific video frame) contains not only its own features, but also audio and text information related to it. In this way, after several rounds of graph convolution, the feature representation of each node is enriched with cross-modal information and can effectively reflect the complex relationship between different modalities.

[0087] Therefore, the graph attention network can effectively fuse multimodal information from video, audio, and text, providing a comprehensive and in-depth feature representation for subsequent content recognition and analysis. This provides strong support for identifying complex and subtle patterns in live content, such as specific types of inappropriate behavior or hidden illegal content.

[0088] In step S150 , the target graph structure data is input into a target classification model to determine whether the target video is a taboo video.

[0089] Here, the classification and definition of taboo videos can be diverse, such as one or more, and can be adaptively adjusted according to business application scenarios or platform requirements. More specifically, the classification of taboo videos can be pornographic, thriller, horror, political, and so on. More preferably, when the classification of taboo videos that can be identified by the target classification model is multi-category, the target classification model can identify and filter videos of multiple taboo types without the need to use different types of models for processing, thereby efficiently completing the review and control of live content. More details will be expanded in conjunction with other examples below.

[0090] Figure 2 A schematic structural diagram of an example of a target classification model according to an embodiment of the present invention is shown.

[0091] like Figure 2 As shown, the target classification model 200 adopts an integrated model, and the target classification model 200 includes a CNN module 210, an RNN module 220 and an integrated output module 230. The CNN module 210 is used to process the target image nodes in the target graph structure data to obtain a first intermediate result, the RNN module 220 is used to process the target text nodes and the target audio nodes in the target graph structure data to obtain a second intermediate result, and the integrated output module 230 is used to determine the target classification result for the taboo video based on the first intermediate result and the second intermediate result.

[0092] In the embodiment of the present invention, a combination of a convolutional neural network (CNN) and a recurrent neural network (RNN) is used, CNN is used to analyze image features, RNN processes sequence data (such as text and audio sequences), and an integrated output module is used to fuse feature vectors and identify taboo video classifications of live content. Thus, through this integrated model, the system can make full use of the information of multimodal data and improve the accuracy of identifying whether the live content is appropriate.

[0093] Figure 3 Shown according to Figure 2 An operational flow chart of an example of a process for determining an identified video frame image in step S120.

[0094] like Figure 3 As shown, in step S310, for each video frame image in the video frame image set, the change amplitude of the video frame image in image texture relative to the previous historical video frame image is calculated, and the video frame image whose corresponding change amplitude exceeds a preset threshold is determined as a key video frame image.

[0095] Here, by calculating the texture change amplitude between video frames and determining the frames whose change amplitude exceeds a preset threshold as key frames, it is possible to ensure that the selected frames have significant visual changes, thereby making it more likely to capture important or sudden events. In addition, through the selection of key frames, the number of frames that need further analysis can be reduced, reducing the burden on the processor and improving the processing efficiency of the entire system.

[0096] In step S320, for each key video frame image, the gradient amplitude of the key video frame image in image brightness is calculated to determine the sum of edge intensities corresponding to the key video frame image.

[0097] More specifically, the Sobel edge detection operator corresponding to each pixel point (x, y) in the key video frame image I(x, y) is calculated:

[0098]

[0099]

[0100] In the formula, G x and G y They represent the horizontal Sobel operator and the vertical Sobel operator respectively, and * represents the convolution operation;

[0101] Calculate the gradient amplitude corresponding to each pixel in the key video frame image:

[0102]

[0103] The gradient amplitude M(x, y) corresponding to each pixel in the key video frame image is summed to obtain the sum of the edge strength corresponding to the key video frame image:

[0104]

[0105] Where Q represents the sum of edge intensities corresponding to the key video frame images, which is used to express the overall clarity of the image.

[0106] Here, the sharpness is evaluated based on the edge information of the image, and the sharper the edge, the sharper the image is generally.

[0107] In step S330, an identification video frame image is determined according to a key video frame image having a corresponding maximum edge strength sum among the key video frame images.

[0108] In an embodiment of the present invention, by calculating the sum of edge strengths of key frames, important features in the image are further extracted. Edge strength is usually positively correlated with the clarity and information content of the image, which helps to select frames with higher quality and richer information. In addition, by selecting the key frame with the maximum sum of edge strength as the identification video frame, it is ensured that the selected frame can best represent the video content in its corresponding time period, so that subsequent analysis is more focused on the part with the most significant content changes. As a result, high-quality input is provided for subsequent image analysis, target recognition or other advanced processing. Such a processing flow ensures that the video surveillance system can more effectively identify key events and improves the accuracy and reliability of the overall recognition results.

[0109] Figure 4 Shown according to Figure 1 An example operation flow chart of step S130 in FIG.

[0110] like Figure 4 As shown, in step S410, the text sequence in each multimodal content information is compressed to generate a corresponding compressed text sequence to update each multimodal content information.

[0111] In some implementations, keyword extraction and text summarization algorithms may be used to greatly improve the efficiency and accuracy of information extraction and text compression.

[0112] In step S420, initial graph structure data is constructed according to each updated multimodal content information.

[0113] Therefore, the unimportant or repeated content in the comment data is filtered out and compressed, and the main information that can represent the current live interactive content is selected to construct graph structure data, which can reduce the amount of data for subsequent processing while retaining important contextual information.

[0114] In some implementations, compression of text sequences may be accomplished by:

[0115] For each word t in the text sequence T i , and obtain its embedding vector vec(t i ), and then apply a K-means algorithm to cluster the embedding vectors to identify keywords:

[0116] vec(t i )=BERT(t i ) Formula (5)

[0117] C=K-means({vec(t 1 ),vec(t 2 ),...,vec(t n)}) Formula (6)

[0118] In the formula, BERT(t i ) indicates the word t i BERT embedding vector, C represents the keyword set obtained by clustering;

[0119] Input the text sequence T and the keyword set C into the Transformer model to generate the corresponding summary sequence as the corresponding compressed text sequence;

[0120] S = Transformer (T, C) Formula (7)

[0121] Where S represents the generated summary sequence, thereby realizing the extraction and compression of key information of live UGC content.

[0122] In an embodiment of the present invention, high-quality word embedding vectors are extracted through the BERT model, and the K-means algorithm is used to identify keywords based on these vectors. Next, in the text summary stage, the keyword set C is used as an additional input to assist the Transformer model to better understand the key content of the text and generate a more accurate and informative summary. Here, in the abstract summary process of the Transformer, the extracted keywords are explicitly used as additional input information, so that the summary generation model is not only based on the original text, but also considers the key information contained in the keywords. In other words, the keywords are combined with the encoding results of the original text as the basis for summary generation, so as to introduce keyword information into the decoder part of the summary model. In this way, a high degree of coordination and consistency between keyword extraction and text summary can be ensured, so that the summary results can better reflect the core meaning of the text.

[0123] Figure 5 A schematic structural diagram of an example of an RNN module according to an embodiment of the present invention is shown.

[0124] like Figure 5 As shown, the RNN module 500 includes an LSTM network 510, a GRU network 520, and a feature concatenation layer 530. The text summary sequence is processed by the LSTM network 510, the audio sequence is processed by the GRU network 520, and then the feature concatenation is performed by the feature concatenation layer 530.

[0125] It should be noted that GRU is more efficient in processing audio sequences (such as speech or background sound), especially for longer or complex audio sequences. It can capture and analyze key patterns more quickly, and effectively process dynamically changing audio information by updating and resetting gates, which is suitable for fast-changing live broadcast environments. In addition, LSTM effectively captures long-distance dependencies in text through its gating mechanism, which is suitable for capturing long-term dependencies in text, such as the context and sentiment in live broadcast comments or comments, which helps to understand the text content more accurately and enhances the model's understanding of complex semantics.

[0126] More specifically, the structure of the RNN module is:

[0127] o ti =LSTM text (emb(s i )) Formula (8)

[0128] O text ={o s1 ,o s2 ,…,o sn Formula (9)

[0129] o ai =GRU audio (a i ) Formula (10)

[0130] O audio ={o a1 ,o a2 ,...,o am Formula (11)

[0131] O RNN =Concat(O text ,O audio ) Formula (12)

[0132] Where S = {s 1 ,s 2 ,...,s n}, A={a 1 ,a 2 ,...,a n}; a i represents the i-th feature vector in the audio sequence A, s i represents the i-th feature vector in the summary sequence S; emb(s i ) indicates word s i The embedding vector of text represents the text output sequence processed by LSTM, O audio Represents the audio output sequence processed by GRU, LSTM textRepresents the LSTM network and GRU that processes the summary sequence audio represents the GRU network for processing audio sequences; Concat(·) represents the feature concatenation operation, O RNN Represents the output result of the RNN module 500.

[0133] Through the embodiment of the present invention, the feature output of text and audio is integrated to obtain a more comprehensive understanding of the content, which can effectively improve the adaptability of the model to various live content (such as dialogue, music, and bullet screen), and can comprehensively conduct risk assessment and analysis on the overall risk of live content. Whether it is dialogue, background sound or user interactive text, this structure can effectively handle it, suitable for various content forms in live broadcast, and can deeply analyze text and audio data to provide a deeper understanding of live content, which helps to identify complex scenarios and content.

[0134] Figure 6 FIG. 2 shows a schematic diagram of a structure of an example of a CNN module in a target classification model according to an embodiment of the present invention. Figure 6 As shown, the CNN module 600 adopts a tree network, which includes multiple groups of cascaded tree structure units (611, 612...61n). Figure 7 Shown according to Figure 6 The structural diagram of an example of the tree structure unit in FIG. Through the structural design of the CNN module, the target classification model is supported to simultaneously realize the recognition of taboo videos of multiple types (i.e., pornographic videos and horror videos).

[0135] like Figure 7 As shown, each group of tree structure units includes a first convolutional layer unit 701, a second convolutional layer unit 702 and an information sharing network unit 703, wherein the first convolutional layer unit 701 and the second convolutional layer unit 702 are single-task network models respectively. Here, the first convolutional layer unit 701 is used to process the pornographic video image recognition task, and the second convolutional layer unit 702 is used to process the horror video image recognition task. The information sharing network unit 703 connects the first convolutional layer unit 701 and the second convolutional layer unit 702.

[0136] More specifically, the first convolutional layer unit 701 and the second convolutional layer unit 702 are respectively used to determine the first convolutional feature and the second convolutional feature corresponding to the target image node. The information sharing network unit 703 is used to fuse the first convolutional feature and the second convolutional feature to determine the corresponding fused feature, and is also used to perform the following operations: when it is determined that the current target recognition task is a pornographic video image recognition task, the fused feature is input to the first convolutional layer unit in the next cascaded tree structure unit, and when it is determined that the current target recognition task is a horror video image recognition task, the fused feature is input to the second convolutional layer unit in the next cascaded tree structure unit. More preferably, in some settings, when it is detected that the recognition processing of one type of image recognition task (e.g., pornographic video task) is completed, the target classification model will automatically switch to continue the recognition processing of another type of image recognition task (e.g., horror video task).

[0137] Combination Figure 7 In the example, it is described that the current target recognition task is a horror video task. At this time, the feature fusion in the first convolution layer unit 701 is input to the second convolution layer unit 702 through the information sharing network unit 703 to improve the recognition result of the horror video task.

[0138] It should be noted that the video recognition tasks here have a common focus object, that is, the focus object of pornographic video images and horror video images is "human body". The tasks are similar, which can achieve the goal of positive auxiliary learning and effectively solve the problem of low sample size in a certain task.

[0139] More specifically, the specific structure of CNN module 600 is:

[0140]

[0141]

[0142]

[0143] When TASK(I) = "yellow", and

[0144] When TASK(I) = "thriller", and

[0145] In the above formula, I vec Represents the input image features corresponding to the target image node, represents the first feature processing result of the first convolutional layer unit in the kth group of tree structure units, represents the second feature processing result of the second convolutional layer unit in the kth group of tree structure units, and Represent the convolution operations of the first convolutional layer unit and the second convolutional layer unit, respectively, M (k) represents the fusion feature of the first feature processing result and the second feature processing result, α and β represent weighting coefficients; TASK(I) represents the image recognition task type; and They respectively represent the feature processing results of the first convolutional layer unit and the second convolutional layer unit in the k+1th group of tree structure units; "yellow" represents the yellow video task, and "thriller" represents the thriller video task.

[0146] In the structural design of the above-mentioned CNN module of the embodiment of the present invention, since the first convolutional layer unit focuses on pornographic videos and the second convolutional layer unit focuses on horror videos, the module can extract more professional and accurate features for these different types of video content. In addition, the CNN module can dynamically adjust the processing flow according to the type of recognition task. For example, after recognizing a certain type of task, it automatically switches to optimize the recognition effect of another type of task, thereby improving the task adaptability. In addition, by weighted fusion of different convolutional features, the module can comprehensively consider information from different perspectives and enhance the accuracy of recognition.

[0147] Figure 8 A schematic structural diagram of an example of an integrated output module according to an embodiment of the present invention is shown.

[0148] like Figure 8 As shown, the integrated output module 800 adopts a deep separable convolutional network based on an attention mechanism, which includes a cascaded input feature preprocessing layer 810, an attention layer 820, a deep separable convolutional layer 830 and a classification decision layer 840.

[0149] The structure of the input feature preprocessing layer 810 is:

[0150] O′ CNN =Preprocess( CNN ) Formula (16)

[0151] O′ RNN =Preprocess( RNN ) Formula (17)

[0152] The structure of attention layer 820 is:

[0153] O att_CNN =Attention(O′ CNN ) Formula (18)

[0154] Oatt_RNN =Attention(O′ RNN ) Formula (19)

[0155] The structure of the depthwise separable convolutional layer 830 is:

[0156] O combined = SepConv(Concat( att_CNN ,O att_RNN )) Formula (20)

[0157] The structure of the classification decision layer 840 is:

[0158] Y = softmax(FC(O combined )) Formula (21)

[0159] In the formula, O CNN Represents the output result of the CNN module; Preprocess(·) represents the preprocessing function, Attention(·) represents the attention mechanism function; SepConv(·) represents the depthwise separable convolution operation; FC(·) represents the fully connected layer processing, and softmax(·) represents the softmax activation function.

[0160] Through the embodiment of the present invention, a deep separable convolutional network based on the attention mechanism is used as an integrated output module, which has important real-time processing value in the real-time live video content monitoring and analysis scenario. By applying deep separable convolution, the features from CNN (image) and RNN (text and audio) can be effectively fused while maintaining computational efficiency, thereby achieving efficient multimodal data fusion for a large number of real-time data streams. The attention layer can enhance the model's focus on key information, reduce the interference of irrelevant features, and enable the model to more accurately identify important elements in the live content, such as specific behaviors or events. In the classification decision layer, the use of fused and weighted features for classification can improve the judgment accuracy of the model in complex scenarios.

[0161] Therefore, due to the high computational efficiency of deep separable convolution, the model can quickly respond to and process real-time live broadcast data, adapt to the dynamic changes of live broadcast content, and can demonstrate strong real-time processing capabilities, quickly give the compliance judgment results of live broadcast content, and avoid the rapid spread of risky live broadcast content. In addition, it allows for adaptation to different types of live broadcast content, whether it is image-based live broadcast, text comments or audio information, it can be effectively processed and analyzed, meeting the audit needs of the increasingly diverse types of live broadcast business types.

[0162] The multimedia content management and optimization system based on target recognition provided by the present invention is described below. The multimedia content management and optimization system based on target recognition described below and the multimedia content management and optimization method based on target recognition described above can be referred to each other.

[0163] Fig. 9 A structural block diagram of an example of a multimedia content management and optimization system based on target recognition according to an embodiment of the present invention is shown.

[0164] like Fig. 9 As shown, the multimedia content management and optimization system 900 based on target recognition includes a video segment extraction unit 910, a multimodal content determination unit 920, a graph structure construction unit 930, a graph structure update unit 940 and a target recognition unit 950.

[0165] The video segment extraction unit 910 is configured to extract a plurality of video segment data from the target video to be managed and processed, and the time length corresponding to each of the video segment data conforms to a preset time unit.

[0166] The multimodal content determination unit 920 is configured to determine, for each of the video clip data, the multimodal content information corresponding to the video clip data, wherein the multimodal content information package identifies the video frame image, the audio sequence corresponding to the audio clip, and the text sequence corresponding to the UGC text set; the identified video frame image is selected from the video frame image set corresponding to the video clip data.

[0167] The graph structure construction unit 930 is configured to construct initial graph structure data according to each of the multimodal content information; the initial graph structure data includes multiple edges and nodes, each node is defined by identifying a video frame image, an audio sequence or a text sequence, and each edge is used to connect each node corresponding to the same video time.

[0168] The graph structure updating unit 940 is configured to update the initial graph structure data based on the graph attention network to obtain corresponding target graph structure data.

[0169] The target identification unit 950 is configured to input the target graph structure data into a target classification model to determine whether the target video is a taboo video, and the target classification model adopts an integrated model; the target classification model includes a CNN module, an RNN module and an integrated output module, the CNN module is used to process the target image nodes in the target graph structure data to obtain a first intermediate result, the RNN module is used to process the target text nodes and target audio nodes in the target graph structure data to obtain a second intermediate result, and the integrated output module is used to determine the target classification result for the taboo video based on the first intermediate result and the second intermediate result.

[0170] Fig.10 is a schematic diagram of the hardware structure of an electronic device for executing a multimedia content management and optimization method based on target recognition provided by another embodiment of the present invention, such as Fig.10 As shown, the device includes:

[0171] One or more processors 1010 and memory 1020, Fig.10 A processor 1010 is taken as an example.

[0172] The device for executing the multimedia content management optimization method based on target recognition may further include: an input device 1030 and an output device 1040 .

[0173] The processor 1010, the memory 1020, the input device 1030 and the output device 1040 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0174] The memory 1020, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the multimedia content management optimization method based on target recognition in the embodiment of the present invention. The processor 1010 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 1020, that is, the multimedia content management optimization method based on target recognition in the above method embodiment is implemented.

[0175] The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1020 may optionally include a memory remotely arranged relative to the processor 1010, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0176] The input device 1030 may receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 1040 may include a display device such as a display screen.

[0177] The one or more modules are stored in the memory 1020, and when executed by the one or more processors 1010, the multimedia content management and optimization method based on target recognition in any of the above method embodiments is executed.

[0178] The above product can execute the multimedia content management optimization method based on target recognition provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0179] The electronic devices of the embodiments of the present invention exist in various forms, including but not limited to:

[0180] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0181] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

[0182] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0183] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

[0184] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0186] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multimedia content management and control optimization method based on target recognition, comprising: Extracting a plurality of video segment data from the target video to be controlled and processed, wherein the time length corresponding to each of the video segment data conforms to a preset time unit; For each of the video segment data, determine the multimodal content information corresponding to the video segment data, wherein the multimodal content information includes an identified video frame image, an audio sequence corresponding to the audio segment, and a text sequence corresponding to the UGC text set; the identified video frame image is selected from the video frame image set corresponding to the video segment data; Constructing initial graph structure data according to each of the multimodal content information; the initial graph structure data includes a plurality of edges and nodes, each node is defined by identifying a video frame image, an audio sequence or a text sequence, and each edge is used to connect nodes corresponding to the same video time; Updating the initial graph structure data based on the graph attention network to obtain corresponding target graph structure data; The target graph structure data is input into a target classification model to determine whether the target video is a taboo video, and the target classification model adopts an integrated model; the target classification model comprises a CNN module, an RNN module and an integrated output module, the CNN module is used to process the target image node in the target graph structure data to obtain a first intermediate result, the RNN module is used to process the target text node and the target audio node in the target graph structure data to obtain a second intermediate result, and the integrated output module is used to determine the target classification result for the taboo video according to the first intermediate result and the second intermediate result; The process of determining the identified video frame image includes: For each video frame image in the video frame image set, calculating a change amplitude of the video frame image in image texture relative to a previous historical video frame image, and determining the video frame image whose corresponding change amplitude exceeds a preset threshold as a key video frame image; For each of the key video frame images, calculating the gradient amplitude of the key video frame image in image brightness to determine the sum of edge intensities corresponding to the key video frame image; Determining the identification video frame image according to the key video frame image having the corresponding maximum edge strength sum among the key video frame images; The step of calculating the gradient amplitude of the key video frame image in image brightness for each key video frame image to determine the sum of edge intensities corresponding to the key video frame image includes: Calculate the Sobel edge detection operator corresponding to each pixel point (x, y) in the key video frame image I (x, y): In the formula, G x and G y They represent the horizontal Sobel operator and the vertical Sobel operator respectively, and * represents the convolution operation; Calculate the gradient amplitude corresponding to each pixel in the key video frame image: The gradient amplitude M(x, y) corresponding to each pixel point in the key video frame image is summed to obtain the sum of edge strengths corresponding to the key video frame image: Wherein, Q represents the sum of edge intensities corresponding to the key video frame image, which is used to evaluate the overall clarity of the image; The step of constructing initial graph structure data according to each of the multimodal content information includes: Compressing the text sequences in each of the multimodal content information to generate corresponding compressed text sequences to update each of the multimodal content information; Constructing initial graph structure data according to each updated multimodal content information; Among them, the compression for text sequences includes: For each word t in the text sequence T i , and obtain its embedding vector vec(t i ), and then apply a K-means algorithm to cluster the embedding vectors to identify keywords: vec(t i )=BERT(t i ) C=K-means({vec(t1),vec(t2),…,vec(t n )}) In the formula, BERT(t i ) indicates the word t i BERT embedding vector, C represents the keyword set obtained by clustering; Input the text sequence T and the keyword set C into the Transformer model to generate the corresponding summary sequence as the corresponding compressed text sequence; S = Transformer (T, C) Where S represents the generated summary sequence.

2. The method according to claim 1, wherein: The RNN module is used to process the summary sequence S and the audio sequence A. The structure of the RNN module is: o si =LSTM text (emb(s i )) The text ={o s1 ,o s2 ,...,o sn } the ai =GRU audio (the i ) The audio ={o a1 ,o a2 ,…,o am } A RNN =Concat(O text ,A audio ) Where S = {s1, s2, …, s n }, A={a1,a2,…,a n }; a i represents the i-th feature vector in the audio sequence A, s i represents the i-th feature vector in the summary sequence S; emb(s i ) indicates word s i The embedding vector of text represents the text output sequence processed by LSTM, O audio Represents the audio output sequence processed by GRU, LSTM text Represents the LSTM network and GRU that processes the summary sequence audio represents the GRU network for processing audio sequences; Concat(·) represents the feature concatenation operation, O RNN Represents the output result of the RNN module.

3. The method according to claim 2, wherein: The taboo videos include pornographic videos and / or horror videos.

4. The method according to claim 3, wherein: The CNN module in the target classification model adopts a tree network, which includes multiple groups of cascaded tree structure units, each group of the tree structure units includes a first convolutional layer unit, a second convolutional layer unit and an information sharing network unit, and the first convolutional layer unit and the second convolutional layer unit are single-task network models respectively; the first convolutional layer unit is used to process the pornographic video image recognition task, and the second convolutional layer unit is used to process the horror video image recognition task; the information sharing network unit connects the first convolutional layer unit and the second convolutional layer unit; The first convolutional layer unit and the second convolutional layer unit are used to determine a first convolutional feature and a second convolutional feature corresponding to the target image node, respectively; The information sharing network unit is used to fuse the first convolution feature and the second convolution feature to determine a corresponding fused feature, and is also used to perform the following operations: When it is determined that the current target recognition task is a pornographic video image recognition task, the fusion feature is input into the first convolutional layer unit in the next tree structure unit of the cascade; When it is determined that the current target recognition task is a horror video image recognition task, the fused feature is input into the second convolutional layer unit in the next tree structure unit of the cascade.

5. The method according to claim 4, wherein: The specific structure of the CNN module is: When TASK(I) = "yellow", and When TASK(I) = "thriller", and In the formula, I vec Represents the input image feature corresponding to the target image node, represents the first feature processing result of the first convolutional layer unit in the kth group of tree structure units, represents the second feature processing result of the second convolutional layer unit in the kth group of tree structure units, and Represent the convolution operations of the first convolutional layer unit and the second convolutional layer unit respectively, < (k) represents the fusion feature of the first feature processing result and the second feature processing result, α and β represent weighting coefficients; TASK(I) represents the image recognition task type; and They respectively represent the feature processing results of the first convolutional layer unit and the second convolutional layer unit in the k+1th group of tree structure units.

6. The method according to claim 5, wherein: The integrated output module adopts a deep separable convolutional network based on an attention mechanism, which includes an input feature preprocessing layer, an attention layer, a deep separable convolutional layer, and a classification decision layer; The structure of the input feature preprocessing layer is: O′ CNN =Preprocess(O CNN ) O′ RNN =Preprocess(O RNN ) The structure of the attention layer is: O att_CNN =Attention(O′ CNN ) O att_RNN =Attention(O′ RNN ) The structure of the depth-wise separable convolutional layer is: O combined =SepConv(Concat(O att_CNN ,O att_RNN )) The structure of the classification decision layer is: Y=softmax(FC(O combined )) In the formula, O CNN Represents the output result of the CNN module; Preprocess(·) represents the preprocessing function, Attention(·) represents the attention mechanism function; SepConv(·) represents the depthwise separable convolution operation; FC(·) represents the fully connected layer processing, and softmax(·) represents the softmax activation function.

7. A multimedia content management and control optimization system based on target recognition, characterized in that: The system is used to implement the multimedia content management and control optimization method based on target recognition as described in any one of claims 1 to 6; the system includes: A video segment extraction unit is configured to extract a plurality of video segment data from the target video to be managed and processed, wherein the time length corresponding to each of the video segment data conforms to a preset time unit; a multimodal content determination unit configured to determine, for each of the video segment data, multimodal content information corresponding to the video segment data, wherein the multimodal content information includes an identified video frame image, an audio sequence corresponding to the audio segment, and a text sequence corresponding to the UGC text set; the identified video frame image is selected from the video frame image set corresponding to the video segment data; A graph structure construction unit is configured to construct initial graph structure data according to each of the multimodal content information; the initial graph structure data includes a plurality of edges and nodes, each node is defined by identifying a video frame image, an audio sequence or a text sequence, and each edge is used to connect nodes corresponding to the same video time; A graph structure updating unit, configured to update the initial graph structure data based on the graph attention network to obtain corresponding target graph structure data; A target identification unit is configured to input the target graph structure data into a target classification model to determine whether the target video is a taboo video, and the target classification model adopts an integrated model; The target classification model includes a CNN module, an RNN module and an integrated output module. The CNN module is used to process the target image nodes in the target graph structure data to obtain a first intermediate result. The RNN module is used to process the target text nodes and target audio nodes in the target graph structure data to obtain a second intermediate result. The integrated output module is used to determine the target classification result for the taboo video based on the first intermediate result and the second intermediate result.