CN107707930B - Video processing method, device and system - Google Patents

Video processing method, device and system Download PDF

Info

Publication number
CN107707930B
CN107707930B CN201610649625.XA CN201610649625A CN107707930B CN 107707930 B CN107707930 B CN 107707930B CN 201610649625 A CN201610649625 A CN 201610649625A CN 107707930 B CN107707930 B CN 107707930B
Authority
CN
China
Prior art keywords
video
processing
client
picture
processing task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610649625.XA
Other languages
Chinese (zh)
Other versions
CN107707930A (en
Inventor
夏明星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610649625.XA priority Critical patent/CN107707930B/en
Publication of CN107707930A publication Critical patent/CN107707930A/en
Application granted granted Critical
Publication of CN107707930B publication Critical patent/CN107707930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Abstract

The invention discloses a video processing method, a video processing device and a video processing system, relates to the technical field of videos, and can realize performance optimization of flash videos and avoid the phenomenon that the flash videos are played in a stuck mode. The method comprises the following steps: when a video processing task is received in the playing process of a flash video, firstly, the video processing task is sent to a video background server, so that the video background server processes the video processing task according to background video file data with the same content as the video file data played by a foreground; and then receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result. The invention is suitable for video processing.

Description

Video processing method, device and system
Technical Field
The present invention relates to the field of video technologies, and in particular, to a video processing method, apparatus, and system.
Background
With the continuous development of video technology, flash video is more and more widely applied. The Flash video is a streaming media video, integrates the video into Flash animation by utilizing a Flash Player platform widely used on a webpage, can be played as long as a Flash plug-in is installed in a browser of a mobile terminal system, does not need to additionally install other video plug-ins, and brings great convenience to video transmission by the Flash video.
At present, when watching a flash video, a user can also perform operations such as screen capture, sharpening, peeling and the like on the flash video. However, these operations add extra calculation processing tasks, and when the processing task amount is large, the flash video playing is stuck, thereby affecting the viewing experience of the user. For example, when a flash video is played, the number of pictures in a video dynamic picture captured by a user is too large, or the user performs real-time skin grinding and beautifying processing on the playing flash video, and the like, thereby causing a phenomenon that the playing flash video is blocked.
Disclosure of Invention
In view of the above, the present invention provides a video processing method, device and system, and mainly aims to solve the problem that when a user watches a flash video at present, additional calculation processing tasks are added when operations such as screen capture, sharpening, peeling and the like are performed on the flash video, and when the processing task amount is large, a flash video playing pause phenomenon occurs.
To achieve the above object, according to an aspect of the present invention, there is provided a video processing method, including:
when a video processing task is received in the playing process of a flash video, the video processing task is sent to a video background server, so that the video background server can process the video processing task according to background video file data with the same content as the video file data played by a foreground;
and receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result.
According to another aspect of the present invention, there is provided another video processing method, including:
receiving a video processing task sent by a client, wherein the video processing task is sent when the client receives the video processing task in the flash video playing process;
processing the video processing task according to background video file data with the same content as the video file data played by the client foreground;
and sending the processing result of the video processing task to the client so that the client can display and output the processing result.
According to still another aspect of the present invention, there is provided a client, including:
the video processing system comprises a sending unit, a video processing unit and a video processing unit, wherein the sending unit is used for sending a video processing task to a video background server when the video processing task is received in the flash video playing process, so that the video background server can process the video processing task according to background video file data with the same content as that of video file data played by a foreground;
the receiving unit is used for receiving the processing result of the video processing task sent by the video background server;
and the output unit is used for displaying and outputting the processing result received by the receiving unit.
According to still another aspect of the present invention, there is provided a video backend server, including:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a video processing task sent by a client, and the video processing task is sent when the client receives the video processing task in the flash video playing process;
the processing unit is used for processing the video processing task according to background video file data with the same content as the video file data played by the client foreground;
and the sending unit is used for sending the processing result of the video processing task to the client so that the client can display and output the processing result.
According to yet another aspect of the present invention, there is provided a data processing system comprising: the system comprises a client and a video background server;
the client is used for sending the video processing task to the video background server when the video processing task is received in the flash video playing process;
the video background server is used for receiving the video processing task sent by the client; processing the video processing task according to background video file data with the same content as the video file data played by the client foreground; sending the processing result of the video processing task to the client;
and the client is also used for receiving the processing result of the video processing task sent by the video background server and displaying and outputting the processing result.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
according to the video processing method, the video processing device and the video processing system, when a video processing task is received in a flash video playing process, the video processing task is firstly sent to a video background server, so that the video background server can process the video processing task according to background video file data with the same content as that of video file data played by a foreground; and then receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result. Compared with the mode that the current foreground client needs to process the computing task in addition to the flash video playing task, the method and the device can realize the splitting of different tasks, send the computing task to the background video server for processing, transmit the computing task to the foreground client after the background video server processes the computing task, and output the processing result of the computing task.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart illustrating a video processing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an example scenario provided by an embodiment of the present invention;
FIG. 3 illustrates an example scenario diagram provided by an embodiment of the present invention;
fig. 4 is a schematic flow chart of another video processing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a client structure provided by an embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating a video backend server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram illustrating a video backend server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a video processing system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a video processing method, as shown in fig. 1, which may be applied to a client, where the method includes:
101. and when the video processing task is received in the flash video playing process, the video processing task is sent to the video background server.
And furthermore, the video background server can process the video processing task according to background video file data with the same content as the video file data played by the foreground. The video processing task may be a calculation task for performing operations such as screen capture, sharpening, and peeling on a video.
In the embodiment of the invention, in order to solve the problem that when the client plays the video, intensive computation is carried out to cause video playing to be blocked, the computation task can be sent to the video background server, the video background server processes the computation task, and the foreground client only executes the video playing task.
Specifically, the sending the video processing task to the video background server may specifically include: sending the video processing task to a video background server according to processing category information corresponding to the video processing task, where the processing category information may be category information for processing a video dynamic picture or a video static picture, and when the processing category information is category information for processing a video dynamic picture, the steps may specifically include: and sending the processing task corresponding to the video dynamic picture to be processed to a video background server so that the video background server can obtain and synthesize each frame of picture data corresponding to the video dynamic picture to be processed according to background video file data with the same content as the video file data played by a foreground to obtain the video dynamic picture.
For example, when a user needs to capture a video played by a client and capture a dynamic picture containing a section of video content during video playing, a corresponding video processing task is sent to a background video server, wherein the processing task may carry frame identifiers to be processed, such as the 4 th frame to the 20 th frame in the 3 rd second to the 10 th second of the video, the video background server obtains each frame of picture data corresponding to the video dynamic picture to be synthesized according to background video file data with the same content as the video file data played by the foreground and the frame identifiers, and encodes and compresses the binary stream data of the frame pictures according to the order of each frame of picture to generate the binary stream data in the format of the dynamic picture GIF, thereby saving the time for synthesizing the dynamic video picture by the foreground client and not occupying the time for video playing, thereby not causing the video playing to be blocked.
Specifically, when the processing category information is category information for processing a video still picture, the steps may specifically include: and sending the processing task corresponding to the video static picture to be processed to a video background server, so that the video background server acquires the video static picture data to be processed according to background video file data with the same content as the video file data played by a foreground and carries out corresponding processing to obtain the processed video static picture.
For example, as shown in fig. 2, a user watches a live video in a live video room, and can perform real-time skin grinding and beautifying processing on a currently playing flash video by touching a functional key for skin grinding and beautifying processing in the watching process, and specifically, can send the beautifying processing task to a video background server, wherein the processing task can carry a frame identifier to be processed, so that the video background server performs skin grinding and beautifying processing according to a background flash video B having the same content as a flash video a played by a foreground client and the frame identifier, and sends each frame of flash video picture data after the skin grinding and beautifying processing to the foreground client for playing, and the foreground client can only execute a flash video playing task without executing a calculation task of skin grinding and beautifying processing. As shown in fig. 3, a video image after the skin-polishing beautification of the video background server is displayed in the foreground client flash player, so that the separation of secret computing and UI (User Interface) display can be realized, and the problem of rendering delay and even jamming of the flash video due to computing timeout is solved.
102. And receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result.
Specifically, when the processing category information is category information for processing a video moving picture, the step 102 may specifically include: and receiving and displaying the video dynamic picture obtained by synthesis and sent by the video background server.
For example, after the background video server encodes and compresses binary stream data of each frame of picture in a video dynamic picture which needs to be captured by a user to generate binary stream data in a dynamic picture GIF format, the foreground client receives the binary stream data in the dynamic picture GIF format sent by the video background server and displays and outputs the dynamic picture in the GIF format according to the binary stream data.
Specifically, when the processing category information is category information for processing a video still picture, the step 102 may specifically include: and receiving and displaying the processed video static picture sent by the video background server.
For example, the background video server performs sharpening and beautifying processing according to the background flash video B with the same content as the flash video A played by the foreground client, and sends each frame of flash video image data after sharpening and beautifying processing to the foreground client for playing.
It should be noted that the specific implementation manner of the embodiment of the present invention is not limited to this, and when a video processing task is received in a process of playing a video at a client, in order to avoid a phenomenon that a flash video is played in a stuck state, the video processing task may also be sent to a background operation module, the background operation module processes the video processing task, and then the foreground obtains a processing result of the video processing task by using a shared memory and displays and outputs the processing result.
Specifically, in order to solve the problem that video playing is blocked due to intensive computation while the video is played, a background operation module may be created in advance, the background operation module processes a computation task, and a foreground performs a video playing task.
For example, for a task of calculating the encryption level of a flash video, in order to solve the problem that the processing of the task causes the occurrence of the pause of the flash video, a background operation module can be created in advance, the background operation module processes the task, and the foreground executes the task of playing the flash video. Specifically, a background worker project is established, and a preset algorithm module is introduced, wherein the preset algorithm module can be compiled and configured in advance by technicians; then copying a video file A played by a foreground or reloading a video file with the same content as the video file A played by the foreground to obtain a video file B, and constructing and compiling a background worker project into a background video file according to the video file B, such as a background swf (shock wave flash) file; then, initializing the background swf file into a background operation module by the foreground worker through dynamic loading; and finally, a communication channel between the foreground and the background operation module is established, and the foreground and the background operation module can send and receive messages through binding events, so that the functions of message transmission, remote calling and the like between the foreground and the background operation module can be realized.
When a video processing task is received in the process of playing a video at a foreground of a client, the video processing task can be sent to a background operation module through a communication channel, so that the background operation module processes the video processing task according to background video file data which is the same as the video file data played by the foreground, and then the foreground obtains the processing result of the video processing task through the communication channel and displays and outputs the processing result.
When a user needs to capture a screen of a played video and needs to capture a dynamic picture containing one section of video content, the captured binary stream data of each frame of picture is sent to the background operation module in a memory sharing mode, and the background operation module encodes and compresses the binary stream data of the frames of pictures according to the sequence of each frame of picture to generate the binary stream data in the format of the dynamic picture GIF, so that the time for generating the dynamic video picture by the foreground is saved, the video playing time is not occupied, and the video playing jam phenomenon cannot occur.
According to the video processing method provided by the embodiment of the invention, when a video processing task is received in the playing process of a flash video, the video processing task is firstly sent to a video background server, so that the video background server processes the video processing task according to background video file data with the same content as that of video file data played by a foreground; and then receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result. Compared with the mode that the current foreground client needs to process the computing task in addition to the flash video playing task, the method and the device can realize the splitting of different tasks, send the computing task to the background video server for processing, transmit the computing task to the foreground client after the background video server processes the computing task, and output the processing result of the computing task.
An embodiment of the present invention provides another video processing method, which, as shown in fig. 4, may be applied to a video background server, where the method includes:
401. and receiving a video processing task sent by the client.
The video processing task is sent when the client receives the video processing task in the flash video playing process. The video processing task may specifically be a calculation task for performing operations such as screen capture, sharpening, and peeling on a video.
Specifically, the step 401 may specifically include: and receiving the video processing task sent by the client according to the processing type information corresponding to the video processing task, wherein the processing type information can be the type information for processing video dynamic pictures or video static pictures, and the like. When the processing type information is type information for processing a video dynamic picture, the steps may specifically include: and receiving a processing task corresponding to the video dynamic picture which needs to be processed by the client.
For example, when a user needs to capture a screen of a played video and needs to capture a dynamic picture containing a segment of video content, the client may send a corresponding video processing task to the video backend server, and the video backend server synthesizes the video dynamic picture required by the user, so as to save the time for synthesizing the dynamic video picture and avoid the video playing jam phenomenon.
When the processing type information is type information for processing a video still picture, the steps may specifically include: and receiving a processing task corresponding to the video static picture which needs to be processed by the client.
For example, when a user needs to perform real-time skin grinding and beautifying processing on a flash video which is currently played, the beautifying processing task is sent to the video background server, and the video background server performs skin grinding and beautifying processing according to a background flash video B which has the same content as the flash video A played by the foreground client, so that the time occupied by the foreground client for performing skin grinding and beautifying processing is saved, and the phenomenon of unsmooth playing of the flash video is avoided.
402. And processing the video processing task according to background video file data with the same content as the video file data played by the foreground of the client.
Specifically, when the processing category information is category information for processing a video moving picture, the step 402 may specifically include: and acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed by the client according to background video file data with the same content as the video file data played by the client foreground to obtain the video dynamic picture.
For example, the video background server obtains binary stream data of each frame of picture in the video dynamic picture that the user needs to capture according to background video file data with the same content as the video file data played by the client foreground, and encodes and compresses the binary stream data to generate binary stream data in the dynamic picture GIF format.
Specifically, when the processing type information is type information for processing a video still picture, the step 402 may specifically include: and acquiring and correspondingly processing the video static picture required to be processed by the client according to background video file data with the same content as the video file data played by the foreground of the client, so as to obtain the processed video static picture.
For example, according to a background flash video B with the same content as a flash video A played by a foreground client, performing skin grinding beautification processing to obtain each frame of flash video picture data after the skin grinding beautification processing.
Further, the method further comprises: obtaining background video file data by copying the video file data played by the foreground of the client; or reloading the video file data with the same content as the video file data played by the client foreground to obtain the background video file data.
For example, a video file B is obtained by copying a video file a played by a foreground, a background video file is created, and a master-slave relationship is configured so as to determine to execute respective assigned tasks according to the master-slave relationship.
403. And sending the processing result of the video processing task to the client.
And further, the client displays and outputs the processing result.
Specifically, when the processing type information is type information for processing a video motion picture, the step 403 may specifically include: and sending the synthesized video dynamic picture to the client so that the client can display the video dynamic picture.
For example, after the binary stream data of each frame of picture in the video dynamic picture that the user needs to capture is encoded and compressed by the video background server to generate the binary stream data in the format of the dynamic picture GIF, the binary stream data can be sent to the foreground client for display, and the captured dynamic video picture is displayed.
Specifically, when the processing category information is category information for processing a video still picture, the step 203 specifically includes: and sending the processed video static picture to the client so that the client can display the video static picture.
For example, flash video picture data after the skin grinding beautification processing is sent to the client, so that the client can display flash video pictures after the skin grinding beautification processing, and further, the separation of secret level calculation and UI display can be realized, and the problems of rendering delay and even blocking caused by the fact that the flash video is subjected to calculation time-out are solved.
The other video processing method provided by the embodiment of the invention comprises the steps of firstly receiving a video processing task sent by a client, wherein the video processing task is sent when the client receives the video processing task in the flash video playing process; then, processing the video processing task according to background video file data with the same content as the video file data played by the client foreground; and finally, sending the processing result of the video processing task to the client so that the client can display and output the processing result. Compared with the mode that the current foreground client needs to process the computing task in addition to the flash video playing task, the method and the device can realize the splitting of different tasks, send the computing task to the background video server for processing, transmit the computing task to the foreground client after the background video server processes the computing task, and output the processing result of the computing task.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides a client, and as shown in fig. 5, the client includes: a transmitting unit 51, a receiving unit 52, and an output unit 53.
The sending unit 51 may be configured to send the video processing task to the video background server when the video processing task is received in the flash video playing process.
And furthermore, the video background server can process the video processing task according to background video file data with the same content as the video file data played by the foreground.
The receiving unit 52 may be configured to receive a processing result of the video processing task sent by the video backend server.
The output unit 53 may be configured to display and output the processing result received by the receiving unit 52.
Specifically, the sending unit 51 may be specifically configured to send the video processing task to a video background server according to the processing category information corresponding to the video processing task.
The sending unit 51 may be specifically configured to, when the processing type information is type information for processing a video dynamic picture, send a processing task corresponding to the video dynamic picture to be processed to a video background server, so that the video background server obtains and synthesizes each frame of picture data corresponding to the video dynamic picture to be processed according to background video file data having the same content as that of video file data played by a foreground, and obtains the video dynamic picture.
The receiving unit 52 may be specifically configured to receive the video moving picture obtained by synthesis and sent by the video background server.
The output unit 53 may be specifically configured to display the video moving picture.
It should be noted that other corresponding descriptions of the functional units related to the client provided in the embodiment of the present invention may refer to the corresponding description in fig. 1, and are not described herein again.
When a video processing task is received in a flash video playing process, the video processing task is firstly sent to a video background server, so that the video background server processes the video processing task according to background video file data with the same content as that of video file data played by a foreground; and then receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result. Compared with the mode that the current foreground client needs to process the computing task in addition to the flash video playing task, the method and the device can realize the splitting of different tasks, send the computing task to the background video server for processing, transmit the computing task to the foreground client after the background video server processes the computing task, and output the processing result of the computing task.
Further, as a specific implementation of the method shown in fig. 4, an embodiment of the present invention provides a video backend server, and as shown in fig. 6, the video backend server includes: a receiving unit 61, a processing unit 62, and a transmitting unit 63.
The receiving unit 61 may be configured to receive a video processing task sent by a client, where the video processing task is sent by the client when the client receives the video processing task in a flash video playing process.
The processing unit 62 may be configured to process the video processing task according to background video file data having the same content as the video file data played by the client foreground.
The sending unit 63 may be configured to send a processing result of the video processing task to the client.
And further, the client displays and outputs the processing result.
Specifically, the receiving unit 61 may be specifically configured to receive the video processing task sent by the client according to the processing type information corresponding to the video processing task.
The receiving unit 61 may be specifically configured to receive, when the processing category information is category information for processing a video moving picture, a processing task corresponding to the video moving picture that the client needs to process.
The processing unit 62 may be specifically configured to obtain and synthesize each frame of picture data corresponding to the video dynamic picture that needs to be processed by the client according to background video file data having the same content as the video file data played by the client foreground, so as to obtain the video dynamic picture.
The sending unit 63 may be specifically configured to send the video moving picture obtained by synthesis to the client.
Further, the client side can display the video dynamic picture conveniently.
The receiving unit 61 may be specifically configured to receive, when the processing category information is category information for processing a video still picture, a processing task corresponding to the video still picture that the client needs to process.
The processing unit 62 may be specifically configured to obtain a video still picture that needs to be processed by the client according to background video file data having the same content as the video file data played by the client foreground, and perform corresponding processing to obtain a processed video still picture.
The sending unit 63 may be specifically configured to send the processed video still picture to the client.
Further, the client side can display the video static picture conveniently.
Further, as shown in fig. 7, the video backend server further includes: an acquisition unit 64.
The obtaining unit 64 may be configured to obtain the background video file data by copying the video file data played by the client foreground.
The obtaining unit 64 may be further configured to reload video file data with the same content as the video file data played by the client foreground, so as to obtain the background video file data.
It should be noted that other corresponding descriptions of the functional units related to the video backend server provided in the embodiment of the present invention may refer to the corresponding description in fig. 4, and are not described herein again.
The embodiment of the invention provides a video background server, which firstly receives a video processing task sent by a client, wherein the video processing task is sent when the client receives the video processing task in a flash video playing process; then, processing the video processing task according to background video file data with the same content as the video file data played by the client foreground; and finally, sending the processing result of the video processing task to the client so that the client can display and output the processing result. Compared with the mode that the current foreground client needs to process the computing task in addition to the flash video playing task, the method and the device can realize the splitting of different tasks, send the computing task to the background video server for processing, transmit the computing task to the foreground client after the background video server processes the computing task, and output the processing result of the computing task.
Further, an embodiment of the present invention provides a video processing system, as shown in fig. 8, including: a client 81 and a video backend server 82.
The client 81 may be configured to send a video processing task to the video background server 82 when the video processing task is received in a flash video playing process.
The video background server 82 may be configured to receive a video processing task sent by the client 81; processing the video processing task according to background video file data with the same content as the video file data played by the client foreground; and sending the processing result of the video processing task to the client 81.
The client 81 may also be configured to receive a processing result of the video processing task sent by the video backend server 82, and display and output the processing result.
In the video processing system provided by the embodiment of the invention, when a video processing task is received in the flash video playing process, the video processing task is firstly sent to a video background server, so that the video background server processes the video processing task according to background video file data with the same content as that of video file data played by a foreground; and then receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result. Compared with the mode that the current foreground client needs to process the computing task besides the flash video playing task, the embodiment of the invention can realize the splitting of different tasks, send the computing task to the video background server for processing, transmit the computing task to the foreground client after the video background server processes the computing task, and output the processing result of the computing task.
The embodiment of the invention discloses:
a1, a video processing method, comprising:
when a video processing task is received in the playing process of a flash video, the video processing task is sent to a video background server, so that the video background server can process the video processing task according to background video file data with the same content as the video file data played by a foreground;
and receiving a processing result of the video processing task sent by the video background server, and displaying and outputting the processing result.
A2, the video processing method according to A1, wherein the sending the video processing task to a video background server includes:
and sending the video processing task to a video background server according to the processing category information corresponding to the video processing task.
A3, the video processing method according to a2, wherein when the processing type information is type information for processing video moving pictures, the sending the video processing task to a video backend server according to the processing type information corresponding to the video processing task includes:
sending a processing task corresponding to the video dynamic picture to be processed to a video background server so that the video background server can obtain and synthesize each frame of picture data corresponding to the video dynamic picture to be processed according to background video file data with the same content as that of video file data played by a foreground to obtain the video dynamic picture;
the receiving the processing result of the video processing task sent by the video background server, and displaying and outputting the processing result includes:
and receiving and displaying the video dynamic picture obtained by synthesis and sent by the video background server.
A4, the video processing method according to a2, wherein when the processing type information is type information for processing a video still picture, the sending the video processing task to a video backend server according to the processing type information corresponding to the video processing task includes:
sending a processing task corresponding to the video static picture to be processed to a video background server so that the video background server can acquire the video static picture data to be processed according to background video file data with the same content as the video file data played by a foreground and carry out corresponding processing to obtain a processed video static picture;
the receiving the processing result of the video processing task sent by the video background server, and displaying and outputting the processing result includes:
and receiving and displaying the processed video static picture sent by the video background server.
B5, a video processing method, comprising:
receiving a video processing task sent by a client, wherein the video processing task is sent when the client receives the video processing task in the flash video playing process;
processing the video processing task according to background video file data with the same content as the video file data played by the client foreground;
and sending the processing result of the video processing task to the client so that the client can display and output the processing result.
B6, the video processing method according to B5, the receiving the video processing task sent by the client comprises:
and receiving the video processing task sent by the client according to the processing type information corresponding to the video processing task.
B7, the video processing method according to B6, wherein when the processing type information is type information for processing video motion pictures, the receiving the video processing task sent by the client according to the processing type information corresponding to the video processing task includes:
receiving a processing task corresponding to the video dynamic picture to be processed by the client;
the processing the video processing task according to the background video file data with the same content as the video file data played by the client foreground comprises the following steps:
acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed by the client according to background video file data with the same content as the video file data played by the client foreground to obtain the video dynamic picture;
the sending the processing result of the video processing task to the client comprises:
and sending the synthesized video dynamic picture to the client so that the client can display the video dynamic picture.
B8, the video processing method according to B6, wherein when the processing type information is type information for processing a video still picture, the receiving the video processing task sent by the client according to the processing type information corresponding to the video processing task includes:
receiving a processing task corresponding to the video static picture to be processed by the client;
the processing the video processing task according to the background video file data with the same content as the video file data played by the client foreground comprises the following steps:
acquiring a video static picture required to be processed by the client and carrying out corresponding processing according to background video file data with the same content as the video file data played by the foreground of the client to obtain a processed video static picture;
the sending the processing result of the video processing task to the client comprises:
and sending the processed video static picture to the client so that the client can display the video static picture.
B9, the video processing method of B5, the method further comprising:
obtaining background video file data by copying the video file data played by the foreground of the client; or
And reloading the video file data with the same content as the video file data played by the foreground of the client to obtain the background video file data.
C10, a client, comprising:
the video processing system comprises a sending unit, a video processing unit and a video processing unit, wherein the sending unit is used for sending a video processing task to a video background server when the video processing task is received in the flash video playing process, so that the video background server can process the video processing task according to background video file data with the same content as that of video file data played by a foreground;
the receiving unit is used for receiving the processing result of the video processing task sent by the video background server;
and the output unit is used for displaying and outputting the processing result received by the receiving unit.
C11, client as described in C10,
the sending unit is specifically configured to send the video processing task to a video background server according to the processing category information corresponding to the video processing task.
C12, client as described in C11,
the sending unit is specifically configured to send a processing task corresponding to the video dynamic picture to be processed to a video background server when the processing type information is type information for processing the video dynamic picture, so that the video background server obtains and synthesizes each frame of picture data corresponding to the video dynamic picture to be processed according to background video file data having the same content as that of video file data played by a foreground, and obtains the video dynamic picture;
the receiving unit is specifically configured to receive the video dynamic picture obtained by synthesis and sent by the video background server;
the output unit is specifically configured to display the video dynamic picture.
C13, client as described in C12,
the sending unit is specifically configured to send a processing task corresponding to the video still picture to be processed to a video background server when the processing category information is category information for processing the video still picture, so that the video background server obtains the video still picture data to be processed according to background video file data having the same content as that of video file data played by a foreground, and performs corresponding processing on the video still picture to obtain a processed video still picture;
the receiving unit is specifically configured to receive the processed video still picture sent by the video backend server;
the output unit is specifically configured to display the video still picture.
D14, a video background server, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a video processing task sent by a client, and the video processing task is sent when the client receives the video processing task in the flash video playing process;
the processing unit is used for processing the video processing task according to background video file data with the same content as the video file data played by the client foreground;
and the sending unit is used for sending the processing result of the video processing task to the client so that the client can display and output the processing result.
D15, video backend server as described in D14,
the receiving unit is specifically configured to receive the video processing task sent by the client according to the processing category information corresponding to the video processing task.
D16, video backend server as described in D15,
the receiving unit is specifically configured to receive a processing task corresponding to the video moving picture that the client needs to process when the processing category information is category information for processing the video moving picture;
the processing unit is specifically configured to obtain and synthesize each frame of picture data corresponding to a video dynamic picture to be processed by the client according to background video file data having the same content as the video file data played by the client foreground, so as to obtain the video dynamic picture;
the sending unit is specifically configured to send the video dynamic picture obtained by synthesis to the client, so that the client displays the video dynamic picture.
D17, video backend server as described in D15,
the receiving unit is specifically configured to receive a processing task corresponding to the video still picture that the client needs to process when the processing category information is category information for processing the video still picture;
the processing unit is specifically configured to obtain a video still picture to be processed by the client according to background video file data having the same content as the video file data played by the client foreground, and perform corresponding processing to obtain a processed video still picture;
the sending unit is specifically configured to send the processed video still picture to the client, so that the client displays the video still picture.
D18, the video backend server of D14, further comprising: an acquisition unit;
the acquisition unit is used for copying the video file data played by the foreground of the client to obtain the background video file data;
the obtaining unit is further configured to reload video file data with the same content as the video file data played by the client foreground to obtain the background video file data.
E19, a video processing system comprising: a client as claimed in any one of C10-C13 and a video backend server as claimed in any one of D14-D18.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a video processing method, apparatus and system in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (7)

1. A video processing method, comprising:
when a video processing task is received in the playing process of a flash video, the video processing task is sent to a video background server, so that the video background server can process the video processing task according to background video file data with the same content as the video file data played by a foreground, wherein the video processing task is a computing task for operating the video; if the video processing task is to process the video dynamic picture, acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed to obtain the video dynamic picture; if the video processing task is to process the video static picture, acquiring the video static picture data to be processed and carrying out corresponding processing to obtain a processed video static picture;
and receiving the synthesized video dynamic picture or the processed video static picture sent by the video background server, and displaying and outputting the video dynamic picture or the processed video static picture.
2. A video processing method, comprising:
receiving a video processing task sent by a client, wherein the video processing task is sent when the client receives the video processing task in the flash video playing process;
processing the video processing task according to background video file data with the same content as the video file data played by the client foreground, wherein the video processing task is a computing task for operating videos; if the video processing task is to process the video dynamic picture, acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed to obtain the video dynamic picture; if the video processing task is to process the video static picture, acquiring the video static picture data to be processed and carrying out corresponding processing to obtain a processed video static picture;
and sending the synthesized video dynamic picture or the processed video static picture to the client so that the client can display and output the synthesized video dynamic picture or the processed video static picture.
3. The video processing method of claim 2, wherein the method further comprises:
obtaining background video file data by copying the video file data played by the foreground of the client; or
And reloading the video file data with the same content as the video file data played by the foreground of the client to obtain the background video file data.
4. A client, comprising:
the video processing system comprises a sending unit, a video processing task processing unit and a video processing unit, wherein the sending unit is used for sending the video processing task to a video background server when the video processing task is received in the flash video playing process, so that the video background server can process the video processing task according to background video file data with the same content as that of video file data played by a foreground, and the video processing task is a computing task for operating videos; if the video processing task is to process the video dynamic picture, acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed to obtain the video dynamic picture; if the video processing task is to process the video static picture, acquiring the video static picture data to be processed and carrying out corresponding processing to obtain a processed video static picture;
a receiving unit, configured to receive the video dynamic picture or the processed video static picture obtained by synthesis and sent by the video backend server;
and the output unit is used for displaying and outputting the video dynamic picture or the processed video static picture which is obtained by synthesis and received by the receiving unit.
5. A video backend server, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a video processing task sent by a client, and the video processing task is sent when the client receives the video processing task in the flash video playing process;
the processing unit is used for processing the video processing task according to background video file data with the same content as the video file data played by the client foreground, wherein the video processing task is a computing task for operating videos; if the video processing task is to process the video dynamic picture, acquiring and synthesizing each frame of picture data corresponding to the video dynamic picture to be processed to obtain the video dynamic picture; if the video processing task is to process the video static picture, acquiring the video static picture data to be processed and carrying out corresponding processing to obtain a processed video static picture;
and the sending unit is used for sending the synthesized video dynamic picture or the processed video static picture to the client so that the client can display and output the synthesized video dynamic picture or the processed video static picture.
6. The video backend server of claim 5, wherein the video backend server further comprises: an acquisition unit;
the acquisition unit is used for copying the video file data played by the foreground of the client to obtain the background video file data;
the obtaining unit is further configured to reload video file data with the same content as the video file data played by the client foreground to obtain the background video file data.
7. A video processing system, comprising: the client of claim 4 and the video backend server of claim 5 or 6.
CN201610649625.XA 2016-08-09 2016-08-09 Video processing method, device and system Active CN107707930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610649625.XA CN107707930B (en) 2016-08-09 2016-08-09 Video processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610649625.XA CN107707930B (en) 2016-08-09 2016-08-09 Video processing method, device and system

Publications (2)

Publication Number Publication Date
CN107707930A CN107707930A (en) 2018-02-16
CN107707930B true CN107707930B (en) 2021-01-15

Family

ID=61168843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610649625.XA Active CN107707930B (en) 2016-08-09 2016-08-09 Video processing method, device and system

Country Status (1)

Country Link
CN (1) CN107707930B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614208A (en) * 2018-10-18 2019-04-12 平安普惠企业管理有限公司 Optimized treatment method, device, computer equipment and the storage medium of task

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945167A (en) * 2014-03-27 2014-07-23 东莞中山大学研究院 Digital family video conferencing system based on p2p
CN104581423A (en) * 2013-10-12 2015-04-29 北京航天长峰科技工业集团有限公司 Comprehensive scheduling and load balancing method for intelligent massive video analysis system
CN104837030A (en) * 2014-02-12 2015-08-12 中国电信股份有限公司 Method and system for realizing fast-forward/fast-backward playing via HTTP streaming media
CN105120337A (en) * 2015-08-28 2015-12-02 小米科技有限责任公司 Video special effect processing method, video special effect processing device and terminal equipment
CN105718250A (en) * 2014-12-03 2016-06-29 镇江金软计算机科技有限责任公司 Android platform based data processing system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4984950B2 (en) * 2007-02-16 2012-07-25 ソニー株式会社 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND PROGRAM
CN103167222B (en) * 2013-03-29 2016-06-08 北京中科大洋科技发展股份有限公司 A kind of nonlinear cloud editing system
CN104427259A (en) * 2013-09-03 2015-03-18 广州市千钧网络科技有限公司 Method and device for playing video and audio special effects in real time
CN103686450A (en) * 2013-12-31 2014-03-26 广州华多网络科技有限公司 Video processing method and system
CN105744291B (en) * 2014-12-09 2018-11-27 北京奇虎科技有限公司 Video data handling procedure and system, video playback apparatus and cloud server
CN104796767B (en) * 2015-03-31 2019-02-12 北京奇艺世纪科技有限公司 A kind of cloud video editing method and system
JP6054491B2 (en) * 2015-08-28 2016-12-27 株式会社スクウェア・エニックス Video game processing program, video game processing system, and video game processing apparatus
CN105635751B (en) * 2015-12-25 2019-01-04 北京大学第三医院 A kind of video cloud platform plays the method and device of video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581423A (en) * 2013-10-12 2015-04-29 北京航天长峰科技工业集团有限公司 Comprehensive scheduling and load balancing method for intelligent massive video analysis system
CN104837030A (en) * 2014-02-12 2015-08-12 中国电信股份有限公司 Method and system for realizing fast-forward/fast-backward playing via HTTP streaming media
CN103945167A (en) * 2014-03-27 2014-07-23 东莞中山大学研究院 Digital family video conferencing system based on p2p
CN105718250A (en) * 2014-12-03 2016-06-29 镇江金软计算机科技有限责任公司 Android platform based data processing system
CN105120337A (en) * 2015-08-28 2015-12-02 小米科技有限责任公司 Video special effect processing method, video special effect processing device and terminal equipment

Also Published As

Publication number Publication date
CN107707930A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
US10229651B2 (en) Variable refresh rate video capture and playback
CN106060655B (en) Video processing method, server and terminal
US10110936B2 (en) Web-based live broadcast
CN103283250B (en) Method, device and system of video redirection
US10332296B2 (en) Overlaying multi-source media in VRAM
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
CN107040808B (en) Method and device for processing popup picture in video playing
CN111726597A (en) Multi-channel add-on tool for coherent and complete view synthesis
CN110290398B (en) Video issuing method and device, storage medium and electronic equipment
CN112291590A (en) Video processing method and device
CN109168012B (en) Information processing method and device for terminal equipment
CN108574878B (en) Data interaction method and device
CN112218148A (en) Screen recording method and device, computer equipment and computer readable storage medium
CN111343503A (en) Video transcoding method and device, electronic equipment and storage medium
KR101915792B1 (en) System and Method for Inserting an Advertisement Using Face Recognition
CN107707930B (en) Video processing method, device and system
CN110300118B (en) Streaming media processing method, device and storage medium
CN115766695A (en) Websocket-based remote browsing method and device for real-time image of industrial camera
CN104618733A (en) Image remote projection method and related device
EP3229478B1 (en) Cloud streaming service system, image cloud streaming service method using application code, and device therefor
CN117065357A (en) Media data processing method, device, computer equipment and storage medium
CN110581960B (en) Video processing method, device, system, storage medium and processor
CN113596583A (en) Video stream bullet time data processing method and device
CN111813969A (en) Multimedia data processing method and device, electronic equipment and computer storage medium
CN113938705A (en) Method, device, server, terminal equipment and system for video coding and decoding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.