CN102035852A - Device and method for outputting multi-media format flow - Google Patents

Device and method for outputting multi-media format flow Download PDF

Info

Publication number
CN102035852A
CN102035852A CN2010106091862A CN201010609186A CN102035852A CN 102035852 A CN102035852 A CN 102035852A CN 2010106091862 A CN2010106091862 A CN 2010106091862A CN 201010609186 A CN201010609186 A CN 201010609186A CN 102035852 A CN102035852 A CN 102035852A
Authority
CN
China
Prior art keywords
transcoding
server
request
real
data
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.)
Pending
Application number
CN2010106091862A
Other languages
Chinese (zh)
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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN2010106091862A priority Critical patent/CN102035852A/en
Publication of CN102035852A publication Critical patent/CN102035852A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a device and a method for outputting multi-media format flows. The device at least comprises a Web server, a distributed cache system and a transcoding server cluster, wherein the Web server is used for receiving a HTTP (Hyper Text Transport Protocol) request, and sending the content of the request to the cache system or the transcoding server cluster; the distributed cache system is used for accessing data and returning the data to the Web server or receiving real-time data flows from the transcoding server cluster; the transcoding server cluster is used for sending transcoded data to the cache system and informing the Web server to access the data. The invention provides clients with multi-media format files in the way of real-time transcoding and caching, and has the advantages of greatly reducing redundancy backup and repeated storage of the data and avoiding unnecessary loss of the multi-media data so as to improve the serviceability of the system, simplify the processing procedures of the system and reduce complexity of design and implementation of the system.

Description

Realize the apparatus and method of multiple media formats stream output
Technical field
The invention belongs to the video communication field, relate in particular to a kind of apparatus and method that can realize the output of multiple media formats stream.
Background technology
The technology that multimedia technology can be handled the information on information on the multiple carrier (media) and the multiple memory bank (media) exactly.It is computer interactive formula integrated treatment multimedia messages-text, figure, image and sound, and multiple information resume logic is connected, and promptly becomes a kind of technology of a system and has interactivity.
The present invention relates generally to the application of multimedia technology in computer communication field.Multimedia is the combination of computer and video technique, and its can exhibition information, rap off and express emotion, allows you see, hear and understand other people thought.In other words multimedia technology is a kind of communication modes, and is the technology with computer generalization processing sound spectrogram literary composition information of integration, real-time and interactivity.
Multimedia system need be expressed as different media datas the unified structure code stream, then it is carried out conversion, reorganization and analyzing and processing, further to store, transmit, to export and control alternately.In general, operator can take the mode of redundant storage to provide multimedia server on the web server.Save as a plurality of file types such as file with a kind of coded format.For example 1.avi may also preserve 1.flv on server, 1.wmv, 1.m3u8,1.rmvb or the like.Such storage mode has not only been wasted a large amount of server disk spaces, causes data bulk redundancy (distributed file storage system can be some parts of each file redundant storage), and can bring inconvenience to maintenance work.
Summary of the invention
Therefore the apparatus and method that the present invention proposes one kind of multiple media formats stream outputs solve this problem.These apparatus and method adopt the file (hereinafter referred caching system) after the distributed caching system comes the buffer memory transcoding, if next time is when having identical file to need transcoding like this, just can directly fetch data from caching system, the transcoding here is the file format transcoding, so can in time respond requesting client when realizing real-time transcoding.
According to a preferred embodiment of the present invention, a kind of device of realizing the output of multiple media formats stream is proposed, this device comprises at least:
A kind of device of realizing the output of multiple media formats stream is characterized in that this device comprises at least:
Server is used for receiving the request that client sends, and reads media file or send the transcoding request to the transcoding server cluster from caching system according to the content of request;
Caching system is used for media file being provided or receiving the real time data stream that the transcoding server cluster sends to server;
The transcoding server cluster is used for that the data behind the transcoding are sent to caching system and announcement server extracts data.
The present invention also proposes a kind of method that realizes the output of multiple media formats stream simultaneously, comprises following steps:
A kind of method that realizes the output of multiple media formats stream is characterized in that comprising following steps:
A, user end to server are initiated a request, obtain needed multimedia file;
After b, server receive request, judge whether this locality has the needed file of client;
C, when having required file, whether this document that server is searched required media formats to caching system is buffered, and returns to client if the access of directly postponing goes out data;
If there is not this document of the required media formats of buffer memory in the d caching system, the web server sends the transcoding request to transcoding server;
E, the real-time data behind the transcoding of transcoding server send to caching system, and notify the web server to fetch data simultaneously;
Read real time data stream from caching system after f, web server have notice, and return to client.
Adopt technical solutions according to the invention, its advantage is: the present invention takes the mode of server real-time transcoding and buffer memory to provide multiple media formats file to client, reduce redundancy backup, the repeated storage of data largely, avoided the multi-medium data unnecessary loss.Improve the maintainability of system, simplified the system handles flow process, reduced the complexity of system design and realization, promoted the usefulness of system simultaneously.
Description of drawings
Fig. 1 is general multiple media formats stream output integrated stand composition
Fig. 2 is the defeated integrated stand composition of the multiple media formats stream of the present invention
Fig. 3 is the multiple media formats stream of the present invention output schematic diagram a
Fig. 4 is the multiple media formats stream of the present invention output schematic diagram b
Fig. 5 is the schematic flow sheet of the embodiment of the invention.
Embodiment
For the above-mentioned feature of the present invention is become apparent, preferred embodiment cited below particularly and in conjunction with shown in the schematic diagram elaborates:
Fig. 1 is general multiple media formats stream output integrated stand composition, and Fig. 2 is the defeated integrated stand composition of the multiple media formats stream of the present invention, and Fig. 3 and Fig. 4 are the schematic diagram of the multiple media formats stream of the present invention output.Client 1 is initiated a http request to web server 2, obtains needed multimedia file; Web server 2 can judge whether this locality has client 1 needed file after receiving request, whether web server 2 meetings if any search this document to caching system 3 and be buffered, if caching system 3 has this document, can directly return to web server 2 to data so, web server 2 returns to client 1 to data as shown in Figure 3 again.If caching system does not have client 1 needed data for 3 li, so as shown in Figure 4, Web server 2 can be taken transcoding server cluster 4 to data and remove transcoding, transcoding server 4 is shifted the data flow behind the real-time transcoding onto caching system 3, and notify Web server 2 reading of data simultaneously, just can go caching system 3 to obtain real-time data flow after Web server 2 has notice, return to client 1 then.
Fig. 5 is the process flow schematic diagram of a preferred embodiment.A new upper alignment film for example, we upload to the web server to the flv form of this film (the flv form is that the equipment of popular form and support is many) for user's download or online watching.There is a cellphone subscriber to want to watch this film, but it is the file of .m3u8 form that its mobile phone will be asked form, at this moment the cell-phone customer terminal file request 102 that can to propose a film format be .m3u8, the Web server end is understood the query caching system after receiving this request then, because the caching system the inside has only the file of .flv form, so will being dealt into the transcoding server cluster, this request carries out real-time transcoding 204, the data of the .m3u8 form of transcoding server cluster after transcoding push away toward caching system 403, and notice web server reads this data 402, the web server receives data 302, and the web server sends back to cell-phone customer terminal 201 after receiving data in real time.Behind a up-to-date upper alignment film, the various device client can be watched with the fastest speed, and needn't wait operator to support just can watch behind this type like this.
Certainly; the present invention can also have other various embodiments; do not deviating under the present invention's spirit and the real situation, those skilled in the art can make various distortion and retouching according to the present invention, but these corresponding changes and retouching all should belong to the protection range of claims of the present patent application.

Claims (8)

1. realize that multiple media formats flows the device of output, is characterized in that this device comprises at least for one kind:
Server is used to receive the request that client sends, and reads media file or send the transcoding request to the transcoding server cluster from caching system according to the content of request;
Caching system is used for media file being provided or receiving the real time data stream that transcoding server sends to server;
Transcoding server is used for that the data behind the transcoding are sent to caching system and announcement server extracts data.
2. a kind of device of realizing the output of multiple media formats stream as claimed in claim 1, it is characterized in that, described transcoding server is responsible for real-time transcoding, and the real-time data behind the transcoding push the caching system that is attached thereto, server can obtain data behind the transcoding in real time, and the client of request this document is given in real-time response.
3. a kind of device of realizing the output of multiple media formats stream as claimed in claim 1 is characterized in that the request that client sends is the HTTP request, and described server is the web server.
4. a kind of device of realizing the output of multiple media formats stream as claimed in claim 1 is characterized in that described transcoding server is the transcoding server cluster.
5. realize that multiple media formats flows the method for output, is characterized in that comprising following steps for one kind:
A, family end are initiated a request to server, obtain needed multimedia file;
After b, device receive request, judge whether this locality has the needed file of client;
When c, required file, whether this document that server is searched required media formats to caching system is buffered, and returns to client if directly take out data from caching system;
This document that does not have required media formats in d, the caching system, the web server sends the transcoding request to transcoding server;
E, the real-time data behind the transcoding of affair device send to caching system, and notify the web server to fetch data simultaneously;
Read real time data stream from caching system after f, web server have notice, and return to client.
6. a kind of method that realizes the output of multiple media formats stream as claimed in claim 5, it is characterized in that, described transcoding server is responsible for real-time transcoding, and the real-time data behind the transcoding push the caching system that is attached thereto, server can obtain data behind the transcoding in real time, and the client of request this document is given in real-time response.
7. a kind of method that realizes the output of multiple media formats stream as claimed in claim 5 is characterized in that the request that client sends is the HTTP request, and described server is the web server.
8. a kind of device of realizing the output of multiple media formats stream as claimed in claim 5 is characterized in that described transcoding server is the transcoding server cluster.
CN2010106091862A 2010-12-28 2010-12-28 Device and method for outputting multi-media format flow Pending CN102035852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106091862A CN102035852A (en) 2010-12-28 2010-12-28 Device and method for outputting multi-media format flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106091862A CN102035852A (en) 2010-12-28 2010-12-28 Device and method for outputting multi-media format flow

Publications (1)

Publication Number Publication Date
CN102035852A true CN102035852A (en) 2011-04-27

Family

ID=43888175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106091862A Pending CN102035852A (en) 2010-12-28 2010-12-28 Device and method for outputting multi-media format flow

Country Status (1)

Country Link
CN (1) CN102035852A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256162A (en) * 2011-07-22 2011-11-23 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion
CN103188240A (en) * 2011-12-30 2013-07-03 北京新媒传信科技有限公司 Multi-media file transcoding method and system matched with mobile phone terminal platform
WO2015090132A1 (en) * 2013-12-17 2015-06-25 乐视网信息技术(北京)股份有限公司 Video distribution and media resource system interaction method and system
CN105657442A (en) * 2015-12-30 2016-06-08 北京奇艺世纪科技有限公司 Video file generation method and system
CN105872572A (en) * 2015-12-14 2016-08-17 乐视云计算有限公司 Live broadcast video processing method and device
CN109618187A (en) * 2018-11-15 2019-04-12 网宿科技股份有限公司 A kind of acquisition methods and device of video data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488195A (en) * 2000-12-22 2004-04-07 ����ý�幫˾ Distributed on -demand media transcoding system and method
CN101083756A (en) * 2007-03-14 2007-12-05 中国科学技术大学 internet based TV stream data real time transmission and service apparatus and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488195A (en) * 2000-12-22 2004-04-07 ����ý�幫˾ Distributed on -demand media transcoding system and method
CN101083756A (en) * 2007-03-14 2007-12-05 中国科学技术大学 internet based TV stream data real time transmission and service apparatus and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256162A (en) * 2011-07-22 2011-11-23 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion
CN102256162B (en) * 2011-07-22 2013-11-06 网宿科技股份有限公司 Method and system for optimizing media-on-demand based on real-time file format conversion
CN103188240A (en) * 2011-12-30 2013-07-03 北京新媒传信科技有限公司 Multi-media file transcoding method and system matched with mobile phone terminal platform
WO2015090132A1 (en) * 2013-12-17 2015-06-25 乐视网信息技术(北京)股份有限公司 Video distribution and media resource system interaction method and system
CN105872572A (en) * 2015-12-14 2016-08-17 乐视云计算有限公司 Live broadcast video processing method and device
WO2017101370A1 (en) * 2015-12-14 2017-06-22 乐视控股(北京)有限公司 Live video processing method and apparatus
CN105657442A (en) * 2015-12-30 2016-06-08 北京奇艺世纪科技有限公司 Video file generation method and system
CN109618187A (en) * 2018-11-15 2019-04-12 网宿科技股份有限公司 A kind of acquisition methods and device of video data
CN109618187B (en) * 2018-11-15 2021-10-29 网宿科技股份有限公司 Video data acquisition method and device

Similar Documents

Publication Publication Date Title
US9621928B2 (en) Streaming playback and dynamic ad insertion
US9398064B2 (en) Method of streaming media to heterogeneous client devices
CN103002274B (en) A kind of mobile multimedia real-time transcoding Play System and method of downloading based on off-line
US8327013B2 (en) Dynamic index file creation for media streaming
US7818355B2 (en) System and method for managing content
KR101410621B1 (en) Server-side support for seamless rewind and playback of video streaming
CN102035852A (en) Device and method for outputting multi-media format flow
BR122015005210A2 (en) METHOD AND SYSTEM FOR INSERTING ADVERTISING IN LIVE MEDIA OVER THE TOP
CN105812895A (en) Video on-demand data processing method and system
CN102739779B (en) A kind of digital home's exchange method based on DLNA, system and relevant device
US20100179973A1 (en) Systems, methods, and computer programs for delivering content via a communications network
CN105191322A (en) System and method for multiscreen network digital video recording using on-demand transcoding
CN104246737A (en) Systems and methods for connection pooling for video streaming in content delivery networks
US11601525B2 (en) Apparatus and methods for content access, retrieval, and delivery in a content distribution network
US20120324511A1 (en) Apparatus, system for scheduling and broadcasting media, automatic channel scheduling method and recording medium
CN103957469A (en) Internet video on demand method and system based on real-time packaging switching
US8954540B2 (en) Dynamic audio track selection for media streaming
US20140280400A1 (en) System and method for improved data accessibility
EP4082175A1 (en) Embedding mqtt messages in media streams
CA2866472A1 (en) Dynamic audio track selection for media streaming
US9027052B2 (en) System and method for in-stream advertising on an internet connected device
CN104471947A (en) Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
US20120036276A1 (en) Streaming service gateway and method for providing streaming service
CN101252638A (en) Text displaying method and set top box
JP7201468B2 (en) Video distribution system, video distribution server, video distribution method and video distribution program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110427