CN102546191B - The charging method of streaming media service, Apparatus and system - Google Patents

The charging method of streaming media service, Apparatus and system 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
quality
code stream
price
rate
media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210021090.3A
Other languages
Chinese (zh)
Other versions
CN102546191A (en
Inventor
廉士国
王新
刘永亮
张少波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Migu Cultural Technology Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210021090.3A priority Critical patent/CN102546191B/en
Publication of CN102546191A publication Critical patent/CN102546191A/en
Priority to PCT/CN2012/078692 priority patent/WO2013113207A1/en
Application granted granted Critical
Publication of CN102546191B publication Critical patent/CN102546191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • 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, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention provides a kind of charging method, Apparatus and system of streaming media service, the method comprises: the quality price rate obtaining the media data code stream setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content; According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content; The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price; According to this actual cost, charging is carried out to user.The charging way of the embodiment of the present invention is more flexible.

Description

The charging method of streaming media service, Apparatus and system
Technical field
The invention belongs to stream media technology field, particularly relate to a kind of charging method of streaming media service, Apparatus and system.
Background technology
At present, streaming media service gets more and more, as Online Music, Online Video, Digital Television etc.The charging way of current streaming media service is mainly: the streaming media service for extra fine quality is fixed a price, first user needed to pay before use streaming media service, such as user is before watching paying high-definition movie by Online Video website, first the expense of on-line payment about 5 yuan is needed, then just can obtain the license watching specific high-definition movie, and then watch this film.
But, be limited to terminal to the disposal ability of media data and wideband condition, the service quality of Streaming Media often can not be guaranteed in reality viewing, especially under open internet environment, may often have the phenomenons such as delay, packet loss, transmission error code to occur.And only consider the selection that user is initial in prior art when streaming media service carries out charging, this charging method underaction.
Summary of the invention
The embodiment of the present invention provides a kind of adaptometer charging method, Apparatus and system of streaming media service, and charging method can be made more flexible.
One embodiment of the present of invention provide a kind of charging method of streaming media service, comprising:
Obtain the quality price rate of the media data code stream setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content;
According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content;
The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price;
According to this actual cost, charging is carried out to user.
On the other hand, the embodiment of the present invention also provides a kind of message accounting of streaming media service, comprising:
Quality price rate acquiring unit, for obtaining the quality price rate of the media data flow setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content;
Paying rate statistic unit, for according in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content;
Charging Detail Record unit, obtains the actual cost of streaming medium content described in terminal plays, and carries out charging according to this actual cost to user for the paying rate that obtains described in calculating and described standard price.
Again on the one hand, the embodiment of the present invention also provides a kind of network system, comprises server, the message accounting of streaming media service and terminal, wherein,
Described server, the media data code stream fragment for generation of different quality is play for terminal downloads;
The message accounting of described streaming media service, for obtaining the quality price rate of the media data code stream setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content; According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content; The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price; According to this actual cost, charging is carried out to user;
Described terminal, in playing stream media content process, for each time slice download code flow section.
As can be seen here, the method that the embodiment of the present invention provides is according to the actual cost of adding up playing stream media content in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, and this just makes charging way more flexible.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of the adaptometer charging method of the streaming media service that the embodiment of the present invention provides;
Fig. 2 is the schematic diagram of the adaptometer charging method of the streaming media service that the embodiment of the present invention one provides;
Fig. 3 is the schematic diagram of AHS stream medium data code stream;
Fig. 4 is a kind of schematic diagram of MPD file;
Fig. 5 be MPD file in the diagram basis on add the schematic diagram of the PMPD file that quality price rate is formed;
Fig. 6 is the selection course schematic diagram that whole streaming medium content completes experienced code stream fragment;
Fig. 7 is the schematic diagram of the self adaptation message accounting of the streaming media server that the embodiment of the present invention provides;
Fig. 8 is a kind of embodiment schematic diagram of paying rate statistic unit in Fig. 7;
Fig. 9 is the another kind of embodiment schematic diagram of paying rate statistic unit in Fig. 7;
Figure 10 is another embodiment schematic diagram of paying rate statistic unit in Fig. 7;
Figure 11 is a kind of specific embodiment schematic diagram of present system embodiment.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The charging method of the streaming media service that the embodiment of the present invention provides realizes on the basis of adaptive stream media technology.Adaptive stream media technology comprises adaptive H ttp Streaming Media (AHS) technology.The basic thought of AHS technology is: the media data code stream producing various code rate at server, and such as corresponding m kind quality, is designated as Q0, Q1, Q2 respectively ..., Qm-1; Often kind of code stream is cut into n fragment, time span corresponding be respectively T0, T1, T2 ..., Tn-1.Adaptive code stream is downloaded and can be realized by two kinds of patterns: server push and final drive, and wherein under the pattern of server push, server is the code stream that terminal selects respective quality according to the feature of terminal and network condition; Under the pattern of final drive, terminal selects according to the disposal ability of self and network condition the code stream fragment downloading respective quality.This adaptive process is along with time variations.Server can produce media and present description (MediaPresentation Description, MPD) file and send to terminal, indicates the information such as the code check of each code stream fragment, Http address in this document.Terminal can do corresponding code stream selection and switching according to this MPD file and network environment and terminal processes.If this media content is protected by copyright, so user side also needs to provide user right data file when playing this media content, and this user right data file is used for deciphering this media content at user side.Usually, user right data file comprises following parameter: content key, term of validity time started, term of validity end time, viewing authority (browse, download, forwarding etc.) etc.In embodiments of the present invention, quality price rate information can be joined above-mentioned media to present in description MPD file or user right data file.
See Fig. 1, the charging method of the streaming media service that the embodiment of the present invention provides, comprising:
Step S101: the quality price rate obtaining the media data code stream of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of streaming medium content;
Wherein, the quality price rate of the code stream of each quality equals the ratio between the real price of the data code flow of this quality and described standard price.
Step S102: according in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to above-mentioned quality price rate the paying rate playing this streaming medium content;
Step S103: according to the paying rate obtained in step S102 and above-mentioned standard price, obtain the actual cost of the above-mentioned streaming medium content of terminal plays.
Step S104: according to the actual cost obtained in step S103, carries out charging to user.
Above-mentioned steps S101 can be message accounting to the executive agent in step S104, and this message accounting can be arranged in each terminal, and now this message accounting is only responsible for the Streaming Media billing function of its place terminal; In addition, message accounting also can be arranged in central control equipment, and the message accounting in central control equipment is responsible for the streaming media service billing function of all terminals in network range that this central control equipment administers.
As can be seen here, method provided by the invention adds up the actual cost of playing stream media content in playing stream media content process for the quality of the code stream fragment downloaded in each time slice according to terminal, this changes with regard to making final actual cost consider the expense caused because of the switching of code stream quality in viewing process, makes finally to obtain actual cost fairer and more reasonable.
Specific implementation of the present invention is described in detail below with several concrete example.
Embodiment one
With AHS Streaming Media in the present embodiment, and the download of adaptive stream media data code flow adopts the mode of final drive to be that example is described, and the method comprises the steps:
Step S201: server produces AHS stream medium data code stream, and MPD file.The specific implementation of this step is that the description about AHS technology in current 3GPP standard is existing, only simple declaration here.
Suppose that server produces the media data code stream of m kind quality, m be more than or equal to 1 natural number, the quality of these code streams can be designated as Q0, Q1, Q2 ..., Qm-1 respectively.Wherein, Q0 > Q1 > Q2 > ... > Qm-1.The media data code stream of often kind of quality is divided into n fragment, n be more than or equal to 1 natural number, the time span of these fragments is respectively T0, T1, T2 ..., Tn-1.The code flow structure produced can see Fig. 3.
The MPD file produced can comprise the information such as the quality of media data code stream, time span and address.In MPD file as shown in Figure 4, " Representation " represents the code stream of a certain quality, and " Quality " represents the quality that code stream is corresponding, and " segmentLength " represents the time span of code stream fragment.In practice, by various, the quality of data code flow can reflect that the parameter of code stream quality is weighed, such as, in the code stream code check (PSNR) of every resolution of frame picture, the sample rate of code stream and code stream.It should be noted that, only launch the information of each fragment in MPD file showing m-1 code stream in Fig. 4, in fact certainly also there is the information of each fragment of other code streams in MPD file.
Step S202: the real price of the stream medium data code stream of a certain extra fine quality of server definition same flow media content, as standard price.In practice, the price to the media data code stream of first water in the media data code stream in the multiple different quality of same flow media content generation can be defined, the price of the multi-medium data code stream of central minimum quality can certainly be defined.
Step S203: server is based on the quality height of adaptive stream media data code flow, to the media data code stream definition quality price rate of the different quality of same flow media content, this quality price rate reflects the ratio between the standard price that defines in the price of the data code flow of this quality and step S202, and quality is higher, this ratio is larger; Quality is lower, and this ratio is less.
Such as, if the price of the highest media data code stream of definition quality is as standard price, namely to define quality be the media data code stream of Q0 is standard price, might as well be designated as C.So the quality price rate of the media data of each quality will meet:
1=R 0>=R 1>=...>=R m-1>=0
In practice, quality threshold Q can be set t1, just carrying out corresponding charging when being not less than this threshold value for only having the data code flow quality of viewing, so just having following constraints for quality price rate:
R i=0, if Qi < is Q t1
Wherein i ∈ 0,1,2 ..., m-1}.
Certainly, also quality threshold Q can be set t2, the data code flow quality of viewing being calculated higher than adopting identical rate during this threshold value, so just having following constraints for quality price rate:
R i=1, if Qi > is Q t2
Wherein i ∈ 0,1,2 ..., m-1}
Step S204: quality price rate defined above is passed to terminal by server, in the present embodiment, quality price rate can join in the MPD file of generation and send to terminal by server.
Thus, quality price rate is joined the new file generated in MPD file and can be called PMPD file by server.
The basis that Fig. 5 shows MPD file in the diagram adds the content of the PMPD file that quality price rate is formed, wherein QualityPriceRate irepresent the quality price rate that i-th code stream is corresponding, i ∈ 0,1,2 ..., m-1}.
It should be noted that, quality price rate is not limited only to the mode above by PMPD file transfers; Can also be placed in the permissions data file of user terminal and be passed to terminal, usually, user right data file comprises following parameter: content key, term of validity time started, term of validity end time, viewing authority (browse, download, forwarding etc.) etc.; Quality price rate also can be passed to terminal separately in other manners.
Information in step S205: terminal parses PMPD file, obtains the information such as the quality of the relevant code stream had in MPD file itself, time span and address, can also obtain the quality price rate information adding wherein each code stream.
In practice, the numerical value of above-mentioned parameters and parameter can be resolved by parameter identification.
Certainly, if quality price rate information is not join in MPD file, so terminal needs to carry out parsing by the file of Transfer Quality price rate and obtains quality price rate information, if quality price rate information passes to terminal separately by other forms, so terminal only needs the information of resolving this independent transmission can obtain quality price rate information.
Anyway, as long as quality price rate does not join MPD file pass to terminal, what so server sent to terminal is original MPD file, terminal parses be also this MPD file.
Step S206: terminal is to the adaptively selected code stream of each time slice, and the process of this adaptive code stream comprises: the quality according to self, the disposal ability of media data and current network condition (such as bandwidth) being determined to the current code stream that should ask.
Terminal self can by the hardware setting acquisition of information of reading terminals to the disposal ability of media data; And current network condition can obtain by reading network setup information.When two factors carry out the quality determining the code stream that should ask above comprehensive, the quality of the code stream that should ask can be determined with lower in two factors for standard.
The quality of the current code stream that should ask determined should belong to the code stream quality that server defines, such as by code stream quality that PMPD file or alternative document carry, but in practice, the code stream quality directly determined in the disposal ability and the current network bandwidth of considering media data often can not be mated between code stream quality predefined with server completely, and therefore this just exists on earth using the quality of the quality of which code stream in PMPD file as the current code stream that should ask determined.In the present embodiment, the method compared is adopted to determine, particularly, when by considering that the code stream quality that the disposal ability of media data and the current network bandwidth are directly determined is q, then to compare in searching PMPD file in m kind code stream quality closest to this q and that code stream quality being not more than q is exactly the quality of the current code stream that should ask finally determined.Code stream is comprised for the parameter of code stream quality, if determine that the current maximal rate that can process is the media code stream of B by the disposal ability of media data and the current network bandwidth, so by comparing the code check parameter in the quality of the numerous code streams in PMPD file, discovery quality is Q bthe code check of code stream be that it is maximum to be less than in B, therefore determine that current quality of should asking is Q bcode stream fragment.
As can be seen here, in embodiments of the present invention, terminal needs the quality selecting the code stream next received according to current actual conditions adaptively.Suppose that final terminal receives whole streaming medium content and completes the selection course of experienced code stream fragment as shown in Figure 6, wherein S i, jexpression quality is Q ijth+1 code stream fragment of code stream, the solid line streaked between the code stream of each quality represents the selection track of the code stream fragment selected by each time slice, and the media data code stream finally finished receiving completely by terminal is by S 0,0, S 0,1, S 1,2s m-1, n-2, S 1, n-1n code stream fragment composition.
Step S207: terminal after for the adaptively selected code stream fragment of each time slice, according to the address downloading contents of this code stream fragment parsed in PMPD file, and can play the content of this fragment.
Certainly, if server is not add quality price rate by MPD file, then, in step S207, what terminal was resolved is exactly MPD original document.
Step S208: terminal, according to the quality of code stream fragment selected in each time slice play at same flow media content, adds up the paying rate p of this streaming medium content.
The mode of three kinds of concrete statistics paying rates can be adopted in the present embodiment, be respectively:
Mode 1: the viewing length of the media data code stream of statistics different code streams quality, its detailed process is:
When terminal pins is to each time slice option code flow section, the quality of record code flow section place code stream and the time span of code stream fragment, finally the quality price rate of all code stream fragments of the selection in streaming medium content playing process is weighted summation according to the weight factor of this quality price rate, obtains paying rate p.When calculating weighted sum, the weight factor of each code stream fragment be the time span of this code stream fragment account for the code stream of whole streaming medium content total time length ratio.
Such as, if T ibe the i-th+1 by the time span of code stream fragment selected, wherein i ∈ 0,1,2 ..., n-1}.And the total time length of the code stream of whole streaming medium content is T=T 0+ T 1+ ...+T n-1.
Then the process of above-mentioned weighted sum calculating paying rate can be expressed as:
p = ( T 0 R 0 &prime; + T 1 R 1 &prime; + T 2 R 2 &prime; + . . . + T n - 1 R n - 1 &prime; ) T
Wherein, R ' i∈ { R 0, R 1, R 2..., R n-1be the i-th+1 by the quality price rate of media code flow section place code stream selected.Such as, if code stream fragment S j, iselected, then in the computing formula of above-mentioned weighted sum, R ' i=R j.
Mode 2: the switching frequency of the media code flow section of statistics different code streams quality, its detailed process is as follows:
First, when the quality of the code stream fragment selected by adjacent two time slices is different, judge bitstreams switching to occur, in such as, code stream Piece Selection process shown in Fig. 6, when selection the 3rd time slice, due to the 2nd time slice selection is code stream fragment S 0,1, and that following 3rd time slice selection is code stream fragment S 1,2the quality of the code stream at these two adjacent code stream fragment places is different, therefore bitstreams switching occurs.
Then, add up the number of times that whole streaming medium content plays the bitstreams switching occurred, be designated as L.
The number of times of statistics bitstreams switching can have a variety of specific implementation, such as, for often arranging switching mark position between adjacent two code stream fragments chosen, when there is bitstreams switching, can be 1, otherwise be set to 0 by the switching mark position of correspondence.Finally calculate all flag bits and, just obtain the number of times of bitstreams switching.Can certainly arrange a register, initial zero setting, whenever there is bitstreams switching cumulative 1, after all code stream Piece Selections of streaming medium content are complete, the result in this register is exactly the number of times of bitstreams switching.
Then calculate paying rate p, paying rate is the ratio that in the bitstreams switching number of times maximum preset in streaming medium content playing process, the actual number of times that bitstreams switching does not occur accounts for above-mentioned default bitstreams switching number of times maximum.
Above-mentioned default bitstreams switching number of times maximum equals at most bitstreams switching number of times can occur in streaming medium content playing process.
Still for Fig. 6, when the number of the code stream fragment of streaming medium content is n, be not difficult so at most to draw that the number of times that bitstreams switching can occur at most is n-1, namely, the maximum of the bitstreams switching number of times preset is n-1, then the actual number of times that bitstreams switching does not occur is n-1-L.Therefore calculate paying rate to be realized by following formula:
p=(n-1-L)/(n-1)
Mode 3: the switching frequency adding up the media code flow section of different code check quality, consider the code stream quality gap of switching, detailed process is as follows simultaneously:
First add up with reference to the implementation in aforesaid way 2 number of times that whole streaming medium content plays the bitstreams switching occurred.
Calculate the distance D of each bitstreams switching simultaneously k, k ∈ 0,1,2 ..., L-1}, 1≤D k< m.The distance of bitstreams switching can be defined as the absolute value of the difference between the quality sequence number of the last code stream fragment that bitstreams switching place occurs and the quality sequence number of a rear code stream fragment, and the quality sequence number of code stream fragment here determines according to the rank of quality in the quality of all code streams of same flow media content of this code stream fragment place code stream.The Distance geometry of actual bitstreams switching in playing stream media content process is added up according to the distance Dk of each bitstreams switching.
Such as, if the code stream quality of last code stream fragment is Q i, the code stream quality of a rear code stream fragment is Q j, then the distance switched between these two code stream fragments is | i-j|, wherein | | be the operation taken absolute value.
Then calculate paying rate p, paying rate is the business that the maximum of the Distance geometry of the switching code stream that can produce in above-mentioned streaming medium content playing process subtracts the maximum of the difference of the Distance geometry gained of actual bitstreams switching and the Distance geometry of the above-mentioned switching code stream that can produce.
When same flow media content has the media data code stream of m kind different quality, when each media data code stream is divided into n segment encode flow section, the situation of the maximum of the switching code stream distance sum that then can produce in this streaming medium content of above-mentioned broadcasting, bitstreams switching (namely actual bitstreams switching number of times is n-1) is all there is between adjacent exactly two time slices, and bitstreams switching carries out (each switching distance is all m-1) all the time between the minimum code stream of quality and the highest code stream of quality, so the maximum of the switching code stream distance sum that can produce just equals (n-1) (m-1).
Particularly, paying rate p can be calculated by following formula:
Or
Step S209: according to the real price of the media data code stream of the extra fine quality of the paying rate p obtained in step S208 and this streaming medium content defined before, i.e. standard price C, calculates the actual cost that user watches streaming medium content.
For the mode of rear paying, system can deduct the actual cost that user watches streaming medium content after user's viewing;
For the mode of pre-payment, system starts first to collect the charges according to standard price, returns the overcharge and demand payment of the shortage afterwards according to actual cost.If such as system is according to the price definition standard price of the multi-medium data code stream of first water, what then user paid when pre-payment will be the highest expense that may pay, and after user's viewing, the actual cost that system-computed goes out is often lower than this mark price, therefore the difference of the two also can compensate to user by system, returns.
It should be noted that, above-mentioned steps S208 and step S209 can be performed by terminal, also can be performed by central control equipment, such as in home network, the central control equipment of this execution step S208 and step S209 can be family gateway equipment in home network, control centre or STB, can realize statistics to the viewing quality of media termination multiple in family and charging like this by central control equipment.
In addition, owing in above-described embodiment being employing final drive, it is the quality being carried out option code flow section by the mode of final drive in step S206, and in the another embodiment substituted, the mode that also server can be adopted to drive carrys out the quality of option code flow section, now will be replaced by terminal in step S206 when playing stream media content, for each time slice, server selects the quality of the code stream fragment of terminal downloads according to the disposal ability of terminal and current network conditions, and indicating terminal downloads the code stream fragment of this quality.
The embodiment of the present invention is the corresponding message accounting providing a kind of streaming media service also, and as shown in Figure 7, this device comprises: quality price rate acquiring unit 701, paying rate statistic unit 702 and Charging Detail Record unit 703.
Wherein, quality price rate acquiring unit 701 for obtain server to same flow media content that different quality media data flow setting quality price rate, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content.
The quality price rate that the quality price rate of the code stream of above-mentioned each quality can equal the data code flow of this quality equals the ratio between the real price of the data code flow of this quality and standard price.
The definition of the detailed process that quality price rate sets and standard price is identical with the related content in said method embodiment, repeats no more here,
Paying rate statistic unit 702 for according to terminal for the quality of the code stream fragment downloaded in each time slice in playing stream media content process, determine according to described quality price rate the paying rate playing this streaming medium content.Determine that the concrete mode of paying rate can adopt three kinds of modes cited in above-described embodiment equally, according to these three kinds of modes, paying rate statistic unit 702 can just like Fig. 8-10 three kinds of concrete structures.
Charging Detail Record unit 703 for obtaining the actual cost of streaming medium content described in terminal plays according to the paying rate obtained and described standard price, and carries out charging according to this actual cost to user.
Product between the paying rate obtained described in Charging Detail Record unit 703 can calculate and described standard price, thus obtain the actual cost of terminal plays streaming medium content.
Below in conjunction with Fig. 8-10, describe the specific implementation of paying rate statistic unit 702 in detail.
As shown in Figure 8, in a kind of specific embodiment, paying rate statistic unit 702 specifically comprises:
Code stream frag info record cell 70211, for when terminal pins is to each time slice download code flow section, the quality of record code flow section and the time span of code stream fragment;
Weighted sum unit 70221, the quality price rate for the code stream to all code stream fragment places of downloading in media play content process is weighted summation, obtains paying rate; In described weighted sum process, the weight factor of the quality price rate of the code stream of each code stream fragment is the ratio that the time span of this code stream fragment accounts for the time span summation of all code stream fragments.
As shown in Figure 9, in another kind of specific embodiment, paying rate statistic unit 702 specifically comprises:
Bitstreams switching detecting unit 70212, when the quality of the code stream fragment of adjacent two time slices downloaded for terminal is different, judges bitstreams switching occurs;
Bitstreams switching number of times statistic unit 70222, for adding up the number of times of the bitstreams switching occurred in whole streaming medium content playing process;
Ratio computing unit 70232, accounting for the described ratio that bitstreams switching number of times can occur at most for calculating the actual number of times that bitstreams switching does not occur in the bitstreams switching number of times that can occur at most in streaming medium content playing process, obtaining paying rate.
As shown in Figure 10, in another kind of specific embodiment, paying rate statistic unit 702 specifically comprises:
Bitstreams switching detecting unit 70213, when the quality of the code stream fragment of adjacent two time slices downloaded for terminal is different, judges bitstreams switching occurs;
Single metrics calculation unit 70223, for recording the distance of each bitstreams switching, the distance of described bitstreams switching is the absolute value of the difference between the quality sequence number of the last code stream fragment that bitstreams switching place occurs and the quality sequence number of a rear code stream fragment;
Switch distance summation statistic unit 70233, for adding up the Distance geometry of actual bitstreams switching in whole streaming medium content playing process;
Bitstreams switching number of times statistic unit 70243, for adding up the number of times of the bitstreams switching occurred in whole streaming medium content playing process;
Second ratio computing unit 70253, maximum for the Distance geometry calculating the switching code stream that can produce in streaming medium content playing process deducts the business of the maximum of the difference of the Distance geometry gained of actual bitstreams switching and the Distance geometry of the above-mentioned switching code stream that can produce, and obtains paying rate.
In addition, be by quality price rate information is joined situation about sending in specific file for server, the quality price rate acquiring unit in above-mentioned message accounting specifically comprises: resolution unit and result acquiring unit.Wherein resolution unit is used for the file comprised the quality price rate information that the media data code stream of the different quality of same flow media content sets that resolution server sends, in described file, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content; Result acquiring unit is used for obtaining according to the analysis result of resolution unit obtaining described quality price rate.Here file can be PMPD file, also can be user right data file.
The embodiment of the present invention is also corresponding provides a kind of network system, and this network system comprises the message accounting of the streaming media service in above-described embodiment, server and terminal.This terminal comprises download unit, and this download unit is used in playing stream media content process, for each time slice download code flow section.
As mentioned previously, the quality of terminal downloads code stream fragment can the mode of final drive, also can adopt the mode that server drives.
When adopting the mode of final drive, above-mentioned terminal also comprises: code stream Piece Selection unit, for for each time slice, according to the quality of the code stream fragment that disposal ability and the current network conditions selection of terminal self are downloaded, and notify that described download unit downloads the code stream fragment of this quality.
When adopting the mode of final drive, above-mentioned terminal also comprises: code stream Piece Selection result receiving element, for reception server for each time slice, select the quality of the code stream fragment of terminal downloads according to the disposal ability of terminal and current network conditions, and notify that described download unit downloads the code stream fragment of this quality.
In practice, the message accounting of the streaming media service in above-mentioned network system can be arranged in each terminal, and the message accounting of now streaming media service is only responsible for the streaming media service billing function of the terminal at its place.Certainly in practice, also may in a specific network range, the all terminals in its network range of administering of unified management are responsible for by a central control equipment, the message accounting of now above-mentioned streaming media service can be arranged in each central control equipment, for the streaming media service billing function of all terminals in the network range that this central control equipment responsible is administered.
The network that above-mentioned central control equipment is administered can be home network.
Concrete, as shown in Figure 11, above-mentioned network system comprises:
Server 1101: the media data code stream fragment for generation of different quality is play for terminal downloads.
The message accounting 1103 of streaming media service: for obtaining the quality price rate of the media data code stream setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content; According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content; The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price; According to this actual cost, charging is carried out to user.
Desktop computer 1105: in playing stream media content process, for each time slice download code flow section.
Palmtop PC 1107: in playing stream media content process, for each time slice download code flow section.
Notebook computer 1109: in playing stream media content process, for each time slice download code flow section.
The above-mentioned terminal type enumerated is a kind of signal just, and do not form the restriction to being suitable for terminal type, other terminals with same function must be included within the scope of the embodiment of the present invention.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, common hardware comprises universal integrated circuit, universal cpu, general-purpose storage, universal elements etc., can certainly comprise application-specific integrated circuit (ASIC), dedicated cpu, private memory, special components and parts etc. by specialized hardware to realize, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise the method for some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment of the present invention.
The order of each step in above embodiment of the method can need to adjust according to practical application, and each step can need to carry out being combined to form new scheme according to practical application.Unit in above device embodiment, module can need to divide according to practical application, or reconfigure.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. a charging method for streaming media service, is characterized in that, comprising:
Obtain the quality price rate that the media data code stream of the different quality of same flow media content is set, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the media data code stream of a certain extra fine quality of same flow media content;
According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, the paying rate playing this streaming medium content is determined, the code stream quality that the quality of the code stream fragment downloaded in each time slice described defines for server according to described quality price rate;
The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price;
According to this actual cost, charging is carried out to user;
Described acquisition comprises the quality price rate that the media data code stream of the different quality of same flow media content sets:
Comprising of sending described quality price rate is obtained to the file of the quality price rate information that the media data code stream of the different quality of same flow media content sets by resolution server;
Described comprising comprises the file of the quality price rate information that the media data code stream of the different quality of same flow media content sets:
The media adding described quality price rate information present description MPD file or user right data file.
2. method according to claim 1, is characterized in that, describedly determines that the paying rate playing this streaming medium content comprises according to described quality price rate:
During for each time slice download code flow section, the quality of record code flow section and the time span of code stream fragment;
According to the weight factor of this quality price rate, summation is weighted to the quality price rate of the code stream at all code stream fragment places of downloading in media play content process, obtains paying rate;
The quality price rate of the code stream at described all code stream fragment places to downloading in media play content process is weighted in summation process, and the weight factor of the quality price rate of the code stream of each code stream fragment is the ratio that the time span of this code stream fragment accounts for the time span summation of all code stream fragments.
3. method according to claim 1, is characterized in that, describedly determines that the paying rate playing this streaming medium content comprises according to described quality price rate:
Add up the bitstreams switching number of times occurred in whole streaming medium content playing process, wherein occurred bitstreams switching refers to that the quality of the code stream fragment of adjacent two time slices that terminal is downloaded is different;
Calculate the actual number of times that bitstreams switching does not occur in the bitstreams switching number of times maximum preset in streaming medium content playing process and account for the ratio of described bitstreams switching number of times maximum, obtain paying rate.
4. method according to claim 1, is characterized in that, describedly determines that the paying rate playing this streaming medium content comprises according to described quality price rate:
The each distance that bitstreams switching occurs of record, wherein, bitstreams switching occurs and refers to that the quality of the code stream fragment of adjacent two time slices that terminal is downloaded is different, the Distance geometry of described bitstreams switching is the absolute value of the difference between the quality sequence number of the last code stream fragment that bitstreams switching place occurs and the quality sequence number of a rear code stream fragment;
Add up the bitstreams switching number of times occurred in whole streaming medium content playing process and the Distance geometry adding up actual bitstreams switching;
The maximum calculating the Distance geometry of the switching code stream that can produce in streaming medium content playing process deducts the business of the maximum of the difference of the Distance geometry gained of actual bitstreams switching and the Distance geometry of the above-mentioned switching code stream that can produce, and obtains paying rate.
5. method according to any one of claim 1 to 4, is characterized in that, described method also comprises:
Terminal, when playing stream media content, for each time slice, according to the quality of the code stream fragment that disposal ability and the current network conditions selection of described terminal self are downloaded, and downloads the code stream fragment of this quality.
6. method according to any one of claim 1 to 4, is characterized in that, the quality price rate of the code stream of described each quality equals the ratio between the real price of the data code flow of this quality and described standard price.
7. a message accounting for streaming media service, is characterized in that, comprising:
Quality price rate acquiring unit, for obtaining the quality price rate of the media data flow setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the media data code stream of a certain extra fine quality of same flow media content;
Paying rate statistic unit, for according in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, the paying rate playing this streaming medium content is determined, the code stream quality that the quality of the code stream fragment downloaded in each time slice described defines for server according to described quality price rate;
Charging Detail Record unit, obtains the actual cost of streaming medium content described in terminal plays, and carries out charging according to this actual cost to user for the paying rate that obtains described in basis and described standard price;
Described quality price rate acquiring unit comprises:
Resolution unit, for the file comprised the quality price rate information that the media data code stream of the different quality of same flow media content sets that resolution server sends; Described comprising comprises the file of the quality price rate information that the media data code stream of the different quality of same flow media content sets: the media adding described quality price rate information present description MPD file or user right data file, in described file, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content;
Result acquiring unit, for obtaining described quality price rate according to the analysis result of resolution unit.
8. device according to claim 7, is characterized in that, described paying rate statistic unit comprises:
Code stream frag info record cell, for during for each time slice download code flow section, the quality of record code flow section and the time span of code stream fragment;
Weighted sum unit, the quality price rate for the code stream to all code stream fragment places of downloading in media play content process is weighted summation according to the weight factor of this quality price rate, obtains paying rate; The quality price rate of the code stream at described all code stream fragment places to downloading in media play content process is weighted in summation process, and the weight factor of the quality price rate of the code stream of each code stream fragment is the ratio that the time span of this code stream fragment accounts for the time span summation of all code stream fragments.
9. device according to claim 7, is characterized in that, described paying rate statistic unit comprises:
Bitstreams switching detecting unit, when the quality of the code stream fragment of adjacent two time slices downloaded for terminal is different, judges bitstreams switching occurs;
Bitstreams switching number of times statistic unit, for adding up the number of times of the bitstreams switching occurred in whole streaming medium content playing process;
First ratio computing unit, accounting for the ratio of described bitstreams switching number of times maximum for calculating the actual number of times that bitstreams switching does not occur in bitstreams switching number of times maximum default in streaming medium content playing process, obtaining paying rate.
10. device according to claim 7, is characterized in that, described paying rate statistic unit comprises:
Bitstreams switching detecting unit, when the quality of the code stream fragment of adjacent two time slices downloaded for terminal is different, judges bitstreams switching occurs;
Single metrics calculation unit, for recording each distance that bitstreams switching occurs, the distance of described bitstreams switching is the absolute value of the difference between the quality sequence number of the last code stream fragment that bitstreams switching place occurs and the quality sequence number of a rear code stream fragment;
Switch distance summation statistic unit, for adding up the Distance geometry of actual bitstreams switching in whole streaming medium content playing process;
Bitstreams switching number of times statistic unit, for adding up the number of times of the bitstreams switching occurred in whole streaming medium content playing process;
Second ratio computing unit, maximum for the Distance geometry calculating the switching code stream that can produce in streaming medium content playing process deducts the business of the maximum of the difference of the Distance geometry gained of actual bitstreams switching and the Distance geometry of the above-mentioned switching code stream that can produce, and obtains paying rate.
11. 1 kinds of network systems, is characterized in that, comprise server, the message accounting of streaming media service and terminal, wherein,
Described server, the media data code stream fragment for generation of different quality is play for terminal downloads;
The message accounting of described streaming media service, for obtaining the quality price rate of the media data code stream setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the media data code stream of a certain extra fine quality of same flow media content; According in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, determine according to described quality price rate the paying rate playing this streaming medium content; The actual cost of streaming medium content described in terminal plays is obtained according to the described paying rate that obtains and described standard price; According to this actual cost, charging is carried out to user;
Described terminal, in playing stream media content process, for each time slice download code flow section;
The message accounting of described streaming media service comprises:
Quality price rate acquiring unit, for obtaining the quality price rate of the media data flow setting of the different quality of same flow media content, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content;
Paying rate statistic unit, for according in playing stream media content process for the quality of the code stream fragment downloaded in each time slice, the paying rate playing this streaming medium content is determined, the code stream quality that the quality of the code stream fragment downloaded in each time slice described defines for server according to described quality price rate;
Charging Detail Record unit, obtains the actual cost of streaming medium content described in terminal plays, and carries out charging according to this actual cost to user for the paying rate that obtains described in basis and described standard price;
Described quality price rate acquiring unit comprises:
Resolution unit, for the file comprised the quality price rate information that the media data code stream of the different quality of same flow media content sets that resolution server sends; Described comprising comprises the file of the quality price rate information that the media data code stream of the different quality of same flow media content sets: the media adding described quality price rate information present description MPD file or user right data file, in described file, the quality price rate of the code stream of each quality determines with reference to the real price of the data code flow of this quality and the relation of standard price, and described standard price is the real price of the data code flow of an extra fine quality of described streaming medium content;
Result acquiring unit, for obtaining described quality price rate according to the analysis result of resolution unit.
CN201210021090.3A 2012-01-30 2012-01-30 The charging method of streaming media service, Apparatus and system Active CN102546191B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210021090.3A CN102546191B (en) 2012-01-30 2012-01-30 The charging method of streaming media service, Apparatus and system

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 Active CN102546191B (en) 2012-01-30 2012-01-30 The charging method of streaming media service, Apparatus and system

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546191B (en) * 2012-01-30 2015-08-05 华为技术有限公司 The charging method of streaming media service, Apparatus and system
US9125073B2 (en) * 2012-08-03 2015-09-01 Intel Corporation Quality-aware adaptive streaming over hypertext transfer protocol using quality attributes in manifest file
CN104105012B (en) * 2013-04-03 2018-04-20 华为技术有限公司 The fragment preparation method and device of Streaming Media
CN106570720B (en) * 2016-09-20 2021-05-04 中央电视台 Multimedia data pricing processing method and device
CN112884507A (en) * 2021-02-05 2021-06-01 世纪蜗牛通信科技有限公司 Advertisement marketing recommendation system based on user preference

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 华为技术有限公司 The charging method of streaming media service, Apparatus and system

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
CN102546191B (en) The charging method of streaming media service, Apparatus and system
US10178198B2 (en) System and method for selection and switching of content sources for a streaming content session
Sadka Compressed video communications
Laghari et al. Quality of experience assessment of video quality in social clouds
US8165598B2 (en) Methods and apparatus for providing media on mobile devices
US9112948B1 (en) System and method for assignment and switching of content sources for a streaming content session
US20070250636A1 (en) Global interactive packet network broadcast station
US9521469B2 (en) Carriage of quality information of content in media formats
US20210120064A1 (en) Systems and methods for cloud storage direct streaming
US20110145115A1 (en) Customized content billing management server and method
CN101110759A (en) Peer-to-peer file download system for IPTV network
US20090157480A1 (en) Intelligent broadcast techniques to optimize wireless device bandwidth usage
CN104967862A (en) Video storage method and device, and video searching method and device
CN104185997A (en) System and method for quality of experience aware media search and recommendation with unified portal
US20180376176A1 (en) Quality-of-experience optimization apparatus, network quality estimation apparatus, mobile terminal, quality-of-experience optimization method, network quality estimation method, and program
CN102136948B (en) Method, terminal equipment and system for counting user experiences
CN102271098A (en) Networking method and system
CN106470350B (en) Code rate adaptive approach and device based on dynamic bit rate
CN108769754B (en) Video playback method and system based on video playback terminal
WO2017035310A1 (en) Customized content channel generation and delivery for service providers
KR101145877B1 (en) Broadcasting contents preference calculation system and method
CN113132759A (en) Method, device, server, system and storage medium for determining video playing time delay
CN102959531B (en) For the method and system of cloud base media self-adaptation and transcoding service
CN109302641A (en) A kind of method, medium and the device of video-see request
CN101005365A (en) Stream medium down loading system and its down loading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210118

Address after: Room 400, building 5, No.11 Deshengmenwai street, Xicheng District, Beijing 100032 (Desheng Park)

Patentee after: Migu cultural technology Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right