CN115190329A - Plug flow optimization method of data sample filtering comparison method for real-time video stream - Google Patents

Plug flow optimization method of data sample filtering comparison method for real-time video stream Download PDF

Info

Publication number
CN115190329A
CN115190329A CN202210748527.7A CN202210748527A CN115190329A CN 115190329 A CN115190329 A CN 115190329A CN 202210748527 A CN202210748527 A CN 202210748527A CN 115190329 A CN115190329 A CN 115190329A
Authority
CN
China
Prior art keywords
video frame
frame data
real
data
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210748527.7A
Other languages
Chinese (zh)
Inventor
张轩铭
周清江
钱伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tpson Technology Co ltd
Original Assignee
Hangzhou Tpson Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tpson Technology Co ltd filed Critical Hangzhou Tpson Technology Co ltd
Priority to CN202210748527.7A priority Critical patent/CN115190329A/en
Publication of CN115190329A publication Critical patent/CN115190329A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Abstract

The invention discloses a plug flow optimization method of a data sample filtering comparison method for real-time video stream, which comprises the following steps of 1: a selected policy for a time period; step 2, selecting video frame data in a time period to capture data samples; and 3, extracting video frame data from the real-time video frame data reported by the equipment according to a preset extraction strategy, comparing the extracted video frame data with the data sample, discarding the reported real-time video frame data if the similarity is greater than a preset value, and otherwise, processing the video frame data according to a normal plug flow process. The invention can realize the purposes of reducing CPU resources and memory resources of the central platform and pushing network resources.

Description

Plug flow optimization method of data sample filtering comparison method for real-time video stream
Technical Field
The invention discloses a video data processing method, and particularly relates to a plug flow optimization method for real-time video stream by a data sample filtering comparison method.
Background
The technology for reporting video data streams in real time by video camera equipment is basically mature, most real-time video data reported by the equipment passes through a central platform, the platform processes video data processing, encoding and decoding and the like, and finally is pushed to a customer service end through a streaming media protocol for playing.
Disclosure of Invention
The invention aims to provide a plug-flow optimization method for a real-time video stream by a data sample filtering comparison method, which reduces the resource consumption condition of the whole system by a still picture filtering mode in a time period from the viewpoints of a CPU (central processing unit), memory resources and network resources.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for optimizing real-time video stream plug flow by a data sample filtering comparison method comprises the following steps:
step 1: a selected policy for a time period;
step 2, selecting video frame data in a time period to capture data samples;
and 3, extracting video frame data from the real-time video frame data reported by the equipment according to a preset extraction strategy, comparing the extracted video frame data with the data sample, discarding the reported real-time video frame data if the similarity is greater than a preset value, and otherwise, processing the video frame data according to a normal plug flow process.
Preferably, in the step 2, a life cycle is set for the captured data samples, and the data samples exceeding the life cycle are discarded.
Preferably, the life cycle is 30 minutes.
Preferably, the extraction strategy is to extract according to a random extraction rate, the extraction rate range is 0% to 100%, the comparison is not performed when 0%, the video frame data processing is performed according to a normal plug flow process, and the similarity comparison is directly performed between the real-time video frame data and the data sample when 100%.
Preferably, the similarity comparison method is an SSIM algorithm.
Preferably, the step 1 is to extract the video frame data at certain time intervals.
Compared with the prior art, the invention has the beneficial effects that:
the invention compares and filters the video frame data samples captured in the selected time period, the real-time video frame data reported by the equipment and the video frame data samples captured in the selected time period from the selected strategy of the time period, so as to achieve the purposes of reducing CPU resources and memory resources of the central platform and pushing network resources.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
A method for optimizing real-time video stream plug flow by a data sample filtering comparison method comprises the following steps:
step 1: a selected policy for the time period.
Real-time video data reports video frame data in real time, so that video frame data samples need to be captured according to specific time periods. In this embodiment, the extraction is performed at intervals of 5 minutes for 24 hours in 1 day, for example, 1 time of video frame data is extracted at 0 min and 0 sec at 08, and then 1 time of video frame data is extracted again at 5 min and 0 sec at 08, and so on.
And 2, capturing data samples, namely video frame data samples, of the video frame data in the selected time period.
In step 2 of the invention, the video frame data samples are captured in the appointed time period according to the selected strategy of the time period, and the captured video frame data samples have a life cycle which is respectively active and inactive. In this embodiment, the life cycle duration is 30 minutes, the active period is after capture, the memory enters a death state after 30 minutes, and the memory is removed and discarded.
And 3, extracting video frame data from the real-time video frame data reported by the equipment according to a preset extraction strategy, comparing the similarity of the extracted video frame data with the similarity of the data sample, if the similarity is greater than the preset value, discarding the reported real-time video frame data, and otherwise, processing the video frame data according to a normal plug flow process.
The preset extraction strategy is to extract according to a random extraction rate, the extraction rate range is 0% to 100%, the comparison is not carried out when the extraction rate is 0%, the video frame data processing is carried out according to a normal plug flow process, and the similarity comparison is directly carried out on the real-time video frame data and the data sample when the extraction rate is 100%. In step 3 of the present invention, the random extraction rate can be obtained by a conventional random function generator, which is common knowledge in the art.
In step 3 of the invention, after the steps 1 and 2, a certain number of video frame data samples are generated, and the video frame data samples are used as comparison references; the real-time video frame data reported by the device is randomly extracted according to the random extraction rate, for example, when the reported real-time video frame data is 2000 video frames, only 600 video frames are randomly extracted according to the random extraction rate of 30% to be compared with the video frame data samples.
In step 3 of the present invention, if the similarity is greater than 70%, it is considered that the real-time reported video frame data is not substantially different from the current playing page, the video frame data is directly discarded without going through a subsequent processing flow, otherwise, the video frame data is processed according to a normal plug flow.
In step 3 of the invention, similarity comparison can be performed through an SSIM algorithm so as to improve the accuracy of the similarity.

Claims (6)

1. A method for optimizing the push flow of a real-time video stream by a data sample filtering comparison method is characterized by comprising the following steps:
step 1: a selected policy for a time period;
step 2, selecting video frame data in a time period to capture data samples;
and 3, extracting video frame data from the real-time video frame data reported by the equipment according to a preset extraction strategy, comparing the similarity of the extracted video frame data with the similarity of the data sample, if the similarity is greater than the preset value, discarding the reported real-time video frame data, and otherwise, processing the video frame data according to a normal plug flow process.
2. The method as claimed in claim 1, wherein in step 2, a life cycle is set for the captured data samples, and data samples exceeding the life cycle are discarded.
3. The method as claimed in claim 2, wherein the life cycle is 30 minutes.
4. The method as claimed in claim 1, wherein the extraction strategy is to extract according to a random extraction rate, the extraction rate ranges from 0% to 100%, no comparison is performed when 0% is used, video frame data processing is performed according to a normal stream pushing process, and similarity comparison is performed between real-time video frame data and data samples when 100% is used.
5. The method of claim 1, wherein the similarity comparison method is an SSIM algorithm.
6. The method as claimed in claim 1, wherein the step 1 is to extract the video frame data at a certain time interval.
CN202210748527.7A 2022-06-29 2022-06-29 Plug flow optimization method of data sample filtering comparison method for real-time video stream Pending CN115190329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210748527.7A CN115190329A (en) 2022-06-29 2022-06-29 Plug flow optimization method of data sample filtering comparison method for real-time video stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210748527.7A CN115190329A (en) 2022-06-29 2022-06-29 Plug flow optimization method of data sample filtering comparison method for real-time video stream

Publications (1)

Publication Number Publication Date
CN115190329A true CN115190329A (en) 2022-10-14

Family

ID=83514979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210748527.7A Pending CN115190329A (en) 2022-06-29 2022-06-29 Plug flow optimization method of data sample filtering comparison method for real-time video stream

Country Status (1)

Country Link
CN (1) CN115190329A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016061A (en) * 2017-03-15 2017-08-04 海尔优家智能科技(北京)有限公司 Video monitoring document handling method and device
CN108063914A (en) * 2017-11-22 2018-05-22 国政通科技股份有限公司 Monitor video file generated, playback method, device and terminal device
CN110147465A (en) * 2019-05-23 2019-08-20 上海闻泰电子科技有限公司 Image processing method, device, equipment and medium
CN111027398A (en) * 2019-11-14 2020-04-17 深圳市有为信息技术发展有限公司 Automobile data recorder video occlusion detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016061A (en) * 2017-03-15 2017-08-04 海尔优家智能科技(北京)有限公司 Video monitoring document handling method and device
CN108063914A (en) * 2017-11-22 2018-05-22 国政通科技股份有限公司 Monitor video file generated, playback method, device and terminal device
CN110147465A (en) * 2019-05-23 2019-08-20 上海闻泰电子科技有限公司 Image processing method, device, equipment and medium
CN111027398A (en) * 2019-11-14 2020-04-17 深圳市有为信息技术发展有限公司 Automobile data recorder video occlusion detection method

Similar Documents

Publication Publication Date Title
CN106534949A (en) Method for prolonging video storage time of video monitoring system
CN113221706B (en) AI analysis method and system for multi-process-based multi-path video stream
CN101599963A (en) Suspected network threat information screener and Screening Treatment method
CN110430395A (en) Video data AI processing system and processing method
CN106993199A (en) A kind of method and system of real-time video transcoding
CN113542195B (en) Method, system and equipment for detecting malicious encrypted traffic
TWI513291B (en) Method and apparatus for image processing and computer readable medium
CN113808037A (en) Image optimization method and device
CN112738547A (en) System for real-time statistics live online number of people
CN110224848B (en) Alarm broadcasting method and device
CN115190329A (en) Plug flow optimization method of data sample filtering comparison method for real-time video stream
CN101540834B (en) Method for removing noise of video image and video coding device
CN116582133B (en) Intelligent management system for data in transformer production process
CN113542804A (en) Method for detecting static frame sequence based on code stream statistical characteristics
CN111263113B (en) Data packet sending method and device and data packet processing method and device
CN105872552A (en) Intelligent processing method for prolonging video storage time of video monitoring system
CN114640854A (en) Real-time high-speed decoding method for multi-channel video stream
CN114679318B (en) Lightweight Internet of things equipment identification method in high-speed network
CN111614611B (en) Network security auditing method and device for power grid embedded terminal
CN113378633A (en) Method and system for detecting quality of streaming media signal
CN112218025A (en) Data processing method, device, server and storage medium
CN112468509A (en) Deep learning technology-based automatic flow data detection method and device
CN110049037B (en) Network video data acquisition method based on data link layer
US20240129497A1 (en) Reduced Video Stream Resource Usage
CN117979067A (en) Identification method for broadcasting television broadcasting without regulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination