[go: up one dir, main page]

CN105991469B - Dynamic time window and caching mechanism under a kind of heterogeneous network transmission - Google Patents

Dynamic time window and caching mechanism under a kind of heterogeneous network transmission Download PDF

Info

Publication number
CN105991469B
CN105991469B CN201510064427.2A CN201510064427A CN105991469B CN 105991469 B CN105991469 B CN 105991469B CN 201510064427 A CN201510064427 A CN 201510064427A CN 105991469 B CN105991469 B CN 105991469B
Authority
CN
China
Prior art keywords
time
available
content
size
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510064427.2A
Other languages
Chinese (zh)
Other versions
CN105991469A (en
Inventor
徐异凌
张文军
孙军
管云峰
何大治
柳宁
王成志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong University
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 Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN201510064427.2A priority Critical patent/CN105991469B/en
Priority to JP2017541330A priority patent/JP6472892B2/en
Priority to CA3004650A priority patent/CA3004650C/en
Priority to KR1020177024205A priority patent/KR101941900B1/en
Priority to US15/549,163 priority patent/US10313738B2/en
Priority to PCT/CN2016/073168 priority patent/WO2016124130A1/en
Publication of CN105991469A publication Critical patent/CN105991469A/en
Application granted granted Critical
Publication of CN105991469B publication Critical patent/CN105991469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides the dynamic time window under a kind of heterogeneous network transmission and caching mechanism, methods described is directed to the signaling in existing MMT, increase Available_Time the and Asset_Size attributes of media content in the signaling or elsewhere, enable the size of time that client terminal knows that respective media content obtains and media content;Simultaneously, client terminal can determine that network bandwidth under contemporary broadband network and content leniently take the network delay of client to by corresponding method in IP network, by the delay for obtaining time and broad-band channel of broadband source contents, client terminal can calculate the buffer window size required for the time interval for sending request buffered in advance and terminal.The present invention solves the problems, such as broadcast with content in the heterogeneous terminals formed in broadband because broadband congestion can not be synchronous, while also reduces the overhead that client is brought due to caching.

Description

一种异构网络传输下的动态时间窗口及缓存机制A Dynamic Time Window and Caching Mechanism under Heterogeneous Network Transmission

技术领域technical field

本发明涉及一种在异构网络传输下客户终端的动态时间请求窗口及缓存机制,具体的说,涉及一种确定终端请求发送媒体内容的时间区间,以及缓存窗口大小的分配方法。The present invention relates to a dynamic time request window and cache mechanism of a client terminal under heterogeneous network transmission, specifically, to a method for determining the time interval during which a terminal requests to send media content and the size of a cache window.

背景技术Background technique

随着时代的变革,人们已不满足于仅仅依靠传统电视来获取信息和进行娱乐,更多的终端设备出现在我们面前,如连接互联网的PC、几乎人手一台的手机以及越来越普及的移动平板电脑等,这些新的产品已经在慢慢侵蚀传统电视业务的市场。随着移动通信和宽带无线技术的发展,以及多媒体业务的日益成熟,融合已成为信息通信业的发展潮流,它可以使用户能够便捷地接入网络,轻松地享用更丰富的媒体内容和多样化的服务。With the change of the times, people are no longer satisfied with only relying on traditional TVs to obtain information and entertainment, and more terminal devices appear in front of us, such as PCs connected to the Internet, almost everyone has a mobile phone, and the increasingly popular These new products, such as mobile tablet PCs, are slowly eroding the traditional TV business market. With the development of mobile communication and broadband wireless technology, as well as the maturity of multimedia services, convergence has become the development trend of the information and communication industry. It enables users to easily access the network and enjoy richer media content and diversified services.

与此同时,媒体内容的呈现将不只是简单的视频,音频,字幕,媒体类型将会越来越丰富多样。媒体来源也不只是特定的内容提供商,越来越多的制作者参与其中,包括很多个人用户同时也是内容的提供和制作者。这些来自不同提供者的内容存在着各种关联关系,为了满足不同用户的个性化需求,这些关联内容往往需要同步呈现。在此环境下,异构网络融合作为下一代网络发展的必然趋势,充分说明了未来的通信不再是某种特定的接入技术,而是多种接入技术并存、协同工作。At the same time, the presentation of media content will not only be simple video, audio, and subtitles, but the media types will become more and more diverse. Media sources are not limited to specific content providers. More and more producers are involved, including many individual users who are also content providers and producers. These contents from different providers have various association relationships, and in order to meet the individual needs of different users, these associated contents often need to be presented synchronously. In this environment, heterogeneous network convergence is an inevitable trend in the development of next-generation networks, which fully demonstrates that future communication is no longer a specific access technology, but multiple access technologies coexist and work together.

在由广播和宽带组成的异构网络环境下,终端呈现的媒体内容可同时从广播和宽带通道传输过来。对于此异构网络终端的呈现,有一种基于呈现信息(CI,CompositionInformation)的多源内容分发机制。CI采用HTML5和XML等技术提供媒体数据的时间和空间信息,使得多媒体数据可以在终端进行多样化的呈现。In a heterogeneous network environment composed of broadcast and broadband, the media content presented by the terminal can be transmitted from the broadcast and broadband channels at the same time. For the presentation of the heterogeneous network terminal, there is a multi-source content distribution mechanism based on presence information (CI, Composition Information). CI uses technologies such as HTML5 and XML to provide time and space information of media data, so that multimedia data can be presented in a variety of ways on the terminal.

终端可以根据信令中的信息从服务器端请求相关内容,但是服务器端收到请求的时候,相关内容可能已经准备好,可能还没有。如果相关内容还没有准备好,终端的请求就会失败,然后再次请求,直到获得相关内容。这对终端是很大的负担,同时也会增加网络负担。The terminal can request relevant content from the server according to the information in the signaling, but when the server receives the request, the relevant content may or may not be ready. If the relevant content is not ready, the terminal's request will fail, and then request again until the relevant content is obtained. This is a great burden on the terminal and also increases the burden on the network.

由于现在的宽带网络需要在多个节点对内容进行转发,因此存在网络延时大甚至网络阻塞等问题。因此需要在接收端提前对内容进行缓存,以应对终端内容无法播放或者媒体内容无法同步播放的问题。Since the current broadband network needs to forward content on multiple nodes, there are problems such as large network delay or even network congestion. Therefore, it is necessary to cache the content in advance at the receiving end to deal with the problem that the terminal content cannot be played or the media content cannot be played synchronously.

缓存的引入又带来了新的问题,终端需要提前缓存多少的内容、从何时开始缓存,都会影响客户端设备的配置与系统的性能。因此客户端缓存窗口的大小和拉取缓存的时间成为一个亟待解决的问题。The introduction of caching has brought new problems. How much content the terminal needs to cache in advance and when to start caching will affect the configuration of the client device and the performance of the system. Therefore, the size of the client cache window and the time to pull the cache become an urgent problem to be solved.

发明内容Contents of the invention

针对现有技术的不足,本发明提供了一种在异构网络终端自适应地调整请求时间窗口和缓存窗口大小的方法,从而解决了广播与宽带中组成的异构终端中内容因宽带拥塞而无法同步的问题,同时也减小了客户端由于缓存而带来的额外开销。Aiming at the deficiencies of the prior art, the present invention provides a method for adaptively adjusting the size of the request time window and buffer window in a heterogeneous network terminal, thereby solving the problem of content loss due to broadband congestion in heterogeneous terminals composed of broadcast and broadband. The problem of being unable to synchronize, but also reduces the additional overhead caused by the client due to caching.

本发明是采用以下技术方案实现的:The present invention is realized by adopting the following technical solutions:

本发明提供一种在异构网络终端自适应地调整请求时间窗口和缓存窗口大小的方法,所述方法通过在信令(如MPT、CI、MPU)或其他地方增加媒体内容的Available Time和Asset_Size属性,使客户终端获知相应媒体内容能获取的时间;同时,客户终端通过宽带网络中相应的方法确定当前宽带网络下的网络带宽及内容从宽带到客户端的单向网络延时,通过宽带源内容的可获取时间和宽带信道的延迟,客户终端计算出保证当前广播与宽带内容同步所需的缓存窗口大小以及发送请求的时间。The present invention provides a method for adaptively adjusting the size of the request time window and cache window at a heterogeneous network terminal, the method increases the Available Time and Asset_Size of media content in signaling (such as MPT, CI, MPU) or other places attribute, so that the client terminal knows the time when the corresponding media content can be obtained; at the same time, the client terminal determines the network bandwidth under the current broadband network and the one-way network delay of the content from the broadband to the client through the corresponding method in the broadband network, and the content is transmitted through the broadband source content. The available time and the delay of the broadband channel, the client terminal calculates the cache window size required to ensure the synchronization of the current broadcast and the broadband content and the time to send the request.

与现有技术相比,本发明具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:

采用本发明的技术方案,针对已有的MMT中的信令,通过在信令或其他地方加入新的属性,解决了因宽带中网络阻塞而导致的媒体内容难以同步的问题,从而解决因IP网络拥塞带来的同步问题。By adopting the technical scheme of the present invention, aiming at the signaling in the existing MMT, by adding new attributes in the signaling or other places, the problem of difficult synchronization of media content caused by network congestion in broadband is solved, thereby solving the problem of Synchronization problems caused by network congestion.

附图说明Description of drawings

通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是异构网络的模型示意图;Figure 1 is a schematic diagram of a model of a heterogeneous network;

图2是计算客户端发送请求的动态时间窗口及终端分配的缓存窗口大小的流程图。Fig. 2 is a flow chart of calculating the dynamic time window for sending a request by the client and the buffer window size allocated by the terminal.

具体实施方式detailed description

下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进。这些都属于本发明的保护范围。The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

如今,基于异构网络的多样化终端呈现方式已成为发展的趋势。在观看高质量广播视频节目的同时,人们对于多样化的网络媒体服务的诉求也越来越高。在由广播和宽带网络组成的异构系统中,由CI来控制客户端播放广播与宽带内容的时间与空间布局,实现媒体内容的同步。一般来说,由广播通道过来的媒体内容有很小并且固定的延时,因此对于同步没有影响;而从宽带过来的媒体内容如音视频、字幕、多媒体应用等内容易受当前IP网络影响,产生较大且抖动的延时,给内容同步带来了问题;同时,从宽带过来的内容存在有效访问期的问题,即从某个时间点开始可以访问,到某个时间点前有效。因此本发明给出了内容的有效时间信息,并设计了一种在终端提前请求该信息的发送,并为相应内容分配缓存窗口的机制。Nowadays, diversified terminal presentation methods based on heterogeneous networks have become a development trend. While watching high-quality broadcast video programs, people's demands for diversified online media services are also getting higher and higher. In a heterogeneous system composed of broadcast and broadband networks, the CI controls the time and space layout of the broadcast and broadband content played by the client to achieve synchronization of media content. Generally speaking, the media content coming from the broadcast channel has a small and fixed delay, so it has no effect on synchronization; while the media content coming from broadband, such as audio and video, subtitles, multimedia applications, etc., are easily affected by the current IP network. Large and jittering delays have caused problems for content synchronization; at the same time, content from broadband has the problem of valid access period, that is, it can be accessed from a certain point in time and is valid until a certain point in time. Therefore, the present invention provides the effective time information of the content, and designs a mechanism for requesting the transmission of the information in advance at the terminal, and allocating a cache window for the corresponding content.

为了解决问题,首先在原有的信令或其他地方给每部分内容都加入一个新属性:Available_Time,用以说明宽带中待传送的该内容在内容提供商处准备好并可以开始传输的时间,以及结束访问时间。其赋值遵循如下规则:In order to solve the problem, first add a new attribute to each part of the content in the original signaling or other places: Available_Time, which is used to indicate the time when the content to be transmitted in the broadband is ready and can start transmission at the content provider, and End access time. Its assignment follows the following rules:

1)时间未知1) The time is unknown

若服务器端还不能确定待传送的内容准备好的时间,则Available_Time赋值为"unknown";同时为了考虑系统的兼容性,若服务器端发送的信令中未添加Available_Time属性,则终端解析为Available_Time为未知。If the server cannot determine the time when the content to be transmitted is ready, the Available_Time will be assigned a value of "unknown"; at the same time, in order to consider the compatibility of the system, if the Available_Time attribute is not added to the signaling sent by the server, the terminal will interpret the Available_Time as unknown.

2)随时可以访问2) Accessible anytime

若服务器端的媒体内容随时可以访问与发送,则Available_Time赋值为"anytime"。If the media content on the server side can be accessed and sent at any time, the Available_Time is assigned a value of "anytime".

3)某个特定时间开始后,一直有效3) After a certain time starts, it is always valid

若服务器端的内容在某个特定时间开始后一直有效,则Available_Time赋值为该特定的UTC时间,即"UTC1"。If the content on the server side is valid after a specific time, the Available_Time is assigned the specific UTC time, namely "UTC1".

4)某个特定时间区域内有效4) Valid within a specific time zone

若服务器端的内容在某个特定的时间区间内可获取,则Available_Time赋值为该时间区间,即"UTC1--UTC2",括号内为UTC。If the content on the server side is available within a specific time interval, the Available_Time is assigned the time interval, that is, "UTC1--UTC2", and UTC is in brackets.

对于Available_Time的解析工作在终端完成The analysis of Available_Time is done in the terminal

同样可根据需要在信令或其他地方给每部分内容加入Asset_Size属性,用以表示该部分内容的大小。Similarly, the Asset_Size attribute can be added to each part of content in signaling or other places as required to indicate the size of the part of content.

新添加的属性,Available_Time和Asset_Size,在系统中的具体位置可以根据需要添加在不同地方。比如CI,MPT,MPU等。下面就以这几个位置为例给予介绍。The newly added attributes, Available_Time and Asset_Size, can be added in different places according to the specific location in the system. Such as CI, MPT, MPU, etc. Here are some examples of these locations.

下面分别给出了在CI、MPT和MPU中添加Available_Time和Asset_Size属性的实例:Examples of adding Available_Time and Asset_Size attributes in CI, MPT and MPU are given below:

1)在CI中添加新的属性1) Add new properties in CI

若mediaSrc属性在MediaSync元素里,则将新添加的属性同样放在此元素中,如下:If the mediaSrc attribute is in the MediaSync element, put the newly added attribute in this element as well, as follows:

若mediaSrc属性在MediaSync元素的子元素sourceList里,则新添加的属性放在相应的sourceList中,如下:If the mediaSrc attribute is in the sourceList sub-element of the MediaSync element, the newly added attribute is placed in the corresponding sourceList, as follows:

2)在MPT中添加新的属性2) Add new attributes in MPT

可以在MPT表中每个asset增加Asset_Size,描述其大小。Asset_Size can be added to each asset in the MPT table to describe its size.

若内容有多个源地址,则为每个源地址中的该部分内容都分配一个Available_Time;若该内容只有一个源地址,则只为该地址的源内容分配一个Available_Time。具体实现方式可以有多种,下面给出两个示例。If the content has multiple source addresses, an Available_Time is allocated to the content in each source address; if the content has only one source address, only one Available_Time is allocated to the source content of the address. There may be multiple specific implementation manners, and two examples are given below.

A.在MPT中加入Available_Time_Type和MMT_Available_Time_info(),以四种情况为例子,我们可以分配Available_Time_Type两个比特,如果可获取时间的分类情况更多,可考虑分配更多比特。MMT_Available_Time_info()说明了媒体内容的可获取时间或可获取时间区间信息。MPT如下:A. Add Available_Time_Type and MMT_Available_Time_info() to MPT. Taking four cases as examples, we can allocate two bits of Available_Time_Type. If there are more classifications of available time, we can consider allocating more bits. MMT_Available_Time_info() describes the available time or available time interval information of the media content. MPTs are as follows:

MP table SyntaxMP table Syntax

MMT_Available_Time_info SyntaxMMT_Available_Time_info Syntax

Available_Time_Type:这两个比特表明在可获取时间的类型,说明如下:Available_Time_Type: These two bits indicate the type of available time, described as follows:

Value of Available_Time_TypeValue of Available_Time_Type

B.只在MPT中加入MMT_Available_Time_info(),MMT_Available_Time_info()说明了媒体内容的可获取时间或可获取时间区间信息。MPT如下:B. Only MMT_Available_Time_info() is added to the MPT. MMT_Available_Time_info() indicates the available time or available time interval information of the media content. MPTs are as follows:

MP table SyntaxMP table Syntax

MMT_Available_Time_info SyntaxMMT_Available_Time_info Syntax

available_begin和available_end的用法如下The usage of available_begin and available_end is as follows

3)在MPU中添加新的属性3) Add new attributes in MPU

在MPU中因为描述的是单个MPU的大小,故此处取mpu_sizeIn MPU, because the size of a single MPU is described, mpu_size is taken here

动态分配缓存窗口大小的缓存机制设计思路如下:CI文件中已有的属性已包括对象的正常开始呈现的时间—begin,同时可通过IP网络内的相应方法,如发送ICMP报文段的方式得到当前的单向宽带网络延时—t1与宽带网络的带宽—Bandwidth。在信令中或其他地方加入宽带内容可获取时间的属性Available_Time和Asset_Size后:设定一个阈值Threshold,若延时t1小于此阈值,则该延时可忽略不计,系统无需为宽带传输的媒体内容分配额外缓存;若t1大于此阈值,则可通过具体方案中的方法确定请求提前发送宽带中媒体内容的时间区间,并为终端分配缓存窗口。若网络延时很大,内容提供商提供的Available_Time已不满足提前缓存保持同步的条件,则直接将该宽带通道传送的辅助内容丢弃。The design idea of the caching mechanism for dynamically allocating the size of the cache window is as follows: the existing attributes in the CI file already include the normal start time of the object—begin, and at the same time, it can be obtained through the corresponding method in the IP network, such as sending ICMP segments. Current one-way broadband network delay—t 1 and broadband network bandwidth—Bandwidth. After adding the attributes Available_Time and Asset_Size of the available time of broadband content in signaling or other places: set a threshold Threshold, if the delay t 1 is less than this threshold, the delay is negligible, and the system does not need to provide media for broadband transmission Content allocation additional buffer; if t 1 is greater than this threshold, the time interval for requesting to send media content in broadband in advance can be determined through the method in the specific solution, and a buffer window can be allocated for the terminal. If the network delay is very large, and the Available_Time provided by the content provider does not meet the condition of pre-caching and keeping synchronization, the auxiliary content transmitted by the broadband channel is directly discarded.

具体方案如下(下面的步骤可以根据实际情况选用,组合):The specific scheme is as follows (the following steps can be selected and combined according to the actual situation):

1)在信令中或其他地方加入对应内容的Available_Time和Asset_Size属性;1) Add the Available_Time and Asset_Size attributes of the corresponding content in the signaling or elsewhere;

2)客户终端通过IP网络内的相应方法,如通过发送ICMP报文段,得到当前宽带网络的单向延时t1与宽带网络的带宽Bandwidth;2) The client terminal obtains the one-way delay t1 of the current broadband network and the bandwidth Bandwidth of the broadband network through a corresponding method in the IP network, such as by sending an ICMP message segment;

3)客户端通过解析信令(如MPT、CI)得到对应媒体内容的可获取时间(Available_Time),正常播放时间(begin)以及对应内容的大小(Asset_Size);3) The client obtains the available time (Available_Time), normal playback time (begin) and the size of the corresponding content (Asset_Size) of the corresponding media content by analyzing the signaling (such as MPT, CI);

4)若t1<Threshold,则延时忽略不计;若t1>Threshold,则通过如下方法计算出终端发送请求的时间窗口和终端分配的缓存大小:4) If t 1 <Threshold, the delay is ignored; if t 1 >Threshold, the time window for the terminal to send the request and the cache size allocated by the terminal are calculated by the following method:

①计算服务商传输一个内容单元所需要的时间:Data_Transfer_Time,此时间可由一个内容单元的大小和当前宽带环境下比特率来计算获取;① Calculate the time required by the service provider to transmit a content unit: Data_Transfer_Time, this time can be calculated from the size of a content unit and the bit rate in the current broadband environment;

②若Available_Time为"unknown"或CI中并无此属性,则不进行处理;若Available_Time为"anytime",则跳过此步骤进入③;若Available_Time为一个特定的UTC时间一个UTC时间的区间,则取最早的时间进行如下判断:② If Available_Time is "unknown" or there is no such attribute in CI, no processing will be performed; if Available_Time is "anytime", skip this step and proceed to ③; if Available_Time is a specific UTC time and a UTC time interval, then Take the earliest time for the following judgment:

Available_Time+t1+Data_Transfer_Time<begin (1)Available_Time+t1+Data_Transfer_Time<begin (1)

若条件(1)不成立,则表明待传送的媒体内容可获取时间太晚,在当前网络的延时下不能及时到达终端,故丢弃此部分内容;若条件(1)成立,则表明当前网络延时带来的不同步问题可由提前缓存来解决,进行下一步计算;If the condition (1) is not true, it means that the media content to be transmitted can be acquired too late, and cannot reach the terminal in time under the delay of the current network, so this part of the content is discarded; if the condition (1) is true, it means that the current network delay The out-of-sync problem caused by time can be solved by pre-caching for the next step of calculation;

③计算终端请求提前发送媒体内容的时间区间:③ Calculate the time interval for the terminal to request to send the media content in advance:

请求最早时间:Earliest request time:

Earliest_Request_Time=Available_Time-t1 (2)Earliest_Request_Time = Available_Time - t1 (2)

请求最晚时间:Request latest time:

Latest_Request_Time=begin-2t1-Data_Transfer_Time (3)Latest_Request_Time=begin-2t1-Data_Transfer_Time (3)

实际请求的时间介于两个时间点之间:The actual requested time is between two points in time:

Earliest_Request_Time<Actual_Request_Time<Latest_Request_Time (4)Earliest_Request_Time<Actual_Request_Time<Latest_Request_Time (4)

④终端选定一个请求时间后,则终端能够开始接受服务商数据的时间为:④ After the terminal selects a request time, the time when the terminal can start to accept data from the service provider is:

Receive_Time=Actual_Request_Time+2t1 (5)Receive_Time=Actual_Request_Time+2t1 (5)

终端到begin时间点之前接收数据的时间为:The time for the terminal to receive data before the begin time point is:

Δ t=begin-Receive_TimeΔt=begin-Receive_Time

(6)(6)

⑤如果CI中给出了Asset_Size属性,则终端分配的缓存窗口大小为:⑤If the Asset_Size attribute is given in CI, the size of the cache window allocated by the terminal is:

Buffer_Size=min{Δt*bitrate,Asset_Size} (7)Buffer_Size=min{Δt*bitrate, Asset_Size} (7)

若果CI中未给出Asset_Size属性,则终端分配的缓存窗口大小为:If the Asset_Size attribute is not given in CI, the buffer window size allocated by the terminal is:

Buffer_Size=Δt*bitrate (8)Buffer_Size=Δt*bitrate (8)

计算流程图见附图2,方案中用到的变量及其含义总结如下表:The calculation flow chart is shown in Figure 2. The variables used in the scheme and their meanings are summarized in the following table:

变量variable 含义及用途Meaning and use beginbegin 客户端正常播放特定内容的时间The time when the client normally plays specific content Available_TimeAvailable_Time 待传送的内容在内容提供商处准备好并可以开始传输的时间The time when the content to be delivered is ready at the content provider and can begin delivery Asset_SizeAsset_Size 媒体内容的大小size of media content t1t1 在宽带通道中的单向网络延时One-way network latency in broadband channels BandwidthBandwidth 宽带网络的带宽Broadband network bandwidth ThresholdThreshold 用以判定当前延时是否会影响主辅视频的同步Used to determine whether the current delay will affect the synchronization of the main and auxiliary videos Earliest_Request_TimeEarliest_Request_Time 终端请求的最早时间Earliest time requested by the terminal Latest_Request_TimeLatest_Request_Time 终端请求的最晚时间The latest time requested by the terminal Actual_Request_TimeActual_Request_Time 终端实际请求的时间The time actually requested by the terminal Receive_TimeReceive_Time 终端开始接受数据的时间The time when the terminal starts to accept data Buffer_SizeBuffer_Size 终端分配的缓存窗口大小The buffer window size allocated by the terminal

下面给出一个实例:An example is given below:

已知客户端在接收到对应信令时系统的当前状态如下,此处设定Threshold为0.1s,Data_Transfer_Time一般依据当时data大小和比特率,这里取3sIt is known that the current state of the system when the client receives the corresponding signaling is as follows. Here, Threshold is set to 0.1s. Data_Transfer_Time is generally based on the current data size and bit rate. Here, 3s is used.

参数parameter 取值value t1t1 10s10s BandwidthBandwidth 10Mbps10Mbps ThresholdThreshold 0.1s0.1s

该信令包含的一个图像和音频的文件信息如下:The file information of an image and audio contained in this signaling is as follows:

当前的网络延时为10s,远大于0.1s的Threshold,说明10s的宽带延时是不可接受的,需要提前请求内容的发送。The current network delay is 10s, which is much greater than the Threshold of 0.1s, indicating that the broadband delay of 10s is unacceptable, and it is necessary to request content delivery in advance.

对于Image.1,其可获取时间为北京时间4:59:50后的所有时间,但其可获取时间太靠后,不满足条件(1),即不能再播放时将内容发送至终端,故此内容丢弃。For Image.1, its available time is all the time after 4:59:50 Beijing time, but its available time is too late to meet the condition (1), that is, the content can no longer be sent to the terminal when playing, so Content discarded.

对于Audio.1,其可获取时间在北京时间4:59:20至4:59:50之间,其4:59:20满足条件(1),故可由式(2)和(3)得到请求发送的时间区间:For Audio.1, its available time is between 4:59:20 and 4:59:50 Beijing time, and its 4:59:20 meets the condition (1), so the request can be obtained from formulas (2) and (3) Sending time interval:

Earliest_Request_Time=2015-01-31T4:59:10+08:00Earliest_Request_Time=2015-01-31T4:59:10+08:00

Latest_Request_Time=2015-01-31T4:59:37+08:00Latest_Request_Time=2015-01-31T4:59:37+08:00

若取实际的请求时间为:If the actual request time is taken as:

Actual_Request_Time=2015-01-31T4:59:30+08:00Actual_Request_Time=2015-01-31T4:59:30+08:00

若当前比特率为200Kb/s,则可得各变量参数如下If the current bit rate is 200Kb/s, the variable parameters are as follows

Earliest_Request_TimeEarliest_Request_Time 2015-01-31T4:59:10+08:002015-01-31T4:59:10+08:00 Latest_Request_TimeLatest_Request_Time 2015-01-31T4:59:37+08:002015-01-31T4:59:37+08:00 Actual_Request_TimeActual_Request_Time 2015-01-31T4:59:30+08:002015-01-31T4:59:30+08:00 Receive_TimeReceive_Time 2015-01-31T4:59:50+08:002015-01-31T4:59:50+08:00 ΔtΔt 20s20s Δt*bitrateΔt*bitrate 4M4M Buffer_SizeBuffer_Size 2Mb2Mb

其中Buffer_Size取Δt*bitrate与Asset_Size的最小值,即2Mb。Among them, Buffer_Size takes the minimum value of Δt*bitrate and Asset_Size, which is 2Mb.

故在此实例中,Image.1因为Available_Time时间点给定较晚丢弃,Audio.1可由CI中给定的Available_Time和Asset_Size得到终端应该提前请求发送的时间和应该准备的缓存窗口大小。Therefore, in this example, Image.1 is discarded because the time point of Available_Time is given later, and Audio.1 can get the time that the terminal should request to send in advance and the size of the buffer window that should be prepared from the given Available_Time and Asset_Size in CI.

以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变形或修改,这并不影响本发明的实质内容。Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention.

Claims (2)

1.一种在异构网络终端自适应地调整缓存窗口大小的方法,其特征在于,所述方法针对已有的MPEG媒体传输MMT中的信令,在信令部分增加媒体内容的Available_Time及Asset_Size属性,使客户终端获知相应媒体内容能获取的时间;同时,客户终端通过IP网络中相应的方法确定当前宽带网络下的网络带宽及内容从宽带到客户端的网络延时,通过宽带源内容的可获取时间和宽带信道的延迟,客户终端计算出发送请求提前缓存的时间区间及终端所需要的缓存窗口大小;1. A method for adaptively adjusting the buffer window size at a heterogeneous network terminal, characterized in that, the method is aimed at the signaling in the existing MPEG media transmission MMT, and increases the Available_Time and Asset_Size of the media content in the signaling part attribute, so that the client terminal knows the time when the corresponding media content can be obtained; at the same time, the client terminal determines the network bandwidth under the current broadband network and the network delay of the content from the broadband to the client through the corresponding method in the IP network, and the availability of the broadband source content Obtaining the time and delay of the broadband channel, the client terminal calculates the time interval for sending the request to be buffered in advance and the size of the buffer window required by the terminal; 所述方法在原有的MPEG媒体传输MMT信令中加入新的属性:Available_Time和Asset_Size,用以说明宽带中待传送的该内容在内容提供商处准备好并可以开始传输的时间以及该部分内容的大小;Available_Time赋值遵循如下规则:The method adds new attributes in the original MPEG media transmission MMT signaling: Available_Time and Asset_Size, in order to illustrate the time when the content to be transmitted in the broadband is ready and can start transmission at the content provider and the size of the part of the content Size; Available_Time assignment follows the following rules: 1)时间未知1) The time is unknown 若服务器端还不能确定待传送的内容准备好的时间,则Available_Time赋值为"unknown";同时为了考虑系统的兼容性,若服务器端发送的信令中未添加Available_Time属性,则终端解析为Available_Time为未知;If the server cannot determine the time when the content to be transmitted is ready, the Available_Time will be assigned a value of "unknown"; at the same time, in order to consider the compatibility of the system, if the Available_Time attribute is not added to the signaling sent by the server, the terminal will interpret the Available_Time as unknown; 2)随时可以访问2) Accessible anytime 若服务器端的媒体内容随时可以访问与发送,则Available_Time赋值为"anytime";If the media content on the server side can be accessed and sent at any time, the Available_Time is assigned the value "anytime"; 3)某个特定时间开始后,一直有效3) After a certain time starts, it is always valid 若服务器端的内容在某个特定时间开始后一直有效,则Available_Time赋值为该特定的UTC时间,即"(UTC1)";If the content on the server side is valid after a specific time, then the Available_Time is assigned the specific UTC time, namely "(UTC1)"; 4)某个特定时间区域内有效4) Valid in a specific time zone 若服务器端的内容在某个特定的时间区间内可获取,则Available_Time赋值为该时间区间,即"(UTC1)-(UTC2)";If the content on the server side is available within a specific time interval, the Available_Time is assigned the time interval, namely "(UTC1)-(UTC2)"; 对于Available_Time的解析工作在终端完成。The analysis of Available_Time is done in the terminal. 2.一种用于权利要求1所述方法的在异构终端确定请求时间窗口及缓存窗口大小的方法,其特征在于:终端能够获取的呈现信息CI文件中已有的属性包括对象的正常开始呈现的时间—begin,同时通过IP网络内的相应方法,得到当前的单向宽带网络延时—t1与宽带网络的带宽—Bitrate;在信令中加入宽带内容可获取时间的属性Available_Time和Asset_Size后:设定一个阈值Threshold,若延时t1小于此阈值,则该延时可忽略不计,系统无需为宽带传输的媒体内容分配额外缓存;若t1大于此阈值,则通过具体方案中的方法确定请求提前发送宽带中媒体内容的时间区间,并为终端分配缓存窗口;若网络延时很大,内容提供商提供的Available_Time已不满足提前缓存保持同步的条件,则直接将该宽带通道传送的辅助内容丢弃;2. A method for determining the request time window and cache window size in heterogeneous terminals for the method of claim 1, characterized in that: the existing attributes in the presentation information CI file that the terminal can obtain include the normal start of the object The presented time—begin, and the current one-way broadband network delay—t 1 and the bandwidth of the broadband network—Bitrate are obtained through corresponding methods in the IP network; attributes Available_Time and Asset_Size can be obtained by adding broadband content to the signaling After: set a threshold Threshold, if the delay t1 is less than this threshold, then the delay is negligible, and the system does not need to allocate additional buffer for the media content transmitted by broadband; if t1 is greater than this threshold, then pass the specific program The method determines the time interval for requesting to send media content in broadband in advance, and allocates a buffer window for the terminal; if the network delay is too large, and the Available_Time provided by the content provider does not meet the conditions for buffering in advance to maintain synchronization, the broadband channel is directly transmitted Auxiliary content discarded; 具体方案如下:The specific plan is as follows: 1)在信令中加入对应内容的Available_Time和Asset_Size属性;1) Add the Available_Time and Asset_Size attributes of the corresponding content to the signaling; 2)客户终端通过IP网络内的相应方法,得到当前宽带网络的单向延时t1与宽带网络的带宽Bitrate;2) The client terminal obtains the one-way delay t1 of the current broadband network and the bandwidth Bitrate of the broadband network through a corresponding method in the IP network; 3)客户端通过解析信令得到对应媒体内容的可获取时间Available_Time,正常播放时间begin以及对应内容的大小Asset_Size;3) The client obtains the available time Available_Time of the corresponding media content, the normal playback time begin and the size Asset_Size of the corresponding content by analyzing the signaling; 4)若t1<Threshold,则延时忽略不计;若t1>Threshold,则通过如下方法计算出终端发送请求的时间窗口和终端分配的缓存大小:4) If t 1 <Threshold, the delay is ignored; if t 1 >Threshold, the time window for the terminal to send the request and the cache size allocated by the terminal are calculated by the following method: ①计算服务商传输一个内容单元所需要的时间:Data_Transfer_Time,此时间由一个内容单元的大小和当前宽带环境下比特率来计算获取;① Calculate the time required by the service provider to transmit a content unit: Data_Transfer_Time, this time is calculated by the size of a content unit and the bit rate in the current broadband environment; ②若Available_Time为"unknown"或呈现信息CI中并无此属性,则不进行处理;若Available_Time为"anytime",则跳过此步骤进入③;若Available_Time为一个特定的UTC时间区间,则取最早的时间进行如下判断:② If Available_Time is "unknown" or there is no such attribute in the presentation information CI, no processing is performed; if Available_Time is "anytime", skip this step and enter ③; if Available_Time is a specific UTC time interval, take the earliest The time is judged as follows: Available_Time+t1+Data_Transfer_Time<begin(1)若条件(1)不成立,则表明待传送的媒体内容可获取时间太晚,在当前网络的延时下不能及时到达终端,故丢弃此部分内容;若条件(1)成立,则表明当前网络延时带来的不同步问题可由提前缓存来解决,进行下一步计算;Available_Time+t1+Data_Transfer_Time<begin(1) If the condition (1) is not true, it means that the media content to be transmitted can be acquired too late, and cannot reach the terminal in time under the delay of the current network, so this part of the content is discarded; if the condition (1) If established, it indicates that the asynchronous problem caused by the current network delay can be solved by pre-caching, and the next step of calculation is performed; ③计算终端请求提前发送媒体内容的时间区间:③ Calculate the time interval for the terminal to request to send the media content in advance: 请求最早时间:Earliest request time: Earliest_Request_Time=Available_Time-t1 (2)Earliest_Request_Time = Available_Time - t1 (2) 请求最晚时间:Request latest time: Latest_Request_Time=begin-2t1-Data_Transfer_Time (3)Latest_Request_Time=begin-2t1-Data_Transfer_Time (3) 实际请求的时间介于两个时间点之间:The actual requested time is between two points in time: Earliest_Request_Time<Actual_Request_Time<Latest_Request_Time (4)Earliest_Request_Time<Actual_Request_Time<Latest_Request_Time (4) ④终端选定一个请求时间后,则终端能够开始接受服务商数据的时间为:④ After the terminal selects a request time, the time when the terminal can start to accept data from the service provider is: Receive_Time=Actual_Request_Time+2t1 (5)Receive_Time = Actual_Request_Time + 2t1 (5) 终端到begin时间点之前接收数据的时间为:The time for the terminal to receive data before the begin time point is: Δt=begin-Receive_Time (6)Δt=begin-Receive_Time (6) ⑤如果呈现信息CI中给出了Asset_Size属性,则终端分配的缓存窗口大小为:⑤If the Asset_Size attribute is given in the presentation information CI, the size of the cache window allocated by the terminal is: Buffer_Size=min{Δt*bitrate,Asset_Size} (7)Buffer_Size=min{Δt*bitrate, Asset_Size} (7) 若果呈现信息CI中未给出Asset_Size属性,则终端分配的缓存窗口大小为:If the Asset_Size attribute is not given in the presentation information CI, the buffer window size allocated by the terminal is: Buffer_Size=Δt*bitrate (8)。Buffer_Size=Δt*bitrate (8).
CN201510064427.2A 2015-02-06 2015-02-06 Dynamic time window and caching mechanism under a kind of heterogeneous network transmission Active CN105991469B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201510064427.2A CN105991469B (en) 2015-02-06 2015-02-06 Dynamic time window and caching mechanism under a kind of heterogeneous network transmission
JP2017541330A JP6472892B2 (en) 2015-02-06 2016-02-02 Dynamic time window and cache mechanism in heterogeneous network transmission
CA3004650A CA3004650C (en) 2015-02-06 2016-02-02 Dynamic time window and buffer mechanism in heterogeneous network transmission
KR1020177024205A KR101941900B1 (en) 2015-02-06 2016-02-02 Heterogeneous network transfer method considering cache window size and cache time in dynamic time
US15/549,163 US10313738B2 (en) 2015-02-06 2016-02-02 Dynamic time window and cache mechanism under the heterogeneous network transmission
PCT/CN2016/073168 WO2016124130A1 (en) 2015-02-06 2016-02-02 Dynamic time window and buffer mechanism in heterogeneous network transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510064427.2A CN105991469B (en) 2015-02-06 2015-02-06 Dynamic time window and caching mechanism under a kind of heterogeneous network transmission

Publications (2)

Publication Number Publication Date
CN105991469A CN105991469A (en) 2016-10-05
CN105991469B true CN105991469B (en) 2018-01-19

Family

ID=57036141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510064427.2A Active CN105991469B (en) 2015-02-06 2015-02-06 Dynamic time window and caching mechanism under a kind of heterogeneous network transmission

Country Status (1)

Country Link
CN (1) CN105991469B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968950A (en) * 2016-10-20 2018-04-27 上海交通大学 A kind of multimedia resource synchronized push method based on heterogeneous network
CN108207012B (en) 2016-12-20 2021-10-29 中兴通讯股份有限公司 Flow control method, device, terminal and system
CN107302533A (en) * 2017-06-19 2017-10-27 网宿科技股份有限公司 Stream media live broadcasting method, system and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415148A (en) * 2008-11-26 2009-04-22 深圳华为通信技术有限公司 Method, system and user terminal for implementing value-added business
CN102984286A (en) * 2012-11-14 2013-03-20 上海牙木通讯技术有限公司 Method and device and system of domain name server (DNS) for buffering updating
WO2014120377A1 (en) * 2013-02-04 2014-08-07 Qualcomm Incorporated Determining available media data for network streaming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415148A (en) * 2008-11-26 2009-04-22 深圳华为通信技术有限公司 Method, system and user terminal for implementing value-added business
CN102984286A (en) * 2012-11-14 2013-03-20 上海牙木通讯技术有限公司 Method and device and system of domain name server (DNS) for buffering updating
WO2014120377A1 (en) * 2013-02-04 2014-08-07 Qualcomm Incorporated Determining available media data for network streaming

Also Published As

Publication number Publication date
CN105991469A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
JP6472892B2 (en) Dynamic time window and cache mechanism in heterogeneous network transmission
KR102059867B1 (en) Methods and apparatus for managing network resources used by multimedia streams in a virtual pipe
US8474001B2 (en) Near real time delivery of variable bit rate media streams
US20100083305A1 (en) Interface Device Having Multiple Software Clients to Facilitate Display of Targeted Information
JP2014534489A (en) Method for controlling bandwidth and corresponding equipment
US9813475B1 (en) Delivering a video stream
US11297381B2 (en) Method and apparatus of transmitting media data related information in multimedia transmission system
CN107251487B (en) Bandwidth distribution method and device in network and computer readable storage medium
US20170353747A1 (en) Quality of Media Synchronization
CN113905257A (en) Video rate switching method, device, electronic device and storage medium
CN105991469B (en) Dynamic time window and caching mechanism under a kind of heterogeneous network transmission
KR102202597B1 (en) A method and apparatus for providing a broadcast service based on a heterogenous network
CN106330751B (en) Resource dynamic request time window and terminal caching method under heterogeneous network transmission
Kim et al. An adaptive buffering method for practical HTTP live streaming on smart OTT STBs
CN106572062B (en) A dynamic resource request method under heterogeneous media transmission network
CN111200562A (en) Flow guiding method, static father node, edge node and CDN (content delivery network)
CN108632681B (en) Method, server and terminal for playing media stream
CN103826143B (en) Devices and methods therefor is provided based on the multicast video-on-demand service mixed with unicast
US10523409B2 (en) Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an MBMS service
KR102835503B1 (en) Cache System for Caching by Channel Groups, and Operation Method Thereof
CN106612453B (en) A method for dynamically providing resource availability time under heterogeneous media network transmission
Chicherov Analysis of methods to increase QOE parameters for video streaming services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant