CN102740125A - System and method for playing streaming media - Google Patents

System and method for playing streaming media Download PDF

Info

Publication number
CN102740125A
CN102740125A CN2012101940867A CN201210194086A CN102740125A CN 102740125 A CN102740125 A CN 102740125A CN 2012101940867 A CN2012101940867 A CN 2012101940867A CN 201210194086 A CN201210194086 A CN 201210194086A CN 102740125 A CN102740125 A CN 102740125A
Authority
CN
China
Prior art keywords
streaming media
request
file
client
processes unit
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
CN2012101940867A
Other languages
Chinese (zh)
Other versions
CN102740125B (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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201210194086.7A priority Critical patent/CN102740125B/en
Publication of CN102740125A publication Critical patent/CN102740125A/en
Priority to PCT/CN2013/075336 priority patent/WO2013185514A1/en
Application granted granted Critical
Publication of CN102740125B publication Critical patent/CN102740125B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a system and method for playing streaming media. According to the method, a database stores an m3u8 display list file and a corresponding TS file; a client transmits a request of playing the streaming media to a program processing unit through a Flash player; the program processing unit transmits the corresponding request receipt of the request of playing the streaming media; after receiving the request receipt, the client sends a quest of playing the streaming media to an FMS streaming media server through the Flash player; the FMS streaming media server transmits the streaming media corresponding to the request of playing the streaming media to the Flash player through an RTMP protocol (Real Time Messaging Protocol); and then the Flash player plays the streaming media. With the adoption of the system and method disclosed by the invention, the problem of synchronously supporting an Apple terminal and the Flash player through a set of database systems and a media streaming content can be solved; and the cost of operation of a website is reduced in the field of internet video play application required for synchronously supporting the Apple terminal and the Flash player.

Description

A kind of system and method for playing stream media
Technical field
The present invention relates to internet video and play the field, relate in particular to a kind of system and method for playing stream media.
Background technology
HTTP Live Streaming agreement is that a kind of Streaming Media broadcasts agreement; Products such as the iPhone of Apple, iPad, Mac all realize that based on this agreement Streaming Media broadcasts; The maximum characteristics of HTTP Live Streaming agreement are to use stream to cut apart technology; Files in stream media is cut into a plurality of TS fragment files, set up a m3u8 index file then.In Network Transmission, use HTTP Live Streaming agreement can realize the fragmentation transmission of file, help making full use of network performance, improve the reliability of system.The Flash player of Adobe company is to use the maximum streaming media playing terminal of user on the present the Internet; But it supports the RTMP agreement; Do not support HTTP Live Streaming agreement; Make like this and use the user at Apple product terminal can not watch the Flash streaming medium content, use the user of Flash player can not watch the streaming medium content of following HTTP Live Streaming agreement.
How to utilize HTTP Live Streaming agreement in advantage on database, the Network Transmission and the advantage of Flash player on user's use amount simultaneously; Realizing the optimization utilization of streaming media resource, is present internet video is play needs solution in the application industry problem.
Summary of the invention
The objective of the invention is to propose a kind of system and method for playing stream media; Can utilize HTTP Live Streaming agreement in advantage on database, the Network Transmission and the advantage of Flash player on user's use amount simultaneously, realization Flash player plays is followed the streaming medium content of HTTP Live Streaming agreement.Solve the sets of data storehouse system of use and a streaming medium content and support the problem of apple terminal and Flash player simultaneously, support the internet video of apple terminal and Flash player to play in the application simultaneously at needs and reduce Web Hosting cost and operation cost greatly.
The invention provides a kind of system of playing stream media; Comprise database, routine processes unit, FMS streaming media server and client; Said database, routine processes unit, FMS streaming media server are connected with client successively, and the routine processes unit is connected with client, wherein
Said database is used to store m3u8 play list file and the corresponding TS file of said m3u8 play list file that meets HTTP Live Streaming protocol specification;
Said routine processes unit is used to resolve the m3u8 playlist, receives the TS file, the TS file conversion is the Streaming Media of flv or f4v form and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement;
Said FMS streaming media server is used to store the Streaming Media of flv or f4v form and is sent to client through the RTMP agreement;
Said client is used for the request of sending playing stream media to the FMS streaming media server through the Flash player, and plays the packaged flv that the FMS streaming media server sends or the Streaming Media of f4v form.
Another aspect of the present invention also provides a kind of method of playing stream media, may further comprise the steps:
A, database storage meet the m3u8 play list file and the corresponding TS file of said m3u8 play list file of HTTP Live Streaming protocol specification;
The request that B, client send playing stream media through the Flash player to the routine processes unit, routine processes unit are sent the corresponding request receipt of the request of said playing stream media to client;
C, client are received the request of sending said playing stream media to the FMS streaming media server through the Flash player behind the described request receipt;
D, FMS streaming media server are sent to the Flash player through the RTMP agreement Streaming Media that the request of said playing stream media is corresponding, and the Flash player is play.
Further, among the step B, the routine processes unit sends the corresponding request receipt of the request of said playing stream media to client, and is further comprising the steps of:
The routine processes unit checks that the corresponding Streaming Media of request whether said playing stream media is arranged sends record, then sends the described request receipt to client if having;
If not have then the TS file conversion with the request correspondence of said playing stream media is the Streaming Media of flv or f4v form, and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement stores, the described request receipt is sent to client.
Further, the Streaming Media that the routine processes unit is flv or f4v form with said TS file conversion, further comprising the steps of:
The routine processes unit is sent to database with the request that the request of said playing stream media converts to the m3u8 play list file; The said m3u8 play list file that the routine processes unit receives and send in the resolution data storehouse obtains corresponding TS listed files and TS file address;
The routine processes unit to database request TS file, and receives behind the TS file that database sends and buffer memory through said TS file address;
The TS file that the decapsulation of routine processes unit receives, splicing back obtains raw audio streams and video flowing, said raw audio streams and video flowing is encapsulated as the Streaming Media of flv or f4v form.
Technique effect of the present invention is: utilize HTTP Live Streaming agreement in advantage on database, the Network Transmission and the advantage of Flash player on user's use amount simultaneously, realization Flash player plays is followed the streaming medium content of HTTP Live Streaming agreement.Use a sets of data storehouse system and a streaming medium content to support apple terminal and Flash player simultaneously, support the internet video of apple terminal and Flash player to play simultaneously at needs and reduce Web Hosting cost and operation cost in the application.
Other features and advantages of the present invention will be set forth in specification subsequently, and, partly from specification, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the specification of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used to explain the present invention with embodiments of the invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the structural representation of the system of playing stream media in the specific embodiment of the invention.
Fig. 2 is the flow chart of the method for playing stream media in the specific embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention.
Fig. 1 is the structural representation of the system of playing stream media in the specific embodiment of the invention.As shown in Figure 1; The system of this playing stream media comprises database 101, routine processes unit 102, FMS streaming media server 103 and client 104; Database, routine processes unit, FMS streaming media server are connected with client successively, and client is connected with the routine processes unit.
Database is used to store m3u8 play list file and the corresponding TS file of said m3u8 play list file.
The routine processes unit is used to resolve the m3u8 playlist, receives the TS file, the TS file conversion is the Streaming Media of flv or f4v form and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement.
The FMS streaming media server is used to store the Streaming Media of flv or f4v form and is sent to client through the RTMP agreement.
Client is used for the request of sending playing stream media to the FMS streaming media server through the Flash player, and plays the packaged flv that the FMS streaming media server sends or the Streaming Media of f4v form.
Fig. 2 is the flow chart of the method for playing stream media in the specific embodiment of the invention.As shown in Figure 2, the flow process of the method for playing stream media specifically may further comprise the steps:
Step 201, database storage meet the m3u8 play list file and the corresponding TS file of said m3u8 play list file of HTTP Live Streaming protocol specification.
Step 202, client are sent the request of playing stream media to the routine processes unit through the Flash player to client through the Flash player.
Step 203, routine processes unit check that the corresponding Streaming Media of request whether said playing stream media is arranged sends record, then goes to step 207 if having, if then do not go to step 204;
Step 204, routine processes unit are sent to database with the request that the request of said playing stream media converts to the m3u8 play list file; The said m3u8 play list file that the routine processes unit receives and send in the resolution data storehouse obtains corresponding TS listed files and TS file address.
Step 205, routine processes unit to database request TS file, and are stored to the processing buffering area after receiving the TS file that database sends through said TS file address.
The TS file that step 206, the decapsulation of routine processes unit receive; The splicing back obtains raw audio streams and video flowing; Said raw audio streams and video flowing are encapsulated as the Streaming Media of flv or f4v form, and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement stores.
Step 207, routine processes unit are sent the request receipt to client, and client is received the request of sending said playing stream media to the FMS streaming media server through the Flash player behind the described request receipt.
Step 208, FMS streaming media server are sent to the Flash player through the RTMP agreement Streaming Media that the request of said playing stream media is corresponding, and the Flash player is play.
What should explain at last is: the above is merely the preferred embodiments of the present invention; Be not limited to the present invention; Although the present invention has been carried out detailed explanation with reference to previous embodiment; For a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. the system of a playing stream media; It is characterized in that comprise database, routine processes unit, FMS streaming media server and client, database, routine processes unit, FMS streaming media server are connected with client successively; The routine processes unit is connected with client, wherein
Said database is used to store m3u8 play list file and the corresponding TS file of said m3u8 play list file that meets HTTP Live Streaming protocol specification;
Said routine processes unit is used to resolve the m3u8 playlist, receives the TS file, the TS file conversion is the Streaming Media of flv or f4v form and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement;
Said FMS streaming media server is used to store the Streaming Media of flv or f4v form and is sent to client through the RTMP agreement;
Said client is used for the request of sending playing stream media to the FMS streaming media server through the Flash player, and plays the packaged flv that the FMS streaming media server sends or the Streaming Media of f4v form.
2. the method for a playing stream media is characterized in that, may further comprise the steps;
A, database storage meet the m3u8 play list file and the corresponding TS file of said m3u8 play list file of HTTP Live Streaming protocol specification;
The request that B, client send playing stream media through the Flash player to the routine processes unit, routine processes unit are sent the corresponding request receipt of the request of said playing stream media to client;
C, client are received the request of sending said playing stream media to the FMS streaming media server through the Flash player behind the described request receipt;
D, FMS streaming media server are sent to the Flash player through the RTMP agreement Streaming Media that the request of said playing stream media is corresponding, and the Flash player is play.
3. according to the method for the said a kind of playing stream media of claim 2, it is characterized in that among the step B, the routine processes unit sends the corresponding request receipt of the request of said playing stream media to client, further may further comprise the steps:
The routine processes unit checks that the corresponding Streaming Media of request whether said playing stream media is arranged sends record, then sends the described request receipt to client if having;
If not have then the TS file conversion with the request correspondence of said playing stream media is the Streaming Media of flv or f4v form, and said Streaming Media is sent to the FMS streaming media server through the RTMP agreement stores, the described request receipt is sent to client.
4. according to the method for the said a kind of playing stream media of claim 3, it is characterized in that the routine processes unit further may further comprise the steps the Streaming Media that said TS file conversion is flv or f4v form:
The routine processes unit is sent to database with the request that the request of said playing stream media converts to the m3u8 play list file; The said m3u8 play list file that the routine processes unit receives and send in the resolution data storehouse obtains corresponding TS listed files and TS file address;
The routine processes unit to database request TS file, and receives behind the TS file that database sends and buffer memory through said TS file address;
The TS file that the decapsulation of routine processes unit receives, splicing back obtains raw audio streams and video flowing, said raw audio streams and video flowing is encapsulated as the Streaming Media of flv or f4v form.
CN201210194086.7A 2012-06-13 2012-06-13 System and method for playing streaming media Expired - Fee Related CN102740125B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210194086.7A CN102740125B (en) 2012-06-13 2012-06-13 System and method for playing streaming media
PCT/CN2013/075336 WO2013185514A1 (en) 2012-06-13 2013-05-08 System and method for playing streaming media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210194086.7A CN102740125B (en) 2012-06-13 2012-06-13 System and method for playing streaming media

Publications (2)

Publication Number Publication Date
CN102740125A true CN102740125A (en) 2012-10-17
CN102740125B CN102740125B (en) 2014-11-26

Family

ID=46994782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210194086.7A Expired - Fee Related CN102740125B (en) 2012-06-13 2012-06-13 System and method for playing streaming media

Country Status (2)

Country Link
CN (1) CN102740125B (en)
WO (1) WO2013185514A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414733A (en) * 2013-09-03 2013-11-27 百视通网络电视技术发展有限责任公司 HLS (HTTP Live Streaming) streaming media playing method and HLS streaming media playing system
WO2013185514A1 (en) * 2012-06-13 2013-12-19 天脉聚源(北京)传媒科技有限公司 System and method for playing streaming media
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN104394443A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Method for dynamically inserting and broadcasting program in HLS live broadcast streaming medium
CN104410901A (en) * 2014-11-18 2015-03-11 上海天脉聚源文化传媒有限公司 Play method and play device of M3U8 format live stream
CN104751866A (en) * 2013-12-25 2015-07-01 上海那里信息科技有限公司 Out-station playing method of web flash on the basis of audio and player system
CN104753923A (en) * 2015-03-10 2015-07-01 中国联合网络通信集团有限公司 Streaming based Flash protocol conversion method and system
CN104883614A (en) * 2015-05-19 2015-09-02 福建宏天信息产业有限公司 WEB video playing method based on Adobe FlashPlayer and Jquery frame

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531499B (en) * 2020-11-06 2024-03-26 网宿科技股份有限公司 Port sharing method, system and server based on QUIC protocol
CN114051161B (en) * 2021-11-09 2022-11-29 腾讯科技(深圳)有限公司 Webpage video playing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102377694A (en) * 2010-08-06 2012-03-14 鸿富锦精密工业(深圳)有限公司 Streaming media gateway and method for providing streaming media service by using streaming media gateway

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7239800B2 (en) * 2001-05-02 2007-07-03 David H. Sitrick Portable player for personal video recorders
CN101697549B (en) * 2009-10-23 2013-12-04 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN102740125B (en) * 2012-06-13 2014-11-26 天脉聚源(北京)传媒科技有限公司 System and method for playing streaming media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377694A (en) * 2010-08-06 2012-03-14 鸿富锦精密工业(深圳)有限公司 Streaming media gateway and method for providing streaming media service by using streaming media gateway
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013185514A1 (en) * 2012-06-13 2013-12-19 天脉聚源(北京)传媒科技有限公司 System and method for playing streaming media
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
US9882951B2 (en) 2013-06-20 2018-01-30 Tencent Technology (Shenzhen) Company Limited Method and device for playing streaming media, and non-transitory storage medium
CN103414733A (en) * 2013-09-03 2013-11-27 百视通网络电视技术发展有限责任公司 HLS (HTTP Live Streaming) streaming media playing method and HLS streaming media playing system
CN103414733B (en) * 2013-09-03 2016-10-26 百视通网络电视技术发展有限责任公司 The player method of HLS Streaming Media and system
CN104751866A (en) * 2013-12-25 2015-07-01 上海那里信息科技有限公司 Out-station playing method of web flash on the basis of audio and player system
CN104394443A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Method for dynamically inserting and broadcasting program in HLS live broadcast streaming medium
CN104410901A (en) * 2014-11-18 2015-03-11 上海天脉聚源文化传媒有限公司 Play method and play device of M3U8 format live stream
CN104753923A (en) * 2015-03-10 2015-07-01 中国联合网络通信集团有限公司 Streaming based Flash protocol conversion method and system
CN104883614A (en) * 2015-05-19 2015-09-02 福建宏天信息产业有限公司 WEB video playing method based on Adobe FlashPlayer and Jquery frame

Also Published As

Publication number Publication date
WO2013185514A1 (en) 2013-12-19
CN102740125B (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN102740125B (en) System and method for playing streaming media
CN102118428B (en) Method and system for playing streaming media
AU2013245287B2 (en) Methods and apparatus for segmenting, distributing, and resegmenting adaptive rate content streams
CN102256162B (en) Method and system for optimizing media-on-demand based on real-time file format conversion
WO2016058411A1 (en) Splicing method and splicing system for http live streaming media fragmentation
CN102710966A (en) Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)
CN102055718B (en) Method, device and system for layering request content in http streaming system
CN107277081A (en) Section method for down loading and device, the stream media system of stream medium data
CN104219286B (en) streaming media processing method, device, client, CDN node server and terminal
CN103929427A (en) Dynamic multi-thread downloading device and method
CN103036888A (en) Self-adapting stream-media play method and self-adapting play unit
CN104506493A (en) HLS content source returning and caching realization method
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN102694831A (en) Data compensation method of streaming media of mobile terminal and data compensation system thereof, and content distribution network
CN108200444B (en) Video live broadcast method, device and system
CN105228001A (en) The method and system that a kind of FLV format video is play online
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN104837033A (en) Information processing method and server
JP2019071680A (en) Terminal device and receiving device
CN106303754A (en) A kind of audio data play method and device
EP3013060A1 (en) Content provision device, content provision method, program, terminal device, and content provision system
CN103905922A (en) Streaming media protocol encapsulation method and device based on http protocol
CN103561013A (en) Streaming media data distributing system
US20170055006A1 (en) Receiver, transmitter, data communication method, and data processing method
CN106302465B (en) A kind of method and device of playing audio-video data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: System and method for playing streaming media

Effective date of registration: 20160520

Granted publication date: 20141126

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2016990000415

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20180509

Granted publication date: 20141126

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2016990000415

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: System and method for playing streaming media

Effective date of registration: 20180509

Granted publication date: 20141126

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: Yimin source (Beijing) Technology Co., Ltd.|TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2018990000351

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141126

Termination date: 20210613