CN102546191A - Stream media service billing method, device and system - Google Patents

Stream media service billing method, device and system Download PDF

Info

Publication number
CN102546191A
CN102546191A CN2012100210903A CN201210021090A CN102546191A CN 102546191 A CN102546191 A CN 102546191A CN 2012100210903 A CN2012100210903 A CN 2012100210903A CN 201210021090 A CN201210021090 A CN 201210021090A CN 102546191 A CN102546191 A CN 102546191A
Authority
CN
China
Prior art keywords
code stream
quality
price
rate
medium content
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.)
Granted
Application number
CN2012100210903A
Other languages
Chinese (zh)
Other versions
CN102546191B (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

Images

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 invention provides stream media service billing method, device and system. The method comprises the following steps: the quality price ratios set by media data code streams with different qualities of the same stream media content are acquired, the quality price ratio of the code stream of each quality is determined according to the relation between the real price and the standard price of the data code stream with the quality, and the standard price is the real price of the data code stream with a specific quality of the stream media content; according to the quality of the code stream segment downloaded within each time slice in the stream media content playback process, as well as the quality price ratio, the charge rate for playing the stream media content is determined; according to the obtained charge rate and the standard price, the actual cost for the terminal to play the stream media content is acquired; and billing is carried out for the user according to the actual cost. The billing method provided by the embodiment of the invention is more flexible.

Description

The charging method of streaming media service, Apparatus and system
Technical field
The invention belongs to the stream media technology field, relate in particular to a kind of charging method, Apparatus and system of streaming media service.
Background technology
At present, streaming media service is more and more, like Online Music, Online Video, DTV etc.The charging way of streaming media service at present is mainly: the streaming media service to extra fine quality is fixed a price; The user at first needed to pay before using streaming media service; For example the user is before watching the paying high-definition movie through the Online Video website; The expense that at first needs about 5 yuan of on-line payments just can obtain to watch the permission of specific high-definition movie then, and then watch this film.
But; Be subject to disposal ability and the wideband condition of terminal to media data; The service quality of Streaming Media often can not get guaranteeing especially under open internet environment, possibly often have phenomenons such as delay, packet loss, transmission error code to occur in actual watching.And, streaming media service only considers the selection that the user is initial, this charging method underaction in the prior art when being chargeed.
Summary of the invention
The embodiment of the invention provides a kind of adaptometer charging method, Apparatus and system of streaming media service, can make that charging method is 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 that the media data code stream of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
According to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice, confirm to play the paying rate of this streaming medium content according to said quality price rate;
Obtain the actual cost of the said streaming medium content of terminal plays according to the said paying rate that obtains and said standard price;
According to this actual cost the user is chargeed.
On the other hand, the embodiment of the invention also provides a kind of message accounting of streaming media service, comprising:
Quality price rate acquiring unit; Be used to obtain the quality price rate that the media data flow of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
Paying rate statistic unit is used for confirming to play the paying rate of this streaming medium content according to said quality price rate according in the quality of playing stream media contents to the code stream fragment of being downloaded in each time slice;
Charging Detail Record unit is used to calculate the actual cost that said paying rate that obtains and said standard price obtain the said streaming medium content of terminal plays, and according to this actual cost the user is chargeed.
On the one hand, the embodiment of the invention also provides a kind of network system, comprises the message accounting and the terminal of server, streaming media service again, wherein,
Said server, the media data code stream fragment confession terminal downloads broadcast that is used to produce different quality;
The message accounting of said streaming media service; Be used to obtain the quality price rate that the media data code stream of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content; According to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice, confirm to play the paying rate of this streaming medium content according to said quality price rate; Obtain the actual cost of the said streaming medium content of terminal plays according to the said paying rate that obtains and said standard price; According to this actual cost the user is chargeed;
Said terminal is used in the playing stream media contents, to each time slice download code flow section.
This shows that method that the embodiment of the invention provides is according to the actual cost of in the playing stream media contents, adding up the playing stream media content to the quality of the code stream fragment of being downloaded in each time slice, this just makes charging way more flexible.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the sketch map of the adaptometer charging method of the streaming media service that provides of the embodiment of the invention;
Fig. 2 is the sketch map of the adaptometer charging method of the streaming media service that provides of the embodiment of the invention one;
Fig. 3 is the sketch map of AHS stream medium data code stream;
Fig. 4 is a kind of sketch map of MPD file;
Fig. 5 is the sketch map that adds the PMPD file that quality price rate forms on the basis of the MPD file in Fig. 4;
Fig. 6 is the selection course sketch map that whole streaming medium content is accomplished the code stream fragment that is experienced;
Fig. 7 is the self adaptation charging schematic representation of apparatus of the streaming media server that provides of the embodiment of the invention;
Fig. 8 is a kind of embodiment sketch map of paying rate statistic unit among Fig. 7;
Fig. 9 is the another kind of embodiment sketch map of paying rate statistic unit among Fig. 7;
Figure 10 is another embodiment sketch map of paying rate statistic unit among Fig. 7;
Figure 11 is a kind of specific embodiment sketch map of system embodiment of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The charging method of the streaming media service that the embodiment of the invention provides is on the basis of adaptive stream media technology, to realize.The adaptive stream media technology comprises adaptive H ttp Streaming Media (AHS) technology.The basic thought of AHS technology is: at the media data code stream of server generation various code rate, for example corresponding m mass is designated as Q0, Q1, Q2 respectively ..., Qm-1; Every kind of code stream is cut into n fragment, respectively time corresponding length be T0, T1, T2 ..., Tn-1.Adaptive code stream is downloaded and can be realized through two kinds of patterns: server push and final drive, and wherein under the pattern of server push, server is the code stream that respective quality is selected at the terminal according to the characteristics and the network condition at terminal; Under the pattern of final drive, the terminal is according to the disposal ability of self and the code stream fragment of network condition selection download respective quality.This adaptive process is along with the time changes.Server can produce medium and present description (Media Presentation Description, MPD) file sends to the terminal, the information such as code check, Http address of each code stream fragment of indication in this document.Corresponding code stream selection and switching can be done according to this MPD file and network environment and terminal processes in the terminal.If this media content receives copyright protection, user side also need provide the user right data file when playing this media content so, and this user right data file is used at this media content of user side deciphering.Usually, the user right data file comprises following parameter: content key, term of validity time started, term of validity concluding time, watch authority (browse, download, forwarding etc.) etc.In embodiments of the present invention, can quality price rate information be joined above-mentioned medium appears in description MPD file or the user right data file.
Referring to Fig. 1, the charging method of the streaming media service that the embodiment of the invention provides comprises:
Step S101: the quality price rate of media data code stream of obtaining the different quality of same streaming medium content; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of 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 real price of this data Quality code stream and the ratio between the said standard price.
Step S102:, confirm to play the paying rate of this streaming medium content according to above-mentioned quality price rate according to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice;
Step S103:, obtain the actual cost of the above-mentioned streaming medium content of terminal plays according to paying rate that obtains among the step S102 and above-mentioned standard price.
Step S104:, the user is chargeed according to the actual cost that obtains among the step S103.
Above-mentioned steps S101 can be a message accounting to the executive agent among the step S104, and this message accounting can be arranged in each terminal, and this moment, this message accounting only was responsible for the Streaming Media billing function at its terminal, place; In addition, message accounting also can be arranged in the central control equipment, and the message accounting in the central control equipment is responsible for the streaming media service billing function at all terminals in the network range that this central control equipment administers.
This shows; Method provided by the invention is added up the actual cost of playing stream media content to the quality of the code stream fragment of being downloaded in each time slice in the playing stream media contents according to the terminal; This just makes final actual cost consider in watching process because the expense that the switching of code stream quality causes changes, makes that finally to obtain actual cost fairer and more reasonable.
Below specify concrete realization of the present invention with several concrete examples.
Embodiment one
In the present embodiment with the AHS Streaming Media, and the download of adaptive stream media data code flow to adopt the mode of final drive be that example describes, this method comprises the steps:
Step S201: server produces AHS stream medium data code stream, and the MPD file.The concrete realization of this step is existing about the description of AHS technology in the present 3GPP standard, only simple declaration here.
Suppose that server produces the media data code stream of m mass, m is the natural number more than or equal to 1, the quality of these code streams can be designated as respectively Q0, Q1, Q2 ..., Qm-1.Wherein, Q0>Q1>Q2>...>Qm-1.The media data code stream of every mass is divided into n fragment, and n is the natural number more than or equal to 1, and the time span of these fragments is respectively T0, T1, and T2 ..., Tn-1.The code flow structure that produces can be referring to Fig. 3.
The MPD file that produces can comprise the information such as quality, time span and address of media data code stream.In the MPD file as shown in Figure 4, the code stream of a certain quality of " Representation " expression, the corresponding quality of " Quality " expression code stream, the time span of " segmentLength " indication code flow section.In reality, the quality of data code flow can be weighed through the various parameters of code stream quality that can reflect, for example the code check of the sample rate of the resolution of every frame picture, code stream and code stream (PSNR) in the code stream.Need to prove, only launch to show the information of each fragment in the MPD file of m-1 code stream among Fig. 4, in fact in the MPD file, also have the information of each fragment of other code streams certainly.
Step S202: server defines the real price of stream medium data code stream of a certain extra fine quality of same streaming medium content, as standard price.In reality, can define the price of the media data code stream of first water in the media data code stream in the multiple different quality that same streaming medium content is generated, the price of the multi-medium data code stream of minimum quality in the middle of can certainly defining.
Step S203: server is based on the quality height of adaptive stream media data code flow; Media data code stream definition quality price rate to the different quality of same streaming medium content; This quality price rate has reflected the ratio between the standard price that defines among price and the step S202 of this data Quality code stream; And quality is high more, and this ratio is big more; Quality is low more, and this ratio is more little.
For example, be that the media data code stream of Q0 is a standard price if the price of the highest media data code stream of definition quality as standard price, has promptly defined quality, might as well be designated as C.The quality price rate of the media data of each quality will satisfy so:
1=R 0>=R 1>=...>=R m-1>=0
In reality, can set quality threshold Q T1, just charge accordingly when being not less than this threshold value for the data code flow quality of only watching, for quality price rate following constraints is just arranged so:
R i=0, if Qi<Q T1
Wherein i ∈ 0,1,2 ..., m-1}.
Certainly, also can set quality threshold Q T2, adopt identical rate to calculate when being higher than this threshold value for the data code flow quality of watching, for quality price rate following constraints is just arranged so:
R i=1, if Qi>Q T2
Wherein i ∈ 0,1,2 ..., m-1}
Step S204: server passes to the terminal with the quality price rate of above-mentioned definition, and in the present embodiment, server can join quality price rate in the MPD file of generation and send to the terminal.
Thus, server joins the new file that is generated in the MPD file with quality price rate and can be called the PMPD file.
Fig. 5 shows the content that adds the PMPD file that quality price rate forms on the basis of the MPD file in Fig. 4, wherein QualityPriceRate iRepresent the quality price rate that i code stream is corresponding, i ∈ 0,1,2 ..., m-1}.
Need to prove that quality price rate is not limited only to above-mentioned mode through the PMPD file transfers; Can also be placed in the permissions data file of user terminal and be passed to the terminal, usually, the user right data file comprises following parameter: content key, term of validity time started, term of validity concluding time, watch authority (browse, download, forwarding etc.) etc.; Quality price rate also can be passed to the terminal separately with other mode.
Step S205: the information in the terminal parses PMPD file, the information such as quality, time span and address of the relevant code stream that obtains to have in the MPD file itself can also obtain to add the quality price rate information of wherein each code stream.
In reality, can resolve the numerical value of above-mentioned each parameter and parameter through parameter identification.
Certainly; If quality price rate information is not to join in the MPD file; The quality price rate information that obtains need be resolved through the file of Transfer Quality price rate in the terminal so; If quality price rate information passes to the terminal separately through other forms, the terminal only need be resolved this information of transmitting separately and can be obtained quality price rate information so.
Anyway, give the terminal as long as quality price rate does not join the MPD file transfers, what server sent to the terminal so is original MPD file, terminal parses also be this MPD file.
Step S206: the terminal is to the adaptively selected code stream of each time slice, and the process of this adaptive code stream comprises: the disposal ability of media data and current network condition (for example bandwidth) are confirmed the quality of the current code stream that should ask according to self.
Terminal self can obtain through the hardware setting information of reading terminals the disposal ability of media data; And current network condition can be obtained through reading network setup information.During the quality of the code stream that two factors are confirmed to ask on comprehensive, can with lower in two factors be the quality of the definite code stream that should ask of standard.
The quality of the current code stream of confirming that should ask should belong to the defined code stream quality of server; The code stream quality of for example carrying through PMPD file or alternative document; But in reality; Code stream quality in that the disposal ability of considering media data and current network bandwidth institute directly confirm often and between the predefined code stream quality of server can not be mated fully, so this just exists on earth the quality of which code stream in the PMPD file quality as the definite current code stream that should ask.In the present embodiment; Adopt method relatively to confirm; Particularly; The code stream quality of directly confirming when the disposal ability through considering media data and current network bandwidth institute is q, and then relatively seeking in the PMPD file in the m kind code stream quality near this q and that code stream quality of being not more than q is exactly the quality of the final definite current code stream that should ask.Parameter with the code stream quality comprises that code stream is an example; If disposal ability and current network bandwidth through media data are confirmed the medium code stream that the current maximal rate that can handle is B; Through the code check parameter in the quality that compares the numerous code streams in the PMPD file, the discovery quality is Q so BThe code check of code stream be less than the maximum among the B, confirm that therefore the current quality of should asking is Q BThe code stream fragment.
This shows, in embodiments of the present invention, the quality of the code stream that the terminal need be selected next to receive according to current actual conditions adaptively.Supposing to receive whole streaming medium content in final terminal, to accomplish the selection course of the code stream fragment that is experienced as shown in Figure 6, wherein S I, jThe expression quality is Q iJ+1 code stream fragment of code stream, the solid line that between the code stream of each quality, streaks is illustrated in the selection track of the selected code stream fragment of each time slice, the media data code stream that is finally finished receiving fully by the 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: the terminal can be downloaded content according to the address of this code stream fragment that parses in the PMPD file, and play the content of this fragment to after the adaptively selected code stream fragment of each time slice.
Certainly, if server is not to add quality price rate through the MPD file, then among the step S207, what resolved at the terminal is exactly the MPD original document.
Step S208: the paying rate p of this streaming medium content is added up according to the quality of selected code stream fragment in each time slice of playing at same streaming medium content in the terminal.
Can adopt the mode of three kinds of concrete statistics paying rates in the present embodiment, be respectively:
Mode 1: the media data code stream of statistics different code streams quality watch length, its detailed process is:
In terminal pins during 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; At last the quality price rate of all code stream fragments of the selection in the streaming medium content playing process is carried out weighted sum according to the weight factor of this quality price rate, obtain paying rate p.When calculating weighted sum, the weight factor of each code stream fragment account for for the time span of this code stream fragment whole streaming medium content code stream total time length ratio.
For example, if T iBe the time span of i+1 selecteed code stream fragment, 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
The process that the paying rate is calculated in then above-mentioned weighted sum can be expressed as:
p = ( T 0 R 0 ′ + T 1 R 1 ′ + T 2 R 2 ′ + . . . + T n - 1 R n - 1 ′ ) T
Wherein, R ' i∈ { R 0, R 1, R 2..., R N-1It is the quality price rate of i+1 selecteed media code flow section place code stream.For example, 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 following:
At first; When the quality of two adjacent selected code stream fragments of time slice not simultaneously, judge that code stream takes place to be switched, for example in the code stream fragment selection course shown in Fig. 6; When selecting the 3rd time slice, because that the 2nd time slice selection is code stream fragment S 0,1, be code stream fragment S and next the 3rd time slice select 1,2The quality of the code stream at these two adjacent code stream fragment places is different, therefore code stream takes place switch.
Then, add up the number of times that whole streaming medium content is play the code stream switching that is taken place, be designated as L.
The number of times that the statistics code stream switches can have a variety of concrete implementations, for example can be between every adjacent two code stream fragments of choosing the switching mark position being set, and when code stream taking place switch, be 1 with the switching mark position of correspondence, otherwise be changed to 0.Calculate at last all flag bits with, just obtained the number of times that code stream switches.A register can certainly be set, initial zero setting, whenever taking place to add up 1 when code stream switches, after all code stream fragments of streaming medium content had been selected, the result in this register was exactly the number of times that code stream switches.
Calculate paying rate p then, the paying rate is that the actual number of times that the code stream switching does not take place accounts for the above-mentioned preset peaked ratio of code stream switching times in the code stream switching times maximum of presetting in the streaming medium content playing process.
Above-mentioned preset code stream switching times maximum equals at most the code stream switching times can take place in the streaming medium content playing process.
It still is example with 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 code stream switches can take place at most is n-1, promptly; The maximum of preset code stream switching times is n-1, and the then actual number of times that the code stream switching does not take place is n-1-L.Therefore calculating the paying rate can realize through following formula:
p=(n-1-L)/(n-1)
Mode 3: add up the switching frequency of the media code flow section of different code check quality, consider the code stream quality gap of switching simultaneously, detailed process is following:
At first add up the number of times that whole streaming medium content is play the code stream switching that is taken place with reference to the implementation in the aforesaid way 2.
Calculate the distance B that each code stream switches simultaneously k, k ∈ 0,1,2 ..., L-1}, 1≤D k<m.The distance that code stream switches can be defined as the absolute value of the difference between the quality sequence number of quality sequence number and back one code stream fragment of the last code stream fragment that code stream switching place takes place, and the quality sequence number of the code stream fragment here is to confirm according to the rank of quality in the quality of all code streams of same streaming medium content of this code stream fragment place code stream.The distance that actual code stream switches in the distance B k statistics playing stream media contents of switching according to each code stream with.
For example, if the code stream quality of last code stream fragment is Q i, the code stream quality of back one code stream fragment is Q j, the distance of then between these two code stream fragments, switching does | i-j|, wherein | | be the operation that takes absolute value.
Then calculate paying rate p, the paying rate be the switching code stream that can produce in the above-mentioned streaming medium content playing process distance and maximum subtract distance that actual code stream switches and gained difference and the above-mentioned switching code stream that can produce distance and peaked merchant.
The media data code stream that has m kind different quality when same streaming medium content; When each media data code stream is divided into n segment encode flow section; The switching code stream that can produce in then above-mentioned this streaming medium content of broadcast is apart from the peaked situation of sum; Code stream all takes place between adjacent exactly two time slices switch (promptly actual code stream switching times is n-1); And code stream switches all the time between the highest code stream of the minimum code stream of quality and quality and carries out (each switching distance is m-1 all), so the switching code stream that can produce just equals (n-1) (m-1) apart from the maximum of sum.
Particularly, paying rate p can calculate through following formula:
Or
Step S209: according to the paying rate p that obtains among the step S208 and the real price of media data code stream of the extra fine quality of this streaming medium content of definition before, promptly standard price C calculates the actual cost that the user watches streaming medium content.
For the mode of paying in the back, system can watch the back that finishes to deduct the actual cost that the user watches streaming medium content the user;
For the mode of pre-payment, system begins and can collect the charges earlier according to standard price, returns the overcharge and demand payment of the shortage according to actual cost afterwards.If for example system is according to the price definition standard price of the multi-medium data code stream of first water; What then the user paid when pre-payment will be the highest expense that possibly pay; And when the user watch finish after; The actual cost that system-computed goes out often is lower than this mark price, so system also can compensate the difference of the two to the user, returns.
Need to prove; Above-mentioned steps S208 and step S209 can be carried out by the terminal; Also can carry out by central control equipment; For example in home network, the central control equipment of this execution in step S208 and step S209 can be the family gateway equipment in the home network, control centre or STB, can realize statistics and charging to the viewing quality of a plurality of media terminations in the family through central control equipment like this.
In addition; Owing to be to adopt final drive in the foregoing description; Be the quality of coming option code flow section by the mode of final drive among the step S206, and in the embodiment that other substitutes, also can adopt the mode of server driven to come the quality of option code flow section; To be replaced by terminal when playing stream media content among the step S206 this moment; To each time slice, the quality that server is selected the code stream fragment of terminal downloads according to the disposal ability and the current network conditions at terminal, and indicating terminal is downloaded the code stream fragment of this quality.
The also corresponding message accounting that a kind of streaming media service is provided of the embodiment of the invention, 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 is used to obtain the quality price rate that server is set that the media data flow of different quality of same streaming medium content; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content.
The quality price rate that the quality price rate of the code stream of above-mentioned each quality can equal this data Quality code stream equals the real price of this data Quality code stream and the ratio between the standard price.
The detailed process that quality price rate is set and the definition of standard price are identical with related content among the said method embodiment, repeat no more here,
Paying rate statistic unit 702 is used for according to the terminal in the playing stream media contents to the quality of the code stream fragment of being downloaded in each time slice,, confirm to play the paying rate of this streaming medium content according to said quality price rate.The concrete mode of confirming the paying rate can adopt three kinds of cited in the foregoing description modes equally, and according to these three kinds of modes, paying rate statistic unit 702 can be just like Fig. 8-10 3 kind of concrete structure.
Charging Detail Record unit 703 is used for the actual cost that obtains the said streaming medium content of terminal plays according to the paying rate that obtains and said standard price, and according to this actual cost the user is chargeed.
Charging Detail Record unit 703 can calculate said paying rate that obtains and the product between the said standard price, thereby obtains the actual cost of terminal plays streaming medium content.
Below in conjunction with Fig. 8-10, specify the concrete implementation of paying rate statistic unit 702.
As shown in Figure 8, in a kind of concrete embodiment, paying rate statistic unit 702 specifically comprises:
Code stream frag info record cell 70211 is used in terminal pins during 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 of the code stream at all code stream fragment places that are used for the media play content process is downloaded is carried out weighted sum, obtains the paying rate; In the said weighted sum process, the weight factor of the quality price rate of the code stream of each code stream fragment accounts for the ratio of the time span summation of all code stream fragments for the time span of this code stream fragment.
As shown in Figure 9, in the concrete embodiment of another kind, paying rate statistic unit 702 specifically comprises:
Code stream change detection unit 70212, the quality of the code stream fragment of adjacent two time slices that are used for downloading at the terminal judge that code stream takes place to be switched not simultaneously;
Code stream switching times statistic unit 70222 is used for adding up the number of times that code stream that whole streaming medium content playing process taken place switches;
Ratio computing unit 70232 is used for actually in the code stream switching times that calculated flow media content playing process can take place at most the number of times that code stream switches does not take place accounting for the said ratio that the code stream switching times can take place at most, obtains the paying rate.
Shown in figure 10, in the concrete embodiment of another kind, paying rate statistic unit 702 specifically comprises:
Code stream change detection unit 70213, the quality of the code stream fragment of adjacent two time slices that are used for downloading at the terminal judge that code stream takes place to be switched not simultaneously;
Single metrics calculation unit 70223 is used to write down the distance that each code stream switches, and the distance that said code stream switches is the absolute value of the difference between the quality sequence number of the quality sequence number of last code stream fragment that code stream switching place takes place and back one code stream fragment;
Switch distance summation statistic unit 70233, be used for adding up distance that the actual code stream of whole streaming medium content playing process switches with;
Code stream switching times statistic unit 70243 is used for adding up the number of times that code stream that whole streaming medium content playing process taken place switches;
The second ratio computing unit 70253; Be used for the switching code stream that calculated flow media content playing process can produce distance and maximum deduct distance that actual code stream switches and gained difference and the above-mentioned switching code stream that can produce distance and peaked merchant, obtain the paying rate.
In addition, be through quality price rate information is joined the situation of sending in the specific file for server, the quality price rate acquiring unit in the above-mentioned message accounting specifically comprises: resolution unit and acquiring unit as a result.Wherein resolution unit is used for that resolution server sends comprises the file of the quality price rate information that the media data code stream of the different quality of same streaming medium content is set; In the said file; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content; Acquiring unit is used for obtaining the said quality price rate that obtains according to the analysis result of resolution unit as a result.The file here can be the PMPD file, also can be the user right data file.
The embodiment of the invention is also corresponding to provide a kind of network system, and this network system comprises message accounting, server and the terminal of the streaming media service in the foregoing description.This terminal comprises download unit, and this download unit is used in the playing stream media contents, to each time slice download code flow section.
As mentioned above, the mode that the quality of terminal downloads code stream fragment can final drive also can adopt the mode of server driven.
When adopting the mode of final drive; Above-mentioned terminal also comprises: code stream fragment selected cell; Be used for to each time slice, select the quality of the code stream fragment of download according to the disposal ability and the current network conditions at terminal self, and notify said download unit to download the code stream fragment of this quality.
When adopting the mode of final drive; Above-mentioned terminal also comprises: code stream fragment selection result receiving element; Be used for reception server to each time slice; Disposal ability and current network conditions according to the terminal are selected the quality of the code stream fragment of terminal downloads, and notify said download unit to download the code stream fragment of this quality.
In reality, the message accounting of the streaming media service in the above-mentioned network system can be arranged in each terminal, and the message accounting of streaming media service this moment only is responsible for the streaming media service billing function at the terminal at its place.Certainly in reality; Also maybe be in a particular network scope; Be responsible for all terminals in its network range of being administered of unified management by a central control equipment; The message accounting of above-mentioned streaming media service this moment can be arranged in each central control equipment, is used for being responsible for the streaming media service billing function at all terminals in the network range that this central control equipment administers.
The network that above-mentioned central control equipment is administered can be home network.
Concrete, shown in accompanying drawing 11, above-mentioned network system comprises:
Server 1101: the media data code stream fragment confession terminal downloads broadcast that is used to produce different quality.
The message accounting 1103 of streaming media service: be used to obtain the quality price rate that the media data code stream of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content; According to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice, confirm to play the paying rate of this streaming medium content according to said quality price rate; Obtain the actual cost of the said streaming medium content of terminal plays according to the said paying rate that obtains and said standard price; According to this actual cost the user is chargeed.
Desktop computer 1105: be used in the playing stream media contents, to each time slice download code flow section.
Palmtop PC 1107: be used in the playing stream media contents, to each time slice download code flow section.
Notebook computer 1109: be used in the playing stream media contents, to each time slice download code flow section.
The above-mentioned terminal type of enumerating is a kind of signal, does not constitute being suitable for the restriction of terminal type, and other terminals with same function must be included within the scope of the embodiment of the invention.
Description through above execution mode; The those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware; Common hardware comprises universal integrated circuit, universal cpu, general-purpose storage, universal elements etc.; Can certainly comprise that application-specific integrated circuit (ASIC), dedicated cpu, private memory, special-purpose components and parts wait and realize through specialized hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computer; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the method for each embodiment of the present invention.
The order of each step among the above method embodiment can be adjusted according to the practical application needs, and each step can be combined to form new scheme according to the practical application needs.More than each unit, the module among the device embodiment can be divided according to the practical application needs, perhaps reconfigures.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (15)

1. the charging method of a 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 streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
According to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice, confirm to play the paying rate of this streaming medium content according to said quality price rate;
Obtain the actual cost of the said streaming medium content of terminal plays according to the said paying rate that obtains and said standard price;
According to this actual cost the user is chargeed.
2. method according to claim 1 is characterized in that, said paying rate according to this streaming medium content of the definite broadcast of said quality price rate comprises:
During to each time slice download code flow section, the quality of record code flow section and the time span of code stream fragment;
Quality price rate to the code stream at all code stream fragments place of downloading in the media play content process is carried out weighted sum according to the weight factor of this quality price rate, obtains the paying rate;
The quality price rate of said code stream to all code stream fragments place of downloading in the media play content process is carried out in the weighted sum process, and the weight factor of the quality price rate of the code stream of each code stream fragment accounts for the ratio of the time span summation of all code stream fragments for the time span of this code stream fragment.
3. method according to claim 1 is characterized in that, said paying rate according to this streaming medium content of the definite broadcast of said quality price rate comprises:
Add up the code stream switching times that is taken place in the whole streaming medium content playing process, the quality that the code stream that is wherein taken place switches the code stream fragment that is meant adjacent two time slices that download at the terminal is different;
The actual number of times that the code stream switching does not take place accounts for the peaked ratio of said code stream switching times in the code stream switching times maximum of presetting in the calculated flow media content playing process, obtains the paying rate.
4. method according to claim 1 is characterized in that, said paying rate according to this streaming medium content of the definite broadcast of said quality price rate comprises:
The each distance that the code stream switching takes place of record; Wherein, Code stream take place, and to switch the quality of the code stream fragment that is meant adjacent two time slices that download at the terminal different, the distance that said code stream switches and be the absolute value of the difference between the quality sequence number of the quality sequence number of last code stream fragment that code stream switching place takes place and back one code stream fragment;
Add up the code stream switching times that is taken place in the whole streaming medium content playing process and add up distance that actual code stream switches and;
The distance of the switching code stream that can produce in the calculated flow media content playing process and maximum deduct distance that actual code stream switches and gained difference and the above-mentioned switching code stream that can produce distance and peaked merchant, obtain the paying rate.
5. method according to claim 1 is characterized in that, the said quality price rate that the media data code stream of the different quality of same streaming medium content is set of obtaining comprises:
File through the quality price rate information resolution server comprising of sending the media data code stream of the different quality of same streaming medium content set obtains said quality price rate.
6. method according to claim 5 is characterized in that, the said file that comprises the quality price rate information that the media data code stream of the different quality of same streaming medium content is set comprises:
The medium that add said quality price rate information appear describes MPD file or user right data file.
7. according to each described method in the claim 1 to 6, it is characterized in that said method also comprises:
The terminal to each time slice, is selected the quality of the code stream fragment of download according to the disposal ability and the current network conditions at said terminal self, and is downloaded the code stream fragment of this quality when the playing stream media content.
8. according to each described method in the claim 1 to 6, it is characterized in that the quality price rate of the code stream of said each quality equals the real price of this data Quality code stream and the ratio between the said standard price.
9. the message accounting of a streaming media service is characterized in that, comprising:
Quality price rate acquiring unit; Be used to obtain the quality price rate that the media data flow of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
Paying rate statistic unit is used for confirming to play the paying rate of this streaming medium content according to said quality price rate according in the quality of playing stream media contents to the code stream fragment of being downloaded in each time slice;
Charging Detail Record unit is used for obtaining according to the said paying rate that obtains and said standard price the actual cost of the said streaming medium content of terminal plays, and according to this actual cost the user is chargeed.
10. device according to claim 9 is characterized in that, said paying rate statistic unit comprises:
Code stream frag info record cell, when being used for 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, the quality price rate of the code stream at all code stream fragment places that are used for the media play content process is downloaded is carried out weighted sum according to the weight factor of this quality price rate, obtains the paying rate; The quality price rate of said code stream to all code stream fragments place of downloading in the media play content process is carried out in the weighted sum process, and the weight factor of the quality price rate of the code stream of each code stream fragment accounts for the ratio of the time span summation of all code stream fragments for the time span of this code stream fragment.
11. device according to claim 9 is characterized in that, said paying rate statistic unit comprises:
Code stream change detection unit, the quality of the code stream fragment of adjacent two time slices that are used for downloading at the terminal judge that code stream takes place to be switched not simultaneously;
Code stream switching times statistic unit is used for adding up the number of times that code stream that whole streaming medium content playing process taken place switches;
The first ratio computing unit is used for actually in the preset code stream switching times maximum of calculated flow media content playing process the number of times that code stream switches does not take place accounting for the peaked ratio of said code stream switching times, obtains the paying rate.
12. device according to claim 9 is characterized in that, said paying rate statistic unit comprises:
Code stream change detection unit, the quality of the code stream fragment of adjacent two time slices that are used for downloading at the terminal judge that code stream takes place to be switched not simultaneously;
The single metrics calculation unit is used to write down the distance that each generation code stream switches, and the distance that said code stream switches is the absolute value of the difference between the quality sequence number of the quality sequence number of last code stream fragment that code stream switching place takes place and back one code stream fragment;
Switch distance summation statistic unit, be used for adding up distance that the actual code stream of whole streaming medium content playing process switches with;
Code stream switching times statistic unit is used for adding up the number of times that code stream that whole streaming medium content playing process taken place switches;
The second ratio computing unit; Be used for the switching code stream that calculated flow media content playing process can produce distance and maximum deduct distance that actual code stream switches and gained difference and the above-mentioned switching code stream that can produce distance and peaked merchant, obtain the paying rate.
13. device according to claim 9 is characterized in that, said quality price rate acquiring unit comprises:
Resolution unit, the file that comprises the quality price rate information that the media data code stream of the different quality of same streaming medium content is set that is used for that resolution server sends; In the said file, the quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
Acquiring unit is used for obtaining said quality price rate according to the analysis result of resolution unit as a result.
14. a network system is characterized in that, comprises the message accounting and the terminal of server, streaming media service, wherein,
Said server, the media data code stream fragment confession terminal downloads broadcast that is used to produce different quality;
The message accounting of said streaming media service; Be used to obtain the quality price rate that the media data code stream of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content; According to the quality that in the playing stream media contents, is directed against the code stream fragment of being downloaded in each time slice, confirm to play the paying rate of this streaming medium content according to said quality price rate; Obtain the actual cost of the said streaming medium content of terminal plays according to the said paying rate that obtains and said standard price; According to this actual cost the user is chargeed;
Said terminal is used in the playing stream media contents, to each time slice download code flow section.
15. network system as claimed in claim 14 is characterized in that, the message accounting of said streaming media service comprises:
Quality price rate acquiring unit; Be used to obtain the quality price rate that the media data flow of the different quality of same streaming medium content is set; The quality price rate of the code stream of each quality is to confirm with reference to the relation of the real price of this data Quality code stream and standard price, and said standard price is the real price of data code flow of an extra fine quality of said streaming medium content;
Paying rate statistic unit is used for confirming to play the paying rate of this streaming medium content according to said quality price rate according in the quality of playing stream media contents to the code stream fragment of being downloaded in each time slice;
Charging Detail Record unit is used for obtaining according to the said paying rate that obtains and said standard price the actual cost of the said streaming medium content of terminal plays, and according to this actual cost the user is chargeed.
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 true CN102546191A (en) 2012-07-04
CN102546191B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013113207A1 (en) * 2012-01-30 2013-08-08 华为技术有限公司 Method, device and system for charging for streaming media service
CN104105012A (en) * 2013-04-03 2014-10-15 华为技术有限公司 Preparation method and device for stream media segments
CN106375783A (en) * 2012-08-03 2017-02-01 英特尔公司 Methods for quality-aware adaptive streaming over hypertext transfer protocol
CN106570720A (en) * 2016-09-20 2017-04-19 中央电视台 Multimedia data pricing method and apparatus
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013113207A1 (en) * 2012-01-30 2013-08-08 华为技术有限公司 Method, device and system for charging for streaming media service
CN106375783A (en) * 2012-08-03 2017-02-01 英特尔公司 Methods for quality-aware adaptive streaming over hypertext transfer protocol
CN106375783B (en) * 2012-08-03 2020-01-17 英特尔公司 Method for quality-aware adaptive streaming over hypertext transfer protocol
CN104105012A (en) * 2013-04-03 2014-10-15 华为技术有限公司 Preparation method and device for stream media segments
CN104105012B (en) * 2013-04-03 2018-04-20 华为技术有限公司 The fragment preparation method and device of Streaming Media
CN106570720A (en) * 2016-09-20 2017-04-19 中央电视台 Multimedia data pricing method and apparatus
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

Also Published As

Publication number Publication date
WO2013113207A1 (en) 2013-08-08
CN102546191B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
US10178198B2 (en) System and method for selection and switching of content sources for a streaming content session
CN102546191B (en) The charging method of streaming media service, Apparatus and system
JP5209114B2 (en) Service brokering using domain name servers
JP5349589B2 (en) Dynamic payment method and apparatus
US9553909B2 (en) System and method for assignment and switching of content sources for a streaming content session
US20070250636A1 (en) Global interactive packet network broadcast station
US20110145115A1 (en) Customized content billing management server and method
TW589894B (en) Pay by time system for content delivery to media playback systems
WO2017094847A1 (en) Quality of experience optimizing device, network quality estimating device, mobile terminal, quality of experience optimizing method, network quality estimating method, and program
CN104361085A (en) Information recommendation method, device, browser, server and system
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
CN107835200A (en) A kind of system of selection of video definition, device and electronic equipment
CN102595211A (en) Method and system for presenting network television programs based on social network
CN102271098A (en) Networking method and system
CN108229133B (en) Service operation method and device and service permission obtaining method and device
CN106470350B (en) Code rate adaptive approach and device based on dynamic bit rate
CN1988650A (en) Interactive network TV service charging system
Layton et al. Rural broadband and the unrecovered cost of streaming video entertainment
CN109302641A (en) A kind of method, medium and the device of video-see request
KR100873210B1 (en) Method and system for offering of contents
CN107888793A (en) Package recommendation method, apparatus and system
CN103179641A (en) Method for terminal to select networks and terminal
CN106682111A (en) Data recommendation method and equipment thereof
KR20220118143A (en) Method of provding contents and terminal device

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