WO2011140842A1 - Multimedia file distribution method and device - Google Patents

Multimedia file distribution method and device Download PDF

Info

Publication number
WO2011140842A1
WO2011140842A1 PCT/CN2011/070708 CN2011070708W WO2011140842A1 WO 2011140842 A1 WO2011140842 A1 WO 2011140842A1 CN 2011070708 W CN2011070708 W CN 2011070708W WO 2011140842 A1 WO2011140842 A1 WO 2011140842A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia file
information
server
cache
fragment
Prior art date
Application number
PCT/CN2011/070708
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 WO2011140842A1 publication Critical patent/WO2011140842A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Definitions

  • Multimedia file issuing method and device
  • the present application claims priority to Chinese Patent Application No. 201010171633. filed on May 11, 2010, the entire disclosure of which is incorporated herein by reference. in. TECHNICAL FIELD
  • the present invention relates to the field of networks, and in particular, to a multimedia file publishing method and apparatus in a content distribution network.
  • BACKGROUND OF THE INVENTION Content Delivery Network (CDN, Content Del ivery Network) is through existing Internet networks.
  • Internet adds a new layer of network architecture to publish the content of the website to the network edge node closest to the user, so that users can get the required content nearby, solve the Internet congestion situation, and improve the response speed of users visiting the website.
  • the CDN network architecture is mainly composed of the center and the edge.
  • the center refers to the CDN network management center and the DNS (Domain Name System) redirection analysis center.
  • the DNS redirection analysis center is responsible for global load balancing.
  • a node that is, a carrier for CDN distribution, is mainly composed of a Cache (Cache Server) and a load balancer.
  • the DNS redirection resolution center provides a user-friendly node address to the user through a set of predefined policies, so that the user can get a fast service.
  • the DNS redirection resolution center maintains communication with the distributed CDN nodes, collects the communication status of each node, and ensures that the user's request is not assigned to the unavailable CDN node. That is, the DNS redirection center performs global load balancing.
  • each CDN node is equivalent to a WEB server placed around it.
  • the user's request is transparently pointed to the node closest to him, that is, for the user, the user is not aware of which node the DNS redirection analysis center points to, and the CDN server in the node will Respond to the user's request, just like the original server of the website. Because it is closer to the user, the response time is necessarily lower.
  • the embodiment of the invention provides a multimedia file publishing method and device, so as to reduce the storage space required for the CDN Cache to cache large video files.
  • a multimedia file publishing method comprising: receiving a multimedia file and playing information of the multimedia file, the playing information including information of an independently playable location of the multimedia file; according to a local storage resource and the multimedia The playback information of the file is fragmented, and the fragment is sent to another cache server; if the fragment of the multimedia file is saved locally, the fragmentation information of the locally stored multimedia file is sent to Index server.
  • a multimedia file publishing apparatus comprising: a receiving unit, configured to receive a multimedia file and play information of the multimedia file, where the play information includes information of an independently playable position of the multimedia file;
  • the device is configured to slice the multimedia file according to the local storage resource and the playing information of the multimedia file;
  • the pushing unit is configured to push the fragment to another cache server; and
  • the sending unit is configured to save locally When the fragmentation of the multimedia file is described, the fragmentation information of the locally stored multimedia file is sent to the index server.
  • a cache server comprising the aforementioned multimedia file distributing device.
  • a multimedia file issuance system includes: a plurality of cache servers, the cache server includes the foregoing multimedia file publishing device; and an index server, configured to store fragmentation information of the multimedia file stored by the multimedia file publishing device; And a source server, configured to release the multimedia file and the play information of the multimedia file generated according to the multimedia file to the multimedia file publishing apparatus.
  • FIG. 1 is a flowchart of a method for publishing a multimedia file according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for acquiring a multimedia file in the method shown in FIG. 1;
  • FIG. 3 is a schematic diagram of a multimedia file publishing process according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a user requesting a multimedia file according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a multimedia file publishing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing the composition of a cache server according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a multimedia file publishing system according to an embodiment of the present invention.
  • Specific Pulmonary Formula The specific implementation process of the present invention will be exemplified below by way of examples. It is apparent that the embodiments described below are a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a method for publishing a multimedia file according to an embodiment of the present disclosure.
  • the method may be applied to a cache server of a CDN network. Referring to FIG. 1, the method includes:
  • Step 101 The cache server receives the multimedia file and the play information of the multimedia file, where the play information includes information of an independently playable position of the multimedia file.
  • the multimedia file and the playing information thereof may be sent by a source server of the CDN network, or may be sent by another cache server of the CDN network.
  • the source server generates the play information of the multimedia file according to the stored multimedia file and sends the same together; or, after receiving the multimedia file and the play information, the other cache server sends the multimedia file and the play information to the cache.
  • the server, the other cache server may also slice the multimedia file, and send the fragment together with the playback information of the fragment to the cache server. This will be explained in the following examples.
  • the position of the shard can not be arbitrarily selected.
  • the shards starting with the inner coded frame (I frame) can be played independently, so the information is played.
  • the information of the position of the frame may be internally or partially encoded in the multimedia file.
  • the playback information may also be corresponding information of the time and the independently playable position, so as to conveniently determine which slice of the playback time requested by the user corresponds to when providing the time shift service for the user.
  • the playing information of the multimedia file may also be referred to as a Meta file (meta file), and the playing information includes a time and a corresponding information of a position that can be independently played, and the Meta file stores the playing time of the multimedia file and The playback position, in order to slice the multimedia file according to the Meta file, as shown in the following Table 1:
  • file name indicates the name of the multimedia file
  • “0s”, “Is”, “3s” indicates the playing time of the multimedia file
  • “0", “250”, “3000” indicates the playing position of the multimedia file. , that is, the offset within the file.
  • the Meta file indicates that the location of the read data is 0 when the multimedia file starts playing, and the location of the read data is 250 when the multimedia file is played to I s, and the multimedia file is played to 3s. When the data is read, the location is 3000.
  • Step 102 The cache server segments and pushes the multimedia file according to the local storage resource and the play information of the multimedia file.
  • the multimedia file may be divided into at least two parts according to the playing information of the multimedia file, each part is referred to as a fragment, and then at least one of the fragments and the at least one of the fragments are The playback information is pushed to other cache servers.
  • the play information of the at least one shard is extracted from the play information of the multimedia file, and when the multimedia file is sharded, each shard can be extracted from the play information of the multimedia file.
  • Play the playback information corresponding to the shard For example, when a multimedia file of 0-100s is divided into two segments of 0-60s and 61-100s according to the playback information of the multimedia file, the corresponding 0-60s segment is extracted from the playback information of the multimedia file. Playback information and playback information corresponding to 61-100s shards.
  • the above is an example of performing fragmentation according to a time period, and the embodiment is not limited thereto.
  • a threshold may be set in advance as a basis for determining, for example, setting 90% of the storage amount as a judgment basis, when the local storage amount is greater than 90% of the total storage capacity, the local storage resource is considered to be insufficient.
  • Step 103 If the fragment of the multimedia file is saved locally, the cache server sends the fragmentation information of the locally stored multimedia file to the index server.
  • the local cache server may send all the received multimedia files to other cache servers after fragmentation, or may partially retain a part of the multimedia file, if the local still stores the The fragmentation of the multimedia file, the fragmentation information of the fragment is sent to the index server for storage.
  • the index server grasp the fragmentation of the multimedia file; if the fragment of the multimedia file is not saved locally, it is not necessary to report the fragmentation information to the index server.
  • the index server is configured to save an index table established for each multimedia file, and the playback information includes time and a corresponding information of the independently playable position, where the content of each multimedia file can be stored in the index table.
  • the cache server is located as shown in Table 2 below:
  • each cache server can know which cache server the data of any multimedia file is stored at any time point by accessing the index server.
  • the index table may not require time information, but includes a cache server where each fragmentation location of each multimedia file is located.
  • the user terminal when the user terminal requests the multimedia file from the cache server of the embodiment, if the multimedia file corresponding to the request is locally saved, the user terminal directly sends the multimedia file to the user terminal; A part of the multimedia file can be forwarded to the index server by querying the cache server where the other part is located, and forwarding the other part of the multimedia file according to the cache server obtained by the query. This will also be explained in the following embodiments.
  • the multimedia file publishing method of the embodiment may be applied to a cache server of a CDN network, and the CDN network may include multiple cache servers, and each cache server may perform fragment storage on the multimedia file by using the multimedia file publishing method in this embodiment. release.
  • the multimedia file publishing method of the embodiment can effectively alleviate the storage pressure of the cache server by storing the multimedia file in pieces, and since the fragmentation is not performed by the source server, the cache server can perform multiple fragmentation according to the playback information of the multimedia file.
  • the size of the fragment can also be dynamically adjusted according to the actual situation of different cache servers, which increases the flexibility of multimedia file publishing.
  • FIG. 2 is a flowchart of a method for transmitting a multimedia file corresponding to the multimedia play request to the requested user terminal according to a multimedia play request of a user terminal according to a method for publishing a multimedia file according to an embodiment of the present invention. , the method includes:
  • Step 201 Determine whether the multimedia file corresponding to the multimedia play request is stored locally;
  • Step 202 If the fragment of the multimedia file corresponding to the multimedia play request is locally stored, The fragment is sent to the requested user terminal;
  • Step 203 Send a multimedia file query request to the index server, and query a cache server where other fragments of the multimedia file are located;
  • Step 204 Acquire other fragments of the multimedia file according to the result returned by the index server, and send other fragments of the multimedia file to the requested user terminal.
  • the index server stores an index table of each multimedia file, and the index table stores on which cache server the fragment of each multimedia file is in a certain time period. Therefore, the index server can determine the multimedia of the query according to the query request.
  • the cache server where the fragment of the file is located, and returns the query result.
  • the local cache server may merge with the locally saved fragment of the multimedia file, and send the merged fragment information of the multimedia file to the index.
  • the server so that the index server updates the fragmentation of the multimedia file.
  • the local cache server after the local cache server obtains other fragments of the multimedia file, it only forwards the fragment to the user terminal, and the local cache server does not save the other fragments, so there is no need to merge and divide the fragments. The work of the piece of information reported.
  • the shard information of the multimedia file is uploaded to The index server, to inform the index server, the fragmentation of the multimedia file is no longer saved locally; if the other fragment is still saved, there is no need to report to the index server.
  • different shards of the same multimedia file can be saved on multiple cache servers at the same time, and the index table created by the index server records this situation.
  • the media content of 0 ⁇ 100s of a multimedia file can be saved on both Cache A and Cache B.
  • the multimedia file publishing method of this embodiment will be described below by taking a specific publishing process of a multimedia file and a request process of the user terminal as an example.
  • FIG. 3 is a schematic diagram of a multimedia file publishing process in a multimedia file publishing method according to an embodiment of the present invention.
  • the multimedia file publishing process includes the following steps:
  • the source server generates a Meta file according to the multimedia file, and pushes the Meta file and the multimedia file to the Cache A.
  • Cache A finds that the storage resource is insufficient. According to the Meta file, the media content of the media file and the meta file of the part of the media content are pushed to the Cache B. The multimedia file is 0_90s. The media content and the Meta file of the part of the media content are pushed to the Cache C;
  • Cache A reports the fragmentation information of the media content of the locally stored multimedia file to the index server; wherein, if the multimedia file has only media content of ⁇ -lOOs, since Cache A pushes all media content of the multimedia file to other On the Cache, that is, the shard of the multimedia file is not saved, therefore,
  • Cache A does not need to report the fragmentation information of the multimedia file to the index server.
  • the cache content of the media file 101_120s is still stored locally after the media content of the media file is sent to the Cache B and the Cache C.
  • Cache A needs to report the fragmentation information to the index server, that is, Cache A stores the multimedia file.
  • the information of the media content of the 101-120S so that the index server writes the fragmentation condition to the index table of the multimedia file, as shown in Table 3 below, so as to avoid the problem of scheduling error.
  • the fragmentation information includes a time period of the media content of the locally stored multimedia file.
  • the Cache B Since the Cache B receives the new shard, that is, the media content of the 91_100s of the multimedia file, the shard information of the part of the media content (the media content of 91-100s) of the multimedia file stored locally is also reported to An indexing server, so that the indexing server establishes an index table of the part of the media content of the multimedia file, as shown in Table 4 below;
  • Cache C finds that the local storage resources are insufficient, and also sends the 81-90s media content and the meta-file of the partial media content in the received new fragment (the media content of the above-mentioned multimedia file 0_90s) to the Cache D;
  • the Cache C reports the fragmentation information of the partially stored media content (0_80s media content) of the multimedia file to the index server, so that the index server establishes an index table of the media content of the multimedia file according to the following table.
  • Table 5 307 Similarly, since the Cache D receives the new shard, that is, the media content of the above-mentioned multimedia file 81_90s, the local storage of the media content of the multimedia file (the media content of the 81-90s) is also fragmented. The information is reported to the index server, so that the index server establishes an index table of the portion of the media content of the multimedia file, as shown in Table 6 below.
  • the Cache D may be configured as a Cache that specifically accepts fragments of other Cache resources that are not available.
  • index table 7 is established on the index server for the multimedia file:
  • FIG. 4 is a schematic diagram of a multimedia file publishing method according to an embodiment of the present invention, wherein a user terminal requests a multimedia file from a cache server that is closest to it, such as Cache C.
  • a user terminal requests a multimedia file from a cache server that is closest to it, such as Cache C.
  • the process of the request includes the following steps:
  • the user terminal initiates a multimedia file play request to the Cache C, where the multimedia file requested to be played is specified, for example, the multimedia file of the embodiment shown in FIG. 3;
  • Cache C determines, according to the foregoing request, that the media content of the multimedia file 0_80s is stored locally, first sending the locally stored O-SOs media content to the user terminal;
  • Cache C does not have the media content of 81_90s of the foregoing multimedia file, so Cache C sends a query request to the index server to query the Cache of the media content of the 81-90s of the multimedia file, and the index server queries according to the Cache C. Retrieving the saved index table, and knowing that the media content of the multimedia file 81_90s is stored in the Cache D, returning the query result to the Cache C;
  • Cache C initiates a media content download request to Cache D according to the query result returned by the index server;
  • Cache D sends the stored media content of the multimedia file 81_90s to the Cache C according to the above request; In one embodiment, the Cache D no longer saves the 81-90s media content, and the Cache D sends the fragmentation information to the index server to report the situation; in another embodiment, the Cache D still saves the 81-90s. For the media content, Cache D no longer sends the fragmentation information to the index server.
  • 407 Cache C merges the newly received media content with the original media content, and publishes the new fragmentation information of the multimedia file to the index server.
  • the Cache C may merge the newly received media content with the original media content, and publish the new fragment information of the multimedia file to the index server. For details, see step 407, so that the index server may modify the data.
  • the index table of the multimedia file is saved to grasp the latest fragmentation of the multimedia file.
  • the Cache C may not save the newly received media content, and the above step 407 may be omitted.
  • the Cache can perform dynamic fragmentation of any length of the multimedia file or the multimedia file according to the Meta file, and the Cache can further continue fragmentation according to the Meta file, which not only effectively saves each.
  • the storage space required by a Cache also has greater flexibility.
  • FIG. 5 is a block diagram of a composition of a multimedia file distribution apparatus according to an embodiment of the present invention.
  • the multimedia file distribution apparatus includes: a receiving unit 51, a fragmentation unit 52, a pushing unit 53, and a sending unit 54, wherein:
  • the receiving unit 51 is configured to receive the multimedia file and the playing information of the multimedia file, where the playing information includes a playing time and a playing position of the multimedia file;
  • the receiving unit 51 may obtain the multimedia file and the playing information from the source server or other cache server.
  • the fragment of the multimedia file and the playing information of the fragment may also be obtained from other cache servers.
  • the fragmentation unit 52 is configured to slice the multimedia file according to the local storage resource and the play information of the multimedia file;
  • the pushing unit 53 is configured to push the fragment to another cache server
  • the fragmentation unit 52 can include:
  • the determining module 521 is configured to determine whether the local storage resource is insufficient
  • the fragmentation module 522 is configured to divide the multimedia file into at least two fragments according to the playback information of the multimedia file when the determination result of the determination module 521 is that the local storage resource is insufficient.
  • the pushing unit 53 is configured to push at least one fragment of the multimedia file and the playback information of the at least one fragment to other cache servers.
  • the multimedia received by the receiving unit 51 by the fragmentation unit 52 The volume file is fragmented by any length and any number of times, and is sent to other cache servers through the push unit 53, which alleviates the problem of insufficient local storage resources.
  • the sending unit 54 is configured to send the fragmentation information of the locally stored multimedia file to the index server when the fragment of the multimedia file is saved locally;
  • the storage information of the multimedia file changes. Therefore, the new fragmentation information of the locally stored multimedia file is sent to the sending unit 54 of the embodiment.
  • the index server so that the index server updates the index table.
  • the fragmentation information includes a time period of the media content of the locally stored multimedia file.
  • the components of the multimedia file publishing apparatus of the embodiment of the present invention are respectively used to implement the functions of the steps of the foregoing multimedia file publishing method. Since the steps have been described in detail in the foregoing method embodiments, details are not described herein.
  • the multimedia file publishing apparatus of this embodiment mitigates the local storage pressure and improves the efficiency of media publishing by dynamically sharding the multimedia files.
  • FIG. 6 is a block diagram of a cache server according to an embodiment of the present invention.
  • the cache server includes a multimedia file issuing device 61 in addition to its original composition and functions.
  • the multimedia file distributing device 61 can be implemented by the multimedia file distributing device of the embodiment shown in FIG. 5. Since the device has been described in detail in the embodiment shown in FIG. 5, it will not be described herein.
  • the cache server of this embodiment mitigates the local storage pressure and improves the efficiency of media publishing by dynamically sharding the multimedia files.
  • FIG. 7 is a block diagram of a multimedia file publishing system according to an embodiment of the present invention.
  • the multimedia file publishing system includes: a plurality of cache servers 71, an index server 72, and a source server 73, wherein: each The cache server 71 may include the multimedia file distributing apparatus shown in FIG. 5, that is, the cache server 71 of the present embodiment may be implemented by the cache server shown in FIG. 6, due to the embodiment shown in FIGS. 5 and 6.
  • the multimedia file distribution device has been described in detail, and will not be described here.
  • the index server 72 is configured to store the fragmentation information of the multimedia file stored by the multimedia file publishing apparatus; the source server 73 is configured to issue the multimedia file and the playback information of the multimedia file generated according to the multimedia file to the multimedia file publishing apparatus. .
  • the multimedia file is distributed by the multimedia file publishing apparatus of the plurality of cache servers, which relieves the storage pressure of each cache server and increases the media publishing efficiency of the multimedia file publishing system.
  • the computer software product can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to perform various embodiments of the present invention.
  • a computer device which can be a personal computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A multimedia file distribution method and device are provided by the embodiments of the present invention. The method includes: receiving a multimedia file and the playing information of the multimedia file, wherein, the playing information includes the position information on which the multimedia file can be played separately; slicing the multimedia file according to the local storage resources and the playing information of the multimedia file, and transmitting the slices to other cache servers; if there is a multimedia file slice stored locally, then transmitting the multimedia file slice information stored locally to an index server. Using the dynamic slicing method, the method and device of the embodiments of the present invention make the cache content of the cache server more flexible. Because of the uniform slicing rule, the slices sliced by different sources can be recombined, which increases the flexibility and reduces the needed storage space consumed by the cache server of the Content Delivery Network (CDN) for caching big video files.

Description

多媒体文件发被法和装置  Multimedia file issuing method and device
本申请要求于 2010年 5月 11日提交中国专利局、 申请号为 201010171633. 0、发明 名称为 "多媒体文件发布方法和装置"的中国专利申请的优先权, 其全部内容通过引用 结合在本申请中。 技术领域 本发明涉及网络领域, 尤其涉及一种内容分发网络中的多媒体文件发布方法和装 置。 背景技术 内容分发网络 (CDN, Content Del ivery Network ) 是通过在现有的网际网络 The present application claims priority to Chinese Patent Application No. 201010171633. filed on May 11, 2010, the entire disclosure of which is incorporated herein by reference. in. TECHNICAL FIELD The present invention relates to the field of networks, and in particular, to a multimedia file publishing method and apparatus in a content distribution network. BACKGROUND OF THE INVENTION Content Delivery Network (CDN, Content Del ivery Network) is through existing Internet networks.
( Internet ) 中增加一层新的网络架构, 将网站的内容发布到最接近用户的网络边缘节 点, 使用户可以就近取得所需的内容, 解决 Internet 网络拥挤的状况, 提高用户访问 网站的响应速度。 (Internet) adds a new layer of network architecture to publish the content of the website to the network edge node closest to the user, so that users can get the required content nearby, solve the Internet congestion situation, and improve the response speed of users visiting the website. .
目前, CDN网络架构主要由中心和边缘两大部分组成,中心是指 CDN网管中心和 DNS (Domain Name System, 域名系统) 重定向解析中心, DNS重定向解析中心负责全局负 载均衡; 边缘是指异地节点, 也即 CDN分发的载体, 它主要由 Cache (缓存服务器) 和 负载均衡器等组成。  At present, the CDN network architecture is mainly composed of the center and the edge. The center refers to the CDN network management center and the DNS (Domain Name System) redirection analysis center. The DNS redirection analysis center is responsible for global load balancing. A node, that is, a carrier for CDN distribution, is mainly composed of a Cache (Cache Server) and a load balancer.
在现有技术中, 当用户使用统通用资源标志符 (Uniform Resource Identifier, URI ) 访问加入 CDN服务的网站时, 该用户的域名解析请求将最终交给 DNS重定向解析 中心进行处理。 DNS重定向解析中心通过一组预先定义好的策略, 将适合该用户的节点 地址提供给该用户, 使该用户能够得到快速的服务。 DNS重定向解析中心与分布在各地 的 CDN节点保持通信,搜集各节点的通信状态,确保不将用户的请求分配到不可用的 CDN 节点上, 即通过 DNS重定向解析中心做全局负载均衡。 对于普通的 Internet用户来讲, 每个 CDN节点就相当于一个放置在它周围的 WEB服务器。通过 DNS重定向解析中心的控 制, 用户的请求被透明地指向离他最近的节点, 也即, 对于用户来说, 并不感知 DNS重 定向解析中心将用户指向哪个节点, 节点中的 CDN服务器会像网站的原始服务器一样, 响应用户的请求。 由于它离用户更近, 因而响应时间必然更低。  In the prior art, when a user accesses a website that joins a CDN service by using a Uniform Resource Identifier (URI), the domain name resolution request of the user is finally handed over to the DNS redirection analysis center for processing. The DNS redirection resolution center provides a user-friendly node address to the user through a set of predefined policies, so that the user can get a fast service. The DNS redirection resolution center maintains communication with the distributed CDN nodes, collects the communication status of each node, and ensures that the user's request is not assigned to the unavailable CDN node. That is, the DNS redirection center performs global load balancing. For ordinary Internet users, each CDN node is equivalent to a WEB server placed around it. Through the control of the DNS redirection resolution center, the user's request is transparently pointed to the node closest to him, that is, for the user, the user is not aware of which node the DNS redirection analysis center points to, and the CDN server in the node will Respond to the user's request, just like the original server of the website. Because it is closer to the user, the response time is necessarily lower.
发明人在实现本发明的过程中发现, 随着高清视频应用越来越广泛, 视频文件的体 积更为庞大。 CDN Cache如果缓存所有的视频大文件对它的存储压力是十分大的。 发明内容 In the process of implementing the present invention, the inventors have found that as HD video applications become more widespread, video files are more bulky. CDN Cache is very large if it caches all of the video's large files. Summary of the invention
本发明实施例提供一种多媒体文件发布方法和装置, 以减少 CDN Cache缓存大视频 文件所需要消耗的存储空间。  The embodiment of the invention provides a multimedia file publishing method and device, so as to reduce the storage space required for the CDN Cache to cache large video files.
本发明实施例的上述目的是通过如下技术方案实现的:  The above object of the embodiment of the present invention is achieved by the following technical solutions:
一种多媒体文件发布方法, 所述方法包括: 接收多媒体文件以及所述多媒体文件的 播放信息, 所述播放信息包括所述多媒体文件的可独立播放的位置的信息; 根据本地存 储资源以及所述多媒体文件的播放信息对所述多媒体文件进行分片, 并将所述分片推送 给其他缓存服务器; 如果本地保存有所述多媒体文件的分片, 则将本地存储的多媒体文 件的分片信息发送到索引服务器。  A multimedia file publishing method, the method comprising: receiving a multimedia file and playing information of the multimedia file, the playing information including information of an independently playable location of the multimedia file; according to a local storage resource and the multimedia The playback information of the file is fragmented, and the fragment is sent to another cache server; if the fragment of the multimedia file is saved locally, the fragmentation information of the locally stored multimedia file is sent to Index server.
一种多媒体文件发布装置, 所述装置包括: 接收单元, 用于接收多媒体文件以及所 述多媒体文件的播放信息,所述播放信息包括所述多媒体文件的可独立播放的位置的信 息; 分片单元, 用于根据本地存储资源以及所述多媒体文件的播放信息对所述多媒体文 件进行分片; 推送单元, 用于将所述分片推送给其他缓存服务器; 发送单元, 用于在本 地保存有所述多媒体文件的分片时,将本地存储的多媒体文件的分片信息发送到索引服 务器。  A multimedia file publishing apparatus, the device comprising: a receiving unit, configured to receive a multimedia file and play information of the multimedia file, where the play information includes information of an independently playable position of the multimedia file; The device is configured to slice the multimedia file according to the local storage resource and the playing information of the multimedia file; the pushing unit is configured to push the fragment to another cache server; and the sending unit is configured to save locally When the fragmentation of the multimedia file is described, the fragmentation information of the locally stored multimedia file is sent to the index server.
一种缓存服务器, 所述缓存服务器包括前述的多媒体文件发布装置。  A cache server, comprising the aforementioned multimedia file distributing device.
一种多媒体文件发布系统, 所述系统包括: 多个缓存服务器, 所述缓存服务器包括 前述的多媒体文件发布装置; 索引服务器, 用于存储所述多媒体文件发布装置存储的多 媒体文件的分片信息; 源端服务器, 用于发布多媒体文件及根据该多媒体文件生成的该 多媒体文件的播放信息到所述多媒体文件发布装置。  A multimedia file issuance system, the system includes: a plurality of cache servers, the cache server includes the foregoing multimedia file publishing device; and an index server, configured to store fragmentation information of the multimedia file stored by the multimedia file publishing device; And a source server, configured to release the multimedia file and the play information of the multimedia file generated according to the multimedia file to the multimedia file publishing apparatus.
本发明实施例的方法和装置采用动态分片的方法, 使得缓存服务器 (Cache ) 的缓 存内容更具灵活性, 又由于切片的规则统一, 不同源端切的分片可以重组, 增加了灵活 性, 减少了 CDN Cache缓存大视频文件所需要消耗的存储空间。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或现有 技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明实施例的多媒体文件发布方法的流程图; The method and the device of the embodiment of the present invention adopt a dynamic fragmentation method, so that the cache content of the cache server (Cache) is more flexible, and the fragmentation rules can be unified, and the fragments of different source ends can be reorganized, thereby increasing flexibility. , reduces the storage space required for the CDN Cache to cache large video files. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and other drawings may be obtained from those skilled in the art without departing from the drawings. FIG. 1 is a flowchart of a method for publishing a multimedia file according to an embodiment of the present invention;
图 2为图 1所示方法中获取多媒体文件的方法流程图;  2 is a flow chart of a method for acquiring a multimedia file in the method shown in FIG. 1;
图 3为本发明实施例的一个实施方式中多媒体文件发布过程的示意图;  FIG. 3 is a schematic diagram of a multimedia file publishing process according to an embodiment of the present invention; FIG.
图 4为本发明实施例的一个实施方式中用户请求多媒体文件的示意图;  4 is a schematic diagram of a user requesting a multimedia file according to an embodiment of the present invention;
图 5为本发明实施例的多媒体文件发布装置的组成框图;  FIG. 5 is a structural block diagram of a multimedia file publishing apparatus according to an embodiment of the present invention; FIG.
图 6为本发明实施例的缓存服务器的组成框图;  6 is a block diagram showing the composition of a cache server according to an embodiment of the present invention;
图 7为本发明实施例的多媒体文件发布系统的组成框图。 具体实肺式 下面通过实施例对本发明的具体实现过程进行举例说明。 显然, 下面所描述的实施 例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通 技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。  FIG. 7 is a structural block diagram of a multimedia file publishing system according to an embodiment of the present invention. Specific Pulmonary Formula The specific implementation process of the present invention will be exemplified below by way of examples. It is apparent that the embodiments described below are a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明实施例提供的一种多媒体文件发布方法的流程图, 该方法可以应用于 CDN网络的缓存服务器, 请参照图 1, 该方法包括:  FIG. 1 is a flowchart of a method for publishing a multimedia file according to an embodiment of the present disclosure. The method may be applied to a cache server of a CDN network. Referring to FIG. 1, the method includes:
步骤 101 : 缓存服务器接收多媒体文件以及所述多媒体文件的播放信息, 所述播放 信息包括所述多媒体文件的可独立播放的位置的信息;  Step 101: The cache server receives the multimedia file and the play information of the multimedia file, where the play information includes information of an independently playable position of the multimedia file.
其中, 多媒体文件及其播放信息可以是该 CDN网络的源端服务器发送的, 也可以是 该 CDN网络的其他的缓存服务器发送的。 例如, 源端服务器根据存储的多媒体文件生成 该多媒体文件的播放信息并一同下发; 或者, 其他的缓存服务器在接收到多媒体文件及 其播放信息后, 将该多媒体文件及播放信息发送到该缓存服务器, 其他的缓存服务器也 可以对该多媒体文件进行分片, 并将分片连同该分片的播放信息一同发送到该缓存服务 器。 这将在以下的实施例中加以说明。  The multimedia file and the playing information thereof may be sent by a source server of the CDN network, or may be sent by another cache server of the CDN network. For example, the source server generates the play information of the multimedia file according to the stored multimedia file and sends the same together; or, after receiving the multimedia file and the play information, the other cache server sends the multimedia file and the play information to the cache. The server, the other cache server may also slice the multimedia file, and send the fragment together with the playback information of the fragment to the cache server. This will be explained in the following examples.
其中, 在对多媒体文件进行分片时, 为了保证各个分片都可以独立播放, 分片的位 置不能任意选择, 通常以内部编码帧 (I帧) 起始的分片可以独立播放, 因此播放信息 中可以为多媒体文件中全部或部分内部编码帧的位置的信息。 此外, 播放信息也可以是 时间与可独立播放的位置的对应信息, 以便于在为用户提供时移服务时方便地确定用户 请求的播放时间对应哪一个分片。  In the process of sharding multimedia files, in order to ensure that each shard can be played independently, the position of the shard can not be arbitrarily selected. Generally, the shards starting with the inner coded frame (I frame) can be played independently, so the information is played. The information of the position of the frame may be internally or partially encoded in the multimedia file. In addition, the playback information may also be corresponding information of the time and the independently playable position, so as to conveniently determine which slice of the playback time requested by the user corresponds to when providing the time shift service for the user.
其中, 多媒体文件的播放信息也可以称之为 Meta文件(元文件) , 以播放信息包括 时间与可独立播放的位置的对应信息为例,该 Meta文件存放了多媒体文件的播放时间和 播放位置, 以便根据该 Meta文件对多媒体文件进行分片, 如下表一所示: The playing information of the multimedia file may also be referred to as a Meta file (meta file), and the playing information includes a time and a corresponding information of a position that can be independently played, and the Meta file stores the playing time of the multimedia file and The playback position, in order to slice the multimedia file according to the Meta file, as shown in the following Table 1:
Figure imgf000006_0001
Figure imgf000006_0001
 Table
其中, "文件名"表示多媒体文件的名称; " 0s " 、 " I s " , " 3s "表示该多媒体 文件的播放时间; " 0 " 、 " 250 " 、 " 3000 "表示该多媒体文件的播放位置, 也即文件 内偏移量。 在本例中, 该 Meta文件表示该多媒体文件在开始播放时, 读取数据的位置为 0, 该多媒体文件在播放到 I s时, 读取数据的位置为 250, 该多媒体文件在播放到 3s时, 读取数据的位置为 3000。 上述只是举例说明, 本实施例并不以此作为限制。  Wherein, "file name" indicates the name of the multimedia file; "0s", "Is", "3s" indicates the playing time of the multimedia file; "0", "250", "3000" indicates the playing position of the multimedia file. , that is, the offset within the file. In this example, the Meta file indicates that the location of the read data is 0 when the multimedia file starts playing, and the location of the read data is 250 when the multimedia file is played to I s, and the multimedia file is played to 3s. When the data is read, the location is 3000. The above is only an example, and the embodiment is not limited thereto.
步骤 102 : 所述缓存服务器根据本地存储资源以及所述多媒体文件的播放信息对所 述多媒体文件进行分片和推送;  Step 102: The cache server segments and pushes the multimedia file according to the local storage resource and the play information of the multimedia file.
其中, 当本地存储资源不足时, 可以根据该多媒体文件的播放信息, 将该多媒体文 件分为至少两部分, 每一部分称为一个分片, 然后将其中至少一个分片及该至少一个分 片的播放信息推送到其他的缓存服务器。  When the local storage resource is insufficient, the multimedia file may be divided into at least two parts according to the playing information of the multimedia file, each part is referred to as a fragment, and then at least one of the fragments and the at least one of the fragments are The playback information is pushed to other cache servers.
其中, 该至少一个分片的播放信息是从前述该多媒体文件的播放信息中提取出来 的, 当对该多媒体文件进行分片时, 可以对应每一个分片, 从该多媒体文件的播放信息 中提取出对应该分片的播放信息。 例如, 当根据多媒体文件的播放信息, 将一个 0- lOOs 的多媒体文件分为 0-60s以及 61- lOOs两个分片时, 从该多媒体文件的播放信息中提取出 对应 0-60s分片的播放信息以及对应 61- lOOs分片的播放信息。 以上是以根据时间段进行 分片为例, 本实施例并不以此作为限制。  The play information of the at least one shard is extracted from the play information of the multimedia file, and when the multimedia file is sharded, each shard can be extracted from the play information of the multimedia file. Play the playback information corresponding to the shard. For example, when a multimedia file of 0-100s is divided into two segments of 0-60s and 61-100s according to the playback information of the multimedia file, the corresponding 0-60s segment is extracted from the playback information of the multimedia file. Playback information and playback information corresponding to 61-100s shards. The above is an example of performing fragmentation according to a time period, and the embodiment is not limited thereto.
其中, 判断本地存储资源是否充足, 可以预先设置一个阈值作为判断的依据, 例如 设置存储量的 90 %作为判断依据, 当本地存储量已经大于全部存储量的 90 %时, 则认为 本地存储资源不足。 以上只是举例说明, 本实施例并不以此作为限制。  Wherein, determining whether the local storage resource is sufficient, a threshold may be set in advance as a basis for determining, for example, setting 90% of the storage amount as a judgment basis, when the local storage amount is greater than 90% of the total storage capacity, the local storage resource is considered to be insufficient. . The above is only an example, and the embodiment is not limited thereto.
步骤 103 : 如果本地保存有所述多媒体文件的分片, 则所述缓存服务器将本地存储 的多媒体文件的分片信息发送到索引服务器。  Step 103: If the fragment of the multimedia file is saved locally, the cache server sends the fragmentation information of the locally stored multimedia file to the index server.
其中, 根据步骤 102的处理, 本地缓存服务器可能将接收到的多媒体文件分片后全 部发送到了其他的缓存服务器, 也可能本地保留了一部分该多媒体文件的分片, 则, 如 果本地仍保存有该多媒体文件的分片, 则将该分片的分片信息发送到索引服务器保存, 以便索引服务器掌握多媒体文件的分片情况; 如果本地没有保存该多媒体文件的分片, 则无须再向索引服务器上报分片信息。 According to the processing of step 102, the local cache server may send all the received multimedia files to other cache servers after fragmentation, or may partially retain a part of the multimedia file, if the local still stores the The fragmentation of the multimedia file, the fragmentation information of the fragment is sent to the index server for storage. In order for the index server to grasp the fragmentation of the multimedia file; if the fragment of the multimedia file is not saved locally, it is not necessary to report the fragmentation information to the index server.
其中, 索引服务器用于保存对每个多媒体文件建立的索引表, 以播放信息包括时间 与可独立播放的位置的对应信息为例, 该索引表中可以存储每个多媒体文件某个时间段 的内容所在的缓存服务器, 如下表二所示:  The index server is configured to save an index table established for each multimedia file, and the playback information includes time and a corresponding information of the independently playable position, where the content of each multimedia file can be stored in the index table. The cache server is located as shown in Table 2 below:
Figure imgf000007_0001
Figure imgf000007_0001
 Table
藉此,每一个缓存服务器通过访问该索引服务器就可以知道任何一个多媒体文件的 任意时间点的数据保存在哪个缓存服务器上。 当然, 索引表也可以不需要时间信息, 而 是包括每个多媒体文件各个分片位置所在的缓存服务器。  In this way, each cache server can know which cache server the data of any multimedia file is stored at any time point by accessing the index server. Of course, the index table may not require time information, but includes a cache server where each fragmentation location of each multimedia file is located.
根据本实施例的方法, 当用户终端向本实施例的缓存服务器请求多媒体文件时, 如 果本地保存有该请求对应的多媒体文件, 则直接发送给该用户终端; 如果本地仅保存有 该请求对应的多媒体文件的一部分, 则可以通过向索引服务器查询其他的部分所在的缓 存服务器, 根据查询得到的缓存服务器转发该多媒体文件的其他部分。 这也将在以下的 实施例中加以说明。  According to the method of the embodiment, when the user terminal requests the multimedia file from the cache server of the embodiment, if the multimedia file corresponding to the request is locally saved, the user terminal directly sends the multimedia file to the user terminal; A part of the multimedia file can be forwarded to the index server by querying the cache server where the other part is located, and forwarding the other part of the multimedia file according to the cache server obtained by the query. This will also be explained in the following embodiments.
本实施例的多媒体文件发布方法可以应用于 CDN网络的缓存服务器, 而 CDN网络可以 包括多个缓存服务器,每一个缓存服务器都可以通过本实施例的多媒体文件发布方法对 多媒体文件进行分片存储和发布。  The multimedia file publishing method of the embodiment may be applied to a cache server of a CDN network, and the CDN network may include multiple cache servers, and each cache server may perform fragment storage on the multimedia file by using the multimedia file publishing method in this embodiment. release.
本实施例的多媒体文件发布方法通过将多媒体文件分片存储,有效缓解了缓存服务 器的存储压力, 且由于分片不在源端服务器进行, 缓存服务器可以根据多媒体文件的播 放信息进行多次分片, 而分片的大小也可以根据不同缓存服务器的实际情况动态调节, 增加了多媒体文件发布的灵活性。  The multimedia file publishing method of the embodiment can effectively alleviate the storage pressure of the cache server by storing the multimedia file in pieces, and since the fragmentation is not performed by the source server, the cache server can perform multiple fragmentation according to the playback information of the multimedia file. The size of the fragment can also be dynamically adjusted according to the actual situation of different cache servers, which increases the flexibility of multimedia file publishing.
图 2为本发明实施例提供的多媒体文件发布方法中, 根据用户终端的多媒体播放请 求, 将所述多媒体播放请求对应的多媒体文件发送到该请求的用户终端的方法的流程 图, 请参照图 2, 该方法包括:  FIG. 2 is a flowchart of a method for transmitting a multimedia file corresponding to the multimedia play request to the requested user terminal according to a multimedia play request of a user terminal according to a method for publishing a multimedia file according to an embodiment of the present invention. , the method includes:
步骤 201 : 判断本地是否存储有所述多媒体播放请求对应的多媒体文件; 步骤 202 : 如果本地存储有所述多媒体播放请求对应的多媒体文件的分片, 则将所 述分片发送到请求的用户终端; Step 201: Determine whether the multimedia file corresponding to the multimedia play request is stored locally; Step 202: If the fragment of the multimedia file corresponding to the multimedia play request is locally stored, The fragment is sent to the requested user terminal;
步骤 203 : 向所述索引服务器发送多媒体文件查询请求, 查询该多媒体文件的其他 分片所在的缓存服务器;  Step 203: Send a multimedia file query request to the index server, and query a cache server where other fragments of the multimedia file are located;
步骤 204: 根据所述索引服务器返回的结果, 获取所述多媒体文件的其他分片, 并 将所述多媒体文件的其他分片发送到请求的用户终端。  Step 204: Acquire other fragments of the multimedia file according to the result returned by the index server, and send other fragments of the multimedia file to the requested user terminal.
其中, 由于索引服务器保存有每一个多媒体文件的索引表, 该索引表存储了每一个 多媒体文件某个时间段的分片在哪个缓存服务器上, 因此, 索引服务器根据查询请求, 可以确定查询的多媒体文件的分片所在的缓存服务器, 并返回查询结果。  The index server stores an index table of each multimedia file, and the index table stores on which cache server the fragment of each multimedia file is in a certain time period. Therefore, the index server can determine the multimedia of the query according to the query request. The cache server where the fragment of the file is located, and returns the query result.
在一个实施例中, 本地缓存服务器获取了所述多媒体文件的其他分片后, 可以与本 地保存的该多媒体文件的分片进行合并, 并将合并后的该多媒体文件的分片信息发送到 索引服务器, 以便索引服务器更新该多媒体文件的分片情况。  In an embodiment, after obtaining the other fragments of the multimedia file, the local cache server may merge with the locally saved fragment of the multimedia file, and send the merged fragment information of the multimedia file to the index. The server, so that the index server updates the fragmentation of the multimedia file.
在另一个实施例中, 本地缓存服务器获取了所述多媒体文件的其他分片后, 只是将 其转发到用户终端, 本地缓存服务器并不会保存该其他分片, 故无须进行分片合并及分 片信息上报的工作。  In another embodiment, after the local cache server obtains other fragments of the multimedia file, it only forwards the fragment to the user terminal, and the local cache server does not save the other fragments, so there is no need to merge and divide the fragments. The work of the piece of information reported.
在本实施例中,存储该多媒体文件的其他分片的缓存服务器在将该其他分片推送给 本地缓存服务器后, 如果不再保存该其他分片, 则将该多媒体文件的分片信息上传到索 引服务器, 以告知索引服务器, 本地已不再保存该多媒体文件的分片; 如果仍保存该其 他分片, 则无需向索引服务器报告。  In this embodiment, after the other shards of the multimedia file are sent to the local cache server, if the other shards are not saved, the shard information of the multimedia file is uploaded to The index server, to inform the index server, the fragmentation of the multimedia file is no longer saved locally; if the other fragment is still saved, there is no need to report to the index server.
需要说明的是, 同一个多媒体文件的不同分片可以同时保存在多个缓存服务器上, 而索引服务器建立的索引表则记录了这一情况。 例如, 某一多媒体文件的 0〜100s的媒 体内容可以既保存在 Cache A上, 也保存在 Cache B上。  It should be noted that different shards of the same multimedia file can be saved on multiple cache servers at the same time, and the index table created by the index server records this situation. For example, the media content of 0~100s of a multimedia file can be saved on both Cache A and Cache B.
为使本实施例的多媒体文件发布方法更加清楚易懂, 以下通过一个多媒体文件的具 体发布过程, 以及用户终端的请求过程为例, 对本实施例的多媒体文件发布方法进行说 明。  In order to make the multimedia file publishing method of the present embodiment more clear and easy to understand, the multimedia file publishing method of this embodiment will be described below by taking a specific publishing process of a multimedia file and a request process of the user terminal as an example.
图 3为本发明实施例提供的多媒体文件发布方法中, 多媒体文件发布过程的示意图, 请参照图 3, 该多媒体文件发布过程包括如下几个步骤:  FIG. 3 is a schematic diagram of a multimedia file publishing process in a multimedia file publishing method according to an embodiment of the present invention. Referring to FIG. 3, the multimedia file publishing process includes the following steps:
301: 源端服务器根据多媒体文件生成其 Meta文件, 并把该 Meta文件和该多媒体文 件推送到 Cache A上;  301: The source server generates a Meta file according to the multimedia file, and pushes the Meta file and the multimedia file to the Cache A.
302: Cache A发现自己存储资源不足,根据上述 Meta文件,把该多媒体文件中 91_100s 的媒体内容及该部分媒体内容的 Meta文件推送到 Cache B上; 把该多媒体文件中 0_90s的 媒体内容及该部分媒体内容的 Meta文件推送到 Cache C上; 302: Cache A finds that the storage resource is insufficient. According to the Meta file, the media content of the media file and the meta file of the part of the media content are pushed to the Cache B. The multimedia file is 0_90s. The media content and the Meta file of the part of the media content are pushed to the Cache C;
303: Cache A把本地存储的多媒体文件的媒体内容的分片信息报告索引服务器; 其中, 如果该多媒体文件只有 Ο-lOOs的媒体内容, 由于 Cache A将该多媒体文件的 所有媒体内容都推送到了其他的 Cache上, 也即, 没有保存该多媒体文件的分片, 因此, 303: Cache A reports the fragmentation information of the media content of the locally stored multimedia file to the index server; wherein, if the multimedia file has only media content of Ο-lOOs, since Cache A pushes all media content of the multimedia file to other On the Cache, that is, the shard of the multimedia file is not saved, therefore,
Cache A无需向索引服务器上报该多媒体文件的分片信息。 Cache A does not need to report the fragmentation information of the multimedia file to the index server.
其中, 如果该多媒体文件有 0-120s的媒体内容, 则 Cache A在将 0_100s的媒体内容 推送给 Cache B和 Cache C后, 本地仍保存有该多媒体文件的 101_120s的媒体内容, 则 If the media file has media content of 0-120s, the cache content of the media file 101_120s is still stored locally after the media content of the media file is sent to the Cache B and the Cache C.
Cache A需要向索引服务器上报该分片信息, 也即, Cache A存储有该多媒体文件的Cache A needs to report the fragmentation information to the index server, that is, Cache A stores the multimedia file.
101-120S的媒体内容的信息, 以便索引服务器将这一分片情况写入该多媒体文件的索引 表, 如下表三所示, 以免出现调度出错的问题。
Figure imgf000009_0002
The information of the media content of the 101-120S, so that the index server writes the fragmentation condition to the index table of the multimedia file, as shown in Table 3 below, so as to avoid the problem of scheduling error.
Figure imgf000009_0002
Figure imgf000009_0001
Figure imgf000009_0001
其中, 在一个实施例中, 分片信息包含了本地存储的多媒体文件的媒体内容的时间 段。 上述只是举例说明, 本实施例并不以此作为限制。  Wherein, in one embodiment, the fragmentation information includes a time period of the media content of the locally stored multimedia file. The above is only an example, and the embodiment is not limited thereto.
304: 由于 Cache B收到新的分片, 也即上述多媒体文件的 91_100s的媒体内容, 也 把本地存储的该多媒体文件的该部分媒体内容 (91-lOOs的媒体内容) 的分片信息报告 到索引服务器, 以便索引服务器据此建立该多媒体文件的这部分媒体内容的索引表, 如 下表四所示;
Figure imgf000009_0003
304: Since the Cache B receives the new shard, that is, the media content of the 91_100s of the multimedia file, the shard information of the part of the media content (the media content of 91-100s) of the multimedia file stored locally is also reported to An indexing server, so that the indexing server establishes an index table of the part of the media content of the multimedia file, as shown in Table 4 below;
Figure imgf000009_0003
表四  Table 4
305: Cache C发现本地存储资源不足,也把收到的新的分片(上述多媒体文件的 0_90s 的媒体内容) 中的 81-90s的媒体内容及该部分媒体内容的 Meta文件推送到 Cache D;  305: Cache C finds that the local storage resources are insufficient, and also sends the 81-90s media content and the meta-file of the partial media content in the received new fragment (the media content of the above-mentioned multimedia file 0_90s) to the Cache D;
306: Cache C把本地存储的该多媒体文件的部分媒体内容 (0_80s的媒体内容) 的 分片信息报告到索引服务器, 以便索引服务器据此建立该多媒体文件的这部分媒体内容 的索引表, 如下表五所示;
Figure imgf000009_0004
306: The Cache C reports the fragmentation information of the partially stored media content (0_80s media content) of the multimedia file to the index server, so that the index server establishes an index table of the media content of the multimedia file according to the following table. Five
Figure imgf000009_0004
表五 307: 同样的, 由于 Cache D收到新的分片, 也即上述多媒体文件的 81_90s的媒体内 容, 也把本地存储的该多媒体文件的该部分媒体内容(81-90s的媒体内容) 的分片信息 报告到索引服务器, 以便索引服务器据此建立该多媒体文件的这部分媒体内容的索引 表, 如下表六所示。
Figure imgf000010_0001
Table 5 307: Similarly, since the Cache D receives the new shard, that is, the media content of the above-mentioned multimedia file 81_90s, the local storage of the media content of the multimedia file (the media content of the 81-90s) is also fragmented. The information is reported to the index server, so that the index server establishes an index table of the portion of the media content of the multimedia file, as shown in Table 6 below.
Figure imgf000010_0001
表六  Table 6
在本实施例的一个实施方式中, Cache D可以配置成为专门接受其他 Cache资源不足 时分出来的分片的 Cache。  In an embodiment of the present embodiment, the Cache D may be configured as a Cache that specifically accepts fragments of other Cache resources that are not available.
根据本实施方式的多媒体文件的发布过程, 针对该多媒体文件, 索引服务器上建立 了如下的索引表七:  According to the publishing process of the multimedia file according to the embodiment, the following index table 7 is established on the index server for the multimedia file:
Figure imgf000010_0002
Figure imgf000010_0002
表七  Table 7
图 4为本发明实施例提供的多媒体文件发布方法中, 用户终端向离它最近的缓存服 务器, 例如 Cache C请求该多媒体文件的示意图, 请参照图 4, 该请求的过程包括如下几 个步骤:  FIG. 4 is a schematic diagram of a multimedia file publishing method according to an embodiment of the present invention, wherein a user terminal requests a multimedia file from a cache server that is closest to it, such as Cache C. Referring to FIG. 4, the process of the request includes the following steps:
401: 用户终端向 Cache C发起多媒体文件播放请求, 该请求中指明了请求播放的多 媒体文件, 例如为图 3所示实施例的多媒体文件;  401: The user terminal initiates a multimedia file play request to the Cache C, where the multimedia file requested to be played is specified, for example, the multimedia file of the embodiment shown in FIG. 3;
402: Cache C根据上述请求, 确定本地存储有该多媒体文件的 0_80s的媒体内容, 则首先把本地存有的 O-SOs媒体内容发送给该用户终端;  402: Cache C determines, according to the foregoing request, that the media content of the multimedia file 0_80s is stored locally, first sending the locally stored O-SOs media content to the user terminal;
403: 由于 Cache C本地没有上述多媒体文件的 81_90s的媒体内容, 所以 Cache C向 索引服务器发送查询请求, 以查询该多媒体文件的 81-90s的媒体内容所在的 Cache , 索 引服务器根据 Cache C的查询请求, 检索其保存的索引表, 得知该多媒体文件的 81_90s 的媒体内容存储于 Cache D上, 则向 Cache C返回这一查询结果;  403: Cache C does not have the media content of 81_90s of the foregoing multimedia file, so Cache C sends a query request to the index server to query the Cache of the media content of the 81-90s of the multimedia file, and the index server queries according to the Cache C. Retrieving the saved index table, and knowing that the media content of the multimedia file 81_90s is stored in the Cache D, returning the query result to the Cache C;
404: Cache C根据索引服务器返回的查询结果向 Cache D发起媒体内容下载请求; 404: Cache C initiates a media content download request to Cache D according to the query result returned by the index server;
405: Cache D根据上述请求, 把存储的该多媒体文件的 81_90s的媒体内容发送给 Cache C; 在一个实施方式中, Cache D不再保存该 81-90s的媒体内容, 则 Cache D向索引服务 器发送分片信息, 报告这一情况; 在另一个实施方式中, Cache D仍保存该 81-90s的媒 体内容, 则 Cache D不再向索引服务器发送分片信息。 405: Cache D sends the stored media content of the multimedia file 81_90s to the Cache C according to the above request; In one embodiment, the Cache D no longer saves the 81-90s media content, and the Cache D sends the fragmentation information to the index server to report the situation; in another embodiment, the Cache D still saves the 81-90s. For the media content, Cache D no longer sends the fragmentation information to the index server.
406 Cache C把从 Cache D获取的该多媒体文件的 8 l_90s的媒体内容转发给用户终 W ;  406 Cache C forwards the media content of the multimedia file 8 l_90s obtained from the Cache D to the user terminal W;
407 Cache C把新收到的媒体内容和原来的媒体内容合并, 并把该多媒体文件的新 的分片信息发布到索引服务器。  407 Cache C merges the newly received media content with the original media content, and publishes the new fragmentation information of the multimedia file to the index server.
在一个实施方式中, Cache C可以把新收到的媒体内容和原来的媒体内容合并, 并 把该多媒体文件的新的分片信息发布到索引服务器, 详见步骤 407, 以便索引服务器据 此修改其保存的该多媒体文件的索引表, 以掌握该多媒体文件的最新的分片情况。 在另 外一个实施方式中, Cache C可以不保存新收到的媒体内容, 则上述步骤 407可以省略。  In an embodiment, the Cache C may merge the newly received media content with the original media content, and publish the new fragment information of the multimedia file to the index server. For details, see step 407, so that the index server may modify the data. The index table of the multimedia file is saved to grasp the latest fragmentation of the multimedia file. In another embodiment, the Cache C may not save the newly received media content, and the above step 407 may be omitted.
应用本实施例的多媒体文件发布方法, Cache可以根据 Meta文件对多媒体文件或者 多媒体文件的分片进行任意长度的动态分片, Cache还可以根据 Meta文件对分片继续分 片, 不仅有效节省了每一个 Cache所需要的存储空间, 还具有更大的灵活性。  Applying the multimedia file publishing method of the embodiment, the Cache can perform dynamic fragmentation of any length of the multimedia file or the multimedia file according to the Meta file, and the Cache can further continue fragmentation according to the Meta file, which not only effectively saves each. The storage space required by a Cache also has greater flexibility.
图 5为本发明实施例提供的一种多媒体文件发布装置的组成框图, 请参照图 5, 该多 媒体文件发布装置包括: 接收单元 51、分片单元 52、推送单元 53以及发送单元 54, 其中: 接收单元 51用于接收多媒体文件以及所述多媒体文件的播放信息,所述播放信息包 括所述多媒体文件的播放时间和播放位置;  FIG. 5 is a block diagram of a composition of a multimedia file distribution apparatus according to an embodiment of the present invention. Referring to FIG. 5, the multimedia file distribution apparatus includes: a receiving unit 51, a fragmentation unit 52, a pushing unit 53, and a sending unit 54, wherein: The receiving unit 51 is configured to receive the multimedia file and the playing information of the multimedia file, where the playing information includes a playing time and a playing position of the multimedia file;
其中, 该接收单元 51可以从源端服务器或其他的缓存服务器获取该多媒体文件及其 播放信息; 也可以从其他的缓存服务器获取多媒体文件的分片及该分片的播放信息。  The receiving unit 51 may obtain the multimedia file and the playing information from the source server or other cache server. The fragment of the multimedia file and the playing information of the fragment may also be obtained from other cache servers.
分片单元 52用于根据本地存储资源以及所述多媒体文件的播放信息对所述多媒体 文件进行分片;  The fragmentation unit 52 is configured to slice the multimedia file according to the local storage resource and the play information of the multimedia file;
推送单元 53用于将所述分片推送给其他的缓存服务器;  The pushing unit 53 is configured to push the fragment to another cache server;
在一个实施例中, 该分片单元 52可以包括:  In one embodiment, the fragmentation unit 52 can include:
判断模块 521, 用于判断本地存储资源是否不足;  The determining module 521 is configured to determine whether the local storage resource is insufficient;
分片模块 522, 用于在所述判断模块 521的判断结果为本地存储资源不足时, 根据所 述多媒体文件的播放信息, 将所述多媒体文件分为至少两个分片。  The fragmentation module 522 is configured to divide the multimedia file into at least two fragments according to the playback information of the multimedia file when the determination result of the determination module 521 is that the local storage resource is insufficient.
在本实施例中,推送单元 53用于将所述多媒体文件的至少一个分片及该至少一个分 片的播放信息推送到其他缓存服务器。  In this embodiment, the pushing unit 53 is configured to push at least one fragment of the multimedia file and the playback information of the at least one fragment to other cache servers.
其中, 在本地存储资源不足的情况下, 通过分片单元 52对接收单元 51接收到的多媒 体文件进行任意长度和任意次数的分片, 并通过推送单元 53将该分片发送到其他的缓存 服务器, 缓解了本地存储资源不足的问题。 Wherein, in the case that the local storage resource is insufficient, the multimedia received by the receiving unit 51 by the fragmentation unit 52 The volume file is fragmented by any length and any number of times, and is sent to other cache servers through the push unit 53, which alleviates the problem of insufficient local storage resources.
发送单元 54用于在本地保存有所述多媒体文件的分片时,将本地存储的所述多媒体 文件的分片信息发送到索引服务器;  The sending unit 54 is configured to send the fragmentation information of the locally stored multimedia file to the index server when the fragment of the multimedia file is saved locally;
其中, 经过分片单元 52对该多媒体文件进行分片后, 该多媒体文件的存储信息发生 了变化, 所以, 通过本实施例的发送单元 54将本地存储的多媒体文件的新的分片信息发 送到索引服务器, 以便于该索引服务器更新索引表。  After the fragmentation unit 52 fragments the multimedia file, the storage information of the multimedia file changes. Therefore, the new fragmentation information of the locally stored multimedia file is sent to the sending unit 54 of the embodiment. The index server, so that the index server updates the index table.
其中, 该分片信息包括了本地存储的多媒体文件的媒体内容的时间段。  The fragmentation information includes a time period of the media content of the locally stored multimedia file.
本发明实施例的多媒体文件发布装置的各组成部分分别用于实现前述多媒体文件 发布方法的各步骤的功能, 由于在前述方法实施例中, 已经对各步骤进行了详细说明, 在此不在赘述。  The components of the multimedia file publishing apparatus of the embodiment of the present invention are respectively used to implement the functions of the steps of the foregoing multimedia file publishing method. Since the steps have been described in detail in the foregoing method embodiments, details are not described herein.
本实施例的多媒体文件发布装置, 通过对多媒体文件进行动态分片存储, 缓解了本 地的存储压力, 提高了媒体发布的效率。  The multimedia file publishing apparatus of this embodiment mitigates the local storage pressure and improves the efficiency of media publishing by dynamically sharding the multimedia files.
图 6为本发明实施例提供的一种缓存服务器的组成框图, 请参照图 6, 该缓存服务器 除包括其原有的组成和功能外, 还包括多媒体文件发布装置 61。  FIG. 6 is a block diagram of a cache server according to an embodiment of the present invention. Referring to FIG. 6, the cache server includes a multimedia file issuing device 61 in addition to its original composition and functions.
其中, 该多媒体文件发布装置 61可以通过图 5所示的实施例的多媒体文件发布装置 来实现, 由于在图 5所示的实施例中, 已经对该装置进行了详细说明, 在此不在赘述。  The multimedia file distributing device 61 can be implemented by the multimedia file distributing device of the embodiment shown in FIG. 5. Since the device has been described in detail in the embodiment shown in FIG. 5, it will not be described herein.
本实施例的缓存服务器, 通过对多媒体文件进行动态分片存储, 缓解了本地的存储 压力, 提高了媒体发布的效率。  The cache server of this embodiment mitigates the local storage pressure and improves the efficiency of media publishing by dynamically sharding the multimedia files.
图 7为本发明实施例提供的一种多媒体文件发布系统的组成框图, 请参照图 7, 该多 媒体文件发布系统包括: 多个缓存服务器 71、 索引服务器 72以及源端服务器 73, 其中: 每一个缓存服务器 71都可以包括图 5所示的多媒体文件发布装置, 也即, 本实施例 的缓存服务器 71可以通过图 6所示的缓存服务器来实现, 由于在图 5和图 6所示的实施例 中, 已经对多媒体文件发布装置进行了详细说明, 在此不在赘述。  FIG. 7 is a block diagram of a multimedia file publishing system according to an embodiment of the present invention. Referring to FIG. 7, the multimedia file publishing system includes: a plurality of cache servers 71, an index server 72, and a source server 73, wherein: each The cache server 71 may include the multimedia file distributing apparatus shown in FIG. 5, that is, the cache server 71 of the present embodiment may be implemented by the cache server shown in FIG. 6, due to the embodiment shown in FIGS. 5 and 6. The multimedia file distribution device has been described in detail, and will not be described here.
索引服务器 72用于存储所述多媒体文件发布装置存储的多媒体文件的分片信息; 源端服务器 73用于发布多媒体文件及根据该多媒体文件生成的该多媒体文件的播 放信息到所述多媒体文件发布装置。  The index server 72 is configured to store the fragmentation information of the multimedia file stored by the multimedia file publishing apparatus; the source server 73 is configured to issue the multimedia file and the playback information of the multimedia file generated according to the multimedia file to the multimedia file publishing apparatus. .
本实施例的多媒体文件发布系统,通过多个缓存服务器的多媒体文件发布装置对多 媒体文件进行分片存储, 缓解了每一个缓存服务器的存储压力, 增加了该多媒体文件发 布系统的媒体发布效率。 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软 件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来实施, 但很多情况下前 者是更佳的实施方式。 基于这样的理解, 本发明的技术方案对背景技术做出贡献的全部 或者部分可以以软件产品的形式体现出来,所述的软件产品在可以用于执行上述的方法 流程。 该计算机软件产品可以存储在存储介质中, 如 R0M/RAM、 磁碟、 光盘等, 包括若 干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例或者实施例的某些部分所述的方法。 In the multimedia file publishing system of the embodiment, the multimedia file is distributed by the multimedia file publishing apparatus of the plurality of cache servers, which relieves the storage pressure of each cache server and increases the media publishing efficiency of the multimedia file publishing system. Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, all can be implemented by hardware, but in many cases, the former is better. Implementation. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product that can be used to perform the above-described method flow. The computer software product can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to perform various embodiments of the present invention. The method described in the examples or parts of the examples.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替 换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保 护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种多媒体文件发布方法, 其特征在于, 所述方法包括:  A multimedia file publishing method, the method comprising:
接收多媒体文件以及所述多媒体文件的播放信息,所述播放信息包括所述多媒体文 件的可独立播放的位置的信息;  Receiving a multimedia file and playback information of the multimedia file, the playback information including information of an independently playable location of the multimedia file;
根据本地存储资源以及所述多媒体文件的播放信息对所述多媒体文件进行分片, 并 将所述分片推送给其他缓存服务器;  And sharding the multimedia file according to the local storage resource and the playing information of the multimedia file, and pushing the fragment to another cache server;
如果本地保存有所述多媒体文件的分片,则将本地存储的多媒体文件的分片信息发 送到索引服务器。  If the fragment of the multimedia file is saved locally, the fragmentation information of the locally stored multimedia file is sent to the index server.
2、 根据权利要求 1所述的方法, 其特征在于, 所述播放信息还包括与所述可独立播 放的位置的信息对应的时间信息。  The method according to claim 1, wherein the play information further includes time information corresponding to the information of the independently playable position.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 接收多媒体文件以及所述多媒体 文件的播放信息, 包括:  The method according to claim 1 or 2, wherein receiving the multimedia file and the playing information of the multimedia file comprises:
接收源端服务器发送的多媒体文件以及所述源端服务器生成的所述多媒体文件的 播放信息; 或者  Receiving a multimedia file sent by the source server and playing information of the multimedia file generated by the source server; or
接收另一缓存服务器发送的多媒体文件以及所述多媒体文件的播放信息,所述播放 信息为所述另一缓存服务器从所述源端服务器接收的所述多媒体文件的播放信息; 或者 接收另一缓存服务器发送的多媒体文件的分片以及所述分片的播放信息。  Receiving a multimedia file sent by another cache server and playing information of the multimedia file, the play information being play information of the multimedia file received by the another cache server from the source server; or receiving another cache The fragmentation of the multimedia file sent by the server and the playback information of the fragment.
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 根据本地存储资源以及所 述多媒体文件的播放信息对所述多媒体文件进行分片, 并将所述分片推送给其他缓存服 务器, 包括:  The method according to any one of claims 1 to 3, wherein the multimedia file is fragmented according to local storage resources and playback information of the multimedia file, and the fragment is pushed to other The cache server, including:
如果本地存储资源不足, 则根据所述多媒体文件的播放信息将所述多媒体文件分为 至少两个分片;  If the local storage resource is insufficient, the multimedia file is divided into at least two fragments according to the playing information of the multimedia file;
将所述多媒体文件的至少一个分片及该至少一个分片的播放信息推送到其他缓存 服务器。  Pushing at least one slice of the multimedia file and the play information of the at least one slice to another cache server.
5、 一种多媒体文件发布装置, 其特征在于, 所述装置包括:  5. A multimedia file publishing apparatus, wherein the apparatus comprises:
接收单元, 用于接收多媒体文件以及所述多媒体文件的播放信息, 所述播放信息包 括所述多媒体文件的可独立播放的位置的信息;  a receiving unit, configured to receive a multimedia file and play information of the multimedia file, where the play information includes information of an independently playable position of the multimedia file;
分片单元,用于根据本地存储资源以及所述多媒体文件的播放信息对所述多媒体文 件进行分片;  a fragmentation unit, configured to slice the multimedia file according to local storage resources and play information of the multimedia file;
推送单元, 用于将所述分片推送给其他缓存服务器; 发送单元, 用于在本地保存有所述多媒体文件的分片时, 将本地存储的多媒体文件 的分片信息发送到索引服务器。 a pushing unit, configured to push the fragment to another cache server; And a sending unit, configured to send the fragmentation information of the locally stored multimedia file to the index server when the fragment of the multimedia file is saved locally.
6、 根据权利要求 5所述的装置, 其特征在于, 所述接收单元接收到的播放信息还包 括与所述可独立播放的位置的信息对应的时间信息。  The device according to claim 5, wherein the playback information received by the receiving unit further includes time information corresponding to the information of the independently playable position.
7、 根据权利要求 5或 6所述的装置, 其特征在于, 所述接收单元用于接收源端服务 器发送的多媒体文件以及所述源端服务器生成的所述多媒体文件的播放信息; 或者, 所 述接收单元用于接收另一缓存服务器发送的多媒体文件以及所述多媒体文件的播放信 息,所述多媒体文件的播放信息为所述另一缓存服务器从所述源端服务器接收的所述多 媒体文件的播放信息; 或者, 所述接收单元用于接收另一缓存服务器发送的多媒体文件 的分片及所述分片的播放信息。  The device according to claim 5 or 6, wherein the receiving unit is configured to receive a multimedia file sent by the source server and play information of the multimedia file generated by the source server; or The receiving unit is configured to receive a multimedia file sent by another cache server and play information of the multimedia file, where the play information of the multimedia file is the multimedia file received by the another cache server from the source server And playing the information; or, the receiving unit is configured to receive a fragment of the multimedia file sent by another cache server and play information of the fragment.
8、 根据权利要求 5至 7任一项所述的装置, 其特征在于:  8. Apparatus according to any one of claims 5 to 7 wherein:
所述分片单元包括:  The fragmentation unit includes:
判断模块, 用于判断本地存储资源是否不足;  a determining module, configured to determine whether the local storage resource is insufficient;
分片模块, 用于在所述判断模块的判断结果为本地存储资源不足时, 根据所述多媒 体文件的播放信息, 将所述多媒体文件分为至少两个分片;  a fragmentation module, configured to divide the multimedia file into at least two fragments according to the playback information of the multimedia file when the judgment result of the determination module is that the local storage resource is insufficient;
所述推送单元用于将所述多媒体文件的至少一个分片及该至少一个分片的播放信 息推送到其他缓存服务器。  The pushing unit is configured to push at least one fragment of the multimedia file and the playback information of the at least one fragment to other cache servers.
9、 一种缓存服务器, 其特征在于, 所述缓存服务器包括权利要求 5— 8任一项所述 的多媒体文件发布装置。  A cache server, characterized in that the cache server comprises the multimedia file distribution device according to any one of claims 5-8.
10、 一种多媒体文件发布系统, 其特征在于, 所述系统包括:  10. A multimedia file publishing system, wherein the system comprises:
多个缓存服务器,所述缓存服务器包括权利要求 5— 8任一项所述的多媒体文件发布 装置;  a plurality of cache servers, the cache server comprising the multimedia file issuing device according to any one of claims 5-8;
索引服务器, 用于存储所述多媒体文件发布装置存储的多媒体文件的分片信息; 源端服务器,用于发布多媒体文件及生成该多媒体文件的播放信息并发送到所述多 媒体文件发布装置。  And an index server, configured to store the fragmentation information of the multimedia file stored by the multimedia file publishing apparatus, and a source server, configured to distribute the multimedia file and generate the playback information of the multimedia file, and send the information to the multimedia file publishing apparatus.
PCT/CN2011/070708 2010-05-11 2011-01-27 Multimedia file distribution method and device WO2011140842A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010171633.0 2010-05-11
CN201010171633.0A CN102244644B (en) 2010-05-11 2010-05-11 Method and device for releasing multimedia file

Publications (1)

Publication Number Publication Date
WO2011140842A1 true WO2011140842A1 (en) 2011-11-17

Family

ID=44913890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070708 WO2011140842A1 (en) 2010-05-11 2011-01-27 Multimedia file distribution method and device

Country Status (2)

Country Link
CN (1) CN102244644B (en)
WO (1) WO2011140842A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965775A (en) * 2021-10-22 2022-01-21 武汉博晟安全技术股份有限公司 Multimedia video safe playing method based on slice and intelligent CDN acceleration

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103348691B (en) * 2011-11-29 2016-10-05 华为技术有限公司 The method, apparatus and system of distribution live content
CN102547478B (en) * 2012-02-20 2015-03-11 北京蓝汛通信技术有限责任公司 Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network)
CN104104698A (en) * 2013-04-01 2014-10-15 深圳维盟科技有限公司 Web data cache processing method, device and system
CN103559274B (en) * 2013-11-05 2016-08-31 中国联合网络通信集团有限公司 Vehicle condition information query method and device
WO2016106596A1 (en) * 2014-12-30 2016-07-07 21 Vianet Group, Inc. Accelerating content delivery in a residence environment
CN104955075B (en) * 2015-04-27 2018-10-26 哈尔滨工程大学 A kind of delay-tolerant network cache management system and management method based on message fragment and node cooperation
CN105812833A (en) * 2016-04-07 2016-07-27 网宿科技股份有限公司 File processing method and device
CN107948670A (en) * 2016-10-12 2018-04-20 北京优朋普乐科技有限公司 A kind of small documents playback method and device
CN108270823B (en) 2016-12-30 2022-02-22 华为技术有限公司 Service providing method, device and system
EP3598697B1 (en) 2017-04-14 2022-01-19 Huawei Technologies Co., Ltd. Content deployment method and distribution controller
CN106993054B (en) * 2017-05-05 2022-06-03 腾讯科技(深圳)有限公司 File distribution method, node and system
CN110544475B (en) * 2019-07-08 2022-03-11 三星电子(中国)研发中心 Method for implementing multi-voice assistant
CN110636340B (en) * 2019-09-30 2021-11-09 普联技术有限公司 Video file uploading method, storage device, terminal device and storage medium
CN114051152A (en) * 2022-01-17 2022-02-15 飞狐信息技术(天津)有限公司 Video playing method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101198016A (en) * 2007-12-05 2008-06-11 中兴通讯股份有限公司 Contents issuance and storage method for interactive individual television media paying system
US20100094950A1 (en) * 2008-10-15 2010-04-15 Patentvc Ltd. Methods and systems for controlling fragment load on shared links

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547183A (en) * 2008-03-27 2009-09-30 田园 Method for online watching of multimedia files

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101198016A (en) * 2007-12-05 2008-06-11 中兴通讯股份有限公司 Contents issuance and storage method for interactive individual television media paying system
US20100094950A1 (en) * 2008-10-15 2010-04-15 Patentvc Ltd. Methods and systems for controlling fragment load on shared links

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965775A (en) * 2021-10-22 2022-01-21 武汉博晟安全技术股份有限公司 Multimedia video safe playing method based on slice and intelligent CDN acceleration

Also Published As

Publication number Publication date
CN102244644A (en) 2011-11-16
CN102244644B (en) 2015-03-11

Similar Documents

Publication Publication Date Title
WO2011140842A1 (en) Multimedia file distribution method and device
US11194719B2 (en) Cache optimization
KR101072966B1 (en) Method, device and system for distributing file data
EP2091202B1 (en) Data distributing method, data distributing system and correlative devices in edge network
US9998354B2 (en) Server selection for content distribution
US8880650B2 (en) System and method for storing streaming media file
JP2017509053A (en) Content delivery network architecture with edge proxies
WO2009115026A1 (en) System, client-side and method for downloading and playing multimedia files
WO2009079948A1 (en) A content buffering, querying method and point-to-point media transmitting system
WO2012072049A1 (en) Method and device for cooperating cache
JP2013510453A (en) Streaming with optional broadcast delivery of data segments
WO2009152754A1 (en) Method, system and device for providing contents based on peer to peer network
WO2021253889A1 (en) Load balancing method and apparatus, proxy device, cache device and serving node
WO2011054319A1 (en) Method, device and system for realizing hierarchically requesting content in http streaming system
WO2013086707A1 (en) Routing method, device, and system in content delivery network (cdn)
WO2010115325A1 (en) Method and apparatus for processing and updating service contents in a distributed file system
WO2012022216A1 (en) Content delivery network and method for content delivery
WO2011126481A1 (en) Partial object distribution in content delivery network
JP5729659B2 (en) Media streaming method and media controller
WO2012116582A1 (en) P2p content distribution method and system
KR20130033252A (en) Method and system for end-to-end qos guaranteed content delivery on service overlay network
JP2012113719A (en) System and method for controlling server usage for peer-to-peer based streaming service
WO2012116591A1 (en) Method and system for distributing p2p content
WO2023274267A1 (en) Content resource distribution method, content delivery network, cluster, and medium
KR20130134911A (en) Method for providing content caching service in adapted streaming service and local caching device thereof

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

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

Country of ref document: EP

Kind code of ref document: A1