CN104243998A - Data processing method, data processing device and related servers - Google Patents

Data processing method, data processing device and related servers Download PDF

Info

Publication number
CN104243998A
CN104243998A CN201410523088.5A CN201410523088A CN104243998A CN 104243998 A CN104243998 A CN 104243998A CN 201410523088 A CN201410523088 A CN 201410523088A CN 104243998 A CN104243998 A CN 104243998A
Authority
CN
China
Prior art keywords
transcoding
server
target
source traffic
management server
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.)
Granted
Application number
CN201410523088.5A
Other languages
Chinese (zh)
Other versions
CN104243998B (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410523088.5A priority Critical patent/CN104243998B/en
Publication of CN104243998A publication Critical patent/CN104243998A/en
Priority to PCT/CN2014/095158 priority patent/WO2016049987A1/en
Application granted granted Critical
Publication of CN104243998B publication Critical patent/CN104243998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An embodiment of the invention provides a data processing method, a data processing device and related servers. The data processing method can include that a manager front-end server sets transcoding parameters according to state information of a channel where a live program is in, sends a transcoding application carrying the transcoding parameters to a transcoding management server and pushes source data flow of the live program to the transcoding management server; the transcoding management server selects a target transcoding server from at least one transcoding server and sends the transcoding application and the source data flow to the target transcoding server; the target transcoding server transcodes the source data flow according to the transcoding parameters, acquires target data flow and pushes the target data flow to the transcoding management server; the transcoding management server pushes the target date flow to the manager front-end server for outputting. By the data processing method, the data processing device and the related servers, the source data flow of the live program can be transcoded, transcoding is high in instantaneity and low in delay, actual transcoding needs of live scenes can be met, and efficiency and adaptability of data processing are improved.

Description

A kind of data processing method, device and associated server
Technical field
The present invention relates to Internet technical field, be specifically related to technical field of data processing, particularly relate to a kind of data processing method, device, front-end server, transcoding management server and transcoding server.
Background technology
Transcoding technology refers to the technology changing data format, can change by the code check of the data of transcoding or resolution simultaneously.Transcoding technology is applied in data processing scheme usually, such as: carry out transcoding process to video data, carries out transcoding process to voice data, etc.In traditional data processing scheme, mainly transcoding process is carried out to data file, such as: certain video website can carry out transcoding process to the original video files stored, obtain the target video file of multiple format, when this video file of client-requested, according to the decoding capability of client, for client chooses the video file of suitable format.But, low to the transcoding process real-time of data file in traditional data processing scheme, cannot live scene be applied to, cannot meet in live scene and postpone the transcoding demands such as low, real-time is high.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, device, front-end server, transcoding management server and transcoding server, transcoding process can be carried out to the source traffic of programme televised live, transcoding real-time is high, it is low to postpone, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Embodiment of the present invention first aspect provides a kind of data processing method, can comprise:
When receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and pushes described source traffic to described transcoding management server;
Described transcoding management server chooses target transcoding server from least one transcoding server, and described transcoding application and described source traffic are sent to described target transcoding server;
The transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream, and described target data stream is pushed to described transcoding management server;
Described target data stream is pushed to described supervisor's front-end server and exports by described transcoding management server.
Embodiment of the present invention second aspect provides another kind of data processing method, can comprise:
When receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtains target data stream and push to described transcoding management server;
Described supervisor's front-end server receives the described target data stream that described transcoding management server pushes, and exports described target data stream.
The embodiment of the present invention third aspect provides another data processing method, can comprise:
Transcoding management server receives the transcoding application of carrying transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Described transcoding management server chooses target transcoding server from least one transcoding server;
Described transcoding application and described source traffic are sent to described target transcoding server by described transcoding management server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server;
Described target data stream is pushed to described supervisor's front-end server and exports by described transcoding management server.
Embodiment of the present invention fourth aspect provides another data processing method, can comprise:
What target transcoding server reception transcoding management server sent carries the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
The transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream;
Described target data stream is pushed to described transcoding management server by described target transcoding server, to make described transcoding management server, described target data stream is pushed to described supervisor's front-end server and exports.
The embodiment of the present invention the 5th aspect provides a kind of data processing equipment, can comprise:
Parameter setting module, for when receiving the source traffic of programme televised live, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Transcoding application module, for sending the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtains target data stream and push to described transcoding management server;
Target data receiver module, for receiving the described target data stream that described transcoding management server pushes;
Target data output module, for exporting described target data stream.
The embodiment of the present invention the 6th aspect provides a kind of front-end server, can comprise the data processing equipment described in above-mentioned 5th aspect.
The embodiment of the present invention the 7th aspect provides another kind of data processing equipment, can comprise:
Transcoding application receiver module, for receiving the transcoding application of carrying described transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Choose module, for choosing target transcoding server from least one transcoding server;
Transcoded processing module, for described transcoding application and described source traffic are sent to described target transcoding server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server;
Target data pushing module, exports for described target data stream being pushed to described supervisor's front-end server.
Embodiment of the present invention eighth aspect provides a kind of transcoding management server, can comprise the data processing equipment described in above-mentioned 7th aspect.
The embodiment of the present invention the 9th aspect provides another data processing equipment, can comprise:
Transcoding application receiver module, for receive transcoding management server send carry the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Transcoded processing module, for the transcoding parameter carried according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream;
Target data pushing module, for described target data stream is pushed to described transcoding management server, pushes to described supervisor's front-end server to make described transcoding management server by described target data stream and exports.
The embodiment of the present invention the tenth aspect provides a kind of transcoding server, can comprise the data processing equipment described in above-mentioned 9th aspect.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of the data handling system that Fig. 1 provides for the embodiment of the present invention;
The flow chart of a kind of data processing method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the another kind of data processing method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of another data processing method that Fig. 4 provides for the embodiment of the present invention;
The flow chart of another data processing method that Fig. 5 provides for the embodiment of the present invention;
The flow chart of another data processing method that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of data processing equipment that Fig. 7 provides for the embodiment of the present invention;
Fig. 8 is the structural representation of the embodiment of the parameter setting module shown in Fig. 7;
Fig. 9 is the structural representation of the embodiment of the target data output module shown in Fig. 7;
The structural representation of the another kind of data processing equipment that Figure 10 provides for the embodiment of the present invention;
Figure 11 is the structural representation choosing the embodiment of module shown in Figure 10;
The structural representation of another data processing equipment that Figure 12 provides for the embodiment of the present invention;
Figure 13 is the structural representation of the embodiment of the transcoded processing module shown in Figure 12.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The data processing scheme of the embodiment of the present invention, can be applied in data handling system to carry out real-time transcoding process to the data flow of programme televised live; Wherein, the data flow of programme televised live can be live audio stream, live video stream etc.
Referring to Fig. 1, is the structural representation of the data handling system that the embodiment of the present invention provides; This data handling system can comprise main broadcaster's client, at least one spectator client, at least one front-end server, transcoding management server and at least one transcoding server.In system shown in Figure 1, main broadcaster's client, supervisor front-end server, at least one spectator client and at least one member's front-end server form live platform jointly, transcoding management server and at least one transcoding server form real-time transcoding service system jointly, real-time transcoding service system is connected with live platform, for providing real-time transcoding service for live platform.
Wherein, the space resources that programme televised live is shared in live platform, can be called channel.In at least one front-end server in live platform, each front-end server is respectively used to manage one or more channel.Any client can create channel to the front-end server application be connected with this client, front-end server can create with completing channel according to channel creation application allocation space resource, and can be this channel allocation such as: the attribute information of title, ID, access pin etc.At least one client can access in the channel created, therefore, channel can be described as again be made up of at least one client, for providing the group of space resources for the live process of programme televised live.After the client application in certain access channel obtains main broadcaster authority, the client obtaining main broadcaster's authority can be described as main broadcaster's client, and other access in this channel and the client not obtaining main broadcaster's authority then can be described as spectator client.Main broadcaster's client possess programme televised live recording, the operating right such as to upload, spectator client possesses the browse right of programme televised live.Main broadcaster's client can be such as PC (Personal Computer, personal computer), notebook computer, mobile phone, PAD (panel computer), intelligence wearable device, any one client of the band such as car-mounted terminal network function, main broadcaster's client can record the data message of programme televised live, and by the data message of programme televised live according to such as H.264 (a kind of compression of digital video form) or H.265 the stream data form such as (a kind of compression of digital video form) carry out compression process, obtain the source traffic of programme televised live and be pushed to supervisor's front-end server.Particularly, main broadcaster's client can based on TCP (Transmission Control Protocol, transmission control protocol) RTSP (the Real Time Streaming Protocol of message, real time streaming transport protocol) agreement, the source traffic of programme televised live is pushed to supervisor's front-end server.
The front-end server be connected with main broadcaster's client can be described as supervisor's front-end server, is called member's front-end server with spectator client in the front-end server be connected.Supervisor's front-end server can be used for management programme televised live place channel, at least one the member's front-end server searched all spectator client in this channel and be connected with each spectator client.Supervisor's front-end server can receive the source traffic of the programme televised live of main broadcaster's client push based on the RTSP agreement of TCP message, and the data flow of this programme televised live is pushed at least one the member's front-end server watching that all spectator client of programme televised live are corresponding, by each member's front-end server, the source traffic of programme televised live is forwarded to each spectator client further and plays.
Transcoding management server can be used for managing real-time transcoding service, includes but not limited to: the transcoding application responding live platform, manages the operating state of at least one transcoding server, carries out task scheduling etc. at least one transcoding server described.In practical application, the quantity of the transcoding management server in real-time transcoding service system can be one or more, when possessing multiple transcoding management server in real-time transcoding service system, one of them transcoding management server can as master server, for bearing transcoding management role in real-time transcoding service process, remaining transcoding management server can as standby server, for carrying out redundancy backup for master server.In order to promote transcoding efficiency, promote hardware handles performance, transcoding server in the embodiment of the present invention preferably can adopt DSP (Digital Signal Processing, Digital Signal Processing) chip, GPU (Graphic Processing Unit, graphics processing unit) chip or ASIC (Application Specific Integrated Circuit, integrated circuit) chip.
Transcoding management server is connected with live platform, and particularly, transcoding management server is connected with the supervisor's front-end server in live platform.When supervisor's front-end server detects that programme televised live exists transcoding demand, can transcoding application be sent to transcoding management server and push the source traffic of programme televised live, particularly, supervisor's front-end server can based on UDP (User Datagram Protocol, User Datagram Protoco (UDP)) the RTSP agreement of message, the source traffic of programme televised live is pushed to transcoding management server.Transcoding management server is dispatched at least one transcoding server and is accepted this transcoding application, carries out transcoding process to the source traffic of programme televised live, obtains the target data stream of programme televised live.The target data stream of programme televised live is fed back to supervisor's front-end server by transcoding management server, by each member's front-end server by supervisor's front-end server target data stream is sent to and can be play the spectator client that this target data stream is decoded.
Based on the data handling system shown in Fig. 1, below in conjunction with Fig. 2-Fig. 6, describe in detail to the data processing method that the embodiment of the present invention provides, the data processing method shown in Fig. 2-Fig. 6, can specifically perform by the one or more devices in data handling system as shown in Figure 1.
Referring to Fig. 2, is the flow chart of a kind of data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from supervisor front-end server side; The method can comprise the following steps S101-step S104.
S101, when receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter.
The state information of described channel can comprise: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described.Wherein, described transcoding parameter can comprise: target bit rate and target data form.Wherein, data format refers to the coding compression format of data flow, can include but not limited to: H.264 form, H.265 form etc.The characteristic information of described spectator client can comprise: the type information of described spectator client and the decoding capacity information of described spectator client.
Described type information comprises: mobile type or fixed type; The spectator client of mobile type can include but not limited to: notebook computer, mobile phone, intelligent wearable device etc. possess the client of portability, mobility feature; The spectator client of fixed type can include but not limited to: PC etc. possess the client of position relative immobility feature.The decoding capacity information of described spectator client refers to the information for describing the decoding capability that described spectator client possesses, such as: the decoding capacity information of certain spectator client for describe this spectator client can to 600Kbps code check, data flow H.264 decodes; Or, the decoding capacity information of certain spectator client for describe this spectator client ability to 1024Kbps code check, data flow H.265 decodes.
In this step, supervisor's front-end server can receive the source traffic of the programme televised live that main broadcaster's client sends in the channel of its management, supervisor's front-end server can obtain the state information of described programme televised live place channel, and arranges transcoding parameter according to the state information of this channel.
S102, described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtain target data stream and push to described transcoding management server.
Described supervisor's front-end server can be set up TCP with described transcoding management server and be connected, and sends the transcoding application of carrying described transcoding parameter to described transcoding management server; And based on the RTSP agreement of UDP message, described source traffic can be pushed to described transcoding management server.At least one transcoding server that described transcoding management server schedulable manages, according to the instruction of described transcoding parameter, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.
S103, described supervisor's front-end server receives the described target data stream that described transcoding management server pushes.
Described transcoding management server based on the RTSP agreement of UDP message, can push the described target data stream of transcoding acquisition to described supervisor's front-end server; Described supervisor's front-end server then based on the RTSP agreement of this UDP message, can receive the described target data stream that described transcoding management server pushes.
S104, described supervisor's front-end server exports described target data stream.
Target data stream can be exported to by each member's front-end server the spectator client can decoded to this target data stream by described supervisor's front-end server, is play this target data stream by the spectator client receiving this target data stream.In practical application, each member's front-end server can based on C/S (Client/Server, client/server) RTSP agreement or P2P (Peer to Peer, peer-to-peer network) RTSP agreement, export described target data stream to the spectator client can decoded to described target data stream.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 3, is the flow chart of the another kind of data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from transcoding management server side; The method can comprise the following steps S201-step S204.
S201, transcoding management server receives the transcoding application of carrying transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel.
The state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described; The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client; Described type information comprises: mobile type or fixed type; Described transcoding parameter comprises: target bit rate and target data form.
In this step, described transcoding management server can be set up TCP with described supervisor's front-end server and be connected, and receives the transcoding application of carrying described transcoding parameter that described supervisor's front-end server sends; And based on the RTSP agreement of UDP message, the source traffic of the programme televised live that described supervisor's front-end server pushes can be received.
S202, described transcoding management server chooses target transcoding server from least one transcoding server.
Transcoding management server can be used for managing the operating state of at least one transcoding server and carries out task scheduling at least one transcoding server described.In this step, described transcoding management server can according to the operating state of at least one transcoding server described, task scheduling is carried out at least one transcoding server described, from least one transcoding server described, chooses the target transcoding server accepting scheduler task.
S203, described transcoding application and described source traffic are sent to described target transcoding server by described transcoding management server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server.
Described transcoding management server sends described transcoding application to described target transcoding server, and based on the RTSP agreement of UDP message, can push described source traffic to described target transcoding server.The instruction of the transcoding parameter that described target transcoding server can carry according to described transcoding application, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.Described target data stream also based on the RTSP agreement of UDP message, can be pushed to described transcoding management server by described target transcoding server.
S204, described target data stream is pushed to described supervisor's front-end server and exports by described transcoding management server.
Described transcoding management server based on the RTSP agreement of UDP message, can push described target data stream to described supervisor's front-end server.Target data stream can be exported to by each member's front-end server the spectator client can decoded to this target data stream by described supervisor's front-end server, is play this target data stream by the spectator client receiving this target data stream.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 4, is the flow chart of another data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from target transcoding server side; The method can comprise the following steps S301-step S303.
S301, what target transcoding server reception transcoding management server sent carries the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel.
The state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described; The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client; Described type information comprises: mobile type or fixed type; Described transcoding parameter comprises: target bit rate and target data form.
In this step, described target transcoding server receives the described transcoding application that described transcoding management server sends, and show the scheduler task accepting described transcoding management server, and based on the RTSP agreement of UDP message, the source traffic of the programme televised live that described transcoding management server pushes can be received.
S302, the transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream.
The instruction of the transcoding parameter that described target transcoding server can carry according to described transcoding application, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.
S303, described target data stream is pushed to described transcoding management server by described target transcoding server, to make described transcoding management server, described target data stream is pushed to described supervisor's front-end server and exports.
Described target transcoding server can based on the RTSP agreement of UDP message, to the target data stream of the programme televised live that described transcoding management server pushes; Described transcoding management server then can based on the RTSP agreement of UDP message, the target data stream of described programme televised live is pushed to described supervisor's front-end server, by each member's front-end client by described supervisor's front-end server described target data stream is pushed to and can play the spectator client that described target data stream is decoded.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 5, is the flow chart of another data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from the mutual side be responsible between front-end server, transcoding management server and target transcoding server; The method can comprise the following steps S401-step S408.
S401, when receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter.
The state information of described channel can comprise: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described.Wherein, described transcoding parameter can comprise: target bit rate and target data form.Wherein, data format refers to the coding compression format of data flow, can include but not limited to: H.264 form, H.265 form etc.The characteristic information of described spectator client can comprise: the type information of described spectator client and the decoding capacity information of described spectator client.
Described type information comprises: mobile type or fixed type; The spectator client of mobile type can include but not limited to: notebook computer, mobile phone, intelligent wearable device etc. possess the client of portability, mobility feature; The spectator client of fixed type can include but not limited to: PC etc. possess the client of position relative immobility feature.The decoding capacity information of described spectator client refers to the information for describing the decoding capability that described spectator client possesses, such as: the decoding capacity information of certain spectator client for describe this spectator client can to 600Kbps code check, data flow H.264 decodes; Or, the decoding capacity information of certain spectator client for describe this spectator client can to 1024Kbps code check, data flow H.265 decodes.
In this step, supervisor's front-end server can receive the source traffic of the programme televised live that main broadcaster's client sends in the channel of its management, supervisor's front-end server can obtain the state information of described programme televised live place channel, and arranges transcoding parameter according to the state information of this channel.
S402, described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and pushes described source traffic to described transcoding management server.
Described supervisor's front-end server can be set up TCP with described transcoding management server and be connected, and sends the transcoding application of carrying described transcoding parameter to described transcoding management server; And based on the RTSP agreement of UDP message, described source traffic can be pushed to described transcoding management server.
S403, described transcoding management server chooses target transcoding server from least one transcoding server.
Described transcoding management server can be used for managing the operating state of at least one transcoding server and carries out task scheduling at least one transcoding server described.In this step, described transcoding management server can according to the operating state of at least one transcoding server described, task scheduling is carried out at least one transcoding server described, from least one transcoding server described, chooses the target transcoding server accepting scheduler task.
S404, described transcoding application and described source traffic are sent to described target transcoding server by described transcoding management server.
Described transcoding management server sends described transcoding application to described target transcoding server, and based on the RTSP agreement of UDP message, can push described source traffic to described target transcoding server.
S405, the transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream.
The instruction of the transcoding parameter that described target transcoding server can carry according to described transcoding application, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.
S406, described target data stream is pushed to described transcoding management server by described target transcoding server.
Described target data stream also based on the RTSP agreement of UDP message, can be pushed to described transcoding management server by described target transcoding server.
S407, described target data stream is pushed to described supervisor's front-end server by described transcoding management server.
Described transcoding management server based on the RTSP agreement of UDP message, can push described target data stream to described supervisor's front-end server.
S408, described supervisor's front-end server exports described target data stream.
Target data stream can be exported to by each member's front-end server the spectator client can decoded to this target data stream by described supervisor's front-end server, is play this target data stream by the spectator client receiving this target data stream.In practical application, each member's front-end server based on the RTSP agreement of the RTSP agreement of C/S or P2P, can export described target data stream to the spectator client can decoded to described target data stream.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 6, is the flow chart of another data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from the mutual side be responsible between front-end server, transcoding management server and target transcoding server; The method can comprise the following steps S501-step S517.
S501, when receiving the source traffic of the programme televised live that main broadcaster's client of being connected with described supervisor's front-end server sends, described supervisor's front-end server obtains the state information of described programme televised live place channel.
Supervisor's front-end server can receive the source traffic of the programme televised live that main broadcaster's client sends in the channel of its management, such as: supervisor's front-end server can receive the source traffic of the high-definition live broadcasting program XX that main broadcaster's client sends, the code check of this source traffic is 10Mbps, and H.264 data format is.Supervisor's front-end server can obtain the configuration file of the state information for recording each managed channel in the memory space of this locality, and from this configuration file, read the state information of described programme televised live place channel.The state information of described channel can comprise: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described.The characteristic information of described spectator client can comprise: the type information of described spectator client and the decoding capacity information of described spectator client.
S502, the spectator client that type information at least one spectator client described is mobile type by described supervisor's front-end server is defined as target audience client.
The spectator client of mobile type can include but not limited to: notebook computer, mobile phone, intelligent wearable device etc. possess the client of portability, mobility feature.Usually, there is some difference for the hardware performance of the spectator client of mobile type and the spectator client of fixed type, the hardware performance of the spectator client of mobile type is low compared to the hardware performance of the spectator client of fixed type, often cannot be competent at the decoding task of high-definition program, such as: be 10Mbps for code check, data format is the source traffic of high-definition live broadcasting program XX H.264, the hardware performance of certain cell-phone customer terminal cannot support the decoding task of this source traffic preferably, make this source traffic by after this cell-phone customer terminal decoding process, there is frame losing, Caton phenomenon, increase the power consumption of cell-phone customer terminal, the normal play affecting this source traffic exports.In this step, the spectator client that type information at least one spectator client described is mobile type by described supervisor's front-end server is defined as target audience client, thinks that determined target audience client provides real-time decoding service.
S503, described supervisor's front-end server judges whether the quantity of described target audience client is greater than predetermined number threshold value; If the quantity of described target audience client is greater than predetermined number threshold value, then proceed to step S504.
Step S503 is the optional step of the present embodiment, namely after step S502, can skip this step S503 and directly performs step S504.In this step, described predetermined number threshold value can set according to actual needs, and this predetermined number threshold value is positive integer, such as: described predetermined number threshold value can be set as 3,5,20 etc.If the quantity of described target audience client is greater than predetermined number threshold value, shows that the spectator client that there is sufficient amount in live platform waits for real-time transcoding service, then can proceed to step S504 to start subsequent decoding flow process.
S504, described supervisor's front-end server, according to the decoding capacity information of described target audience client, arranges transcoding parameter.
The decoding capacity information of described target audience client refers to the information for describing the decoding capability that described target audience client possesses, such as: the decoding capacity information of certain cell-phone customer terminal for describe this cell-phone customer terminal can to 600Kbps code check, data flow H.264 decodes, it is 600Kbps that described supervisor's front-end server then can arrange the target bit rate that transcoding parameter comprises, and H.264 target data form is; For another example: the decoding capacity information of certain PAD client for describe this PAD client can to 1024Kbps code check, data flow H.265 decodes, it is 1024Kbps that described supervisor's front-end server then can arrange the target bit rate that transcoding parameter comprises, and H.265 target data form is.
The step S501-step S504 of the present embodiment can be the concrete refinement step of step S401 embodiment illustrated in fig. 5.
S505, described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and pushes described source traffic to described transcoding management server.
Described supervisor's front-end server can based on the host-host protocol consulted with described transcoding management server, such as Transmission Control Protocol, encapsulation process is carried out to described transcoding parameter and generates transcoding application, and set up TCP with described transcoding management server and be connected, the transcoding application of carrying described transcoding parameter is sent to described transcoding management server; And based on the RTSP agreement of UDP message, described source traffic can be pushed to described transcoding management server.
S506, described transcoding management server detects the resource idleness of each transcoding server at least one transcoding server described.
Described transcoding management server can be used for managing the operating state of at least one transcoding server and carries out task scheduling at least one transcoding server described.Described transcoding management server, by detecting the resource idleness of each transcoding server at least one transcoding server described, determines the operating state of at least one transcoding server described.Usually, a transcoding task performed can take a road transcoding resource of a transcoding server, such as: certain transcoding server always co-exists in 10 road transcoding resources, currently performing 9 transcoding tasks, i.e. current occupied 9 road transcoding resources, then the resource idleness of this transcoding server is 1/10.
S507, the transcoding server that resource idleness is greater than default Tidle threshold by described transcoding management server is defined as target transcoding server.
Described default Tidle threshold is (0,1] numerical value between, described default Tidle threshold can set according to actual needs, such as: in order to ensure transcoding efficiency, reduce the processing load of transcoding server, can arrange described default Tidle threshold is 1,0.5 etc.If the resource idleness of certain transcoding server is greater than described default Tidle threshold, show that described transcoding server exists enough transcoding resources, have the ability to accept new transcoding task, the transcoding server that resource idleness then can be greater than described default Tidle threshold by described transcoding management server is defined as target transcoding server.
The step S506-step S507 of the present embodiment can be the concrete refinement step of step S403 embodiment illustrated in fig. 5.
S508, whether described transcoding management server detects described target data form is data format that described target transcoding server is supported.
Described transcoding management server can based on the host-host protocol consulted with described supervisor's front-end server, and such as Transmission Control Protocol, resolves described transcoding application, obtain described transcoding parameter.Described transcoding management server can obtain the management information of the data format supported for recording described target transcoding server from local memory space, judges the target data form whether described target transcoding server supports described transcoding parameter to comprise.
S509, if described target data form is not the data format that described target transcoding server is supported, described transcoding management server downloads upgrade file according to described target data form.
If the data format that described target data form is supported for described target transcoding server, show that described target transcoding server can complete the data format requirement of described transcoding application; If described target data form is not the data format that described target transcoding server is supported, show that described target transcoding server cannot complete the data format requirement of described transcoding application, described target transcoding server needs upgrading; Such as: if H.265 the data format included by described transcoding parameter is, H.264 described transcoding management server reads described target transcoding server institute supported data form is, then show that described target transcoding server only can carry out transcoding process to the data flow of H.264 form, transcoding process cannot be carried out to the data flow of H.265 form, described transcoding management server then determines that described target transcoding server needs to upgrade, then download upgrade file.
S510, described upgrade file is sent to described target transcoding server by described transcoding management server, adopts described upgrade file to upgrade to make described target transcoding server.
According to example shown in step S509, after described target transcoding server is upgraded, data format H.265 can be supported, the data format requirement of described transcoding application can be completed.Described transcoding management server can in management information target transcoding management server institute supported data form described in synchronized update.
S511, described transcoding application and described source traffic are sent to described target transcoding server by described transcoding management server.
Described transcoding management server based on the host-host protocol consulted between described target transcoding server, can send described transcoding application and described source traffic to described target transcoding server.In specific implementation, the process of transmitting of this step can comprise:
A, described transcoding management server can send the transcoding application of not carrying described transcoding parameter to described target transcoding server, described target transcoding server receives this when not carrying the transcoding application of described transcoding parameter, self-inspection can be carried out, such as: check whether this transcoding task corresponding to transcoding application repeats; Or check that whether local transcoding resource is enough etc., if transcoding task does not repeat, and local transcoding resource is enough, then can return to described transcoding management server and successfully accept information.
B, described transcoding management server receive after success that described target transcoding server returns accepts information, then transmit described transcoding parameter to described target transcoding server.Realize in application, described transcoding parameter can adopt the mode of transcoding configuration words (AVCDecoderConfigurationRecord) to transmit, and the structure of this transcoding configuration words can be expressed as follows:
AVCDecoderConfigurationRecord=
unit32_t?uri(104)+
unit32_t?length;
unit32_t?reserve;
unit64_t?originalStreamID+;
unit32_t?originalFarmePerSec+;
unit32_t?avcSize;
string?avcContent;
Described target transcoding server receives described transcoding configuration words, and returns configuration successful information to described transcoding management server.It should be noted that, the present embodiment also can arrange disaster tolerance mechanism, described target transcoding server can detect whether in Preset Time (such as: 30s, 40s etc.), receive described transcoding configuration words, if receive described transcoding configuration words in Preset Time, show that there is reliable, stable transmission between described target transcoding server with described transcoding management server is connected; If do not receive described transcoding configuration words in Preset Time, show that the transmission between described target transcoding server with described transcoding management server is connected instability, be not suitable for carrying out transcoding process, now described target transcoding server can return configuration failure information to described transcoding management server.
After c, described transcoding management server receive described configuration successful information, then based on the RTSP agreement of UDP message, described source traffic can be pushed to described transcoding management server.
S512, described target transcoding server judges whether the present frame of the described source traffic received is key frame.
S513, if the present frame of described source traffic is key frame, the code check of described source traffic is converted into target bit rate by described target transcoding server, and is described target data form by the Data Format Transform of described source traffic, obtains target data stream.
Source traffic is made up of key frame and non-key frame, and key frame is the important frame in source traffic, can ensure complete reconstruction when decoding; For live video stream, live video stream can be made up of I frame and P frame, and I frame is wherein the key frame of live video stream, and P frame is the non-key frame of live video stream, can reconstruct complete image when I frame can ensure decoding.If the present frame of described source traffic is non-key frame, described target transcoding server then abandons the present frame of described source traffic, and continue receive described source traffic carry out step S512 repeat judge, till the key frame receiving described source traffic; For live video stream, step S512 judges whether the present frame of the live video stream received is I frame, if the present frame of the live video stream received is P frame, then abandon and continue to judge, if the present frame of the live video stream received is I frame, then stop abandoning and the judgement of step S512, proceed to step S513 and carry out transcoding process from I frame, source traffic is converted into target data stream.
Step S512-step S513 can be the concrete refinement step of step S405 embodiment illustrated in fig. 5.Step S512-step S513 can ensure that described target transcoding server carries out transcoding process from the key frame of described source traffic, thus ensures the accuracy of the target data stream that transcoding obtains.
S514, described target data stream is pushed to described transcoding management server by described target transcoding server.
Described target data stream also based on the RTSP agreement of UDP message, can be pushed to described transcoding management server by described target transcoding server.
S515, described target data stream is pushed to described supervisor's front-end server by described transcoding management server.
Described transcoding management server based on the RTSP agreement of UDP message, can push described target data stream to described supervisor's front-end server.
S516, described supervisor's front-end server searches the target members's front-end server be connected with described target audience client.
Because the real-time transcoding processing procedure of the present embodiment is served by described target audience client, therefore, described target audience client is the spectator client can decoded to described target data stream.
S517, described supervisor's front-end server pushes described target data stream to described target members's front-end server, exports described target data stream to described target audience client to make described target members's front-end server.
In practical application, described target members's front-end server based on the RTSP agreement of the RTSP agreement of C/S or P2P, can export described target data stream to flowing to described target audience client to described target data.
Step S516-step S517 can be the concrete refinement step of step S408 embodiment illustrated in fig. 5.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Below in conjunction with accompanying drawing 7-accompanying drawing 9, a kind of data processing equipment that the embodiment of the present invention provides is described in detail.This device can run in a front-end server, specifically can run in supervisor's front-end server, to be applied in method shown in above-mentioned Fig. 2-Fig. 6.
Referring to Fig. 7, is the structural representation of a kind of data processing equipment that the embodiment of the present invention provides; This device can comprise: parameter setting module 101, transcoding application module 102, target data receiver module 103 and target data output module 104.
Parameter setting module 101, for when receiving the source traffic of programme televised live, according to the state information of described programme televised live place channel, arranges transcoding parameter.
The state information of described channel can comprise: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described.Wherein, described transcoding parameter can comprise: target bit rate and target data form.Wherein, data format refers to the coding compression format of data flow, can include but not limited to: H.264 form, H.265 form etc.The characteristic information of described spectator client can comprise: the type information of described spectator client and the decoding capacity information of described spectator client.
Described type information comprises: mobile type or fixed type; The spectator client of mobile type can include but not limited to: notebook computer, mobile phone, intelligent wearable device etc. possess the client of portability, mobility feature; The spectator client of fixed type can include but not limited to: PC etc. possess the client of position relative immobility feature.The decoding capacity information of described spectator client refers to the information for describing the decoding capability that described spectator client possesses, such as: the decoding capacity information of certain spectator client for describe this spectator client can to 600Kbps code check, data flow H.264 decodes; Or, the decoding capacity information of certain spectator client for describe this spectator client ability to 1024Kbps code check, data flow H.265 decodes.
Described parameter setting module 101 can receive the source traffic of the programme televised live that main broadcaster's client sends in the channel of its management, described parameter setting module 101 can obtain the state information of described programme televised live place channel, and arranges transcoding parameter according to the state information of this channel.
Transcoding application module 102, for sending the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtains target data stream and push to described transcoding management server.
Described supervisor's front-end server can be set up TCP with described transcoding management server and be connected, and described transcoding application module 102 can connect the transcoding application of carrying described transcoding parameter to described transcoding management server transmission based on this TCP; And based on the RTSP agreement of UDP message, described source traffic can be pushed to described transcoding management server.At least one transcoding server that described transcoding management server schedulable manages, according to the instruction of described transcoding parameter, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.
Target data receiver module 103, for receiving the described target data stream that described transcoding management server pushes.
Described transcoding management server based on the RTSP agreement of UDP message, can push the described target data stream of transcoding acquisition to described supervisor's front-end server; Described target data receiver module 103 based on the RTSP agreement of this UDP message, can receive the described target data stream that described transcoding management server pushes.
Target data output module 104, for exporting described target data stream.
Target data stream can be exported to by each member's front-end server the spectator client can decoded to this target data stream by described target data output module 104, is play this target data stream by the spectator client receiving this target data stream.In practical application, each member's front-end server based on the RTSP agreement of the RTSP agreement of C/S or P2P, can export described target data stream to the spectator client can decoded to described target data stream.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 8, is the structural representation of the embodiment of the parameter setting module shown in Fig. 7; This parameter setting module 101 can comprise: state information acquisition unit 1101, target determination unit 1102 and parameter set unit 1103.
State information acquisition unit 1101, for when receiving the source traffic of the programme televised live that main broadcaster's client of being connected with described supervisor's front-end server sends, obtains the state information of described programme televised live place channel.
The source traffic of the programme televised live that main broadcaster's client sends is received in the channel that described state information acquisition unit 1101 can manage at described supervisor's front-end server, such as: described state information acquisition unit 1101 can receive the source traffic of the high-definition live broadcasting program XX that main broadcaster's client sends, the code check of this source traffic is 10Mbps, and H.264 data format is.Described state information acquisition unit 1101 can obtain the configuration file of the state information for recording each managed channel from the memory space of described supervisor's front-end server, and from this configuration file, read the state information of described programme televised live place channel.The state information of described channel can comprise: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described.The characteristic information of described spectator client can comprise: the type information of described spectator client and the decoding capacity information of described spectator client.
Target determination unit 1102, is defined as target audience client for the spectator client being mobile type by type information at least one spectator client described.
The spectator client of mobile type can include but not limited to: notebook computer, mobile phone, intelligent wearable device etc. possess the client of portability, mobility feature.Usually, there is some difference for the hardware performance of the spectator client of mobile type and the spectator client of fixed type, the hardware performance of the spectator client of mobile type is low compared to the hardware performance of the spectator client of fixed type, often cannot be competent at the decoding task of high-definition program, such as: be 10Mbps for code check, data format is the source traffic of high-definition live broadcasting program XX H.264, the hardware performance of certain cell-phone customer terminal cannot support the decoding task of this source traffic preferably, make this source traffic by after this cell-phone customer terminal decoding process, there is frame losing, Caton phenomenon, increase the power consumption of cell-phone customer terminal, the normal play affecting this source traffic exports.The spectator client that type information at least one spectator client described is mobile type by described target determination unit 1102 is defined as target audience client, thinks that determined target audience client provides real-time decoding service.
Parameter set unit 1103, for the decoding capacity information according to described target audience client, arranges transcoding parameter.
The decoding capacity information of described target audience client refers to the information for describing the decoding capability that described target audience client possesses, such as: the decoding capacity information of certain cell-phone customer terminal for describe this cell-phone customer terminal can to 600Kbps code check, data flow H.264 decodes, it is 600Kbps that described parameter set unit 1103 can arrange the target bit rate that transcoding parameter comprises, and H.264 target data form is; For another example: the decoding capacity information of certain PAD client for describe this PAD client can to 1024Kbps code check, data flow H.265 decodes, it is 1024Kbps that described parameter set unit 1103 can arrange the target bit rate that transcoding parameter comprises, and H.265 target data form is.
Alternatively, this parameter setting module 101 also can comprise: quantity judging unit 1104.
Quantity judging unit 1104, for judging whether the quantity of described target audience client is greater than predetermined number threshold value, if the quantity of described target audience client is greater than predetermined number threshold value, then notify the decoding capacity information of described parameter set unit according to described target audience client, transcoding parameter is set.
Described predetermined number threshold value can set according to actual needs, and this predetermined number threshold value is positive integer, such as: described predetermined number threshold value can be set as 3,5,20 etc.If the quantity of described target audience client is greater than predetermined number threshold value, show that the spectator client that there is sufficient amount in live platform waits for real-time transcoding service, described quantity judging unit 1104 can notify that described parameter set unit arranges transcoding parameter.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Fig. 9, is the structural representation of the embodiment of the target data output module shown in Fig. 7; This target data output module 104 can comprise: search unit 1401 and output unit 1402.
Search unit 1401, for searching the target members's front-end server be connected with described target audience client.Due to real-time transcoding processing procedure by described target audience client is served, therefore, described target audience client is the spectator client can decoded to described target data stream.
Output unit 1402, for pushing described target data stream to described target members's front-end server, exports described target data stream to described target audience client to make described target members's front-end server.
In practical application, described target members's front-end server based on the RTSP agreement of the RTSP agreement of C/S or P2P, can export described target data stream to flowing to described target audience client to described target data.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
The embodiment of the invention also discloses a kind of front-end server, this front-end server can be supervisor's front-end server, this supervisor's front-end server comprises a data processing equipment, the 26S Proteasome Structure and Function of this data processing equipment see the associated description of above-mentioned Fig. 7-embodiment illustrated in fig. 9, can be not repeated herein.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Below in conjunction with accompanying drawing 10-accompanying drawing 11, the another kind of data processing equipment that the embodiment of the present invention provides is described in detail.This device can run in transcoding management server, to be applied in method shown in above-mentioned Fig. 2-Fig. 6.
Referring to Figure 10, is the structural representation of the another kind of data processing equipment that the embodiment of the present invention provides; This device can comprise: transcoding application receiver module 201, choose module 202, transcoded processing module 203 and target data pushing module 204.
Transcoding application receiver module 201, for receiving the transcoding application of carrying described transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel.
The state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described; The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client; Described type information comprises: mobile type or fixed type; Described transcoding parameter comprises: target bit rate and target data form.
Described transcoding management server can be set up TCP with described supervisor's front-end server and be connected, described transcoding application receiver module 201 can connect based on this TCP the transcoding application of carrying described transcoding parameter receiving described supervisor's front-end server and send, and based on the RTSP agreement of UDP message, the source traffic of the programme televised live that described supervisor's front-end server pushes can be received.
Choose module 202, for choosing target transcoding server from least one transcoding server.
Transcoding management server can be used for managing the operating state of at least one transcoding server and carries out task scheduling at least one transcoding server described.Described module 202 of choosing according to the operating state of at least one transcoding server described, can carry out task scheduling at least one transcoding server described, chooses the target transcoding server accepting scheduler task from least one transcoding server described.
Transcoded processing module 203, for described transcoding application and described source traffic are sent to described target transcoding server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server.
Described transcoded processing module 203 sends described transcoding application to described target transcoding server, and based on the RTSP agreement of UDP message, can push described source traffic to described target transcoding server.The instruction of the transcoding parameter that described target transcoding server can carry according to described transcoding application, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.Described target data stream also based on the RTSP agreement of UDP message, can be pushed to described transcoding management server by described target transcoding server.
Target data pushing module 204, exports for described target data stream being pushed to described supervisor's front-end server.
Described target data pushing module 204 based on the RTSP agreement of UDP message, can push described target data stream to described supervisor's front-end server.Target data stream can be exported to by each member's front-end server the spectator client can decoded to this target data stream by described supervisor's front-end server, is play this target data stream by the spectator client receiving this target data stream.
Alternatively, this device also can comprise: upgrading detection module 205, download module 206 and upgraded module 207.
Whether upgrading detection module 205 is data format that described target transcoding server is supported for detecting described target data form.
Described upgrading detection module 205 can based on the host-host protocol consulted with described supervisor's front-end server, and such as Transmission Control Protocol, resolves described transcoding application, obtain described transcoding parameter.Described upgrading detection module 205 can obtain the management information of the data format supported for recording described target transcoding server from the memory space of described transcoding management server, judges the target data form whether described target transcoding server supports described transcoding parameter to comprise.
Download module 206, if be not the data format that described target transcoding server is supported for described target data form, downloads upgrade file according to described target data form.
If the data format that described target data form is supported for described target transcoding server, show that described target transcoding server can complete the data format requirement of described transcoding application; If described target data form is not the data format that described target transcoding server is supported, show that described target transcoding server cannot complete the data format requirement of described transcoding application, described target transcoding server needs upgrading; Such as: if H.265 the data format included by described transcoding parameter is, H.264 described upgrading detection module 205 reads described target transcoding server institute supported data form is, then show that described target transcoding server only can carry out transcoding process to the data flow of H.264 form, transcoding process cannot be carried out to the data flow of H.265 form, described target transcoding server needs to upgrade, and described download module 206 downloads upgrade file.
Upgraded module 207, for described upgrade file is sent to described target transcoding server, adopts described upgrade file to upgrade to make described target transcoding server.
According to the example in the present embodiment, after described target transcoding server is upgraded, data format H.265 can be supported, the data format requirement of described transcoding application can be completed.Described transcoding management server can in management information target transcoding management server institute supported data form described in synchronized update.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Figure 11, is the structural representation choosing the embodiment of module shown in Figure 10; This is chosen module 202 and can comprise: resources measurement unit 2201 and determining unit 2202.
Resources measurement unit 2201, for detecting the resource idleness of each transcoding server at least one transcoding server described.
Described transcoding management server can be used for managing the operating state of at least one transcoding server and carries out task scheduling at least one transcoding server described.Described resources measurement unit 2201, by detecting the resource idleness of each transcoding server at least one transcoding server described, determines the operating state of at least one transcoding server described.Usually, a transcoding task performed can take a road transcoding resource of a transcoding server, such as: certain transcoding server always co-exists in 10 road transcoding resources, currently performing 9 transcoding tasks, i.e. current occupied 9 road transcoding resources, then the resource idleness of this transcoding server is 1/10.
Determining unit 2202, is defined as target transcoding server for transcoding server resource idleness being greater than default Tidle threshold.
Described default Tidle threshold is (0,1] numerical value between, described default Tidle threshold can set according to actual needs, such as: in order to ensure transcoding efficiency, reduce the processing load of transcoding server, can arrange described default Tidle threshold is 1,0.5 etc.If the resource idleness of certain transcoding server is greater than described default Tidle threshold, show that described transcoding server exists enough transcoding resources, have the ability to accept new transcoding task, the transcoding server that resource idleness can be greater than described default Tidle threshold by described determining unit 2202 is defined as target transcoding server.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
The embodiment of the invention also discloses a kind of transcoding management server, this transcoding management server can comprise a data processing equipment, and the 26S Proteasome Structure and Function of this data processing equipment see the associated description of Figure 10-embodiment illustrated in fig. 11, can be not repeated herein.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Below in conjunction with accompanying drawing 12-accompanying drawing 13, another data processing equipment that the embodiment of the present invention provides is described in detail.This device can run in a transcoding server, specifically can run in target transcoding server, to be applied in method shown in above-mentioned Fig. 2-Fig. 6.
Referring to Figure 12, is the structural representation of another data processing equipment that the embodiment of the present invention provides; This device can comprise: transcoding application receiver module 301, transcoded processing module 302 and target data pushing module 303.
Transcoding application receiver module 301, for receive transcoding management server send carry the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel.
The state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described; The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client; Described type information comprises: mobile type or fixed type; Described transcoding parameter comprises: target bit rate and target data form.
Described transcoding application receiver module 301 receives the described transcoding application that described transcoding management server sends, and show the scheduler task accepting described transcoding management server, and based on the RTSP agreement of UDP message, the source traffic of the programme televised live that described transcoding management server pushes can be received.
Transcoded processing module 302, for the transcoding parameter carried according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream.
The instruction of the transcoding parameter that described transcoded processing module 302 can be carried according to described transcoding application, is converted into the target data stream of described programme televised live by the source traffic of described programme televised live.
Target data pushing module 303, for described target data stream is pushed to described transcoding management server, pushes to described supervisor's front-end server to make described transcoding management server by described target data stream and exports.
Described target data pushing module 303 can based on the RTSP agreement of UDP message, to the target data stream of the programme televised live that described transcoding management server pushes; Described transcoding management server then can based on the RTSP agreement of UDP message, the target data stream of described programme televised live is pushed to described supervisor's front-end server, by each member's front-end client by described supervisor's front-end server described target data stream is pushed to and can play the spectator client that described target data stream is decoded.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
Referring to Figure 13, is the structural representation of the embodiment of the transcoded processing module shown in Figure 12; This transcoded processing module 302 can comprise: frame judging unit 3201 and transcoding processing unit 3202..
Frame judging unit 3201, for judging whether the present frame of the described source traffic received is key frame.
Transcoding processing unit 3202, if be key frame for the present frame of described source traffic, is converted into target bit rate by the code check of described source traffic, and is described target data form by the Data Format Transform of described source traffic, obtains target data stream.
Source traffic is made up of key frame and non-key frame, and key frame is the important frame in source traffic, can ensure complete reconstruction when decoding; For live video stream, live video stream can be made up of I frame and P frame, and I frame is wherein the key frame of live video stream, and P frame is the non-key frame of live video stream, can reconstruct complete image when I frame can ensure decoding.If described frame judging unit 3201 judges that the present frame of described source traffic is non-key frame, described target transcoding server then abandons the present frame of described source traffic, described frame judging unit 3201 continues to receive described source traffic and carries out repeating to judge, till the key frame receiving described source traffic; For live video stream, described frame judging unit 3201 judges whether the present frame of the live video stream received is I frame, if the present frame of the live video stream received is P frame, then abandon and continue to judge, if the present frame of the live video stream received is I frame, then stop abandoning and judging, described transcoding processing unit 3202 carries out transcoding process from I frame, and source traffic is converted into target data stream.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
The embodiment of the invention also discloses a kind of transcoding server, this transcoding server can be target transcoding server, this target transcoding server can comprise a data processing equipment, the 26S Proteasome Structure and Function of this data processing equipment see the associated description of Figure 12-embodiment illustrated in fig. 13, can be not repeated herein.
In the embodiment of the present invention, can by supervisor's front-end server according to the state information of programme televised live place channel, transcoding parameter is set, and the transcoding application and propelling movement source traffic of carrying this transcoding parameter is sent to transcoding management server, by described transcoding management server regulation goal transcoding server according to transcoding parameter, transcoding process is carried out to described source traffic and obtains target data stream and final output, owing to directly carrying out transcoding process to source traffic in the process of programme televised live, transcoding real-time is high, postpone low, the actual transcoding demand of live scene can be met, promote efficiency and the suitability of data processing.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (26)

1. a data processing method, is characterized in that, comprising:
When receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and pushes described source traffic to described transcoding management server;
Described transcoding management server chooses target transcoding server from least one transcoding server, and described transcoding application and described source traffic are sent to described target transcoding server;
The transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream, and described target data stream is pushed to described transcoding management server;
Described target data stream is pushed to described supervisor's front-end server and exports by described transcoding management server.
2. the method for claim 1, it is characterized in that, the state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described;
The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client;
Described type information comprises: mobile type or fixed type;
Described transcoding parameter comprises: target bit rate and target data form.
3. method as claimed in claim 2, is characterized in that, described when receiving the source traffic of programme televised live, and supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter, comprising:
When receiving the source traffic of the programme televised live that main broadcaster's client of being connected with described supervisor's front-end server sends, described supervisor's front-end server obtains the state information of described programme televised live place channel;
The spectator client that type information at least one spectator client described is mobile type by described supervisor's front-end server is defined as target audience client;
Described supervisor's front-end server, according to the decoding capacity information of described target audience client, arranges transcoding parameter.
4. method as claimed in claim 3, it is characterized in that, described supervisor's front-end server, according to the decoding capacity information of described target audience client, before arranging transcoding parameter, also comprises:
Described supervisor's front-end server judges whether the quantity of described target audience client is greater than predetermined number threshold value;
If the quantity of described target audience client is greater than predetermined number threshold value, described supervisor's front-end server then performs the decoding capacity information according to described target audience client, arranges the step of transcoding parameter.
5. method as claimed in claim 2, it is characterized in that, described transcoding management server chooses target transcoding server from least one transcoding server, comprising:
Described transcoding management server detects the resource idleness of each transcoding server at least one transcoding server described;
The transcoding server that resource idleness is greater than default Tidle threshold by described transcoding management server is defined as target transcoding server.
6. method as claimed in claim 2, is characterized in that, described described transcoding application and described source traffic are sent to described target transcoding server before, also comprise:
Whether described transcoding management server detects described target data form is data format that described target transcoding server is supported;
If described target data form is not the data format that described target transcoding server is supported, described transcoding management server downloads upgrade file according to described target data form;
Described upgrade file is sent to described target transcoding server by described transcoding management server, adopts described upgrade file to upgrade to make described target transcoding server.
7. method as claimed in claim 2, is characterized in that the transcoding parameter that described target transcoding server carries according to described transcoding application carries out transcoding process to described source traffic, obtains target data stream, comprising:
Described target transcoding server judges whether the present frame of the described source traffic received is key frame;
If the present frame of described source traffic is key frame, the code check of described source traffic is converted into target bit rate by described target transcoding server, and is described target data form by the Data Format Transform of described source traffic, obtains target data stream.
8. the method as described in claim 3 or 4, is characterized in that, described supervisor's front-end server exports described target data stream, comprising:
Described supervisor's front-end server searches the target members's front-end server be connected with described target audience client;
Described supervisor's front-end server pushes described target data stream to described target members's front-end server, exports described target data stream to described target audience client to make described target members's front-end server.
9. a data processing method, is characterized in that, comprising:
When receiving the source traffic of programme televised live, supervisor's front-end server, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Described supervisor's front-end server sends the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtains target data stream and push to described transcoding management server;
Described supervisor's front-end server receives the described target data stream that described transcoding management server pushes, and exports described target data stream.
10. a data processing method, is characterized in that, comprising:
Transcoding management server receives the transcoding application of carrying transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Described transcoding management server chooses target transcoding server from least one transcoding server;
Described transcoding application and described source traffic are sent to described target transcoding server by described transcoding management server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server;
Described target data stream is pushed to described supervisor's front-end server and exports by described transcoding management server.
11. 1 kinds of data processing methods, is characterized in that, comprising:
What target transcoding server reception transcoding management server sent carries the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
The transcoding parameter that described target transcoding server carries according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream;
Described target data stream is pushed to described transcoding management server by described target transcoding server, to make described transcoding management server, described target data stream is pushed to described supervisor's front-end server and exports.
12. 1 kinds of data processing equipments, is characterized in that, comprising:
Parameter setting module, for when receiving the source traffic of programme televised live, according to the state information of described programme televised live place channel, arranges transcoding parameter;
Transcoding application module, for sending the transcoding application of carrying described transcoding parameter to transcoding management server, and push described source traffic to described transcoding management server, from at least one transcoding server, target transcoding server is chosen to make described transcoding management server, and described transcoding application and described source traffic are sent to described target transcoding server, the transcoding parameter carried according to described transcoding application by described target transcoding server, transcoding process is carried out to described source traffic, obtains target data stream and push to described transcoding management server;
Target data receiver module, for receiving the described target data stream that described transcoding management server pushes;
Target data output module, for exporting described target data stream.
13. devices as claimed in claim 12, it is characterized in that, the state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described;
The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client;
Described type information comprises: mobile type or fixed type;
Described transcoding parameter comprises: target bit rate and target data form.
14. devices as claimed in claim 13, it is characterized in that, described parameter setting module comprises:
State information acquisition unit, for when receiving the source traffic of the programme televised live that main broadcaster's client of being connected with described supervisor's front-end server sends, obtains the state information of described programme televised live place channel;
Target determination unit, is defined as target audience client for the spectator client being mobile type by type information at least one spectator client described;
Parameter set unit, for the decoding capacity information according to described target audience client, arranges transcoding parameter.
15. devices as claimed in claim 14, it is characterized in that, described parameter setting module also comprises:
Quantity judging unit, for judging whether the quantity of described target audience client is greater than predetermined number threshold value, if the quantity of described target audience client is greater than predetermined number threshold value, then notify the decoding capacity information of described parameter set unit according to described target audience client, transcoding parameter is set.
16. devices as described in claims 14 or 15, it is characterized in that, described target data output module comprises:
Search unit, for searching the target members's front-end server be connected with described target audience client;
Output unit, for pushing described target data stream to described target members's front-end server, exports described target data stream to described target audience client to make described target members's front-end server.
17. 1 kinds of front-end servers, is characterized in that, comprise the data processing equipment as described in any one of claim 12-16.
18. 1 kinds of data processing equipments, is characterized in that, comprising:
Transcoding application receiver module, for receiving the transcoding application of carrying described transcoding parameter that supervisor's front-end server sends, and receive the source traffic of the programme televised live that described supervisor's front-end server pushes, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Choose module, for choosing target transcoding server from least one transcoding server;
Transcoded processing module, for described transcoding application and described source traffic are sent to described target transcoding server, with the transcoding parameter making described target transcoding server carry according to described transcoding application, transcoding process is carried out to described source traffic, obtain target data stream, and described target data stream is pushed to described transcoding management server;
Target data pushing module, exports for described target data stream being pushed to described supervisor's front-end server.
19. devices as claimed in claim 18, it is characterized in that, the state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described;
The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client;
Described type information comprises: mobile type or fixed type;
Described transcoding parameter comprises: target bit rate and target data form.
20. devices as claimed in claim 19, is characterized in that, described in choose module and comprise:
Resources measurement unit, for detecting the resource idleness of each transcoding server at least one transcoding server described;
Determining unit, is defined as target transcoding server for transcoding server resource idleness being greater than default Tidle threshold.
21. devices as claimed in claim 19, is characterized in that, also comprise:
Whether upgrading detection module is data format that described target transcoding server is supported for detecting described target data form;
Download module, if be not the data format that described target transcoding server is supported for described target data form, downloads upgrade file according to described target data form;
Upgraded module, for described upgrade file is sent to described target transcoding server, adopts described upgrade file to upgrade to make described target transcoding server.
22. 1 kinds of transcoding management servers, is characterized in that, comprise the data processing equipment as described in any one of claim 18-21.
23. 1 kinds of data processing equipments, is characterized in that, comprising:
Transcoding application receiver module, for receive transcoding management server send carry the transcoding application of transcoding parameter and the source traffic of programme televised live, wherein, described transcoding application and described source traffic are obtained from the reception of supervisor's front-end server by described transcoding management server, described transcoding parameter be described supervisor's front-end server when receiving the source traffic of described programme televised live, set by the state information of described programme televised live place channel;
Transcoded processing module, for the transcoding parameter carried according to described transcoding application, carries out transcoding process to described source traffic, obtains target data stream;
Target data pushing module, for described target data stream is pushed to described transcoding management server, pushes to described supervisor's front-end server to make described transcoding management server by described target data stream and exports.
24. devices as claimed in claim 23, it is characterized in that, the state information of described channel comprises: the characteristic information accessing at least one spectator client of described channel, and the mark of at least one member's front-end server that is connected with at least one spectator client described;
The characteristic information of described spectator client comprises: the type information of described spectator client and the decoding capacity information of described spectator client;
Described type information comprises: mobile type or fixed type;
Described transcoding parameter comprises: target bit rate and target data form.
25. devices as claimed in claim 24, it is characterized in that, described transcoded processing module comprises:
Frame judging unit, for judging whether the present frame of the described source traffic received is key frame;
Transcoding processing unit, if be key frame for the present frame of described source traffic, is converted into target bit rate by the code check of described source traffic, and is described target data form by the Data Format Transform of described source traffic, obtains target data stream.
26. 1 kinds of transcoding servers, is characterized in that, comprise the data processing equipment as described in any one of claim 23-25.
CN201410523088.5A 2014-09-29 2014-09-29 A kind of data processing method, device and associated server Active CN104243998B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410523088.5A CN104243998B (en) 2014-09-29 2014-09-29 A kind of data processing method, device and associated server
PCT/CN2014/095158 WO2016049987A1 (en) 2014-09-29 2014-12-26 Data processing method and apparatus, and related servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410523088.5A CN104243998B (en) 2014-09-29 2014-09-29 A kind of data processing method, device and associated server

Publications (2)

Publication Number Publication Date
CN104243998A true CN104243998A (en) 2014-12-24
CN104243998B CN104243998B (en) 2018-01-09

Family

ID=52231215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410523088.5A Active CN104243998B (en) 2014-09-29 2014-09-29 A kind of data processing method, device and associated server

Country Status (2)

Country Link
CN (1) CN104243998B (en)
WO (1) WO2016049987A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016049987A1 (en) * 2014-09-29 2016-04-07 广州华多网络科技有限公司 Data processing method and apparatus, and related servers
CN105721885A (en) * 2016-03-25 2016-06-29 腾讯科技(深圳)有限公司 Method, device and system for processing transcoding data
CN105959712A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Video live broadcasting method and device
CN105959716A (en) * 2016-05-13 2016-09-21 武汉斗鱼网络科技有限公司 Method and system for automatically recommending definition based on user equipment
CN106534900A (en) * 2016-11-24 2017-03-22 天脉聚源(北京)科技有限公司 Method and device for uploading live broadcast video streams
CN107682710A (en) * 2017-10-11 2018-02-09 湖南纽曼车联网科技有限公司 A kind of net cast method and live broadcast system
CN107846605A (en) * 2017-01-19 2018-03-27 湖南快乐阳光互动娱乐传媒有限公司 Main broadcaster end stream medium data generation system and method, network direct broadcasting system and method
WO2018086417A1 (en) * 2016-11-10 2018-05-17 广州华多网络科技有限公司 Microphone alternating live broadcast method, apparatus and system
CN108495136A (en) * 2018-03-09 2018-09-04 网宿科技股份有限公司 A kind of method and system that direct broadcast service is provided
CN109639486A (en) * 2018-12-13 2019-04-16 杭州当虹科技股份有限公司 A kind of cloud host elastic telescopic method based on live streaming
WO2019119633A1 (en) * 2017-12-19 2019-06-27 平安科技(深圳)有限公司 Live video transcoding device, method and computer readable storage medium
CN110740296A (en) * 2019-09-30 2020-01-31 视联动力信息技术股份有限公司 method and device for processing video stream monitored by video network
CN111163335A (en) * 2019-12-31 2020-05-15 深圳市瑞讯云技术有限公司 Video processing method and device for distributed server
CN111541884A (en) * 2020-05-07 2020-08-14 深圳市亿联智能有限公司 High-compatibility network streaming media distribution system
CN112004104A (en) * 2020-01-13 2020-11-27 张益兰 Video data processing method and server based on Internet of things and live webcasting
CN112188212A (en) * 2020-10-12 2021-01-05 杭州电子科技大学 Method and device for intelligent transcoding of high-definition monitoring video

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125502B (en) * 2021-11-19 2023-11-24 武汉中科通达高新技术股份有限公司 Video stream management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263959A (en) * 2011-08-08 2011-11-30 中国电信股份有限公司 Direct broadcast transfer method and system
CN102404567A (en) * 2011-11-03 2012-04-04 深圳市融创天下科技股份有限公司 System and method for transcoding network monitoring video in real time according to need
CN102882829A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Transcoding method and system
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
US20140344415A1 (en) * 2011-09-16 2014-11-20 Tencent Technology (Shenzhen) Company Limited Mobile multimedia real-time transcoding system, apparatus, storage medium and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243998B (en) * 2014-09-29 2018-01-09 广州华多网络科技有限公司 A kind of data processing method, device and associated server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882829A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Transcoding method and system
CN102263959A (en) * 2011-08-08 2011-11-30 中国电信股份有限公司 Direct broadcast transfer method and system
US20140344415A1 (en) * 2011-09-16 2014-11-20 Tencent Technology (Shenzhen) Company Limited Mobile multimedia real-time transcoding system, apparatus, storage medium and method
CN102404567A (en) * 2011-11-03 2012-04-04 深圳市融创天下科技股份有限公司 System and method for transcoding network monitoring video in real time according to need
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016049987A1 (en) * 2014-09-29 2016-04-07 广州华多网络科技有限公司 Data processing method and apparatus, and related servers
CN105721885A (en) * 2016-03-25 2016-06-29 腾讯科技(深圳)有限公司 Method, device and system for processing transcoding data
CN105721885B (en) * 2016-03-25 2019-12-20 腾讯科技(深圳)有限公司 Method, device and system for processing transcoding data
CN105959712A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Video live broadcasting method and device
CN105959716A (en) * 2016-05-13 2016-09-21 武汉斗鱼网络科技有限公司 Method and system for automatically recommending definition based on user equipment
WO2018086417A1 (en) * 2016-11-10 2018-05-17 广州华多网络科技有限公司 Microphone alternating live broadcast method, apparatus and system
US10834432B2 (en) 2016-11-10 2020-11-10 Guangzhou Huaduo Network Technology Co., Ltd. Method, device and system for in-sequence live streaming
CN106534900A (en) * 2016-11-24 2017-03-22 天脉聚源(北京)科技有限公司 Method and device for uploading live broadcast video streams
CN107846605A (en) * 2017-01-19 2018-03-27 湖南快乐阳光互动娱乐传媒有限公司 Main broadcaster end stream medium data generation system and method, network direct broadcasting system and method
CN107682710A (en) * 2017-10-11 2018-02-09 湖南纽曼车联网科技有限公司 A kind of net cast method and live broadcast system
WO2019119633A1 (en) * 2017-12-19 2019-06-27 平安科技(深圳)有限公司 Live video transcoding device, method and computer readable storage medium
WO2019169681A1 (en) * 2018-03-09 2019-09-12 网宿科技股份有限公司 Method and system for providing live streaming service
CN108495136A (en) * 2018-03-09 2018-09-04 网宿科技股份有限公司 A kind of method and system that direct broadcast service is provided
CN109639486A (en) * 2018-12-13 2019-04-16 杭州当虹科技股份有限公司 A kind of cloud host elastic telescopic method based on live streaming
CN110740296A (en) * 2019-09-30 2020-01-31 视联动力信息技术股份有限公司 method and device for processing video stream monitored by video network
CN111163335A (en) * 2019-12-31 2020-05-15 深圳市瑞讯云技术有限公司 Video processing method and device for distributed server
CN112004104A (en) * 2020-01-13 2020-11-27 张益兰 Video data processing method and server based on Internet of things and live webcasting
CN111541884A (en) * 2020-05-07 2020-08-14 深圳市亿联智能有限公司 High-compatibility network streaming media distribution system
CN112188212A (en) * 2020-10-12 2021-01-05 杭州电子科技大学 Method and device for intelligent transcoding of high-definition monitoring video
CN112188212B (en) * 2020-10-12 2024-02-13 杭州电子科技大学 Intelligent transcoding method and device for high-definition monitoring video

Also Published As

Publication number Publication date
WO2016049987A1 (en) 2016-04-07
CN104243998B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104243998A (en) Data processing method, data processing device and related servers
EP3000215B1 (en) Live media processing and streaming service
TWI590632B (en) Video quality enhancement
CA2841377C (en) Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding
CN102742244B (en) A kind of for from the method for media server medium for supplying, equipment and device
CN102694831B (en) Mobile terminal streaming compensation data method and system, content distributing network
US9113177B2 (en) Methods, apparatuses and computer program products for pausing video streaming content
CN101646076A (en) Video transmission method in wireless network
CN102811373A (en) Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
KR20160067126A (en) Method and apparatus for content delivery
CN104885473A (en) Live timing for dynamic adaptive streaming over http (dash)
CN102577272A (en) Low latency cacheable media streaming
CN102625150A (en) Media playing system and method
CN105025391A (en) Video playing method and apparatus
CN104869438A (en) Live video cloud release system based on mobile terminal and cloud release method
CN113141522B (en) Resource transmission method, device, computer equipment and storage medium
CN101848367B (en) File-based video live webcasting method
CN114630051B (en) Video processing method and system
WO2021174219A1 (en) Identification of elements in a group for dynamic element replacement
CN103716681A (en) Code stream switching method and electronic equipment
CN105577645A (en) Agent-based HLS client-end device and realization method thereof
CN115250356A (en) Multi-camera switchable virtual camera of mobile phone
JP2014090419A (en) Method for downloading content according to communication parameter, and related content receiver
CN1972447A (en) Multi-image player based on stream media technology and its playing method
CN114844870B (en) Media stream acquisition method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20141224

Assignee: All kinds of fruits garden, Guangzhou network technology company limited

Assignor: Guangzhou Huaduo Network Technology Co., Ltd.

Contract record no.: 2015990000266

Denomination of invention: Data processing method, data processing device and related servers

License type: Common License

Record date: 20150511

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CP02 Change in the address of a patent holder

Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor

Patentee after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Patentee before: Guangzhou Huaduo Network Technology Co., Ltd.

CP02 Change in the address of a patent holder
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210119

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 510000 28th floor, block B1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20141224

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000053

Denomination of invention: A data processing method, device and related server

Granted publication date: 20180109

License type: Common License

Record date: 20210208