Data adjustment method and device
Technical field
The present invention relates to computer realm, in particular to a kind of data adjustment method and device.
Background technology
Nowadays, network online multimedia file is paid close attention to by increasing user, however, because Internet resources are abundant more
Sample, for for certain program it is difficult to ensure that user is not lost in.Further, in order to attract user to pay close attention to program, to ensure program
Audience ratings and rating crowd it is stable, some cyberprises begin to focus on how the number of dropouts of accurate statistics user, and then pass through
Broadcasting behavior to user is accurately analyzed, to provide the user the program for more meeting user preferences.
However, the problem of in correlation technique, not yet propose effective solution at present.
The content of the invention
It is a primary object of the present invention to provide a kind of data adjustment method and device, to solve in the prior art due to nothing
The relatively low technical problem of data point reuse accuracy caused by the loss degree of method accurate statistics user.
According to an aspect of the invention, there is provided a kind of data adjustment method, this method include:Obtain at current time
The broadcasting record of client terminal playing multimedia file before;Above-mentioned client is obtained when above-mentioned current according to above-mentioned broadcasting record
The broadcasting loss degree at quarter, wherein, above-mentioned broadcasting loss degree is used for the loss degree for identifying above-mentioned client;According to above-mentioned broadcasting stream
The adjustment of mistake degree is after above-mentioned current time to the above-mentioned multimedia file of above-mentioned client push.
Alternatively, the above-mentioned broadcasting loss degree that above-mentioned client is obtained according to above-mentioned broadcasting record includes:Broadcast according to above-mentioned
Put record and judge whether above-mentioned client selects to broadcast when above-mentioned multimedia file last time plays before above-mentioned current time
Put;If judging the non-selected broadcasting of above-mentioned client, count above-mentioned client and do not played continuously before above-mentioned current time
The first object number of above-mentioned multimedia file;Above-mentioned multimedia file is calculated above-mentioned current according to above-mentioned first object number
The above-mentioned broadcasting loss degree at moment.
Alternatively, the above-mentioned client of above-mentioned statistics does not continuously play above-mentioned multimedia file before above-mentioned current time
First object number includes:The event flag of above-mentioned client terminal playing once above-mentioned multimedia file is during above-mentioned broadcasting is recorded
First mark;The event flag that above-mentioned client does not play once above-mentioned multimedia file during above-mentioned broadcasting is recorded is the second mark
Know;Above-mentioned first object number is counted according to the above-mentioned first mark and above-mentioned second mark.
Alternatively, it is above-mentioned to count above-mentioned first object number according to the above-mentioned first mark and above-mentioned second mark and include:System
The mark number that above-mentioned second mark continuously occurs is counted, using above-mentioned mark number as above-mentioned first object number.
Alternatively, judge that above-mentioned multimedia file is last before above-mentioned current time according to above-mentioned broadcasting record above-mentioned
After whether above-mentioned client selects broadcasting when once playing, in addition to:If judging, above-mentioned client selection plays, and counts
Above-mentioned client does not play the second target of above-mentioned multimedia file continuously before above-mentioned multimedia file last time plays
Number;Broadcasting backflow degree of the above-mentioned client at above-mentioned current time is calculated according to above-mentioned second targeted number.
Alternatively, before the broadcasting record of above-mentioned acquisition client terminal playing multimedia file before current time, also
Including:The acquisition for receiving the broadcasting record for obtaining the above-mentioned above-mentioned multimedia file of client terminal playing in predetermined amount of time please
Ask.
Alternatively, it is above-mentioned to be adjusted according to above-mentioned broadcasting loss degree after above-mentioned current time to above-mentioned client push
Above-mentioned multimedia file includes:Judge whether the broadcasting loss degree of above-mentioned multimedia file is more than or equal to predetermined threshold;If judge
The broadcasting loss degree for going out above-mentioned multimedia file is more than or equal to above-mentioned predetermined threshold, then adjusts above-mentioned multimedia file to obtain more
Multimedia file after new, wherein, the multimedia file after above-mentioned renewal is above-mentioned for being pushed to after above-mentioned current time
Client.
According to another aspect of the present invention, there is provided a kind of data point reuse device, the device include:First acquisition unit,
For obtaining the broadcasting record of the client terminal playing multimedia file before current time;Second acquisition unit, for according to
The broadcasting loss degree for playing the above-mentioned client of record acquisition at above-mentioned current time is stated, wherein, above-mentioned broadcasting loss degree is used to mark
Know the loss degree of above-mentioned client;Adjustment unit, for being adjusted according to above-mentioned broadcasting loss degree after above-mentioned current time
To the above-mentioned multimedia file of above-mentioned client push.
Alternatively, above-mentioned second acquisition unit includes:First judge module, for being judged according to above-mentioned broadcasting record
Whether above-mentioned client selects to play when above-mentioned multimedia file last time plays before stating current time;First statistics mould
Block, for when judging the non-selected broadcasting of above-mentioned client, count above-mentioned client before above-mentioned current time it is continuous not
Play the first object number of above-mentioned multimedia file;First computing module, for being calculated according to above-mentioned first object number
State above-mentioned broadcasting loss degree of the multimedia file at above-mentioned current time.
Alternatively, above-mentioned first statistical module includes the first mark submodule, for above-mentioned visitor during above-mentioned broadcasting is recorded
The event flag that family end plays once above-mentioned multimedia file is the first mark;Second mark submodule, for by above-mentioned broadcasting
The event flag that above-mentioned client does not play once above-mentioned multimedia file in record is the second mark;Statistic submodule, it is used for
Above-mentioned first object number is counted according to the above-mentioned first mark and above-mentioned second mark.
Alternatively, above-mentioned statistic submodule by following steps realize it is above-mentioned according to above-mentioned first mark and it is above-mentioned second mark
Knowing the above-mentioned first object number of statistics includes:The mark number that above-mentioned second mark continuously occurs is counted, by above-mentioned mark number
As above-mentioned first object number.
Alternatively, said apparatus also includes:Second statistical module, for being judged above-mentioned according to above-mentioned broadcasting record
After whether above-mentioned client selects broadcasting when above-mentioned multimedia file last time plays before stating current time, judging
When above-mentioned client selection plays, count the above-mentioned client before above-mentioned multimedia file last time plays and do not play continuously
Second targeted number of above-mentioned multimedia file;Second computing module, for calculating above-mentioned visitor according to above-mentioned second targeted number
Broadcasting backflow degree of the family end at above-mentioned current time.
Alternatively, said apparatus also includes:Receiving unit, in above-mentioned acquisition before current time client terminal playing
Before the broadcasting record of multimedia file, receive for obtaining the above-mentioned above-mentioned multimedia file of client terminal playing in predetermined amount of time
Broadcasting record acquisition request.
Alternatively, above-mentioned adjustment unit includes:Second judge module, for judging that the broadcasting of above-mentioned multimedia file is lost in
Whether degree is more than or equal to predetermined threshold;Adjusting module, for judge above-mentioned multimedia file broadcasting loss degree be more than etc.
When above-mentioned predetermined threshold, above-mentioned multimedia file is adjusted with the multimedia file after being updated, wherein, after above-mentioned renewal
Multimedia file is used to be pushed to above-mentioned client after above-mentioned current time.
By the application provide embodiment, by using the client got broadcasting record statistics current time it
Preceding broadcasting loss degree, to obtain the loss degree of user, so as to according to above-mentioned broadcasting losss degree in real time adjust current time it
The multimedia file of backward client push, so that the multimedia file after updating more meets user preferences.Further, due to standard
The broadcasting loss degree really counted, the loss degree of user can be accurately known in real time, so as to realize adjustment multimedia file in time,
In the case where the rating crowd for ensureing the network platform is stable, more users can also be attracted.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention
Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of optional data adjustment method according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of optional data point reuse device according to embodiments of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of data adjustment method, as shown in figure 1, this method includes:
S102, obtain the broadcasting record of the client terminal playing multimedia file before current time;
S104, broadcasting loss degree of the client at current time is obtained according to record is played, wherein, play loss degree and be used for
Identify the loss degree of client;
S106, the rear multimedia file to client push at current time is adjusted according to broadcasting loss degree.
Alternatively, in the present embodiment, above-mentioned data adjustment method can be, but not limited to be applied to data statistic analysis clothes
It is engaged in device, by server to before client push network multimedia, the broadcasting of statistics network online multimedia file is lost in
Degree, and network multimedia file is adjusted correspondingly according to above-mentioned broadcasting loss degree, so as to be supplied to the network of user more
Media file more meets the hobby of user, ensures stable rating crowd.For example, in certain TV play counting user one week
Turnover rate, the broadcasting record of the client terminal playing TV play in one week is obtained, is calculated according to above-mentioned broadcasting record and is directed to the TV
Acute broadcasting loss degree, if broadcasting loss degree is higher, need to make corresponding adjustment to the TV play played.The example above is
A kind of example, the present embodiment do not do any restriction to this.
It should be noted that above-mentioned multimedia file can include but is not limited to the section of the cycle broadcasting of network platform offer
Mesh, wherein, above-mentioned broadcasting loss degree can include but is not limited at least one of:Number that client does not play continuously, visitor
The ratio that family end does not play continuously.Above-mentioned client can when being not limited to multiple client, wherein each client can with but not
It is limited to be located in terminal, wherein, above-mentioned terminal can include but is not limited at least one of:Mobile phone, notebook computer, flat board
Computer, PC.Further, the access for the network platform where multimedia file can also be obtained according to above-mentioned broadcasting record
Loss degree, that is to say, that above-mentioned data adjustment method can apply in any scene for calculating customer loss degree, this hair
Bright embodiment not limited to this.
For example, it is assumed that above-mentioned multimedia file plays once daily, then client does not play the system of multimedia file continuously
Counting result can be as shown in table 1.
Table 1
Date |
Client identification |
Continuously number of days is not played |
Do not play for three days on end |
2014-12-1 |
ID-1 |
0 |
0 |
2014-12-2 |
ID-1 |
0 |
0 |
2014-12-3 |
ID-1 |
1 |
0 |
2014-12-4 |
ID-1 |
2 |
0 |
2014-12-5 |
ID-1 |
3 |
1 |
2014-12-6 |
ID-1 |
4 |
1 |
2014-12-7 |
ID-1 |
0 |
0 |
Wherein, above-mentioned " not playing for three days on end " one arranges judges whether the number of days that client does not play continuously is big for identifying
In the judged result equal to 3 days, wherein, for the continuous number of days that do not play of " 0 " mark less than 3 days, it is big that " 1 " mark does not continuously play number of days
In equal to 3 days.
Alternatively, in the present embodiment, above-mentioned current time can include but is not limited to, in each cycle multimedia file
After having finished playing, the played data of the multimedia file is obtained.Wherein, client is broadcast before above-mentioned acquisition current time
Before putting the broadcasting record of multimedia file, in addition to:Receive for described in client terminal playing in acquisition request predetermined amount of time
The acquisition request of the broadcasting record of multimedia file.That is, the scope of the broadcasting record of acquired multimedia file is
Respond above-mentioned acquisition request needs what is obtained according to statistics.It is lost in for example, receiving for the broadcasting counted in client 1 month
After the acquisition request of degree, then the broadcasting record in the acquisition acquisition request client 1 month is responded.
Alternatively, in the present embodiment, it is above-mentioned be used for calculate client broadcasting loss degree mode can with but it is unlimited
In applied to calculate client broadcasting backflow degree, so as to realize for each cycle broadcasting different multimedia files not only
The loss degree of user can be obtained, the degree of back flow of user can also be obtained, so as to realize effectively adjustment multimedia file.
By the application provide embodiment, by using the client got broadcasting record statistics current time it
Preceding broadcasting loss degree, to obtain the loss degree of user, so as to according to above-mentioned broadcasting losss degree in real time adjust current time it
The multimedia file of backward client push, so that the multimedia file after updating more meets user preferences.Further, due to standard
The broadcasting loss degree really counted, the loss degree of user can be accurately known in real time, so as to realize adjustment multimedia file in time,
In the case where the rating crowd for ensureing the network platform is stable, more users can also be attracted.
As a kind of optional scheme, included according to the broadcasting loss degree for playing record acquisition client:
S1, judge whether client is selected during the multimedia file last time broadcasting before current time according to record is played
Select broadcasting;
S2, if judging the non-selected broadcasting of client, statistics client does not continuously play more matchmakers before current time
The first object number of body file;
S3, broadcasting loss degree of the multimedia file at current time is calculated according to first object number.
It should be noted that, it is necessary to count client when the broadcasting loss due to obtaining client terminal playing multimedia file is spent
The continuous number for not playing multimedia file in end, thus, it is assumed that when multimedia file last time plays before current time,
Client have selected broadcasting and watch, then it represents that the client is not lost in, that is to say, that and be not belonging to play customer revenue end
Scope, thus, in order to ensure statistical accuracy, before statistics client does not continuously play the number of multimedia file, need
When first judging that multimedia file last time plays before current time, whether client, which selects, plays.
Alternatively, in the present embodiment, first object number can also be utilized with playing the total degree of the multimedia file
Ratio play loss degree to count, the present embodiment is not limited only to this.
Specifically illustrated with reference to the example below, it is assumed that multimedia file daily 12:00 plays once, in 2014-12-7
17:00 obtains 2014-12-1 to the broadcasting record of client terminal playing multimedia file between 2014-12-7, wherein, play
Situation is as shown in table 2.
Table 2
Date |
Client identification |
Whether watch |
2014-12-1 |
ID-1 |
1 |
2014-12-2 |
ID-1 |
1 |
2014-12-3 |
ID-1 |
0 |
2014-12-4 |
ID-1 |
0 |
2014-12-5 |
ID-1 |
0 |
2014-12-6 |
ID-1 |
0 |
2014-12-7 |
ID-1 |
0 |
Wherein, whether above-mentioned " watching " one arranges the knot for whether selecting broadcasting multimedia file on the day of identifying client
Fruit, wherein, " 0 " mark client and non-selected broadcasting, " 1 " mark client selection play.That is, as shown in Table 2, visitor
Family end does not play for continuous 5 days from 14-12-3 to 14-12-7, and last time plays multimedia file, i.e. 14-12-7 clients simultaneously
Non-selected broadcasting, further, statistics client is the 17 of 14-12-7:Before 00, the number of days not played continuously is exactly 5 days, then
The client is " not playing user within continuous 5 days ", utilizes the broadcasting loss degree that current time is identified over above-mentioned 5 days.
The embodiment provided by the application, pass through visitor when multimedia file last time plays before judging current time
Whether family end, which selects, plays, and so as to ensure the accuracy of the continuous first object number not played that client counted, avoids
Due to can not the loss degree of accurate statistics user lead to not the multimedia file after accurate adjustment current time the problem of.
As a kind of optional scheme, statistics client does not continuously play the first of multimedia file before current time
Targeted number includes:
S1, it is the first mark by the event flag for playing multimedia file of client terminal playing in record;
S2, the event flag that client does not play a multimedia file during broadcasting is recorded are the second mark;
S3, according to the first mark and the second mark statistics first object number.
Alternatively, in the present embodiment, according to first mark and second mark statistics first object number can include but
It is not limited to:
S32, the mark number that the mark of statistics second continuously occurs, using mark number as first object number.
Specifically with reference to shown in table 2, the event flag of client terminal playing multimedia file is " 1 " during broadcasting is recorded, and will be broadcast
It is " 0 " to put the event flag that client does not play multimedia file in record, then can utilize the number or ratio of above-mentioned mark
Calculate and play loss degree.Specifically, the broadcasting loss degree at current time is identified using the number of " 0 ".
The embodiment provided by the application, whether select to watch by using mark mark client, further utilize
The continuous number not played of mark directly statistics client, simplifies statistic procedure, so as to improve statistical efficiency, enters one
Step, improve the efficiency of data point reuse.
As a kind of optional scheme, the multimedia file last time before current time is being judged according to broadcasting record
After whether client selects broadcasting during broadcasting, in addition to:
S1, if judging, client selection plays, and statistics client before multimedia file last time plays connects
Continuous the second targeted number for not playing multimedia file;
S2, broadcasting backflow degree of the client at current time is calculated according to the second targeted number.
It should be noted that while counting client and being spent in the broadcasting loss at current time, can also be by using
Broadcasting backflow degree of the above-mentioned broadcasting record statistics client at current time.That is, the multimedia text before current time
Client have selected broadcasting and watch when part last time plays, then it represents that the client has flowed back, and restarts to watch that this is more
Media file, then can be according to the second target that before multimedia file last time plays, the client does not play continuously
Number identifies the degree of back flow of client, and further, the calculation of the broadcasting backflow degree at current time can also include it
His mode, the present embodiment are not limited to this.
Specifically illustrated with reference to the example below, it is assumed that multimedia file daily 12:00 plays once, in 2014-12-7
17:00 obtains 2014-12-1 to the broadcasting record of client terminal playing multimedia file between 2014-12-7, wherein, play
Situation is as shown in table 3.
Table 3
Date |
Client identification |
Whether watch |
2014-12-1 |
ID-1 |
1 |
2014-12-2 |
ID-1 |
1 |
2014-12-3 |
ID-1 |
0 |
2014-12-4 |
ID-1 |
0 |
2014-12-5 |
ID-1 |
0 |
2014-12-6 |
ID-1 |
0 |
2014-12-7 |
ID-1 |
1 |
Wherein, whether above-mentioned " watching " one arranges the knot for whether selecting broadcasting multimedia file on the day of identifying client
Fruit, wherein, " 0 " mark client and non-selected broadcasting, " 1 " mark client selection play.That is, from table 3,
Client does not play for continuous 4 days from 14-12-3 to 14-12-6, and last time plays multimedia file, i.e. 14-12-7 clients
Selection plays, that is to say, that and the client, which has reselected, plays the multimedia file, then when statistics plays loss and spent,
Then no longer count the client.
The embodiment provided by the application, pass through visitor when multimedia file last time plays before judging current time
Whether family end, which selects, plays, so as to utilize do not played continuously before preceding multimedia file last time plays second
Targeted number obtains the broadcasting backflow degree at current time, that is to say, that and the content that last time plays more attracts user, so as to
Further adjustment can be done to the multimedia file after current time according to the broadcasting backflow degree.
As a kind of optional scheme, the broadcasting record of the client terminal playing multimedia file before current time is being obtained
Before, in addition to:
S1, receive the acquisition request of the broadcasting record for obtaining client terminal playing multimedia file in predetermined amount of time.
Alternatively, in the present embodiment, above-mentioned predetermined amount of time is depending on user's request, that is to say, that server
Broadcasting record of current time (such as same day) acquisition before current time (on the day of such as) within any number of days can be based on,
And count corresponding and play loss degree.For example, the client broadcasting of continuous 7 days record such as table 4 " not playing number of days continuously " one arranges
It is shown, further, it is possible to the different continuous numbers not played be counted respectively based on different acquisition requests, referring in particular to table 4
It is shown.
Table 4
As shown in the above, it is assumed that the 17 of 14-12-7:The acquisition that 00 client receives asks to be used to obtain continuous 3
Its situation about not playing, then result " for three days on end do not play " one row shown in will be counted in table 4, if what client received
Obtain request to be used to obtain continuous 5 days situations about not playing, then will count in table 4 " not playing for continuous 5 days " last row institute
The result shown.
The embodiment provided by the application, recorded by the different broadcastings for obtaining client in real time, it is corresponding to know
Client broadcasting be lost in degree, so as to accurate statistics user loss degree, with ensure can count it at current time
Afterwards, the multimedia file of user preferences is more met for client push.
As a kind of optional scheme, rear more matchmakers to client push at current time are adjusted according to broadcasting loss degree
Body file includes:
S1, judges whether the broadcasting loss degree of multimedia file is more than or equal to predetermined threshold;
S2, if judging, the broadcasting loss degree of multimedia file is more than or equal to predetermined threshold, adjustment multimedia file with
Multimedia file after being updated, wherein, the multimedia file after renewal is used to be pushed to client after current time.
Alternatively, in the present embodiment, above-mentioned predetermined threshold can include but is not limited to be set according to different application scenarios
Different values is set to, according to the result of above-mentioned judgement, to realize the accurate adjustment to multimedia file, and then adjustment is obtained
Renewal after multimedia file be pushed to client.
The embodiment provided by the application, by knowing the broadcasting loss degree of client in real time, so as to obtain user's
Loss degree, and then realize and be adjusted renewal to being lost in more serious multimedia file in time, to ensure to provide multimedia
The stable rating of the network platform of file.
It should be noted that can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of
Performed in computer system, although also, show logical order in flow charts, in some cases, can be with not
The order being same as herein performs shown or described step.
Embodiment 2
According to embodiments of the present invention, a kind of data point reuse device for being used to implement above-mentioned data adjustment method is additionally provided,
As shown in Fig. 2 the device includes:
1) first acquisition unit 202, for obtaining the broadcasting note of the client terminal playing multimedia file before current time
Record;
2) second acquisition unit 204, for recording the broadcasting loss degree for obtaining client at current time according to broadcasting, its
In, play the loss degree that loss degree is used to identify client;
3) adjustment unit 206, for adjusting rear more matchmakers to client push at current time according to broadcasting loss degree
Body file.
Alternatively, in the present embodiment, above-mentioned data adjustment method can be, but not limited to be applied to data statistic analysis clothes
It is engaged in device, by server to before client push network multimedia, the broadcasting of statistics network online multimedia file is lost in
Degree, and network multimedia file is adjusted correspondingly according to above-mentioned broadcasting loss degree, so as to be supplied to the network of user more
Media file more meets the hobby of user, ensures stable rating crowd.For example, in certain TV play counting user one week
Turnover rate, the broadcasting record of the client terminal playing TV play in one week is obtained, is calculated according to above-mentioned broadcasting record and is directed to the TV
Acute broadcasting loss degree, if broadcasting loss degree is higher, need to make corresponding adjustment to the TV play played.The example above is
A kind of example, the present embodiment do not do any restriction to this.
It should be noted that above-mentioned multimedia file can include but is not limited to the section of the cycle broadcasting of network platform offer
Mesh, wherein, above-mentioned broadcasting loss degree can include but is not limited at least one of:Number that client does not play continuously, visitor
The ratio that family end does not play continuously.Above-mentioned client can when being not limited to multiple client, wherein each client can with but not
It is limited to be located in terminal, wherein, above-mentioned terminal can include but is not limited at least one of:Mobile phone, notebook computer, flat board
Computer, PC.Further, the access for the network platform where multimedia file can also be obtained according to above-mentioned broadcasting record
Loss degree, that is to say, that above-mentioned data adjustment method can apply in any scene for calculating customer loss degree, this hair
Bright embodiment not limited to this.
For example, it is assumed that above-mentioned multimedia file plays once daily, then client does not play the system of multimedia file continuously
Counting result can be as shown in table 5.
Table 5
Date |
Client identification |
Continuously number of days is not played |
Do not play for three days on end |
2014-12-1 |
ID-1 |
0 |
0 |
2014-12-2 |
ID-1 |
0 |
0 |
2014-12-3 |
ID-1 |
1 |
0 |
2014-12-4 |
ID-1 |
2 |
0 |
2014-12-5 |
ID-1 |
3 |
1 |
2014-12-6 |
ID-1 |
4 |
1 |
2014-12-7 |
ID-1 |
0 |
0 |
Wherein, above-mentioned " not playing for three days on end " one arranges judges whether the number of days that client does not play continuously is big for identifying
In the judged result equal to 3 days, wherein, for the continuous number of days that do not play of " 0 " mark less than 3 days, it is big that " 1 " mark does not continuously play number of days
In equal to 3 days.
Alternatively, in the present embodiment, above-mentioned current time can include but is not limited to, in each cycle multimedia file
After having finished playing, the played data of the multimedia file is obtained.Wherein, client is broadcast before above-mentioned acquisition current time
Before putting the broadcasting record of multimedia file, in addition to:Receive for described in client terminal playing in acquisition request predetermined amount of time
The acquisition request of the broadcasting record of multimedia file.That is, the scope of the broadcasting record of acquired multimedia file is
Respond above-mentioned acquisition request needs what is obtained according to statistics.It is lost in for example, receiving for the broadcasting counted in client 1 month
After the acquisition request of degree, then the broadcasting record in the acquisition acquisition request client 1 month is responded.
Alternatively, in the present embodiment, it is above-mentioned be used for calculate client broadcasting loss degree mode can with but it is unlimited
In applied to calculate client broadcasting backflow degree, so as to realize for each cycle broadcasting different multimedia files not only
The loss degree of user can be obtained, the degree of back flow of user can also be obtained, so as to realize effectively adjustment multimedia file.
By the application provide embodiment, by using the client got broadcasting record statistics current time it
Preceding broadcasting loss degree, to obtain the loss degree of user, so as to according to above-mentioned broadcasting losss degree in real time adjust current time it
The multimedia file of backward client push, so that the multimedia file after updating more meets user preferences.Further, due to standard
The broadcasting loss degree really counted, the loss degree of user can be accurately known in real time, so as to realize adjustment multimedia file in time,
In the case where the rating crowd for ensureing the network platform is stable, more users can also be attracted.
As a kind of optional scheme, second acquisition unit includes:
1) the first judge module, for judging that multimedia file last time is broadcast before current time according to broadcasting record
Whether client selects to play when putting;
2) the first statistical module, for when judging the non-selected broadcasting of client, statistics client current time it
The preceding continuous first object number for not playing multimedia file;
3) the first computing module, it is lost in for calculating broadcasting of the multimedia file at current time according to first object number
Degree.
It should be noted that, it is necessary to count client when the broadcasting loss due to obtaining client terminal playing multimedia file is spent
The continuous number for not playing multimedia file in end, thus, it is assumed that when multimedia file last time plays before current time,
Client have selected broadcasting and watch, then it represents that the client is not lost in, that is to say, that and be not belonging to play customer revenue end
Scope, thus, in order to ensure statistical accuracy, before statistics client does not continuously play the number of multimedia file, need
When first judging that multimedia file last time plays before current time, whether client, which selects, plays.
Alternatively, in the present embodiment, first object number can also be utilized with playing the total degree of the multimedia file
Ratio play loss degree to count, the present embodiment is not limited only to this.
Specifically illustrated with reference to the example below, it is assumed that multimedia file daily 12:00 plays once, in 2014-12-7
17:00 obtains 2014-12-1 to the broadcasting record of client terminal playing multimedia file between 2014-12-7, wherein, play
Situation is as shown in table 6.
Table 6
Date |
Client identification |
Whether watch |
2014-12-1 |
ID-1 |
1 |
2014-12-2 |
ID-1 |
1 |
2014-12-3 |
ID-1 |
0 |
2014-12-4 |
ID-1 |
0 |
2014-12-5 |
ID-1 |
0 |
2014-12-6 |
ID-1 |
0 |
2014-12-7 |
ID-1 |
0 |
Wherein, whether above-mentioned " watching " one arranges the knot for whether selecting broadcasting multimedia file on the day of identifying client
Fruit, wherein, " 0 " mark client and non-selected broadcasting, " 1 " mark client selection play.That is, as shown in Table 6, visitor
Family end does not play for continuous 5 days from 14-12-3 to 14-12-7, and last time plays multimedia file, i.e. 14-12-7 clients simultaneously
Non-selected broadcasting, further, statistics client is the 17 of 14-12-7:Before 00, the number of days not played continuously is exactly 5 days, then
The client is " not playing user within continuous 5 days ", utilizes the broadcasting loss degree that current time is identified over above-mentioned 5 days.
The embodiment provided by the application, pass through visitor when multimedia file last time plays before judging current time
Whether family end, which selects, plays, and so as to ensure the accuracy of the continuous first object number not played that client counted, avoids
Due to can not the loss degree of accurate statistics user lead to not the multimedia file after accurate adjustment current time the problem of.
As a kind of optional scheme, the first statistical module includes:
1) the first mark submodule, for being by the event flag for playing multimedia file of client terminal playing in record
First mark;
2) the second mark submodule, the event flag of a multimedia file is not played for client during broadcasting is recorded
For the second mark;
3) statistic submodule, for according to the first mark and the second mark statistics first object number.
Alternatively, in the present embodiment, above-mentioned statistic submodule is realized according to the first mark and second by following steps
Mark statistics first object number includes:
S1, the mark number that the mark of statistics second continuously occurs, using mark number as first object number.
Specifically with reference to shown in table 6, the event flag of client terminal playing multimedia file is " 1 " during broadcasting is recorded, and will be broadcast
It is " 0 " to put the event flag that client does not play multimedia file in record, then can utilize the number or ratio of above-mentioned mark
Calculate and play loss degree.Specifically, the broadcasting loss degree at current time is identified using the number of " 0 ".
The embodiment provided by the application, whether select to watch by using mark mark client, further utilize
The continuous number not played of mark directly statistics client, simplifies statistic procedure, so as to improve statistical efficiency, enters one
Step, improve the efficiency of data point reuse.
As a kind of optional scheme, said apparatus also includes:
1) the second statistical module, for judging the multimedia file last time before current time according to broadcasting record
After whether client selects broadcasting during broadcasting, judge client selection play when, count multimedia file last
Client does not play the second targeted number of multimedia file continuously before secondary broadcasting;
2) the second computing module, for calculating broadcasting backflow degree of the client at current time according to the second targeted number.
It should be noted that while counting client and being spent in the broadcasting loss at current time, can also be by using
Broadcasting backflow degree of the above-mentioned broadcasting record statistics client at current time.That is, the multimedia text before current time
Client have selected broadcasting and watch when part last time plays, then it represents that the client has flowed back, and restarts to watch that this is more
Media file, then can be according to the second target that before multimedia file last time plays, the client does not play continuously
Number identifies the degree of back flow of client, and further, the calculation of the broadcasting backflow degree at current time can also include it
His mode, the present embodiment are not limited to this.
Specifically illustrated with reference to the example below, it is assumed that multimedia file daily 12:00 plays once, in 2014-12-7
17:00 obtains 2014-12-1 to the broadcasting record of client terminal playing multimedia file between 2014-12-7, wherein, play
Situation is as shown in table 7.
Table 7
Date |
Client identification |
Whether watch |
2014-12-1 |
ID-1 |
1 |
2014-12-2 |
ID-1 |
1 |
2014-12-3 |
ID-1 |
0 |
2014-12-4 |
ID-1 |
0 |
2014-12-5 |
ID-1 |
0 |
2014-12-6 |
ID-1 |
0 |
2014-12-7 |
ID-1 |
1 |
Wherein, whether above-mentioned " watching " one arranges the knot for whether selecting broadcasting multimedia file on the day of identifying client
Fruit, wherein, " 0 " mark client and non-selected broadcasting, " 1 " mark client selection play.That is, from table 7,
Client does not play for continuous 4 days from 14-12-3 to 14-12-6, and last time plays multimedia file, i.e. 14-12-7 clients
Selection plays, that is to say, that and the client, which has reselected, plays the multimedia file, then when statistics plays loss and spent,
Then no longer count the client.
The embodiment provided by the application, pass through visitor when multimedia file last time plays before judging current time
Whether family end, which selects, plays, so as to utilize do not played continuously before preceding multimedia file last time plays second
Targeted number obtains the broadcasting backflow degree at current time, that is to say, that and the content that last time plays more attracts user, so as to
Further adjustment can be done to the multimedia file after current time according to the broadcasting backflow degree.
As a kind of optional scheme, said apparatus also includes:
1) receiving unit, for the broadcasting of client terminal playing multimedia file to record it before current time in acquisition
Before, receive the acquisition request of the broadcasting record for obtaining client terminal playing multimedia file in predetermined amount of time.
Alternatively, in the present embodiment, above-mentioned predetermined amount of time is depending on user's request, that is to say, that server
Broadcasting record of current time (such as same day) acquisition before current time (on the day of such as) within any number of days can be based on,
And count corresponding and play loss degree.For example, the client broadcasting of continuous 7 days record such as table 8 " not playing number of days continuously " one arranges
It is shown, further, it is possible to the different continuous numbers not played be counted respectively based on different acquisition requests, referring in particular to table 8
It is shown.
Table 8
As shown in the above, it is assumed that the 17 of 14-12-7:The acquisition that 00 client receives asks to be used to obtain continuous 3
Its situation about not playing, then result " for three days on end do not play " one row shown in will be counted in table 8, if what client received
Obtain request to be used to obtain continuous 5 days situations about not playing, then will count in table 8 " not playing for continuous 5 days " last row institute
The result shown.
The embodiment provided by the application, recorded by the different broadcastings for obtaining client in real time, it is corresponding to know
Client broadcasting be lost in degree, so as to accurate statistics user loss degree, with ensure can count it at current time
Afterwards, the multimedia file of user preferences is more met for client push.
As a kind of optional scheme, adjustment unit includes:
1) the second judge module, for judging whether the broadcasting loss degree of multimedia file is more than or equal to predetermined threshold;
2) adjusting module, during for being more than or equal to predetermined threshold in the broadcasting loss degree for judging multimedia file, adjustment
Multimedia file with the multimedia file after being updated, wherein, the multimedia file after renewal was used for after current time
It is pushed to client.
Alternatively, in the present embodiment, above-mentioned predetermined threshold can include but is not limited to be set according to different application scenarios
Different values is set to, according to the result of above-mentioned judgement, to realize the accurate adjustment to multimedia file, and then adjustment is obtained
Renewal after multimedia file be pushed to client.
The embodiment provided by the application, by knowing the broadcasting loss degree of client in real time, so as to obtain user's
Loss degree, and then realize and be adjusted renewal to being lost in more serious multimedia file in time, to ensure to provide multimedia
The stable rating of the network platform of file.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific
Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.