Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video stream distributing method

A video stream and thread technology, applied in the field of video stream distribution, can solve problems such as low distribution efficiency, receiving delay, and high resource occupation, and achieve the effects of improving distribution performance, real-time performance, and load balancing

Inactive Publication Date: 2017-05-17
KUNMING UNIONSCIENCE TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] What the present invention aims to solve is that in the existing streaming media distribution process, the distribution efficiency is low, the resource occupation is high, the problems of receiving delay and display lag are caused, and a video stream distribution method with high distribution performance and load balance is provided.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Embodiment 1: A video stream distribution method, including a data source thread and a distribution thread, one data source thread corresponds to N distribution threads, and one distribution thread corresponds to only one data source thread; the specific distribution steps are as follows:

[0022] 1) Create a thread pool, create twice the number of CPU threads used by the server, and divide the threads in the thread pool into data source threads and distribution threads, and establish a corresponding principle, that is, one data source thread corresponds to N distribution threads , a distribution thread corresponds to only one data source thread;

[0023] 2) Create a circular queue for the data source thread. The queue caches 50 frames of data by default. The head of the circular queue points to the newly entered data, and the tail of the circular queue points to the location where the data is obtained;

[0024] 3) Each distribution thread has a pointer to the shared qu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a video stream distributing method and relates to streaming media transmission. The video stream distributing method which is high in distributing performance and balanced in load is characterized in that the method comprises data source threads and distributing threads, one data source thread corresponds to N distributing threads, and one distributing thread corresponds to one data source thread. The video stream distributing method has the advantages that streaming media distributing performance is increased effectively under the same hardware condition, more requesters are supported, the display instantaneity of a requesting end can be well increased, existing hardware resources are fully utilized, and load balance is achieved.

Description

technical field [0001] The invention relates to streaming media transmission, in particular to a method for distributing video streams with high distribution performance and balanced load. Background technique [0002] In the process of developing the streaming media platform, in order to solve the pressure of front-end equipment, such as cameras, IPSAN or DVR and other equipment, the wing board adopts the streaming distribution strategy. Under the condition of the same hardware environment, how to improve the distribution efficiency is a technical problem. There are currently two commonly used methods: [0003] 1. The data source and the distribution process are in the same thread. This method is not efficient in distribution, and the number of copies distributed is not large; [0004] 2. Each distribution object is a thread. This method occupies too many thread resources, and each thread is not fully utilized. Too many threads will also consume resources when switching t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50H04L29/06
CPCG06F9/5027G06F9/505G06F9/5061G06F2209/5018G06F2209/5011H04L65/762
Inventor 邵宗凯朱加权马万兵田灵
Owner KUNMING UNIONSCIENCE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products