Real-time video stream analysis acceleration method, device and equipment
A technology of real-time video streaming and algorithm analysis, applied in closed-circuit television systems, character and pattern recognition, instruments, etc., can solve the problems of difficult number of concurrent channels, low decoding performance, high cost, etc., achieve minimum system delay and improve system performance Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] see figure 1 with figure 2 , the present embodiment provides a real-time video stream analysis acceleration method, comprising the following steps:
[0044]1) The algorithm analysis module sets two identical GPU caches for each GPU, respectively labeled No. 1 cache and No. 2 cache. Each cache can store up to M channels of decoded data, and has a flag inside, and A decoding channel value k, used to save the accumulated decoding channels. When the algorithm module is started, the flags of the two GPU caches are initialized to false; at the same time, it includes a data receiving interface, and each channel of decoded data can transfer the decoded data L to the algorithm analysis module by calling this interface.
[0045] A. When the double buffer flag is false, it means that the buffer is writable, and the multi-channel decoding data can be saved in the writable buffer;
[0046] B. When the double-buffer flag is true, it means that the cache is readable, and the saved...
Embodiment 2
[0067] This embodiment provides a real-time video stream analysis acceleration device, including a decoding data receiving module, a decoding module, a writing module, a buffer writing monitoring module, and a buffer reading monitoring module;
[0068] The decoded data accepting module is used to accept each channel of decoded data;
[0069] The writing module is used to check the corresponding cache flags to determine whether there is a writable cache, and when at least one cache flag is false, it means that there is a writable cache, and then randomly selects a flag to be false , store the decoded data of this path in the writable cache, and add 1 to the value k of the decoded path of the cache; otherwise, directly discard the decoded data of this path;
[0070] The cache write monitoring module is used to check the status of several caches every specified time. When the value k of the cached decoding path is greater than or equal to the set value K, the cache is considered ...
Embodiment 3
[0073] This embodiment provides a real-time video stream analysis acceleration device, including a memory for storing programs;
[0074] And a processor, the processor is configured to implement the steps of the above-mentioned real-time video stream analysis acceleration method when executing the program.
[0075] The present invention uses double buffering for real-time video (the frame rate is sent online and fixed, generally 25-30fps), emphasizing that it can support as many channels as possible (generally 10-30) under the premise of satisfying real-time performance . However, if there are too many paths, the data transmission and delay between the CPU and the GPU and between the GPU will become a big bottleneck. Therefore, double-buffer batch processing is designed to alleviate it.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com