WO2010045830A1 - Method and apparatus for implementing stream media service - Google Patents

Method and apparatus for implementing stream media service Download PDF

Info

Publication number
WO2010045830A1
WO2010045830A1 PCT/CN2009/073847 CN2009073847W WO2010045830A1 WO 2010045830 A1 WO2010045830 A1 WO 2010045830A1 CN 2009073847 W CN2009073847 W CN 2009073847W WO 2010045830 A1 WO2010045830 A1 WO 2010045830A1
Authority
WO
WIPO (PCT)
Prior art keywords
streaming media
user equipment
protocol
streaming
connection
Prior art date
Application number
PCT/CN2009/073847
Other languages
French (fr)
Chinese (zh)
Inventor
刘轶
仝庆贻
龚旭晖
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010045830A1 publication Critical patent/WO2010045830A1/en

Links

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
    • 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/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Definitions

  • the present invention relates to the field of communications, and in particular to a method and an apparatus for implementing a streaming media service.
  • BACKGROUND Stream media is a multimedia file transmitted by an application stream technology on a network.
  • the so-called streaming technology is a network in which continuous image and sound information is compressed and placed on the website server, allowing users to watch and listen while downloading, without having to wait until the entire compressed file is downloaded to their own machine.
  • Transmission technology. Streaming media has the following characteristics:
  • the client receives, processes, and plays back a streaming media file, but the file does not reside on the client, does not occupy the storage space of the client, and is cleared after streaming media processing and playback.
  • Streaming media is a media format that uses variable bandwidth technology to play on the Internet in a "streaming" manner, such as audio, video or multimedia files, enabling people to operate from 28 kbit/s to 1200 kbit/s.
  • Audio, video or multimedia files enabling people to operate from 28 kbit/s to 1200 kbit/s.
  • streaming media technology has been widely used in multimedia news release, online live broadcast, online advertising, e-commerce, video on demand, telemedicine, Internet radio, real-time video conferencing and other information on the Internet.
  • Streaming media can be divided into unicast, broadcast and multicast.
  • unicast means that a separate data channel needs to be established between the client and the media server.
  • the data packets sent from one server can only be transmitted to one.
  • Client computer. Broadcast refers to the passive reception of streaming media by users. During the broadcast process, the client receives streaming media but cannot control streaming media.
  • Multicast Internet Protocol (Internet Protocol)
  • the multicast technology builds a multicast-capable network that allows routers to replicate packets to multiple channels at once. With multicast, a single server can simultaneously send continuous data streams to hundreds of thousands of clients without delay. The media server only needs to send one packet, not multiple; all requesting clients share the same packet. According to the playback mode of streaming media content, it is divided into download and play, on-demand and live broadcast.
  • Download Play The user downloads and stores the streaming media content to the local terminal, and then can choose to play at any time.
  • Streaming on-demand The content provider pre-edits, compresses, and compresses a piece of multimedia content to form a file in a specified format, and then stores it on the streaming server. The user selects the content file on the streaming server as needed to play.
  • Streaming media broadcast When the terminal player plays streaming live content, the content playing time is the same as the content source event. That is, the streaming media encoding server compresses and encodes the content source in real time, and sends it to the user terminal via the streaming server.
  • 1 is a block diagram of a streaming media protocol according to the related art. The protocol composition of a streaming media service is as shown in FIG.
  • the ten-transmission protocol includes: HyperText Transfer Protocol (HTTP) / Transmission Control Ten Control (Transmission Control Protocol) is a User Datagram Protocol (User Datagram Protocol) called UDP.
  • HTTP is mainly used to discover streaming media content and obtain real-time streaming media protocol (Real Time)
  • Streaming Protocol called RTSP
  • the universal resource locator Uniform Resource Locator
  • MIME Multi-purpose Internet Mail Extension
  • SDP Session Description Protocol
  • HTTP can also be used to transfer content such as still images and text in streaming media, and is used for audio and video downloads.
  • the HTTP protocol requirements are in accordance with RFC2616 and 3GPP TS 26.234.
  • MIME is the type of file used to mark the transfer. It is mainly used for booting the player in the streaming media.
  • RTSP mainly establishes session description information (DESCRIBE), establishes streaming media connection (SETUP), content playback (PLAY), connection pause (PAUSE) and connection abort (TEARDOWN) control messages to achieve streaming media session establishment, playback, pause , abort, etc.
  • the RTSP protocol requirements are in accordance with RFC 2326 and 3GPP TS 26.234.
  • the Real Time Transport Protocol (RTP) is mainly used to transport media content such as video, audio and voice in streaming media.
  • the RTP protocol requirements are compliant with RFC3550 and 3GPP TS 26.234.
  • the Real Time Control Protocol (RTCP) is mainly used for traffic control and congestion control between the server and the client.
  • each participant periodically transmits RTCP packets, which contain statistics such as the number of transmitted packets and the number of lost packets.
  • the server can use this information to dynamically change the transmission rate.
  • RTP works with RTCP to optimize transmission efficiency with efficient feedback and minimal overhead.
  • the RTCP protocol requirements are compliant with RFC3550 and 3GPP TS 26.234.
  • SDP is a format (protocol) used for session description. It is not a transport protocol, nor is it included in the codec of the media. It is a notification protocol for transmitting messages between different transport protocols. Its main purpose is It is to solve the multimedia session notification, invitation and session initialization work.
  • the SDP file can be passed to the player either by a response to the user's HTTP request or by a response to the user's RTSP DESCRIBE request.
  • the SDP protocol requirements are in accordance with RFC 2327 and 3GPP TS 26.234.
  • WCDMA Wide Code Division Multiple Access
  • a major advantage of WCDMA technology is that it can provide high-speed packet domain (Packet Switching).
  • HSDPA High Speed Downlink Packet Access
  • WCDMA wireless data cards For the PS) service, its High Speed Downlink Packet Access (HSDPA) downlink rate can reach 7.2M.
  • HSDPA High Speed Downlink Packet Access
  • WCDMA wireless data cards For the high rate characteristics of the PS domain, WCDMA wireless data cards have been widely used. However, the functions of the currently used wireless data cards are too numerous, and the main functions are limited to the MODEM Internet access, as well as the short message service (SMS) and voice call. While providing high-speed rates, WCDMA networks also provide users with a wealth of applications. However, current wireless data card users cannot enjoy these rich applications due to the single function of network cards. If you need to enjoy these applications, you need to purchase dedicated applications. The terminal increases the user's overhead.
  • a streaming media service implementation method is provided.
  • the method for implementing the streaming media service includes: the user equipment establishes a radio bearer with the core network through the wireless data card; the user equipment establishes a connection with the streaming media server according to the established radio bearer; and the user equipment receives the streaming media.
  • the server streams the streaming data and plays the streaming data stream.
  • the method further comprises: the user equipment receiving the session description protocol file of the streaming media data stream from the streaming media server.
  • the process for the user equipment to establish a connection with the streaming media server according to the established radio bearer specifically includes: the user equipment establishes a real-time streaming media protocol connection with the streaming media server according to the session description protocol file.
  • the processing of the user equipment receiving the streaming media data stream from the streaming media server comprises: the user equipment establishes a real-time streaming protocol connection with the streaming media server, and performs real-time transmission protocol port negotiation with the streaming media server; the user equipment receives the stream from the stream Real-time transport protocol data for the media server.
  • a streaming media service implementing apparatus is also provided.
  • the streaming media service implementation apparatus includes: a radio bearer establishing module, configured to establish a radio bearer with a core network by using a wireless data card; and a connection establishing module, configured to perform radio bearer and flow according to the established data of the user equipment.
  • the media server establishes a connection; the receiving and playing module is configured to receive, by the user equipment, the streaming media data stream from the streaming media server, and play the streaming media data stream.
  • connection establishing module further comprises: a session description protocol file receiving module, a session description protocol file for receiving a streaming media data stream from the streaming media server; a real-time streaming media protocol connection establishing module, configured to receive according to the receiving module
  • the session description protocol file establishes a real-time streaming protocol connection with the streaming server.
  • the receiving and playing module specifically includes: a port negotiation module, configured to perform real-time transmission protocol port negotiation with the streaming media server; a data receiving module, configured to receive real-time transmission protocol data from the streaming media server; and a playing module, configured to play Transfer protocol data in real time.
  • FIG. 1 is a block diagram of a streaming media protocol structure according to the related art
  • FIG. 2 is a flowchart of a method for implementing a streaming media service according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method according to the present invention.
  • FIG. 4 is a block diagram of a streaming media service implementing apparatus according to an embodiment of the present invention
  • FIG. 5 is a flow through a wireless network card according to an embodiment of the present invention;
  • a block diagram of the media function protocol. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings.
  • the present invention provides a streaming media service implementation solution, and the processing principles of the solution are as follows: Considering the problem that the wireless data card function in the related art is not compatible with a plurality of applications and the application of the application is increased.
  • the streaming media service is implemented by using the wireless data card as a wireless implementation tool, and the streaming data stream received from the wireless network card is parsed and played in the playing area of the computer PC software, so that the function of the streaming media service can be realized in the PC.
  • a streaming media service implementation method is provided.
  • 2 is a flowchart of a method for implementing a streaming media service according to an embodiment of a method according to the present invention. As shown in FIG. 2, the method includes: (Steps S202-S206): Step S202: A user equipment establishes a radio bearer with a core network by using a wireless data card.
  • wireless data card wireless network card
  • it is required to support the PS domain call service, and an interface module of the same network card PC software is required on the network card side, which is responsible for parsing the commands sent by the PC software and transmitting and receiving the data of the streaming media.
  • PC software On the PC software of the network card, an operation interface needs to be provided to the user, and the user can initiate a streaming media service through the operation interface. And the streaming media data stream received from the wireless network card can be parsed and played in the playing area of the computer PC software.
  • Step S204 The user equipment establishes a connection with the streaming media server according to the established radio bearer.
  • Step S206 The user equipment receives the streaming media data stream from the streaming media server, and plays the streaming media data stream.
  • FIG. 3 is a preferred embodiment of the RTSP/RTP-based streaming media service according to the method embodiment of the present invention.
  • Process flow chart As shown in Figure 3, a successful call flow mainly includes the following four phases: content discovery, connection establishment, content playback, and connection suspension.
  • the process includes the following processing: Content discovery step S302, the user operation triggers the network card to complete the establishment of the wireless load. For example, browse the web.
  • Step S304 the user clicks on a certain streaming media content on the portal through the PC, and the browser sends the content to the portal. From the HTTP Get command (including user agent, User Agent).
  • the mouth-of-mouth browser obtains the RTSP link of the streaming media content from the web server through the HTTP 200 OK response message, and the user clicks the link, and the PC software of the network card activates the streaming media player. If the browser obtains the HTTP link of the SDP file from the web server through the HTTP 200 OK response message, and the user clicks the link, the PC software of the network card requests the SDP file from the streaming server. The server returns the SDP file, obtains the RTSP link of the streaming media content, and the PC software of the network card activates the streaming media player.
  • the connection establishment step S306 acquires session description information (DESCRIBE).
  • the player on the PC software side requests the SDP through the DESCRIBE command of the RTSP protocol.
  • the server provides the description information of the streaming media content in the response.
  • the SDP text message tells the player the multimedia session information, which mainly includes: the protocol version. Creator and session ID, session name, session activation time, media name transfer address, and other information. If the server has returned an SDP file via an HTTP response, the player no longer sends a DESCRIBE request. Step S308, establishing a streaming media connection (SETUP).
  • the player on the PC software side establishes an RTSP connection with the media server according to the information of the SDP.
  • the SETUP message must include the session identifier and the transport protocol (RTP) port number of the player.
  • the media server After receiving the information, the media server provides the RTP port number of the response server, and finally completes the dynamic 1" business of the RTP port.
  • Content Play (PLAY) Step S310 the player on the PC software side issues a play command in the RTSP to the server side.
  • the PLAY message must include a session identifier, a time start point, a media server session identifier, and a media play time.
  • Step S312 The media server transmits the media content to the player of the PC software through the RTP.
  • the network card is only a wireless bearer function.
  • All the received RTP data is forwarded to the streaming media player of the PC software.
  • the PC software decodes and plays the RTP data.
  • the connection is aborted (TEARDOWN) Step S314, after the normal playing of the media is completed, or when the user actively suspends playing or actively closes the player (excluding the user to pause playing), the streaming media player on the PC software side must issue an abort command in the RTSP protocol to the server.
  • the server receives a 200 OK response after receiving it.
  • the streaming media service is implemented by using the wireless data card as an implementation tool of the wireless bearer, and the streaming media service can be implemented on the PC.
  • a streaming media service implementing apparatus is also provided.
  • 4 is a block diagram of a streaming media service implementation apparatus according to an embodiment of the present invention.
  • the streaming media service implementation apparatus includes: a radio bearer establishing module 10, configured to The data card establishes a radio bearer with the core network; the connection establishing module 20 is connected to the radio bearer establishing module 10, and is configured to establish a connection between the user equipment and the streaming media server according to the established radio bearer; and the receiving and playing module 30 is connected to the connection establishing module 20 And for the user equipment to receive the streaming media data stream from the streaming server, and play the streaming media data stream.
  • the connection establishing module 20 may include: a session description protocol file receiving module (not shown), a session description protocol file for receiving a streaming media data stream from the streaming media server; a real-time streaming media protocol connection establishing module (not shown), configured to establish a real-time streaming protocol connection with the streaming server according to the session description protocol file received by the receiving module.
  • the receiving and playing module 30 specifically includes: a port negotiation module (not shown) for performing real-time transmission protocol port negotiation with the streaming server; and a data receiving module (not shown) for receiving real-time from the streaming server Transmission protocol data; a playback module (not shown) for playing real-time transport protocol data.
  • FIG. 5 is a structural block diagram of a streaming media function protocol stack implemented by a wireless network card according to an embodiment of the present invention.
  • the implementation of the streaming media is divided into four parts according to the module.
  • Part A is a multimedia function that is ported from the terminal side supporting streaming media to the PC side
  • Part B can be implemented by using the protocol stack on the network card. Considering the processing efficiency in the application process, it is recommended that this part be also implemented on the PC side.
  • Part C is a control interface module on the same PC side that is added to the network card in order to implement the streaming function.
  • Part D establishes a ten-party part for the wireless bearer of the network card itself.
  • Part A includes: Module 1 (Video, Audio, Speech Resolution Playback and Corresponding Link Status Reporting), Module 2 (Implementing Capabilities Exchange, Scene Description, Still Images, Bitmaps, Vectors, Text, Synchronized Text, Composite Audio) ), Module 3 (Complete Control Message, Session Description (SDP)).
  • Module 1 Video, Audio, Speech Resolution Playback and Corresponding Link Status Reporting
  • Module 2 examplementing Capabilities Exchange, Scene Description, Still Images, Bitmaps, Vectors, Text, Synchronized Text, Composite Audio
  • Module 3 Complete Control Message, Session Description (SDP)).
  • This part needs to be implemented on the PC software side corresponding to the wireless network card.
  • Part B is the ten-party part of streaming media, including RTP/RTCP, HTTP and RTSP. The content of this part of the protocol can be implemented on the PC software side or on the network card. Considering the processing efficiency in the application process, it is implemented in the PC software in this solution.
  • Part C is the transport protocol
  • Part D is mainly a network card control interface module for analyzing the control commands sent by the PC side to increase the streaming media function on the PC side.
  • Part E is the functional module of the network card itself.
  • the streaming media service is implemented by using the wireless data card as an implementation tool of the wireless bearer, and the streaming media data received from the wireless data card can be streamed in the playing area of the computer PC software. Play, which improves the user experience and saves the user's expense.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This invention discloses a method and an apparatus for implementing stream media service, wherein the method comprises: a user equipment establishes a radio bearer with a core network through a radio data card; the user equipment establishes a connection with a stream media server according to the established radio bearer; the user equipment receives stream media data stream from the stream media server and plays the stream media data stream. The experience of users can be improved by the invention.

Description

流媒体业务实现方法及装置  Stream media service implementation method and device
技术领域 本发明涉及通信领域,具体而言,涉及一种流媒体业务实现方法及装置。 背景技术 流媒体是一种应用流技术在网络上传输的多媒体文件。所谓的流技术就 是 连续的影像和声音信息经过压缩处理后放在网站月 务器上, 让用户边下 载边观看、 收听, 而无需等整个压缩文件下载到自己的机器上后才可以观看 的网络传输技术。 流媒体具有如下特点: The present invention relates to the field of communications, and in particular to a method and an apparatus for implementing a streaming media service. BACKGROUND Stream media is a multimedia file transmitted by an application stream technology on a network. The so-called streaming technology is a network in which continuous image and sound information is compressed and placed on the website server, allowing users to watch and listen while downloading, without having to wait until the entire compressed file is downloaded to their own machine. Transmission technology. Streaming media has the following characteristics:
1、 能够实时播放音视频和多媒体内容, 也可对其进行点播, 具有交互 性; 1, can play audio and video and multimedia content in real time, can also be on-demand, interactive;
2、 通过使用緩冲技术, 边下载, 边播放; 2, by using the buffer technology, while downloading, while playing;
3、 客户端接收、 处理和回放一个流媒体文件, 但该文件不在客户端驻 留, 不占用客户端的存储空间 , 流媒体处理和播放完随即被清除。 流媒体是运用可变带宽技术, 以 "流" 的传输方式在因特网上播放的媒 体格式,例如,音频、视频或多媒体文件,使人们可以从 28 kbit/s到 1200 kbit/s 的带宽环境下在线欣赏连续的高品质音频和视频节目。 目前 , 流媒体技术已经广泛应用于互联网中的多媒体新闻发布、 在线直 播、 网络广告、 电子商务、 视频点播、 远程医疗、 网络电台、 实时视频会议 等信息 ^^务的方方面面。 流媒体的传播方式可以分为单播, 广播和多播, 其中, 单播是指在客户 端与媒体服务器之间需要建立一个单独数据通道, 从一台服务器送出的数据 包只能传送给一个客户机。 广播是指用户被动接收流媒体。 在广播过程中 , 客户端接收流媒体 , 但不能控制流媒体。 多播(组播): 互联网协议( Internet Protocol , 筒称为 IP ) 多播技术构建一种具有多播能力的网络, 允许路由器 一次将数据包复制到多个通道上。 采用多播方式, 单台服务器能够对几十万 台客户机同时发送连续数据流而无延时。媒体服务器只需要发送一个信息包 , 而不是多个; 所有发出请求的客户端共享同一信息包。 按流媒体内容的播放方式分为下载播放, 点播和直播。 下载播放: 指用户将流媒体内容下载并存储到本地终端中, 然后可以选 择在任意时间进行播放。 流媒体点播:指内容提供者预先对一段多媒体内容进行编辑、压缩编码, 形成指定格式的文件, 然后存储到流媒体服务器上。 用户根据需要选择流媒 体月 务器上的内容文件进行播放。 流媒体直播: 终端播放器播放流媒体直播内容时 , 内容的播放时刻与内 容源事件的发生时刻相同 , 即流媒体编码服务器对内容源进行实时地压缩编 码, 经由流媒体服务器发送到用户终端。 图 1是根据相关技术的流媒体协议结构框图,流媒体业务的协议组成如 图 1所示: 传输十办议包括: 超文本传送十办议 ( HyperText Transfer Protocol, 筒称为 HTTP ) /传输控制十办议 ( Transmission Control Protocol, 筒称为 TCP ) /用户 数据 4艮十办议 ( User Datagram Protocol, 筒称为 UDP ) /IP。 HTTP 主要用于发现流媒体内容, 获取实时流媒体协议 (Real Time3. The client receives, processes, and plays back a streaming media file, but the file does not reside on the client, does not occupy the storage space of the client, and is cleared after streaming media processing and playback. Streaming media is a media format that uses variable bandwidth technology to play on the Internet in a "streaming" manner, such as audio, video or multimedia files, enabling people to operate from 28 kbit/s to 1200 kbit/s. Enjoy continuous high quality audio and video programming online. At present, streaming media technology has been widely used in multimedia news release, online live broadcast, online advertising, e-commerce, video on demand, telemedicine, Internet radio, real-time video conferencing and other information on the Internet. Streaming media can be divided into unicast, broadcast and multicast. Among them, unicast means that a separate data channel needs to be established between the client and the media server. The data packets sent from one server can only be transmitted to one. Client computer. Broadcast refers to the passive reception of streaming media by users. During the broadcast process, the client receives streaming media but cannot control streaming media. Multicast (Multicast): Internet Protocol (Internet Protocol) The multicast technology builds a multicast-capable network that allows routers to replicate packets to multiple channels at once. With multicast, a single server can simultaneously send continuous data streams to hundreds of thousands of clients without delay. The media server only needs to send one packet, not multiple; all requesting clients share the same packet. According to the playback mode of streaming media content, it is divided into download and play, on-demand and live broadcast. Download Play: The user downloads and stores the streaming media content to the local terminal, and then can choose to play at any time. Streaming on-demand: The content provider pre-edits, compresses, and compresses a piece of multimedia content to form a file in a specified format, and then stores it on the streaming server. The user selects the content file on the streaming server as needed to play. Streaming media broadcast: When the terminal player plays streaming live content, the content playing time is the same as the content source event. That is, the streaming media encoding server compresses and encodes the content source in real time, and sends it to the user terminal via the streaming server. 1 is a block diagram of a streaming media protocol according to the related art. The protocol composition of a streaming media service is as shown in FIG. 1: The ten-transmission protocol includes: HyperText Transfer Protocol (HTTP) / Transmission Control Ten Control (Transmission Control Protocol) is a User Datagram Protocol (User Datagram Protocol) called UDP. HTTP is mainly used to discover streaming media content and obtain real-time streaming media protocol (Real Time)
Streaming Protocol , 筒称为 RTSP ) 月 务器的通用资源定位器 ( Uniform Resource Locator, 筒称为 URL ) 和多用途因特网邮件扩充 (Multi-purpose Internet Mail Extension, 筒称为 MIME ) 参数, 也可以直接获得会话描述十办 议 ( Session Description Protocol, 筒称为 SDP ) 文件。 HTTP也可以用于传 输流媒体中静态图像和文本等内容, 并用于音视频下载。 HTTP 协议要求符 合 RFC2616和 3GPP TS 26.234。 MIME是用来标记传输的文件类型 , 在流媒 体中主要用于播放器的启动。 Streaming Protocol, called RTSP) The universal resource locator (Uniform Resource Locator) and the Multi-purpose Internet Mail Extension (MIME) parameter can also be directly Obtain the Session Description Protocol (SDP) file. HTTP can also be used to transfer content such as still images and text in streaming media, and is used for audio and video downloads. The HTTP protocol requirements are in accordance with RFC2616 and 3GPP TS 26.234. MIME is the type of file used to mark the transfer. It is mainly used for booting the player in the streaming media.
RTSP 主要通过获取会话描述信息 (DESCRIBE ) , 建立流媒体连接 ( SETUP ),内容播放( PLAY ),连接暂停( PAUSE )和连接中止( TEARDOWN ) 等控制消息来实现流媒体的会话建立、 播放、 暂停、 中止等操作。 RTSP 协 议要求符合 RFC2326和 3GPP TS 26.234。 实时传输协议 ( Real Time Transport Protocol, 筒称为 RTP )主要用于传 输流媒体中的视频、 音频和语音等媒体内容。 RTP 协议要求符合 RFC3550 和 3GPP TS 26.234。 实时传输控制协议 ( Real Time Control Protocol, 筒称为 RTCP )主要用 于服务器和客户端之间的流量控制和拥塞控制。 在 RTP会话期间 , 各参与者 周期性地传送 RTCP 包, RTCP 包中包含已发送的数据包的数量、 丢失的数 据包的数量等统计信息, 服务器可以利用这些信息动态改变传输速率。 RTP 和 RTCP配合使用 ,能以有效的反馈和最小的开销使传输效率最佳化。 RTCP 协议要求符合 RFC3550和 3GPP TS 26.234。 RTSP mainly establishes session description information (DESCRIBE), establishes streaming media connection (SETUP), content playback (PLAY), connection pause (PAUSE) and connection abort (TEARDOWN) control messages to achieve streaming media session establishment, playback, pause , abort, etc. The RTSP protocol requirements are in accordance with RFC 2326 and 3GPP TS 26.234. The Real Time Transport Protocol (RTP) is mainly used to transport media content such as video, audio and voice in streaming media. The RTP protocol requirements are compliant with RFC3550 and 3GPP TS 26.234. The Real Time Control Protocol (RTCP) is mainly used for traffic control and congestion control between the server and the client. During the RTP session, each participant periodically transmits RTCP packets, which contain statistics such as the number of transmitted packets and the number of lost packets. The server can use this information to dynamically change the transmission rate. RTP works with RTCP to optimize transmission efficiency with efficient feedback and minimal overhead. The RTCP protocol requirements are compliant with RFC3550 and 3GPP TS 26.234.
SDP是一种用于会话描述的格式 (协议), 并不是一个传输协议, 也不 包含在媒体的编解码之中 , 而是用于在不同传输协议之间传递消息的通知协 议, 其主要目的是解决多媒体会话通知、 邀请和会话初始化工作。 SDP文件 既可以通过对用户 HTTP请求的响应传给播放器, 也可以通过对用户 RTSP DESCRIBE请求的响应传给播放器。 SDP协议要求符合 RFC2327和 3GPP TS 26.234。 目前, 宽带码分多址接入 ( Wide Code Division Multiple Access, 筒称为 WCDMA )技术在全球得到了大规模的应用 , WCDMA技术的一个重大优势 就是可以提供高速的分组域(Packet Switching, 筒称为 PS )业务, 其高速下 行分组接入 ( High Speed Downlink Packet Access , 筒称为 HSDPA )下行速率 已经可以达到 7.2M。 针对 PS域的高速率特性, WCDMA无线数据卡得到了 广泛的应用。 但是, 当前所使用的无线数据卡的功能过于筒单, 主要的功能局限于作 为 MODEM上网, 以及短消息月 务( Short Message Service, 筒称为 SMS ) 和语音通话等筒单功能。 WCDMA网络在提供了高速速率的同时, 也向用户 提供了丰富的应用 , 而目前的无线数据卡用户却由于网卡功能的单一而无法 享受这些丰富的应用, 如果需要享受这些应用就需要购买专用的终端, 增加 了用户的开销。 尤其是流媒体这种业务, 目前其应用仅局限于电话(固定电话、 移动电 话等), 而不能够扩展到个人计算机 ( Personal Computer, 筒称为 PC ) 终端 (台式机或笔记本等)。 目前, 针对无线数据卡功能筒单而无法兼容多种应用的问题, 尚未提出 有效的解决方案。 发明内容 本发明要解决的技术问题是相关技术中无线数据卡功能筒单而无法兼 容多种应用以及拓展应用需增加用户开销的问题, 为此, 提供了一种流媒体 业务实现方案, 以解决上述问题至少之一。 根据本发明的一个方面, 提供了一种流媒体业务实现方法。 才艮据本发明实施例的流媒体业务实现方法包括:用户设备通过无线数据 卡与核心网建立无线承载; 用户设备才艮据建立的无线承载与流媒体服务器建 立连接; 用户设备接收来自流媒体服务器的流媒体数据流, 并播放流媒体数 据流。 优选地,在用户设备才艮据建立的无线 载与流媒体 务器建立连接的处 理之前, 该方法还包括: 用户设备接收来自流媒体服务器的流媒体数据流的 会话描述协议文件。 优选地 ,用户设备根据建立的无线承载与流媒体服务器建立连接的处理 具体包括: 用户设备才艮据会话描述协议文件与流媒体服务器建立实时流媒体 协议连接。 优选地,用户设备接收来自流媒体服务器的流媒体数据流的处理具体包 括: 用户设备通过与流媒体服务器建立实时流媒体协议连接, 与流媒体服务 器进行实时传输协议端口协商; 用户设备接收来自流媒体服务器的实时传输 协议数据。 才艮据本发明的另一方面, 还提供了一种流媒体业务实现装置。 才艮据本发明实施例的流媒体业务实现装置包括: 无线承载建立模块, 用 于通过无线数据卡与核心网建立无线承载; 连接建立模块, 用于用户设备才艮 据建立的无线承载与流媒体服务器建立连接; 接收及播放模块, 用于用户设 备接收来自流媒体 务器的流媒体数据流 , 并播放流媒体数据流。 优选地, 连接建立模块进一步包括: 会话描述协议文件接收模块, 用于 接收来自流媒体月 务器的流媒体数据流的会话描述协议文件; 实时流媒体协 议连接建立模块 , 用于根据接收模块接收的会话描述协议文件与流媒体服务 器建立实时流媒体协议连接。 优选地, 接收及播放模块具体包括: 端口协商模块, 用于与流媒体服务 器进行实时传输协议端口协商; 数据接收模块, 用于接收来自流媒体服务器 的实时传输协议数据; 播放模块 , 用于播放实时传输协议数据。 才艮据本发明的上述技术方案 ,通过使用无线数据卡作为无线 载的实现 工具实现流媒体业务,能够将从无线数据卡接收的流媒体数据流在计算机 PC 软件的播放区域播放, 从而提高了用户的体验, 并节省了用户的费用。 附图说明 此处所说明的附图用来提供对本发明的进一步理解 ,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是才艮据相关技术的流媒体协议结构框图; 图 2是才艮据本发明实施例的流媒体业务实现方法的流程图; 图 3是根据本发明方法实施例的基于 RTSP/RTP的流媒体业务的优选处 理的流程图; 图 4是才艮据本发明实施例的流媒体业务实现装置的框图; 图 5 是才艮据本发明实施例的通过无线网卡实现流媒体功能协议的结构 框图。 具体实施方式 以下结合附图对本发明的优选实施例进行说明 , 应当理解 , 此处所描述 的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。 功能相克述 考虑到相关技术中无线数据卡功能筒单而无法兼容多种应用以及拓展 应用需增加用户开销的问题,本发明实施例提供了一种流媒体业务实现方案 , 该方案的处理原则如下: 通过使用无线数据卡作为无线 载的实现工具实现 流媒体业务, 并将从无线网卡接收的流媒体数据流解析后在计算机 PC软件 的播放区域播放, 从而在 PC能够实现流媒体业务的功能。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 在以下实施例中,在附图的流程图示出的步骤可以在诸如一组计算机可 执行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但 是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 方法实施例 才艮据本发明实施例 , 提供了一种流媒体业务实现方法。 图 2是根据本发明方法实施例的流媒体业务实现方法的流程图, 如图 2 所示, 该方法包括(步骤 S202-S206 ): 步骤 S202, 用户设备通过无线数据卡与核心网建立无线承载; 对于无线数据卡 (无线网卡) 需要支持 PS域呼叫业务, 并且在网卡侧 需要有一个同网卡 PC软件的接口模块,负责解析 PC软件发送的命令并且发 送和接收流媒体的数据。 在网卡的 PC软件上, 需要向用户提供操作接口, 用户可以通过操作界面发起流媒体业务。 并且可以将从无线网卡接收的流媒 体数据流解析后在计算机 PC软件的播放区域播放。 步骤 S204, 用户设备根据建立的无线承载与流媒体服务器建立连接; 步骤 S206, 用户设备接收来自流媒体服务器的流媒体数据流, 并播放 流媒体数据流。 下面以基于 RTSP/RTP的点播、 直播类流媒体业务流程为例, 详细描述 步骤 S204和步骤 S206的具体处理过程, 图 3是根据本发明方法实施例的基 于 RTSP/RTP的流媒体业务的优选处理的流程图。 如图 3所示, 一次成功的呼叫流程主要包括以下四个阶段: 内容发现, 连接建立, 内容播放和连接中止。 该流程包括以下处理: 内容发现 步骤 S302, 用户操作触发网卡完成无线 载的建立。 例如, 浏览网页。 步骤 S304, 用户通过 PC点击门户上某一流媒体内容, 浏览器向门户发 起 HTTP Get命令 (含用户代理 , User Agent )。 口果浏览器通过 HTTP 200 OK 响应消息从 Web服务器上获得流媒体内容的 RTSP链接, 用户点击该链接, 则网卡的 PC软件激活流媒体播放器。 如果浏览器通过 HTTP 200 OK响应消息, 从 Web服务器上获得 SDP 文件的 HTTP链接, 用户点击该链接, 则网卡的 PC软件向流媒体月 务器请 求 SDP文件。 服务器返回 SDP文件, 获得流媒体内容的 RTSP链接, 网卡 的 PC软件激活流媒体播放器。 连接建立 步骤 S306, 获取会话描述信息 ( DESCRIBE )。 SDP is a format (protocol) used for session description. It is not a transport protocol, nor is it included in the codec of the media. It is a notification protocol for transmitting messages between different transport protocols. Its main purpose is It is to solve the multimedia session notification, invitation and session initialization work. The SDP file can be passed to the player either by a response to the user's HTTP request or by a response to the user's RTSP DESCRIBE request. The SDP protocol requirements are in accordance with RFC 2327 and 3GPP TS 26.234. At present, Wide Code Division Multiple Access (WCDMA) technology has been widely used in the world. A major advantage of WCDMA technology is that it can provide high-speed packet domain (Packet Switching). For the PS) service, its High Speed Downlink Packet Access (HSDPA) downlink rate can reach 7.2M. For the high rate characteristics of the PS domain, WCDMA wireless data cards have been widely used. However, the functions of the currently used wireless data cards are too numerous, and the main functions are limited to the MODEM Internet access, as well as the short message service (SMS) and voice call. While providing high-speed rates, WCDMA networks also provide users with a wealth of applications. However, current wireless data card users cannot enjoy these rich applications due to the single function of network cards. If you need to enjoy these applications, you need to purchase dedicated applications. The terminal increases the user's overhead. In particular, the business of streaming media is currently limited to telephones (fixed telephones, mobile phones, etc.), and cannot be extended to personal computers (PCs) (desktops or notebooks). At present, an effective solution has not been proposed for the problem that the wireless data card function is not compatible with a variety of applications. SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is that the wireless data card function in the related art cannot be compatible with multiple applications and the application needs to increase the user overhead. Therefore, a streaming media service implementation solution is provided to solve the problem. At least one of the above issues. According to an aspect of the present invention, a streaming media service implementation method is provided. The method for implementing the streaming media service according to the embodiment of the present invention includes: the user equipment establishes a radio bearer with the core network through the wireless data card; the user equipment establishes a connection with the streaming media server according to the established radio bearer; and the user equipment receives the streaming media. The server streams the streaming data and plays the streaming data stream. Preferably, before the user equipment establishes a connection between the established wireless carrier and the streaming server, the method further comprises: the user equipment receiving the session description protocol file of the streaming media data stream from the streaming media server. Preferably, the process for the user equipment to establish a connection with the streaming media server according to the established radio bearer specifically includes: the user equipment establishes a real-time streaming media protocol connection with the streaming media server according to the session description protocol file. Preferably, the processing of the user equipment receiving the streaming media data stream from the streaming media server comprises: the user equipment establishes a real-time streaming protocol connection with the streaming media server, and performs real-time transmission protocol port negotiation with the streaming media server; the user equipment receives the stream from the stream Real-time transport protocol data for the media server. According to another aspect of the present invention, a streaming media service implementing apparatus is also provided. The streaming media service implementation apparatus according to the embodiment of the present invention includes: a radio bearer establishing module, configured to establish a radio bearer with a core network by using a wireless data card; and a connection establishing module, configured to perform radio bearer and flow according to the established data of the user equipment. The media server establishes a connection; the receiving and playing module is configured to receive, by the user equipment, the streaming media data stream from the streaming media server, and play the streaming media data stream. Preferably, the connection establishing module further comprises: a session description protocol file receiving module, a session description protocol file for receiving a streaming media data stream from the streaming media server; a real-time streaming media protocol connection establishing module, configured to receive according to the receiving module The session description protocol file establishes a real-time streaming protocol connection with the streaming server. Preferably, the receiving and playing module specifically includes: a port negotiation module, configured to perform real-time transmission protocol port negotiation with the streaming media server; a data receiving module, configured to receive real-time transmission protocol data from the streaming media server; and a playing module, configured to play Transfer protocol data in real time. According to the above technical solution of the present invention, by using a wireless data card as a wireless load implementation tool to implement a streaming media service, the streaming media data stream received from the wireless data card can be played in the playing area of the computer PC software, thereby improving The user experience and saves the user's expense. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a block diagram of a streaming media protocol structure according to the related art; FIG. 2 is a flowchart of a method for implementing a streaming media service according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a method according to the present invention. FIG. 4 is a block diagram of a streaming media service implementing apparatus according to an embodiment of the present invention; FIG. 5 is a flow through a wireless network card according to an embodiment of the present invention; A block diagram of the media function protocol. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings. The present invention provides a streaming media service implementation solution, and the processing principles of the solution are as follows: Considering the problem that the wireless data card function in the related art is not compatible with a plurality of applications and the application of the application is increased. The streaming media service is implemented by using the wireless data card as a wireless implementation tool, and the streaming data stream received from the wireless network card is parsed and played in the playing area of the computer PC software, so that the function of the streaming media service can be realized in the PC. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. In the following embodiments, the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and although the logical order is illustrated in the flowchart, in some cases The steps shown or described may be performed in an order different from that herein. Method Embodiments According to an embodiment of the present invention, a streaming media service implementation method is provided. 2 is a flowchart of a method for implementing a streaming media service according to an embodiment of a method according to the present invention. As shown in FIG. 2, the method includes: (Steps S202-S206): Step S202: A user equipment establishes a radio bearer with a core network by using a wireless data card. For the wireless data card (wireless network card), it is required to support the PS domain call service, and an interface module of the same network card PC software is required on the network card side, which is responsible for parsing the commands sent by the PC software and transmitting and receiving the data of the streaming media. On the PC software of the network card, an operation interface needs to be provided to the user, and the user can initiate a streaming media service through the operation interface. And the streaming media data stream received from the wireless network card can be parsed and played in the playing area of the computer PC software. Step S204: The user equipment establishes a connection with the streaming media server according to the established radio bearer. Step S206: The user equipment receives the streaming media data stream from the streaming media server, and plays the streaming media data stream. The following describes the specific processing procedure of step S204 and step S206 in detail by taking the RTSP/RTP-based on-demand and live streaming media service flow as an example, and FIG. 3 is a preferred embodiment of the RTSP/RTP-based streaming media service according to the method embodiment of the present invention. Process flow chart. As shown in Figure 3, a successful call flow mainly includes the following four phases: content discovery, connection establishment, content playback, and connection suspension. The process includes the following processing: Content discovery step S302, the user operation triggers the network card to complete the establishment of the wireless load. For example, browse the web. Step S304, the user clicks on a certain streaming media content on the portal through the PC, and the browser sends the content to the portal. From the HTTP Get command (including user agent, User Agent). The mouth-of-mouth browser obtains the RTSP link of the streaming media content from the web server through the HTTP 200 OK response message, and the user clicks the link, and the PC software of the network card activates the streaming media player. If the browser obtains the HTTP link of the SDP file from the web server through the HTTP 200 OK response message, and the user clicks the link, the PC software of the network card requests the SDP file from the streaming server. The server returns the SDP file, obtains the RTSP link of the streaming media content, and the PC software of the network card activates the streaming media player. The connection establishment step S306 acquires session description information (DESCRIBE).
PC软件侧的播放器通过 RTSP协议的 DESCRIBE命令请求 SDP, 月 务 器在应答中提供流媒体内容的描述信息 SDP文件, SDP的文本消息告诉播放 器多媒体会话的信息, 其中主要包括: 协议版本, 创作者和会话识别号, 会 话名称, 会话激活时间, 媒体名称传输地址和其它一些信息。 如果服务器已 经通过 HTTP响应返回 SDP文件 , 播放器不再发送 DESCRIBE请求。 步骤 S308 , 建立流媒体连接 ( SETUP )。 The player on the PC software side requests the SDP through the DESCRIBE command of the RTSP protocol. The server provides the description information of the streaming media content in the response. The SDP text message tells the player the multimedia session information, which mainly includes: the protocol version. Creator and session ID, session name, session activation time, media name transfer address, and other information. If the server has returned an SDP file via an HTTP response, the player no longer sends a DESCRIBE request. Step S308, establishing a streaming media connection (SETUP).
PC软件侧的播放器根据 SDP 的信息与媒体服务器建立 RTSP连接, SETUP消息中必须包括会话标识、 播放器的传输协议(RTP ) 端口号。 媒体 服务器正确接到此信息后提供响应服务器的 RTP端口号, 最终完成 RTP端 口的动态1"办商。 内容播放(PLAY ) 步骤 S310, PC软件侧的播放器向服务器端发出 RTSP中的播放命令, PLAY 消息中必须包括会话标识, 及时间起始点, 媒体服务器会话标识, 媒 体播放时间。 步骤 S312, 媒体服务器通过 RTP向 PC软件的播放器传送媒体内容。 此时网卡只是一个无线承载的功能, 将接收到的所有 RTP 数据, 都转发到 PC软件的流媒体播放器。 PC软件接收到流媒体的 RTP数据后, 对其进行解 码播放。 连接中止 ( TEARDOWN ) 步骤 S314, 在¾¾媒体正常播放完成后, 或者用户主动中止播放或主动 关闭播放器时 (不包括用户暂停播放 ) , PC软件侧的流媒体播放器都必须向 服务器发出 RTSP协议中的中止命令, 包括会话标识等信息, 服务器端接到 后 丈出 200 OK响应。 借助上述实施例,通过使用无线数据卡作为无线承载的实现工具实现流 媒体业务, 能够在 PC实现流媒体业务。 装置实施例 才艮据本发明的实施例, 还提供了一种流媒体业务实现装置。 图 4是才艮据本发明实施例的流媒体业务实现装置的框图, 如图 4所示, 才艮据本发明实施例的流媒体业务实现装置包括: 无线承载建立模块 10, 用于通过无线数据卡与核心网建立无线承载; 连接建立模块 20 , 连接至无线承载建立模块 10, 用于用户设备根据建 立的无线承载与流媒体服务器建立连接; 接收及播放模块 30 , 连接至连接建立模块 20 , 用于用户设备接收来自 流媒体 务器的流媒体数据流, 并播放流媒体数据流。 在具体实施过程中, 连接建立模块 20可以包括: 会话描述协议文件接 收模块(未示出), 用于接收来自流媒体服务器的流媒体数据流的会话描述协 议文件; 实时流媒体协议连接建立模块(未示出), 用于根据接收模块接收的 会话描述协议文件与流媒体 务器建立实时流媒体协议连接。 并且, 接收及播放模块 30具体包括: 端口协商模块(未示出), 用于与 流媒体服务器进行实时传输协议端口协商; 数据接收模块(未示出), 用于接 收来自流媒体服务器的实时传输协议数据; 播放模块(未示出), 用于播放实 时传输协议数据。 下面将详细描述上述各个模块在 PC终端中的部署方案。 图 5是根据本 发明实施例的通过无线网卡实现流媒体功能协议栈的结构框图。 如图 5所示, 在本实现方案中, 将流媒体的实现方案按照模块分为了 4 大部分。 部分 A为从支持流媒体的终端侧移植到 PC侧的多媒体功能 , 部分 B才艮据实际情况原则上可以利用网卡上的协议栈实现, 考虑到应用过程中的 处理效率, 建议此部分也放在 PC侧实现。 部分 C为为了实现流媒体功能而 在网卡上增加的同 PC侧的控制接口模块。 部分 D为网卡本身的无线承载建 立十办议部分。 部分 A包括: 模块 1 (视频、 音频、 语音解析播放和对应的链路状态报 告功能), 模块 2 (实现能力交换、 场景描述、 静态图像、 位图、 矢量图、 文 本、 同步文本、 合成音频), 模块 3 (完成控制消息、 会话描述(SDP ) )。 这 部分内容需要在无线网卡对应的 PC软件侧实现。 部分 B为流媒体的十办议部分, 包括 RTP/RTCP, HTTP和 RTSP。 这部 分协议内容可以放在 PC软件侧实现、 也可以放在网卡上实现, 考虑到应用 过程中的处理效率 , 在本方案中将其放到 PC软件中实现。 部分 C为传输协议部分, 包括 UDP, TCP和 IP协议部分。 这部分可以 利用网卡现有的协议栈, 也可以在 PC软件中使用单独的协议栈。 考虑到应 用过程中的处理效率, 都在 PC软件侧使用单独的 UDP , TCP和 IP协议。 部分 D主要是为了配合 PC侧实现流媒体功能而增加的对于 PC侧发送 的控制命令解析的网卡控制接口模块。 部分 E是网卡本身的功能模块。 综上所述, 才艮据本发明的上述技术方案, 通过使用无线数据卡作为无线 承载的实现工具实现流媒体业务, 能够将从无线数据卡接收的流媒体数据流 在计算机 PC软件的播放区域播放, 从而提高了用户的体验, 并节省了用户 的费用。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 The player on the PC software side establishes an RTSP connection with the media server according to the information of the SDP. The SETUP message must include the session identifier and the transport protocol (RTP) port number of the player. After receiving the information, the media server provides the RTP port number of the response server, and finally completes the dynamic 1" business of the RTP port. Content Play (PLAY) Step S310, the player on the PC software side issues a play command in the RTSP to the server side. The PLAY message must include a session identifier, a time start point, a media server session identifier, and a media play time. Step S312: The media server transmits the media content to the player of the PC software through the RTP. The network card is only a wireless bearer function. All the received RTP data is forwarded to the streaming media player of the PC software. After receiving the RTP data of the streaming media, the PC software decodes and plays the RTP data. The connection is aborted (TEARDOWN) Step S314, after the normal playing of the media is completed, or when the user actively suspends playing or actively closes the player (excluding the user to pause playing), the streaming media player on the PC software side must issue an abort command in the RTSP protocol to the server. Including the session ID and other information, the server receives a 200 OK response after receiving it. With the above embodiments, the streaming media service is implemented by using the wireless data card as an implementation tool of the wireless bearer, and the streaming media service can be implemented on the PC. Apparatus Embodiments According to an embodiment of the present invention, a streaming media service implementing apparatus is also provided. 4 is a block diagram of a streaming media service implementation apparatus according to an embodiment of the present invention. As shown in FIG. 4, the streaming media service implementation apparatus according to the embodiment of the present invention includes: a radio bearer establishing module 10, configured to The data card establishes a radio bearer with the core network; the connection establishing module 20 is connected to the radio bearer establishing module 10, and is configured to establish a connection between the user equipment and the streaming media server according to the established radio bearer; and the receiving and playing module 30 is connected to the connection establishing module 20 And for the user equipment to receive the streaming media data stream from the streaming server, and play the streaming media data stream. In a specific implementation process, the connection establishing module 20 may include: a session description protocol file receiving module (not shown), a session description protocol file for receiving a streaming media data stream from the streaming media server; a real-time streaming media protocol connection establishing module (not shown), configured to establish a real-time streaming protocol connection with the streaming server according to the session description protocol file received by the receiving module. The receiving and playing module 30 specifically includes: a port negotiation module (not shown) for performing real-time transmission protocol port negotiation with the streaming server; and a data receiving module (not shown) for receiving real-time from the streaming server Transmission protocol data; a playback module (not shown) for playing real-time transport protocol data. The deployment scheme of each of the above modules in the PC terminal will be described in detail below. FIG. 5 is a structural block diagram of a streaming media function protocol stack implemented by a wireless network card according to an embodiment of the present invention. As shown in FIG. 5, in this implementation, the implementation of the streaming media is divided into four parts according to the module. Part A is a multimedia function that is ported from the terminal side supporting streaming media to the PC side, part In principle, B can be implemented by using the protocol stack on the network card. Considering the processing efficiency in the application process, it is recommended that this part be also implemented on the PC side. Part C is a control interface module on the same PC side that is added to the network card in order to implement the streaming function. Part D establishes a ten-party part for the wireless bearer of the network card itself. Part A includes: Module 1 (Video, Audio, Speech Resolution Playback and Corresponding Link Status Reporting), Module 2 (Implementing Capabilities Exchange, Scene Description, Still Images, Bitmaps, Vectors, Text, Synchronized Text, Composite Audio) ), Module 3 (Complete Control Message, Session Description (SDP)). This part needs to be implemented on the PC software side corresponding to the wireless network card. Part B is the ten-party part of streaming media, including RTP/RTCP, HTTP and RTSP. The content of this part of the protocol can be implemented on the PC software side or on the network card. Considering the processing efficiency in the application process, it is implemented in the PC software in this solution. Part C is the transport protocol part, including the UDP, TCP and IP protocol parts. This part can take advantage of the existing protocol stack of the network card, or use a separate protocol stack in the PC software. Considering the processing efficiency in the application process, separate UDP, TCP and IP protocols are used on the PC software side. Part D is mainly a network card control interface module for analyzing the control commands sent by the PC side to increase the streaming media function on the PC side. Part E is the functional module of the network card itself. In summary, according to the above technical solution of the present invention, the streaming media service is implemented by using the wireless data card as an implementation tool of the wireless bearer, and the streaming media data received from the wireless data card can be streamed in the playing area of the computer PC software. Play, which improves the user experience and saves the user's expense. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Various modifications and variations of the present invention are possible in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种流媒体业务实现方法, 其特征在于, 包括: A method for implementing a streaming media service, comprising:
用户设备通过无线数据卡与核心网建立无线承载;  The user equipment establishes a radio bearer with the core network through the wireless data card;
所述用户设备才艮据建立的所述无线承载与流媒体服务器建立连接; 所述用户设备接收来自所述流媒体服务器的流媒体数据流,并播放 所述流媒体数据流。  And the user equipment establishes a connection with the streaming media server according to the established radio bearer; the user equipment receives the streaming media data stream from the streaming media server, and plays the streaming media data stream.
2. 根据权利要求 1所述的方法 , 其特征在于 , 在所述用户设备根据建立的 所述无线 载与所述流媒体 务器建立连接的处理之前, 所述方法还包 括: The method according to claim 1, wherein before the processing of the connection between the user equipment and the streaming server according to the established wireless device, the method further includes:
所述用户设备接收来自所述流媒体服务器的所述流媒体数据流的 会话描述协议文件。  The user equipment receives a session description protocol file of the streaming media data stream from the streaming media server.
3. 根据权利要求 2所述的方法, 其特征在于 , 所述用户设备根据建立的所 述无线承载与所述流媒体服务器建立连接的处理具体包括: The method according to claim 2, wherein the processing of the user equipment establishing a connection with the streaming media server according to the established radio bearer specifically includes:
所述用户设备才艮据所述会话描述协议文件与所述流媒体月 务器建 立实时流媒体协议连接。  And the user equipment establishes a real-time streaming protocol connection with the streaming media server according to the session description protocol file.
4. 才艮据权利要求 3所述的方法, 其特征在于, 所述用户设备接收来自所述 流媒体服务器的流媒体数据流的处理具体包括: The method according to claim 3, wherein the processing by the user equipment to receive the streaming media data stream from the streaming media server comprises:
所述用户设备通过与所述流媒体服务器建立实时流媒体协议连接, 与所述流媒体服务器进行实时传输协议端口协商;  The user equipment establishes a real-time streaming protocol connection with the streaming media server, and performs real-time transmission protocol port negotiation with the streaming media server;
所述用户设备接收来自所述流媒体服务器的实时传输协议数据。  The user equipment receives real-time transport protocol data from the streaming server.
5. 一种流媒体业务实现装置, 其特征在于, 包括: A device for implementing a streaming media service, comprising:
无线^^载建立模块, 用于通过无线数据卡与核心网建立无线^^载; 连接建立模块,用于所述用户设备才艮据建立的所述无线承载与流媒 体服务器建立连接;  a wireless device establishing module, configured to establish a wireless connection with the core network by using a wireless data card; and a connection establishing module, configured to establish, by the user equipment, the connection between the wireless bearer and the streaming media server according to the established wireless bearer;
接收及播放模块,用于所述用户设备接收来自所述流媒体服务器的 流媒体数据流, 并播放所述流媒体数据流。 And a receiving and playing module, configured to receive, by the user equipment, a streaming media data stream from the streaming media server, and play the streaming media data stream.
6. 根据权利要求 5所述的装置, 其特征在于, 所述连接建立模块进一步包 括: The device according to claim 5, wherein the connection establishing module further comprises:
会话描述协议文件接收模块,用于接收来自所述流媒体服务器的所 述流媒体数据流的会话描述协议文件;  a session description protocol file receiving module, configured to receive a session description protocol file of the streaming media data stream from the streaming media server;
实时流媒体协议连接建立模块,用于根据所述接收模块接收的所述 会话描述协议文件与所述流媒体 务器建立实时流媒体协议连接。  And a real-time streaming media protocol connection establishing module, configured to establish a real-time streaming media protocol connection with the streaming media according to the session description protocol file received by the receiving module.
7. 根据权利要求 6所述的装置, 其特征在于, 所述接收及播放模块具体包 括: The device according to claim 6, wherein the receiving and playing module specifically comprises:
端口协商模块 ,用于与所述流媒体服务器进行实时传输协议端口协 商;  a port negotiation module, configured to perform real-time transmission protocol port negotiation with the streaming media server;
数据接收模块 ,用于接收来自所述流媒体服务器的实时传输协议数 据;  a data receiving module, configured to receive real-time transport protocol data from the streaming media server;
播放模块, 用于播放所述实时传输协议数据。  a playing module, configured to play the real-time transport protocol data.
PCT/CN2009/073847 2008-10-21 2009-09-09 Method and apparatus for implementing stream media service WO2010045830A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810169489.X 2008-10-21
CN200810169489.XA CN101399836A (en) 2008-10-21 2008-10-21 Stream media service implementation method and apparatus

Publications (1)

Publication Number Publication Date
WO2010045830A1 true WO2010045830A1 (en) 2010-04-29

Family

ID=40518085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073847 WO2010045830A1 (en) 2008-10-21 2009-09-09 Method and apparatus for implementing stream media service

Country Status (2)

Country Link
CN (1) CN101399836A (en)
WO (1) WO2010045830A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629250A (en) * 2020-05-28 2020-09-04 海信视像科技股份有限公司 Display device and video playing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399836A (en) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 Stream media service implementation method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741633A (en) * 2004-08-27 2006-03-01 华为技术有限公司 System for realizing circuit field moving stream media requesting to broadcast and method thereof
CN101034995A (en) * 2006-03-08 2007-09-12 北京汉辰科技有限公司 Internet personal video recording system and its terminal
US20080140850A1 (en) * 2006-12-08 2008-06-12 Yahoo! Inc. System and method for routing streaming data requests
CN101399836A (en) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 Stream media service implementation method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741633A (en) * 2004-08-27 2006-03-01 华为技术有限公司 System for realizing circuit field moving stream media requesting to broadcast and method thereof
CN101034995A (en) * 2006-03-08 2007-09-12 北京汉辰科技有限公司 Internet personal video recording system and its terminal
US20080140850A1 (en) * 2006-12-08 2008-06-12 Yahoo! Inc. System and method for routing streaming data requests
CN101399836A (en) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 Stream media service implementation method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629250A (en) * 2020-05-28 2020-09-04 海信视像科技股份有限公司 Display device and video playing method

Also Published As

Publication number Publication date
CN101399836A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
JP6487076B2 (en) Internet Protocol (IP) Multimedia Subsystem (IMS) based Peer to Peer (P2P) content delivery
EP2036350B1 (en) Media channel management
US9282448B2 (en) Method, system and apparatus for providing streaming media service
EP1579644B1 (en) Method and system for group communications
JP6254188B2 (en) Method of supplying presence information by presence server in IMS-based DASH service, and user equipment (UE) receiving presence information via presence server
JP2008530835A (en) On-demand multi-channel streaming sessions over packet-switched networks
EP2130346B1 (en) Media stream setup in a group communication system
EP2989800B1 (en) Data communication system and method
JP2010509798A (en) System and method for enabling fast switching between PSSE channels
US20060133372A1 (en) Apparatus and method for multiplexing packet in mobile communication network
JP6418665B2 (en) Method of supplying presence information by presence server in IMS-based DASH service, and user equipment (UE) receiving presence information via presence server
WO2010045830A1 (en) Method and apparatus for implementing stream media service
KR100541523B1 (en) Method of Controlling Channel for Providing Multimedia Contents in Mobile Communication Network
KR100612674B1 (en) Method for Providing of Interactive Multimedia Contents Service in Mobile Communication System
KR101774482B1 (en) Video Transmitting System and Method, and Video Play Terminal and Method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09821551

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09821551

Country of ref document: EP

Kind code of ref document: A1