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 severa

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

Example Embodiment

[0045] Example one

[0046] Such as figure 1 Shown is a flowchart of a multimedia task processing method provided by an embodiment of the present invention. The method can be applied to the controller in the proxy. The principle is: after the database of the proxy entry point fails, the broadcast query mechanism is used 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 method includes:

[0048] S110) After detecting that the database of the proxy entry point is faulty, determine the fault type of the fault, and check whether the fault type already exists in the local cache of the proxy entry point.

[0049] In this embodiment, the multimedia tasks may be video tasks, audio tasks, image tasks, and so on.

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

Example Embodiment

[0070] Example two

[0071] As a preferred solution of the first embodiment, the difference from the first embodiment is:

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

[0073] A1) If the multimedia task feedback result returned by the production line is received, the production line is judged to be 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 facilitate the determination of the status of the production line, the controller can make a judgment 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 normally produced without returning the multimedia...

Example Embodiment

[0079] Example three

[0080] As a preferred solution of the first embodiment, the difference from the first embodiment 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 of 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 multimedia task feedback result, and learn the corresponding subtask and production according to the multimedia task feedback result. Line mapping relationship, the controller caches the multimedia task feedback result into the local cache of the proxy entry point as an old fault; at the same time, defines the fault type of the fault (for example, the fault code is 1000), the fault type and the The mapping relationship between the subtasks correspo...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products