CN104301759A - Television-watching time duration obtaining method and device - Google Patents

Television-watching time duration obtaining method and device Download PDF

Info

Publication number
CN104301759A
CN104301759A CN201410589703.2A CN201410589703A CN104301759A CN 104301759 A CN104301759 A CN 104301759A CN 201410589703 A CN201410589703 A CN 201410589703A CN 104301759 A CN104301759 A CN 104301759A
Authority
CN
China
Prior art keywords
time
rating duration
viewing
user
time section
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
CN201410589703.2A
Other languages
Chinese (zh)
Other versions
CN104301759B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410589703.2A priority Critical patent/CN104301759B/en
Publication of CN104301759A publication Critical patent/CN104301759A/en
Application granted granted Critical
Publication of CN104301759B publication Critical patent/CN104301759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Abstract

The invention discloses a television-watching time duration obtaining method and device. The method comprises the steps that a television-watching time duration obtaining request is received, wherein the obtaining request comprises a target time period of the television-watching time duration to be obtained; all time slices in the target time period are obtained, wherein the time slices are obtained by segmenting the television-watching time duration of a user according to the preset granularity; the number of the time slices is calculated, and the television-watching time duration of the target time period is obtained. According to the television-watching time duration obtaining method and device, the problem that television-watching time duration counting efficiency is low in the prior art is solved, and the effect of improving the television-watching time duration counting efficiency is achieved.

Description

The acquisition methods of rating duration and acquisition device
Technical field
The present invention relates to networking technology area, in particular to a kind of acquisition methods and acquisition device of rating duration.
Background technology
The time started of certain viewing of each behavioral data record user in the viewing behavior data of IPTV user and end time, the rating duration of arbitrary period can be calculated based on these behavioral datas.
Wherein, IPTV is Internet Protocol Television, i.e. IPTV is the infrastructure utilizing broadband cable net, using domestic television set as primary terminal electrical equipment, provided the multiple digital media service comprising TV programme by internet protocol.
Above-mentioned rating duration refers in specific time period, the viewing time sum of the viewing behavior of all users.Such as, when choosing a certain period (for 19:00:00-19:30:00), user there will be four kinds of situations at the viewing behavior of this period, as shown in Figure 1: the first situation, with user A for representative, the viewing behavior of A, from 18:45:00, terminates to 19:05:00, within last 5 minutes of its this viewing behavior, drops in the selected period; The second situation, with user B for representative, the viewing behavior of B, from 19:05:00, terminates to 19:25:00, and its whole viewing time all drops in the selected period; The third situation, with user C for representative, the viewing behavior of C, from 19:25:00, terminates to 19:50:00, and the starting most of its this viewing behavior was dropped in the selected period for 5 minutes; 4th kind of situation, with user D for representative, the viewing behavior of D, from 18:45:00, terminates to 19:50:00, includes the selected period in the viewing time section of its this viewing behavior.Comprehensive above-mentioned situation, in selected 19:00:00-19:30:00, rating duration is 60 minutes (A is 5 minutes, and B is 20 minutes, and C is 5 minutes, and D is 30 minutes).
Particularly, the time started of certain period is st, the end time of arbitrary period is ed, the time started of the viewing behavior of user is ust, if ust<st, then get st as zero-computing time, otherwise, then get ust as zero-computing time, the end time of the viewing behavior of user is ued, if ued<ed, then get ued as the calculating end time, otherwise then get ed as the calculating end time.The calculating end time of finally getting each user deducts zero-computing time as the time difference, is then added the time difference of all users, obtains the rating duration of this time period.
Above-mentioned computational methods obtain zero-computing time after will making a decision the end time ued of the time started ust of the viewing behavior of each user and viewing behavior and calculate the end time, also deduct zero-computing time with the calculating end time, again all time differences obtained are added, efficiency is very low, especially in a case of a considerable amount of data, adopt above-mentioned computational methods to calculate the rating duration of arbitrary period, efficiency is very low.
For the problem that the statistical efficiency of rating duration in prior art is low, at present effective solution is not yet proposed.
Summary of the invention
For the problem that the statistical efficiency of rating duration in correlation technique is low, not yet propose effective solution at present, for this reason, main purpose of the present invention is the acquisition methods and the acquisition device that provide a kind of rating duration, to solve the problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of acquisition methods of rating duration, this acquisition methods comprises: receive the acquisition request obtaining rating duration, and wherein, the request of acquisition comprises the object time section of rating duration to be obtained; Obtain all time slices in object time section, wherein, time slice is split according to the viewing time of default granularity to user the time period obtained; The quantity of timing statistics fragment, obtains the rating duration of object time section.
Further, all time slices obtained in object time section comprise: the viewing behavior data reading in object time section all users that there is viewing behavior from database, and wherein, viewing behavior data comprise the viewing time of user; Split according to the viewing time of default granularity to user, obtain time slice.
Further, preset the unit of granularity and comprise one of the following: minute, second and millisecond.
Further, the quantity of timing statistics fragment, the rating duration obtaining object time section comprises: for each time slice arranges an identifier; The sum of statistics identifier, obtains the rating duration of object time section.
Further, the sum of statistics identifier, the rating duration obtaining object time section comprises: the total n obtaining the identifier of all time slices in object time section; According to following formulae discovery rating duration L, wherein, formula is: L=n × c, c are time period corresponding to default granularity.
To achieve these goals, according to a further aspect in the invention, a kind of acquisition device of rating duration is provided, this acquisition device comprises: receiver module, for receiving the acquisition request obtaining rating duration, wherein, the request of acquisition comprises the object time section of rating duration to be obtained; First acquisition module, for obtaining all time slices in object time section, wherein, time slice is split according to the viewing time of default granularity to user the time period obtained; Statistical module, for the quantity of timing statistics fragment, obtains the rating duration of object time section.
Further, the first acquisition module comprises: read module, and for reading in object time section the viewing behavior data of all users that there is viewing behavior from database, wherein, viewing behavior data comprise the viewing time of user; Segmentation module, for splitting according to the viewing time of default granularity to user, obtains time slice.
Further, preset the unit of granularity and comprise one of the following: minute, second and millisecond.
Further, statistical module comprises: arrange module, for arranging an identifier for each time slice; Statistics submodule, for adding up the sum of identifier, obtains the rating duration of object time section.
Further, statistics submodule comprises: the second acquisition module, for obtaining the total n of the identifier of all time slices in object time section; Computing module, for according to following formulae discovery rating duration L, wherein, formula is: L=n × c, c are time period corresponding to default granularity.
Adopt the embodiment of the present invention, according to default granularity, segmentation is carried out to the viewing time of user and obtain time slice, after receiving the acquisition request obtaining rating duration, only need add up the sum of the time slice in object time section, the rating duration of object time section can be obtained, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, especially when data volume is larger, the statistical efficiency of rating duration can be improved.By the above embodiment of the present invention, solve the problem that the statistical efficiency of rating duration in prior art is low, achieve the effect of the statistical efficiency improving rating duration.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the statistical method of rating duration according to prior art;
Fig. 2 is the flow chart of the acquisition methods of rating duration according to the embodiment of the present invention;
Fig. 3 is the flow chart of the acquisition methods of a kind of optional rating duration according to the embodiment of the present invention; And
Fig. 4 is the schematic diagram of the acquisition device of rating duration according to the embodiment of the present invention.
Embodiment
First, the part noun occurred in the process be described the embodiment of the present invention or term are applicable to description below:
Rating duration: in specific time period, all viewing time sums that there is the user of viewing behavior.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Fig. 2 is the flow chart of the acquisition methods of rating duration according to the embodiment of the present invention, and this acquisition methods comprises the steps: as shown in Figure 2
Step S202, receives the acquisition request obtaining rating duration.
Wherein, the object time section that request comprises rating duration to be obtained is obtained.
Step S204, obtains all time slices in object time section.
Wherein, time slice is split according to the viewing time of default granularity to user the time period obtained, and the viewing time of user is the duration of the viewing behavior of user, and e.g., user uses IPTV to watch the duration of TV programme.
Step S206, the quantity of timing statistics fragment, obtains the rating duration of object time section.
Adopt the embodiment of the present invention, according to default granularity, segmentation is carried out to the viewing time of user and obtain time slice, after receiving the acquisition request obtaining rating duration, only need add up the sum of the time slice in object time section, the rating duration of object time section can be obtained, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, especially when data volume is larger, the statistical efficiency of rating duration can be improved.By the above embodiment of the present invention, solve the problem that the statistical efficiency of rating duration in prior art is low, achieve the effect of the statistical efficiency improving rating duration.
According to the above embodiment of the present invention, the all time slices obtained in object time section can comprise: the viewing behavior data reading in object time section all users that there is viewing behavior from database, wherein, viewing behavior data comprise the viewing time of user; Split according to the viewing time of default granularity to user, obtain time slice.
Particularly, the viewing behavior data of all users that there is viewing behavior are read in object time section from database, the viewing time of all users that there is viewing behavior in object time section is obtained from the viewing behavior data read, then split according to the viewing time of default granularity to this all user, obtain all time slices in object time section.
Such as, object time section is 9:00 to 10:00, user A brings into use IPTV to watch news program from 8:50, and stop using IPTV at 9:30, user B brings into use IPTV to watch entertainment at 9:15, and stopping using IPTV at 10:10, user C brings into use IPTV to watch TV play at 8:00, and stops using IPTV at 8:50.According to the above embodiment of the present invention, the viewing time of the viewing behavior of user C not in object time section, without the need to reading the viewing behavior data of user C from database.To add up the rating duration in this object time section, the viewing behavior data of user A and the viewing behavior data of user B are read from database, and from the viewing behavior data of user A and the viewing behavior data of user B, obtain the viewing time (i.e. 8:50 to 9:30) of user A and the viewing time (i.e. 9:15 to 10:10) of user B, then split according to the viewing time of default granularity to the viewing time of user A and user B, obtain the time slice of user A in object time section (i.e. the time slice of the viewing time of user A between 9:00 to 9:30) and the time slice of user B in object time section (i.e. the time slice of the viewing time of user B between 9:15 to 10:00), by the time slice of user A in object time section and user B, the time slice in object time section is added, namely all time slices in object time section are obtained.
Pass through the above embodiment of the present invention, can only split the viewing time of the user meeting object time section, without the need to processing the viewing time of the whole users in database, can reduce to need data volume to be processed, shorten the time of acquisition time fragment, improve the acquisition efficiency of rating duration.
In the above embodiment of the present invention, preset the unit of granularity and can comprise one of following unit: minute, second and millisecond.
Particularly, default granularity can be 10 minutes, 5 minutes, 1 minute, 10 seconds, 5 seconds, 1 second, 10 milliseconds, 5 milliseconds and 1 millisecond etc.
State on the invention in embodiment, the precision of the rating duration got can be adjusted by different default granularities, when not needing point-device statistics, select larger default granularity (as, 10 minutes), the processing time of the segmentation of the viewing time to user can be shortened, thus improve the acquisition efficiency of rating duration.When the accurate statistics of needs, less default granularity (e.g., 10 milliseconds) can be selected, ensure that the precision of the rating duration got meets required precision.
According to the above embodiment of the present invention, the quantity of timing statistics fragment, the rating duration obtaining object time section can comprise: for each time slice arranges an identifier; The sum of statistics identifier, obtains the rating duration of object time section.
Wherein, the identifier of each time slice can be identical, also can be different.
Particularly, for each time slice arranges an identifier, when the quantity of timing statistics fragment, only need add up the sum of identifier, make statistics more convenient and swift.
In above-described embodiment, by arranging identifier, the quantity of all time slices in object time section can be obtained easily, improving the efficiency of the rating duration obtained in object time section.
Fig. 3 is the flow chart of the acquisition methods of a kind of optional rating duration according to the embodiment of the present invention.Below for one second as default granularity, composition graphs 3 introduces above-described embodiment in detail.As shown in Figure 3, the method can comprise the steps:
Step S302, arranges an identifier (i.e. Viewcount) to the time started of the viewing behavior of all users in object time section.
Wherein, the viewing time of user comprises the time started of the viewing behavior of user and the end time of viewing behavior, and the viewing time as user is 8:50 to 9:30, then the time started of viewing behavior is 8:50, and the end time of viewing behavior is 9:30.
Step S304, each second after the time started of viewing behavior all arranges an identifier, till the end time of the viewing behavior of user.
Wherein, each identifier can be identical.
Step S306, the sum of all identifiers in statistics object time section, obtains the rating duration in object time section according to the sum of all identifiers.
Particularly, after getting the viewing time of all users that there is viewing behavior in object time section, an identifier Viewcount is arranged to the time started of the viewing behavior of the user in this viewing time, and each second after the time started of the viewing behavior of user all arranges an identifier Viewcount, till the end time of the viewing behavior of user, terminate this setting; The sum (sum of the identifier namely in above-described embodiment) of identifier Viewcount in statistics object time section, the result of gained is numerical value corresponding to rating duration in object time section, and this rating duration in seconds.
In the above embodiment of the present invention, the sum of statistics identifier, the rating duration obtaining object time section can comprise: the total n obtaining the identifier of all time slices in object time section; According to following formulae discovery rating duration L, wherein, formula is: L=n × c, c are time period corresponding to default granularity.
Particularly, the sum of the identifier of all time slices in object time section got is multiplied by time period corresponding to default granularity, acquired results is numerical value corresponding to rating duration in this object time section, and this rating duration is in units of the unit of default granularity.
Pass through the above embodiment of the present invention, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, the rating duration in object time section can be obtained, especially, when data volume is larger, the statistical efficiency of rating duration can be improved.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Fig. 4 is the schematic diagram of the acquisition device of rating duration according to the embodiment of the present invention, and as shown in Figure 4, this acquisition device can comprise: receiver module 10, first acquisition module 30 and statistical module 50.
Wherein, receiver module 10 obtains the acquisition request of rating duration for receiving, and wherein, the request of acquisition comprises the object time section of rating duration to be obtained; First acquisition module 30 is for obtaining all time slices in object time section, and wherein, time slice is split according to the viewing time of default granularity to user the time period obtained; Statistical module 50, for the quantity of timing statistics fragment, obtains the rating duration of object time section.
Wherein, the viewing time of user is the duration of the viewing behavior of user, and e.g., user uses IPTV to watch the duration of TV programme.
Adopt the embodiment of the present invention, according to default granularity, segmentation is carried out to the viewing time of user and obtain time slice, after receiving the acquisition request obtaining rating duration, only need add up the sum of the time slice in object time section, the rating duration of object time section can be obtained, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, especially when data volume is larger, the statistical efficiency of rating duration can be improved.By the above embodiment of the present invention, solve the problem that the statistical efficiency of rating duration in prior art is low, achieve the effect of the statistical efficiency improving rating duration.
According to the above embodiment of the present invention, first acquisition module can comprise: read module, for reading in object time section the viewing behavior data of all users that there is viewing behavior from database, wherein, viewing behavior data comprise the viewing time of user; Segmentation module, for splitting according to the viewing time of default granularity to user, obtains time slice.
Particularly, the viewing behavior data of all users that there is viewing behavior are read in object time section from database, the viewing time of all users that there is viewing behavior in object time section is obtained from the viewing behavior data read, then split according to the viewing time of default granularity to this all user, obtain all time slices in object time section.
Pass through the above embodiment of the present invention, can only split the viewing time of the user meeting object time section, without the need to processing the viewing time of the whole users in database, can reduce to need data volume to be processed, shorten the time of acquisition time fragment, improve the acquisition efficiency of rating duration.
In the above-described embodiments, preset the unit of granularity and can comprise one of the following: minute, second and millisecond.
Particularly, default granularity can be 10 minutes, 5 minutes, 1 minute, 10 seconds, 5 seconds, 1 second, 10 milliseconds, 5 milliseconds and 1 millisecond etc.
State on the invention in embodiment, the precision of the rating duration got can be adjusted by different default granularities, when not needing point-device statistics, select larger default granularity (as, 10 minutes), the processing time of the segmentation of the viewing time to user can be shortened, thus improve the acquisition efficiency of rating duration.When the accurate statistics of needs, less default granularity (e.g., 10 milliseconds) can be selected, ensure that the precision of the rating duration got meets required precision.
According to the above embodiment of the present invention, statistical module can comprise: arrange module, for arranging an identifier for each time slice; Statistics submodule, for adding up the sum of identifier, obtains the rating duration of object time section.
Wherein, the identifier of each time slice can be identical, also can be different.
Particularly, for each time slice arranges an identifier, when the quantity of timing statistics fragment, only need add up the sum of identifier, make statistics more convenient and swift.
In above-described embodiment, by arranging identifier, the quantity of all time slices in object time section can be obtained easily, improving the efficiency of the rating duration obtained in object time section.
In the above-described embodiments, statistics submodule can comprise: the second acquisition module, for obtaining the total n of the identifier of all time slices in object time section; Computing module, for according to following formulae discovery rating duration L, wherein, formula is: L=n × c, c are time period corresponding to default granularity.
Particularly, the sum of the identifier of all time slices in object time section got is multiplied by time period corresponding to default granularity, acquired results is numerical value corresponding to rating duration in this object time section, and this rating duration is in units of the unit of default granularity.
Pass through the above embodiment of the present invention, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, the rating duration in object time section can be obtained, especially, when data volume is larger, the statistical efficiency of rating duration can be improved.
The modules provided in the present embodiment is identical with the using method that the corresponding step of embodiment of the method provides, application scenarios also can be identical.It is noted, of course, that the scheme that above-mentioned module relates to can be not limited to content in embodiment of the method and scene, and above-mentioned module may operate in terminal or mobile terminal, can pass through software or hardware implementing.
As can be seen from the above description, present invention achieves following technique effect:
Adopt the embodiment of the present invention, according to default granularity, segmentation is carried out to the viewing time of user and obtain time slice, after receiving the acquisition request obtaining rating duration, only need add up the sum of the time slice in object time section, the rating duration of object time section can be obtained, without the need to end time of time started and viewing behavior of judging the viewing behavior of user to obtain zero-computing time and to calculate the end time, and deduct obtain the time difference zero-computing time with the calculating end time, again is added the rating duration that just can obtain object time section all time differences, eliminate a large amount of judgements and computational process, especially when data volume is larger, the statistical efficiency of rating duration can be improved.By the above embodiment of the present invention, solve the problem that the statistical efficiency of rating duration in prior art is low, achieve the effect of the statistical efficiency improving rating duration.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an acquisition methods for rating duration, is characterized in that, comprising:
Receive the acquisition request obtaining rating duration, wherein, the described object time section obtaining request and comprise described rating duration to be obtained;
Obtain all time slices in described object time section, wherein, described time slice is split according to the viewing time of default granularity to user the time period obtained;
Add up the quantity of described time slice, obtain the described rating duration of described object time section.
2. acquisition methods according to claim 1, is characterized in that, all time slices obtained in described object time section comprise:
From database, read in the viewing behavior data of all described user that there is viewing behavior in described object time section, wherein, described viewing behavior data comprise the viewing time of described user;
Split according to the viewing time of described default granularity to described user, obtain described time slice.
3. acquisition methods according to claim 2, is characterized in that, the unit of described default granularity comprises one of the following: minute, second and millisecond.
4. acquisition methods as claimed in any of claims 1 to 3, is characterized in that, adds up the quantity of described time slice, and the described rating duration obtaining described object time section comprises:
For each described time slice arranges an identifier;
Add up the sum of described identifier, obtain the described rating duration of described object time section.
5. acquisition methods according to claim 4, is characterized in that, adds up the sum of described identifier, and the described rating duration obtaining described object time section comprises:
Obtain the total n of the described identifier of all described time slice in described object time section;
According to rating duration L described in following formulae discovery, wherein, described formula is: L=n × c, and described c is time period corresponding to described default granularity.
6. an acquisition device for rating duration, is characterized in that, comprising:
Receiver module, for receiving the acquisition request obtaining rating duration, wherein, the described object time section obtaining request and comprise described rating duration to be obtained;
First acquisition module, for obtaining all time slices in described object time section, wherein, described time slice is split according to the viewing time of default granularity to user the time period obtained;
Statistical module, for adding up the quantity of described time slice, obtains the described rating duration of described object time section.
7. acquisition device according to claim 6, is characterized in that, described first acquisition module comprises:
Read module, for reading in the viewing behavior data of all described user that there is viewing behavior in described object time section from database, wherein, described viewing behavior data comprise the viewing time of described user;
Segmentation module, for splitting according to the viewing time of described default granularity to described user, obtains described time slice.
8. acquisition device according to claim 7, is characterized in that, the unit of described default granularity comprises one of the following: minute, second and millisecond.
9. according to the acquisition device in claim 6 to 8 described in any one, it is characterized in that, described statistical module comprises:
Module is set, for arranging an identifier for each described time slice;
Statistics submodule, for adding up the sum of described identifier, obtains the described rating duration of described object time section.
10. acquisition device according to claim 9, is characterized in that, described statistics submodule comprises:
Second acquisition module, for obtaining the total n of the described identifier of all described time slice in described object time section;
Computing module, for according to rating duration L described in following formulae discovery, wherein, described formula is: L=n × c, and described c is time period corresponding to described default granularity.
CN201410589703.2A 2014-10-28 2014-10-28 The acquisition methods and acquisition device of rating duration Active CN104301759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410589703.2A CN104301759B (en) 2014-10-28 2014-10-28 The acquisition methods and acquisition device of rating duration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410589703.2A CN104301759B (en) 2014-10-28 2014-10-28 The acquisition methods and acquisition device of rating duration

Publications (2)

Publication Number Publication Date
CN104301759A true CN104301759A (en) 2015-01-21
CN104301759B CN104301759B (en) 2018-02-02

Family

ID=52321291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410589703.2A Active CN104301759B (en) 2014-10-28 2014-10-28 The acquisition methods and acquisition device of rating duration

Country Status (1)

Country Link
CN (1) CN104301759B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574859A (en) * 2017-03-08 2018-09-25 北京国双科技有限公司 A kind of viewing behavior statistical method and device
CN110019398A (en) * 2017-12-14 2019-07-16 北京京东尚科信息技术有限公司 Method and apparatus for output data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997152A (en) * 2006-01-06 2007-07-11 腾讯科技(深圳)有限公司 A method, terminal and server for quick skip in the online playing
CN101355686A (en) * 2008-09-24 2009-01-28 中辉世纪传媒发展有限公司 Method and system for statistic of audience rating
US20090106786A1 (en) * 2007-10-19 2009-04-23 Kabushiki Kaisha Toshiba Viewing behavior learning apparatus
CN102348131A (en) * 2010-07-26 2012-02-08 中兴通讯股份有限公司 IPTV system and viewing information statistical method thereof
US20140199045A1 (en) * 2013-01-17 2014-07-17 Hewlett-Packard Development Company, L.P. Video segmenting
CN104023278A (en) * 2013-03-01 2014-09-03 联想(北京)有限公司 Streaming media data processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997152A (en) * 2006-01-06 2007-07-11 腾讯科技(深圳)有限公司 A method, terminal and server for quick skip in the online playing
US20090106786A1 (en) * 2007-10-19 2009-04-23 Kabushiki Kaisha Toshiba Viewing behavior learning apparatus
CN101355686A (en) * 2008-09-24 2009-01-28 中辉世纪传媒发展有限公司 Method and system for statistic of audience rating
CN102348131A (en) * 2010-07-26 2012-02-08 中兴通讯股份有限公司 IPTV system and viewing information statistical method thereof
US20140199045A1 (en) * 2013-01-17 2014-07-17 Hewlett-Packard Development Company, L.P. Video segmenting
CN104023278A (en) * 2013-03-01 2014-09-03 联想(北京)有限公司 Streaming media data processing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574859A (en) * 2017-03-08 2018-09-25 北京国双科技有限公司 A kind of viewing behavior statistical method and device
CN108574859B (en) * 2017-03-08 2020-10-27 北京国双科技有限公司 Viewing behavior statistical method and device
CN110019398A (en) * 2017-12-14 2019-07-16 北京京东尚科信息技术有限公司 Method and apparatus for output data

Also Published As

Publication number Publication date
CN104301759B (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN106792242B (en) Method and device for pushing information
CN100534130C (en) Method, system and equipment to recommend program to television users
CN104053023B (en) A kind of method and device of determining video similarity
CN106982377B (en) Barrage management method and device
CN103686237A (en) Method and system for recommending video resource
US20190394146A1 (en) Method and device for processing live commenting messages and terminal
CN106604050A (en) Direct broadcast video assessment method and device
CN110324680B (en) Video pushing method and device, server, client and storage medium
CN104837034B (en) A kind of information processing method, client and server
CN107172452A (en) Direct broadcasting room recommends method and device
CN109429103B (en) Method and device for recommending information, computer readable storage medium and terminal equipment
CN103634623A (en) Method and equipment for sharing target video
CN106326297B (en) Application program recommendation method and device
CN105791902B (en) User&#39;s recommended method and device
CN106028070A (en) Live broadcast or carousel channel recommending method and device and video server
CN103945276A (en) Method and device for interaction between video live-broadcast mode and video on-demand mode
CN109348261A (en) Data statistical approach, device and electronic equipment in a kind of live streaming
CN104410913A (en) Television program recommending method and device for intelligent video equipment
CN108449620A (en) Realize that more people synchronize control method for playing back, device and the terminal device of viewing video
CN108733842A (en) Video recommendation method and device
CN106303591B (en) A kind of video recommendation method and device
CN109886823A (en) A kind of recommended method and device of social circle
CN104540018A (en) Method and device for processing video abnormal playing data of network television
CN105956061B (en) Method and device for determining similarity between users
CN106027673B (en) The control and training method, device that resource pushes in advance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Television-watching time duration obtaining method and device

Effective date of registration: 20190531

Granted publication date: 20180202

Pledgee: Shenzhen Black Horse World Investment Consulting Co., Ltd.

Pledgor: Beijing Guoshuang Technology Co.,Ltd.

Registration number: 2019990000503

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: Beijing Guoshuang Technology Co.,Ltd.

CP02 Change in the address of a patent holder