WO2009043249A1 - Method and device for identifying streaming media video frame borders - Google Patents

Method and device for identifying streaming media video frame borders Download PDF

Info

Publication number
WO2009043249A1
WO2009043249A1 PCT/CN2008/072140 CN2008072140W WO2009043249A1 WO 2009043249 A1 WO2009043249 A1 WO 2009043249A1 CN 2008072140 W CN2008072140 W CN 2008072140W WO 2009043249 A1 WO2009043249 A1 WO 2009043249A1
Authority
WO
WIPO (PCT)
Prior art keywords
sdu
video frame
current
boundary
previous
Prior art date
Application number
PCT/CN2008/072140
Other languages
French (fr)
Chinese (zh)
Inventor
Bin Li
Jiantao Ye
Zhiyong Chen
Original Assignee
Huawei Technologies 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009043249A1 publication Critical patent/WO2009043249A1/en

Links

Classifications

    • 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/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64707Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless for transferring content from a first network to a second network, e.g. between IP and wireless

Abstract

A method for identifying streaming media video frame borders involves the steps of: receiving a server data unit (SDU) data packet of a streaming media video frame, deciding a method to compare the size of SDUs according to a subpacking method which is adopted when the stream media video frame is subpacked, comparing size of the current received SDU and that of the target SDU according to the decided comparing method, and deciding whether the current SDU is the border point of the video frame according to the comparing result. And the embodiment of the present invention discloses a device for identifying streaming media video frame borders.

Description

一种识别流媒体视频帧边界的方法和装置 本申请要求于 2007 年 9 月 28 日提交中国专利局、 申请号为 200710046814.9、 发明名称为"一种识别流媒体视频帧边界的方法和装置"的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。  A method and apparatus for identifying a boundary of a streaming media video frame. The present application claims to be filed on September 28, 2007, the Chinese Patent Office, Application No. 200710046814.9, entitled "A Method and Apparatus for Identifying Streaming Video Frame Boundaries" Priority of Chinese Patent Application, the entire contents of which is incorporated herein by reference.
技术领域 本发明涉及网络通信技术领域,尤其涉及一种识别流媒体视频帧边界的方 法和装置。 TECHNICAL FIELD The present invention relates to the field of network communication technologies, and in particular, to a method and apparatus for identifying a boundary of a streaming media video frame.
背景技术 Background technique
流媒体视频业务是指终端一边下载一边播放多媒体数据的一种应用。其特 点是用户无需等待多媒体内容全部下载完, 就可以观看, 因此用户不需要等待 很长的下载时间, 只需要待下载的数据緩存到一定量后就可以播放, 然后在播 放过程中, 新的数据会依次緩存到终端, 以保持播放的连续性。  The streaming video service refers to an application in which the terminal plays multimedia data while downloading. The feature is that the user can watch without waiting for the multimedia content to be completely downloaded, so the user does not need to wait for a long download time, and only needs to cache the data to be downloaded after a certain amount of playback, and then during the playback, the new The data is sequentially cached to the terminal to maintain the continuity of playback.
如图 1所示, 常用的媒体流视频业务中承载音频、视频数据的协议是实时 传输协议(Real time Transport Protocol, RTP ) , 传输视频数据的方法通常为, 传输前将音频或视频流分割成若干个 RTP包, 同一个帧分割得到的 RTP包的 时间戳相同, 以便在接收侧能够对视频帧进行组合。对于使用无线网络传输视 频帧时,在发送前还需要将 RTP包映射到无线接入网的服务数据单元(Service Data Unit, SDU )数据包, 然后在空口传输。  As shown in FIG. 1 , a protocol for carrying audio and video data in a commonly used media stream video service is a Real Time Transport Protocol (RTP). The method for transmitting video data is usually to divide an audio or video stream into a transmission before transmission. A plurality of RTP packets have the same time stamp of the RTP packets obtained by the same frame segmentation, so that the video frames can be combined on the receiving side. When transmitting a video frame using a wireless network, the RTP packet needs to be mapped to a Service Data Unit (SDU) packet of the radio access network before being transmitted, and then transmitted in an air interface.
釆用无线网络发送视频帧时 ,在视频源和接收端都是以帧为单位来统计视 频数据, 在无线网络侧则是以 SDU为单位来统计。  When a video frame is sent by the wireless network, the video data is counted in units of frames at both the video source and the receiving end, and is counted in units of SDUs on the wireless network side.
发明内容 Summary of the invention
本发明实施例的目的在于提供一种识别流媒体视频帧边界的方法和装置, 使得网络侧能够通过对视频帧边界的识别, 进而能够以帧为单位统计视频数 据, 以保证视频数据的传输质量。  The object of the embodiments of the present invention is to provide a method and a device for identifying a boundary of a video media frame, so that the network side can identify the video frame boundary, and then the video data can be counted in units of frames to ensure the transmission quality of the video data. .
本发明实施例提供了一种识别流媒体视频帧边界的方法, 包括:  An embodiment of the present invention provides a method for identifying a boundary of a streaming media video frame, including:
接收流媒体视频帧的服务数据单元 SDU数据包;  Receiving a service data unit SDU data packet of a streaming media video frame;
按照发送前对所述流媒体视频帧分包时釆用的分包方法确定比较 SDU大 小的方法; 按照所确定的比较方法将当前收到的 SDU与目标 SDU比较大小,根据比 较结果得到所述当前 SDU是否为视频帧的边界点。 Determining a method for comparing SDU sizes according to a packetization method used when packetizing the streaming video frame before transmission; The currently received SDU is compared with the target SDU according to the determined comparison method, and according to the comparison result, whether the current SDU is a boundary point of the video frame is obtained.
基于上述技术方案,本发明实施例还公开了一种用于识别流媒体视频帧边 界的装置, 包括:  Based on the foregoing technical solution, an embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame, including:
接收单元, 用于接收流媒体视频帧的服务数据单元 SDU数据包; 确定单元,用于按照发送前对所述流媒体视频帧分包时釆用的分包方法确 定比较 SDU大小的方法;  a receiving unit, configured to receive a service data unit SDU data packet of the streaming media video frame, and a determining unit, configured to determine a method for comparing the SDU size according to a packetizing method used when the streaming media video frame is packetized before sending;
比较单元, 用于按照所述确定单元所确定的比较方法将当前收到的 SDU 与目标 SDU比较大小,根据所述比较结果得到所述当前 SDU是否为视频帧的 边界点。  And a comparison unit, configured to compare the currently received SDU with the target SDU according to the comparison method determined by the determining unit, and obtain, according to the comparison result, whether the current SDU is a boundary point of the video frame.
与背景技术相比, 本发明各实施例所揭示的技术方案, 具有以下优点: 本发明在无线网络侧能够通过按照发送前对所述流媒体视频帧分包时釆 用的分包方法, 确定比较 SDU大小的方法, 然后, 根据所述比较方法通过比 较 SDU的大小来识别视频帧的边界点, 从而使得无线网络能够以帧为单位统 评估, 以尽可能地保障视频数据的传输质量。  Compared with the prior art, the technical solutions disclosed in the embodiments of the present invention have the following advantages: The present invention can be determined on the wireless network side by using a packetization method used when packetizing the streaming media video frame before transmission. A method of comparing SDU sizes, and then, according to the comparison method, the boundary points of the video frames are identified by comparing the sizes of the SDUs, so that the wireless network can be evaluated in units of frames to ensure the transmission quality of the video data as much as possible.
附图说明 图 1为现有技术视频帧的分包与承载示意图; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of packetization and bearer of a prior art video frame;
图 2为本发明的一种方法实施例的流程示意框图;  2 is a schematic block diagram of a method embodiment of the present invention;
图 3为本发明的另一种方法实施例的流程示意框图;  3 is a schematic block diagram of another embodiment of a method of the present invention;
图 4为本发明的一种装置实施例的结构示意框图;  4 is a schematic block diagram showing the structure of an apparatus embodiment of the present invention;
图 5为本发明的另一种装置实施例的结构示意框图;  Figure 5 is a schematic block diagram showing the structure of another apparatus of the present invention;
图 6为本发明的另一种装置实施例的结构示意框图;  6 is a schematic block diagram showing the structure of another apparatus of the present invention;
图 7为本发明的另一种装置实施例的结构示意框图;  7 is a schematic block diagram showing the structure of another apparatus according to the present invention;
图 8为本发明的另一种装置实施例的结构示意框图。  FIG. 8 is a schematic block diagram showing the structure of another apparatus of the present invention.
具体实施方式 在进行本发明创造过程中, 发明人发现上述背景技术中至少存在如下问 题: 由于在无线网络侧对视频数据釆用 SDU为单位来统计, 而在接收端釆用 的是以帧为单位进行统计, 因此, 无线网络侧无法确切得知在接收端的应用层 对视频数据的接收情况, 因此, 即使接收端没有接收到完整的视频帧, 无线网 络侧也不能及时得知, 进一步的, 无线网络侧无法对传输的视频数据进行传输 质量评估, 无法尽可能地保障视频数据的传输质量。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the process of creating the present invention, the inventors have found that at least the following problems exist in the above background art: since the video data is counted in units of SDUs on the wireless network side, and the frame is used at the receiving end. The unit performs statistics. Therefore, the wireless network side cannot know exactly the application layer at the receiving end. The reception of the video data, therefore, even if the receiving end does not receive the complete video frame, the wireless network side cannot know in time. Further, the wireless network side cannot perform the transmission quality evaluation on the transmitted video data, and cannot Guarantee the transmission quality of video data.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
通常将视频帧分成若干个 RTP 包, 可釆用平均分包的方法或者固定分包 的方法。 其中, 所述平均分包方法, 是将同一视频帧划分成大小平均的 RTP 包, 映射到无线网络中, 使属于同一视频帧中的所有 SDU大小完全相等, 即 SDUt = SDUl+^ 或者同一视频帧中大小不等的任意相邻两个 SDU 的大小只相 差一个字节, 而且前面的 SDU小于后面的 SDU, 即^^^ ^ " - 所述固定分包的方法, 是将同一个视频帧分成大小完全相等的 RTP 包, 如果不能均分, 则将均分后的余数作为最后一个 RTP 包, 这样映射在无线网 络中, 则同一视频帧中除了最后一个 SDU夕卜, 其余的 SDU大小都相等, 即 SD U、 = SD Ua = SD U" = 醫 ,而该视频帧中的最后一个 SDU应小于等于所述 其余 SDU的值, 即 SD U« 皿 。 The video frame is usually divided into several RTP packets, and the average packet method or the fixed packet method can be used. The average packetization method divides the same video frame into RTP packets of average size and maps them to the wireless network, so that all SDUs belonging to the same video frame are completely equal in size, that is, SDU t = SDU l+ ^ or the same The size of any two adjacent SDUs of different sizes in the video frame differs by only one byte, and the previous SDU is smaller than the latter SDU, that is, ^^^ ^ " - the fixed packet method is the same video The frame is divided into RTP packets of exactly equal size. If it is not evenly divided, the remainder is divided into the last RTP packet, so that it is mapped in the wireless network, except for the last SDU in the same video frame, the remaining SDU size. All are equal, ie SD U , = SD Ua = SD U " = medical, and the last SDU in the video frame should be less than or equal to the value of the remaining SDU, ie SD U « dish.
需要说明的是, 为了保证视频帧的传输质量, 因此一个视频帧要尽可能地 划分较少的 SDU, 即要求每个 SDU应该尽可能的大, 因此, 可以为视频帧预 先设置一个最大 SDU (即 SDUmax ), 当视频帧很大需要平均分包时, 划分得到 的所有 SDU的大小与所述最大 SDU之间的差值都不会太大。通常, 可以将每 个实际 SDU的大小与规定的 SDU最大值之间的差值称为该 SDU的余量, 将 处于同一视频帧中的所有 SDU的余量累加后得到的值称为所述视频帧的累积 余量。 对于釆用平均分包的方法, 一般情况下, 一个视频帧的累计余量不会超 过该视频帧中最小 SDU的大小。 It should be noted that in order to ensure the transmission quality of video frames, a video frame should be divided into fewer SDUs as much as possible, that is, each SDU should be as large as possible. Therefore, a maximum SDU can be preset for the video frame ( That is, SDU max ), when the video frame is large and requires average packetization, the difference between the size of all the SDUs obtained by the division and the maximum SDU is not too large. Generally, the difference between the size of each actual SDU and the specified SDU maximum value may be referred to as the margin of the SDU, and the value obtained by accumulating the remaining amounts of all SDUs in the same video frame is referred to as the The cumulative margin of the video frame. For the method of using average packetization, in general, the accumulated margin of a video frame does not exceed the size of the smallest SDU in the video frame.
由于 RTP与无线网络中的 SDU具有明确的映射关系, 因此, 同一视频帧 划分得到的 RTP包之间的大小关系和其映射到无线网络中的 SDU的大小关系 一致, 因此, 对于无线网络侧, 同样可根据不同分包方式所具有的不同特点, 利用同一帧中的 SDU的大小规则, 识别出视频帧的边界点。 基于上述分包方法,本发明实施例提供的一种识别流媒体视频帧边界的方 法, 包括: 接收流媒体视频帧的服务数据单元 SDU数据包; 按照发送前对所 述流媒体视频帧分包时釆用的分包方法确定比较 SDU大小的方法; 按照所确 定的比较方法将当前收到的 SDU与目标 SDU比较大小,根据比较结果得到所 述当前 SDU是否为视频帧的边界点。其中, 所述目标 SDU根据比较方法的不 同,可以是当前 SDU的前一个 SDU,也可以是当前视频帧中收到的最小 SDU, 还可以是当前视频帧中收到的最大 SDU。 Since the RTP has an explicit mapping relationship with the SDU in the wireless network, the size relationship between the RTP packets obtained by dividing the same video frame is consistent with the size relationship of the SDUs mapped to the wireless network. Therefore, for the wireless network side, Similarly, according to different characteristics of different packetization methods, the boundary rule of the video frame is identified by using the size rule of the SDU in the same frame. The method for identifying a boundary of a streaming media video frame provided by the embodiment of the present invention includes: receiving a service data unit SDU data packet of a streaming media video frame; and packetizing the streaming video frame according to the sending The method for comparing the size of the SDU is determined by the method of sub-packaging, and the SDU is compared with the target SDU according to the determined comparison method, and the current SDU is obtained as a boundary point of the video frame according to the comparison result. The target SDU may be the previous SDU of the current SDU, the minimum SDU received in the current video frame, or the largest SDU received in the current video frame, according to the comparison method.
下面结合附图以釆用平均分包和固定分包两种不同的分包方式为例,来说 明本发明实施例是如何根据不同的分包方法来识别视频帧的边界点的。  In the following, taking the two different packetization modes, the average packetization and the fixed packetization, as an example, how the embodiment of the present invention identifies the boundary points of the video frame according to different packetization methods.
参考图 2所示, 图 2为本发明的一种方法实施例的流程示意框图, 该方法 适用于釆用平均分包的方法, 通过比较划分后获得的各 SDU的大小, 识别视 频帧的边界点。 所述方法包括:  Referring to FIG. 2, FIG. 2 is a schematic block diagram of a method for an embodiment of the present invention. The method is applicable to the method of using an average packet to compare the size of each SDU obtained after the division, and identify the boundary of the video frame. point. The method includes:
S201 : 无线网络接收由高层发来的 SDU;  S201: The wireless network receives the SDU sent by the upper layer;
S202: 判断所接收的 SDU是否是视频 SDU, 若是, 则执行 S203; 否则, 执行 S208。  S202: Determine whether the received SDU is a video SDU, and if yes, execute S203; otherwise, execute S208.
S203: 无线网络侧统计所述 SDU的大小, 为方便描述, 本实施例将所接 收的当前 SDU称作 SD , 将所述 SDU 々前一个 SDU称为 SDU^ , 将当前 视频帧中收到数值最小的 SDU称为 SDUmm。 由于本实施例是釆用平均分包划 分的 SDU, 而平均分包的特点是, 同一视频帧中后面的 SDU比前面的 SDU 大 1个字节, 或者同一视频帧中的所有 SDU大小相等, 且一般情况下, 一个 视频帧的累计余量不会超过该视频帧中最小 SDUmm的大小。 因此, 进一步的, 本实施例中比较 SDU大小的方法可以按照下述步骤进行。 S203: The size of the SDU is calculated by the wireless network side. For convenience of description, the current SDU is referred to as SD, and the previous SDU is referred to as SDU^, and the current video frame is received in the current video frame. The smallest SDU is called SDU mm . Since the present embodiment is an SDU divided by an average packet, the average packet is characterized in that the latter SDU in the same video frame is one byte larger than the previous SDU, or all SDUs in the same video frame are equal in size. In general, the cumulative margin of a video frame does not exceed the minimum SDU mm size of the video frame. Therefore, further, the method for comparing the SDU size in this embodiment can be performed according to the following steps.
S204: 所述无线网络侧判断所述 80111是否小于 SDUn , 即相邻的两个 SDU,其中后面的一个 SDU是否小于前面的一个 SDU,若小于,则执行 S205; 否则, 执行 S206。 S204: The wireless network side determines whether the 8011 1 is smaller than SDUn, that is, two adjacent SDUs, wherein the next SDU is smaller than the previous one SDU, and if it is smaller, S205 is performed; otherwise, S206 is performed.
S205: 认定所述 80111为当前视频帧的起点, 而所述 SDU^为前一个视频 帧的结束点。 S205: The 8011 1 is determined to be the starting point of the current video frame, and the SDU^ is the ending point of the previous video frame.
S206: 所述无线网络侧判断所述 SD 与所述 SDUmm的差值是否大于 1 个字节, 即是否 S /i〉SDUmm + l , 若是, 则返回至所述 S205; 否则, 可知所 述 80111要么等于 SDUmm, 要么比所述 SDUmm大一个字节, 进一步的, 此时 可以执行 S207。 与预设的最大 SDU的差值总和是否大于所述 SDUmm, 若是, 则执行 S205; 否 则, 执行 S208。 S206: The wireless network side determines whether the difference between the SD and the SDU mm is greater than 1 byte, that is, whether S / i > SDU mm + l, and if yes, returns to the S205; otherwise, it is known 8011 1 is equal to SDU mm or one byte larger than the SDU mm . Further, S207 can be performed at this time. Whether the sum of the differences from the preset maximum SDU is greater than the SDU mm , and if so, executing S205; otherwise, executing S208.
S208:认定所述 SD 不是当前视频帧的边界点,此时,返回至所述 S201。 此外, 上述实施例中所述 SDUmm除了可以为当前视频帧中收到的数值最 小的 SDU, 还可以为预先设置一个数值最小的 SDU。 S208: It is determined that the SD is not a boundary point of the current video frame, and at this time, return to the S201. In addition, the SDU mm in the foregoing embodiment may be an SDU having the smallest value in advance, in addition to the SDU having the smallest value received in the current video frame.
上述实施例中, 以釆用平均分包方法为例进行说明, 同一视频帧中大小不 等的任意两个 SDU之间的差值都不会超过一个字节, 而且同一视频帧中后面 的 SDU要不小于前面的 SDU, 或者同一视频帧中所有 SDU大小相等, 因此, 无线网络侧通过比较接收的 SDU与前面收到的 SDU的大小,并结合上述同一 视频帧中釆用平均分包的各 SDU的大小规则,来识别当前 SDU是否为视频帧 的边界点。 从而使得无线网络能够以帧为单位来统计流媒体业务中的视频数 据, 并在识别出视频帧的边界点的基础上, 可以在无线侧进行视频传输质量评 估, 了解用户的体验质量( Quality of Experience , QoE )。 同时, 当发现视频 质量出现下降趋势的时候,还可以在无线网络中釆取相应的业务质量(Quality of Service, QoS )保障措施。  In the above embodiment, the average packetization method is taken as an example. The difference between any two SDUs of different sizes in the same video frame does not exceed one byte, and the subsequent SDUs in the same video frame. If the SDU is not smaller than the previous SDU, or all SDUs in the same video frame are equal in size, the wireless network side compares the received SDU with the size of the previously received SDU, and combines the average packets in the same video frame. The size rule of the SDU to identify whether the current SDU is the boundary point of the video frame. Therefore, the wireless network can count the video data in the streaming media service in units of frames, and on the basis of identifying the boundary point of the video frame, can perform video transmission quality evaluation on the wireless side to understand the quality of the user's experience (Quality of Experience , QoE ). At the same time, when the video quality is degraded, the corresponding Quality of Service (QoS) protection measures can be taken in the wireless network.
参考图 3所示, 图 3为本发明的另一种方法实施例的流程示意框图, 该方 法可适用于釆用固定分包的方法分得的 SDU, 通过比较各 SDU的大小, 识别 视频帧的边界点。 所述方法包括:  Referring to FIG. 3, FIG. 3 is a schematic block diagram of another embodiment of a method according to the present invention. The method is applicable to an SDU obtained by using a fixed packet method, and the video frame is identified by comparing the sizes of the SDUs. The boundary point. The method includes:
S301 : 无线网络接收由高层发来的 SDU;  S301: The wireless network receives the SDU sent by the upper layer;
S302: 判断所接收的 SDU是否是视频 SDU, 若是, 则执行 S303; 否则, 执行 S306。  S302: Determine whether the received SDU is a video SDU, and if yes, execute S303; otherwise, execute S306.
S303: 无线网络侧统计所述 SDU的大小, 为方便描述, 本实施例将所接 收的当前 SDU称作 SD , 将固定分包时预置的最大 SDU称为 SDUmax。 由于 本实施例以固定分包划分的 SDU为例进行说明, 而固定分包的特点是, 同一 视频帧中划分的 SDU大小要么相等; 要么除了最后一个 SDU外, 其余 SDU 的大小都等于预置 SDUmax, 而最后一个 SDU的大小要小于 SDUmax。 因此, 本实施例中比较 SDU大小的方法按照下述步骤进行比较。 S303: The size of the SDU is counted by the wireless network side. For convenience of description, the current SDU is referred to as SD, and the maximum SDU preset when the fixed packet is fixed is referred to as SDU max . For example, the SDU is divided into fixed sub-packets as an example, and the fixed sub-packets are characterized in that the SDUs are equally equal in size in the same video frame; or the size of the remaining SDUs is equal to the preset except for the last SDU. SDU max , and the size of the last SDU is smaller than SDU max . therefore, The method of comparing the SDU sizes in this embodiment is compared according to the following steps.
S304: 所述无线网络侧判断所述 80111是否小于 SDUmax, 若小于所述S304: The wireless network side determines whether the 8011 1 is smaller than the SDU max , if the value is smaller than the
SDUmax, 则执行 S305; 否则, 返回至所述 S306。 SDU max , then execute S305; otherwise, return to the S306.
S305: 认定所述 SD 为当前视频帧的结束点, 而所述 SDU1+ 1为下一个视 频帧的起点。 S305: Determine that the SD is an end point of a current video frame, and the SDU 1+1 is a starting point of a next video frame.
S306:认定所述 SD 不是当前视频帧的边界点,此时,返回至所述 S301。 上述实施例中, 由于釆用固定分包方法, 使同一视频帧中除了最后一个 SDU外, 其余的 SDU大小都等于最大 SDU, 而且所述最后一个 SDU小于等 于其余 SDU。 因此, 无线网络侧通过比较接收的 SDU与所述最大 SDU的大 小, 结合上述同一视频帧中釆用固定分包的各 SDU的大小规则, 来识别当前 SDU是否为视频帧的边界点。 从而使得无线网络能够以帧为单位来统计流媒 体业务中的视频数据, 并在识别出视频帧的边界的基础上, 可以在无线网络侧 进行视频传输质量评估, 了解用户的 QoE。 同时, 当发现视频质量出现下降趋 势的时候, 还可以在无线网络釆取相应的 QoS保障措施。  S306: It is determined that the SD is not a boundary point of the current video frame, and at this time, return to the S301. In the above embodiment, the remaining SDUs are equal to the maximum SDU except for the last SDU in the same video frame, and the last SDU is smaller than the remaining SDUs. Therefore, the wireless network side compares the size of the received SDU with the maximum SDU, and combines the size rule of each SDU in the same video frame to identify whether the current SDU is the boundary point of the video frame. Therefore, the wireless network can count the video data in the streaming media service in units of frames, and on the basis of identifying the boundary of the video frame, the video transmission quality can be evaluated on the wireless network side to understand the QoE of the user. At the same time, when the video quality is found to be declining, the corresponding QoS guarantees can also be taken on the wireless network.
上述两个实施例中所述的无线网络可以为 UMTS(Universal Mobile The wireless network described in the above two embodiments may be UMTS (Universal Mobile)
Telecommunication System, 通用 移动通信 系 统 )、 TD-SCDMA(Time Division- Synchronous Code Division Multiple Access, 时分同步码分多址接入)、 CDMA(Code division multiple access,码分多址 GPRS(General packet radio service , 通用分组无线服务)、 或者 EDGE ( Enhanced data rates for GSM evolution, GSM演进的增强型数据速率)等, 在此不作限定。 Telecommunication System, TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), CDMA (Code Division Multiple Access), General Packet Radio Service (GPRS) The general packet radio service, or the EDGE (Enhanced Data Rates for GSM Evolution), and the like are not limited herein.
与上述方法实施例相关的,本发明实施例还公开了一种用于识别流媒体视 频帧边界的装置, 所述装置通常可以位于无线网络侧, 能够通过对当前收到的 SDU与当前视频帧中在所述当前 SDU之前收到的 SDU进行大小比较, 判断 所述 SDU是否为视频帧的边界点, 从而识别出不同的视频帧。  Related to the foregoing method embodiments, the embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame, where the apparatus may be located on a wireless network side, and can pass the currently received SDU and the current video frame. The SDUs received before the current SDU are compared in size, and it is determined whether the SDU is a boundary point of a video frame, thereby identifying different video frames.
参考图 4所示, 图 4为本发明一种装置实施例的结构示意框图, 所述装置 包括: 接收单元 401、 比较单元 402、 确定单元 403 , 其中,  Referring to FIG. 4, FIG. 4 is a schematic structural block diagram of an apparatus embodiment of the present invention, where the apparatus includes: a receiving unit 401, a comparing unit 402, and a determining unit 403, where
所述接收单元 401 , 用于接收流媒体视频帧的 SDU;  The receiving unit 401 is configured to receive an SDU of a streaming media video frame.
所述确定单元 403 , 用于按照发送前对所述流媒体视频帧分包时釆用的分 包方法确定比较 SDU大小的方法; 进一步的, 所述分包方法可以包括平均分包方法和固定分包方法; 所述比较单元 402, 用于按照所述确定单元 403所确定的比较方法将选定 的被比较的 SDU与所述接收单元 401中当前收到的 SDU比较大小,也即按照 所述确定单元 403所确定的比较方法将当前收到的 SDU与目标 SDU比较大 小, 根据所述比较结果得到所述当前 SDU是否为视频帧的边界点; The determining unit 403 is configured to determine a method for comparing SDU sizes according to a packetization method used when packetizing the streaming media video frame before sending; Further, the packetization method may include an average packetization method and a fixed packetization method; the comparison unit 402 is configured to compare the selected compared SDUs with the comparison method determined by the determining unit 403. The size of the SDU currently received by the receiving unit 401 is compared, that is, the currently received SDU is compared with the target SDU according to the comparison method determined by the determining unit 403, and the current SDU is obtained as a video according to the comparison result. The boundary point of the frame;
其中, 可按照所述确定单元 403所确定的比较方法选定被比较的 SDU, 例如, 对于釆用平均分包方法得到的 SDU, 可选择在所述当前 SDU的前一个 SDU作为被比较的 SDU; 对于釆用固定分包方法得到的 SDU, 可选择分包时 预置的最大 SDU作为被比较的 SDU。  The compared SDU may be selected according to the comparison method determined by the determining unit 403. For example, for the SDU obtained by the average packetization method, the previous SDU of the current SDU may be selected as the compared SDU. For the SDU obtained by the fixed packet method, the maximum SDU preset at the time of packetization can be selected as the compared SDU.
上述实施例中,由于所述确定单元 403能够根据对视频帧分包时所釆用的 不同分包方法, 确定特定的比较 SDU的大小的方法, 并由所述比较单元 402 按照所确定的方法对 SDU进行大小比较,从而识别收到的当前 SDU是否为视 频帧的边界点, 该装置能够通过对所有收到的 SDU进行判断, 从而识别出每 个视频帧的边界,使得无线网络能够以帧为单位来统计流媒体业务中的视频数 据, 并在识别出视频帧的边界的基础上, 可以在无线网络侧进行视频传输质量 评估, 了解用户的体验感受 QoE。  In the above embodiment, the determining unit 403 can determine a specific method for comparing the size of the SDU according to different packetization methods used when packetizing the video frame, and the comparing unit 402 follows the determined method. The SDU is compared in size to identify whether the received current SDU is a boundary point of the video frame, and the device can identify all the received SDUs to identify the boundary of each video frame, so that the wireless network can The video data in the streaming media service is collected for the unit, and on the basis of identifying the boundary of the video frame, the video transmission quality evaluation can be performed on the wireless network side to understand the user experience experience QoE.
进一步的, 本发明实施例还公开了一种用于识别流媒体视频帧边界的装 置, 参考图 5所示, 图 5为本发明的另一种装置实施例的结构示意框图, 所述 装置在上述实施例的基础上,能够将釆用平均分包方法对媒体流视频帧进行分 包得到 SDU, 在接收端通过比较所述 SDU之间的大小, 来确定视频帧边界。 所述装置包括接收单元 501、 比较单元 502、 和确定单元 503 , 所述比较单元 502包括第一判断单元 5021 , 其中,  Further, an embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame. Referring to FIG. 5, FIG. 5 is a schematic structural block diagram of another apparatus embodiment of the present invention. Based on the foregoing embodiment, the media stream video frame can be packetized by the average packetization method to obtain an SDU, and the video frame boundary is determined at the receiving end by comparing the sizes between the SDUs. The device includes a receiving unit 501, a comparing unit 502, and a determining unit 503, where the comparing unit 502 includes a first determining unit 5021, where
所述接收单元 501 , 用于接收流媒体视频帧的 SDU;  The receiving unit 501 is configured to receive an SDU of a streaming media video frame.
所述确定单元 503 , 用于按照发送前对所述流媒体视频帧分包时釆用的分 包方法确定比较 SDU大小的方法;  The determining unit 503 is configured to determine a method for comparing SDU sizes according to a packet method used when packetizing the streaming media video frame before sending;
在本实施例中所述分包方法为釆用平均分包的方法, 因此, 所述确定单元 503根据釆用平均分包分得到的 SDU的大小特点, 即同一视频帧中大小不等 的任意两个 SDU之间只相差一个字节, 而且后面的 SDU大于前面的 SDU, 或者同一视频帧中的所有 SDU大小相等, 来确定比较 SDU的大小的方法,在 本实施例中, 选择所述比较单元 502中的第一判断单元 5021对釆用平均分包 方法得到的 SDU进行比较判断。 In the embodiment, the packetization method is a method for averaging packetization. Therefore, the determining unit 503 is configured according to the size of the SDU obtained by using the average packet division, that is, the size of the same video frame is not equal. The method of comparing the size of the SDU is determined by only one byte difference between the two SDUs, and the latter SDU is larger than the previous SDU, or all SDUs in the same video frame are equal in size. In this embodiment, the first determining unit 5021 in the comparing unit 502 is selected to perform comparison judgment on the SDU obtained by the average packetizing method.
所述第一判断单元 5021 , 用于判断所述接收单元 501中收到的当前 SDU 是否小于前一个收到的 SDU, 若是, 则判断得到所述当前 SDU为当前视频帧 的起点, 所述当前 SDU的前一个 SDU为前一个视频帧的结束点。  The first determining unit 5021 is configured to determine whether the current SDU received by the receiving unit 501 is smaller than the previous received SDU, and if yes, determine that the current SDU is the starting point of the current video frame, where the current The previous SDU of the SDU is the end point of the previous video frame.
此外,在上述图 5所示实施例的基础上, 本发明实施例还公开了一种用于 识别流媒体视频帧边界的装置, 该装置可在当所述第一判断单元 5021判断得 到所述当前 SDU大于或等于前一个收到的 SDU时, 对所述当前 SDU做进一 步判断, 如图 6所示, 所述装置中的比较单元 502还可包括:  In addition, on the basis of the foregoing embodiment shown in FIG. 5, the embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame, and the apparatus may be determined by the first determining unit 5021. When the current SDU is greater than or equal to the previous received SDU, the current SDU is further determined. As shown in FIG. 6, the comparing unit 502 in the device may further include:
第二判断单元 5022, 用于当所述第一判断单元 5021的判断结果为当前收 到的 SDU为不小于前一个收到的 SDU时, 判断所述当前 SDU与当前视频帧 中收到的最小 SDU的差值是否大于一个字节,若是,则判断得到所述当前 SDU 为当前视频帧的起点, 所述前一个 SDU为前一个视频帧的结束点。  The second determining unit 5022 is configured to determine, when the first determining unit 5021 determines that the currently received SDU is not smaller than the previous received SDU, the minimum received in the current SDU and the current video frame. Whether the difference of the SDU is greater than one byte, and if so, determining that the current SDU is the starting point of the current video frame, and the previous SDU is the ending point of the previous video frame.
进一步的, 在上述图 6所示实施例的基础上, 本发明实施例还公开了一种 用于识别流媒体视频帧边界的装置, 所述装置在当所述第二判断单元 5022判 断得到否结果时, 即所述当前 SDU等于所述最小 SDU、或者比所述最小 SDU 大一个字节时, 对所述当前 SDU做进一步判断, 如图 7所示, 所述装置中的 比较单元 502还包括:  Further, on the basis of the foregoing embodiment shown in FIG. 6, the embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame, and the apparatus is determined by the second determining unit 5022. As a result, when the current SDU is equal to the minimum SDU or one byte larger than the minimum SDU, the current SDU is further determined. As shown in FIG. 7, the comparing unit 502 in the device further Includes:
第三判断单元 5023 , 用于当所述第二判断单元 5022的判断结果为所述当 前 SDU与当前视频帧中收到的最小 SDU的差值不大于一个字节时,判断当前 视频帧中包括所述当前 SDU在内的所有收到的 SDU与规定的最大 SDU的差 值总和是否大于所述当前视频帧中收到的最小 SDU, 若是, 则判断得到所述 当前 SDU为当前视频帧的起点, 而前一个 SDU为前一个视频帧的结束点; 否 则, 指令所述接收单元 501执行所述接收流媒体视频帧的 SDU功能。  The third determining unit 5023 is configured to: when the determination result of the second determining unit 5022 is that the difference between the current SDU and the minimum SDU received in the current video frame is not more than one byte, determine that the current video frame is included. Whether the sum of the difference between all the received SDUs and the specified maximum SDU is greater than the minimum SDU received in the current video frame, and if so, determining that the current SDU is the starting point of the current video frame. And the previous SDU is the end point of the previous video frame; otherwise, the receiving unit 501 is instructed to perform the SDU function of receiving the streaming video frame.
上述实施例按照平均分包方法得到的 SDU的特点, 通过选择所述比较单 元 502中的第一判断单元 5021、 第二判断单元 5022 以及第三判断单元 5023 将收到的 SDU与之前收到的 SDU进行比较, 从而确定所述 SDU是否为视频 帧的边界点, 该装置能够通过对所有收到的 SDU进行判断, 从而识别出每个 视频帧的边界, 使得无线网络能够以帧为单位来统计流媒体业务中的视频数 据, 并在识别出视频帧的边界的基础上, 能够在无线网络侧进行视频传输质量 评估。 In the foregoing embodiment, according to the characteristics of the SDU obtained by the average packetization method, the received SDU is received by the first determining unit 5021, the second determining unit 5022, and the third determining unit 5023 in the comparing unit 502. The SDU compares to determine whether the SDU is a boundary point of a video frame, and the device can identify the boundaries of each video frame by judging all received SDUs, so that the wireless network can be counted in units of frames. Number of videos in streaming media business According to the fact, on the basis of identifying the boundary of the video frame, the video transmission quality evaluation can be performed on the wireless network side.
与此同时, 本发明实施例还公开了一种用于识别流媒体视频帧边界的装 置, 参考图 8所示, 为本发明的另一种装置实施例的结构框图, 所述装置在上 述图 4所示实施例的基础上,能够将釆用固定分包方法对媒体流视频帧进行分 包得到 SDU, 在接收端通过比较所述 SDU之间的大小, 来确定视频帧边界。 所述装置包括接收单元 801、 比较单元 802、 和确定单元 803 , 所述比较单元 802包括第四判断单元 8021 , 其中,  At the same time, the embodiment of the present invention further discloses an apparatus for identifying a boundary of a streaming media video frame. Referring to FIG. 8 , it is a structural block diagram of another apparatus embodiment of the present invention. On the basis of the illustrated embodiment, the media stream video frame can be packetized by the fixed packet method to obtain an SDU, and the video frame boundary is determined at the receiving end by comparing the sizes between the SDUs. The device includes a receiving unit 801, a comparing unit 802, and a determining unit 803, where the comparing unit 802 includes a fourth determining unit 8021, where
所述接收单元 801 , 用于接收流媒体视频帧的 SDU;  The receiving unit 801 is configured to receive an SDU of a streaming media video frame.
所述确定单元 803 , 用于按照发送前对所述流媒体视频帧分包时釆用的分 包方法确定比较 SDU大小的方法;  The determining unit 803 is configured to determine a method for comparing SDU sizes according to a packet method used when packetizing the streaming media video frame before sending.
在本实施例中所述分包方法为固定分包, 釆用固定分包分得到的 SDU的 大小特点是, 在同一视频帧中, 所有的 SDU大小都相等, 或者除了最后一个 SDU外, 其余所有 SDU的大小都相同, 而且最后一个 SDU小于所述其余的 SDU。 本实施例中所述确定单元 803根据上述特点, 来确定比较 SDU的大小 的方法。 在本实施例中, 选择所述比较单元 802中的第四判断单元 8021对釆 用固定分包方法得到的 SDU进行比较判断。  In this embodiment, the packetization method is a fixed packet, and the size of the SDU obtained by using the fixed packet is that all SDUs are equal in size or in addition to the last SDU in the same video frame. All SDUs are the same size and the last SDU is smaller than the remaining SDUs. The determining unit 803 in the embodiment determines a method of comparing the sizes of the SDUs according to the above features. In this embodiment, the fourth judging unit 8021 in the comparing unit 802 is selected to perform comparison judgment on the SDU obtained by the fixed subcontracting method.
所述第四判断单元 8021 , 用于判断所述接收单元 801中收到的当前 SDU 是否小于预置的最大 SDU, 若是, 则判断得到所述当前 SDU为当前视频帧的 结束点, 而下一个 SDU为下一个视频帧的起点; 否则,指令所述接收单元 801 执行所述接收流媒体视频帧的 SDU功能。  The fourth determining unit 8021 is configured to determine whether the current SDU received by the receiving unit 801 is smaller than a preset maximum SDU, and if yes, determine that the current SDU is the end point of the current video frame, and the next The SDU is the starting point of the next video frame; otherwise, the receiving unit 801 is instructed to perform the SDU function of receiving the streaming video frame.
上述实施例按照固定分包方法得到的 SDU的特点, 通过选择所述比较单 元 802中的第四判断单元 8021将收到的 SDU与预置的最大 SDU进行比较, 从而确定所述 SDU是否为视频帧的边界点, 该装置能够通过对所有收到的 SDU进行判断, 从而识别出每个视频帧的边界, 使得无线网络能够以帧为单 位来统计流媒体业务中的视频数据, 并在识别出视频帧的边界的基础上, 能够 在无线网络侧进行视频传输质量评估。  The foregoing embodiment compares the received SDU with the preset maximum SDU by selecting the fourth determining unit 8021 in the comparing unit 802 according to the characteristics of the SDU obtained by the fixed packet method, thereby determining whether the SDU is a video. The boundary point of the frame, the device can identify the boundaries of each video frame by judging all received SDUs, so that the wireless network can count the video data in the streaming media service in units of frames, and identify Based on the boundaries of the video frames, video transmission quality assessment can be performed on the wireless network side.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的 单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也 可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目 的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。 The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may be or It may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,但很 多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上 或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机 软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指 令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例或者实施例的某些部分所述的方法。  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 general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。任何在 本发明的精神和原则之内所作的修改、等同替换和改进等, 均应包含在本发明 的保护范围之内。  The embodiments of the present invention described above are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种识别流媒体视频帧边界的方法, 其特征在于, 包括:  A method for identifying a boundary of a streaming media video frame, comprising:
接收流媒体视频帧的服务数据单元 SDU数据包;  Receiving a service data unit SDU data packet of a streaming media video frame;
按照发送前对所述流媒体视频帧分包时釆用的分包方法确定比较 SDU大 小的方法;  Determining a method for comparing SDU sizes according to a packetization method used when packetizing the streaming video frame before transmission;
按照所确定的比较方法将当前收到的 SDU与目标 SDU比较大小,根据比 较结果得到所述当前 SDU是否为视频帧的边界点。  The currently received SDU is compared with the target SDU according to the determined comparison method, and according to the comparison result, whether the current SDU is a boundary point of the video frame is obtained.
2、 如权利要求 1所述的识别流媒体视频帧边界的方法, 其特征在于, 在 釆用平均分包方法划分视频帧时, 所述根据比较结果得到所述当前 SDU是否 为视频帧的边界点的方法包括:  The method for identifying a boundary of a video media frame according to claim 1, wherein, when the video frame is divided by the average packet method, the comparing, according to the comparison result, whether the current SDU is a boundary of a video frame Point methods include:
当所述当前收到的 SDU小于前一个收到的 SDU, 则所述当前 SDU为视 频帧的起点, 所述当前 SDU的前一个 SDU为前一个视频帧的结束点。  When the currently received SDU is smaller than the previous received SDU, the current SDU is the starting point of the video frame, and the previous SDU of the current SDU is the ending point of the previous video frame.
3、 如权利要求 1所述的识别流媒体视频帧边界的方法, 其特征在于, 在 釆用平均分包方法划分视频帧时, 当所述当前 SDU 大于或等于所述前一个 SDU时, 所述根据比较结果得到所述当前 SDU是否为视频帧的边界点的方法 包括:  The method for identifying a boundary of a streaming media video frame according to claim 1, wherein when the video frame is divided by the average packet method, when the current SDU is greater than or equal to the previous SDU, The method for determining whether the current SDU is a boundary point of a video frame according to the comparison result includes:
判断所述当前 SDU与当前视频帧中收到的最小 SDU的差值是否大于一个 字节,若是,则判断得到所述当前 SDU为当前视频帧的起点,所述前一个 SDU 为前一个视频帧的结束点。  Determining whether the difference between the current SDU and the smallest SDU received in the current video frame is greater than one byte, and if yes, determining that the current SDU is the starting point of the current video frame, and the previous SDU is the previous video frame. The end point.
4、 如权利要求 1所述的识别流媒体视频帧边界的方法, 其特征在于, 在 釆用平均分包方法划分视频帧时, 当所述当前 SDU等于所述当前视频帧中收 到的最小 SDU, 或者比所述当前视频帧中收到的最小 SDU大一个字节时, 所 述根据比较结果得到所述当前 SDU是否为视频帧的边界点的方法包括:  4. The method for identifying a boundary of a streaming media video frame according to claim 1, wherein when the video frame is divided by the average packet method, the current SDU is equal to the minimum received in the current video frame. When the SDU is one byte larger than the minimum SDU received in the current video frame, the method for determining whether the current SDU is a boundary point of the video frame according to the comparison result includes:
判断当前视频帧中包括所述当前 SDU在内的所有收到的 SDU与规定的最大 SDU的差值总和是否大于所述当前视频帧中收到的最小 SDU,若是,则判断得到 所述当前 SDU为当前视频帧的起点,而前面一个 SDU为上一个视频帧的结束点。  Determining whether a sum of differences between all received SDUs including the current SDU and the specified maximum SDU in the current video frame is greater than a minimum SDU received in the current video frame, and if yes, determining the current SDU It is the starting point of the current video frame, and the previous SDU is the ending point of the previous video frame.
5、 如权利要求 1所述的识别流媒体视频帧边界的方法, 其特征在于, 在 釆用固定分包方法划分视频帧时, 所述根据比较结果得到所述当前 SDU是否 为视频帧的边界点的方法包括: 若当前收到的 SDU小于预置的最大 SDU, 则所述当前 SDU为当前视频 帧的结束点, 而下一个 SDU为下一个视频帧的起点。 The method for identifying a boundary of a video media frame according to claim 1, wherein, when the video frame is divided by the fixed packet method, the comparing, according to the comparison result, whether the current SDU is a boundary of the video frame Point methods include: If the currently received SDU is smaller than the preset maximum SDU, the current SDU is the end point of the current video frame, and the next SDU is the starting point of the next video frame.
6、 一种用于识别流媒体视频帧边界的装置, 其特征在于, 包括: 接收单元, 用于接收流媒体视频帧的服务数据单元 SDU数据包; 确定单元,用于按照发送前对所述流媒体视频帧分包时釆用的分包方法确 定比较 SDU大小的方法;  A device for identifying a boundary of a streaming media video frame, comprising: a receiving unit, a service data unit SDU data packet for receiving a streaming media video frame; and a determining unit, configured to: A method of comparing the size of the SDU by using a packetization method for streaming video frame segmentation;
比较单元, 用于按照所述确定单元所确定的比较方法将当前收到的 SDU 与目标 SDU比较大小,根据所述比较结果得到所述当前 SDU是否为视频帧的 边界点。  And a comparison unit, configured to compare the currently received SDU with the target SDU according to the comparison method determined by the determining unit, and obtain, according to the comparison result, whether the current SDU is a boundary point of the video frame.
7、如权利要求 6所述的用于识别流媒体视频帧边界的装置, 其特征在于, 在釆用平均分包方法划分视频帧时, 所述比较单元包括:  The apparatus for identifying a boundary of a streaming media video frame according to claim 6, wherein when the video frame is divided by the average packetization method, the comparing unit comprises:
第一判断单元, 用于判断当前收到的 SDU是否小于前一个收到的 SDU, 若是, 则判断得到所述当前 SDU为当前视频帧的起点, 所述当前 SDU的前一 个 SDU为前一个视频帧的结束点。  The first determining unit is configured to determine whether the currently received SDU is smaller than the previous received SDU, and if yes, determine that the current SDU is the starting point of the current video frame, and the previous SDU of the current SDU is the previous video. The end point of the frame.
8、如权利要求 7所述的用于识别流媒体视频帧边界的装置, 其特征在于, 所述比较单元还包括:  The device for identifying a boundary of a streaming video frame according to claim 7, wherein the comparing unit further comprises:
第二判断单元, 用于当所述第一判断单元的判断结果为当前收到的 SDU 为不小于前一个收到的 SDU时,判断所述当前 SDU与当前视频帧中收到的最 小 SDU的差值是否大于一个字节, 若是, 则判断得到所述当前 SDU为当前视 频帧的起点, 所述前一个 SDU为前一个视频帧的结束点。  a second determining unit, configured to determine, when the first determining unit is that the currently received SDU is not smaller than the previous received SDU, determining the current SDU and the minimum SDU received in the current video frame. Whether the difference is greater than one byte, and if so, determining that the current SDU is the starting point of the current video frame, and the previous SDU is the ending point of the previous video frame.
9、如权利要求 8所述的用于识别流媒体视频帧边界的装置, 其特征在于, 所述比较单元还包括:  The apparatus for identifying a boundary of a streaming media video frame according to claim 8, wherein the comparing unit further comprises:
第三判断单元, 用于当所述第二判断单元的判断结果为所述当前 SDU与 当前视频帧中收到的最小 SDU的差值不大于一个字节时, 判断当前视频帧中 包括所述当前 SDU在内的所有收到的 SDU与规定的最大 SDU的差值总和是 否大于所述当前视频帧中收到的最小 SDU, 若是, 则判断得到所述当前 SDU 为当前视频帧的起点, 而前一个 SDU为前一个视频帧的结束点。  a third determining unit, configured to: when the judgment result of the second determining unit is that the difference between the current SDU and the minimum SDU received in the current video frame is not more than one byte, determine that the current video frame includes the Whether the sum of the difference between the received SDU and the specified maximum SDU is greater than the minimum SDU received in the current video frame, and if so, determining that the current SDU is the starting point of the current video frame, and The previous SDU is the end point of the previous video frame.
10、如权利要求 6所述的用于识别流媒体视频帧边界的装置,其特征在于, 在釆用固定分包方法划分视频帧时, 所述比较单元包括: 第四判断单元, 用于判断当前收到的 SDU是否小于预置的最大 SDU, 若 是, 则判断得到所述当前 SDU为当前视频帧的结束点, 而下一个 SDU为下一 个视频帧的起点。 The apparatus for identifying a boundary of a streaming media video frame according to claim 6, wherein when the video frame is divided by the fixed packet method, the comparing unit comprises: The fourth determining unit is configured to determine whether the currently received SDU is smaller than the preset maximum SDU, and if yes, determine that the current SDU is the end point of the current video frame, and the next SDU is the starting point of the next video frame.
PCT/CN2008/072140 2007-09-28 2008-08-26 Method and device for identifying streaming media video frame borders WO2009043249A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100468149A CN101141639B (en) 2007-09-28 2007-09-28 Method and device for identifying stream media video frame boundary
CN200710046814.9 2007-09-28

Publications (1)

Publication Number Publication Date
WO2009043249A1 true WO2009043249A1 (en) 2009-04-09

Family

ID=39193336

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072140 WO2009043249A1 (en) 2007-09-28 2008-08-26 Method and device for identifying streaming media video frame borders

Country Status (2)

Country Link
CN (1) CN101141639B (en)
WO (1) WO2009043249A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141639B (en) * 2007-09-28 2010-08-18 上海华为技术有限公司 Method and device for identifying stream media video frame boundary
CN101459852B (en) * 2008-12-22 2011-04-13 华为技术有限公司 Method and device for predicting video service occurrence delay
CN104901920B (en) * 2014-03-03 2018-06-01 联想(北京)有限公司 A kind of data transfer control method, device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1111883A (en) * 1993-11-30 1995-11-15 通用电气公司 Data word indicator in a system for assembling transport data packets
EP1349331A1 (en) * 2002-03-29 2003-10-01 Siemens Information and Communication Networks S.p.A. Method for transmitting fixed and variable size data units within the same frame in a PMP system
US6792198B1 (en) * 2000-06-06 2004-09-14 Lg Electronics Inc. Method and apparatus for recording digital data streams and management information
CN1543159A (en) * 2003-05-03 2004-11-03 ���ǵ�����ʽ���� Wireless-compatible MAC frame transmitting/receiving method and apparatus
CN101141639A (en) * 2007-09-28 2008-03-12 上海华为技术有限公司 Method and device for identifying stream media video frame boundary

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6882637B1 (en) * 1999-10-14 2005-04-19 Nokia Networks Oy Method and system for transmitting and receiving packets

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1111883A (en) * 1993-11-30 1995-11-15 通用电气公司 Data word indicator in a system for assembling transport data packets
US6792198B1 (en) * 2000-06-06 2004-09-14 Lg Electronics Inc. Method and apparatus for recording digital data streams and management information
EP1349331A1 (en) * 2002-03-29 2003-10-01 Siemens Information and Communication Networks S.p.A. Method for transmitting fixed and variable size data units within the same frame in a PMP system
CN1543159A (en) * 2003-05-03 2004-11-03 ���ǵ�����ʽ���� Wireless-compatible MAC frame transmitting/receiving method and apparatus
CN101141639A (en) * 2007-09-28 2008-03-12 上海华为技术有限公司 Method and device for identifying stream media video frame boundary

Also Published As

Publication number Publication date
CN101141639B (en) 2010-08-18
CN101141639A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
US9596281B2 (en) Transport accelerator implementing request manager and connection manager functionality
RU2409898C2 (en) Flexible segmentation scheme for communication systems
JP5989228B2 (en) Method and apparatus for scheduling an adaptive bitrate stream
EP2174438B1 (en) Video streaming over multiple interfaces
US9014048B2 (en) Dynamic bandwidth re-allocation
US9930097B2 (en) Transport accelerator systems and methods
KR101693282B1 (en) Cooperative communication method, cloud server, and core network server
US20140344471A1 (en) Progressive Download Prioritisation
WO2022142676A1 (en) Data transmission method and apparatus, computer readable medium, and electronic device
WO2012129922A1 (en) Packet handling method, forwarding device and system
WO2017125017A1 (en) Method for adjusting cache content, device, and system
CN110831061B (en) Method and device for acquiring scheduling throughput, base station and storage medium
US20120127973A1 (en) System and method of sending acknowledgments through control channels to prevent unnecessary retransmission in a limited bandwidth wireless communication network
US11316916B2 (en) Packet processing method, related device, and computer storage medium
CN114257848A (en) Method, device, communication system and computer readable storage medium for implementing video service
EP4209039A1 (en) Method and apparatus to synchronize radio bearers
WO2009043249A1 (en) Method and device for identifying streaming media video frame borders
US7787434B2 (en) Method access point and program product for providing bandwidth and airtime fairness in wireless networks
CN111262792B (en) Message forwarding method, device, network equipment and storage medium
WO2012146170A1 (en) Data distribution method and apparatus for multiple radio access technologies servicing one user equipment
JP2004135239A (en) Data distributing apparatus, receiving apparatus, data distributing method, data distributing program, and recording medium with the same program recorded thereon
US20210343304A1 (en) Method for Improving Voice Call Quality, Terminal, and System
RU2576525C1 (en) Resource allocation method and device
EP4002793B1 (en) Method and controller for audio and/or video content delivery
WO2023078357A1 (en) Information processing method and apparatus, device and readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1