Streaming media task processing method and device based on multiple threads, and computer device

A processing method and streaming media technology, applied in multi-programming devices, resource allocation and other directions, can solve problems such as poor scalability and inability to achieve differentiated configuration, and achieve the effect of improving performance and stability, and improving customer experience

Pending Publication Date: 2019-05-14
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a multi-thread-based streaming media task processing method and a corresponding device, which can achieve dynamic and differentiated assignment of loan approval tasks, and support rapid adjustment of the multi-thread-based streaming media task processing strategy to Cases with different risk levels are assigned to different assignees, which solves the problem of inability to achieve differentiated configuration and poor scalability in the existing technology

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
  • Streaming media task processing method and device based on multiple threads, and computer device
  • Streaming media task processing method and device based on multiple threads, and computer device
  • Streaming media task processing method and device based on multiple threads, and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0047] In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the sequence number of the operation, such as S11, S12, etc., is only used to distinguish different operations, and the sequence number itself does not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be not...

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 streaming media task processing method and device based on multiple threads, and the method comprises the steps: receiving a task execution request of a streaming media task,and enabling the task execution request to comprise a to-be-executed target task; Extracting task information in the target task, creating a thread pool by utilizing a pre-created thread according tothe task information, and setting a corresponding environment variable for each thread in the thread pool; and allocating the target task to a thread matched with the target task in the thread pool according to a preset dynamic balance scheduling strategy, and executing the target task by the thread under the environment variable of the thread. A multi-thread task processing mode is adopted, a dynamic balance scheduling strategy is used for achieving reasonable distribution of target tasks, environment variables are local variables, possibility is provided for packaging use of a Dll library, the performance and stability of simultaneous multi-path data processing are improved, and the client experience is better.

Description

technical field [0001] The present invention relates to the technical field of computer applications, in particular to a processing method, device and computer equipment for streaming media tasks based on multithreading. Background technique [0002] At present, during the processing of streaming media data, when encapsulating the dll library, too many global variables are defined. In the case of establishing multiple connections to receive code streams, when one code stream exits and then another stream, the global variables in Live555 are destroyed, causing problems in the library. On the other hand, the scheduling framework adopts the global single-threaded event query scheduling, and the data is directly processed in the round-robin thread. When processing multi-channel video stream data or processing data for a long time, it is easy to cause serious performance problems. , such as freezes and blurred screens when processing multiple video streams. In addition, due to ...

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/50
Inventor 马潜高勇
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products