Unlock instant, AI-driven research and patent intelligence for your innovation.

High-performance video forwarding method based on multiple processes

A forwarding method and high-performance technology, which is applied in the direction of selective content distribution, closed-circuit television system, electrical components, etc., can solve problems such as abnormal exit of the forwarding process, poor robustness of the forwarding process, and influence on the forwarding thread, so as to improve forwarding performance and improve Effects on Stability and Robustness

Inactive Publication Date: 2019-05-14
CHINA CHANGFENG SCI TECH IND GROUPCORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since multiple threads share the memory address space, when an exception occurs in one thread, the entire forwarding process will exit abnormally, affecting other forwarding threads running normally, resulting in poor robustness of the forwarding process
Since the operating system schedules tasks in units of processes, multiple threads need to share the computing time on average, which cannot make full use of the computing resources of the computer.

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
  • High-performance video forwarding method based on multiple processes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Such as figure 1 As shown, the streaming media service consists of one monitoring process and multiple forwarding processes. The monitoring process is responsible for receiving user requests, assigning forwarding tasks, monitoring the running status of the forwarding process, and restarting the forwarding process after detecting abnormalities in the forwarding process.

[0014] The forwarding process does not communicate with each other, and the forwarding process communicates with the monitoring process through the TCP / IP protocol. The forwarding process regularly sends status information to the monitoring process to report its own working status. If the monitoring process does not receive the status information of the forwarding process within a period of time, it is determined that the forwarding process is working abnormally, and the forwarding process is restarted.

[0015] The key data structures of this technical solution include a forwarding mapping table and ...

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 provides a high-performance video forwarding method based on multiple processes, which comprises the following steps of: monitoring a forwarding request of a user through a monitoring process, after receiving the forwarding request of the user, firstly inquiring a forwarding mapping table, judging whether a video is watched by the user or not, and if yes, distributing the request toa corresponding forwarding process; If the user is not looking up, starting a new forwarding process, and the corresponding relation between the forwarding process and adding the camera into the mapping table; after receiving a request that the user stops forwarding, inquiring a forwarding mapping table, inquiring a forwarding process, and sending a message of stopping forwarding; The forwarding process stops forwarding the video after receiving the message of stopping forwarding, inquires a user table of the forwarding process, exits the process if the number of the user tables is 0, and sends a normal exit message to the monitoring process; and the monitoring process detects the state of the forwarding process at regular time, and sends a debugging abnormality message to the user if finding that the process exits abnormally.

Description

technical field [0001] The invention belongs to the technical field of video monitoring, and relates to a video monitoring platform stream media forwarding technology, in particular to a multi-process-based high-performance video forwarding method. Background technique [0002] In video surveillance, due to the limitations of computing or network resources of front-end cameras, DVRs, NVRs and other monitoring equipment, it is impossible to meet the needs of multiple users to watch real-time videos at the same time. This is because the traditional streaming media forwarding technology adopts a multi-threading technical solution, and the forwarding unit is based on a thread, and multiple forwarding threads share the memory and computing resources of the same process. Since multiple threads share the memory address space, when an exception occurs in one thread, the entire forwarding process will exit abnormally, affecting other forwarding threads running normally, resulting in ...

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): H04N7/18H04N21/24H04N21/262H04N21/442
Inventor 李小君
Owner CHINA CHANGFENG SCI TECH IND GROUPCORP