Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for streaming media to request address mapping and cache nodes in content delivery network

A technology of content delivery network and cache node, which is applied in the field of streaming media request address mapping and cache node, can solve the problem of wasting cache space, etc., and achieve the effect of improving the utilization rate of cache space

Active Publication Date: 2013-11-06
北京一亩田新农网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cache node can identify and cache the range request in the standard form, but it does not perform semantic identification for the request in the non-standard form, and usually uses the entire URI as the identifier to cache the object, which wastes the cache space
In addition, for a range request in a standard form, such as the RTSP protocol, the cache node usually uses RTP (Real-time Transport Protocol, Real-time Transport Protocol) to package and transmit the data stream. In the prior art, the entire RTP package is usually cached when caching. The cache space is also wasted; another example is the byte-range request of the HTTP protocol, which will cause many fragments to be generated. The existing technology handles these range requests in the standard form, either not to cache at all, or to cache the entire complete content

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for streaming media to request address mapping and cache nodes in content delivery network
  • Method and device for streaming media to request address mapping and cache nodes in content delivery network
  • Method and device for streaming media to request address mapping and cache nodes in content delivery network

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0083] Example 1: The user's streaming media request is sent through the HTTP protocol, and time range information is carried in the streaming media request in a non-standard format.

[0084] Assume that the URI carried in the streaming media request input by the user is:

[0085] http: / / www.example.com / video / sample_1636000.flv? start_time=2&end_time=4,

[0086] You can set the following regular expressions:

[0087] (.*\ / )([a-zA-Z]+)(?:_(\d+)?\.(flv|mp4))\? start_time=(\d+)(?:&end_time=(\d+))?

[0088]Regular expressions use "()" brackets to extract matched subexpressions, that is, parameters, so the total number of them needs to be kept the same as the total number of parameters in Table 1 above.

[0089] Match the URI in the streaming media request input by the user through the above regular expression, and the extracted parameters are as follows:

[0090] path=http: / / www.example.com / video /

[0091] name=sample

[0092] bitrate=1636000

[0093] ext.=flv

[0094] st...

example 2

[0121] Example 2: Send the user's streaming media request through the RTSP / RTMP protocol, and carry the time range information in the standard format in the streaming media request.

[0122] For example, the RTSP protocol indicates the playing time range by carrying the Range Header in the PLAY command; the RTMP protocol indicates the playing time range by carrying the Start and Duration fields in the PLAY command. The Range Header of the RTSP protocol supports several formats, such as NPT (Normal Play Time, normal play time), which is the playback time point relative to the video start position, SMPTE (time stamp), etc., which are used to describe the time range of the requested playback. The following uses the NPT format as an example to illustrate.

[0123] Assuming that the content of the 10th to 15th second of the sample video is requested, the PLAY command is as follows:

[0124] PLAY rtsp: / / www.example.com / video / sample.mp4RTSP / 1.0

[0125] CSeq: 123

[0126] Session:...

example 3

[0144] Example 3: The user's streaming media request is sent through the HTTP protocol, and the byte range information is carried in the streaming media request in a non-standard format.

[0145] Assume that a media description file generated for a sample audio and video object is sample.xml, and its content is as follows:

[0146] Sample.xml

[0147]

[0148] Assume that the URI carried in the streaming media request input by the user is:

[0149] http: / / www.example.com / video / sample.flv? start_byte=956159&end_byte=1974043,

[0150] The regular expressions that can be set are:

[0151] (.*\ / )([a-zA-Z]+)(?:_(\d+)?\.(flv|mp4))\? start_byte=(\d+)(?:&end_byte=(\d+))? .

[0152] Regular expressions use "()" brackets to extract matched sub-expressions, that is, parameters, so the total number of parameters needs to be kept the same as the total number of parameters in the matching rule.

[0153] Match the URI in the streaming media request input by the user through the above...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method, system and buffer node for stream media request address mapping in a Content Delivery Network (CDN). The method includes: receiving a stream media request from a user, wherein the stream media request carries the Uniform Resource Identifier (URI) of the steam media; extracting request parameters in the URI, wherein the request parameters include the stream media path of the request, the steam media name, and request range information; obtaining a media description file corresponding to the stream media name, wherein the media description file is the file describing the fragment information of audio and video objects; parsing the media description file to obtain the fragment information corresponding to the request range information; converting the URI of the stream media to the URI corresponding to the fragment of the steam media according to the fragment information. Application of the embodiments of the invention can improve the usage rate of the buffer space in a CDN.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for streaming media request address mapping in a content delivery network, and a cache node. Background technique [0002] At present, the number of users surfing the Internet is increasing, the number of Web sites continues to increase, and the resources available for access are becoming more and more abundant, especially texts, images, music, advertisements, streaming media, animations, etc.; the online business volume doubles. Incremental increase has caused a large demand for network bandwidth, and network access delays and waiting are always common. These situations have led to many problems such as network congestion, server overload, and long waiting time for online applications, which have reduced the performance of the entire Internet content transmission . [0003] In order to relieve network congestion and increase the speed at which users o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/12
CPCH04L65/4084H04L65/612
Inventor 陈骞高云超
Owner 北京一亩田新农网络科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More