WO2015027860A1 - Video service processing method and apparatus, and network device - Google Patents

Video service processing method and apparatus, and network device Download PDF

Info

Publication number
WO2015027860A1
WO2015027860A1 PCT/CN2014/084983 CN2014084983W WO2015027860A1 WO 2015027860 A1 WO2015027860 A1 WO 2015027860A1 CN 2014084983 W CN2014084983 W CN 2014084983W WO 2015027860 A1 WO2015027860 A1 WO 2015027860A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
data packet
current
segment
same
Prior art date
Application number
PCT/CN2014/084983
Other languages
French (fr)
Chinese (zh)
Inventor
黄德埠
李斌
吴盛金
牛卫国
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015027860A1 publication Critical patent/WO2015027860A1/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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6581Reference data, e.g. a movie identifier for ordering a movie or a product identifier in a home shopping application
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a video service processing method and apparatus, and a network device. The method comprises: identifying a data packet of the same video service by the same request user; associating a video request data packet, a video response data packet and a video content data packet into a video clip; and determining a KQI of the video service according to the video clip. By associating data packets of the same video service to obtain a video clip, an accurate and complete video stream can be obtained. Applying the accurate and complete video stream to conduct video quality analysis is beneficial for truly reflecting the user experience and finally achieving the purpose of promoting the KQI of video service.

Description

一种视频业务处理方法、 装置及网絡设备 技术领域  Video service processing method, device and network device
本发明涉及通信技术领域, 尤其涉及一种视频业务处理方法、 装置及网 络设备。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a video service processing method, apparatus, and network device. Background technique
随着移动宽带和智能终端的快速发展, 移动视频业务得到迅速发展, 如 何提高视频用户的业务感受也越来越受重视。  With the rapid development of mobile broadband and smart terminals, mobile video services have developed rapidly, and how to improve the business experience of video users has become more and more important.
视频质量评估应运而生, 通过 KQI ( Key Quality Indicators, 关键质量指 标)进行视频业务质量的评估是视频业务中一种全新的性能测量方法。 KQI 是针对不同业务提出的贴近用户感受的业务质量参数, 是以用户为中心, 体 现业务层面的关键指标, 通过获得正确、全面、真实的 KQI能够较为准确的 对用户接收到的视频业务进行视频质量评估。  Video quality assessment came into being. The evaluation of video service quality through KQI (Key Quality Indicators) is a new performance measurement method in video services. KQI is a service quality parameter that is close to the user's feelings for different services. It is a user-centered, key indicator of the business level. By obtaining correct, comprehensive and realistic KQI, it can accurately video the video service received by the user. Quality assessment.
现有通过 KQI进行视频质量评估的方法分为两类,一种是主观视频质量 评估方法, 即人为主观的对用户接收到的视频业务质量进行评估, 以反映视 频业务的用户感受; 另外一种是客观的视频质量评估方法, 使用接收到的视 频信息以及原始视频信息, 通过对比数据分析方式评估用户接收到视频质 量。  The existing methods for video quality assessment through KQI are divided into two categories. One is subjective video quality assessment method, which is to subjectively evaluate the quality of video services received by users to reflect the user experience of video services; It is an objective video quality assessment method that uses the received video information and the original video information to evaluate the quality of the video received by the user through comparative data analysis.
在实际应用中,主观的视频质量评估方法,需要很多人力和时间的投入, 投入很大, 且不能实现对业务的实时观测。 客观的视频质量评估方法, 根据 视频编码、 帧速率、 分辨率评估视频的原始业务质量, 并结合实际播放过程 中的丟包、 误帧和緩存时间等因素、 并根据输出的曲线评估播放的视频业务 的质量, 输出的结果不直观, 需要对输出的曲线进行处理才能得到最终所需 的视频业务质量。 因此, 如何更为真实的反映用户收看视频业务的用户感受, 是提升统计 视频业务 KQI的关键。 发明内容 In practical applications, subjective video quality assessment methods require a lot of manpower and time investment, and the investment is large, and real-time observation of the business cannot be realized. An objective video quality assessment method, which evaluates the original service quality of the video according to video coding, frame rate, and resolution, and combines factors such as packet loss, frame error, and buffer time during actual playback, and evaluates the played video according to the output curve. The quality of the service, the output is not intuitive, and the output curve needs to be processed to get the final desired video service quality. Therefore, how to more realistically reflect the user experience of users watching video services is the key to improving the statistical video service KQI. Summary of the invention
本发明实施例提供一种视频业务处理方法、 装置及网络设备, 以解决现 有技术无法实时对业务观测以及无法直观反映用户感受等问题。  The embodiments of the present invention provide a video service processing method, device, and network device, so as to solve the problem that the existing technology cannot observe the service in real time and cannot directly reflect the user experience.
本发明的目的是通过以下技术方案实现的:  The object of the invention is achieved by the following technical solutions:
第一方面, 提供一种视频业务处理方法, 包括:  The first aspect provides a video service processing method, including:
根据同一请求用户识别同一视频业务的数据包, 所述同一视频业务的数 据包包括: 视频请求数据包、 视频响应数据包和视频内容数据包;  And identifying, according to the same requesting user, a data packet of the same video service, where the data packet of the same video service includes: a video request data packet, a video response data packet, and a video content data packet;
将所述视频请求数据包、视频响应数据包和视频内容数据包关联为视频 片段;  Associating the video request packet, the video response packet, and the video content packet into a video segment;
依据所述视频片段, 确定视频业务的关键质量指标 KQI。  Based on the video segment, a key quality indicator KQI of the video service is determined.
结合第一方面, 在第一方面的第一种可能的实现方式中, 所述将所述视 频请求数据包、 视频响应数据包和视频内容数据包关联为视频片段, 具体包 括:  With reference to the first aspect, in a first possible implementation manner of the first aspect, the video request data packet, the video response data packet, and the video content data packet are associated as a video segment, and the method includes:
在已经存储该请求用户针对该视频业务的已关联的视频片段、且已关联 的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数据 包的视频封装格式相同时, 将当前视频请求数据包、 当前视频响应数据包和 在未存储该请求用户针对该视频业务的已关联的视频片段时、或者已关 联的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数 据包的视频封装格式不同时, 将当前视频请求数据包、 当前视频响应数据包 和当前视频内容数据包作为一个新的视频片段。  The current video is the same when the video encapsulation format of the video content data packet included in the requested video segment of the requested video segment is the same as the video encapsulation format of the current video content data packet. a request packet, a current video response packet, and a video encapsulation format and current video content data of the video content packet included in the associated video segment when the requested user's associated video segment for the video service is not stored When the video encapsulation format of the packet is different, the current video request packet, the current video response packet, and the current video content packet are used as a new video segment.
结合第一方面的第一种可能实现方式,在第一方面的第二种可能的实现 方式中, 所述将当前视频请求数据包、 当前视频响应数据包和当前视频内容 数据包组合至已关联的视频片段上, 具体包括:  In conjunction with the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the combining the current video request data packet, the current video response data packet, and the current video content data packet to the associated On the video clip, specifically:
确定当前视频请求数据包为重定向请求数据包时,在与当前视频内容数 据包的视频封装格式相同的已关联视频片段中, 确定待组合视频片段; 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包, 组合至确定出的待组合视频片段上, 其中, 所述待组合视频片段包含的视频 响应数据包的头部信息中携带的重定向地址 Location值与当前视频请求数 据包的头部信息中携带的统一资源定位符 URL值相等。 Determining, when the current video request data packet is a redirect request data packet, determining the video segment to be combined in the associated video segment having the same video encapsulation format as the current video content data packet; And combining the current video request data packet, the current video response data packet, and the current video content data packet to the determined video segment to be combined, where the video response data packet included in the video segment to be combined is carried in the header information of the data packet The redirected address Location value is equal to the Uniform Resource Locator URL value carried in the header information of the current video request packet.
结合第一方面的第一种可能实现方式,在第一方面的第三种可能的实现 方式中, 所述将当前视频请求数据包、 当前视频响应数据包和当前视频内容 数据包组合至已关联的视频片段, 具体包括:  In conjunction with the first possible implementation of the first aspect, in a third possible implementation of the first aspect, the combining the current video request data packet, the current video response data packet, and the current video content data packet to the associated Video clips, including:
确定当前视频内容数据包的视频封装格式为 TS格式时, 根据当前视频 请求数据包中携带的索引关键字,在与当前视频内容数据包的视频封装格式 相同的已关联视频片段中确定待组合视频片段, 并将当前视频请求数据包、 段上;  When the video encapsulation format of the current video content data packet is determined to be in the TS format, the video to be combined is determined in the associated video segment having the same video encapsulation format as the current video content data packet according to the index key carried in the current video request data packet. Fragment, and the current video request packet, segment;
其中, 当所述索引关键字为内容片段关键字时, 所述待组合视频片段包 含的视频请求数据包中携带有与所述内容片段关键字相对应的内容索引关 键字;  Wherein, when the index key is a content segment keyword, the video request data packet included in the video segment to be combined carries a content index keyword corresponding to the content segment keyword;
当所述索引关键字为内容索引关键字时, 所述待组合视频片段包含的视 频请求数据包中携带有与所述内容索引关键字相对应的带宽索引关键字; 当所述索引关键字为带宽索引关键字时, 所述待组合视频片段包含的视 频请求数据包的统一资源标识符 URI 与所述当前视频片段包含的视频请求 数据包的 URI相同。  When the index key is a content index key, the video request data packet included in the video segment to be combined carries a bandwidth index key corresponding to the content index key; when the index key is When the bandwidth index keyword is used, the uniform resource identifier URI of the video request data packet included in the video segment to be combined is the same as the URI of the video request data packet included in the current video segment.
结合第一方面的第一种可能实现方式,在第一方面的第四种可能的实现 方式中, 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据 包组合至已关联的视频片段之前, 还包括:  In conjunction with the first possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the current video request data packet, the current video response data packet, and the current video content data packet are combined into the associated video. Before the snippet, it also includes:
确定当前视频片段包含的视频内容数据包的视频封装格式为非 TS格式 时,确定当前视频请求数据包中携带的、用于标识视频开始的关键字的数值, 不为用于标识新视频开始的数值。 结合第一方面、 第一方面的第一种可能实现方式、 第一方面的第二种可 能实现方式、第一方面的第三种可能实现方式或第一方面的第四种可能实现 方式, 在第一方面的第五种可能的实现方式中, 将当前视频片段组合至已关 联的视频片段上之前, 还包括: When determining that the video encapsulation format of the video content data packet included in the current video segment is a non-TS format, determining a value of a keyword carried in the current video request data packet for identifying the start of the video is not used to identify the start of the new video. Value. With reference to the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, or the fourth possible implementation of the first aspect, In a fifth possible implementation manner of the first aspect, before the current video segment is combined to the associated video segment, the method further includes:
确定获取当前视频请求数据包的时间与获取上一个已关联视频片段中 包含的视频请求数据包的时间差值在设定的时差门限值内。  The time difference between the time when the current video request packet is obtained and the video request packet included in the previous associated video segment is determined to be within the set time difference threshold.
结合第一方面, 以及第一方面的第一至第五任一种可能的实现方式, 在 第一方面的第六种可能的实现方式中, 依据所述视频片段, 确定视频业务的 KQI包括:  With reference to the first aspect, and the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, determining, according to the video segment, a KQI of the video service includes:
根据所述视频片段,确定视频初始播放成功率、视频初始緩冲平均时延、 视频播放停顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下 载速率其中的至少一种;  Determining, according to the video segment, at least one of a video initial playback success rate, a video initial buffer average delay, a video playback pause rate, a video hourly pause number, a video hourly pause delay, and a video average download rate;
其中, 所述视频初始播放成功率表征视频播放成功个数占视频总数的比 例; 所述视频初始緩冲平均时延表征视频初始緩冲所用的时间; 所述视频播 放停顿率表征出现停顿的话单占所有话单的比例; 所述视频停顿次数表征每 小时内播放相同长度视频的停顿次数; 所述视频停顿时延表征播放相同长度 视频的停顿时延; 所述视频平均下载速率表征视频下载速率。  The initial playback success rate of the video represents a proportion of the number of successful video playbacks to the total number of videos; the initial buffer average delay of the video represents a time used for initial buffering of the video; and the video playback pause rate is used to represent a paused call list. The ratio of all the CDRs; the number of pauses of the video characterizes the number of pauses of playing the same length of video in an hour; the video pause delay characterizes the pause delay of playing the same length of video; the average download rate of the video represents the video download rate .
第二方面, 提供一种视频业务处理装置, 包括识别单元、 关联单元和确 定单元, 其中,  In a second aspect, a video service processing apparatus is provided, including an identification unit, an association unit, and a determination unit, where
所述识别单元, 用于根据同一请求用户识别同一视频业务的数据包, 并 将识别的同一视频业务的数据包发送给所述关联单元, 所述同一视频业务的 数据包包括: 视频请求数据包、 视频响应数据包和视频内容数据包;  The identification unit is configured to identify a data packet of the same video service according to the same requesting user, and send the identified data packet of the same video service to the association unit, where the data packet of the same video service includes: a video request data packet , video response packets and video content packets;
所述关联单元, 用于接收所述识别单元发送的同一视频业务的数据包, 将所述视频请求数据包、 视频响应数据包和视频内容数据包进行关联, 得到 视频片段, 并将得到的视频片段发送给所述确定单元;  The association unit is configured to receive a data packet of the same video service sent by the identification unit, associate the video request data packet, the video response data packet, and the video content data packet to obtain a video segment, and obtain the obtained video Sending a segment to the determining unit;
所述确定单元, 用于接收所述关联单元关联得到的视频片段, 依据所述 视频片段, 确定视频业务的 KQI。 The determining unit is configured to receive a video segment associated with the associated unit, according to the A video clip that determines the KQI of the video service.
结合第二方面,在第二方面的第一种可能的实现方式中,所述关联单元, 用于:  In conjunction with the second aspect, in a first possible implementation of the second aspect, the association unit is configured to:
在已经存储该请求用户针对该视频业务的已关联的视频片段、且已关联 的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数据 包的视频封装格式相同时, 将当前视频请求数据包、 当前视频响应数据包和 在未存储该请求用户针对该视频业务的已关联的视频片段时、或者已关 联的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数 据包的视频封装格式不同时, 将当前视频请求数据包、 当前视频响应数据包 和当前视频内容数据包作为一个新的视频片段。  The current video is the same when the video encapsulation format of the video content data packet included in the requested video segment of the requested video segment is the same as the video encapsulation format of the current video content data packet. a request packet, a current video response packet, and a video encapsulation format and current video content data of the video content packet included in the associated video segment when the requested user's associated video segment for the video service is not stored When the video encapsulation format of the packet is different, the current video request packet, the current video response packet, and the current video content packet are used as a new video segment.
结合第二方面的第一种可能实现方式,在第二方面的第二种可能的实现 方式中, 所述关联单元, 用于:  With reference to the first possible implementation of the second aspect, in a second possible implementation manner of the second aspect, the
确定当前视频请求数据包为重定向请求数据包时,在与当前视频内容数 据包的视频封装格式相同的已关联视频片段中, 确定待组合视频片段;  Determining, when the current video request data packet is a redirect request data packet, determining the video segment to be combined in the associated video segment having the same video encapsulation format as the current video content data packet;
将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包, 组合至确定出的待组合视频片段上, 其中, 所述待组合视频片段包含的视频 响应数据包的头部信息中携带的重定向地址 Location值与当前视频请求数 据包的头部信息中携带的统一资源定位符 URL值相等。  And combining the current video request data packet, the current video response data packet, and the current video content data packet to the determined video segment to be combined, where the video response data packet included in the video segment to be combined is carried in the header information of the data packet The redirected address Location value is equal to the Uniform Resource Locator URL value carried in the header information of the current video request packet.
结合第二方面的第一种可能实现方式,在第二方面的第三种可能的实现 方式中, 所述关联单元, 用于:  In conjunction with the first possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the
确定当前视频内容数据包的视频封装格式为 TS格式时, 根据当前视频 请求数据包中携带的索引关键字,在与当前视频内容数据包的视频封装格式 相同的已关联视频片段中确定待组合视频片段, 并将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包组合至确定出的待组合视频片 段上; 其中, 当所述索引关键字为内容片段关键字时, 所述待组合视频片段包 含的视频请求数据包中携带有与所述内容片段关键字相对应的内容索引关 键字; When the video encapsulation format of the current video content data packet is determined to be in the TS format, the video to be combined is determined in the associated video segment having the same video encapsulation format as the current video content data packet according to the index key carried in the current video request data packet. Fragment, and combining the current video request data packet, the current video response data packet, and the current video content data packet onto the determined video segment to be combined; The video request data packet included in the video segment to be combined carries a content index key corresponding to the content segment keyword, where the index key is a content segment keyword;
当所述索引关键字为内容索引关键字时, 所述待组合视频片段包含的视 频请求数据包中携带有与所述内容索引关键字相对应的带宽索引关键字; 当所述索引关键字为带宽索引关键字时, 所述待组合视频片段包含的视 频请求数据包的统一资源标识符 URI 与所述当前视频片段包含的视频请求 数据包的 URI相同。  When the index key is a content index key, the video request data packet included in the video segment to be combined carries a bandwidth index key corresponding to the content index key; when the index key is When the bandwidth index keyword is used, the uniform resource identifier URI of the video request data packet included in the video segment to be combined is the same as the URI of the video request data packet included in the current video segment.
结合第二方面的第一种可能实现方式,在第二方面的第四种可能的实现 方式中, 所述关联单元, 用于:  With reference to the first possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the
确定当前视频片段包含的视频内容数据包的视频封装格式为非 TS格式 时,确定当前视频请求数据包中携带的、用于标识视频开始的关键字的数值, 不为用于标识新视频开始的数值。  When determining that the video encapsulation format of the video content data packet included in the current video segment is a non-TS format, determining a value of a keyword carried in the current video request data packet for identifying the start of the video is not used to identify the start of the new video. Value.
结合第二方面、 第二方面的第一种可能实现方式、 第二方面的第二种可 能实现方式、第二方面的第三种可能实现方式或第二方面的第四种可能实现 方式, 在第二方面的第五种可能的实现方式中, 所述关联单元, 还用于: 确定获取当前视频请求数据包的时间与获取上一个已关联视频片段中 包含的视频请求数据包的时间差值在设定的时差门限值内。  With reference to the second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, the third possible implementation of the second aspect, or the fourth possible implementation of the second aspect, In a fifth possible implementation manner of the second aspect, the association unit is further configured to: determine a time difference between acquiring a current video request data packet and acquiring a video request data packet included in a previous associated video segment Within the set time difference threshold.
结合第二方面或第二方面的第一至第五任一种可能的实现方式,在第二 方面的第六种可能的实现方式中, 所述确定单元, 用于:  With reference to the second aspect or the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation manner of the second aspect, the determining unit is configured to:
根据所述视频片段,确定视频初始播放成功率、视频初始緩冲平均时延、 视频播放停顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下 载速率其中的至少一种;  Determining, according to the video segment, at least one of a video initial playback success rate, a video initial buffer average delay, a video playback pause rate, a video hourly pause number, a video hourly pause delay, and a video average download rate;
其中, 所述视频初始播放成功率表征视频播放成功个数占视频总数的比 例; 所述视频初始緩冲平均时延表征视频初始緩冲所用的时间; 所述视频播 放停顿率表征出现停顿的话单占所有话单的比例; 所述视频停顿次数表征每 小时内播放相同长度视频的停顿次数; 所述视频停顿时延表征播放相同长度 视频的停顿时延; 所述视频平均下载速率表征视频下载速率。 The initial playback success rate of the video represents a proportion of the number of successful video playbacks to the total number of videos; the initial buffer average delay of the video represents a time used for initial buffering of the video; and the video playback pause rate is used to represent a paused call list. The proportion of all the CDRs; the number of video pauses is characterized by The number of pauses of the same length of video is played within an hour; the video pause delay characterizes the pause delay of playing the same length of video; the average video download rate characterizes the video download rate.
第三方面, 提供一种网络设备, 该网络设备包括上述涉及的视频业务处 理装置。 本发明实施例通过预先识别出同一请求用户针对同一视频业务的数据 包, 并针对每次识别的同一视频业务数据包包括的视频请求数据包、 视频响 应数据包和视频内容数据包关联为视频片段, 能够得到每个用户针对一次视 频业务的全部的视频片段, 即可得到准确且完整的视频流, 通过准确完整的 视频流进行视频质量的分析, 有利于真实反映用户感受, 最终达到提升统计 视频业务 KQI的目的。 附图说明  In a third aspect, a network device is provided, the network device comprising the video service processing device involved above. In the embodiment of the present invention, a video packet including a video request packet, a video response data packet, and a video content data packet included in the same video service data packet identified each time is identified as a video segment by identifying a data packet of the same requesting user for the same video service in advance. The video clips of each user for one video service can be obtained, and an accurate and complete video stream can be obtained, and the video quality is analyzed through an accurate and complete video stream, which is beneficial to truly reflecting the user experience, and finally achieves the improvement of the statistical video. The purpose of business KQI. DRAWINGS
图 1 为本发明实施例提供的视频业务处理流程图;  FIG. 1 is a flowchart of processing a video service according to an embodiment of the present invention;
图 2为本发明实施例提供的视频业务处理又一流程图; 图 3为本发明实施例提供的视频业务识别流程图;  FIG. 2 is still another flowchart of video service processing according to an embodiment of the present invention; FIG. 3 is a flowchart of video service identification according to an embodiment of the present invention;
图 4为本发明实施例提供的视频业务关联流程图;  4 is a flowchart of a video service association according to an embodiment of the present invention;
图 5为本发明实施例提供的视频质量评估过程示意图;  FIG. 5 is a schematic diagram of a video quality assessment process according to an embodiment of the present invention;
图 6为本发明实施例提供的视频质量评估过程又一示意图;  FIG. 6 is still another schematic diagram of a video quality assessment process according to an embodiment of the present invention;
图 7为本发明实施例提供的视频业务处理装置结构示意图; 图 8为本发明实施例提供的网络控制设备结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of a video service processing apparatus according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of a network control apparatus according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例只是本发明的一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一 本发明实施例一提供了一种视频业务处理方法, 如图 1所示, 包括: S101 : 根据同一请求用户识别同一视频业务的数据包。 The first embodiment of the present invention provides a video service processing method. As shown in FIG. 1, the method includes: S101: Identify a data packet of the same video service according to the same requesting user.
具体的, 进行视频质量评估一般是针对不同用户、 并针对不同视频业务 进行的, 故本发明实施例中根据同一请求用户识别同一视频业务的数据包, 可得到针对不同请求用户的不同视频业务的数据包, 本发明实施例中同一视 频业务的数据包包括:视频请求数据包、视频响应数据包和视频内容数据包。  Specifically, the video quality assessment is generally performed for different users and for different video services. Therefore, in the embodiment of the present invention, according to the same requesting user, the data packet of the same video service is identified, and different video services for different request users may be obtained. The data packet of the same video service in the embodiment of the present invention includes: a video request data packet, a video response data packet, and a video content data packet.
S102: 将视频请求数据包、视频响应数据包和视频内容数据包关联为视 频片段。  S102: Associate a video request packet, a video response packet, and a video content packet into a video segment.
本发明实施例中将属于同一视频业务的全部数据包, 即至少包括视频请 求数据包、 视频响应数据包和视频内容数据包关联诶视频片段, 该关联得到 的视频片段中可以包含多个视频请求数据包、多个视频响应数据包和多个视 频内容数据包, 组合得到的视频片段也可以不止一个。  In the embodiment of the present invention, all the data packets belonging to the same video service, that is, at least the video request data packet, the video response data packet, and the video content data packet are associated with the video segment, and the video segment obtained by the association may include multiple video requests. A data packet, multiple video response data packets, and multiple video content data packets may be combined to obtain more than one video segment.
S103: 依据 S102中关联得到的视频片段, 确定视频业务的 KQI。  S103: Determine a KQI of the video service according to the video segment obtained by the association in S102.
本发明实施例中根据 S102 中关联得到的视频片段, 确定视频业务的 KQI, 优选确定视频初始播放成功率、 视频初始緩冲平均时延、 视频播放停 顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下载速率其中 的至少一种;  In the embodiment of the present invention, the KQI of the video service is determined according to the video segment obtained by the association in S102, and the video initial playback success rate, the video initial buffer average delay, the video playback pause rate, the video hourly pause number, and the video hourly are determined. At least one of a pause delay and a video average download rate;
其中, 视频初始播放成功率表征视频播放成功个数占视频总数的比例; 视频初始緩冲平均时延表征视频初始緩冲所用的时间; 视频播放停顿率表征 出现停顿的话单占所有话单的比例; 视频停顿次数表征每小时内播放相同长 度视频的停顿次数; 视频停顿时延表征播放相同长度视频的停顿时延; 视频 平均下载速率表征视频下载速率。  The video initial playback success rate indicates the proportion of successful video playback to the total number of videos; the video initial buffer average delay characterizes the time used for initial buffering of the video; the video playback pause rate characterizes the proportion of the paused bills to all the bills. The number of video pauses characterizes the number of pauses for playing the same length of video per hour; the video pause delay characterizes the pause delay for playing the same length of video; the average video download rate characterizes the video download rate.
本发明实施例中可依据 S102 中关联得到的每个视频片段, 分别确定每 个视频片段的 KQI, 最终得到视频业务的 KQI, 也可将 S102中关联的视频 片段组合为表征视频业务的视频流, 通过视频流中的视频片段的 KQI, 确定 视频业务的 KQI。  In the embodiment of the present invention, the KQI of each video segment may be determined according to each video segment obtained in association in S102, and finally the KQI of the video service may be obtained, or the associated video segment in S102 may be combined into a video stream representing the video service. The KQI of the video service is determined by the KQI of the video segment in the video stream.
本发明实施例中, 过预先识别出同一请求用户针对同一视频业务的数据 包, 并针对每次识别的同一视频业务数据包包括的视频请求数据包、 视频响 应数据包和视频内容数据包关联为视频片段, 能够得到每个用户针对一次视 频业务的全部的视频片段, 即可得到准确且完整的视频流, 通过准确完整的 视频流进行视频质量的分析, 有利于真实反映用户感受, 最终达到提升统计 视频业务 KQI的目的。 In the embodiment of the present invention, the data of the same requesting user for the same video service is identified in advance. The packet, and the video request data packet, the video response data packet, and the video content data packet included in the same video service data packet for each identification are associated with the video segment, and all the video segments of each user for one video service can be obtained, that is, An accurate and complete video stream can be obtained, and the video quality is analyzed through an accurate and complete video stream, which is beneficial to truly reflecting the user experience, and finally achieves the purpose of improving the statistical video service KQI.
实施例二  Embodiment 2
本发明实施例二作为一个较佳的实施例,对实施例一中涉及的视频业务 处理方法, 进行详细说明, 实现过程如图 2所示, 包括:  The second embodiment of the present invention provides a detailed description of the video service processing method involved in the first embodiment. The implementation process is as shown in FIG. 2, and includes:
S201 : 获取网络接口的数据包。  S201: Obtain a data packet of a network interface.
具体的, 本发明实施例中网络接口可以是在无线接入网和核心网间的 Specifically, the network interface in the embodiment of the present invention may be between the radio access network and the core network.
Iu-PS接口, 也可以是在 NodeB和 RNC间的 lub接口或者 SGSN和 GGSN 间的 Gp接口, 通过数据釆集设备在对应的网络接口中获取用户面所有的数 据包, 该数据包中包含了网页、 视频、 电子邮件等各种业务的数据包。 The Iu-PS interface may also be a lub interface between the NodeB and the RNC or a Gp interface between the SGSN and the GGSN, and the data collection device obtains all the data packets of the user plane in the corresponding network interface, and the data packet includes Web, video, email, and other data packets for various businesses.
本发明实施例中对网络接口并不做限定, 例如还可以是 GSM ( Global System of Mobile communication , 全球移动通讯系统)、 UMT S(Universal Mobile Telecommunication System , 通用移动通信系统)、 LTE ( 3 GPP Long Term Evolution, 3GPP长期演进)、 TD-SCDMA(Time Division- Synchronous Code Division Multiple Access,时分同步码分多址接入)、 CDMA(Code division multiple access, 码分多址)、 GPRS(General packet radioservice , 通用分组无 线服务)、 或者 EDGE ( Enhanced data rates for GSM evolution, GSM演进的 增强型数据速率)等通信网络中的网络接口。  The network interface is not limited in the embodiment of the present invention, and may be, for example, GSM (Global System of Mobile communication), UMT S (Universal Mobile Telecommunication System), LTE (3 GPP Long). Term Evolution, 3GPP Long Term Evolution), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), CDMA (Code Division Multiple Access), GPRS (General Packet Radioservice, Network interface in a communication network such as General Packet Radio Service) or EDGE (Enhanced Data Rates for GSM Evolution).
S202: 识别属于视频业务的视频数据包。  S202: Identify video data packets belonging to the video service.
具体的, 为了统计视频业务的 KQI, 需要从网络接口得到的众多数据包 中识别分离出属于视频业务的视频数据包, 在识别视频数据包时, 可根据获 取的数据包的头部信息进行识别,数据包的头部信息中具有标识数据包种类 的字节, 例如视频请求数据包中包含有通用资源标识符 (Uniform Resource Identifier, URI ), 视频响应数据包中包含有内容类型 Content-type字节符, 通过 URI可以识别出属于视频业务的数据包,若当前视频请求数据包中 URI 的后缀名为 ".flv"、 ".mp4"、 "3gp" 或 ".ts" , 则可说明该数据包为视频业 务的数据包。 通过视频响应数据包中包含的 Content-type 头域中的 subtype 也可识别出属于视频业务的数据包, 例如若 Content-type 头域中的 subtype 为 "flv"、 "x-flv" , "f4v" 等, 则可说明该数据包为视频业务的数据包。 Specifically, in order to count the KQI of the video service, it is necessary to identify and separate the video data packet belonging to the video service from the plurality of data packets obtained by the network interface, and identify the video data packet according to the obtained header information of the data packet. The header information of the data packet has a byte identifying the type of the data packet, for example, the video request data packet includes a universal resource identifier (Uniform Resource) Identifier, URI), the video response packet contains the content type Content-type byte character, and the URI can identify the data packet belonging to the video service. If the URI of the current video request packet is suffixed as ".flv", ".mp4", "3gp" or ".ts" indicates that the packet is a packet for the video service. Packets belonging to the video service can also be identified by the subtype in the Content-type header field included in the video response packet, for example, if the subtype in the Content-type header field is "flv", "x-flv", "f4v""etc., it can be said that the data packet is a data packet of the video service.
S203: 根据同一请求用户识别同一视频业务的数据包。  S203: Identify a data packet of the same video service according to the same requesting user.
具体的, 在 S202中识别出视频数据包中, 需识别出同一请求用户针对 同一视频业务的数据包, 由于每个请求用户使用的 IP地址不同, 因此通过 视频数据包对应的用户 IP地址即源 IP地址, 可以区分不同用户的视频数据 包。  Specifically, in the video data packet identified in S202, the data packet of the same requesting user for the same video service needs to be identified. Since the IP address used by each requesting user is different, the user IP address corresponding to the video data packet is the source. IP address, which can distinguish video packets of different users.
进一步的, 本发明实施例中为得到同一请求用户中属于同一视频业务的 数据包,可在识别视频数据包时,通过视频数据包 URI中携带的用于标识视 频业务名称的关键字确定视频数据包是否属于同一视频业务。  Further, in the embodiment of the present invention, in order to obtain a data packet belonging to the same video service of the same requesting user, the video data packet may be determined by using a keyword for identifying a video service name carried in the video data packet URI when identifying the video data packet. Whether the package belongs to the same video service.
具体的, 本发明实施例中若识别的视频数据包具有相同的源 IP地址, 且 URI中携带的用于标识视频业务名称的关键字相同,则可说明识别的视频 数据包属于同一请求用户同一视频业务的数据包。  Specifically, in the embodiment of the present invention, if the identified video data packets have the same source IP address, and the keywords carried in the URI for identifying the video service name are the same, it may be indicated that the identified video data packets belong to the same requesting user. A packet of video services.
进一步的, 本发明实施例中同一视频业务的数据包包括: 视频请求数据 包、 视频响应数据包和视频内容数据包, 当识别出属于同一视频业务的视频 请求数据包、 视频响应数据包和视频内容数据包时, 进行步骤 S204。  Further, the data packet of the same video service in the embodiment of the present invention includes: a video request data packet, a video response data packet, and a video content data packet, when the video request data packet, the video response data packet, and the video belonging to the same video service are identified. In the case of the content packet, step S204 is performed.
S204: 将识别的视频请求数据包、 视频响应数据包和视频内容数据包关 联为视频片段。  S204: Associate the identified video request packet, video response packet, and video content packet into a video segment.
具体的, 本发明实施例中关联为视频片段的视频数据包至少应包括属于 同一视频业务的视频请求数据包、 视频响应数据包和视频内容数据, 当然还 可以包括其它数据包, 诸如表征五元组: 源 IP地址、 源端口、 目的 IP地址、 目的端口和传输层协议号等信息的数据包。 S205:判断是否已经存储同一请求用户针对同一视频业务的已关联的视 频片段, 若是, 则转 S206, 若否, 则转 S208。 Specifically, the video data packet associated with the video segment in the embodiment of the present invention should at least include a video request data packet, a video response data packet, and video content data belonging to the same video service, and may further include other data packets, such as a five-character representation. Group: Packets for information such as source IP address, source port, destination IP address, destination port, and transport layer protocol number. S205: Determine whether the associated video segment of the same video service for the same video service has been stored, and if yes, go to S206, if no, go to S208.
S206:判断已关联的视频片段中包含的视频内容数据包的视频封装格式 与当前视频内容数据包的视频封装格式是否相同, 若是, 则转 S207, 若否, 则转 S208。  S206: Determine whether the video encapsulation format of the video content data packet included in the associated video segment is the same as the video encapsulation format of the current video content data packet, and if yes, go to S207, if no, go to S208.
具体的, 常用的视频封装格式一般有 ".flv"、 ".mp4"、 "3gp" 以及 ".ts" 等, 并且在视频内容数据包中一般设置有标识视频封装格式的关键字, 通过 解析视频内容数据包的头部信息即可获取到其对应的视频封装格式,作为当 前视频片段的封装格式, 当然在视频请求数据包和视频响应数据包的 HTTP 头域中也有可能携带用于标识视频封装格式的关键字,通过解析视频请求数 据包和 /或视频响应数据包的 HTTP头域, 也可确定视频封装格式。  Specifically, the commonly used video package formats generally include ".flv", ".mp4", "3gp", and ".ts", and a keyword for identifying a video encapsulation format is generally set in the video content data packet, and is parsed. The header information of the video content data packet can obtain the corresponding video encapsulation format, which is used as the encapsulation format of the current video segment. Of course, it is also possible to carry the identification video in the HTTP header field of the video request data packet and the video response data packet. The encapsulation format keyword can also determine the video encapsulation format by parsing the HTTP header field of the video request packet and/or the video response packet.
S207: 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数 据组合至已关联的视频片段上。  S207: Combine the current video request packet, the current video response packet, and the current video content data onto the associated video segment.
S208: 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数 据作为一个新的视频片段。  S208: The current video request data packet, the current video response data packet, and the current video content data are used as a new video segment.
S209: 依据得到的视频片段, 确定视频业务的 KQI。  S209: Determine a KQI of the video service according to the obtained video segment.
本发明实施例提供的视频业务处理方法,通过在获取的所有数据包中预 先识别出属同一请求用户针对同一视频业务的视频数据包, 并针对每次识别 的视频请求数据包、 视频响应数据包、 以及视频内容数据包组合至已关联的 视频片段上或作为新视频片段存储,将存储的不同视频片段组合分别作为该 请求用户针对该视频业务的不同视频流, 能够将每个用户针对一次视频业务 的视频片段准确的关联为完整的视频流,通过准确完整的视频流进行视频质 量的分析,有利于真实反映用户感受,最终达到提升统计视频业务 KQI的目 的。  The video service processing method provided by the embodiment of the present invention pre-identifies video data packets belonging to the same video service for the same video service in all acquired data packets, and requests data packets and video response data packets for each identified video. And the video content data packet is combined on the associated video segment or stored as a new video segment, and the stored different video segment combinations are respectively used as different video streams of the requesting user for the video service, and each user can be targeted for one video. The video segment of the service is accurately associated with the complete video stream, and the video quality is analyzed through the accurate and complete video stream, which is beneficial to truly reflect the user experience, and finally achieves the purpose of improving the statistical video service KQI.
实施例二  Embodiment 2
本发明实施例二将结合实际应用对实施例一涉及的视频业务处理方法 进行详细的说明。 The second embodiment of the present invention will be applied to the video service processing method related to the first embodiment in combination with practical applications. Carry out detailed instructions.
本发明实施例中在网络接口获取数据包后,可按照如图 3所示的视频业 务识别流程图识别属于视频业务的视频数据包, 并对识别出的视频数据包关 联得到的视频片段进行封装格式的标识。  In the embodiment of the present invention, after the network interface acquires the data packet, the video data packet belonging to the video service may be identified according to the video service identification flowchart shown in FIG. 3, and the video segment associated with the identified video data packet may be encapsulated. The identity of the format.
S301 : 按顺序获取数据包。 明实施例中获取的数据包包括请求数据包、响应数据包以及内容数据包在内 的全部类型的数据包。  S301: Acquire the data packets in order. The data packets obtained in the embodiment include all types of data packets including request data packets, response data packets, and content data packets.
S302: 获取数据包的头部信息。  S302: Acquire a header information of the data packet.
在请求数据包和响应数据包的头部信息中一般包括识别该数据包类型 的关键字, 故可根据当前获取的数据包为请求数据包还是响应数据包, 执行 S303和 /或 S304。  The header information of the request packet and the response packet generally includes a keyword for identifying the packet type, so that S303 and/or S304 can be executed according to whether the currently acquired packet is a request packet or a response packet.
S303:判断请求数据包的头部信息中是否包含有标识其为视频数据包的 关键字, 若是, 则转 S305 , 若否则转 S304。  S303: Determine whether the header information of the request data packet includes a keyword that identifies the video data packet, and if yes, go to S305, if not, go to S304.
S304:判断响应数据包的头部信息中是否包含有标识其为视频数据包的 关键字, 若是, 则转 S305 , 若否, 则确定当前数据包不是视频数据包, 结 束处理。  S304: Determine whether the header information of the response data packet includes a keyword indicating that it is a video data packet. If yes, go to S305. If no, determine that the current data packet is not a video data packet, and end processing.
S305: 确定当前数据包为视频数据包, 标识 S302和 /或 S303中识别出 的视频数据包对应的视频片段的视频格式。  S305: Determine that the current data packet is a video data packet, and identify a video format of the video segment corresponding to the video data packet identified in S302 and/or S303.
在请求数据包和响应数据包的 HTTP头域中一般设置有标识视频封装格 式的关键字,通过解析请求数据包和响应数据包的 HTTP头域的头部信息即 可获取到其对应的视频片段的视频封装格式。  In the HTTP header field of the request packet and the response packet, a keyword identifying the video encapsulation format is generally set, and the corresponding video segment can be obtained by parsing the header information of the HTTP header field of the request packet and the response packet. Video packaging format.
优选的, 本发明实施例中为准确的标识识别出的视频数据包对应的视频 片段的视频格式, 可在接收到视频请求数据包、 与其对应的响应数据包、 以 及该视频请求数据包所请求的视频内容数据包之后, 进一步判断视频内容数 据包中标识视频封装格式的视频关键字与当前视频片段的请求数据包和 /或 响应数据包中标识视频封装格式的视频关键字是否一致, 当不一致时, 则将 本发明实施例中当准确的确定了视频片段的封装格式后,在已经存储同 一请求用户针对同一视频业务的已关联的视频片段时, 则可按照不同的格式 分别釆取不同的关联方式进行同一用户的同一视频业务所有视频片段的关 联。 Preferably, in the embodiment of the present invention, the video format of the video segment corresponding to the identified video data packet is accurately identified, and the video request data packet, the response data packet corresponding thereto, and the video request data packet are received. After the video content data packet, further determining the video data packet in the video content data packet and requesting the data packet of the current video segment and/or In the response packet, whether the video keywords of the video encapsulation format are consistent, if they are inconsistent, after the encapsulation format of the video segment is accurately determined in the embodiment of the present invention, the same requesting user has been stored for the same video service. When the associated video segment is associated, different association modes may be used to associate all video segments of the same video service of the same user.
本发明实施例中对同一用户属于同一视频业务的所有视频片段的关联 方式, 可釆用如下关联方式, 进行视频片段的关联, 如图 4所示。  In the embodiment of the present invention, the association manner of all video segments belonging to the same video service of the same user may be associated with the video segment by using the following association manner, as shown in FIG. 4 .
S401 :判断当前视频片段包含的视频请求数据包是否为重定向请求数据 包, 若是, 则转 S406, 若否则转 S402。  S401: Determine whether the video request data packet included in the current video clip is a redirect request data packet, and if yes, go to S406, if not, go to S402.
具体的, 本发明实施例中判断当前视频片段包含的视频请求数据包是否 为重定向请求数据包, 可根据当前视频请求数据包头部信息中携带的 URL ( Uniform Resource Locator , 统一资源定位符)地址是否等于已关联视频片 段中某一视频数据响应数据包的 location字段值进行判断, 其中 location为 用于指示重定向的地址, 若当前视频请求数据包头部信息携带的 URL值等 于某一视频响应数据包头部信息携带的 location值, 则说明该视频数据请求 包是依据该视频响应数据包而发送的, 则说明视频数据请求包为重定向请求 数据包。  Specifically, in the embodiment of the present invention, it is determined whether the video request data packet included in the current video segment is a redirect request data packet, and the URL (Uniform Resource Locator) address carried in the data packet header information may be requested according to the current video request. Whether it is equal to the location field value of a video data response packet in the associated video segment, where location is an address indicating the redirect, if the URL value carried by the current video request packet header information is equal to a certain video response data The location value carried in the packet header information indicates that the video data request packet is sent according to the video response data packet, and the video data request packet is a redirect request data packet.
S402: 判断视频片段的视频封装格式是否为 TS ( Transport Stream, 流 媒体)格式, 若是, 则根据 TS索引列表在已存储的已关联视频片段中确定 待组合视频片段, 并关联视频片段, 即进行步骤 S403 , 否则, 确定当前视 频片段的视频封装格式为非 TS格式, 按照非 TS格式视频特效确定待组合 视频片段, 进行步骤 S404。  S402: Determine whether a video encapsulation format of the video segment is a TS (Transport Stream) format, and if yes, determine a video segment to be combined in the stored associated video segment according to the TS index list, and associate the video segment, that is, perform Step S403, otherwise, determining that the video encapsulation format of the current video segment is a non-TS format, determining the video segment to be combined according to the non-TS format video special effect, and performing step S404.
S403: 确定当前视频片段包含的视频请求数据包中携带的索引关键字。 在当前视频片段包含的视频请求数据包中携带有内容片段关键字,且已 关联视频片段中包含的视频请求数据包中携带有与所述内容片段关键字相 对应的内容索引关键字时,说明与当前视频片段包含的视频内容数据包的视 频封装格式相同的已关联视频片段中, 存在可以组合的可关联视频片段, 转S403: Determine an index key carried in a video request data packet included in the current video clip. The video request packet included in the current video clip carries a content segment keyword, and the video request packet included in the associated video segment carries the content segment keyword When the corresponding content index keyword indicates that there is an associated video segment with the same video encapsulation format as the video content data packet included in the current video segment, there may be a combinable video segment that can be combined.
S406, 否则结束处理。 S406, otherwise the processing ends.
在当前视频片段包含的视频请求数据包中携带有内容索引关键字, 且已 关联视频片段中包含的视频请求数据包中携带有与所述内容索引关键字相 对应的带宽索引关键字时,说明与当前视频片段包含的视频内容数据包的视 频封装格式相同的已关联视频片段中, 存在可以组合的可关联视频片段, 转 S406, 否则结束处理。  When the video request packet included in the current video clip carries the content index key, and the video request packet included in the associated video clip carries the bandwidth index keyword corresponding to the content index keyword, Among the associated video clips having the same video encapsulation format as the video content data packet included in the current video clip, there are associate video clips that can be combined, and the process proceeds to S406, otherwise the processing ends.
在当前视频片段包含的视频请求数据包中携带有带宽索引关键字时, 判 断已关联的视频片段中包含的 URI是否与当前视频片段包含的视频请求数 据包的 URI相同,若相同, 则说明与当前视频片段包含的视频内容数据包的 视频封装格式相同的已关联视频片段中, 存在可以组合的可关联视频片段, 转 S406, 否则说明与当前视频片段包含的视频内容数据包的视频封装格式 相同的已关联视频片段中, 不存在可以组合的可关联视频片段, 其是一个新 的视频, 则转 S405将当前视频片段作为一个新的视频片段存储。  When the video request packet included in the current video clip carries the bandwidth index keyword, it is determined whether the URI included in the associated video clip is the same as the URI of the video request packet included in the current video clip, and if they are the same, In the video clip data format of the video content data packet included in the current video clip, there is a combinable video clip that can be combined, and the process proceeds to S406. Otherwise, the video encapsulation format of the video content data packet included in the current video clip is the same. Among the associated video clips, there is no associate video clip that can be combined, which is a new video, then S405 stores the current video clip as a new video clip.
S404: 根据标识视频开始的关键字判断当前视频片段是否为新的视频。 具体的, 本发明实施例中当判断当前视频数据包对应的视频片段的封装 格式为非 TS格式, 例如 "ilv"、 ".mp4" 和 "3gp" 等视频格式时, 可通过 判断视频数据包 HTTP头域中是否包含 begin、 start、 range等标识视频开始 的关键字, 并通过该标识视频开始的关键字的值判断当前视频片段是否为新 的视频, 例如当 begin、 start、 range为 0或 13 , 则说明该视频片段为一新的 视频, 则进行步骤 S405, 将该视频片段作为新的视频流。 若通过标识视频 开始的关键字的值判断当前视频片段不是新的视频, 则转 S406, 确定与该 视频片段相对应的已关联的视频, 将当前片段关联至已关联的视频片段中。  S404: Determine, according to the keyword that identifies the start of the video, whether the current video segment is a new video. Specifically, in the embodiment of the present invention, when determining that the encapsulation format of the video segment corresponding to the current video data packet is a non-TS format, such as video formats such as "ilv", ".mp4", and "3gp", the video data packet may be determined. Whether the begin, start, range, and the like identify the keyword at the beginning of the video, and determine whether the current video segment is a new video by using the value of the keyword that starts the video, for example, when begin, start, range is 0 or 13 , the video clip is a new video, and then step S405 is performed, and the video clip is used as a new video stream. If it is determined by the value of the keyword that starts the video that the current video segment is not a new video, then the process proceeds to S406, the associated video corresponding to the video segment is determined, and the current segment is associated with the associated video segment.
S405: 记录当前视频片段为新的视频片段。 中确定待组合视频片段, 将当前片段关联至确定的待组合视频片段中。 具体的,在当前视频片段中包含的视频请求数据包为重定向请求数据包 时,在与当前视频片段包含的视频内容数据包的视频封装格式相同的已关联 视频片段中, 确定待组合视频片段, 其中, 所述待组合视频片段包含的响应 数据包的头部信息中携带的重定向地址 Location值与当前视频片段中包含 的视频请求数据包的头部信息中携带的统一资源定位符 URL值相等, 将当 前视频片段组合至确定出的待组合视频片段上。 S405: Record the current video clip as a new video clip. The video segment to be combined is determined, and the current segment is associated with the determined video segment to be combined. Specifically, when the video request data packet included in the current video segment is a redirect request data packet, the video segment to be combined is determined in the associated video segment with the same video encapsulation format as the video content data packet included in the current video segment. And the uniform resource locator URL value carried in the header information carried in the header information of the response packet included in the video segment to be combined and the header information of the video request packet included in the current video segment Equal, combines the current video clips onto the determined video clips to be combined.
在当前视频片段包含的视频内容数据包的视频封装格式为 TS格式, 且 在当前视频片段包含的视频请求数据包中携带有内容片段关键字时,在与当 前视频片段包含的视频内容数据包的视频封装格式相同的已关联视频片段 中确定待组合视频片段, 其中, 所述待组合视频片段包含的视频请求数据包 中携带有与所述内容片段关键字相对应的内容索引关键字,将当前视频片段 组合至确定出的待组合视频片段上。  The video encapsulation format of the video content data packet included in the current video segment is in the TS format, and when the video segment data packet included in the current video segment carries the content segment keyword, the video content data packet included in the current video segment The video segment to be combined is determined in the associated video segment with the same video encapsulation format, wherein the video request packet included in the video segment to be combined carries a content index keyword corresponding to the content segment keyword, and the current The video clips are combined onto the determined video clip to be combined.
在当前视频片段包含的视频内容数据包的视频封装格式为 TS格式, 且 在当前视频片段包含的视频请求数据包中携带有内容索引关键字时,在与当 前视频片段包含的视频内容数据包的视频封装格式相同的已关联视频片段 中确定待组合视频片段, 其中, 所述待组合视频片段包含的视频请求数据包 中携带有与所述内容索引关键字相对应的带宽索引关键字,将当前视频片段 组合至确定出的待组合视频片段上。  The video encapsulation format of the video content data packet included in the current video segment is in the TS format, and when the video request packet included in the current video segment carries the content index keyword, the video content data packet included in the current video segment The video segment to be combined is determined in the associated video segment with the same video encapsulation format, wherein the video request packet included in the video segment to be combined carries a bandwidth index keyword corresponding to the content index keyword, and the current The video clips are combined onto the determined video clip to be combined.
在当前视频片段包含的视频内容数据包的视频封装格式为非 TS 格式 时,确定当前视频片段中包含的视频请求数据包中携带的用于标识视频开始 的关键字的数值不为用于标识新视频开始的数值时, 则在与当前视频片段包 含的视频内容数据包的视频封装格式相同的已关联视频片段中确定待组合 优选的, 本发明实施例进行视频关联过程中, 上述各步骤不存在先后顺 序, 并且也不是必须每个步骤都存在, 例如 S401 即为可选的, 在判断视频 片段的视频封装格式是否为流媒体 TS格式之前, 判断当前视频片段是否为 重定向的视频片段, 若其为重定向的视频片段, 则可直接找到对应的已关联 的视频片段进行关联,若不是则可再进行封装格式的判断,可提供关联速度。 When the video encapsulation format of the video content data packet included in the current video clip is in a non-TS format, determining that the value of the keyword used to identify the start of the video carried in the video request data packet included in the current video clip is not used to identify new When the value of the video is started, it is determined that the combination is the same as the video encapsulation format of the video content data packet included in the current video segment. In the video association process of the embodiment of the present invention, the foregoing steps do not exist. In order, and not necessarily every step exists, for example, S401 is optional, in the judgment video Before the video encapsulation format of the fragment is the streaming media TS format, it is determined whether the current video segment is a redirected video segment. If it is a redirected video segment, the corresponding associated video segment may be directly found for association, if not Then, the judgment of the package format can be performed, and the association speed can be provided.
本发明实施例中, 根据视频片段的封装格式釆用不同的关联方式, 能够 更为准确的得到不同格式的不同视频片段或者视频流,通过该关联得到的视 频片段或者视频流, 确定视频业务的 KQI, 进行视频质量的评估, 能够更为 真实反映用户感受, 最终达到提升统计视频业务 KQI的目的。  In the embodiment of the present invention, according to the encapsulation format of the video segment, different association manners are used, and different video segments or video streams of different formats can be obtained more accurately, and the video segment or the video stream obtained through the association is used to determine the video service. KQI, the evaluation of video quality, can more accurately reflect the user's feelings, and ultimately achieve the purpose of improving the statistical video business KQI.
实施例三  Embodiment 3
本发明实施例三提供一种应有实施例一和 /或实施例二提供视频业务处 理方法, 确定视频业务的 KQI并进行视频质量评估的较佳实施例。  Embodiment 3 of the present invention provides a preferred embodiment for providing a video service processing method according to Embodiment 1 and/or Embodiment 2, determining a KQI of a video service, and performing video quality evaluation.
本发明实施例中涉及的数据包识别、关联的过程与实施例一和 /或实施例 二中的识别关联过程相同, 在此不再赘述, 本发明实施例仅就视频质量评估 的流而成进行说明,如图 5所示为本发明实施例提供的视频质量评估的流程 示意图, 包括:  The process of identifying and associating the data packets involved in the embodiment of the present invention is the same as the process of identifying and associating in the first embodiment and/or the second embodiment, and is not described here again. For example, FIG. 5 is a schematic flowchart of video quality assessment according to an embodiment of the present invention, including:
S501 : 识别属于视频业务的数据包, 得到同一视频业务的视频请求数据 包、 视频响应数据包和视频内容数据包。  S501: Identify a data packet belonging to the video service, and obtain a video request data packet, a video response data packet, and a video content data packet of the same video service.
S502: 将同一视频业务的视频请求数据包、 视频响应数据包和视频内容 数据包关联为视频片段。  S502: Associate a video request packet, a video response packet, and a video content packet of the same video service into a video segment.
S503: 提取出 S502中关联得到的视频片段的 KQI指标。  S503: Extract a KQI indicator of the video segment associated with the S502.
S504: 按照视频片段包含的视频请求数据包和视频响应数据包的源 IP 地址, 将关联得到的视频片段, 区分为不同的用户。  S504: According to the source IP address of the video request packet and the video response packet included in the video segment, the associated video segment is divided into different users.
S505: 对同一个用户的视频片段进行组合, 得到与一次视频业务相关的 所有视频片段,并将视频片段的 KQI指标汇聚起来,形成用户观看一次视频 业务的 KQI指标, 用户评估用户的视频业务质量感知。  S505: Combine the video segments of the same user, obtain all the video segments related to the primary video service, and aggregate the KQI indicators of the video segments to form a KQI indicator for the user to watch the video service, and the user evaluates the video service quality of the user. Perception.
本发明实施例三提供的视频业务质量评估过程中,预先识别出属于视频 业务的数据包, 将同一视频业务的视频请求数据包、 视频响应数据包和视频 内容数据包关联为视频片段, 同时提取出视频片段的 KQI指标,并根据该标 识的视频封装格式, 对同一用户的所有视频片段进行关联, 得到与一次视频 业务相关的所有视频片段,将视频片段的 KQI指标汇聚起来,形成用户观看 一次视频业务的 KQI指标,用户评估用户的视频业务质量感知,有利于真实 反映用户感受, 并通过釆取相应措施提升视频业务 KQI。 In the video service quality evaluation process provided by the third embodiment of the present invention, a data packet belonging to a video service is identified in advance, and a video request data packet, a video response data packet, and a video of the same video service are used. The content data packet is associated with the video segment, and the KQI indicator of the video segment is extracted, and all video segments of the same user are associated according to the video encapsulation format of the identifier, and all video segments related to the primary video service are obtained, and the video segment is obtained. The KQI indicators are aggregated to form a KQI indicator for the user to watch a video service. The user evaluates the user's video service quality perception, which is beneficial to truly reflect the user's feelings, and enhances the video service KQI by taking corresponding measures.
实施例四  Embodiment 4
本发明实施例四提供另一种应有实施例一和 /或实施例二提供视频业务 处理方法, 确定视频业务的 KQI并进行视频质量评估的较佳实施例。  Embodiment 4 of the present invention provides another preferred embodiment for providing a video service processing method according to Embodiment 1 and/or Embodiment 2, determining a KQI of a video service, and performing video quality evaluation.
本发明实施例中涉及的数据包识别、关联的过程与实施例一和 /或实施例 二中的识别关联过程相同, 在此不再赘述, 本发明实施例仅就视频质量评估 的流而成进行说明,如图 6所示为本发明实施例提供的视频质量评估的流程 图, 包括:  The process of identifying and associating the data packets involved in the embodiment of the present invention is the same as the process of identifying and associating in the first embodiment and/or the second embodiment, and is not described here again. For example, FIG. 6 is a flowchart of video quality assessment according to an embodiment of the present invention, including:
S601 : 识别属于视频业务的数据包, 得到同一视频业务的视频请求数据 包、 视频响应数据包和视频内容数据包。  S601: Identify a data packet belonging to the video service, and obtain a video request data packet, a video response data packet, and a video content data packet of the same video service.
S602: 将同一视频业务的视频请求数据包、 视频响应数据包和视频内容 数据包关联为视频片段。  S602: Associate a video request packet, a video response packet, and a video content packet of the same video service into a video segment.
S603: 按照视频片段包含的视频请求数据包和视频响应数据包的源 IP 地址, 将关联得到的视频片段, 区分为不同的用户。  S603: According to the source IP address of the video request packet and the video response packet included in the video segment, the associated video segment is divided into different users.
S604: 对同一个用户的视频片段进行组合, 得到与一次视频业务相关的 所有视频片段, 组成完整的视频流。  S604: Combine video segments of the same user to obtain all video segments related to one video service to form a complete video stream.
S605: 统计 S604中的视频流的 KQI指标, 评估用户的视频业务质量。 本发明实施例四提供的视频业务质量评估过程中,通过预先识别出属于 视频业务的数据包, 将同一视频业务的视频请求数据包、 视频响应数据包和 视频内容数据包关联为视频片段, 对同一用户的所有视频片段进行组合, 得 到与一次视频业务相关的所有视频片段, 能够准确识别出每个用户的完整视 频流,通过准确完整的视频流统计用户观看一次视频业务的 KQI指标,用户 评估用户的视频业务质量感知, 有利于真实反映用户感受, 并通过釆取相应 措施提升视频业务 KQI。 S605: The KQI indicator of the video stream in S604 is counted, and the video service quality of the user is evaluated. In the video service quality evaluation process provided by the fourth embodiment of the present invention, the video request data packet, the video response data packet, and the video content data packet of the same video service are associated into a video segment by identifying a data packet belonging to the video service in advance. All the video segments of the same user are combined to obtain all the video segments related to the primary video service, which can accurately identify the complete video stream of each user, and collect the KQI indicator of the video service by the user through accurate and complete video stream statistics. Evaluate the user's video service quality perception, which is beneficial to truly reflect the user's feelings, and enhance the video service KQI by taking corresponding measures.
实施例六  Embodiment 6
与上述方法实施例相关的,本发明实施例还公开了一种视频业务处理装 置, 如图 7所示, 该视频业务处理装置, 包括识别单元 701、 关联单元 702 和确定单元 703 , 其中,  Related to the foregoing method embodiment, the embodiment of the present invention further discloses a video service processing device. As shown in FIG. 7, the video service processing device includes an identification unit 701, an association unit 702, and a determining unit 703.
识别单元 701 , 用于根据同一请求用户识别同一视频业务的数据包, 并 将识别的同一视频业务的数据包发送给关联单元 702, 同一视频业务的数据 包包括: 视频请求数据包、 视频响应数据包和视频内容数据包;  The identification unit 701 is configured to identify a data packet of the same video service according to the same requesting user, and send the identified data packet of the same video service to the association unit 702, where the data packet of the same video service includes: a video request data packet, and a video response data. Packet and video content data package;
关联单元 702, 用于接收识别单元 701发送的同一视频业务的数据包, 将视频请求数据包、 视频响应数据包和视频内容数据包进行关联, 得到视频 片段, 并将得到的视频片段发送给确定单元 703;  The association unit 702 is configured to receive the data packet of the same video service sent by the identification unit 701, associate the video request data packet, the video response data packet, and the video content data packet to obtain a video segment, and send the obtained video segment to the determination. Unit 703;
确定单元 703 , 用于接收关联单元 702关联得到的视频片段, 依据视频 片段, 确定视频业务的 KQI。  The determining unit 703 is configured to receive the video segment associated with the association unit 702, and determine the KQI of the video service according to the video segment.
其中, 关联单元 702, 用于:  The association unit 702 is configured to:
在已经存储该请求用户针对该视频业务的已关联的视频片段、且已关联 的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数据 包的视频封装格式相同时, 将当前视频请求数据包、 当前视频响应数据包和 在未存储该请求用户针对该视频业务的已关联的视频片段时、或者已关 联的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数 据包的视频封装格式不同时, 将当前视频请求数据包、 当前视频响应数据包 和当前视频内容数据包作为一个新的视频片段。  The current video is the same when the video encapsulation format of the video content data packet included in the requested video segment of the requested video segment is the same as the video encapsulation format of the current video content data packet. a request packet, a current video response packet, and a video encapsulation format and current video content data of the video content packet included in the associated video segment when the requested user's associated video segment for the video service is not stored When the video encapsulation format of the packet is different, the current video request packet, the current video response packet, and the current video content packet are used as a new video segment.
其中, 关联单元 702, 用于:  The association unit 702 is configured to:
确定当前视频请求数据包为重定向请求数据包时,在与当前视频内容数 据包的视频封装格式相同的已关联视频片段中, 确定待组合视频片段; 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包, 组合至确定出的待组合视频片段上, 其中, 待组合视频片段包含的视频响应 数据包的头部信息中携带的重定向地址 Location值与当前视频请求数据包 的头部信息中携带的统一资源定位符 URL值相等。 Determining, when the current video request data packet is a redirect request data packet, determining the video segment to be combined in the associated video segment having the same video encapsulation format as the current video content data packet; Combining the current video request data packet, the current video response data packet, and the current video content data packet to the determined video segment to be combined, where the video information of the video response data packet included in the video segment to be combined is carried in the header information The directional address Location value is equal to the Uniform Resource Locator URL value carried in the header information of the current video request packet.
其中, 关联单元 702, 用于:  The association unit 702 is configured to:
确定当前视频内容数据包的视频封装格式为 TS格式时, 根据当前视频 请求数据包中携带的索引关键字,在与当前视频内容数据包的视频封装格式 相同的已关联视频片段中确定待组合视频片段, 并将当前视频请求数据包、 段上;  When the video encapsulation format of the current video content data packet is determined to be in the TS format, the video to be combined is determined in the associated video segment having the same video encapsulation format as the current video content data packet according to the index key carried in the current video request data packet. Fragment, and the current video request packet, segment;
其中, 当索引关键字为内容片段关键字时, 待组合视频片段包含的视频 请求数据包中携带有与内容片段关键字相对应的内容索引关键字;  Wherein, when the index key is a content segment keyword, the video request data packet included in the video segment to be combined carries a content index keyword corresponding to the content segment keyword;
当索引关键字为内容索引关键字时,待组合视频片段包含的视频请求数 据包中携带有与内容索引关键字相对应的带宽索引关键字;  When the index key is a content index keyword, the video request data packet included in the video segment to be combined carries a bandwidth index keyword corresponding to the content index keyword;
当索引关键字为带宽索引关键字时,待组合视频片段包含的视频请求数 据包的统一资源标识符 URI与当前视频片段包含的视频请求数据包的 URI 相同。  When the index key is a bandwidth index key, the uniform resource identifier URI of the video request packet included in the video segment to be combined is the same as the URI of the video request data packet included in the current video clip.
其中, 关联单元 702, 用于:  The association unit 702 is configured to:
确定当前视频片段包含的视频内容数据包的视频封装格式为非 TS格式 时,确定当前视频请求数据包中携带的、用于标识视频开始的关键字的数值, 不为用于标识新视频开始的数值。  When determining that the video encapsulation format of the video content data packet included in the current video segment is a non-TS format, determining a value of a keyword carried in the current video request data packet for identifying the start of the video is not used to identify the start of the new video. Value.
其中, 关联单元 702, 还用于:  The association unit 702 is further configured to:
确定获取当前视频请求数据包的时间与获取上一个已关联视频片段中 包含的视频请求数据包的时间差值在设定的时差门限值内。  The time difference between the time when the current video request packet is obtained and the video request packet included in the previous associated video segment is determined to be within the set time difference threshold.
其中, 确定单元 703 , 用于:  Wherein, the determining unit 703 is configured to:
根据视频片段, 确定视频初始播放成功率、 视频初始緩冲平均时延、 视 频播放停顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下载 速率其中的至少一种; According to the video clip, determine the video initial playback success rate, video initial buffer average delay, view At least one of a frequency play pause rate, a video hourly pause, a video hourly pause delay, and a video average download rate;
其中, 视频初始播放成功率表征视频播放成功个数占视频总数的比例; 视频初始緩冲平均时延表征视频初始緩冲所用的时间; 视频播放停顿率表征 出现停顿的话单占所有话单的比例; 视频停顿次数表征每小时内播放相同长 度视频的停顿次数; 视频停顿时延表征播放相同长度视频的停顿时延; 视频 平均下载速率表征视频下载速率。  The video initial playback success rate indicates the proportion of successful video playback to the total number of videos; the video initial buffer average delay characterizes the time used for initial buffering of the video; the video playback pause rate characterizes the proportion of the paused bills to all the bills. The number of video pauses characterizes the number of pauses for playing the same length of video per hour; the video pause delay characterizes the pause delay for playing the same length of video; the average video download rate characterizes the video download rate.
本发明提供的视频业务处理装置,通过预先识别出同一请求用户针对同 一视频业务的数据包, 并针对每次识别的同一视频业务数据包包括的视频请 求数据包、 视频响应数据包和视频内容数据包关联为视频片段, 能够得到每 个用户针对一次视频业务的全部的视频片段, 即可得到准确且完整的视频 流,通过准确完整的视频流进行视频质量的分析,有利于真实反映用户感受, 最终达到提升统计视频业务 KQI的目的。  The video service processing apparatus provided by the present invention, by pre-identifying the data packets of the same requesting user for the same video service, and requesting the video request data packet, the video response data packet, and the video content data included in the same video service data packet for each identification. The packet is associated with a video segment, and each video segment of each user for one video service can be obtained, and an accurate and complete video stream can be obtained, and the video quality is analyzed through an accurate and complete video stream, which is beneficial to truly reflecting the user experience. Finally, the purpose of improving the statistical video business KQI is achieved.
本发明还提供一种网络设备, 该网络设备包括上述涉及的视频业务处理 装置。  The present invention also provides a network device comprising the video service processing device involved above.
本发明实施例提供的上述视频业务处理装置, 可以是独立的部件, 也可 以是集成于其他部件中, 例如本发明实施例提供的上述视频业务处理装置可 以是现有通信网络中的任何具有数据釆集功能的网络设备,也可以是集成于 网络设备内的新的部件。  The foregoing video service processing apparatus provided by the embodiment of the present invention may be an independent component, or may be integrated into other components. For example, the video service processing apparatus provided by the embodiment of the present invention may be any data in the existing communication network. The network device that collects functions can also be a new component integrated in the network device.
进一步的, 本发明实施例中提供的网络设备可以是在无线接入网和核心 网间的 Iu-PS接口、在 NodeB和 RNC间的 Iub接口或者 SGSN和 GGSN间的 Gp接 口之间设置的数据釆集设备,也可以是设置在包括无线网络侧在内的网络侧 上的诸如基站控制器等通信网元。  Further, the network device provided in the embodiment of the present invention may be an Iu-PS interface between the radio access network and the core network, an Iub interface between the NodeB and the RNC, or a data set between the Gp interface between the SGSN and the GGSN. The collection device may also be a communication network element such as a base station controller disposed on the network side including the wireless network side.
需要说明的是,本发明实施例中的视频业务处理装置的各个模块 /单元的 功能实现以及交互方式可以进一步参照相关方法实施例的描述。  It should be noted that the function implementation and the interaction manner of each module/unit of the video service processing apparatus in the embodiment of the present invention may be further referred to the description of the related method embodiments.
实施例七 基于本发明实施例提供的视频业务处理方法和视频业务处理装置, 本发 明实施例提供了一种网络控制设备, 如图 8所示, 该网络控制设备包括处理 器 801和存储器 802, 其中: Example 7 The video service processing method and the video service processing apparatus provided by the embodiment of the present invention provide a network control device. As shown in FIG. 8, the network control device includes a processor 801 and a memory 802, where:
处理器 801 , 用于根据同一请求用户识别同一视频业务的数据包, 将识 别得到的同一视频业务的数据包关联得到视频片段, 并将关联得到的视频片 段传送给存储器 802进行存储 ,同一视频业务的数据包包括视频请求数据包、 视频响应数据包和视频内容数据包。  The processor 801 is configured to identify a data packet of the same video service according to the same requesting user, and associate the identified data packet of the same video service to obtain a video segment, and transmit the associated video segment to the memory 802 for storage, and the same video service. The data packets include video request packets, video response packets, and video content packets.
存储器 802, 用于对处理器 801关联得到的视频片段进行存储, 并根据 存储的视频片段确定视频业务的 KQI。  The memory 802 is configured to store the video segment associated with the processor 801, and determine a KQI of the video service according to the stored video segment.
本发明提供的网络控制设备,通过预先识别出同一请求用户针对同一视 频业务的数据包, 并针对每次识别的同一视频业务数据包包括的视频请求数 据包、 视频响应数据包和视频内容数据包关联为视频片段, 能够得到每个用 户针对一次视频业务的全部的视频片段, 即可得到准确且完整的视频流, 通 过准确完整的视频流进行视频质量的分析, 有利于真实反映用户感受, 最终 达到提升统计视频业务 KQI的目的。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  The network control device provided by the present invention, by pre-identifying the data packets of the same requesting user for the same video service, and requesting the video request data packet, the video response data packet and the video content data packet included in the same video service data packet for each identification. Associating into video clips, you can get all the video clips for each video service for each user, you can get accurate and complete video stream, and analyze the video quality through accurate and complete video stream, which is beneficial to truly reflect the user's feelings. To achieve the purpose of improving the statistical video business KQI. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权利要求 Rights request
1、 一种视频业务处理方法, 其特征在于, 包括: 1. A video service processing method, characterized by including:
根据同一请求用户识别同一视频业务的数据包, 所述同一视频业务的数 据包包括: 视频请求数据包、 视频响应数据包和视频内容数据包; According to the same requesting user, the data packets of the same video service are identified, and the data packets of the same video service include: video request data packet, video response data packet and video content data packet;
将所述视频请求数据包、视频响应数据包和视频内容数据包关联为视频 片段; Associating the video request data packet, video response data packet and video content data packet into video clips;
依据所述视频片段, 确定视频业务的关键质量指标 KQI。 Based on the video clips, the key quality indicator KQI of the video service is determined.
2、 如权利要求 1 所述的视频业务处理方法, 其特征在于, 所述将所述 视频请求数据包、 视频响应数据包和视频内容数据包关联为视频片段, 具体 包括: 2. The video service processing method according to claim 1, wherein the associating the video request data packet, the video response data packet and the video content data packet into video clips specifically includes:
在已经存储该请求用户针对该视频业务的已关联的视频片段、且已关联 的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数据 包的视频封装格式相同时, 将当前视频请求数据包、 当前视频响应数据包和 在未存储该请求用户针对该视频业务的已关联的视频片段时、或者已关 联的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数 据包的视频封装格式不同时, 将当前视频请求数据包、 当前视频响应数据包 和当前视频内容数据包作为一个新的视频片段。 When the associated video segment of the requesting user for the video service has been stored, and the video encapsulation format of the video content data packet contained in the associated video segment is the same as the video encapsulation format of the current video content data packet, the current video The request data packet, the current video response data packet, and the video encapsulation format of the video content data packet contained in the associated video segment when the requesting user has not stored the associated video segment for the video service and the current video content data When the video encapsulation formats of the packets are different, the current video request data packet, the current video response data packet and the current video content data packet are used as a new video segment.
3、 如权利要求 2所述的视频业务处理方法, 其特征在于, 所述将当前 视频请求数据包、 当前视频响应数据包和当前视频内容数据包组合至已关联 的视频片段上, 具体包括: 3. The video service processing method according to claim 2, wherein said combining the current video request data packet, the current video response data packet and the current video content data packet into the associated video clip specifically includes:
确定当前视频请求数据包为重定向请求数据包时,在与当前视频内容数 据包的视频封装格式相同的已关联视频片段中, 确定待组合视频片段; 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包, 组合至确定出的待组合视频片段上, 其中, 所述待组合视频片段包含的视频 响应数据包的头部信息中携带的重定向地址 Location值与当前视频请求数 据包的头部信息中携带的统一资源定位符 URL值相等。 When it is determined that the current video request data packet is a redirection request data packet, determine the video fragment to be combined in the associated video fragment with the same video encapsulation format as the current video content data packet; combine the current video request data packet and the current video response data packet and the current video content data packet, combined to the determined video segment to be combined, where the redirection address Location value carried in the header information of the video response data packet contained in the video segment to be combined is the same as the current video request number. The uniform resource locator URL values carried in the header information of the data packets are equal.
4、 如权利要求 2所述的视频业务处理方法, 其特征在于, 所述将当前 视频请求数据包、 当前视频响应数据包和当前视频内容数据包组合至已关联 的视频片段, 具体包括: 4. The video service processing method as claimed in claim 2, wherein combining the current video request data packet, the current video response data packet and the current video content data packet into the associated video clip specifically includes:
确定当前视频内容数据包的视频封装格式为 TS格式时, 根据当前视频 请求数据包中携带的索引关键字,在与当前视频内容数据包的视频封装格式 相同的已关联视频片段中确定待组合视频片段, 并将当前视频请求数据包、 段上; When it is determined that the video encapsulation format of the current video content data packet is the TS format, the video to be combined is determined among the associated video segments that are the same as the video encapsulation format of the current video content data packet according to the index keyword carried in the current video request data packet. segment, and place the current video request packet on the segment;
其中, 当所述索引关键字为内容片段关键字时, 所述待组合视频片段包 含的视频请求数据包中携带有与所述内容片段关键字相对应的内容索引关 键字; Wherein, when the index keyword is a content segment keyword, the video request data packet contained in the video segment to be combined carries the content index keyword corresponding to the content segment keyword;
当所述索引关键字为内容索引关键字时, 所述待组合视频片段包含的视 频请求数据包中携带有与所述内容索引关键字相对应的带宽索引关键字; 当所述索引关键字为带宽索引关键字时, 所述待组合视频片段包含的视 频请求数据包的统一资源标识符 URI 与所述当前视频片段包含的视频请求 数据包的 URI相同。 When the index key is a content index key, the video request data packet contained in the video clip to be combined carries a bandwidth index key corresponding to the content index key; when the index key is When the bandwidth index keyword is used, the uniform resource identifier URI of the video request data packet included in the video segment to be combined is the same as the URI of the video request data packet included in the current video segment.
5、 如权利要求 2所述的视频业务处理方法, 其特征在于, 将当前视频 请求数据包、 当前视频响应数据包和当前视频内容数据包组合至已关联的视 频片段之前, 还包括: 5. The video service processing method according to claim 2, characterized in that, before combining the current video request data packet, the current video response data packet and the current video content data packet into the associated video clip, it also includes:
确定当前视频片段包含的视频内容数据包的视频封装格式为非 TS格式 时,确定当前视频请求数据包中携带的、用于标识视频开始的关键字的数值, 不为用于标识新视频开始的数值。 When it is determined that the video encapsulation format of the video content data packet contained in the current video clip is a non-TS format, it is determined that the value of the keyword used to identify the start of the video carried in the current video request data packet is not the value used to identify the start of a new video. numerical value.
6、 如权利要求 2-5 任一项所述的视频业务处理方法, 其特征在于, 将 当前视频片段组合至已关联的视频片段上之前, 还包括: 6. The video service processing method according to any one of claims 2 to 5, characterized in that, before combining the current video clips to the associated video clips, it also includes:
确定获取当前视频请求数据包的时间与获取上一个已关联视频片段中 包含的视频请求数据包的时间差值在设定的时差门限值内。 Determine the time of obtaining the current video request packet and the time of obtaining the previous associated video clip. The time difference of the included video request packet is within the set time difference threshold.
7、 如权利要求 1-5 任一项所述的视频业务处理方法, 其特征在于, 依 据所述视频片段, 确定视频业务的 KQI包括: 7. The video service processing method according to any one of claims 1 to 5, characterized in that, based on the video clip, determining the KQI of the video service includes:
根据所述视频片段,确定视频初始播放成功率、视频初始緩冲平均时延、 视频播放停顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下 载速率中的至少一种; According to the video clip, determine at least one of the initial video playback success rate, the average video initial buffering delay, the video playback pause rate, the number of video pauses per hour, the video pause delay per hour, and the average video download rate;
其中, 所述视频初始播放成功率表征视频播放成功个数占视频总数的比 例; 所述视频初始緩冲平均时延表征视频初始緩冲所用的时间; 所述视频播 放停顿率表征出现停顿的话单占所有话单的比例; 所述视频停顿次数表征每 小时内播放相同长度视频的停顿次数; 所述视频停顿时延表征播放相同长度 视频的停顿时延; 所述视频平均下载速率表征视频下载速率。 Among them, the video initial playback success rate represents the proportion of the number of successful video playbacks to the total number of videos; the average video initial buffering delay represents the time used for the initial video buffering; the video playback pause rate represents the bill of pauses. The proportion of all call bills; The number of video pauses represents the number of pauses in playing videos of the same length per hour; The video pause delay represents the pause delay in playing videos of the same length; The average video download rate represents the video download rate .
8、 一种视频业务处理装置, 其特征在于, 包括识别单元、 关联单元和 确定单元, 其中, 8. A video service processing device, characterized in that it includes an identification unit, an association unit and a determination unit, wherein,
所述识别单元, 用于根据同一请求用户识别同一视频业务的数据包, 并 将识别的同一视频业务的数据包发送给所述关联单元, 所述同一视频业务的 数据包包括: 视频请求数据包、 视频响应数据包和视频内容数据包; The identification unit is configured to identify data packets of the same video service according to the same requesting user, and send the identified data packets of the same video service to the association unit. The data packets of the same video service include: video request data packets , video response data packet and video content data packet;
所述关联单元, 用于接收所述识别单元发送的同一视频业务的数据包, 将所述视频请求数据包、 视频响应数据包和视频内容数据包进行关联, 得到 视频片段, 并将得到的视频片段发送给所述确定单元; The correlation unit is configured to receive data packets of the same video service sent by the identification unit, correlate the video request data packet, video response data packet and video content data packet to obtain video clips, and obtain the video clips. The fragments are sent to the determining unit;
所述确定单元, 用于接收所述关联单元关联得到的视频片段, 依据所述 视频片段, 确定视频业务的关键质量指标 KQI。 The determining unit is configured to receive the video clips associated by the correlation unit, and determine the key quality indicator KQI of the video service based on the video clips.
9、 如权利要求 8所述的视频业务处理装置, 其特征在于, 所述关联单 元, 用于: 9. The video service processing device according to claim 8, characterized in that the association unit is used for:
在已经存储该请求用户针对该视频业务的已关联的视频片段、且已关联 的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数据 包的视频封装格式相同时, 将当前视频请求数据包、 当前视频响应数据包和 在未存储该请求用户针对该视频业务的已关联的视频片段时、或者已关 联的视频片段中包含的视频内容数据包的视频封装格式与当前视频内容数 据包的视频封装格式不同时, 将当前视频请求数据包、 当前视频响应数据包 和当前视频内容数据包作为一个新的视频片段。 When the associated video segment of the requesting user for the video service has been stored, and the video encapsulation format of the video content data packet contained in the associated video segment is the same as the video encapsulation format of the current video content data packet, the current video request packet, current video response packet and When the associated video clip of the requesting user for the video service is not stored, or when the video encapsulation format of the video content data packet contained in the associated video clip is different from the video encapsulation format of the current video content data packet, the current The video request packet, current video response packet and current video content packet are used as a new video clip.
10、 如权利要求 9所述的视频业务处理装置, 其特征在于, 所述关联单 元, 用于: 10. The video service processing device according to claim 9, characterized in that the association unit is used for:
确定当前视频请求数据包为重定向请求数据包时,在与当前视频内容数 据包的视频封装格式相同的已关联视频片段中, 确定待组合视频片段; 将当前视频请求数据包、 当前视频响应数据包和当前视频内容数据包, 组合至确定出的待组合视频片段上, 其中, 所述待组合视频片段包含的视频 响应数据包的头部信息中携带的重定向地址 Location值与当前视频请求数 据包的头部信息中携带的统一资源定位符 URL值相等。 When it is determined that the current video request data packet is a redirection request data packet, determine the video fragment to be combined in the associated video fragment with the same video encapsulation format as the current video content data packet; combine the current video request data packet and the current video response data packet and the current video content data packet, combined to the determined video segment to be combined, wherein the redirection address Location value carried in the header information of the video response data packet contained in the video segment to be combined is the same as the current video request data The uniform resource locator URL values carried in the header information of the package are equal.
11、 如权利要求 9所述的视频业务处理装置, 其特征在于, 所述关联单 元, 用于: 11. The video service processing device according to claim 9, characterized in that the association unit is used for:
确定当前视频内容数据包的视频封装格式为 TS格式时, 根据当前视频 请求数据包中携带的索引关键字,在与当前视频内容数据包的视频封装格式 相同的已关联视频片段中确定待组合视频片段, 并将当前视频请求数据包、 段上; When it is determined that the video encapsulation format of the current video content data packet is the TS format, the video to be combined is determined among the associated video segments that are the same as the video encapsulation format of the current video content data packet according to the index keyword carried in the current video request data packet. segment, and place the current video request packet on the segment;
其中, 当所述索引关键字为内容片段关键字时, 所述待组合视频片段包 含的视频请求数据包中携带有与所述内容片段关键字相对应的内容索引关 键字; Wherein, when the index keyword is a content segment keyword, the video request data packet contained in the video segment to be combined carries the content index keyword corresponding to the content segment keyword;
当所述索引关键字为内容索引关键字时, 所述待组合视频片段包含的视 频请求数据包中携带有与所述内容索引关键字相对应的带宽索引关键字; 当所述索引关键字为带宽索引关键字时, 所述待组合视频片段包含的视 频请求数据包的统一资源标识符 URI 与所述当前视频片段包含的视频请求 数据包的 URI相同。 When the index key is a content index key, the video request data packet contained in the video clip to be combined carries a bandwidth index key corresponding to the content index key; when the index key is When using the bandwidth index keyword, the video clips to be combined include The uniform resource identifier URI of the video request data packet is the same as the URI of the video request data packet contained in the current video segment.
12、 如权利要求 9所述的视频业务处理装置, 其特征在于, 所述关联单 元, 用于: 12. The video service processing device according to claim 9, characterized in that the association unit is used for:
确定当前视频片段包含的视频内容数据包的视频封装格式为非 TS格式 时,确定当前视频请求数据包中携带的、用于标识视频开始的关键字的数值, 不为用于标识新视频开始的数值。 When it is determined that the video encapsulation format of the video content data packet contained in the current video clip is a non-TS format, it is determined that the value of the keyword used to identify the start of the video carried in the current video request data packet is not the value used to identify the start of a new video. numerical value.
13、 如权利要求 9-12任一项所述的视频业务处理装置, 其特征在于, 所述关联单元, 还用于: 13. The video service processing device according to any one of claims 9-12, characterized in that the association unit is also used to:
确定获取当前视频请求数据包的时间与获取上一个已关联视频片段中 包含的视频请求数据包的时间差值在设定的时差门限值内。 It is determined that the time difference between the time of obtaining the current video request data packet and the time of obtaining the video request data packet contained in the previous associated video clip is within the set time difference threshold.
14、 如权利要求 8-12 所述的视频业务处理装置, 其特征在于, 所述确 定单元, 用于: 14. The video service processing device according to claims 8-12, characterized in that the determining unit is used for:
根据所述视频片段,确定视频初始播放成功率、视频初始緩冲平均时延、 视频播放停顿率、 视频每小时停顿次数、 视频每小时停顿时延和视频平均下 载速率中的至少一种; According to the video clip, determine at least one of the initial video playback success rate, the average video initial buffering delay, the video playback pause rate, the number of video pauses per hour, the video pause delay per hour, and the average video download rate;
其中, 所述视频初始播放成功率表征视频播放成功个数占视频总数的比 例; 所述视频初始緩冲平均时延表征视频初始緩冲所用的时间; 所述视频播 放停顿率表征出现停顿的话单占所有话单的比例; 所述视频停顿次数表征每 小时内播放相同长度视频的停顿次数; 所述视频停顿时延表征播放相同长度 视频的停顿时延; 所述视频平均下载速率表征视频下载速率。 Among them, the video initial playback success rate represents the proportion of the number of successful video playbacks to the total number of videos; the average video initial buffering delay represents the time used for the initial video buffering; the video playback pause rate represents the bill of pauses. The proportion of all call bills; The number of video pauses represents the number of pauses in playing videos of the same length per hour; The video pause delay represents the pause delay in playing videos of the same length; The average video download rate represents the video download rate .
15、 一种网络设备, 其特征在于, 包括权利要求 8-14任一项所述的视 频业务处理装置。 15. A network device, characterized by comprising the video service processing device according to any one of claims 8-14.
PCT/CN2014/084983 2013-08-28 2014-08-22 Video service processing method and apparatus, and network device WO2015027860A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310381729.3A CN104427331B (en) 2013-08-28 2013-08-28 A kind of video traffic processing method, device and the network equipment
CN201310381729.3 2013-08-28

Publications (1)

Publication Number Publication Date
WO2015027860A1 true WO2015027860A1 (en) 2015-03-05

Family

ID=52585565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084983 WO2015027860A1 (en) 2013-08-28 2014-08-22 Video service processing method and apparatus, and network device

Country Status (2)

Country Link
CN (1) CN104427331B (en)
WO (1) WO2015027860A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636374A (en) * 2018-06-22 2019-12-31 北京京东尚科信息技术有限公司 Method and device for searching information
CN110958446B (en) * 2018-09-27 2022-08-12 中兴通讯股份有限公司 Video service quality evaluation method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685790A (en) * 2012-05-22 2012-09-19 北京东方文骏软件科技有限责任公司 Method for evaluating QoE (Quality of Experience) of mobile streaming media service perception experience by simulating user behaviors
CN102752792A (en) * 2011-12-26 2012-10-24 华为技术有限公司 Method, device and system for monitoring internet service quality of mobile terminal
US20130067109A1 (en) * 2011-09-12 2013-03-14 Tektronix, Inc. Monitoring Over-the-Top Adaptive Video Streaming
WO2013044997A1 (en) * 2011-09-28 2013-04-04 Telefonica, S.A. A method to measure quality of experience of a video service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7530086B2 (en) * 2000-12-12 2009-05-05 Hewlett-Packard Development Company, L.P. Media program timing and identity delivery method and system
CN101651826B (en) * 2008-08-15 2012-08-08 华为技术有限公司 Method and device for sending and receiving media and system
WO2011100901A2 (en) * 2011-04-07 2011-08-25 华为技术有限公司 Method, device and system for transmitting and processing media content
CN102857794B (en) * 2011-06-28 2018-03-06 上海聚力传媒技术有限公司 A kind of method and apparatus for being used to merge video segmentation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067109A1 (en) * 2011-09-12 2013-03-14 Tektronix, Inc. Monitoring Over-the-Top Adaptive Video Streaming
WO2013044997A1 (en) * 2011-09-28 2013-04-04 Telefonica, S.A. A method to measure quality of experience of a video service
CN102752792A (en) * 2011-12-26 2012-10-24 华为技术有限公司 Method, device and system for monitoring internet service quality of mobile terminal
CN102685790A (en) * 2012-05-22 2012-09-19 北京东方文骏软件科技有限责任公司 Method for evaluating QoE (Quality of Experience) of mobile streaming media service perception experience by simulating user behaviors

Also Published As

Publication number Publication date
CN104427331B (en) 2017-12-01
CN104427331A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
TWI519147B (en) System and method for providing and transmitting condensed streaming content
RU2644400C2 (en) Method and device for transmitting media data in multimedia transport system
US9032427B2 (en) System for monitoring a video network and methods for use therewith
EP2840798A1 (en) Reception device, reception method, transmission device, transmission method, and program
CN102006605A (en) Methods and apparatus to identify wireless carrier performance effects
CN105308916A (en) Method and apparatus for controlling media delivery in multimedia transport network
CN106254902B (en) A kind of method and system for perceiving and analyzing based on mobile Internet video user
KR101602175B1 (en) System and method for recognizing broadcast program content
WO2012079396A1 (en) Method, device and system for bandwidth control
JP6132116B2 (en) Method, device and system for assessing user experience value of video quality
CN108235149B (en) Method and device for optimizing video playing fluency
CN102196319A (en) Live streaming service system and realization method
CN108965997B (en) Stream media live broadcasting method and device based on mobile vulnerable network environment
WO2017107670A1 (en) Video bit rate identification method and device
WO2015100560A1 (en) Method for predicting quality of experience of mobile video service, and base station
EP3491784A1 (en) Estimation of losses in a video stream
US10701408B2 (en) Devices and methods for transmitting/receiving data in communication system
WO2015027860A1 (en) Video service processing method and apparatus, and network device
WO2016003244A1 (en) Method and device for receiving media packets in multimedia system
CN106688240A (en) Method and device for remotely recording video programs
WO2015106524A1 (en) Method, apparatus and server for notifying/sending usage of service package
WO2010040267A1 (en) Method and system for publishing the services of the mobile multimedia terminal
WO2007137500A1 (en) Public video system and implementation method
WO2012010008A1 (en) Method and system for collecting live viewing data in iptv audience measurement
KR100877883B1 (en) Method and apparatus for providing optimized streamming services by each wiress datacommunication network

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

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

Country of ref document: EP

Kind code of ref document: A1