Multi-modal live semantic and event joint detection method, system, device and medium
By using a multimodal live streaming semantic and event joint detection method, adaptive slicing and multimodal fusion of live video content are achieved, solving the problems of incomplete single-modal information and inaccurate event detection, and improving the content understanding and event detection effect of live video.
Patent Information
- Application Number
- CN202611108868.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-24
- Publication Date
- 2026-11-24
AI Technical Summary
Existing live video semantic understanding technologies suffer from incomplete single-modal information, misaligned semantic boundaries, and inaccurate event detection, which limits the depth and accuracy of understanding live video content.
A multimodal live streaming semantic and event joint detection method is adopted. Through adaptive slicing, multimodal fusion, continuous state tracking, and event-description linkage, a comprehensive analysis of visual, audio, and text channels is achieved to generate a unified semantic description. Furthermore, the description coherence and event boundary determination accuracy are improved through a dynamic semantic state pool and an event detection module.
It improves the completeness and coherence of understanding live video content, ensures the complementarity of multimodal information, dynamically manages semantic states, and enhances the accuracy of event detection and narrative coherence.
Smart Images

Figure CN123161122A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of multimodal information fusion and semantic analysis technology, and in particular to a method, system, device and medium for joint detection of multimodal live streaming semantics and events. Background Technology
[0002] Real-time video streams contain rich multimodal information, including visual, audio, and textual data. With the booming development of the live streaming industry, real-time video streams have become a major carrier of information dissemination. However, current live video semantic understanding technology still faces many challenges: (1) Single modality is insufficient to fully depict live content. Existing technologies mostly use a fixed-time sliding window to slice live video, generating content descriptions only for a single visual modality. They do not fully utilize complementary information from multiple modalities such as visual, audio, and bullet screen text, resulting in poor information completeness in understanding live video content. At the same time, the quality of multimodal information in live scenarios is unevenly distributed throughout the live broadcast period: some segments have no change in the main visual content but rich audio content, while some segments have little change in visual and audio but dense bullet screen text. Single modal descriptions are insufficient to cover such complex scenarios.
[0003] (2) Fixed window slicing leads to semantic boundary misalignment and lack of historical state tracking. Existing technologies use fixed time periods for slicing, and the descriptions for each time period are generated independently. There is a lack of a state association mechanism with semantic descriptions, making it impossible to use semantic context to assist in disambiguation, and it is also impossible to continuously track and accumulate historical description information, resulting in long-term descriptions being disconnected, semantic expansion, and serious redundancy. In addition, fixed windows cannot adapt to the drastic fluctuations in modal quality in live streaming scenarios, and the slice boundaries are seriously misaligned with semantic boundaries.
[0004] (3) The independence of event detection and semantic description leads to inaccurate boundary determination. In existing technologies, most live event detection relies on video slice description generation, and event boundary determination is based solely on changes in text description, without comprehensively considering multi-dimensional signals such as entity changes, scene changes, emotional abrupt changes, keyword emergence, and audio events. When live content is rich and varied, fragmented descriptive information is difficult to support accurate event boundary determination, resulting in incoherent semantic description narrative.
[0005] In summary, these technical bottlenecks severely restrict the depth and accuracy of semantic understanding in live video. Summary of the Invention
[0006] To address the aforementioned issues, this invention proposes a multimodal live streaming semantic and event joint detection method, system, device, and medium, which can achieve adaptive slicing, multimodal fusion, continuous state tracking, and event and description linkage.
[0007] The technical solution adopted in this invention is as follows: A multimodal live streaming semantic and event joint detection method includes: Receive live video stream and decode it into a frame sequence. Trigger slice boundaries based on inter-frame visual differences or cumulative duration and align them to generate slices. Visual, audio, and text channel analyses are performed on each slice to obtain multimodal features, and a unified semantic description of the slice is generated through a language model; The unified semantic description, extracted entities, and scenarios are stored in the state pool, and the frequency of occurrence of entities in the state pool is updated according to entity similarity. A unified semantic description is added to the semantic description queue of the state pool. Compression updates are triggered based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and semantic break signals are detected. The system monitors changes in scene, entity, and semantic description in the state pool to generate event start nodes, determines the event end boundary based on preset break words and the semantic break signals, and calculates the event importance.
[0008] Further, the step of receiving the live video stream and decoding it into a frame sequence, triggering slice boundaries based on inter-frame visual differences or cumulative duration, and aligning them to generate slices includes: S101. Video Stream Access and Decoding: Receives real-time video stream data from a live broadcast source and parses it into a video frame sequence and an audio stream using a decoder; the video frame sequence is... ,in Let t be the t-th video frame; S102. Adaptive slice boundary determination: If visual difference... If the threshold is exceeded and the semantic integrity constraint is satisfied, then the slice boundary is triggered; if the cumulative duration reaches... Then, regardless of semantic integrity, the slice boundary will be forcibly triggered; among them, visual dissimilarity CLIP is a visual language model used to extract semantic embedding vectors from video frames. ( ) indicates similarity calculation; S103. Slice Buffering and Time Alignment: Store slices in a buffer, ensuring time alignment of video, audio, and bullet screen data, and generate a slice sequence. Each slice It includes video, audio, bullet comments, and timestamps.
[0009] Furthermore, the step of performing visual, audio, and text channel analysis on each slice to obtain multimodal features, and generating a unified semantic description of the slice through a language model, includes: S201. Visual Semantic Analysis: Performs keyframe extraction, person detection, and visual description generation on sliced video frames, outputting an entity set. Scene type and visual description ; S202. Audio Semantic Analysis: Perform speech-to-text conversion, audio event detection, and speech sentiment analysis on the sliced audio stream, and output a speech-to-text sequence. Audio event type collection and emotional intensity ; S203. Text Semantic Analysis: Extract keywords from the filtered bullet screen text and output a keyword set. and bullet screen density ; S204. Cross-modal fusion of slice semantic description generation: Transforming entity sets Scene type Visual description Speech-to-text sequence Emotional intensity and keyword set The organization is a structured Prompt, with unified semantic descriptions of slices generated by a large language model. .
[0010] Furthermore, the step of storing the unified semantic description, extracted entities, and scenarios into a state pool, and updating the frequency of entity occurrences in the state pool based on entity similarity, includes: S301. State pool initialization: The state pool includes an entity state table, a scene state table, and a semantic description queue. The entity state table includes entity features, cumulative occurrence count, and timestamp. The scene state table includes scene type and start and end timestamps. The semantic description queue includes historical slice descriptions and timestamps. S302. Entity State Update: Calculate the current slice entity set. The cosine similarity between each entity in the pool and the entities in the state pool is calculated. If the cosine similarity is greater than the threshold, the entity is identified as the same entity and the timestamp and frequency are updated. Otherwise, the entity is added to the state pool as a new entity. S303. Description of queue appending and scene state update: This describes the unified semantic description of the current slice. Add to the end of the semantic description queue, and record the current scene type in the scene state table; S304. State Pool Management: For the semantic description queue, when the storage window is exceeded, description fragments related to low-importance events are eliminated in a first-in-first-out manner based on time; for the entity state table, a recent occurrence priority strategy is adopted, and entities that have not appeared for a long time are eliminated when the number of entities exceeds the upper limit; for the scene state table, only the current scene and the most recent historical scene are retained for scene change determination.
[0011] Furthermore, the step of appending the unified semantic description to the semantic description queue of the state pool, and triggering compression updates based on the semantic similarity or cumulative duration between the current description and historical descriptions, includes: S401. Semantic Embedding Similarity Calculation: Calculate the unified semantic description of the current slice. semantic embedding cosine similarity with the most recent description in the semantic description queue ; S402. Semantic Merging and Deduplication: If similarity... If the similarity exceeds the merging threshold, it is judged as semantic duplication, and the large language model generates a fused description based on historical descriptions to replace the current entry in the semantic description queue; if the similarity is... If the similarity does not exceed the merging threshold, the original description is retained; the similarity is recalculated after merging. ; S403. Incremental Update Trigger Judgment: When a slice description is appended to the queue, if the semantic content changes significantly, i.e., the similarity... The time window is lower than the trigger threshold, or the time window is triggered by sliding, meaning the cumulative time since the last incremental update has reached a certain threshold. This will trigger the subsequent compression process.
[0012] Furthermore, the step of triggering compression updates based on the semantic similarity or cumulative duration between the current description and historical descriptions, and detecting semantic break signals, also includes: S404. Semantic breakage detection: If continuous Similarity of slices If the value remains below the breakage threshold, it is determined to be a semantic breakage, and a semantic breakage signal is output. S405. Event Importance Driven Compression: For all description fragments under different events in the semantic description queue, differential compression is performed according to the event importance score. Fragments of low-importance events are compressed in two layers of recursion, and fragments of high-importance events are compressed in one layer. After compression, each event segment is integrated into a coherent global semantic description in chronological order. S406. Description Quality Control: If the global description length exceeds the set threshold, the compression process is triggered again. Low-importance event-related fragments are deleted first, and the original details are retained in the slice-level description queue to support backtracking.
[0013] Furthermore, the monitoring of scene, entity, and semantic description changes in the state pool generates event start nodes, determines event end boundaries based on preset break words and the semantic break signals, and calculates event importance, including: S501. Semantic Change Monitoring: Comprehensive monitoring of change signals in the semantic pool, including scene change signals, entity change signals, and semantic description change signals; S502. Event generation condition determination: Based on the semantic change monitoring results, an event node is generated if any signal change is met, the event name is automatically generated, all slices within the corresponding time period are continuously associated with the current event, and the event start timestamp is recorded. S503. Event Boundary Determination: A dual-channel complementary semantic break detection method is used to determine whether the current event has ended; the explicit channel maintains a semantic break vocabulary. When a word from the vocabulary appears in the speech-to-text conversion, an explicit break signal is triggered; the implicit channel is the implicit break signal output by the semantic break detection process; if either the explicit or implicit break signal is satisfied, the event is determined to have ended and the end timestamp is recorded. S504. Event Importance Score: While an event is in progress, multi-dimensional signals from related slices of the event are continuously received, and the event importance score is updated in real time; the input signals include entity sets. Quantity, emotional intensity Bullet screen density Semantic richness is achieved by normalizing four signal variables, dynamically adjusting their weights based on event type, and calculating a weighted average as the event importance score. When a new slice is associated with the current event, the score is adjusted based on the signal of that slice. The score is then output to the semantic breakage detection process to dynamically adjust the compression level. S505. Event Sequence Tracking: Maintain a global event timeline. When an event boundary is determined and the event is closed, the current event is moved into the global event timeline, and the start and end timestamps and descriptions of the event are recorded.
[0014] A multimodal live streaming semantic and event joint detection system includes: The adaptive live stream time slicing module is configured to receive the live video stream and decode it into a frame sequence, triggering slice boundaries and aligning them to generate slices based on the visual differences between frames or the cumulative duration. The multimodal semantic fusion analysis module is configured to perform visual, audio, and text channel analysis on each slice to obtain multimodal features, and generate a unified semantic description of the slice through a language model; The dynamic semantic state pool construction and maintenance module is configured to store unified semantic descriptions, extracted entities and scenarios into the state pool, and update the frequency of entity occurrence in the state pool based on entity similarity. The global semantic description incremental update module is configured to append unified semantic descriptions to the semantic description queue of the state pool, trigger compression updates based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and detect semantic break signals. The event detection and tracking module is configured to monitor changes in scene, entity, and semantic description in the state pool to generate event start nodes, determine the event end boundary based on preset break words and the semantic break signals, and calculate the event importance.
[0015] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the multimodal live semantic and event joint detection method.
[0016] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the multimodal live streaming semantic and event joint detection method.
[0017] The beneficial effects of this invention are as follows: 1. Multimodal information complementarity and fusion enhances the completeness of content understanding. This invention integrates entity, scene, semantic, keyword, and sentiment information from various modalities through visual, audio, and textual analysis. When the quality of a certain modality declines, its weight is automatically reduced, and the decision weight is transferred to a reliable modality, effectively compensating for the incompleteness of information from a single modality and improving the completeness of understanding live video content.
[0018] 2. Dynamic semantic state maintenance enables coherent long-term temporal descriptions. This invention constructs a dynamic semantic state pool, employs adaptive triggering incremental updates driven by semantic embedding similarity, and designs a differentiated capacity management strategy. This effectively suppresses description expansion and redundancy, avoids the accumulation of semantic noise caused by the infinite growth of live streaming duration, and ensures the coherence and integrity of semantic descriptions.
[0019] 3. Multi-signal integrated judgment and two-way linkage improve the accuracy of event detection. This invention integrates scene change, entity change, and semantic description change signals to determine event boundaries, avoiding boundary misjudgments caused by reliance on single video slice descriptions. Through a two-way linkage closed loop of event detection and incremental semantic description, it improves the accuracy of event boundary determination and the narrative coherence of event description. Attached Figure Description
[0020] Figure 1 This is a flowchart of the incremental semantic description evolution and event node generation in Embodiment 1 of the present invention.
[0021] Figure 2 This is a diagram of the multimodal live streaming semantic and event joint detection system architecture of Embodiment 2 of the present invention. Detailed Implementation
[0022] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments are now described. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention; that is, the described embodiments are only a part of the embodiments of the invention, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0023] Example 1 This embodiment provides a multimodal live streaming semantic and event joint detection method, including: Receive live video stream and decode it into a frame sequence. Trigger slice boundaries based on inter-frame visual differences or cumulative duration and align them to generate slices. Visual, audio, and text channel analyses are performed on each slice to obtain multimodal features, and a unified semantic description of the slice is generated through a language model; The unified semantic description, extracted entities, and scenarios are stored in the state pool, and the frequency of occurrence of entities in the state pool is updated according to entity similarity. A unified semantic description is added to the semantic description queue of the state pool. Compression updates are triggered based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and semantic break signals are detected. The system monitors changes in scene, entity, and semantic description in the state pool to generate event start nodes, determines the event end boundary based on preset break words and the semantic break signals, and calculates the event importance.
[0024] Specifically, the method of this embodiment can be implemented by the following steps: I. Adaptive Live Stream Time Slicing An adaptive boundary determination strategy using multimodal cross-validation is employed for time slicing.
[0025] Step S101: Video Stream Access and Decoding It receives real-time video stream data from a live broadcast source and parses it into a video frame sequence and an audio stream using a decoder. Let the video frame sequence be... .
[0026] Step S102: Adaptive slice boundary determination A vision-driven adaptive slicing strategy is adopted, with triggering conditions divided into the following two scenarios: Scenario 1, when the visual difference exceeds the threshold and the semantic integrity constraint is met (ASR judgment sentence has terminated), the slice boundary is triggered; Scenario 2, when the cumulative duration reaches... (For example, 30 seconds), at this point, the slice boundary is forcibly triggered regardless of semantic integrity. Among these, visual dissimilarity... CLIP is a semantic embedding vector used by visual language models to extract video frames.
[0027] Step S103: Slice Buffer and Time Alignment Store the slices in a buffer, ensuring time alignment of video, audio, and bullet comment data, and generate a slice sequence. Each slice It includes video, audio, bullet comments, and timestamps.
[0028] II. Multimodal Semantic Fusion Analysis Method Each video slice undergoes independent analysis across three channels: visual, audio, and text. The LLM then dynamically generates a unified semantic representation based on the semantic integrity of each channel.
[0029] Step S201: Visual semantic analysis Based on YOLOv11 and open-source multimodal large models, keyframe extraction, person detection, and visual description generation are performed on sliced video frames, outputting an entity set. Scene type and visual description .
[0030] Step S202: Audio semantic analysis Perform ASR speech-to-text conversion, audio event detection (applause, laughter, silence, etc.), and speech sentiment analysis on the sliced audio stream, and output a speech-to-text sequence. Audio event type collection Emotional intensity .
[0031] Step S203: Text Semantic Analysis After filtering out spam comments, extract keywords and output a keyword set. Bullet screen density (Number of bullet comments appearing per unit of time).
[0032] Step S204: Generation of cross-modal fusion slice semantic description entity collection Scene type Visual description Speech-to-text sequence Emotional intensity Keyword set The organization is structured into a Prompt, providing information such as entity context, visual semantics, dialogue semantics, and emotional atmosphere. A unified semantic description of the slices is generated by a large language model. Three-channel independent analysis results and All data is stored in the database for use in subsequent steps.
[0033] III. Construction and Maintenance of Dynamic Semantic State Pool The dynamic semantic state pool is the common foundation for incremental semantic description and event detection, and a differentiated capacity management strategy is adopted to prevent the state pool from expanding indefinitely.
[0034] Step S301: Initialize the semantic state pool The state pool contains three types of data tables: entity state table (entity features, cumulative occurrence count and timestamp), scene state table (scene type and start and end timestamps), and semantic description queue (historical slice description and timestamps).
[0035] Step S302: Entity Status Update Calculate the current slice entity set The cosine similarity between each entity in the state pool and the entities in the state pool is calculated. If the similarity is greater than a threshold, the entity is identified as the same entity, and the timestamp and frequency are updated; otherwise, it is added to the state pool as a new entity. The updated entity state table is then passed to step S504 for event importance scoring.
[0036] Step S303: Describe queue appending and scene state updating The unified semantic description of the current slice Add to the tail of the semantic description queue. The scene state table records the current scene type for use by step S501 to monitor scene changes.
[0037] Step S304: State Pool Management For the semantic description queue, when the storage window is exceeded, description fragments related to low-importance events are evicted first using a time-based FIFO approach, while fragments related to high-importance events are retained first. For the entity status table, a most recently encountered priority strategy is adopted; entities that have not appeared for a long time are evicted when the number of entities exceeds the upper limit (e.g., 50). The scene status table only retains the current scene and the most recent historical scene for scene change determination.
[0038] IV. Incremental Update of Global Semantic Description As live streams continue to be input, new slices are constantly accumulated into the historical queue, and incremental updates and compression are triggered as needed, eventually forming a global semantic description.
[0039] Step S401: Semantic Embedding Similarity Calculation Calculate the unified semantic description of the current slice semantic embedding cosine similarity with the most recent description in the semantic description queue .
[0040] Step S402: Semantic merging and deduplication like If the threshold for merging is exceeded, it is determined to be semantic duplicate, and the large language model generates a fused description based on historical descriptions to replace the current entry in the semantic description queue; if... If the similarity does not exceed the merging threshold, the original description is retained. The similarity is recalculated after merging. .
[0041] Step S403: Incremental update trigger judgment Once the slice description is appended to the queue, the subsequent compression process is triggered if any of the following conditions are met: (1) The semantic content has changed significantly, i.e. (1) Below the trigger threshold; (2) Time window sliding trigger, that is, the cumulative time since the last incremental update reaches the threshold. (e.g., 5 minutes).
[0042] Step S404: Semantic break detection If continuous A slice If the value remains below the breakage threshold, a semantic break is determined, and a semantic break signal is output to the event boundary determination logic in step S503. Semantic break detection is always executed, regardless of the triggering condition in step S403.
[0043] Step S405: Event Importance-Driven Compression For all description fragments under different events in the semantic description queue, differential compression is performed based on the event importance score. Fragments of low-importance events undergo two-level recursive compression, while fragments of high-importance events undergo one-level compression. After compression, all event fragments are integrated into a coherent global semantic description in chronological order.
[0044] Step S406: Describe quality control If the global description length exceeds a set threshold, the compression process is triggered again: fragments related to low-importance events are deleted first. The original details are retained in the slice-level description queue to support backtracking.
[0045] Specifically, such as Figure 1 The diagram illustrates the incremental semantic description evolution and event node generation process in this embodiment.
[0046] V. Event Detection and Tracking Step S501: Monitor semantic changes Comprehensive monitoring of three types of change signals in the dynamic semantic pool: scene change, entity change, and semantic description change (current). (The embedding cosine similarity with the previous one is below the threshold).
[0047] Step S502: Event generation condition determination Based on the monitoring results of step S501, an event node is generated when any signal change is satisfied, and the event name is automatically generated (based on trigger slices from the large language model). (And the change signal type is generated), all slices within this time period are continuously associated with the current event. The event start timestamp is recorded, and the initial importance score is calculated by step S504 based on the slice information.
[0048] Step S503: Event Boundary Determination A dual-channel complementary semantic break detection method is employed to determine whether the current event has ended. The explicit channel maintains a semantic break vocabulary. (Narrative transition words, protagonist switching words, time progression words, etc.) When a word from the vocabulary list appears in the speech-to-text conversion in step S202, an explicit break signal is triggered; the implicit channel is the semantic break signal output in step S403. If either the explicit or implicit break signal is satisfied, the event is determined to have ended and the end timestamp is recorded.
[0049] Step S504: Event Importance Scoring During an event, multi-dimensional signals related to the event's slices are continuously received, and the event importance score is updated in real time. Input signals include: entity set. Quantity, emotional intensity Bullet screen density Semantic richness (based on large language models) The evaluation process involves normalizing four signal variables, dynamically adjusting their weights based on the event type, and calculating a weighted average as the event importance score. When a new slice is associated with the current event, the score is adjusted based on the signal from that slice. The score is then output to step S404 to dynamically adjust the compression level.
[0050] Step S505: Event Timing Tracing Maintain the global event timeline. When step S503 determines the event boundary and triggers event closure, move the current event into the global event timeline and record the event start and end timestamps and descriptions.
[0051] In summary, compared to the technology itself, the multimodal live streaming semantic and event joint detection method of this embodiment has the following characteristics: (1) Break through the limitations of fixed time window and single-modal semantic understanding, perform fusion semantic analysis on multimodal information such as visual, audio and bullet screen, align the slice boundary with the semantic boundary, ensure sufficient information density and clear slice boundary in each slice, and maintain the robustness of description.
[0052] (2) Construct a dynamic semantic state pool to continuously track and differentiate the history of entities, scenarios, and descriptions. Historical information is no longer simply piled up or uniformly eliminated, but dynamically adjusted according to its timeliness and importance. High-value information is retained, and the coherence of semantic description is thus guaranteed.
[0053] (3) Breaking the disconnect between event detection and semantic description, the semantic-level break signals constrain the event boundary judgment logic, and the event importance affects the description compression strategy. Two-way linkage is enhanced to improve the completeness of live description and the accuracy of event detection.
[0054] Example 2 This embodiment is based on embodiment 1: like Figure 2 As shown, this embodiment provides a multimodal live streaming semantic and event joint detection system, including: The adaptive live stream time slicing module is configured to receive the live video stream and decode it into a frame sequence, triggering slice boundaries and aligning them to generate slices based on the visual differences between frames or the cumulative duration. The multimodal semantic fusion analysis module is configured to perform visual, audio, and text channel analysis on each slice to obtain multimodal features, and generate a unified semantic description of the slice through a language model; The dynamic semantic state pool construction and maintenance module is configured to store unified semantic descriptions, extracted entities and scenarios into the state pool, and update the frequency of entity occurrence in the state pool based on entity similarity. The global semantic description incremental update module is configured to append unified semantic descriptions to the semantic description queue of the state pool, trigger compression updates based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and detect semantic break signals. The event detection and tracking module is configured to monitor changes in scene, entity, and semantic description in the state pool to generate event start nodes, determine the event end boundary based on preset break words and the semantic break signals, and calculate the event importance.
[0055] Example 3 This embodiment is based on embodiment 1: This embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement a multimodal live streaming semantic and event joint detection method according to Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form.
[0056] Example 4 This embodiment is based on embodiment 1: This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements a multimodal live streaming semantic and event joint detection method according to Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form. The storage medium includes any entity or device capable of carrying computer program code, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0057] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.
[0058] It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
Claims
1. A multimodal live streaming semantic and event joint detection method, characterized in that, include: Receive live video stream and decode it into a frame sequence. Trigger slice boundaries based on inter-frame visual differences or cumulative duration and align them to generate slices. Visual, audio, and text channel analyses are performed on each slice to obtain multimodal features, and a unified semantic description of the slice is generated through a language model; The unified semantic description, extracted entities, and scenarios are stored in the state pool, and the frequency of occurrence of entities in the state pool is updated according to entity similarity. A unified semantic description is added to the semantic description queue of the state pool. Compression updates are triggered based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and semantic break signals are detected. The system monitors changes in scene, entity, and semantic description in the state pool to generate event start nodes, determines the event end boundary based on preset break words and the semantic break signals, and calculates the event importance.
2. The multimodal live streaming semantic and event joint detection method according to claim 1, characterized in that, The process of receiving and decoding the live video stream into a frame sequence, triggering slice boundaries based on inter-frame visual differences or cumulative duration, and aligning them to generate slices includes: S101. Video Stream Access and Decoding: Receives real-time video stream data from a live broadcast source and parses it into a video frame sequence and an audio stream using a decoder; the video frame sequence is... ,in Let t be the t-th video frame; S102. Adaptive slice boundary determination: If visual difference... If the threshold is exceeded and the semantic integrity constraint is satisfied, then the slice boundary is triggered; if the cumulative duration reaches... Then, regardless of semantic integrity, the slice boundary will be forcibly triggered; among them, visual dissimilarity CLIP is a visual language model used to extract semantic embedding vectors from video frames. ( ) indicates similarity calculation; S103. Slice Buffering and Time Alignment: Store slices in a buffer, ensuring time alignment of video, audio, and bullet screen data, and generate a slice sequence. Each slice It includes video, audio, bullet comments, and timestamps.
3. The multimodal live streaming semantic and event joint detection method according to claim 1, characterized in that, The step of performing visual, audio, and text channel analysis on each slice to obtain multimodal features, and generating a unified semantic description of the slice through a language model, includes: S201. Visual Semantic Analysis: Performs keyframe extraction, person detection, and visual description generation on sliced video frames, outputting an entity set. Scene type and visual description ; S202. Audio Semantic Analysis: Perform speech-to-text conversion, audio event detection, and speech sentiment analysis on the sliced audio stream, and output a speech-to-text sequence. Audio event type collection and emotional intensity ; S203. Text Semantic Analysis: Extract keywords from the filtered bullet screen text and output a keyword set. and bullet screen density ; S204. Cross-modal fusion of slice semantic description generation: Transforming entity sets Scene type Visual description Speech-to-text sequence Emotional intensity and keyword set The organization is a structured Prompt, with unified semantic descriptions of slices generated by a large language model. .
4. The multimodal live streaming semantic and event joint detection method according to claim 1, characterized in that, The step of storing the unified semantic description, extracted entities, and scenarios into a state pool, and updating the frequency of entity occurrences in the state pool based on entity similarity, includes: S301. State pool initialization: The state pool includes an entity state table, a scene state table, and a semantic description queue. The entity state table includes entity features, cumulative occurrence count, and timestamp. The scene state table includes scene type and start and end timestamps. The semantic description queue includes historical slice descriptions and timestamps. S302. Entity State Update: Calculate the current slice entity set. The cosine similarity between each entity in the pool and the entities in the state pool is calculated. If the cosine similarity is greater than the threshold, the entity is identified as the same entity and the timestamp and frequency are updated. Otherwise, the entity is added to the state pool as a new entity. S303. Description of queue appending and scene state update: This describes the unified semantic description of the current slice. Add to the end of the semantic description queue, and record the current scene type in the scene state table; S304. State Pool Management: For the semantic description queue, when the storage window is exceeded, description fragments related to low-importance events are eliminated in a first-in-first-out manner based on time; for the entity state table, a recent occurrence priority strategy is adopted, and entities that have not appeared for a long time are eliminated when the number of entities exceeds the upper limit; for the scene state table, only the current scene and the most recent historical scene are retained for scene change determination.
5. The multimodal live streaming semantic and event joint detection method according to claim 1, characterized in that, The step of appending a unified semantic description to the semantic description queue in the state pool, and triggering compression updates based on the semantic similarity between the current description and historical descriptions or the cumulative duration, includes: S401. Semantic Embedding Similarity Calculation: Calculate the unified semantic description of the current slice. semantic embedding cosine similarity with the most recent description in the semantic description queue ; S402. Semantic Merging and Deduplication: If similarity... If the similarity exceeds the merging threshold, it is judged as semantic duplication, and the large language model generates a fused description based on historical descriptions to replace the current entry in the semantic description queue; if the similarity is... If the similarity does not exceed the merging threshold, the original description is retained; the similarity is recalculated after merging. ; S403. Incremental Update Trigger Judgment: When a slice description is appended to the queue, if the semantic content changes significantly, i.e., the similarity... The time window is lower than the trigger threshold, or the time window is triggered by sliding, meaning the cumulative time since the last incremental update has reached a certain threshold. This will trigger the subsequent compression process.
6. The multimodal live streaming semantic and event joint detection method according to claim 5, characterized in that, The method of triggering compression updates based on the semantic similarity or cumulative duration between the current description and historical descriptions, and detecting semantic break signals, further includes: S404. Semantic breakage detection: If continuous Similarity of slices If the value remains below the breakage threshold, it is determined to be a semantic breakage, and a semantic breakage signal is output. S405. Event Importance Driven Compression: For all description fragments under different events in the semantic description queue, differential compression is performed according to the event importance score. Fragments of low-importance events are compressed in two layers of recursion, and fragments of high-importance events are compressed in one layer. After compression, each event segment is integrated into a coherent global semantic description in chronological order. S406. Description Quality Control: If the global description length exceeds the set threshold, the compression process is triggered again. Low-importance event-related fragments are deleted first, and the original details are retained in the slice-level description queue to support backtracking.
7. The multimodal live streaming semantic and event joint detection method according to claim 1, characterized in that, The monitoring state pool shows changes in scenes, entities, and semantic descriptions to generate event start nodes. Event end boundaries are determined based on preset break words and the semantic break signals, and event importance is calculated, including: S501. Semantic Change Monitoring: Comprehensive monitoring of change signals in the semantic pool, including scene change signals, entity change signals, and semantic description change signals; S502. Event generation condition determination: Based on the semantic change monitoring results, an event node is generated if any signal change is met, the event name is automatically generated, all slices within the corresponding time period are continuously associated with the current event, and the event start timestamp is recorded. S503. Event Boundary Determination: A dual-channel complementary semantic break detection method is used to determine whether the current event has ended; the explicit channel maintains a semantic break vocabulary. When a word from the vocabulary appears in the speech-to-text conversion, an explicit break signal is triggered; the implicit channel is the implicit break signal output by the semantic break detection process; if either the explicit or implicit break signal is satisfied, the event is determined to have ended and the end timestamp is recorded. S504. Event Importance Score: While an event is in progress, multi-dimensional signals from related slices of the event are continuously received, and the event importance score is updated in real time; the input signals include entity sets. Quantity, emotional intensity Bullet screen density Semantic richness is achieved by normalizing four signal variables, dynamically adjusting their weights based on event type, and calculating a weighted average as the event importance score. When a new slice is associated with the current event, the score is adjusted based on the signal of that slice. The score is then output to the semantic breakage detection process to dynamically adjust the compression level. S505. Event Sequence Tracking: Maintain a global event timeline. When an event boundary is determined and the event is closed, the current event is moved into the global event timeline, and the start and end timestamps and descriptions of the event are recorded.
8. A multimodal live streaming semantic and event joint detection system, characterized in that, include: The adaptive live stream time slicing module is configured to receive the live video stream and decode it into a frame sequence, triggering slice boundaries and aligning them to generate slices based on the visual differences between frames or the cumulative duration. The multimodal semantic fusion analysis module is configured to perform visual, audio, and text channel analysis on each slice to obtain multimodal features, and generate a unified semantic description of the slice through a language model; The dynamic semantic state pool construction and maintenance module is configured to store unified semantic descriptions, extracted entities and scenarios into the state pool, and update the frequency of entity occurrence in the state pool based on entity similarity. The global semantic description incremental update module is configured to append unified semantic descriptions to the semantic description queue of the state pool, trigger compression updates based on the semantic similarity between the current description and historical descriptions or the cumulative duration, and detect semantic break signals. The event detection and tracking module is configured to monitor changes in scene, entity, and semantic description in the state pool to generate event start nodes, determine the event end boundary based on preset break words and the semantic break signals, and calculate the event importance.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the multimodal live streaming semantic and event joint detection method according to any one of claims 1-7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the multimodal live streaming semantic and event joint detection method according to any one of claims 1-7.
