CN102546191B - Streaming service charging method, apparatus and system for - Google Patents

Streaming service charging method, apparatus and system for Download PDF

Info

Publication number
CN102546191B
CN102546191B CN201210021090.3A CN201210021090A CN102546191B CN 102546191 B CN102546191 B CN 102546191B CN 201210021090 A CN201210021090 A CN 201210021090A CN 102546191 B CN102546191 B CN 102546191B
Authority
CN
China
Prior art keywords
stream
price
quality
mass
media content
Prior art date
Application number
CN201210021090.3A
Other languages
Chinese (zh)
Other versions
CN102546191A (en
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 华为技术有限公司
Priority to CN201210021090.3A priority Critical patent/CN102546191B/en
Publication of CN102546191A publication Critical patent/CN102546191A/en
Application granted granted Critical
Publication of CN102546191B publication Critical patent/CN102546191B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects
    • H04M15/8016Rating or billing plans; Tariff determination aspects based on quality of service [QoS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/50Network service management, i.e. ensuring proper service fulfillment according to an agreement or contract between two parties, e.g. between an IT-provider and a customer
    • H04L41/5029Service quality level based billing, e.g. dependent on measured service level customer is charged more or less
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/80QoS aspects

Abstract

本发明实施例提供一种流媒体服务的计费方法、装置及系统,该方法包括:获取同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格;根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率;根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用;依据该实际费用对用户进行计费。 Embodiment of the present invention provides a media service charging method, apparatus and system stream, the method comprising: obtaining media content class with the quality of different media data streams setting quality-price ratio, the mass of each codestream mass ratio is the relationship between price and the actual price of the standard price of the reference quality data stream is determined, the actual price of a particular quality to the standard price of the streaming media content data stream; play streaming media content in accordance with process for the mass stream fragments within each time segment downloaded is determined based on the mass of the play premium price rate of streaming media content; charge ratio obtained according to the playing terminal and the standard price to obtain the flow the actual cost of media content; to charge users based on the actual costs. 本发明实施例的计费方式更为灵活。 Charging mode embodiment of the present invention is more flexible.

Description

流媒体服务的计费方法、装置及系统 Streaming service charging method, apparatus and system for

技术领域 FIELD

[0001] 本发明属于流媒体技术领域,尤其设及一种流媒体服务的计费方法、装置及系统。 [0001] The present invention belongs to the technical field of streaming media, and in particular, the charging method is provided in a streaming media service, device and system.

背景技术 Background technique

[0002] 目前,流媒体服务越来越多,如在线音乐、在线视频、数字电视等。 [0002] At present, more and more streaming services, such as online music, online video and digital television. 目前流媒体服务的计费方式主要为:针对特定质量的流媒体服务进行定价,用户在使用流媒体服务之前首先需要付费,例如用户在通过在线视频网站观看付费高清电影之前,首先需要在线支付5 元左右的费用,然后就可W获得观看特定高清电影的许可,进而观看该电影。 Currently streaming service billing mainly: pricing for specific quality streaming service, users first need to pay before using streaming media services, such as high-definition movies the user before paying to watch online video site, you first need to pay 5 online about the yuan fee, then you can get W HD movies to watch specific permission and then watch the movie.

[0003] 但是,受限于终端对媒体数据的处理能力W及网络带宽状况,流媒体的服务质量在实际观看中往往得不到保证,尤其是在开放的互联网环境下,可能经常有延迟、丢包、传输误码等现象出现。 [0003] However, limited by the processing capacity of the terminal W and network bandwidth for media data, quality of service in the actual viewing of streaming media often can not be guaranteed, especially in the open Internet, may often be delayed, packet loss, transmission errors and other phenomena. 而现有技术中在对流媒体服务进行计费时仅仅考虑用户最初的选择, 该计费方法不够灵活。 But only consider the initial choice when user charging in the prior art streaming media services, the billing method is not flexible enough.

发明内容 SUMMARY

[0004] 本发明实施例提供一种流媒体服务的自适应计费方法、装置及系统,能够使得计费方法更灵活。 [0004] The adaptive charging method, apparatus and system according to the present invention provides a streaming service, so that the charging method can be more flexible.

[0005] 本发明的一个实施例提供一种流媒体服务的计费方法,包括: [0005] One embodiment provides method for charging a streaming media service according to the present invention, comprising:

[0006] 获取同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格; [0006] get different mass media content class with the quality of the media data stream of price setting, quality and price of each stream is to determine the relationship between the quality of the actual price and the standard price of the reference quality data stream , the standard price is the actual price of a particular data stream mass flow of the media content;

[0007] 根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率; [0007] The play premium rate for the streaming media content according to the determined price based on the mass ratio during the playing of the stream media content stream for the mass of the fragment within the respective time segment downloaded;

[000引根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用; [000 obtained according to the primer charge rate and the standard price to obtain the actual cost of the terminal plays streaming media content;

[0009] 依据该实际费用对用户进行计费。 [0009] to charge users based on the actual costs.

[0010] 另一方面,本发明实施例还提供一种流媒体服务的计费装置,包括: [0010] On the other hand, embodiments of the present invention further provides an apparatus for charging a streaming service, comprising:

[0011] 质量价格率获取单元,用于获取同一流媒体内容的不同质量的媒体数据流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格; [0011] Quality price ratio acquisition unit for acquiring quality and price of the media data stream of media content class with a set of different quality, quality and price for each quality of the code stream is the stream of data with reference to the actual quality relationship between the standard price and the price is determined, the actual price is a standard price of the particular quality of streaming media content data stream;

[0012] 付费率统计单元,用于根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率; [0012] charge rate statistics unit for mass codestream fragments for each time segment within the downloaded determined play premium rate for the streaming media content during playback of streaming media content according to the quality and price ratio;

[0013] 计费单元,用于计算所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用,并依据该实际费用对用户进行计费。 [0013] charging unit for calculating the resulting charge rate and the standard price to obtain the actual cost of the terminal plays streaming media content, and to charge users according to the actual costs.

[0014] 再一方面,本发明实施例还提供一种网络系统,包括服务器、流媒体服务的计费装置和终端,其中, [0014] In another aspect, embodiments of the present invention further provides a network system comprising a server, and the terminal apparatus charging a streaming service, wherein

[0015] 所述服务器,用于产生不同质量的媒体数据码流片段供终端下载播放; [0015] The server, for generating the quality of different media data stream segment for the terminal to download the player;

[0016] 所述流媒体服务的计费装置,用于获取同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格;根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量, 根据所述质量价格率确定播放该流媒体内容的付费率;根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用;依据该实际费用对用户进行计费; [0016] The streaming media service charging means for acquiring media content class with the quality of different media data streams setting quality-price ratio, quality and price for each quality of the code stream is the reference mass relationship between the actual price and the price of the standard data symbol stream determined, the streaming media content to a specific quality of the actual price of the standard price data stream; according to the procedure in the play streaming media content in each time slice for the mass stream segments downloaded is determined based on the mass of the play premium price rate of streaming media content; to give the actual cost of the terminal plays streaming media content according to the charge rate and the standard price obtained; according to the The actual cost to charge users;

[0017] 所述终端,用于在播放流媒体内容过程中,针对各个时间片段下载码流片段。 The [0017] terminal for during playback of the streaming media content, download stream segments for each time segment.

[001引由此可见,本发明实施例提供的方法根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量来统计播放流媒体内容的实际费用,该就使得计费方式更为灵活。 [001 cited Thus, the method provided in the embodiment of the present invention during the playing of the stream media content stream for the mass of the fragment within the respective time segment downloaded to count the actual cost to play streaming media content, which makes charging more flexible manner.

附图说明 BRIEF DESCRIPTION

[0019] 为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可W根据该些附图获得其他的附图。 [0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, briefly describes the accompanying drawings required for describing the embodiments used in the following embodiments will be apparent in the following description of the accompanying drawings show some embodiments of the present invention. , those of ordinary skill in the art is concerned, without any creative effort, W may also obtain other drawings according to the plurality of reference.

[0020] 图1是本发明实施例提供的流媒体服务的自适应计费方法的示意图; [0020] FIG. 1 is a schematic diagram of an adaptive charging method of streaming media services provided in the present embodiment of the invention;

[0021] 图2是本发明实施例一提供的流媒体服务的自适应计费方法的示意图; [0021] FIG. 2 is a schematic diagram of an adaptive charging method according to a first streaming media service embodiment of the present invention;

[002引图3是A服流媒体数据码流的示意图; [002 Primer 3 is a schematic of the media data stream A service stream;

[002引图4是一种MPD文件的示意图; [002 FIG. 4 is a schematic diagram of a lead MPD file;

[0024] 图5是在图4中的MPD文件的基础上加入质量价格率形成的PMPD文件的示意图; [0024] FIG. 5 is a schematic diagram of added mass on the basis of price MPD file in FIG. 4 formed on PMPD file;

[0025] 图6是整个流媒体内容完成所经历的码流片段的选择过程示意图; [0025] FIG. 6 is a schematic view of the overall streaming media content to complete the selection process stream segments experienced;

[0026] 图7是本发明实施例提供的流媒体服务器的自适应计费装置的示意图; [0026] FIG. 7 is a schematic diagram of an adaptive charging apparatus embodiment of the streaming media server according to the present invention;

[0027] 图8是图7中付费率统计单元的一种具体实施方式示意图; [0027] FIG. 8 is a schematic diagram in FIG. 7 charge rate statistics unit a specific embodiment;

[002引图9是图7中付费率统计单元的另一种具体实施方式示意图; [002 cited in FIG. 9 is a schematic charge rate statistics unit 7 is another specific embodiment;

[0029] 图10是图7中付费率统计单元的再一种具体实施方式示意图; [0029] FIG. 10 is a schematic diagram in FIG. 7 charge rate statistics unit another particular embodiment;

[0030] 图11是本发明系统实施例的一种具体实施例示意图。 [0030] FIG. 11 is a diagram showing a specific embodiment of the invention is to implement a system of the present embodiment.

具体实施方式 Detailed ways

[0031] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0031] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0032] 本发明实施例提供的流媒体服务的计费方法是在自适应流媒体技术的基础上实现的。 [0032] The streaming service charging method according to an embodiment of the present invention is implemented based on adaptive streaming technology on. 自适应流媒体技术包括自适应化化流媒体(A服)技术。 Adaptive streaming technology comprising of an adaptive streaming of (A service) technology. A服技术的基本思想是:在服务器产生多种码率的媒体数据码流,例如对应m种质量,分别记为Q0、Q1、Q2……、Qm-1 ; 每种码流切分成n个片段,分别对应的时间长度为TO、T1、T2、……、化-1。 A basic idea of ​​clothing technology are: generating multiple streams of media data rate in the server, for example, corresponding to m kinds of quality, are denoted as Q0, Q1, Q2 ......, Qm-1; each cutting bit stream is divided into n fragment, corresponding to the length of time tO, T1, T2, ......, of -1. 自适应码流下载可W通过两种模式实现;服务器推送和终端驱动,其中在服务器推送的模式下,服务器根据终端的特点和网络状况为终端选择相应质量的码流;在终端驱动的模式下,终端根据自身的处理能力和网络状况选择下载相应质量的码流片段。 W adaptive stream may be achieved by downloading two modes; and a terminal server push drive, wherein in the server push model, the server selects the appropriate stream quality for the terminal according to the characteristics of the terminal and network conditions; at a terminal of the driving mode the terminal according to its own processing capabilities and network conditions to select the appropriate mass download code stream segments. 该种自适应过程是随着时间变化的。 This kind of adaptation of the process changes over time. 服务器会产生一个媒体呈现描述(MediaPresentationDescription,MPD)文件发送给终端,在该文件中指示每个码流片段的码率、化化地址等信息。 Server generates a media presentation description (MediaPresentationDescription, MPD) file to the terminal, indicating the rate of each stream in the clip file, the information of the address. 终端可W根据该MTO文件和网络环境W及终端处理能做相应的码流选择和切换。 W terminal may do the corresponding code stream based on the selection and switching MTO file and network environment W and terminal processing. 如果该媒体内容是受到版权保护的,那么用户端在播放该媒体内容时还需要提供用户权限数据文件,该用户权限数据文件用于在用户端解密该媒体内容。 If the media content is protected by copyright, then the end user to play the media content will also be required to provide user permissions data files, data files the user permissions for the client to decrypt the media content. 一般地,用户权限数据文件包含如下参数:内容密钥、有效期开始时间、有效期结束时间、观看权限(浏览、下载、转发等)等。 In general, user rights data file contains the following parameters: content key valid start time, end time period, viewing rights (browsing, downloading, forwarding, etc.) and so on. 在本发明实施例中,可W将质量价格率信息加入到上述媒体呈现描述MTO文件或用户权限数据文件中。 In an embodiment of the present invention, the W mass price rate information added to the MTO media presentation description file or user permissions data file.

[0033] 参见图1,本发明实施例提供的流媒体服务的计费方法,包括: [0033] Referring to Figure 1, the charging method of streaming media services provided in the embodiment of the present invention, comprising:

[0034] 步骤S101 ;获取同一流媒体内容的不同质量的媒体数据码流的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的, 所述标准价格为流媒体内容的一个特定质量的数据码流的实际价格; [0034] Step S101; Quality price rate acquiring media data streams with different quality class of media content, quality and price for each quality of the code stream is the reference relationship between the actual price and the standard price of the data symbol stream mass determination of the actual price is a standard price of a particular streaming media content quality data symbol stream;

[0035] 其中,每个质量的码流的质量价格率等于该质量的数据码流的实际价格与所述标准价格之间的比例。 [0035] wherein, quality and price of each stream is equal to the mass of the mass ratio of the data symbol stream between the actual price and the standard price.

[0036] 步骤S102 ;根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据上述质量价格率确定播放该流媒体内容的付费率; [0036] Step S102; The fragments for the mass stream within each time segment downloaded determined play premium rate for the streaming media content during play streaming media content rate based on the quality and price;

[0037] 步骤S103;根据步骤S102中得到的付费率和上述标准价格,得到终端播放上述流媒体内容的实际费用。 [0037] Step S103; The charge rate and said standard price obtained in step S102, the terminal displays the actual cost to obtain the stream media content.

[003引步骤S104 ;依照步骤S103中得到的实际费用,对用户进行计费。 [Step S104 lead 003; step S103 in accordance with the actual costs obtained, to charge users.

[0039] 上述步骤S101至步骤S104中的执行主体可W是计费装置,该计费装置可W设置在每个终端中,此时该计费装置只负责其所在终端的流媒体计费功能;另外,计费装置也可W设置在中屯、控制设备中,而中屯、控制设备中的计费装置负责该中屯、控制设备所管辖的网络范围内的所有终端的流媒体服务计费功能。 [0039] The main body of the steps S101 to perform step S104 may be W is a charging means, the charging means may be provided in each terminal W, at which time the charging apparatus in which it is only responsible for streaming billing terminal ; Further, the charging means may be provided in a village W, the control apparatus, while the village, charging device control apparatus in charge of the village, the control flow meter all media services within the network terminal device jurisdiction fees function.

[0040] 由此可见,本发明提供的方法根据终端在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量来统计播放流媒体内容的实际费用,该就使得最终的实际费用考虑了在观看过程中因为码流质量的切换导致的费用变化,使得最终得到实际费用更公平合理。 [0040] Thus, the present invention provides a method based on the actual cost of the terminal during the playing of the stream media content stream for the mass of the fragment within the respective time segment statistics to play the downloaded streaming media content, which makes the actual final consider the cost of watching the process because the cost of switching flow changes caused by the quality of the code, make finally get the actual cost is more fair and reasonable.

[0041] W下W几个具体的例子详细说明本发明的具体实现。 [0041] W W at a few specific examples in detail to implementations of the present invention.

[0042] 实施例一 [0042] Example a

[0043] 本实施例中W AHS流媒体,并且自适应流媒体数据码流的下载采用终端驱动的方式为例进行说明,该方法包括如下步骤: [0043] Examples of the present embodiment W AHS streaming, downloading streaming media data and the adaptive code stream driven manner using the terminal as an example, the method comprising the steps of:

[0044] 步骤S201 ;服务器产生A服流媒体数据码流,W及MTO文件。 [0044] Step S201; A server generates the data stream the streaming media server, W, and MTO file. 该一步骤的具体实现是目前3GPP标准中关于A服技术的描述已有的,该里仅仅简单说明。 Specific implementation of this step is a standard 3GPP service A description of the prior art, which was only briefly described.

[0045] 假设服务器产生m种质量的媒体数据码流,m是大于等于1的自然数,该些码流的质量可W分别记为Q0、Q1、Q2、. . .、Qm-1。 [0045] Assuming the server generates m kinds of mass media data streams, m is a natural number of 1, the quality of the plurality of stream W may be denoted as Q0, Q1, Q2 ,..., Qm-1. 其中,Q0 >Q1 >Q2 > . . . >Qm-1。 Wherein, Q0> Q1> Q2>...> Qm-1. 每种质量的媒体数据码流分成n个片段,n是大于等于1的自然数,该些片段的时间长度分别为TO, T1,T2,...,化-1。 The quality of each media data stream is divided into n segments, n is a natural number greater than or equal to 1, the plurality of time length of the fragment were TO, T1, T2, ..., of -1. 产生的码流结构可W参见图3。 Code stream structure may produce W see Fig.

[0046] 产生的MTO文件可W包含媒体数据码流的质量、时间长度和地址等信息。 [0046] MTO resulting file may contain information W quality of the media data stream, the time length and addresses. 如图4 所示的MTO文件中/'Representation"表示某一种质量的码流/'Quality"表示码流对应的质量,"segmentLength"表示码流片段的时间长度。 MTO file shown in FIG. 4 / 'Representation "represents a certain kind of stream quality /' Quality" indicates the code corresponding to the stream quality, "segmentLength" represents the length of the time code stream segment. 在实际中,数据码流的质量可W通过各种能够反映码流质量的参数进行衡量,例如码流中每帖画面的分辨率、码流的采样率和码流的码率(PSNR)。 In practice, the quality of the data stream W may be capable of various parameters reflecting the quality of the code stream to measure, for example, the sampling rate of the bit stream of picture resolution of each post, the code stream and the code stream (PSNR) by. 需要说明的是,图4中仅仅展开示出了第m-1个码流的各个片段在MPD 文件中的信息,实际上在MTO文件中当然也具有其他码流的各个片段的信息。 Note that, in FIG. 4 only shows the first launched m-1 each segment code stream information file in the MPD, of course, actually has information on each section of the other stream in the MTO file.

[0047] 步骤S202;服务器定义同一流媒体内容的某一特定质量的流媒体数据码流的实际价格,作为标准价格。 [0047] Step S202; the actual price of a particular server as defined class quality of streaming media content data stream, as a standard price. 在实际中,可W定义对同一流媒体内容生成的多种不同质量中的媒体数据码流中最高质量的媒体数据码流的价格,当然也可W定义当中最低质量的多媒体数据码流的价格。 In practice, the price can be defined media W media data stream generated by a variety of different quality with first-class media content in the highest quality data stream, of course, also be defined W price multimedia data streams among the lowest quality .

[0048] 步骤S203;服务器基于自适应流媒体数据码流的质量高低,对同一流媒体内容的不同质量的媒体数据码流定义质量价格率,该质量价格率反映了该质量的数据码流的价格与步骤S202中定义的标准价格之间的比例,并且质量越高,该比例越大;质量越低,该比例越小。 [0048] Step S203; adaptive streaming server based on the level of quality of the media data stream, the media stream data rate defined for different quality and price of the media content class with the quality of the quality and price rate reflects the quality of the data stream in step S202 and the price ratio between the defined standard price, and the higher the quality, the larger the ratio; the lower the quality, the smaller the ratio.

[0049]例如,如果定义质量最高的媒体数据码流的价格作为标准价格,即定义了质量为Q0的媒体数据码流为标准价格,不妨记为C。 [0049] For example, if the highest price defined quality media data stream as a standard price, i.e. Q0 is defined as the mass of the media data stream is a standard price, it may referred to as C. 那么各个质量的媒体数据的质量价格率将满足: Then the quality and price of each media data quality will be met:

[0050] 1 = R〇>= Ri>= . . . >= Rm_i>= 0 [0050] 1 = R〇> = Ri> =...> = Rm_i> = 0

[CK)5U在实际中,可W设定质量阔值沪,对于只有观看的数据码流质量不低于该个阔值时才进行相应的计费,那么对于质量价格率就有如下的约束条件: [CK) 5U In practice, the width W set value Hu mass, accounting for the corresponding data stream only when the quality of one view is not less than the width value, there follows for the quality and price of constraints condition:

[0化2]而二0,如果Qi<Qti [0 of 2] and 20, if Qi <Qti

[005引其中iG(0,1,2, ...,mU。 [005 cited among iG (0,1,2, ..., mU.

[0054] 当然,也可W设定质量阔值矿2,对于观看的数据码流质量高于该个阔值时采用相同的费率计算,那么对于质量价格率就有如下的约束条件; [0054] Of course, also the width W is set to the value of mineral mass 2, when the data stream is higher than the quality of a wide viewing values ​​using the same rates, the price of the mass constraints have the following;

[0化5]而二1,如果Qi>QT2 [0056]其中i G (0,1,2, . . .,mU [0 of 5] 1 and two, if Qi> QT2 [0056] wherein i G (0,1,2,..., MU

[0化7]步骤S204 ;服务器将上述定义的质量价格率传递给终端,在本实施例中,服务器可W将质量价格率加入到生成的MTO文件中发送给终端。 [0 of 7] Step S204; mass transfer server to the price of the terminal as defined above, in the present embodiment, the server W can be mass added to the resulting price of MTO file transmitted to the terminal.

[005引由此,服务器将质量价格率加入到MPD文件中所生成的新的文件可W称为PMPD文件。 [005 cited Thus, the quality and price of the server is added to the MPD file generated new file may be referred to as W PMPD file.

[0化9]图5示出了在图4中的MPD文件的基础上加入质量价格率形成的PMPD文件的内容,其中QualityPriceRate;表示第i个码流对应的质量价格率,i G {0,1,2, . . .,m-1},。 [0 of 9] FIG. 5 shows the content of added mass price rate formed the basis MPD file in FIG. 4 on PMPD file, wherein QualityPriceRate; denotes the i th code stream corresponding quality-price ratio, i G {0 , 1,2,..., m-1} ,.

[0060]需要说明的是,质量价格率并不仅仅局限于上述通过PMTO文件传递的方式;还可W放在用户终端的权限数据文件中传递至终端,一般地,用户权限数据文件包含如下参数: 内容密钥、有效期开始时间、有效期结束时间、观看权限(浏览、下载、转发等)等;质量价格率也可其他的方式单独传递至终端。 [0060] Incidentally, the quality price ratio is not limited to the above-described manner is transmitted through the document PMTO; W may also be transmitted to the terminal in the terminal user permissions data file, in general, user permissions data file contains the following parameters : content key valid start time, end time period, viewing rights (browsing, downloading, forwarding, etc.); quality price rate can also be other ways to pass a separate terminal.

[0061] 步骤S205;终端解析PMPD文件中的信息,获得MTO文件中本身具有的有关码流的质量、时间长度和地址等信息,还可W获得加入其中的各个码流的质量价格率信息。 [0061] Step S205; PMPD terminal parses information in the file, the file itself is obtained having a mass of MTO related stream, the length and address information may be added to obtain a W mass which price information of each stream.

[0062] 在实际中,可W通过参数标识来解析上述各个参数W及参数的数值。 [0062] In practice, the value of W to resolve the above-described various parameters and parameter W by the parameter identification.

[0063] 当然,如果质量价格率信息不是加入到MTO文件中,那么终端需要通过传递质量价格率的文件进行解析得到质量价格率信息,如果质量价格率信息是通过其他形式单独传递给终端的,那么终端只需要解析该单独传递的信息即可得到质量价格率信息。 [0063] Of course, if the quality and price of information is not added to the MTO file, the terminal need to transfer the file quality price ratio is resolved mass price rate information, if the quality and price rate information is transmitted to the terminal by other forms alone, then the terminal only needs to parse the information passed to a separate price rate information obtained mass.

[0064] 不论如何,只要质量价格率不是加入到MTO文件传递给终端的,那么服务器向终端发送的是原始的MTO文件,终端解析的也是该MTO文件。 [0064] In any case, as long as the quality price rate is not added to the MTO document delivered to the terminals, then the server sends to the terminal is the original MTO file, parses the terminal is the MTO file.

[0065] 步骤S206;终端对每个时间片段自适应选择码流,该自适应码流的过程包括:根据自身对媒体数据的处理能力W及当前的网络状况(例如带宽)确定当前应请求的码流的质量。 [0065] Step S206; stream adaptive selection terminal for each time segment, the adaptive process stream comprising: determining a current request should be processed according to its own capabilities and current network status W for the media data (e.g., bandwidth) mass stream.

[0066] 终端自身对媒体数据的处理能力可W通过读取终端的硬件设置信息获取;而当前的网络状况可W通过读取网络设置信息获取。 [0066] The processing capability of the terminal for the media data itself may be provided by hardware information acquiring W reading terminal; and W may be the current network status information obtained by reading the network settings. 在综合上面两个因素进行确定应请求的码流的质量时,可两个因素中较低的为标准确定应请求的码流的质量。 When determining the mass flow of the request code in the above two factors, two elements may be determined in a low mass flow of the request code as a standard.

[0067] 确定的当前应请求的码流的质量应当属于服务器所定义的码流质量,例如通过PMTO文件或者其他文件携带的码流质量,但是在实际中,在考虑媒体数据的处理能力W及当前的网络带宽所直接确定的码流质量往往与服务器预先定义的码流质量之间不能完全匹配,因此该就存在到底将PMTO文件中的哪个码流的质量作为确定的当前应请求的码流的质量。 [0067] The quality of the current code stream at the request of the identified should belong stream quality server as defined, for example, the code stream mass carried by PMTO files or other files, but in practice, in consideration of the processing capability W media data and stream quality of the current network bandwidth can not be determined directly often exact match between the quality and the code stream predefined server, so that in the end there will be mass PMTO code which code stream file as the request is determined current flow the quality of. 在本实施例中,采用比较的方法来确定,具体地,当通过考虑媒体数据的处理能力W及当前的网络带宽所直接确定的码流质量为q,则比较寻找PMTO文件中m种码流质量中最接近该q并且不大于q的那个码流质量就是最终确定的当前应请求的码流的质量。 In the present embodiment, using the comparison method to determine, in particular, when the code flow quality by considering a media data processing capacity W and the current network bandwidth determined directly as q, then the comparison Looking PMTO file m types of stream closest to the mass that is no greater than q and q is the mass of stream stream mass current request should be finalized. W码流质量的参数包括码流为例,假如通过媒体数据的处理能力W及当前的网络带宽确定当前能够处理的最大码率为B的媒体码流,那么通过比较PMPD文件中的众多码流的质量中的码率参数,发现质量为QB的码流的码率是小于B中的最大的,因此确定当前应该请求质量为QB的码流片段。 W quality parameter stream comprises code stream as an example, if the processing capability of the data W and the current through the media network bandwidth determines the maximum rate that can be processed for the current media stream B, then by comparing the number of PMPD file stream parameter rate of mass, and found that the quality of the code stream rate QB is less than B is greatest, it determines the current mass should request a code stream segments of QB.

[0068] 由此可见,在本发明实施例中,终端需要根据当前的实际情况自适应地选择接下来接收的码流的质量。 [0068] Thus, in the embodiment of the present invention, the terminal needs to adaptively selected mass stream received next based on the current situation. 假设最终终端接收整个流媒体内容完成所经历的码流片段的选择过程如图6所示,其中Sw表示质量为Qi的码流的第j+1个码流片段,在各个质量的码流之间划过的实线表示在各个时间片段的所选择的码流片段的选择轨迹,最终由终端完全接收完成的媒体数据码流是由S。 Suppose finally the entire terminal receives streaming content to complete the selection process stream segments experienced as shown in FIG 6, wherein Sw represents the quality of the j + 1-th stream segments Qi code stream in the code stream of each mass between the solid line shows that, in the track across the stream segments of each of the selected time segments, eventually completed by the terminal fully received media data streams is S. ,。 . 、5。 5. ,1、Sm_i,"_2、Si,wn个码流片段组成的。 , 1, Sm_i, "_ 2, Si, wn code stream segments thereof.

[0069] 步骤S207;终端在针对每个时间片段自适应选择码流片段后,会根据PMTO文件中解析出的该码流片段的地址下载内容,并播放该片段的内容。 [0069] Step S207; the terminal after adaptive selection code stream segments for each time segment, the contents of the address PMTO downloaded file parsing the code stream segment, the segment and play the content.

[0070] 当然,如果服务器不是通过MTO文件加入质量价格率,则步骤S207中,终端所解析的就是MPD原始文件。 [0070] Of course, if the server is not added by the mass of MTO price file, in step S207, the terminal is parsed MPD original document.

[0071] 步骤S208 ;终端根据在同一流媒体内容播放的各个时间片段内所选择的码流片段的质量,统计该流媒体内容的付费率P。 [0071] Step S208; The terminal fragments mass stream within each time segment of the same class playing media content selected, the streaming media content statistics pay rate P.

[0072] 在本实施例中可W采用S种具体的统计付费率的方式,分别为: [0072] The S species specific statistical charge rate in the present embodiment may be W, respectively:

[0073] 方式1 ;统计不同码流质量的媒体数据码流的观看长度,其具体过程为: [0073] Embodiment 1; flow quality statistics code different media viewing data symbol stream length, the specific process is:

[0074] 在终端针对每个时间片段选择码流片段时,记录码流片段所在码流的质量和码流片段的时间长度,最后将流媒体内容播放过程中的选择的所有码流片段的质量价格率按照该质量价格率的权重因子进行加权求和,得到付费率P。 [0074] When the terminal selects the code stream segments for each time segment, the time length of the recording quality and the code stream segments where the code stream segment stream, all mass finally selected bitstream segments of streaming media content during playback price rate according to the quality and price of the right weight factors a weighted sum obtained charge rate P. 在计算加权求和时,每个码流片段的权重因子为该码流片段的时间长度占整个流媒体内容的码流的总时间长度的比例。 In calculating the weighted sum, the weight of each stream segment weight percentage of the total length factor codestream entire time streaming media content stream for the length of time segment.

[0075] 例如,假如Ti为第i+1个被选择的码流片段的时间长度,其中iG(0,1,2,..., n-1}。而整个流媒体内容的码流的总时间长度为T=Ta+Ti+. . . +T"_i。 [0075] For example, if Ti is the length of the i + 1 selected time code stream segment, wherein iG (0,1,2, ..., n-1}. The entire streaming content code stream total length of time of T = Ta + Ti +... + T "_i.

[0076] 则上述加权求和计算付费率的过程可W表述为: [0076] The charge rate is a weighted sum calculation of the above-described process may be expressed as W:

[0077] [0077]

Figure CN102546191BD00101

[007引其中,R'iG出。 [Wherein lead 007, R'iG out. ,Ri,R2, . . .,R"_J是第i+1个被选择的媒体码流片段所在码流的质量价格率。例如,假如码流片段Sy被选中,则上述加权求和的计算公式中,R'i=Rj.。 , Ri, R2,..., R "_J i + is the mass of the price of a selected media stream segment where the stream. For example, if the code stream segment Sy is selected, the weighted sum of the above formula, R'i = Rj ..

[0079] 方式2 ;统计不同码流质量的媒体码流片段的切换频率,其具体过程如下: [0079] Embodiment 2; switching frequency different from the flow quality statistics media stream code segment, the specific process is as follows:

[0080] 首先,当相邻的两个时间片段所选择的码流片段的质量不同时,判定发生码流切换,例如图6中示出的码流片段选择过程中,在选择第3个时间片段时,由于第2个时间片段选择的为码流片段或,1,而接下来第3个时间片段选择的为码流片段Si,2该两个相邻的码流片段所在的码流的质量不同,因此发生码流切换。 [0080] First, when the mass stream segments adjacent the selected time segments of the two are not the same, stream switching occurs is determined, for example, a fragment stream selection procedure shown in FIG. 6, in a third selected time a fragment, since a code stream segments in the second selected time segments or 1, and the next third segment selection time for the code stream segments Si, code 2 of the two adjacent streams where the stream segment different quality, thus switching streams occurs.

[0081] 接着,统计整个流媒体内容播放所发生的码流切换的次数,记为L。 [0081] Next, count the number of the entire flow stream media content player handover occurred, referred to as L.

[0082] 统计码流切换的次数可W有很多种具体实现方式,例如可W针对每相邻两个选中的码流片段之间设置切换标志位,在发生码流切换时,将对应的切换标志位置为1,否则置为0。 Times [0082] Statistics can be switched stream W There are many specific implementation, for example, W for switching flag arranged between each adjacent two of the selected code stream segment, when the stream switch occurs, the corresponding switch flag is 1, otherwise set to 0. 最后计算所有标志位的和,就得到了码流切换的次数。 Finally, all flags and calculation, get the number of stream switching. 当然也可W设置一个寄存器, 初始置零,每当发生码流切换时累加1,流媒体内容的所有码流片段选择完后,该寄存器中的结果就是码流切换的次数。 Of course, W may also be a register set, an initial zero whenever a stream switch occurs the accumulation of all streams of the streaming media content segments After selection, the results in this register is the number of code stream switching.

[0083] 然后计算付费率P,付费率为流媒体内容播放过程中预设的码流切换次数最大值中实际未发生码流切换的次数占上述预设的码流切换次数最大值的比例。 [0083] The charge is then calculated rate P, the ratio of the maximum number of switching stream media content player during a preset number of times code stream switching does not occur actually accounted for above a preset maximum number of switching streams flow rate paid.

[0084] 上述预设的码流切换次数最大值等于流媒体内容播放过程中最多可W发生码流切换次数。 [0084] The preset code stream flow switching times equal to the maximum switching frequency and media content playback W occur up stream.

[0085] 仍W图6为例,当流媒体内容的码流片段的个数为n时,那么最多不难得出最多可W发生码流切换的次数为n-1,即,预设的码流切换次数的最大值为n-1,则实际未发生码流切换的次数为n-1-L。 [0085] W is still an example of FIG. 6, when the number of streams of streaming media content segments is n, then the number of the most difficult to draw up the code stream switching occurs as W n-1, i.e., the predetermined code maximum flow switching times for n-1, the actual number of code stream switching does not occur as n-1-L. 因此计算付费率可W通过如下公式实现: Thus W may be calculated charge rate achieved by the following formula:

[0086] P = (n-1-L) / (n-1) [0086] P = (n-1-L) / (n-1)

[0087] 方式3 ;统计不同码率质量的媒体码流片段的切换频率,同时考量切换的码流质量差距,具体过程如下: [0087] Embodiment 3; switching frequency statistics different rate quality media stream segment, while considering the quality of stream switching gap, the specific process is as follows:

[008引首先参照上述方式2中的实现方案统计整个流媒体内容播放所发生的码流切换的次数。 [008] Referring first to lead the above-described embodiment 2, count the number of implementations entire flow stream media content player handover occurred.

[0089] 同时计算每次码流切换的距离Dk,k G{0,1,2,. . .,kl},1《Dk<m。 [0089] Meanwhile distance Dk is calculated for each code stream switching, k G {0,1,2 ,..., Kl}, 1 "Dk <m. 码流切换的距离可W定义为发生码流切换处的前一码流片段的质量序号和后一码流片段的质量序号之间的差的绝对值,该里的码流片段的质量序号是根据该码流片段所在码流的质量在同一流媒体内容的所有码流的质量中的排名确定的。 Switching from stream W may be defined as the absolute value of the difference between the mass number and the latter number mass stream segments preceding symbol stream clip stream switching occurs at the mass number in the codestream fragments are ranked in the quality of all streams of the same stream media content is determined based on the quality of the stream segment where the stream. 根据每次码流切换的距离化统计播放流媒体内容过程中实际码流切换的距离和。 And each stream according to a distance from the switch on statistical play streaming media content stream during the actual handover.

[0090] 例如,如果前一码流片段的码流质量为A,后一码流片段的码流质量为Qj,则在该两个码流片段之间切换的距离为|ij|,其中II是取绝对值的操作。 [0090] For example, if the preceding symbol stream mass flow segment is A, the latter stream stream mass segment is Qj, the distance between segments of the two streams is switched | ij of |, wherein II operation is to take the absolute value.

[0091] 接着计算付费率P,付费率为上述流媒体内容播放过程中能够产生的切换码流的距离和的最大值减实际码流切换的距离和所得的差与上述能够产生的切换码流的距离和的最大值的商。 [0091] Next calculate pay rate P, and switching from the streams of the flow rate of charge during playback of media content that can be generated maximum minus the actual code stream switching distance difference and the resulting code can be generated with the switching of the flow providers of distance and maximum value.

[0092] 当同一流媒体内容具有m种不同质量的媒体数据码流,每个媒体数据码流分成n 段码流片段时,则上述播放该流媒体内容中能够产生的切换码流距离之和的最大值的情况,就是相邻两个时间片段之间都发生码流切换(即实际的码流切换次数为n-1),并且码流切换始终在质量最低的码流和质量最高的码流之间进行(每次的切换距离都是m-1),所W能够产生的切换码流距离之和的最大值就等于(n-1) □ (m-1)。 [0092] When the media data stream having a different mass m of the same stream of media content, each media data stream is divided into n sections codestream fragments, then the broadcast of the flow stream from the media content switching code can be generated and the case of the maximum value, is adjacent streams are switched between two time segments (i.e., the actual number of times the switching stream n-1), and the code stream switches is always the highest in the code stream and the lowest mass mass for (each switching distance is m-1) between the flow and the flow distance of the switching code is capable of generating a maximum value W is equal to (n-1) □ (m-1).

[0093] 具体地,付费率p可W通过如下公式进行计算: [0093] Specifically, the charge rate W p can be calculated by the following formula:

[0094] [0094]

Figure CN102546191BD00111

[0097] 步骤S209 ;根据步骤S208中获得的付费率P和之前定义的该流媒体内容的特定质量的媒体数据码流的实际价格,即标准价格C,计算得到用户观看流媒体内容的实际费用。 [0097] Step S209; The actual price paid rate in step S208 P obtained and specific mass of the streaming media content as previously defined media data stream, i.e., the standard price C, is calculated to obtain the user to view streaming content actual cost .

[009引对于后付费的方式,系统会在用户观看完毕后扣除用户观看流媒体内容的实际费用; [009 cited for postpaid, the system will be deducted from the user after the user has finished viewing the actual cost of watching streaming media content;

[0099] 对于预付费的方式,系统开始会按照标准价格先收取费用,之后按照实际费用多退少补。 [0099] For the pre-paid mode, the system will start to charge fees in accordance with the standard price, after Duotuishaobu actual costs. 例如如果系统按照最高质量的多媒体数据码流的价格定义标准价格,则用户在预付费时支出的将是最高可能支付的费用,而当用户观看完毕后,系统计算出的实际费用往往低于该个标注价格,因此系统还会将二者的差额补偿给用户,进行返还。 For example, if the system will be defined in accordance with the price standard price multimedia data streams of the highest quality, the user time-consuming in prepaid expenses paid by the highest possible cost, and when users watch completed, the system calculates the actual cost is often lower than the one marked price, so the system will compensate for the difference between the two users, be returned.

[0100] 需要说明的是,上述步骤S208和步骤S209可W由终端执行,也可W由中屯、控制设备执行,例如在家庭网络中,该执行步骤S208和步骤S209的中屯、控制设备可W为家庭网络中的家庭网关设备、控制中屯、或者STB,该样可W通过中屯、控制设备可W实现对家庭中多个媒体终端的观看质量的统计和计费。 [0100] Incidentally, the above-described step S208 and step S209 may be performed by the terminal W, W may be neutral Tun, the control device performs, for example, in a home network, and the step S208 is performed in step S209 Tun, the control device W may be for the home network of the home gateway device, the control village, or the STB, the sample may be in the village by W, W control apparatus may implement media viewer in the household plurality of quality statistics and billing terminal.

[0101] 此外,由于上述实施例中是采用终端驱动,步骤S206中是由终端驱动的方式来选择码流片段的质量,而在另替代的实施例中,也可W采用服务器驱动的方式来选择码流片段的质量,此时步骤S206中将被替换为终端在播放流媒体内容时,针对各个时间片段,月良务器根据终端的处理能力和当前网络状况选择终端下载的码流片段的质量,并指示终端下载该质量的码流片段。 [0101] Further, the above embodiment is the use of the final drive, step S206 is selected mass stream segment by a terminal driven manner, while in another alternative embodiment, may be W using server-driven manner select the mass stream segment, it will be replaced at this time step S206 when playing streaming media content, for each of the time segments, month good traffic stream segments is selected according to the terminal to download the processing capability of the terminal and the terminal of the current network conditions quality, and instructs the terminal to download the code segment of the stream quality.

[0102] 本发明实施例还相应提供一种流媒体服务的计费装置,如图7所示,该装置包括: 质量价格率获取单元701、付费率统计单元702和计费单元703。 [0102] Embodiments of the invention also provides a corresponding apparatus for charging a streaming service shown in FIG. 7, the apparatus comprising: a mass ratio price obtaining unit 701, the statistics unit 702 and the charge rate of the accounting unit 703.

[0103] 其中,质量价格率获取单元701用于获取服务器对同一流媒体内容那个的不同质量的媒体数据流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格。 [0103] wherein the mass ratio price obtaining unit 701 configured to obtain the media data server media content class with the quality of the different set of mass flow rate of price, quality and price for each quality of the code stream is the reference mass relationship between the actual price and the price of the standard data symbol stream determined, the actual price of a particular streaming media content mass standard price of the data stream.

[0104] 上述每个质量的码流的质量价格率可W等于该质量的数据码流的质量价格率等于该质量的数据码流的实际价格与标准价格之间的比例。 [0104] Quality price of each of said code stream W is equal to mass of the quality of the data stream rate of the price is equal to the mass ratio between the actual price and the price of the standard quality data stream.

[0105] 质量价格率设定的具体过程W及标准价格的定义与上述方法实施例中的相关内容相同,该里不再寶述, [0105] W, and the specific process defined in the standard price of the quality-price ratio setting content related to embodiments of the above method the same embodiment, which is no longer in said Bao,

[0106] 付费率统计单元702用于根据终端在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量的,,根据所述质量价格率确定播放该流媒体内容的付费率。 [0106] charge rate statistics unit 702 for charge rate according to the terminal during the playing of the streaming media content ,, play the streaming media content is determined for a fragment of mass stream within each time segment downloaded price based on the rate of mass . 确定付费率的具体方式同样可W采用上述实施例中所列举的=种方式,根据该=种方式,付费率统计单元702可W有如图8-10S种具体的结构。 DETAILED DESCRIPTION charge rate determined likewise be employed W = ways listed above embodiment, according to which = manner, the charge rate statistics unit 702 may have a specific configuration in FIG W 8-10S species.

[0107] 计费单元703用于根据得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用,并依据该实际费用对用户进行计费。 [0107] accounting unit 703 for obtaining the actual cost of the terminal plays streaming media content according to the charge rate and the standard price to obtain, and to charge users according to the actual costs.

[0108] 计费单元703可W计算所述得到的付费率和所述标准价格之间的乘积,从而得到终端播放流媒体内容的实际费用。 The product between the charge rate and the standard price [0108] accounting unit 703 may calculate the W obtained, whereby the terminal displays the actual cost of streaming media content.

[0109] W下结合图8-10,详细说明付费率统计单元702的具体实现方式。 The [0109] W in conjunction with FIGS. 8-10, described in detail implementation unit 702 of charge rate statistics.

[0110] 如图8所示,在一种具体的实施例中,付费率统计单元702具体包括; [0110] As shown, in one particular embodiment, the charge rate statistics unit 8702 comprises;

[0111] 码流片段信息记录单元70211,用于在终端针对每个时间片段下载码流片段时,记录码流片段的质量和码流片段的时间长度; [0111] stream segment information recording unit 70211, when the terminal for downloading the code stream segments for each time segment, the time length of the recording quality and the code stream of the clip stream segments;

[0112] 加权求和单元70221,用于对媒体播放内容过程中下载的所有码流片段所在的码流的质量价格率进行加权求和,得到付费率;所述加权求和过程中,每个码流片段的码流的质量价格率的权重因子为该码流片段的时间长度占所有码流片段的时间长度总和的比例。 [0112] a weighted summation unit 70221, for the price of mass media stream playing the content downloaded during all the code stream segments located weighted sum, to obtain charge rate; and the weighted addition process, each right price ratio mass flow rate of the stream code segment weighting factor accounts for all segments of stream stream for a length of time segments of the sum of the time length.

[0113] 如图9所示,在另一种具体的实施例中,付费率统计单元702具体包括; [0113] As shown, in another specific embodiment, the charge rate statistics unit 9702 comprises;

[0114] 码流切换检测单元70212,用于终端所下载的相邻两个时间片段的码流片段的质量不同时,判定发生码流切换; [0114] stream switching detection unit 70212, a mass stream segments adjacent two time segments of the terminal are not simultaneously downloaded, stream switching occurs is determined;

[0115] 码流切换次数统计单元70222,用于统计整个流媒体内容播放过程中所发生的码流切换的次数; [0115] stream switching frequency counting unit 70222 configured to count the number of the entire streaming media content stream occurring during playback handover;

[0116] 比例计算单元70232,用于计算流媒体内容播放过程中最多可W发生的码流切换次数中实际未发生码流切换的次数占所述最多可W发生码流切换次数的比例,得到付费率。 [0116] 70232 proportion calculation means for calculating the number of stream flow switching times of the switching stream media content during playback W up actually occur has not occurred up to the proportion W occur stream switching times to give pay rate.

[0117] 如图10所示,在另一种具体的实施例中,付费率统计单元702具体包括: [0117] As shown in FIG. 10, in another specific embodiment, the charge rate statistics unit 702 comprises:

[0118] 码流切换检测单元70213,用于终端所下载的相邻两个时间片段的码流片段的质量不同时,判定发生码流切换; [0118] stream switching detection unit 70213, a mass stream segments adjacent two time segments of the terminal are not simultaneously downloaded, stream switching occurs is determined;

[0119] 单次距离计算单元70223,用于记录每次码流切换的距离,所述码流切换的距离为发生码流切换处的前一码流片段的质量序号和后一码流片段的质量序号之间的差的绝对值; [0119] Single distance calculation unit 70223, for recording the distance of each code stream switching from the switching stream to the previous clip stream stream switching occurs at the mass number and the latter stream segment the absolute value of the difference between the mass number;

[0120] 切换距离求和统计单元70233,用于统计整个流媒体内容播放过程中实际码流切换的距离和; [0120] Switching from the summation unit 70233 statistics, the statistics for the entire stream from the media content player during the actual handover and stream;

[0121] 码流切换次数统计单元70243,用于统计整个流媒体内容播放过程中所发生的码流切换的次数; [0121] stream switching frequency counting unit 70243 configured to count the number of the entire streaming media content stream occurring during playback handover;

[0122] 第二比例计算单元70253,用于计算流媒体内容播放过程中能够产生的切换码流的距离和的最大值减去实际码流切换的距离和所得的差与上述能够产生的切换码流的距离和的最大值的商,得到付费率。 [0122] The second ratio calculating unit 70253, for switching from stream media content that can be generated during playback and the maximum value calculated by subtracting the actual stream flow switching distance and the difference to the code can be generated by the switching the maximum distance and the flow of business, get paid rates.

[0123] 此外,对于服务器是通过将质量价格率信息加入到特定的文件中发送的情况,上述计费装置中的质量价格率获取单元具体包括;解析单元和结果获取单元。 [0123] Further, by the server for the quality information to the price of a particular case of the file transmission, quality and price of the charge device comprises obtaining unit; parsing unit and a result acquiring unit. 其中解析单元用于解析服务器发送的包含对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率信息的文件,所述文件中,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格;结果获取单元用于根据解析单元的解析结果获取获得所述质量价格率。 Wherein the file parsing unit price for the quality rate information comprises a set of media data streams with different quality class analysis of media content sent by the server, the file, quality and price for each quality of the code stream is the reference relationship between the actual price and the standard price of the mass data symbol stream determined, the actual price is a standard price of the particular quality of streaming media content data stream; results based on the analysis result obtaining unit for parsing unit get get the quality price ratio. 该里的文件可W是PMTO文件,也可W是用户权限数据文件。 The W is in the file can PMTO file, user permissions can be W is a data file.

[0124]本发明实施例还相应提供一种网络系统,该网络系统包括上述实施例中的流媒体服务的计费装置、服务器和终端。 Example [0124] The present disclosure further provides a network system, the network system comprises a charging means in the above embodiment streaming service, the server and the terminal. 该终端包括下载单元,该下载单元用于在播放流媒体内容过程中,针对各个时间片段下载码流片段。 The terminal includes a download unit, during the downloading unit for playing streaming content, the download time for each segment code stream segments.

[01巧]正如上文所述,终端下载码流片段的质量可W终端驱动的方式,也可W采用服务器驱动的方式。 [Qiao 01] As mentioned above, mass download code stream segments terminal may drivingly W terminal, the server also uses W-driven manner.

[0126] 当采用终端驱动的方式时,上述终端还包括;码流片段选择单元,用于针对各个时间片段,根据终端自身的处理能力和当前网络状况选择下载的码流片段的质量,并通知所述下载单元下载该质量的码流片段。 [0126] When the terminal driving mode, the terminal further comprises; stream segment selection unit for each time segment for selecting download mass stream segment according to the terminal itself and the processing capability of current network status, and notify the downloading means to download the code stream segment quality.

[0127] 当采用终端驱动的方式时,上述终端还包括;码流片段选择结果接收单元,用于接收服务器针对各个时间片段,根据终端的处理能力和当前网络状况选择终端下载的码流片段的质量,并通知所述下载单元下载该质量的码流片段。 [0127] When the terminal driving mode, the terminal further comprises; code stream segment selection result receiving means for receiving the server for each time segments, code stream segments selected according to the terminal to download the terminal processing capabilities and current network conditions quality, and notifies the downloading means to download the code stream segment quality.

[0128] 在实际中,上述网络系统中的流媒体服务的计费装置可W设置在每个终端中,此时流媒体服务的计费装置仅仅负责其所在的终端的流媒体服务计费功能。 [0128] In practice, the above-described charging means streaming media network system and services may be provided in each terminal W, the charging device at this time is only responsible for a streaming service of a terminal in which it is streaming service billing . 当然在实际中, 也可能在一个特定的网络范围内,由一个中屯、控制设备负责统一管理其所管辖的网络范围内的所有终端,此时上述流媒体服务的计费装置可W设置在每个中屯、控制设备中,用于负责该中屯、控制设备所管辖的网络范围内的所有终端的流媒体服务计费功能。 In practice, of course, possible within the scope of a specific network, one of the village, the control device responsible for unified management of all the terminals within the network of their administration, in which case the charging device according to a streaming service may be provided at W each village, a control apparatus for a streaming service accounting functions for all terminals in charge of the network-wide village, governed by the control device.

[0129] 上述中屯、控制设备所管辖的网络可W为家庭网络。 [0129] Network Tun above, the control device may be governed W is the home network.

[0130] 具体的,如附图11所示,上述网络系统包括: [0130] Specifically, as shown in the Figure 11 network system comprising:

[0131] 服务器1101 ;用于产生不同质量的媒体数据码流片段供终端下载播放。 [0131] Server 1101; media data stream used to generate fragments of different masses for terminal downloads playback.

[0132] 流媒体服务的计费装置1103 ;用于获取同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格;根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率;根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用;依据该实际费用对用户进行计费。 [0132] streaming service charging apparatus 1103; Price mass media data stream rate is set for acquiring media content class with different mass, mass price for each quality of the code stream is the reference quality data the actual price of a particular relationship between the actual price and the quality of standard price codestream determined, the standard price is the streaming media content data stream; accordance with the procedure for playback of streaming media content downloaded in each time slice mass code stream segment, the price is determined based on the mass ratio of the flow rate play premium media content; to give the actual cost of the terminal plays streaming media content according to the charge rate and the standard price obtained; according to the actual the cost to charge users.

[0133] 台式电脑1105 ;用于在播放流媒体内容过程中,针对各个时间片段下载码流片段。 [0133] Desktop computers 1105; the procedure for playback of streaming media content, download the code stream segment for each time slice.

[0134] 掌上电脑1107 ;用于在播放流媒体内容过程中,针对各个时间片段下载码流片段。 [0134] Handheld 1107; the procedure for playback of streaming media content, download the code stream segment for each time slice.

[01巧]笔记本电脑1109;用于在播放流媒体内容过程中,针对各个时间片段下载码流片段。 [01 Qiao] laptop 1109; the procedure for playback of streaming media content, download the code stream segment for each time slice.

[0136] 上述列举的终端类型只是一种示意,不构成对适用终端类型的限制,其他具有同等功能的终端仍应包括于本发明实施例的范围之内。 Terminal Type [0136] exemplified above is just an illustrative, not restrictive of the applicable type of terminal, other terminals having the same function should still included within the scope of the embodiments of the present invention.

[0137] 通过W上的实施方式的描述,所属领域的技术人员可W清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,通用硬件包括通用集成电路、通用CPU、通用存储器、通用元器件等,当然也可W通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现,但很多情况下前者是更佳的实施方式。 [0137] By the description of the embodiments of W, those skilled in the art can understand that the present invention W may be implemented by software plus necessary universal hardware implemented, general purpose hardware including a universal integrated circuit, general purpose CPU, common memory , generic components, of course, W may be implemented by special purpose hardware-specific integrated circuit, a dedicated CPU, a specialized memory, dedicated components, etc., but in many cases, is a preferred embodiment. 基于该样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用W 使得一台计算机设备(可W是个人计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。 Based on this kind of understanding, the essence or the part contributing to the prior art may be embodied aspect of the present invention in the form of a software product out of the storage medium may be readable, such as a floppy disk of the computer software product is stored and the like, a hard disk or optical disk, and include several instructions that enable a computer with a device W (W may be a personal computer, a server, or network device) to execute the method according to the present invention, various embodiments.

[0138] W上方法实施例中的各个步骤的顺序可W根据实际应用需要进行调整,各个步骤可W根据实际应用需要进行组合形成新的方案。 [0138] W on the order of respective steps in a method embodiment of embodiment W may be adjusted according to actual needs, various steps can be combined to form a W require new solutions depending on the application. W上装置实施例中的各个单元、模块可W 根据实际应用需要进行划分,或者重新组合。 Means of each unit in the embodiment, the module may need to be divided W depending on the application, or a combination of the re-W.

[0139] W上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可W做出若干改进和润饰,该些改进和润饰也应视为本发明的保护范围。 [0139] W a only preferred embodiment of the present invention, it should be noted that those of ordinary skill in the art who, without departing from the principles of the invention, may make various improvements and modifications W, the plurality of improvements and modifications should also be regarded as the protection scope of the present invention.

Claims (11)

1. 一种流媒体服务的计费方法,其特征在于,包括: 获取对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为同一流媒体内容的某一特定质量的媒体数据码流的实际价格; 根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率,所述各个时间片段内所下载的码流片段的质量为服务器所定义的码流质量; 根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用; 依据该实际费用对用户进行计费; 所述获取对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率包括: 通过解析服务器发送的包含对同一流媒体内容的不同质量 1. A charging method for a streaming service, wherein, comprising: obtaining Quality price rate of the media data stream set with different quality class media content, quality and price of the quality of each stream is relationship between the actual price and the standard price of the reference quality data streams determined, the standard price of a particular mass media with the media content class actual price data symbol stream; according to the procedure for playback of streaming media content mass stream fragments within each time segment downloaded determined play premium rate for the streaming media content according to the quality and price ratio, mass stream fragments within the respective time segment of the downloaded code is defined stream server quality; get paid according to the rate obtained by standard price and the actual cost of the terminal plays streaming media content; to charge users based on the actual costs; the obtaining data on different media with first-class quality of media content quality price rate streams set comprising: a different quality with first-class media content sent through the server to resolve 媒体数据码流设定的质量价格率信息的文件获得所述质量价格率; 所述包含对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率信息的文件包括: 加入所述质量价格率信息的媒体呈现描述Mro文件或用户权限数据文件。 Quality price information file of the media data stream to obtain said set of Quality price ratio; the price rate information comprises quality of the media content class with the quality of different media data stream comprising a set of documents: the addition of media quality price rate information Mro presentation description file or user permissions data files.
2. 根据权利要求1所述的方法,其特征在于,所述根据所述质量价格率确定播放该流媒体内容的付费率包括: 针对每个时间片段下载码流片段时,记录码流片段的质量和码流片段的时间长度; 对媒体播放内容过程中下载的所有码流片段所在的码流的质量价格率按照该质量价格率的权重因子进行加权求和,得到付费率; 所述对媒体播放内容过程中下载的所有码流片段所在的码流的质量价格率进行加权求和过程中,每个码流片段的码流的质量价格率的权重因子为该码流片段的时间长度占所有码流片段的时间长度总和的比例。 2. The method according to claim 1, wherein said mass ratio is determined according to the price paid playback of streaming media content comprises: for each time segment download stream segments, the recording stream segments the length of time and mass stream segments; price of mass media stream playing the content downloaded during all the code stream segments according to the weight of the mass where the price of a weighted sum of the weighting factor, to obtain charge rate; the media rates of mass stream during playback content download all the code stream segments where the weighted summation process, the length of time the price of the right mass flow rate of each stream code segment weighting factor for bitstream segments accounted for all the ratio of the sum of the time length of the code stream segments.
3. 根据权利要求1所述的方法,其特征在于,所述根据所述质量价格率确定播放该流媒体内容的付费率包括: 统计整个流媒体内容播放过程中所发生的码流切换次数,其中所发生的码流切换是指终端所下载的相邻两个时间片段的码流片段的质量不同; 计算流媒体内容播放过程中预设的码流切换次数最大值中实际未发生码流切换的次数占所述码流切换次数最大值的比例,得到付费率。 3. The method according to claim 1, wherein said determining playing the streaming media content according to the mass charge ratio price rate comprises: Statistics entire stream streaming media content player that occur during switching times, wherein the stream switching means occurring fragments of different mass streams of two adjacent time segments downloaded terminal; calculating streaming content playback code stream preset code stream switching handover the maximum number actually does not occur the number proportion of the maximum number of switching said code stream to obtain charge rate.
4. 根据权利要求1所述的方法,其特征在于,所述根据所述质量价格率确定播放该流媒体内容的付费率包括: 记录每次发生码流切换的距离,其中,发生码流切换是指终端所下载的相邻两个时间片段的码流片段的质量不同,所述码流切换的距离和为发生码流切换处的前一码流片段的质量序号和后一码流片段的质量序号之间的差的绝对值; 统计整个流媒体内容播放过程中所发生的码流切换次数、以及统计实际码流切换的距离和; 计算流媒体内容播放过程中能够产生的切换码流的距离和的最大值减去实际码流切换的距离和所得的差与上述能够产生的切换码流的距离和的最大值的商,得到付费率。 4. The method according to claim 1, wherein said rate determination in accordance with the quality and price of the streaming content player charge rate comprising: a recording bit stream from each occurrence of handover, wherein the handover occurs stream It refers downloaded adjacent segments of different mass streams terminal two time segments, switching from the stream and preceding the serial number for the mass stream of the clip stream switching occurs and the latter stream segment the absolute value of the difference between the mass number; statistical code entire streaming media content that occur during playback stream switching frequency and the actual statistics from the switching stream and; calculating streaming media content switching code can be generated during playback of stream subtracting the maximum distance and the maximum distance and the difference between the code stream switching can be generated from the actual code stream switching and the quotient, obtained charge rate.
5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括: 终端在播放流媒体内容时,针对各个时间片段,根据所述终端自身的处理能力和当前网络状况选择下载的码流片段的质量,并下载该质量的码流片段。 5. The method according to any one of claims to 4 claims, characterized in that, said method further comprising: a terminal when playing streaming media content, for each of the time segments, based on the processing capability of the terminal itself and the current quality network conditions selected download code stream segment, and download the code stream segment quality.
6. 根据权利要求1至4中任一项所述的方法,其特征在于,所述每个质量的码流的质量价格率等于该质量的数据码流的实际价格与所述标准价格之间的比例。 The method according to any one of 1 to 4 claim, wherein said mass ratio price quality of each stream is equal to data symbol stream between the actual price and the quality of the standard price proportion.
7. -种流媒体服务的计费装置,其特征在于,包括: 质量价格率获取单元,用于获取同一流媒体内容的不同质量的媒体数据流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为同一流媒体内容的某一特定质量的媒体数据码流的实际价格; 付费率统计单元,用于根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率,所述各个时间片段内所下载的码流片段的质量为服务器所定义的码流质量; 计费单元,用于根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用,并依据该实际费用对用户进行计费; 所述质量价格率获取单元包括: 解析单元,用于解析服务器发送的包含对同 7. - charging apparatus species streaming service, characterized by comprising: a quality price ratio acquisition unit for acquiring different quality and price of the media content class with the quality of the media data stream is set, the quality of each code mass flow rate is the price relationship between the actual price and the standard price of reference of the quality of the data stream determined, the standard price of a first-class quality media with a particular media content data stream of actual price; pay rate statistics means for mass stream according to the respective time segments of a fragment downloaded is determined in the course of playing the streaming media content play streaming media content rate based on the price paid mass ratio, within the respective time segment downloaded mass stream stream mass fragment is defined by the server; accounting unit, the actual costs for obtaining terminal plays the streaming media content according to the charge rate and the standard price is obtained, and the actual costs according to the charging the user; the price mass ratio acquisition unit includes: a parsing unit for parsing the server comprises sending the same 流媒体内容的不同质量的媒体数据码流设定的质量价格率信息的文件;所述包含对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率信息的文件包括:加入所述质量价格率信息的媒体呈现描述Mro文件或用户权限数据文件,所述文件中,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格; 结果获取单元,用于根据解析单元的解析结果获取所述质量价格率。 Quality price information file of media data streams are set in different qualities of streaming media content; mass comprising the price of the same quality class information for the different media content streams media data file set comprising: the addition of said price of mass media presentation description information Mro file or user permissions data file, the file, quality and price for each quality of the code stream is the reference data to determine the relationship of the mass stream of the actual price and the price of the standard , the standard price of a particular quality of the actual streaming content price data stream; result obtaining unit, configured to obtain the quality and price of the parsing unit according to the analysis result.
8. 根据权利要求7所述的装置,其特征在于,所述付费率统计单元包括: 码流片段信息记录单元,用于针对每个时间片段下载码流片段时,记录码流片段的质量和码流片段的时间长度; 加权求和单元,用于对媒体播放内容过程中下载的所有码流片段所在的码流的质量价格率按照该质量价格率的权重因子进行加权求和,得到付费率;所述对媒体播放内容过程中下载的所有码流片段所在的码流的质量价格率进行加权求和过程中,每个码流片段的码流的质量价格率的权重因子为该码流片段的时间长度占所有码流片段的时间长度总和的比例。 8. The apparatus according to claim 7, wherein said charge rate statistics unit comprises: a code stream segment information recording means for downloading when the code stream segments for each time segment, the recording quality and the code stream segments time code stream segment length; weighted addition unit price for mass flow rate for all code segments of the media stream during playback the content downloaded in accordance with a weighted sum where the weight ratio of the mass of the weight factor price, pay rate to give ; quality and price of the media stream during playback download all content streams are located segments during a weighted sum, the weight ratio of the quality and price of each code stream stream segment weighting factor for bitstream segments the ratio of the length of time for all streams representing the sum of the time length of the fragment.
9. 根据权利要求7所述的装置,其特征在于,所述付费率统计单元包括: 码流切换检测单元,用于终端所下载的相邻两个时间片段的码流片段的质量不同时, 判定发生码流切换; 码流切换次数统计单元,用于统计整个流媒体内容播放过程中所发生的码流切换的次数; 第一比例计算单元,用于计算流媒体内容播放过程中预设的码流切换次数最大值中实际未发生码流切换的次数占所述码流切换次数最大值的比例,得到付费率。 9. The apparatus according to claim 7, wherein said charge rate statistics unit comprises: a code stream switching detection unit for mass stream segments adjacent two time segments of the terminal is not downloaded at the same time, determining the occurrence of the switching stream; stream switching frequency counting unit configured to count the number of times the entire streaming media content stream during playback handover occurred; first ratio calculating means for playing the media content stream during a predetermined calculation stream number of the handover proportion of the maximum number of stream switching, to obtain the maximum charge rate of the actual bit stream switching frequency does not occur.
10. 根据权利要求7所述的装置,其特征在于,所述付费率统计单元包括: 码流切换检测单元,用于终端所下载的相邻两个时间片段的码流片段的质量不同时, 判定发生码流切换; 单次距离计算单元,用于记录每次发生码流切换的距离,所述码流切换的距离为发生码流切换处的前一码流片段的质量序号和后一码流片段的质量序号之间的差的绝对值; 切换距离求和统计单元,用于统计整个流媒体内容播放过程中实际码流切换的距离和; 码流切换次数统计单元,用于统计整个流媒体内容播放过程中所发生的码流切换的次数; 第二比例计算单元,用于计算流媒体内容播放过程中能够产生的切换码流的距离和的最大值减去实际码流切换的距离和所得的差与上述能够产生的切换码流的距离和的最大值的商,得到付费率。 10. The apparatus according to claim 7, wherein said charge rate statistics unit comprises: a code stream switching detection unit for mass stream segments adjacent two time segments of the terminal is not downloaded at the same time, determining the occurrence of the switching stream; single distance calculation unit for recording the stream from each occurrence of the switching from the switching stream to code stream mass number of the previous segment at the stream switch occurs and the latter code the absolute value of the difference between the mass number of the stream segments; summing switching distance statistic unit, for counting the entire streaming media content player during handover from the actual code stream and; stream switching frequency counting unit configured to count the entire flow the number of switching stream media content that occur during playback; second ratio calculating means for subtracting the actual distance and the maximum distance of the code stream switching code stream switching calculate the streaming media content can be generated during playback and the distance difference between the switching stream can be generated and the maximum value of the resulting quotient, obtained charge rate.
11. 一种网络系统,其特征在于,包括服务器、流媒体服务的计费装置和终端,其中, 所述服务器,用于产生不同质量的媒体数据码流片段供终端下载播放; 所述流媒体服务的计费装置,用于获取同一流媒体内容的不同质量的媒体数据码流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为同一流媒体内容的某一特定质量的媒体数据码流的实际价格;根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量, 根据所述质量价格率确定播放该流媒体内容的付费率;根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用;依据该实际费用对用户进行计费; 所述终端,用于在播放流媒体内容过程中,针对各个时间片段下载码流片段; A network system comprising a server, and the terminal apparatus charging a streaming service, wherein the server is configured to generate different mass media data stream segment for the terminal to download the player; the streaming media service charging apparatus for obtaining media data symbols set mass flow rate of the price of the same class of different quality media content, quality and price of each code stream with reference to the quality of the actual price is the quality of the data stream and determining the relationship of the standard price, the actual price is a standard price of the media data stream of media content class with a particular quality; accordance with the procedure for playback of streaming media content stream segment within each time slice the downloaded quality, the price is determined based on the mass ratio of the stream to play premium media content; to give the actual cost of the terminal plays streaming media content according to the charge rate and the standard price obtained; the user according to the actual cost of the count fees; the terminal, for during playback of streaming media content, download the code stream segment for each time segment; 述流媒体服务的计费装置包括: 质量价格率获取单元,用于获取同一流媒体内容的不同质量的媒体数据流设定的质量价格率,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格; 付费率统计单元,用于根据在播放流媒体内容过程中针对各个时间片段内所下载的码流片段的质量,根据所述质量价格率确定播放该流媒体内容的付费率,所述各个时间片段内所下载的码流片段的质量为服务器所定义的码流质量; 计费单元,用于根据所述得到的付费率和所述标准价格得到终端播放所述流媒体内容的实际费用,并依据该实际费用对用户进行计费; 所述质量价格率获取单元包括: 解析单元,用于解析服务器发送的包含对同一流媒体内容的不同质 Charging said streaming service apparatus comprising: a quality price ratio acquisition unit for acquiring quality and price of the media content class with the media data stream a set of different mass, mass price for each quality of the code stream is the reference relationship between the actual price and the price of the standard quality of data symbol stream determined, the standard price of a particular quality of the actual streaming content price data stream; charge rate statistics unit for playing streaming media in accordance with process for the mass content of the stream segments of each time segment downloaded determined play premium rate for the streaming media content according to the quality and price ratio, mass stream fragments within the respective time segment is downloaded server defined as the mass stream; accounting unit, obtained according to the charge rate and the standard price to obtain terminal plays the streaming media content of the actual costs, and to charge users according to the actual cost; the mass price ratio acquisition unit comprises: a parsing unit configured to parse the server sends a different matter contains the same stream media content 量的媒体数据码流设定的质量价格率信息的文件;所述包含对同一流媒体内容的不同质量的媒体数据码流设定的质量价格率信息的文件包括:加入所述质量价格率信息的媒体呈现描述Mro文件或用户权限数据文件,所述文件中,每个质量的码流的质量价格率是参考该质量的数据码流的实际价格与标准价格的关系确定的,所述标准价格为所述流媒体内容的一个特定质量的数据码流的实际价格; 结果获取单元,用于根据解析单元的解析结果获取所述质量价格率。 Amount of price information file mass media data stream is set; the price rate information comprises quality of media data streams are set with different quality class of the media content file comprises: price rate information added to the mass Mro media presentation description file or user permissions data file, the file, code stream rate of mass price for each quality is determined with reference to the relationship between the actual price and the standard price of the quality of the data streams of the standard price the mass of a particular streaming media content actual price data symbol stream; result obtaining unit, configured to obtain the quality and price of the parsing unit according to the analysis result.
CN201210021090.3A 2012-01-30 2012-01-30 Streaming service charging method, apparatus and system for CN102546191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210021090.3A CN102546191B (en) 2012-01-30 2012-01-30 Streaming service charging method, apparatus and system for

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210021090.3A CN102546191B (en) 2012-01-30 2012-01-30 Streaming service charging method, apparatus and system for
PCT/CN2012/078692 WO2013113207A1 (en) 2012-01-30 2012-07-16 Method, device and system for charging for streaming media service

Publications (2)

Publication Number Publication Date
CN102546191A CN102546191A (en) 2012-07-04
CN102546191B true CN102546191B (en) 2015-08-05

Family

ID=46352205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210021090.3A CN102546191B (en) 2012-01-30 2012-01-30 Streaming service charging method, apparatus and system for

Country Status (2)

Country Link
CN (1) CN102546191B (en)
WO (1) WO2013113207A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546191B (en) * 2012-01-30 2015-08-05 华为技术有限公司 Streaming service charging method, apparatus and system for
US9191828B2 (en) * 2012-08-03 2015-11-17 Intel Corporation High efficiency distributed device-to-device (D2D) channel access
CN104105012B (en) * 2013-04-03 2018-04-20 华为技术有限公司 The fragment preparation method and device of Streaming Media

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859237A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Method, system, device for detecting service quality, and charging and fault detecting system
CN101540688A (en) * 2008-03-20 2009-09-23 中国移动通信集团公司 Method and system for charging streaming media service, charging server and terminal
WO2011025776A1 (en) * 2009-08-25 2011-03-03 American International Group, Inc. Method and system for retaining customers with interrupted payment streams

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546191B (en) * 2012-01-30 2015-08-05 华为技术有限公司 Streaming service charging method, apparatus and system for

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859237A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Method, system, device for detecting service quality, and charging and fault detecting system
CN101540688A (en) * 2008-03-20 2009-09-23 中国移动通信集团公司 Method and system for charging streaming media service, charging server and terminal
WO2011025776A1 (en) * 2009-08-25 2011-03-03 American International Group, Inc. Method and system for retaining customers with interrupted payment streams

Also Published As

Publication number Publication date
WO2013113207A1 (en) 2013-08-08
CN102546191A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
US10459977B2 (en) Mediation and settlement for mobile media
US7979570B2 (en) Live media delivery over a packet-based computer network
RU2543568C2 (en) Smooth, stateless client media streaming
KR101709802B1 (en) Implicit rating of advertisements
ES2726772T3 (en) Media representation groups for continuous network transmission of encoded video data
US20130166580A1 (en) Media Processor
US7743161B2 (en) Digital content buffer for adaptive streaming
US20060015634A1 (en) Progressive streaming media rendering
JP5298331B2 (en) Digital content distribution system and method
CN102271282B (en) A multimedia apparatus ad method for dispensing and / or content to the device, and for
DK2545459T3 (en) Parallel streaming
US9521180B2 (en) Adaptive variable fidelity media distribution system and method
US8713599B2 (en) Content display system
US9009772B2 (en) System and method for providing a data mall
EP1641271A2 (en) Methods and systems for presentation of media obtained from a media stream
US10270829B2 (en) Specifying client behavior and sessions in dynamic adaptive streaming over hypertext transfer protocol (DASH)
US20060288112A1 (en) System and methods for storing music selections in network storage and for streaming the selections to a wireless device for playback on the wireless device
US20080022012A1 (en) Peer-to-peer file download system for IPTV network
JP2012016029A (en) System for distributing packages and channels to device
US20050119976A1 (en) System and method for managing the performance of digital media in computer networks
KR20080076803A (en) Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program
US20090178058A1 (en) Application Aware Networking
US8259623B2 (en) Content capability clearing house systems and methods
US9930385B2 (en) Variable bit video streams for adaptive streaming
US9538142B2 (en) Server-side support for seamless rewind and playback of video streaming

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted