CN111918134B - 修正视讯串流流量的方法、机顶盒及计算机可读存储介质 - Google Patents

修正视讯串流流量的方法、机顶盒及计算机可读存储介质 Download PDF

Info

Publication number
CN111918134B
CN111918134B CN201910459361.5A CN201910459361A CN111918134B CN 111918134 B CN111918134 B CN 111918134B CN 201910459361 A CN201910459361 A CN 201910459361A CN 111918134 B CN111918134 B CN 111918134B
Authority
CN
China
Prior art keywords
stream
streaming
buffer
video
bit rate
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
CN201910459361.5A
Other languages
English (en)
Other versions
CN111918134A (zh
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.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Nanning Fulian Fugui Precision Industrial Co Ltd
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 Nanning Fulian Fugui Precision Industrial Co Ltd filed Critical Nanning Fulian Fugui Precision Industrial Co Ltd
Publication of CN111918134A publication Critical patent/CN111918134A/zh
Application granted granted Critical
Publication of CN111918134B publication Critical patent/CN111918134B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2401Monitoring of the client buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种修正视讯串流流量的方法。产生多个比特率组合,根据所述比特率组合初始化流式缓冲区,初始化至少二个视讯串流的起始比特率,判断所述二个视讯串流的串流缓冲比例,当所述二个视讯串流的缓冲比例一样时,挑选画面较大视讯串流的来下载影像区块,以及当所述二个视讯串流的缓冲比例不同时,挑选缓冲比例较小的视讯串流来下载影像区块。本发明还提供一种使用所述修正视讯串流流量的方法的机顶盒及计算机可读存储介质,可根据用户行为及屏幕大小调配缓冲区,让重要的串流有更高的缓冲优先权,可更有效利用带宽。

Description

修正视讯串流流量的方法、机顶盒及计算机可读存储介质
技术领域
本发明涉及通信技术领域,尤其涉及一种修正视讯串流流量的方法、机顶盒及计算机可读存储介质。
背景技术
自适性串流(Adaptive Bitrate Streaming,ABS)技术提供了一套比特率(Bitrate)的挑选机制,让客户端(Client)依据目前可用带宽挑选最合适的影片。然而,所述技术仅用于一个客户端。当使用于多个客户端需要多串流的环境下,由于不同串流的间无法交流,导致带宽会被部分客户端占用,造成资源利用效率低落。
已知的一个改善方法(例如,A Method to Manage Multiple Adaptive BitrateStreaming on Client(MMABS))动态计算各个客户端的带宽速度,同时以显示区大小作为缓冲优先权的依据,并以分配带宽的方式来达到多串流的优化管理。这样的做法改善了传统的ABS技术的缺点,但仍然具有以下缺点;
1.每一个客户端的缓冲大小默认只有3个区域(Chunk),无法真正有效利用资源;
2.考虑多个客户端的带宽变因增加,造成Bitrate的异动更大,更难掌控;以及
3.仅靠画面显示窗口的大小来评判用户对影片的需求,不够精确。
发明内容
鉴于以上内容,有必要提供一种修正视讯串流流量的方法与使用所述方法的机顶盒,可根据用户行为及屏幕大小调配缓冲区,让重要的串流有更高的缓冲优先权,可更有效利用带宽。
本发明实施例提供一种修正视讯串流流量的方法,应用于一第一机顶盒中,包括下列步骤:根据收集到的用户行为信息与播放信息分析并产生多个比特率组合;根据所述比特率组合初始化至少一第一串流的一第一流式缓冲区的尺寸与一第二串流的一第二流式缓冲区的尺寸,其中所述第一串流缓冲的区尺寸小于所述第二流式缓冲区的尺寸;根据带宽历史记录与所述比特率组合初始化所述第一串流与所述第二串流的起始比特率;下载并储存所述第一串流的多个第一影像区块在所述第一流式缓冲区,下载并储存所述第二串流的多个第二影像区块在所述第二流式缓冲区,并开始在所述第一显示设备上播放所述第一影像区块与所述第二影像区块;判断所述第一串流与所述第二串流的串流缓冲比例;当所述第一串流与所述第二串流的缓冲比例一样时,挑选所述第二串流来下载后续的第二影像区块;以及当所述第一串流与所述第二串流的缓冲比例不同时,挑选缓冲比例较小的串流来下载后续的影像区块。
本发明实施例还提供一种机顶盒,其包括一内存、一处理器及储存在所述内存上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时执行以下步骤:根据收集到的用户行为信息与播放信息分析并产生多个比特率组合;根据所述比特率组合初始化至少一第一串流的一第一流式缓冲区的尺寸与一第二串流的一第二流式缓冲区的尺寸,其中所述第一串流缓冲的区尺寸小于所述第二流式缓冲区的尺寸;根据带宽历史记录与所述比特率组合初始化所述第一串流与所述第二串流的起始比特率;下载并储存所述第一串流的多个第一影像区块在所述第一流式缓冲区,下载并储存所述第二串流的多个第二影像区块在所述第二流式缓冲区,并开始在所述第一显示设备上播放所述第一影像区块与所述第二影像区块;判断所述第一串流与所述第二串流的串流缓冲比例;当所述第一串流与所述第二串流的缓冲比例一样时,挑选所述第二串流来下载后续的第二影像区块;以及当所述第一串流与所述第二串流的缓冲比例不同时,挑选缓冲比例较小的串流来下载后续的影像区块。
本发明实施例的修正视讯串流流量的方法与使用所述方法的机顶盒,可根据用户行为及屏幕大小调配缓冲区,让重要的串流有更高的缓冲优先权,可更有效利用带宽。
附图说明
图1是显示本发明实施例的修正视讯串流流量的***架构图。
图2是显示本发明实施例的修正视讯串流流量的方法的实施流程图。
图3是显示本发明实施例的不同时段观看影片所使用的平均带宽与在各时段不同影片类型所累积分钟数的示意图。
图4是显示本发明实施例的比特率组合的示意图。
图5是显示本发明实施例的修正视讯串流流量的方法步骤流程图。
主要元件符号说明
Figure GDA0003538842800000031
Figure GDA0003538842800000041
如下具体实施方式将结合上述附图进一步说明本发明。
具体实施方式
本发明实施例的修正视讯串流流量的方法与使用所述方法的机顶盒具有以下技术特征。记录用户带宽速度来决定串流初始的比特率。收集使用者各类型影片的观看时间,并据以分配不同的缓冲大小,让符合喜好的串流能够获得更高的优先缓冲。参考所有串流的比特率信息并且根据串流画面大小来计算出比特率切换组合。监控各串流的缓冲状况,并且根据串流画面大小实时决定下一个区块(Chunk)的下载。透过所有串流的缓冲状态和单一区块的下载速度来决定比特率的切换。此外,可利用点对点(Point-to-Point,P2P)的方式分享串流缓冲。
本发明实施例的修正视讯串流流量的方法与使用所述方法的机顶盒具有以下特色,包括:参考现有和过去信息决定各串流的初始比特率,解决一般串流播放时起始总是低比特率问题;考虑整体的串流需求,更有效利用带宽;监控各串流缓冲状态及下载缓冲速度来切换比特率的切换,串流稳定性高且不易中断;根据用户行为及画面大小调配缓冲区,让重要的串流有更高的缓冲优先权;以及透过P2P机制将串流缓冲数据发挥最大效益。
图1是显示本发明实施例的修正视讯串流流量的***架构图。
本发明实施例的修正视讯串流流量的***10包括一第一机顶盒100、一串流服务器(Streaming Server)200与一播放装置(例如,电视)300。第一机顶盒100又包括一视讯串流流量***(Video Stream Traffic System)110、一处理器120、一储存媒体130以及播放单元140与150视讯串流流量***110又包括一区块缓冲处理模块(Chunk BufferManagement Module)111、一播放单元信息收集模块(Player Information CollectionModule)112、一点对点传送模块(P2P Transmission Module)113与一用户行为收集模块(User Behavior Collection Module)114。在本发明实施例中,播放单元140与150可为爱奇艺、Netflix...等应用程序(Application Program,APP)或是其它类型的播放单元。
本发明实施例所称的模块或单元是完成一特定功能的计算机程序段。模块111-114与单元140-150被配置成由一个或多个处理器(本实施例为处理器120)执行,以完成本发明实施例。储存媒体130用于储存第一机顶盒100的程序代码。处理器120用于执行第一机顶盒100中存储的程序代码。
储存媒体130至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、随机访问内存(RAM)、静态随机访问内存(SRAM)、只读存储器(ROM)、电可擦除可程序设计只读存储器(EEPROM)、可程序设计只读存储器(PROM)、磁性内存、磁盘、光盘等。所述处理器530可以是中央处理器(CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于执行软件程序代码运算数据。
参考图2,本发明实施例的验证封包传送路径的流程,一开始在初始化时,播放单元信息收集模块112搜集播放单元140与播放单元150链接的网址(Uniform ResourceLocator,URL)纪录、所提供的比特率以及目前视频大小,并且将收集到的播放信息传送给区块缓冲处理模块111。
用户行为收集模块114收集用户在观看影片时的行为信息(210),包括在不同时段观看影片所使用的平均带宽与在各时段不同影片类型所累积分钟数,例如,在一个月内。各时段的平均带宽是用来决定初始化策略,而累积分钟数会影响后续的缓冲策略。参考图3,例如,将24小时分成8个时段,分别为T0、T3、...、T21,各时段的平均带宽如表1所示,而每一个时段累积的影片时间如表2所示。用户行为收集模块114将所述用户行为信息传送给区块缓冲处理模块111。
区块缓冲处理模块111根据取得的所述用户行为信息与所述播放信息分析比特率组合(220)。举例来说,在同一个播放装置(例如,电视300)上播放播放单元140(例如,爱奇艺)的第一视讯源(S1)与播放单元150(例如,Netflix)的第二视讯源(S2)的影像,其中,第一视讯源(S1)的影像以较小分辨率(画面尺寸)来播放,第二视讯源(S2)的影像以较大分辨率(画面尺寸)来播放。
在本实施例中,第一视讯源(S1)可用的比特率(BS1)包括900K、2M和4M,其影像分辨率设定最大为480P(BMAX 2M),而第二视讯源(S2)可用的比特率(BS2)包括1.2M、3M和5M,其影像分辨率设定最大为1080P(BMAX 6M)。因此,当同时播放第一视讯源(S1)和第二视讯源(S2),可用的比特率的组合共有9种,如图4的表3所示。将第一视讯源(S1)中超过2M的比特率与第二视讯源(S2)中超过6M的比特率的组合删掉,剩下来的比特率组合有6个,然后为每一个比特率组合设定播放的优先权。如图4所示。由于第二视讯源(S2)的影像设定以较大分辨率(画面尺寸)来播放,因此以第二视讯源(S2)的比特率为依据来设定播放的优先权,故可得到如图4中表3的优先权顺序。也可以根据其他条件来设定播放的比特率组合的优先权,例如,用户自定义,或者由***参考不同参数来设定。
区块缓冲处理模块111根据分析后的比特率组合进行初始化配置(230),为第一视讯源(S1)与第二视讯源(S2)的每一个时段配置适当的缓冲区尺寸。例如,为时段T18设定优先权2的缓冲区尺寸,即,第一视讯源(S1)的流式缓冲区尺寸为900K且第二视讯源(S2)的流式缓冲区尺寸为5M。此外,区块缓冲处理模块111为每种类型的影片配置不同的缓冲尺寸(Buffer Size),最小单位为6个区块(CMin=6),最大单位为60个区块(CMax=60),每一个区块的时间长度预设为10秒钟。另外,设定目前缓冲等级。若目前缓冲的影片长度达到缓冲区尺寸的70%~100%,则表示为高缓冲等级(BLHigh),若达到30%~70%,则表示为中缓冲等级(BLMid),若达到0%~30%,则表示为低缓冲等级(BLLow)。
初始化完成后,区块缓冲处理模块111根据串流策略开始播放影片(240),包括下述策略。
(1)挑选第一视讯源(S1)与第二视讯源(S2)中缓冲比例较差的视讯源下载区块。举例来说,第一视讯源(S1)的缓冲区尺寸设定为36个区块,目前已下载了12个区块,则其缓冲比例表示为14/36(CCurrent/CMax)=39%,因此是中缓冲等级(BLMid)。第二视讯源(S2)的缓冲区尺寸设定为12个区块,目前已下载了3个区块,则其缓冲比例表示为3/12(CCurrent/CMax)=25%,因此是低缓冲等级(BLLow)。由上可知,第二视讯源(S2)的缓冲比例较差,因此选择从第二视讯源(S2)下载区块。
(2)当缓冲比例差不多时,优先挑选画面较大的串流。第一视讯源(S1)的影像分辨率设定最大为480P,第二视讯源(S2)影像分辨率设定最大为1080P,第二视讯源(S2)的画面尺寸大于第一视讯源(S1),故选择从第二视讯源(S2)下载区块。
(3)若第一视讯源(S1)与第二视讯源(S2)的缓冲比例都处于低的状态(BLLow),表示网络拥塞,则调降二者的比特率。
(4)若第一视讯源(S1)与第二视讯源(S2)的缓冲比例都处于高的状态(BLHigh),表示网络顺畅,则调升二者的比特率。
(5)若第一视讯源(S1)与第二视讯源(S2)的缓冲比例都处于中的状态(BLMid),二者的比特率不变动。
此外,愈常观看类型的影片与画面愈大的影片,缓冲的优先权就愈高。
在播放影片时,区块缓冲处理模块111监控串流带宽的状况(250):记录第一视讯源(S1)与第二视讯源(S2)中下载的第一视讯源(S1)与第二视讯源(S2)一个区域的时间;参考一个区块的时间长度以做为缓冲门坎,一般一个区块预设是10秒;倘若第一视讯源(S1)与第二视讯源(S2)的串流缓冲比例皆处于高的状态(BLHigh),且每一个区块的下载时间皆低于10秒,则调升所述第一视讯源(S1)与所述第二视讯源(S2)的比特率;以及第一视讯源(S1)与第二视讯源(S2)的串流缓冲比例皆处于低的状态(BLLow),且每一个区块的下载时间皆多于10秒,则调降所述第一视讯源(S1)与所述第二视讯源(S2)的比特率。
点对点传输模块113在其缓冲队列(未显示)有多个暂存区块时,可以P2P的方式将所述暂存区块传送给第二机顶盒400,使得所述暂存区块可在另一个显丕装置上播放(260)。暂存区块的数量大于一默认值时,点对点传输模块113才会后动P2P传输的操作。点对点传输模块113包含多个缓冲队列(未显示),每一个缓冲队列对应一种影片类型。
当影片播放完,区块缓冲处理模块111将第一视讯源(S1)与第二视讯源(S2)的缓冲区中的区块都释放掉(270)。
图5是显示本发明实施例的修正视讯串流流量的方法步骤流程图,应用于一第一机顶盒。
步骤S501,根据收集的所述用户行为信息与所述播放信息分析共产生比特率组合。
步骤S502,根据分析后的比特率组合初始化至少第一视讯源(第一串流)的第一流式缓冲区的尺寸与第二视讯源(第二串流)的第二流式缓冲区的尺寸,其中所述第一流式缓冲区的尺寸小于所述第二流式缓冲区的尺寸。
步骤S503,根据带宽历史记录与所述分析后的比特率组合初始化所述第一视讯源与所述第二视讯源的起始比特率,下载并储存所述第一视讯源的多个第一影像区块在所述第一流式缓冲区,下载并储存所述第二视讯源的多个第二影像区块在所述第二流式缓冲区,并开始在与所述第一机顶盒连接的所述第一显示设备上播放所述第一影像区块与所述第二影像区块。
步骤S504,判断所述第一视讯源与所述第二视讯源的串流缓冲比例。
步骤S505,当所述第一视讯源与所述第二视讯源的串流缓冲比例一样时(A),挑选画面较大的串流下载,即,挑选所述第二视讯源来下载影像区块。
步骤S506,当所述第一视讯源与所述第二视讯源的串流缓冲比例不同时(B),挑选串流缓冲比例较小的视讯源来下载影像区块。
步骤S507,判断所述第一视讯源与所述第二视讯源的串流缓冲比例与每一个影像区块的下载时间。倘若所述第一视讯源(S1)与所述第二视讯源(S2)的串流缓冲比例相同(BLMid),则回到步骤S504(C)。
步骤S508,倘若所述第一视讯源(S1)与所述第二视讯源(S2)的串流缓冲比例皆处于高的状态(BLHigh)(A),且每一个区块的下载时间皆低于10秒,则调升所述第一视讯源(S1)与所述第二视讯源(S2)的比特率。
步骤S509,倘若所述第一视讯源(S1)与所述第二视讯源(S2)的串流缓冲比例皆处于低的状态(BLLow)(B),且每一个区块的下载时间皆多于10秒,则调降所述第一视讯源(S1)与所述第二视讯源(S2)的比特率。
步骤S510,判断是否停止播放影片。若不停止播放影片,则回到步骤S504(C)。
步骤S511,若停止播放影片,接着判断是否要分享目前储存在所述第一流式缓冲区的第一影像区块与目前储存在所述第二流式缓冲区内的第二影像区块。
步骤S512,若要分享所述第一流式缓冲区与所述第二流式缓冲区内的区块,则将所述区块经由P2P的方式传送到一第二机顶盒,以在与所述第二机顶盒连接的一第二显示设备上播放。
步骤S513,若不分享所述第一流式缓冲区与所述第二流式缓冲区内的区块,或是已将所述第一流式缓冲区与所述第二流式缓冲区内的区块都传送到所述第二机顶盒,则释放所述第一流式缓冲区与所述第二流式缓冲区以清空所述第一流式缓冲区与所述第二流式缓冲区。
对本领域的普通技术人员来说,可以根据本发明实施例提供的技术方案和技术构思结合生成的实际需要做出其他相应的改变或调整,而这些改变和调整都应属于本发明权利要求的保护范围。

Claims (5)

1.一种修正视讯串流流量的方法,应用于一第一机顶盒中,其特征在于,包括;
根据收集到的用户行为信息与播放信息分析并产生多个比特率组合;
根据所述比特率组合初始化至少一第一串流的一第一流式缓冲区的尺寸与一第二串流的一第二流式缓冲区的尺寸,其中所述第一流式 缓冲区的尺寸小于所述第二流式缓冲区的尺寸;
根据带宽历史记录与所述比特率组合初始化所述第一串流与所述第二串流的起始比特率;
下载并储存所述第一串流的多个第一影像区块在所述第一流式缓冲区,下载并储存所述第二串流的多个第二影像区块在所述第二流式缓冲区,并开始在第一显示设备上播放所述第一影像区块与所述第二影像区块;
判断所述第一串流与所述第二串流的串流缓冲比例;
当所述第一串流与所述第二串流的缓冲比例一样时,挑选所述第二串流来下载后续的第二影像区块;
当所述第一串流与所述第二串流的缓冲比例不同时,挑选缓冲比例较小的串流来下载后续的影像区块;
判断所述第一串流与所述第二串流的缓冲比例与每一个所述第一影像区块及与每一个所述第二影像区块的下载时间;
若所述第一串流与所述第二串流的串流缓冲比例皆处于高的状态,且每一个所述第一影像区块及与每一个所述第二影像区块的下载时间皆低于一默认值,则调升所述第一串流与所述第二串流的比特率;以及
若所述第一串流与所述第二串流的串流缓冲比例皆处于低的状态,且每一个所述第一影像区块及与每一个所述第二影像区块的下载时间皆高于所述默认值,则调降所述第一串流与所述第二串流的比特率。
2.如权利要求1所述的修正视讯串流流量的方法,其特征在于,还包括:
判断是否停止播放影片;
若停止播放影片,判断是否要分享目前储存在所述第一流式缓冲区的第一影像区块与目前储存在所述第二流式缓冲区内的第二影像区块;以及
若要分享所述目前储存的第一影像区块与第二影像区块,则将所述所述目前储存的第一影像区块与第二影像区块经由点对点的方式传送到一第二机顶盒,以在与所述第二机顶盒连接的一第二显示设备上播放。
3.一种机顶盒,其包括一内存、一处理器及储存在所述内存上并可在所述处理器上运行的计算机程序,其特征在于,所述计算机程序被所述处理器执行时执行以下步骤:
根据收集到的用户行为信息与播放信息分析并产生多个比特率组合;
根据所述比特率组合初始化至少一第一串流的一第一流式缓冲区的尺寸与一第二串流的一第二流式缓冲区的尺寸,其中所述第一流式 缓冲区的尺寸小于所述第二流式缓冲区的尺寸;
根据带宽历史记录与所述比特率组合初始化所述第一串流与所述第二串流的起始比特率;
下载并储存所述第一串流的多个第一影像区块在所述第一流式缓冲区,下载并储存所述第二串流的多个第二影像区块在所述第二流式缓冲区,并开始在第一显示设备上播放所述第一影像区块与所述第二影像区块;
判断所述第一串流与所述第二串流的串流缓冲比例;
当所述第一串流与所述第二串流的缓冲比例一样时,挑选所述第二串流来下载后续的第二影像区块;
当所述第一串流与所述第二串流的缓冲比例不同时,挑选缓冲比例较小的串流来下载后续的影像区块;
判断所述第一串流与所述第二串流的缓冲比例与每一个所述第一影像区块及与每一个所述第二影像区块的下载时间;
若所述第一串流与所述第二串流的串流缓冲比例皆处于高的状态,且每一个所述第一影像区块及与每一个所述第二影像区块的下载时间皆低于一默认值,则调升所述第一串流与所述第二串流的比特率;以及
若所述第一串流与所述第二串流的串流缓冲比例皆处于低的状态,且每一个所述第一影像区块及与每一个所述第二影像区块的下载时间皆高于所述默认值,则调降所述第一串流与所述第二串流的比特率。
4.如权利要求3所述的机顶盒,其特征在于,所述计算机程序被所述处理器执行时还执行以下步骤:
判断是否停止播放影片;
若停止播放影片,判断是否要分享目前储存在所述第一流式缓冲区的第一影像区块与目前储存在所述第二流式缓冲区内的第二影像区块;以及
若要分享所述目前储存的第一影像区块与第二影像区块,则将所述所述目前储存的第一影像区块与第二影像区块经由点对点的方式传送到另一机顶盒,以在与所述另一机顶盒连接的另一显示设备上播放。
5.一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被执行时实现如权利要求1至2中任一项所述的修正视讯串流流量的方法的步骤。
CN201910459361.5A 2019-05-08 2019-05-29 修正视讯串流流量的方法、机顶盒及计算机可读存储介质 Active CN111918134B (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/406,675 US10924786B2 (en) 2019-05-08 2019-05-08 Method for shaping video streams and set-up box using the method
US16/406,675 2019-05-08

Publications (2)

Publication Number Publication Date
CN111918134A CN111918134A (zh) 2020-11-10
CN111918134B true CN111918134B (zh) 2022-06-21

Family

ID=73047588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910459361.5A Active CN111918134B (zh) 2019-05-08 2019-05-29 修正视讯串流流量的方法、机顶盒及计算机可读存储介质

Country Status (3)

Country Link
US (1) US10924786B2 (zh)
CN (1) CN111918134B (zh)
TW (1) TWI723394B (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11438670B2 (en) * 2020-11-20 2022-09-06 At&T Intellectual Property I, L.P. Video complexity detection for network traffic management
CN114189753A (zh) * 2021-11-26 2022-03-15 安徽创世科技股份有限公司 一种视频片选的分享方法、装置
US11974012B1 (en) * 2023-11-03 2024-04-30 AVTech Select LLC Modifying audio and video content based on user input

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226476A (zh) * 2007-01-17 2008-07-23 华硕电脑股份有限公司 虚拟摄影机的视频处理方法与***
CN101771865A (zh) * 2009-01-07 2010-07-07 财团法人工业技术研究院 影音控制响应及频宽调适方法、服务器、存储介质
CN105141985A (zh) * 2015-07-30 2015-12-09 世纪龙信息网络有限责任公司 影视流流畅播放***及其播放方法
CN106385620A (zh) * 2016-10-25 2017-02-08 浙江红苹果电子有限公司 一种基于流媒体的数据平滑输出方法
CN106817615A (zh) * 2015-12-02 2017-06-09 南宁富桂精密工业有限公司 多路信号处理方法及应用该方法的流媒体装置
JP2019068187A (ja) * 2017-09-29 2019-04-25 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、及びプログラム

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7536723B1 (en) 2004-02-11 2009-05-19 Airtight Networks, Inc. Automated method and system for monitoring local area computer networks for unauthorized wireless access
US20080098123A1 (en) * 2006-10-24 2008-04-24 Microsoft Corporation Hybrid Peer-to-Peer Streaming with Server Assistance
US8190760B2 (en) * 2008-01-15 2012-05-29 Echostar Advanced Technologies L.L.C. System and method of managing multiple video players
WO2010030950A2 (en) 2008-09-12 2010-03-18 University Of Utah Research Foundation Method and system for detecting unauthorized wireless access points using clock skews
US8843656B2 (en) * 2012-06-12 2014-09-23 Cisco Technology, Inc. System and method for preventing overestimation of available bandwidth in adaptive bitrate streaming clients
RU2668549C2 (ru) * 2013-04-19 2018-10-02 Сони Корпорейшн Устройство сервера, устройство клиент, способ распределения содержания и компьютерная программа
US9769536B2 (en) * 2014-12-26 2017-09-19 System73, Inc. Method and system for adaptive virtual broadcasting of digital content
US10271112B2 (en) * 2015-03-26 2019-04-23 Carnegie Mellon University System and method for dynamic adaptive video streaming using model predictive control
US9826262B2 (en) * 2015-09-09 2017-11-21 Ericsson Ab Fast channel change in a multicast adaptive bitrate (MABR) streaming network using multicast repeat segment bursts in a shared progressive ABR download pipe
TWI578770B (zh) * 2015-12-02 2017-04-11 鴻海精密工業股份有限公司 多路訊號處理方法及應用該方法的流媒體裝置
GB2548789B (en) * 2016-02-15 2021-10-13 V Nova Int Ltd Dynamically adaptive bitrate streaming
US10506237B1 (en) * 2016-05-27 2019-12-10 Google Llc Methods and devices for dynamic adaptation of encoding bitrate for video streaming
GB2552944B (en) * 2016-08-09 2022-07-27 V Nova Int Ltd Adaptive content delivery network
EP3539295B1 (en) * 2016-11-14 2021-01-27 Telefonaktiebolaget LM Ericsson (PUBL) Initial bitrate selection for a video delivery session
US10348796B2 (en) * 2016-12-09 2019-07-09 At&T Intellectual Property I, L.P. Adaptive video streaming over preference-aware multipath
CN109937575B (zh) * 2016-12-30 2022-04-01 谷歌有限责任公司 中断经不可侵犯清单协议提供的流传输内容的***和方法
US10554559B2 (en) * 2017-01-25 2020-02-04 Telefonaktiebolaget Lm Ericsson (Publ) Bandwidth management of multicast adaptive bitrate (MABR) data streams in an IPTV-over-DOCSIS system
US10601946B2 (en) * 2017-02-23 2020-03-24 The Directv Group, Inc. Edge cache segment prefetching
TWI647954B (zh) * 2018-01-04 2019-01-11 中華電信股份有限公司 動態調整串流播放的系統及方法
US10728630B2 (en) * 2018-07-24 2020-07-28 At&T Intellectual Property I, L.P. Adaptive bitrate streaming techniques
US10757389B2 (en) * 2018-10-01 2020-08-25 Telefonaktiebolaget Lm Ericsson (Publ) Client optimization for providing quality control in 360° immersive video during pause
US10735744B2 (en) * 2018-10-22 2020-08-04 At&T Intellectual Property I, L.P. Adaptive bitrate streaming techniques
US10757220B2 (en) * 2018-12-11 2020-08-25 At&T Intellectual Property I, L.P. Estimating video quality of experience metrics from encrypted network traffic

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226476A (zh) * 2007-01-17 2008-07-23 华硕电脑股份有限公司 虚拟摄影机的视频处理方法与***
CN101771865A (zh) * 2009-01-07 2010-07-07 财团法人工业技术研究院 影音控制响应及频宽调适方法、服务器、存储介质
CN105141985A (zh) * 2015-07-30 2015-12-09 世纪龙信息网络有限责任公司 影视流流畅播放***及其播放方法
CN106817615A (zh) * 2015-12-02 2017-06-09 南宁富桂精密工业有限公司 多路信号处理方法及应用该方法的流媒体装置
CN106385620A (zh) * 2016-10-25 2017-02-08 浙江红苹果电子有限公司 一种基于流媒体的数据平滑输出方法
JP2019068187A (ja) * 2017-09-29 2019-04-25 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、及びプログラム

Also Published As

Publication number Publication date
TWI723394B (zh) 2021-04-01
US20200359068A1 (en) 2020-11-12
TW202042560A (zh) 2020-11-16
US10924786B2 (en) 2021-02-16
CN111918134A (zh) 2020-11-10

Similar Documents

Publication Publication Date Title
US10972772B2 (en) Variable bit video streams for adaptive streaming
US10419787B2 (en) Dynamic programming across multiple streams
EP3172864B1 (en) Management of heterogeneous client device groups
CN111918134B (zh) 修正视讯串流流量的方法、机顶盒及计算机可读存储介质
US9680889B2 (en) System and method of managing multiple video players
US9306994B2 (en) Stabilization of adaptive streaming video clients through rate limiting
US8689267B2 (en) Variable bit video streams for adaptive streaming
US9503491B2 (en) Playback stall avoidance in adaptive media streaming
KR101242338B1 (ko) 멀티 스트림 승인 스케쥴링
US9819715B2 (en) Client side control of adaptive streaming
JP7496022B2 (ja) クライアント、サーバ、受信方法及び送信方法
CN115834556B (zh) 数据传输方法、***、设备、存储介质及程序产品
US20220256213A1 (en) Systems, methods, and devices for network control
CN114245196A (zh) 一种录屏推流方法、装置、电子设备及存储介质
US10609111B2 (en) Client-driven, ABR flow rate shaping
KR101837637B1 (ko) 클라이언트 측 ack 조정 기반 적응 스트리밍 방법 및 장치
CN116546276A (zh) 链路带宽估计方法、装置、设备、存储介质以及程序产品
US10135896B1 (en) Systems and methods providing metadata for media streaming
KR102531647B1 (ko) 환경인지 기반 abp 성능 개선을 위한 방법, 컴퓨터 시스템, 및 컴퓨터 프로그램
US20230199267A1 (en) Method and apparatus for processing adaptive multi-view streaming
Xiao Improving Resource Utilization for Internet Mobile Streaming Services
CN112640373A (zh) 改善的拥塞响应

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 530033 plant B of Foxconn Nanning science and Technology Park, No. 51 Tongle Avenue, Jiangnan District, Nanning City, Guangxi Zhuang Autonomous Region

Applicant after: Nanning Fulian Fugui Precision Industry Co.,Ltd.

Address before: 530007 the Guangxi Zhuang Autonomous Region Nanning hi tech Zone headquarters road 18, China ASEAN enterprise headquarters three phase 5 factory building

Applicant before: NANNING FUGUI PRECISION INDUSTRIAL Co.,Ltd.

GR01 Patent grant
GR01 Patent grant