Multi-process decoding method and multi-process decoding system

A decoding method and multi-process technology, applied in multi-program devices, resource allocation, etc., can solve the problems of high crash risk of a single decoding sub-process, failure to apply, and reduced monitoring system stability, etc., to achieve high-speed and smooth decoding of media codes Stream and display in real time, less impactful effects

Inactive Publication Date: 2015-08-19
SUZHOU KEDA TECH
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the single-process decoding method reduces the stability of the monitoring system
[0004] 2. Performance is limited, a single 32-bit application can only apply for less than 2G memory at most, when the performance of the hardware device is strong, 2G memory becomes the bottleneck of decoding performance, and cannot fully utilize hardware capabilities to improve decoding performance
[0006] However, in the above technical solution, the decoding task is not allocated according to the resource occupation of each decoding process, and the load balancing of each sub-process cannot be achieved, so that the risk of a single decoding sub-process crashing is relatively high

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
  • Multi-process decoding method and multi-process decoding system
  • Multi-process decoding method and multi-process decoding system
  • Multi-process decoding method and multi-process decoding system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Such as figure 1 As shown, this embodiment provides a multi-process decoding method, which can be used in a client (CU) of a video surveillance system such as a PC. The client (CU) is used to provide a window for image display, and start, To manage, maintain and call the decoding process, the method includes the following steps:

[0049] S1: Start multiple decoding processes. When the client starts, that is, when the user starts it manually, it automatically starts multiple decoding processes. Both the client and the decoding process run on the same client, and the number of decoding processes automatically started by the client is determined by the memory configuration of the client.

[0050] S2: Obtain multiple decoding tasks. The client of the real-time monitoring system will browse many images recorded by multiple surveillance cameras at the same time. At the same time, the user will also perform playback and other operations that require decoding. Handles multipl...

Embodiment 2

[0069] Such as figure 2 As shown, the present embodiment provides a multi-process decoding method. There are two programs implementing the multi-process decoding method, and the two programs all run on a client computer: one is the client (CU) of the monitoring system , which is used to provide a window for image display, and start, manage, maintain and call the decoding process; the other is the decoding process (CUPlayer), which is the background process responsible for decoding. Specifically include the following steps:

[0070] S21: When the user starts the client on the client computer, the client automatically starts multiple decoding processes and forms a process pool, and the number of decoding processes automatically started by the client is determined by the memory configuration of the client. When it is started, the decoding process will create four decoding threads, each decoding thread can independently complete a decoding task, that is, it can complete the deco...

Embodiment 3

[0094] Such as image 3 As shown, this embodiment provides a multi-process decoding system, including:

[0095] Start module M1, for starting multiple decoding processes;

[0096] obtaining a module M2 for obtaining multiple decoding tasks;

[0097] The allocation module M3 is used to sequentially select a decoding task, obtain the current load level of each decoding process according to the relevant information of multiple decoding processes stored in the shared memory, and allocate the selected decoding task to the decoding process with the lightest load currently. decoding.

[0098] In the multi-process decoding system provided in this embodiment, each time the client assigns a decoding task, it will first obtain the load situation of the decoding process currently available for normal decoding, so as to assign the decoding task to the decoding process with the lightest load currently. Try to evenly distribute the decoding tasks to each decoding process, which can not on...

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 multi-process decoding method and a multi-process decoding system. The method includes starting a plurality of decoding processes; acquiring a plurality of decoding tasks; sequentially selecting a decoding task, acquiring load degree of each current decoding process according to related information, stored in a shared memory, of the decoding processes, and distributing the selected decoding task to the current decoding process with the lowest load for decoding. The problem that a single decoding process is easy to crash due to the fact that load balance cannot be achieved by multi-process decoding methods in the prior art is solved. The multi-process decoding method has the advantages that the decoding tasks are distributed to the decoding processes evenly to achieve load balance of the decoding processes, and accordingly, the risk of process crash caused by overload of a certain decoding process is reduced.

Description

technical field [0001] The invention relates to the technical field of multimedia processing. Specifically, it relates to a multi-process decoding method and system. Background technique [0002] Currently, there are two types of media decoding technologies used in the industry. One is that the application program directly embeds the decoding function, and the other is that the application program dynamically loads a decoding plug-in to realize decoding. Both methods are single-process decoding schemes, which have the following problems: [0003] 1. Reduce system stability. Many channels of images will be browsed during real-time monitoring. The encoding equipment may come from many different manufacturers, and the encoding of each company is different. When decoding, it is necessary to call many third-party decoding plug-ins. These plug-ins are not compatible with each other or It is unstable itself, and often encounters the crash of a certain decoding plug-in. When a si...

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/46G06F9/50
Inventor 李之兴梁黎赖齐朱森勇陈卫东
Owner SUZHOU KEDA TECH
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