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

Multimedia task processing method and device

A task processing and multimedia technology, applied in the field of data processing, can solve problems such as data access failure, subtask production failure, multimedia task production failure, etc., to achieve the effect of ensuring stable operation and improving high availability

Active Publication Date: 2016-09-07
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the entire network system has self-regulation capabilities, the database at the proxy entry point will be automatically repaired after a certain period of time. However, during the time period when the database fails, data may appear on one or several production lines that perform multimedia tasks. The phenomenon of access failure, which will cause the production failure of the subtask corresponding to the production line, and eventually lead to the failure of the production of the entire multimedia task

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
  • Multimedia task processing method and device
  • Multimedia task processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as figure 1 As shown, it is a flowchart of the multimedia task processing method provided by the embodiment of the present invention. This method can be applied to the controller in the proxy. The principle is: after the database at the proxy entry point fails, use the broadcast query mechanism to quickly find out The mapping relationship of the production line, and according to the local cache mechanism, use the normal production line to copy and continue to produce the failed multimedia tasks to ensure the stable operation of the multimedia tasks.

[0047] The methods include:

[0048] S110) After detecting a fault in the database of the proxy entry point, determine the fault type of the fault, and check whether the fault type has been stored in the local cache of the proxy entry point.

[0049] In this embodiment, the multimedia task may be a video task, an audio task, an image task, and the like.

[0050] Specifically, taking a video task as an example, when th...

Embodiment 2

[0071] As the preferred version of the above-mentioned embodiment one, the difference from embodiment one is:

[0072] The step S130 may include the following refinement steps:

[0073] A1) If the multimedia task feedback result returned by the production line is received, it is judged that the production line is a failed production line; if the multimedia task feedback result returned by the production line is not received, the production line is judged to be a normal production line.

[0074] In this embodiment, in order to determine the status of the production line, the controller may judge according to whether the production line returns a multimedia feedback result. Specifically, if the production line is a failed production line, the multimedia task feedback result will be returned for the failed multimedia task; if the production line is a normal production line, the multimedia task will be produced normally, and the multimedia task feedback result will not be returned...

Embodiment 3

[0080] As the preferred version of the above-mentioned embodiment one, the difference from embodiment one is:

[0081] The method also includes:

[0082] The mapping relationship between the fault type and its corresponding subtask and the production line is cached in the local cache of the proxy entry point.

[0083] Specifically, after judging that the database fault at the proxy entry point is a new fault, the controller sends a broadcast query request to all production lines, and the failed production line will return the feedback result of the multimedia task. According to the feedback result of the multimedia task, the corresponding subtask and production Line mapping relationship, the controller caches the multimedia task feedback result in the local cache of the proxy entry point as an old fault; at the same time, defines the fault type of the fault (such as the fault code is 1000), the fault type and the fault The subtask corresponding to the fault type is cached in ...

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 embodiment of the invention provides a multimedia task processing method and device. The method comprises the following steps: when it is detected that a database of a proxy entrance point is faulty, judging the fault type of the fault, and looking up whether the fault type is present in a local cache of the proxy entrance point; if the fault type is not present, sending a broadcast query request to all production lines; determining a faulty production line and a normal production line according to a received multimedia task feedback result, and determining a mapping relation of sub-tasks and the production lines; broadcasting the processing information of a faulty sub-task to other proxy nodes according to a sub-mapping relation, thus allowing the other proxy nodes to copy the processing information of the faulty sub-task; and notifying the production lines under the other proxy nodes to product the faulty sub-task. By adopting the embodiment, when the database of the proxy entrance point is faulty, the stable operation of the multimedia task can be guaranteed, and the high availability of proxy is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a multimedia task processing method and device. Background technique [0002] In the prior art, when processing a multimedia task, the multimedia task is usually divided into multiple subtasks for processing. For example, video tasks often include multiple subtasks such as transcoding, review, distribution, and cover art. When the user terminal needs to perform a certain multimedia task, it needs to connect to the network server through a proxy (proxy server), and the network server processes the multimedia task and feeds back to the user terminal through the proxy. [0003] Specifically, the proxy will have a proxy entry point. A proxy entry point connects to multiple proxy nodes, and each proxy node connects to the external interfaces of multiple subtasks. The external interface of each subtask is connected to a web server. Each subtask’s There is a production line be...

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
IPC IPC(8): H04L12/18H04L12/24H04L29/08
CPCH04L12/185H04L41/0654H04L67/56H04L67/568
Inventor 程海员
Owner BEIJING QIYI CENTURY SCI & 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