WO2012083620A1 - Method, means and system for downloading streaming media files - Google Patents

Method, means and system for downloading streaming media files Download PDF

Info

Publication number
WO2012083620A1
WO2012083620A1 PCT/CN2011/072521 CN2011072521W WO2012083620A1 WO 2012083620 A1 WO2012083620 A1 WO 2012083620A1 CN 2011072521 W CN2011072521 W CN 2011072521W WO 2012083620 A1 WO2012083620 A1 WO 2012083620A1
Authority
WO
WIPO (PCT)
Prior art keywords
streaming media
media file
download
management server
source information
Prior art date
Application number
PCT/CN2011/072521
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 WO2012083620A1 publication Critical patent/WO2012083620A1/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/75Media network packet handling
    • H04L65/762Media network packet handling at the source 

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for downloading streaming media files.
  • the streaming media service belongs to one of the value-added services of the third generation mobile communication technology (3G, 3rd-Generation), and the technology is widely applied to mobile video and online on-demand/live broadcasting services, and these services are registered by using a preset installation client.
  • the server directly accesses the streaming media on-demand server, and then plays the streaming media file through the preset streaming media player.
  • the embodiment of the invention provides a method, a device and a system for downloading a streaming media file, which are used to facilitate the downloading of the streaming media file, and prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the streaming media on-demand server. safety.
  • the downloading terminal determines the source information of the streaming media file, and sends a download request to the subscription management server, where the download request carries the source information of the streaming media file;
  • the download terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and obtains a streaming media file from the subscription management server according to the download address of the streaming media file.
  • the download terminal determines the source information of the streaming media file, including:
  • the downloading terminal acquires the source information of the currently-on-demand streaming media file, including the identifier of the streaming media file, and the file of the streaming media file saved on the streaming media on-demand server, in the process of the streaming media on-demand. Directory information.
  • the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and includes:
  • the subscription management server directly transmits the downloaded address of the generated streaming media file to the download terminal.
  • the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and includes:
  • the subscription management server sends a download address of the generated streaming media file to the push server;
  • the push server forwards the download address to the download terminal.
  • a sending request unit configured to determine source information of the streaming media file, and to the subscription management service And sending a download request, where the download request carries the source information of the streaming media file; and the obtaining the address unit, configured to acquire a download address of the streaming media file generated by the subscription management server according to the piece source information;
  • a download unit configured to obtain a streaming media file from a subscription management server according to a download address of the streaming media file.
  • the sending request unit acquires, in the process of streaming the media, the source information of the current streaming media file, including the identifier of the streaming media file, and the stream saved on the streaming media on-demand server, from the streaming media on-demand server. File directory information for media files.
  • the download address of the streaming media file obtained by the obtaining address unit is directly sent to the device by the subscription management server.
  • the acquiring address unit receives a push message sent by the push server, where the download address of the streaming media file is carried;
  • the download address of the streaming media file carried in the push message is sent by the subscription management server to the push server.
  • the terminal is configured to: obtain, in the process of streaming the media on-demand, the source information of the currently-on-demand streaming media file from the streaming media on-demand server, and send a download request to the subscription management server, where the download request carries the source of the streaming media file Obtaining a download address of the streaming media file generated by the subscription management server according to the piece source information, and acquiring a streaming media file from the subscription management server according to the download address of the streaming media file;
  • a subscription management server configured to receive a download request sent by the terminal, obtain a piece source information of the streaming media file, obtain a streaming media file from the streaming media on-demand server according to the piece source information, and generate a download address of the streaming media file, and then The download address is sent to the terminal; and, the streaming file is provided to the terminal;
  • a streaming media on-demand server configured to provide the source information of the streaming media file to the terminal, and The streaming media file is sent to the subscription management server.
  • the system also includes:
  • the push server is configured to forward the download address sent by the subscription management server to the terminal by using a push message.
  • the download terminal determines the source information of the streaming media file, and sends a download request to the subscription management server, where the source information of the streaming media file is carried; and the download terminal acquires the streaming media generated by the subscription management server according to the source information.
  • the download address of the file according to the download address of the streaming media file, obtains the streaming media file from the subscription management server, so that the terminal downloads the streaming media file at any time according to the obtained download address, so that the download of the streaming media file is more convenient, and through the subscription management
  • the server downloads the streaming media file to prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the security of the streaming media on-demand server.
  • FIG. 1 is a schematic flowchart of a method for downloading a streaming media file according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for downloading a streaming media file according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a streaming media file downloading device according to an embodiment of the present invention.
  • the embodiment of the invention provides a method, a device and a system for downloading a streaming media file, which are used to facilitate the downloading of the streaming media file, and prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the streaming media on-demand server. safety.
  • a method for downloading a streaming media file includes the following steps:
  • the download terminal determines the source information of the streaming media file.
  • the download terminal sends a download request to the subscription management server, where the streaming media file is carried. Source information of the piece.
  • the download terminal acquires a download address of the streaming media file generated by the subscription management server according to the source information.
  • the download terminal acquires the streaming media file from the subscription management server according to the download address of the streaming media file.
  • the download terminal may be a mobile terminal, such as a mobile terminal, or a fixed terminal such as a computer.
  • the downloading terminal determines the source information of the streaming media file, including:
  • the downloading terminal obtains the source information of the currently-on-demand streaming media file, including the identifier of the streaming media file, such as the name of the streaming media file, and the saved on the streaming media on-demand server, in the process of streaming the on-demand media.
  • File directory information for streaming media files is included in the source information of the currently-on-demand streaming media file.
  • the download address of the streaming media file is generated after the subscription management server obtains the streaming media file from the streaming media on-demand server according to the source information of the streaming media file carried in the subscription management server after receiving the download request.
  • the download address of the streaming media file is generated after the subscription management server obtains the streaming media file from the streaming media on-demand server according to the source information of the streaming media file carried in the subscription management server after receiving the download request.
  • the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the source information, and includes:
  • the download address of the generated streaming media file is directly sent by the subscription management server to the download terminal ⁇ or ,
  • the download address of the generated streaming media file is sent by the subscription management server to the push server, and then forwarded to the download terminal by the push server.
  • the order management server receives the download request sent by the terminal, obtains the source information of the streaming media file, obtains the streaming media file from the streaming media on-demand server according to the piece source information, and saves the file in the preset temporary file directory, and The download address of the streaming media file is generated, and then the download address is sent to the terminal, and may be directly sent to the terminal, or may be forwarded to the terminal through other servers; and subsequently, the streaming media file is provided to the terminal according to the terminal request.
  • the terminal obtains the download address of the streaming media file, including:
  • the download address of the streaming media file carried in the push message is sent by the subscription management server to the push server. That is, the download address of the streaming media file is forwarded by the push server to the terminal.
  • the download address of the streaming media file includes:
  • the IP address of the order management server the directory information of the temporary file on the order management server where the streaming media file is saved, and the identifier of the streaming file.
  • a subscription option is added in the streaming media player menu on the terminal side.
  • the download request is sent by selecting this option.
  • the subscription option is grayed out, that is, not available. selected.
  • the operator establishes and provides a subscription management server for the streaming media file, receives the download request sent by the terminal, parses the request, obtains the source information of the streaming media file, and obtains the streaming media from the streaming media on-demand server according to the source information.
  • the file source information includes: a name of the streaming media file and file directory information of the streaming media file stored on the streaming media on-demand server.
  • a streaming media on-demand server receives the source information from the subscription management server, and finds a corresponding streaming media file according to the source information, and sends the streaming media file to the subscription management server, and the subscription management server saves the file to a preset In the temporary file directory, the download address of the streaming media file is then generated.
  • the download address includes a local IP address of the subscription management server and directory information of the temporary file and a name of the streaming media file.
  • the streaming media on-demand server sends the download address to the terminal by means of a Push message.
  • the subscription management server in the embodiment of the present invention is a server independent of the streaming media on-demand server.
  • a method for downloading a streaming media includes the following steps:
  • the mobile terminal initiates streaming media on demand, and initiates a subscription through a subscription option in the menu during the source playback, that is, sends a download request of the streaming media file.
  • the mobile terminal user logs in to the streaming media on-demand server provided by the operator to initiate streaming media on-demand; in the process of streaming the on-demand media, the mobile terminal sends a download request to the subscription management server according to the streaming media file selected by the user.
  • the download request is sent from the terminal's program background by means of a short message, and the message body contains the name of the currently playing multimedia file and the file directory information of the streaming media file saved on the streaming media on-demand server, so that the order manager server can quickly find the ordered order.
  • Source the name of the currently playing multimedia file and the file directory information of the streaming media file saved on the streaming media on-demand server, so that the order manager server can quickly find the ordered order.
  • the source information of the streaming media file may be obtained by the terminal by extracting a Session Description Protocol (SDP) message when the protocol is interacted with the streaming media on-demand server during the streaming media on demand process.
  • SDP Session Description Protocol
  • the order management server After receiving the download request, the order management server searches for the corresponding source on the streaming server according to the source information of the streaming media file, and copies the corresponding source to the temporary file directory of the subscription management server;
  • the temporary file directory can also be set in the streaming media on-demand server, that is, the subscription management server can also be located in the streaming media on-demand server, but in order to reduce the load of the streaming media on-demand server, the subscription management server needs to be used as the independent streaming media on-demand server. Outside the download server.
  • the ordering manager server can generate a corresponding temporary file directory for each streaming file, or use the same temporary file directory for all streaming files.
  • the streaming media files in the temporary file directory in the order manager server, or the entire temporary file directory can be set.
  • the retention period is equivalent to setting the download validity period for the streaming media file.
  • the order management server generates a download address of the streaming media file, that is, a Universal Resource Locator (URL), and sends the message to the Push server.
  • a download address of the streaming media file that is, a Universal Resource Locator (URL)
  • the Push server sends the download address to the mobile terminal.
  • the download address encrypted by Digital Right Manage can also be sent to the terminal through the Push message.
  • the specific encryption process can be done in the subscription management server. After obtaining the encrypted download address, the terminal decrypts and obtains the download address of the streaming media file.
  • the mobile terminal can initiate the download of the streaming media file through the Push message at any time according to the need, which facilitates the user to download the streaming media file; and, because the subscription manager server and its temporary file directory exist in the network architecture, Reduce the harm of various cracking methods to streaming media on-demand servers.
  • the method for downloading a streaming media file provided in the embodiment of the present invention can be implemented in any wireless terminal with a built-in streaming media module and its protocol.
  • FIG. 3 it is a schematic diagram of a downloading system of a streaming media file according to an embodiment of the present invention.
  • the system includes: a mobile phone terminal supporting streaming media playback, a streaming media on demand server, a subscription management server, and an Push server.
  • a mobile terminal configured to obtain, from a streaming media on-demand server, source information of a currently streamed streaming media file, and send a download request to the subscription management server, where the source information of the streaming media file is carried;
  • the streaming media file is obtained from the subscription management server according to the download address of the streaming media file by the subscription management server according to the download address of the streaming media file generated by the subscription source server. That is to say, the terminal supporting the streaming media play initiates the subscription request in the process of streaming media on-demand; after receiving the successful application, the receiving address including the source download address is received.
  • Push message When the download is needed, the source can be downloaded through the Push message.
  • the mobile terminal should also support the transmission function of short messages, the function of receiving Push messages and the ability to initiate connections, and the function of file downloading.
  • a subscription management server configured to receive a download request sent by the terminal, obtain a piece source information of the streaming media file, obtain a streaming media file from the streaming media on-demand server according to the piece source information, and generate a download address of the streaming media file, and then The download address is sent to the terminal; and, the streaming file is provided to the terminal.
  • the streaming media on demand server that is, the server used by the streaming media on demand, is configured to provide the source information of the streaming media file to the terminal, and send the streaming media file to the subscription management server.
  • the push server is configured to forward the download address sent by the subscription management server to the terminal by using a push message.
  • the order management server and the Push server may be combined in one server.
  • a device for downloading a streaming media file includes: a sending request unit 101, configured to determine source information of a streaming media file, and send a download request to the subscription management server, where the streaming media is carried. Source information of the file;
  • the obtaining address unit 102 is configured to obtain a download address of the streaming media file generated by the subscription management server according to the source information of the streaming media file;
  • the download unit 103 is configured to obtain a streaming media file from the subscription management server according to the download address of the streaming media file.
  • the sending requesting unit 101 acquires the source information of the currently-on-demand streaming media file from the streaming media on-demand server, including the identifier of the streaming media file, and saves the stream on the streaming media on-demand server during the process of streaming the media.
  • File directory information for media files is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to the streaming media file.
  • File directory information for media files including the identifier of the streaming media file.
  • the download address of the streaming media file acquired by the address unit 102 is obtained by the subscription management server according to the source information of the streaming media file carried in the subscription management server after receiving the download request.
  • the download address of the generated streaming media file after the streaming media file is obtained from the streaming media on demand server.
  • the download address of the streaming media file acquired by the address unit 102 is directly sent by the subscription management server to the device;
  • the obtaining address unit 102 receives the push message sent by the push server, where the download address of the streaming media file is carried; wherein the download address of the streaming media file carried in the push message is sent by the subscription management server to the push server.
  • the download address of the streaming media file acquired by the address unit 102 is obtained, including: an IP address of the subscription management server, directory information of the temporary file storing the streaming media file on the subscription management server, and an identifier of the streaming media file.
  • the device for downloading a streaming media file provided by the embodiment of the present invention may be a mobile terminal.
  • the embodiments of the present invention provide a more convenient and more integrated solution for the problem of inconvenient downloading of streaming media sources and the security of streaming media on-demand servers, so that the terminal can be in the process of on-demand broadcasting.
  • the order download request is sent, and the download can be initiated after the event as needed, so that the download of the streaming media file is more convenient, and the user operation is greatly facilitated.
  • the subscription management server is added on the network side, and the streaming media file is downloaded from the subscription management server to prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby enhancing the protection of the streaming media on-demand server itself and increasing the security.
  • embodiments of the present invention can be provided as a method, system, or computer program product.
  • the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

A method, means and system for downloading streaming media file are provided. The invention serves to download streaming media files more conveniently, avoids that users download the streaming media files from a streaming media on demand server directly, and enhances security of the streaming media on demand server. The method for downloading streaming media files includes that: a downloading terminal determines source information of a streaming media file, and sends a downloading request including the source information of the streaming media file to a subscribing management server; the downloading terminal acquires a downloading address of the streaming media file which is generated by the subscribing management server based on the source information, and acquires the streaming media file from the subscribing management server according to the downloading address of the streaming media file.

Description

一种流媒体文件的下载方法、 装置及系统  Method, device and system for downloading streaming media file
技术领域 本发明涉及通信技术领域, 尤其涉及一种流媒体文件的下载方法、 装 置及系统。 背景技术 流媒体业务属于第三代移动通信技术(3G, 3rd-Generation ) 的增值业 务之一, 其技术广泛应用于手机视频以及在线点播 /直播等业务, 这些业务 利用预置安装的客户端登录服务器或者直接访问流媒体点播服务器, 然后 通过预置的流媒体播放器进行流媒体文件的播放。 The present invention relates to the field of communications technologies, and in particular, to a method, device, and system for downloading streaming media files. BACKGROUND The streaming media service belongs to one of the value-added services of the third generation mobile communication technology (3G, 3rd-Generation), and the technology is widely applied to mobile video and online on-demand/live broadcasting services, and these services are registered by using a preset installation client. The server directly accesses the streaming media on-demand server, and then plays the streaming media file through the preset streaming media player.
在业务部署过程中, 虽然有的流媒体片源提供商在提供流媒体点播链 接的同时, 也会提供下载链接, 网页上也会有片源内容介绍, 但是, 还存 在下列三个问题: 一、 流媒体文件内容的介绍一般过于简单, 导致用户在下载完成之前, 无法获知流媒体文件的具体内容, 如果下载的流媒体文件不是自己喜欢的, 那么就浪费了流量费;  In the process of business deployment, although some streaming media source providers provide streaming links, they also provide download links. There are also source descriptions on the web pages. However, there are three problems: The introduction of the contents of the streaming media file is generally too simple, so that the user cannot know the specific content of the streaming media file before the download is completed. If the downloaded streaming media file is not what you like, then the traffic fee is wasted;
二、 如果流媒体文件点播完成, 关闭浏览器后, 用户想再次下载此流 媒体文件, 则必须打开浏览器再次找到并访问相应网页, 因此会浪费时间 及流量费, 并且如果上一次未保存相关网页, 则当再次寻找时不一定可以 找到该网页;  Second, if the streaming media file is completed on demand, after the browser is closed, the user wants to download the streaming media file again, the browser must be opened again to find and access the corresponding webpage, thus wasting time and traffic charges, and if the last time is not saved, Web page, you may not find the page when you search again;
三、 直接在流媒体文件的下载网页上提供下载链接, 还会对流媒体点 播服务器产生安全性问题, 用户可以通过下载链接目录结构, 找到其他不 应该由用户获取的文件信息, 因此安全性差。 发明内容 Third, directly provide download links on the download page of the streaming media file, and also generate security problems for the streaming media on-demand server. The user can download other file information that should not be obtained by the user by downloading the link directory structure, so the security is poor. Summary of the invention
本发明实施例提供了一种流媒体文件的下载方法、 装置及系统, 用以 使流媒体文件的下载更加便捷, 并且避免用户直接从流媒体点播服务器下 载流媒体文件 , 提高流媒体点播服务器的安全性。  The embodiment of the invention provides a method, a device and a system for downloading a streaming media file, which are used to facilitate the downloading of the streaming media file, and prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the streaming media on-demand server. safety.
本发明实施例提供的一种流媒体文件的下载方法包括:  A method for downloading a streaming media file provided by an embodiment of the present invention includes:
下载终端确定流媒体文件的片源信息, 并向订购管理服务器发送下载 请求, 所述下载请求中携带流媒体文件的片源信息;  The downloading terminal determines the source information of the streaming media file, and sends a download request to the subscription management server, where the download request carries the source information of the streaming media file;
所述下载终端获取由所述订购管理服务器根据所述片源信息生成的流 媒体文件的下载地址, 根据流媒体文件的下载地址, 从订购管理服务器获 取流媒体文件。  The download terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and obtains a streaming media file from the subscription management server according to the download address of the streaming media file.
所述下载终端确定流媒体文件的片源信息, 包括:  The download terminal determines the source information of the streaming media file, including:
下载终端在点播流媒体的过程中, 从流媒体点播服务器获取当前点播 的流媒体文件的片源信息, 其中包括流媒体文件的标识, 以及流媒体点播 服务器上保存的所述流媒体文件的文件目录信息。  The downloading terminal acquires the source information of the currently-on-demand streaming media file, including the identifier of the streaming media file, and the file of the streaming media file saved on the streaming media on-demand server, in the process of the streaming media on-demand. Directory information.
所述下载终端获取由所述订购管理服务器根据所述片源信息生成的流 媒体文件的下载地址, 包括:  The downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and includes:
所述订购管理服务器直接发送生成的流媒体文件的下载地址给所述下 载终端。  The subscription management server directly transmits the downloaded address of the generated streaming media file to the download terminal.
所述下载终端获取由所述订购管理服务器根据所述片源信息生成的流 媒体文件的下载地址, 包括:  The downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and includes:
所述订购管理服务器发送生成的流媒体文件的下载地址给推送服务 器;  The subscription management server sends a download address of the generated streaming media file to the push server;
所述推送服务器转发所述下载地址给所述下载终端。  The push server forwards the download address to the download terminal.
本发明实施例提供的一种流媒体文件的下载装置包括:  A device for downloading a streaming media file according to an embodiment of the present invention includes:
发送请求单元, 用于确定流媒体文件的片源信息, 并向订购管理服务 器发送下载请求, 所述下载请求中携带流媒体文件的片源信息; 获取地址单元, 用于获取由所述订购管理服务器根据所述片源信息生 成的流媒体文件的下载地址; a sending request unit, configured to determine source information of the streaming media file, and to the subscription management service And sending a download request, where the download request carries the source information of the streaming media file; and the obtaining the address unit, configured to acquire a download address of the streaming media file generated by the subscription management server according to the piece source information;
下载单元, 用于根据流媒体文件的下载地址, 从订购管理服务器获取 流媒体文件。  a download unit, configured to obtain a streaming media file from a subscription management server according to a download address of the streaming media file.
所述发送请求单元, 在点播流媒体的过程中, 从流媒体点播服务器获 取当前点播的流媒体文件的片源信息, 其中包括流媒体文件的标识, 以及 流媒体点播服务器上保存的所述流媒体文件的文件目录信息。  The sending request unit acquires, in the process of streaming the media, the source information of the current streaming media file, including the identifier of the streaming media file, and the stream saved on the streaming media on-demand server, from the streaming media on-demand server. File directory information for media files.
所述获取地址单元获取的流媒体文件的下载地址, 是由订购管理服务 器直接发送给所述装置的。  The download address of the streaming media file obtained by the obtaining address unit is directly sent to the device by the subscription management server.
所述获取地址单元, 接收推送服务器发送的推送消息, 其中携带流媒 体文件的下载地址;  The acquiring address unit receives a push message sent by the push server, where the download address of the streaming media file is carried;
其中, 所述推送消息中携带的流媒体文件的下载地址, 是由订购管理 服务器发送给推送服务器的。  The download address of the streaming media file carried in the push message is sent by the subscription management server to the push server.
本发明实施例提供的一种流媒体文件的下载系统, 包括:  A system for downloading a streaming media file according to an embodiment of the present invention includes:
终端, 用于在点播流媒体的过程中, 从流媒体点播服务器获取当前点 播的流媒体文件的片源信息, 并向订购管理服务器发送下载请求, 所述下 载请求中携带流媒体文件的片源信息; 获取由所述订购管理服务器根据所 述片源信息生成的流媒体文件的下载地址, 根据流媒体文件的下载地址, 从订购管理服务器获取流媒体文件;  The terminal is configured to: obtain, in the process of streaming the media on-demand, the source information of the currently-on-demand streaming media file from the streaming media on-demand server, and send a download request to the subscription management server, where the download request carries the source of the streaming media file Obtaining a download address of the streaming media file generated by the subscription management server according to the piece source information, and acquiring a streaming media file from the subscription management server according to the download address of the streaming media file;
订购管理服务器, 用于接收终端发送的下载请求, 从中获取流媒体文 件的片源信息, 根据该片源信息从流媒体点播服务器获取流媒体文件, 并 生成流媒体文件的下载地址, 然后将该下载地址发送给终端; 以及, 向终 端提供流媒体文件;  a subscription management server, configured to receive a download request sent by the terminal, obtain a piece source information of the streaming media file, obtain a streaming media file from the streaming media on-demand server according to the piece source information, and generate a download address of the streaming media file, and then The download address is sent to the terminal; and, the streaming file is provided to the terminal;
流媒体点播服务器, 用于向终端提供流媒体文件的片源信息, 以及将 流媒体文件发送给订购管理服务器。 a streaming media on-demand server, configured to provide the source information of the streaming media file to the terminal, and The streaming media file is sent to the subscription management server.
该系统还包括:  The system also includes:
推送服务器, 用于将订购管理服务器发送的下载地址, 通过推送消息 转发给终端。  The push server is configured to forward the download address sent by the subscription management server to the terminal by using a push message.
本发明实施例, 下载终端确定流媒体文件的片源信息, 并向订购管理 服务器发送下载请求, 其中携带流媒体文件的片源信息; 下载终端获取由 订购管理服务器根据片源信息生成的流媒体文件的下载地址, 根据流媒体 文件的下载地址, 从订购管理服务器获取流媒体文件, 从而使终端根据获 取的下载地址随时下载流媒体文件, 使得流媒体文件的下载更加便捷, 并 且通过从订购管理服务器下载流媒体文件, 避免用户直接从流媒体点播服 务器下载流媒体文件 , 提高流媒体点播服务器的安全性。 附图说明  In the embodiment of the present invention, the download terminal determines the source information of the streaming media file, and sends a download request to the subscription management server, where the source information of the streaming media file is carried; and the download terminal acquires the streaming media generated by the subscription management server according to the source information. The download address of the file, according to the download address of the streaming media file, obtains the streaming media file from the subscription management server, so that the terminal downloads the streaming media file at any time according to the obtained download address, so that the download of the streaming media file is more convenient, and through the subscription management The server downloads the streaming media file to prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the security of the streaming media on-demand server. DRAWINGS
图 1为本发明实施例提供的一种流媒体文件的下载方法的流程示意图; 图 2为本发明实施例提供的一种流媒体文件的下载方法的流程示意图; 图 3为本发明实施例提供的一种流媒体文件的下载系统的结构示意图; 图 4为本发明实施例提供的一种流媒体文件的下载装置的结构示意图。 具体实施方式  FIG. 1 is a schematic flowchart of a method for downloading a streaming media file according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of a method for downloading a streaming media file according to an embodiment of the present invention; A schematic diagram of a structure of a streaming media file downloading system; FIG. 4 is a schematic structural diagram of a streaming media file downloading device according to an embodiment of the present invention. detailed description
本发明实施例提供了一种流媒体文件的下载方法、 装置及系统, 用以 使流媒体文件的下载更加便捷, 并且避免用户直接从流媒体点播服务器下 载流媒体文件 , 提高流媒体点播服务器的安全性。  The embodiment of the invention provides a method, a device and a system for downloading a streaming media file, which are used to facilitate the downloading of the streaming media file, and prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby improving the streaming media on-demand server. safety.
下面结合附图对本发明实施例提供的技术方案进行说明。  The technical solutions provided by the embodiments of the present invention are described below with reference to the accompanying drawings.
参见图 1 ,本发明实施例提供的一种流媒体文件的下载方法,包括步驟: Referring to FIG. 1, a method for downloading a streaming media file according to an embodiment of the present invention includes the following steps:
5101、 下载终端确定流媒体文件的片源信息。 5101. The download terminal determines the source information of the streaming media file.
5102、 下载终端向订购管理服务器发送下载请求, 其中携带流媒体文 件的片源信息。 5102. The download terminal sends a download request to the subscription management server, where the streaming media file is carried. Source information of the piece.
5103、 下载终端获取由订购管理服务器根据片源信息生成的流媒体文 件的下载地址。  5103. The download terminal acquires a download address of the streaming media file generated by the subscription management server according to the source information.
5104、 下载终端根据流媒体文件的下载地址, 从订购管理服务器获取 流媒体文件。  5104. The download terminal acquires the streaming media file from the subscription management server according to the download address of the streaming media file.
以上操作是由终端侧来做的, 所述下载终端可以是移动终端, 例如手 机终端, 也可以是计算机等固定终端。  The above operations are performed by the terminal side, and the download terminal may be a mobile terminal, such as a mobile terminal, or a fixed terminal such as a computer.
较佳地, 所述下载终端确定流媒体文件的片源信息, 包括:  Preferably, the downloading terminal determines the source information of the streaming media file, including:
下载终端在点播流媒体的过程中, 从流媒体点播服务器获取当前点播 的流媒体文件的片源信息, 其中包括流媒体文件的标识, 例如流媒体文件 的名称, 以及流媒体点播服务器上保存该流媒体文件的文件目录信息。  The downloading terminal obtains the source information of the currently-on-demand streaming media file, including the identifier of the streaming media file, such as the name of the streaming media file, and the saved on the streaming media on-demand server, in the process of streaming the on-demand media. File directory information for streaming media files.
较佳地, 所述流媒体文件的下载地址, 是订购管理服务器在接收到所 述下载请求后, 根据其中携带的流媒体文件的片源信息, 从流媒体点播服 务器获取流媒体文件后, 生成的该流媒体文件的下载地址。  Preferably, the download address of the streaming media file is generated after the subscription management server obtains the streaming media file from the streaming media on-demand server according to the source information of the streaming media file carried in the subscription management server after receiving the download request. The download address of the streaming media file.
较佳地, 所述下载终端获取由订购管理服务器根据片源信息生成的流 媒体文件的下载地址, 包括:  Preferably, the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the source information, and includes:
由订购管理服务器直接发送生成的流媒体文件的下载地址给下载终 端 ^ 或者 ,  The download address of the generated streaming media file is directly sent by the subscription management server to the download terminal ^ or ,
由订购管理服务器发送生成的流媒体文件的下载地址给推送服务器, 再由推送服务器转发给下载终端。  The download address of the generated streaming media file is sent by the subscription management server to the push server, and then forwarded to the download terminal by the push server.
也就是说, 订购管理服务器接收终端发送的下载请求, 从中获取流媒 体文件的片源信息, 根据该片源信息从流媒体点播服务器获取流媒体文件, 保存在预设的临时文件目录中, 并生成该流媒体文件的下载地址, 然后将 该下载地址发送给终端, 可以直接发送给终端, 也可以通过其他服务器转 发给终端; 后续根据终端请求, 向终端提供该流媒体文件。 较佳地, 终端获取流媒体文件的下载地址, 包括: That is, the order management server receives the download request sent by the terminal, obtains the source information of the streaming media file, obtains the streaming media file from the streaming media on-demand server according to the piece source information, and saves the file in the preset temporary file directory, and The download address of the streaming media file is generated, and then the download address is sent to the terminal, and may be directly sent to the terminal, or may be forwarded to the terminal through other servers; and subsequently, the streaming media file is provided to the terminal according to the terminal request. Preferably, the terminal obtains the download address of the streaming media file, including:
接收推送(Push )服务器发送的 Push消息, 其中携带流媒体文件的下 载地址;  Receiving a Push message sent by a Push server, where the download address of the streaming media file is carried;
其中, 所述推送消息中携带的流媒体文件的下载地址, 是由订购管理 服务器发送给推送服务器的。 即, 由推送服务器转发流媒体文件的下载地 址给终端。  The download address of the streaming media file carried in the push message is sent by the subscription management server to the push server. That is, the download address of the streaming media file is forwarded by the push server to the terminal.
较佳地, 所述流媒体文件的下载地址, 包括:  Preferably, the download address of the streaming media file includes:
订购管理服务器的 IP地址、 订购管理服务器上保存该流媒体文件的临 时文件的目录信息以及流媒体文件的标识。  The IP address of the order management server, the directory information of the temporary file on the order management server where the streaming media file is saved, and the identifier of the streaming file.
本发明实施例中, 在终端侧的流媒体播放器菜单中新增订购选项, 用 户点播流媒体过程中, 通过选择此选项发送下载请求, 如果不处于点播状 态则该订购选项置灰, 即不可选。  In the embodiment of the present invention, a subscription option is added in the streaming media player menu on the terminal side. During the process of streaming media on the user, the download request is sent by selecting this option. If not in the on-demand state, the subscription option is grayed out, that is, not available. selected.
运营商搭建并提供流媒体文件的订购管理服务器, 接收终端发出的下 载请求, 对该请求进行解析, 从中获取流媒体文件的片源信息, 并根据该 片源信息从流媒体点播服务器获取流媒体文件; 其中 , 所述的片源信息 , 包括: 流媒体文件的名称和流媒体文件在流媒体点播服务器上存储的文件 目录信息。  The operator establishes and provides a subscription management server for the streaming media file, receives the download request sent by the terminal, parses the request, obtains the source information of the streaming media file, and obtains the streaming media from the streaming media on-demand server according to the source information. The file source information includes: a name of the streaming media file and file directory information of the streaming media file stored on the streaming media on-demand server.
流媒体点播服务器, 接收来自订购管理服务器的片源信息, 并根据片 源信息找到相应的流媒体文件, 并将该流媒体文件发送给订购管理服务器, 订购管理服务器将该文件保存到预设的临时文件目录中, 然后生成该流媒 体文件的下载地址。 其中, 所述下载地址, 包括订购管理服务器的本地 IP 地址和临时文件的目录信息以及流媒体文件的名称。  a streaming media on-demand server receives the source information from the subscription management server, and finds a corresponding streaming media file according to the source information, and sends the streaming media file to the subscription management server, and the subscription management server saves the file to a preset In the temporary file directory, the download address of the streaming media file is then generated. The download address includes a local IP address of the subscription management server and directory information of the temporary file and a name of the streaming media file.
流媒体点播服务器通过 Push消息的方式将下载地址发送给终端。  The streaming media on-demand server sends the download address to the terminal by means of a Push message.
另外, 所述的临时文件目录, 可以有保存时间限制, 即可以定时自动 清理过期的文件, 以防占用过多的服务器空间。 本发明实施例中的订购管理服务器是独立于流媒体点播服务器之外的 服务器。 In addition, the temporary file directory may have a storage time limit, that is, the expired files may be automatically cleaned at regular intervals to prevent occupying excessive server space. The subscription management server in the embodiment of the present invention is a server independent of the streaming media on-demand server.
参见图 2, 本发明实施例提供的下载流媒体的方法, 包括步驟:  Referring to FIG. 2, a method for downloading a streaming media according to an embodiment of the present invention includes the following steps:
5201、 手机终端发起流媒体点播, 在片源播放过程中通过菜单中的订 购选项发起订购, 即发送流媒体文件的下载请求。  5201. The mobile terminal initiates streaming media on demand, and initiates a subscription through a subscription option in the menu during the source playback, that is, sends a download request of the streaming media file.
该手机终端用户登陆运营商提供的流媒体点播服务器发起流媒体点 播; 在点播流媒体过程中, 手机终端根据用户选择订购的流媒体文件, 向 订购管理服务器发送下载请求。  The mobile terminal user logs in to the streaming media on-demand server provided by the operator to initiate streaming media on-demand; in the process of streaming the on-demand media, the mobile terminal sends a download request to the subscription management server according to the streaming media file selected by the user.
下载请求以短信的方式从终端的程序后台发出, 消息体中包含当前正 在播放的多媒体文件的名称及流媒体点播服务器上保存该流媒体文件的文 件目录信息, 以便订购管理器服务器快速找到订购的片源。  The download request is sent from the terminal's program background by means of a short message, and the message body contains the name of the currently playing multimedia file and the file directory information of the streaming media file saved on the streaming media on-demand server, so that the order manager server can quickly find the ordered order. Source.
流媒体文件的片源信息, 终端可以通过提取流媒体点播过程中与流媒 体点播服务器进行协议交互时的会话描述协议(SDP, Session Description Protocol ) 消息获得。  The source information of the streaming media file may be obtained by the terminal by extracting a Session Description Protocol (SDP) message when the protocol is interacted with the streaming media on-demand server during the streaming media on demand process.
5202、 订购管理服务器收到下载请求后, 根据其中的流媒体文件的片 源信息, 在流媒体服务器上查找对应的片源并将其拷贝到订购管理服务器 的临时文件目录中;  After receiving the download request, the order management server searches for the corresponding source on the streaming server according to the source information of the streaming media file, and copies the corresponding source to the temporary file directory of the subscription management server;
临时文件目录也可以设置在流媒体点播服务器中, 即订购管理服务器 也可以位于流媒体点播服务器中, 但是, 为了降低流媒体点播服务器的负 荷, 需要利用订购管理服务器作为独立于流媒体点播服务器之外的下载服 务器。  The temporary file directory can also be set in the streaming media on-demand server, that is, the subscription management server can also be located in the streaming media on-demand server, but in order to reduce the load of the streaming media on-demand server, the subscription management server needs to be used as the independent streaming media on-demand server. Outside the download server.
订购管理器服务器可以为每个流媒体文件都生成对应的一个临时文件 目录, 也可以将所有的流媒体文件都使用同一个临时文件目录。  The ordering manager server can generate a corresponding temporary file directory for each streaming file, or use the same temporary file directory for all streaming files.
为了增加订购管理器服务器空间的周转率, 订购管理器服务器中的临 时文件目录内的流媒体文件, 或者, 整个临时文件目录, 都可以设置一定 的保存期限, 相当于为流媒体文件设置下载有效期, 通过定时删除任务, 在有效期到达时, 删除临时文件目录或临时文件目录中保存的一个或多个 流媒体文件。 In order to increase the turnover rate of the subscription manager server space, the streaming media files in the temporary file directory in the order manager server, or the entire temporary file directory, can be set. The retention period is equivalent to setting the download validity period for the streaming media file. By periodically deleting the task, when the validity period arrives, one or more streaming media files saved in the temporary file directory or the temporary file directory are deleted.
5203、 订购管理服务器生成流媒体文件的下载地址、 即统一资源定位 符(URL, Universal Resource Locator ), 并发送给 Push服务器。  5203. The order management server generates a download address of the streaming media file, that is, a Universal Resource Locator (URL), and sends the message to the Push server.
5204、 Push服务器将下载地址发送到手机终端。  5204. The Push server sends the download address to the mobile terminal.
出于媒体文件版权考虑, 也可以通过 Push消息下发经过数字版权管理 ( DRM, Digital Right Manage )加密的下载地址给终端。 具体的加密过程 可以在订购管理服务器中进行。 终端获取了加密的下载地址后, 进行解密, 获取流媒体文件的下载地址。  For the copyright of the media file, the download address encrypted by Digital Right Manage (DRM) can also be sent to the terminal through the Push message. The specific encryption process can be done in the subscription management server. After obtaining the encrypted download address, the terminal decrypts and obtains the download address of the streaming media file.
上述步驟完成后, 手机终端可以随时根据需要, 通过 Push消息发起流 媒体文件的下载, 方便了用户下载流媒体文件的操作; 并且, 由于网络架 构中存在订购管理器服务器及其临时文件目录, 从而降低了各种破解方法 对流媒体点播服务器的危害。  After the above steps are completed, the mobile terminal can initiate the download of the streaming media file through the Push message at any time according to the need, which facilitates the user to download the streaming media file; and, because the subscription manager server and its temporary file directory exist in the network architecture, Reduce the harm of various cracking methods to streaming media on-demand servers.
本发明实施例中提供的下载流媒体文件的方法, 可以实施在任何内置 流媒体模块及其协议的无线终端中。  The method for downloading a streaming media file provided in the embodiment of the present invention can be implemented in any wireless terminal with a built-in streaming media module and its protocol.
如图 3 所示, 是本发明实施例提出的流媒体文件的下载系统的结构示 意图, 该系统包括: 支持流媒体播放的手机终端、 流媒体点播服务器、 订 购管理服务器、 Push服务器。  As shown in FIG. 3, it is a schematic diagram of a downloading system of a streaming media file according to an embodiment of the present invention. The system includes: a mobile phone terminal supporting streaming media playback, a streaming media on demand server, a subscription management server, and an Push server.
手机终端, 用于在点播流媒体的过程中, 从流媒体点播服务器获取当 前点播的流媒体文件的片源信息, 并向订购管理服务器发送下载请求, 其 中携带流媒体文件的片源信息; 获取由订购管理服务器根据所述片源信息 生成的流媒体文件的下载地址, 根据流媒体文件的下载地址, 从订购管理 服务器获取流媒体文件。 也就是说, 支持流媒体播放的终端, 在流媒体点 播的过程中发起订购申请; 在订购申请成功后接收包含片源下载地址的 Push消息; 在需要进行下载时, 可以通过 Push消息发起片源下载。 a mobile terminal, configured to obtain, from a streaming media on-demand server, source information of a currently streamed streaming media file, and send a download request to the subscription management server, where the source information of the streaming media file is carried; The streaming media file is obtained from the subscription management server according to the download address of the streaming media file by the subscription management server according to the download address of the streaming media file generated by the subscription source server. That is to say, the terminal supporting the streaming media play initiates the subscription request in the process of streaming media on-demand; after receiving the successful application, the receiving address including the source download address is received. Push message; When the download is needed, the source can be downloaded through the Push message.
另外, 手机终端还应该支持短消息的传输功能、 接收 Push消息并能发 起连接的功能, 以及文件下载的功能。  In addition, the mobile terminal should also support the transmission function of short messages, the function of receiving Push messages and the ability to initiate connections, and the function of file downloading.
订购管理服务器, 用于接收终端发送的下载请求, 从中获取流媒体文 件的片源信息, 根据该片源信息从流媒体点播服务器获取流媒体文件, 并 生成流媒体文件的下载地址, 然后将该下载地址发送给终端; 以及, 向终 端提供流媒体文件。  a subscription management server, configured to receive a download request sent by the terminal, obtain a piece source information of the streaming media file, obtain a streaming media file from the streaming media on-demand server according to the piece source information, and generate a download address of the streaming media file, and then The download address is sent to the terminal; and, the streaming file is provided to the terminal.
流媒体点播服务器, 即流媒体点播所使用的服务器, 用于向终端提供 流媒体文件的片源信息, 以及将流媒体文件发送给订购管理服务器。  The streaming media on demand server, that is, the server used by the streaming media on demand, is configured to provide the source information of the streaming media file to the terminal, and send the streaming media file to the subscription management server.
推送服务器, 用于将订购管理服务器发送的下载地址, 通过推送消息 转发给终端。  The push server is configured to forward the download address sent by the subscription management server to the terminal by using a push message.
本发明实施例中, 订购管理服务器和 Push服务器可以合并在一个服务 器中。  In the embodiment of the present invention, the order management server and the Push server may be combined in one server.
参见图 4, 本发明实施例提供的一种流媒体文件的下载装置, 包括: 发送请求单元 101 , 用于确定流媒体文件的片源信息, 并向订购管理服 务器发送下载请求, 其中携带流媒体文件的片源信息;  Referring to FIG. 4, a device for downloading a streaming media file according to an embodiment of the present invention includes: a sending request unit 101, configured to determine source information of a streaming media file, and send a download request to the subscription management server, where the streaming media is carried. Source information of the file;
获取地址单元 102,用于获取由订购管理服务器根据流媒体文件的片源 信息生成的该流媒体文件的下载地址;  The obtaining address unit 102 is configured to obtain a download address of the streaming media file generated by the subscription management server according to the source information of the streaming media file;
下载单元 103 , 用于根据流媒体文件的下载地址,从订购管理服务器获 取流媒体文件。  The download unit 103 is configured to obtain a streaming media file from the subscription management server according to the download address of the streaming media file.
较佳地, 发送请求单元 101 在点播流媒体的过程中, 从流媒体点播服 务器获取当前点播的流媒体文件的片源信息, 其中包括流媒体文件的标识, 以及流媒体点播服务器上保存该流媒体文件的文件目录信息。  Preferably, the sending requesting unit 101 acquires the source information of the currently-on-demand streaming media file from the streaming media on-demand server, including the identifier of the streaming media file, and saves the stream on the streaming media on-demand server during the process of streaming the media. File directory information for media files.
较佳地, 获取地址单元 102获取的流媒体文件的下载地址, 是订购管 理服务器在接收到下载请求后, 根据其中携带的流媒体文件的片源信息, 从流媒体点播服务器获取流媒体文件后, 生成的该流媒体文件的下载地址。 较佳地, 获取地址单元 102获取的流媒体文件的下载地址, 是由订购 管理服务器直接发送给所述装置的; Preferably, the download address of the streaming media file acquired by the address unit 102 is obtained by the subscription management server according to the source information of the streaming media file carried in the subscription management server after receiving the download request. The download address of the generated streaming media file after the streaming media file is obtained from the streaming media on demand server. Preferably, the download address of the streaming media file acquired by the address unit 102 is directly sent by the subscription management server to the device;
或者, 获取地址单元 102, 接收推送服务器发送的推送消息, 其中携带 流媒体文件的下载地址; 其中, 推送消息中携带的流媒体文件的下载地址, 是由订购管理服务器发送给推送服务器的。  Alternatively, the obtaining address unit 102 receives the push message sent by the push server, where the download address of the streaming media file is carried; wherein the download address of the streaming media file carried in the push message is sent by the subscription management server to the push server.
较佳地, 获取地址单元 102获取的流媒体文件的下载地址, 包括: 订 购管理服务器的 IP地址、 订购管理服务器上保存该流媒体文件的临时文件 的目录信息以及流媒体文件的标识。  Preferably, the download address of the streaming media file acquired by the address unit 102 is obtained, including: an IP address of the subscription management server, directory information of the temporary file storing the streaming media file on the subscription management server, and an identifier of the streaming media file.
较佳地, 本发明实施例提供的一种流媒体文件的下载装置, 可以为手 机终端。  Preferably, the device for downloading a streaming media file provided by the embodiment of the present invention may be a mobile terminal.
综上所述, 本发明实施例针对目前流媒体片源下载不便, 流媒体点播 服务器安全性的问题, 提出了一种更便捷、 融合程度更高的解决方案, 使 终端在点播过程中就可以发送订购下载请求, 并能根据需要随时在事后发 起下载, 使得流媒体文件的下载更加便捷, 极大地方便了用户操作。 同时 网络侧增加了订购管理服务器, 通过从订购管理服务器下载流媒体文件, 避免用户直接从流媒体点播服务器下载流媒体文件, 增强了对流媒体点播 服务器本身的保护, 增加了安全性。  In summary, the embodiments of the present invention provide a more convenient and more integrated solution for the problem of inconvenient downloading of streaming media sources and the security of streaming media on-demand servers, so that the terminal can be in the process of on-demand broadcasting. The order download request is sent, and the download can be initiated after the event as needed, so that the download of the streaming media file is more convenient, and the user operation is greatly facilitated. At the same time, the subscription management server is added on the network side, and the streaming media file is downloaded from the subscription management server to prevent the user from directly downloading the streaming media file from the streaming media on-demand server, thereby enhancing the protection of the streaming media on-demand server itself and increasing the security.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It should be understood that the flow can be implemented by computer program instructions Each of the processes and/or blocks in the flowcharts and/or block diagrams, and combinations of the flows and/or blocks in the flowcharts and/or block diagrams. These computer program instructions may be provided to a general purpose computer, a special machine, such that instructions executed by a processor of a computer or other programmable data processing device are used to implement a block or a block and/or block diagram of a flowchart or A device that has multiple functions specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步驟以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步驟。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种流媒体文件的下载方法, 其特征在于, 该方法包括:  A method for downloading a streaming media file, the method comprising:
下载终端确定流媒体文件的片源信息, 并向订购管理服务器发送下载 请求, 所述下载请求中携带流媒体文件的片源信息;  The downloading terminal determines the source information of the streaming media file, and sends a download request to the subscription management server, where the download request carries the source information of the streaming media file;
所述下载终端获取由所述订购管理服务器根据所述片源信息生成的流 媒体文件的下载地址, 根据流媒体文件的下载地址, 从订购管理服务器获 取流媒体文件。  The download terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and obtains a streaming media file from the subscription management server according to the download address of the streaming media file.
2、 根据权利要求 1所述的方法, 其特征在于, 所述下载终端确定流媒 体文件的片源信息, 包括:  The method according to claim 1, wherein the downloading terminal determines the source information of the streaming media file, including:
下载终端在点播流媒体的过程中, 从流媒体点播服务器获取当前点播 的流媒体文件的片源信息, 其中包括流媒体文件的标识, 以及流媒体点播 服务器上保存的所述流媒体文件的文件目录信息。  The downloading terminal acquires the source information of the currently-on-demand streaming media file, including the identifier of the streaming media file, and the file of the streaming media file saved on the streaming media on-demand server, in the process of the streaming media on-demand. Directory information.
3、 根据权利要求 2所述的方法, 其特征在于, 所述下载终端获取由所 述订购管理服务器根据所述片源信息生成的流媒体文件的下载地址, 包括: 所述订购管理服务器直接发送生成的流媒体文件的下载地址给所述下 载终端。  The method according to claim 2, wherein the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and the method includes: the subscription management server directly sending The download address of the generated streaming media file is sent to the download terminal.
4、 根据权利要求 2所述的方法, 其特征在于, 所述下载终端获取由所 述订购管理服务器根据所述片源信息生成的流媒体文件的下载地址, 包括: 所述订购管理服务器发送生成的流媒体文件的下载地址给推送服务 器;  The method according to claim 2, wherein the downloading terminal acquires a download address of the streaming media file generated by the subscription management server according to the piece source information, and the method includes: the subscription management server sends the generated The download address of the streaming media file to the push server;
所述推送服务器转发所述下载地址给所述下载终端。  The push server forwards the download address to the download terminal.
5、 一种流媒体文件的下载装置, 其特征在于, 该装置包括:  5. A streaming device downloading device, the device comprising:
发送请求单元, 用于确定流媒体文件的片源信息, 并向订购管理服务 器发送下载请求, 所述下载请求中携带流媒体文件的片源信息;  a sending request unit, configured to determine a source information of the streaming media file, and send a download request to the subscription management server, where the download request carries the source information of the streaming media file;
获取地址单元, 用于获取由所述订购管理服务器根据所述片源信息生 成的流媒体文件的下载地址; Obtaining an address unit, configured to obtain, by the subscription management server, according to the source information The download address of the streamed media file;
下载单元, 用于根据流媒体文件的下载地址, 从订购管理服务器获取 流媒体文件。  a download unit, configured to obtain a streaming media file from a subscription management server according to a download address of the streaming media file.
6、 根据权利要求 5所述的装置, 其特征在于, 所述发送请求单元, 在 点播流媒体的过程中, 从流媒体点播服务器获取当前点播的流媒体文件的 片源信息, 其中包括流媒体文件的标识, 以及流媒体点播服务器上保存的 所述流媒体文件的文件目录信息。  The device according to claim 5, wherein the sending request unit acquires source information of the current on-demand streaming media file, including streaming media, from the streaming media on-demand server in the process of streaming the media on demand. The identifier of the file, and the file directory information of the streaming media file saved on the streaming media on-demand server.
7、 根据权利要求 6所述的装置, 其特征在于, 所述获取地址单元获取 的流媒体文件的下载地址, 是由订购管理服务器直接发送给所述装置的。  The device according to claim 6, wherein the download address of the streaming media file acquired by the obtaining address unit is directly sent to the device by the subscription management server.
8、 根据权利要求 6所述的装置, 其特征在于, 所述获取地址单元, 接 收推送服务器发送的推送消息, 其中携带流媒体文件的下载地址;  The device according to claim 6, wherein the acquiring address unit receives a push message sent by the push server, where the download address of the streaming media file is carried;
其中, 所述推送消息中携带的流媒体文件的下载地址, 是由订购管理 服务器发送给推送服务器的。  The download address of the streaming media file carried in the push message is sent by the subscription management server to the push server.
9、 一种流媒体文件的下载系统, 其特征在于, 该系统包括: 终端, 用于在点播流媒体的过程中, 从流媒体点播服务器获取当前点 播的流媒体文件的片源信息, 并向订购管理服务器发送下载请求, 所述下 载请求中携带流媒体文件的片源信息; 获取由所述订购管理服务器根据所 述片源信息生成的流媒体文件的下载地址, 根据流媒体文件的下载地址, 从订购管理服务器获取流媒体文件;  A system for downloading a streaming media file, the system comprising: a terminal, configured to acquire, from a streaming media on-demand server, source information of a currently streamed streaming media file in a process of streaming media on demand, and The order management server sends a download request, where the download request carries the slice source information of the streaming media file; and acquires a download address of the streaming media file generated by the subscription management server according to the slice source information, according to the download address of the streaming media file , obtaining streaming media files from the subscription management server;
订购管理服务器, 用于接收终端发送的下载请求, 从中获取流媒体文 件的片源信息, 根据该片源信息从流媒体点播服务器获取流媒体文件, 并 生成流媒体文件的下载地址, 然后将该下载地址发送给终端; 以及, 向终 端提供流媒体文件;  a subscription management server, configured to receive a download request sent by the terminal, obtain a piece source information of the streaming media file, obtain a streaming media file from the streaming media on-demand server according to the piece source information, and generate a download address of the streaming media file, and then The download address is sent to the terminal; and, the streaming file is provided to the terminal;
流媒体点播服务器, 用于向终端提供流媒体文件的片源信息, 以及将 流媒体文件发送给订购管理服务器。 The streaming media on-demand server is configured to provide the source information of the streaming media file to the terminal, and send the streaming media file to the subscription management server.
10、 根据权利要求 9所述的系统, 其特征在于, 该系统还包括: 推送服务器, 用于将订购管理服务器发送的下载地址, 通过推送消息 转发给终端。 The system according to claim 9, wherein the system further comprises: a push server, configured to forward the download address sent by the subscription management server to the terminal by using a push message.
PCT/CN2011/072521 2010-12-21 2011-04-08 Method, means and system for downloading streaming media files WO2012083620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105991712A CN102025784A (en) 2010-12-21 2010-12-21 Method, device and system for downloading streaming media file
CN201010599171.2 2010-12-21

Publications (1)

Publication Number Publication Date
WO2012083620A1 true WO2012083620A1 (en) 2012-06-28

Family

ID=43866630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072521 WO2012083620A1 (en) 2010-12-21 2011-04-08 Method, means and system for downloading streaming media files

Country Status (2)

Country Link
CN (1) CN102025784A (en)
WO (1) WO2012083620A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761527B (en) * 2011-04-28 2016-02-17 腾讯科技(深圳)有限公司 The access method of serving in cluster and system
CN103188330A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and system of file transfer
CN103179197B (en) * 2013-03-05 2015-08-12 福建星网视易信息系统有限公司 A kind of system and method realizing digital audio-visual terminal file network and share
CN104468649B (en) * 2013-09-16 2018-06-05 北大方正集团有限公司 Server, terminal, data delivery system and data push method
CN103888505B (en) * 2013-11-26 2017-12-12 北京奇虎科技有限公司 A kind of method, system, terminal device and the server of file transmission
CN103945002B (en) * 2014-05-05 2017-05-31 瞄财网络科技(北京)有限公司 High-effective Service management method based on general fit calculation
CN105516246B (en) * 2015-11-25 2019-03-26 魅族科技(中国)有限公司 A kind of method and server of anti-application program downloading abduction
CN105635764B (en) * 2016-01-14 2020-11-06 腾讯科技(深圳)有限公司 Method and device for playing push information in live video
CN105933728A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Playing request method, device, and system
CN106790205B (en) * 2017-01-05 2020-09-08 北京视博数字电视科技有限公司 Streaming media service system
CN108933960A (en) * 2018-07-19 2018-12-04 斑马音乐文化科技(深圳)有限公司 Requesting song playback method, device, program request equipment and storage medium
CN110704066B (en) * 2019-10-11 2023-09-08 Oppo广东移动通信有限公司 Code compiling method, device, equipment and storage medium
CN111797417A (en) * 2020-07-06 2020-10-20 上海明略人工智能(集团)有限公司 File uploading method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026467A (en) * 2006-02-22 2007-08-29 英保达股份有限公司 Download system and method
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101232502A (en) * 2008-03-03 2008-07-30 华为技术有限公司 Method, system and apparatus for downloading media stream

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026467A (en) * 2006-02-22 2007-08-29 英保达股份有限公司 Download system and method
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101232502A (en) * 2008-03-03 2008-07-30 华为技术有限公司 Method, system and apparatus for downloading media stream

Also Published As

Publication number Publication date
CN102025784A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
WO2012083620A1 (en) Method, means and system for downloading streaming media files
KR101311836B1 (en) Cache server at hotspots for downloading services
US8595319B2 (en) Home network video peer-to-peer for mobile devices
JP5588517B2 (en) Streaming with optional broadcast delivery of data segments
US9454540B2 (en) Systems and methods for sharing files among multiple terminals
US9038191B2 (en) Method and apparatus for providing DRM service
US20180365395A1 (en) Multimedia data processing method, apparatus, system, and storage medium
US20140068693A1 (en) Method, system, or user device for adaptive bandwidth control of proxy multimedia server
WO2017107542A1 (en) Video program obtaining method, device and system
WO2008110121A1 (en) Adaptation method and system of data service contents, and portal system
US10200469B2 (en) Method and system for information synchronization between cloud storage gateways, and cloud storage gateway
KR20180123043A (en) Signaling of application content packaging and delivery
WO2015103762A1 (en) Method and terminal device for sending and receiving user data
WO2010069134A1 (en) Data file decryption method, decryption device and data broadcasting system
TWI592046B (en) Network sharing device, system and method
WO2011017976A1 (en) Method and system for media service
WO2014154108A1 (en) Media stream transfer method and user equipment
WO2014179950A1 (en) File uploading method, client, and server
WO2014026590A1 (en) Method, terminal and cdn server in iptv system for realizing playing while downloading
WO2010020114A1 (en) Content access authentification method, device and system
EP1978707B1 (en) A method and system for generating and acquiring the rights object and the rights issuing center
JP5669441B2 (en) Cache server at hotspot for downloading services
CN113542904A (en) Video screen projection playing method and device, electronic equipment and storage medium
JP2015501569A (en) Gateway, method corresponding to gateway, computer program, and storage means
JP2019507511A5 (en)

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: 11850439

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: 11850439

Country of ref document: EP

Kind code of ref document: A1