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

A low-latency audio and video transmission method, device, and computer-readable storage medium

A transmission method, audio and video technology, which is applied in the field of data communication transmission, can solve problems such as low delay and delay, and achieve the effect of reducing delay time and increasing the number of concurrent connections

Active Publication Date: 2020-08-04
SHENZHEN HAINENG COMM
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to propose a low-latency audio and video transmission method, device and computer-readable storage medium, aiming to solve the technical problem of delay in the transmission of audio and video data in the existing security monitoring system

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A low-latency audio and video transmission method, device, and computer-readable storage medium
  • A low-latency audio and video transmission method, device, and computer-readable storage medium
  • A low-latency audio and video transmission method, device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 1As shown, the embodiment of the present invention provides a low-latency audio and video transmission method, the method includes the following steps:

[0043] S101. Create a completion port through the main thread, and save the handle of the completion port;

[0044] S102. Establish multiple worker threads through the main thread, for processing audio and video communication requests, and realizing communication with the client;

[0045] S103. When the monitoring client communicates with the server, bind the Socket of the monitoring client to the completion port;

[0046] S104. Submit an audio and video communication request to the server through the Socket, and the worker thread scans the message queue of the completion port, retrieves and processes the audio and video communication request from the message queue.

[0047] Wherein, the specific steps of establishing multiple worker threads through the main thread include:

[0048] Query and obtain t...

Embodiment 2

[0064] Such as image 3 As shown, the hardware structure of a low-latency audio-video transmission device provided by the embodiment of the present invention, specifically, the low-latency audio-video transmission device 30 includes at least a processor 31 , a memory 32 and a data bus 33 . The data bus 33 is used to realize the connection and communication between the processor 31 and the memory 32. The memory 32, as a computer-readable storage medium, can store at least one computer program, and these computer programs can be read, compiled and executed by the processor 31 , so as to realize the corresponding processing flow. In this embodiment, the memory 32 is used as a computer-readable storage medium, in which a low-latency audio and video transmission program is stored, and the program can be executed by the processor 31, thereby realizing the steps of the following low-latency audio and video transmission method :

[0065] Create a completion port through the main thr...

Embodiment 3

[0071] Based on the same inventive concept, another aspect of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a low-latency audio-video transmission program, and the low-latency audio-video transmission program is When the processor executes, the above-mentioned low-latency audio and video transmission method is realized.

[0072] Such as Figure 4 , 5 As shown, they are the schematic diagram of the process using the accept method and the schematic diagram of the process using the AcceptEx method. The specific program steps include:

[0073] Call the CreateIoCompletionPort() function to create a completion port, and in general, we only need to create this completion port and save its handle.

[0074] According to how many CPU processors there are in the system, how many worker (Worker) threads are established, these threads are specially used to communicate with the monitoring client; an independent monitoring th...

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 discloses a low-delay audio and video transmission method, device and computer-readable storage medium, aiming to solve the technical problem of delay in audio and video data network transmission in the existing security monitoring system. The method comprises the following steps: creating a completion port through the main thread, and saving the handle of the completion port; establishing a plurality of worker threads through the main thread, for processing audio and video communication requests, and realizing communication with the client; When the monitoring client communicates with the server, the Socket of the monitoring client is bound to the completion port; the audio and video communication request is submitted to the server through the Socket, and the worker thread scans the message queue of the completion port , retrieve and process the audio and video communication request from the message queue.

Description

technical field [0001] The invention relates to the technical field of data communication transmission, in particular to a low-delay audio and video transmission method, device and computer-readable storage medium. Background technique [0002] The security monitoring system is based on the digital network as the transmission medium and the core of the network video server. It comprehensively uses digital video processing technology, automatic control, network transmission technology and artificial intelligence technology. It not only has fast video processing capabilities, digital information anti-interference capabilities, It is easy to quickly query records and other advantages, and relying on the network to give full play to the advantages brought by the broadband network, through the IP network, the monitoring video center and any point that can be connected to the network are interconnected and combined to achieve the remote, centralized, and ideal closed-circuit monito...

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 Patents(China)
IPC IPC(8): H04N7/18H04L29/06H04L29/08
CPCH04L67/141H04L69/162H04N7/18H04L67/60
Inventor 王海龙
Owner SHENZHEN HAINENG COMM
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