Summary of the invention
Main purpose of the present invention is to provide a kind of Web TV rating monitoring method and device, to solve the inaccurate problem of the monitoring of correlation technique to Web TV rating.
To achieve these goals, according to an aspect of the present invention, a kind of Web TV rating monitoring method is provided.This Web TV rating monitoring method comprises: the device identification determining the player playing target channel in preset time period, wherein, target channel is the channel needing to carry out Web TV rating monitoring, and target channel comprises first object channel and the second target channel; Obtain the broadcasting record that device identification is corresponding in preset time period; Traversal plays record, obtains the switching instant of first object channel switch to the second target channel; Corresponding to each switching instant, obtain the switching times of the first object channel switch corresponding with switching instant to the second target channel.
Further, determine that the device identification of the player playing target channel in preset time period comprises: determine target channel; From presetting database, obtain the broadcasting record of preset time period internal object channel, wherein, play the device identification that record comprises the player playing target channel; From playing the device identification filtering out the player of the broadcasting target channel in preset time period record.
Further, play the title that record comprises broadcasting channel, the initial broadcasting moment of broadcasting channel, the moment is play in the end of broadcasting channel, comprises: judge whether the title of the broadcasting channel play in record belongs to target channel from playing the device identification filtering out the player of the broadcasting target channel in preset time period record; If the title playing the broadcasting channel in record belongs to target channel, whether the initial broadcasting moment judging to play the broadcasting channel in record is later than the finish time of preset time period; If the initial broadcasting moment of playing the broadcasting channel in record is not later than finish time of preset time period, judge that the end broadcasting moment of the broadcasting channel play in record is whether early than the initial time of preset time period; If the initial time that the moment is no earlier than preset time period is play in the end of playing the broadcasting channel in record, filter out the device identification of playing in record.
Further, after obtaining the broadcasting record that device identification is corresponding in preset time period, this Web TV rating monitoring method also comprises: sorted according to device identification by broadcasting record corresponding for device identification in preset time period; The broadcasting record obtained after sorting according to device identification was sorted according to the initial broadcasting moment of broadcasting channel; By the broadcasting record after sequence stored in broadcasting record data table.
Further, by the broadcasting record after sequence stored in broadcasting record data table in after, this Web TV rating monitoring method also comprises: traversal plays the broadcasting record that in record data table, device identification is corresponding, according to the corresponding relation of broadcasting channel and character mark, the character mark corresponding with broadcasting channel is added in the broadcasting record of device identification, obtain the rating index of device identification, wherein, the character mark of the target channel in broadcasting channel is unique, and the character mark of the non-targeted channel in broadcasting channel is different from the character mark of target channel.
Further, traversal plays record, acquisition first object channel switch comprises to the switching instant of the second target channel: determine that first object channel switch identifies to unique character combination that the second target channel is corresponding, wherein, unique character combination mark is combined by character mark corresponding to first object channel and character mark corresponding to the second target channel; Obtain device identification corresponding to rating index comprising unique character combination mark; Determine that Article 1 corresponding to device identification plays the position being recorded in and playing in record data table; Determine the position of character mark in rating index that in unique character combination mark, the second target channel is corresponding; Play to be recorded according to Article 1 corresponding to device identification and play the position of character mark in rating index that in position in record data table and unique character combination mark, the second target channel is corresponding, obtain the broadcasting record of the second target channel; The initial broadcasting moment of the second target channel is obtained from the broadcasting record of the second target channel, and using the initial broadcasting switching instant of moment as first object channel switch to the second target channel of the second target channel.
Further, corresponding to each switching instant, obtain the first object channel switch corresponding with switching instant to comprise to the switching times of the second target channel: the rating index of traversal device identification, the switching instant of first object channel switch to the second target channel often detected, first object channel switch corresponding to switching instant is performed to the switching times of the second target channel and adds 1 operation; Add up the switching times of first object channel switch corresponding to each switching instant place to described second target channel.
Further, obtain the first object channel switch corresponding with switching instant to the second target channel switching times after, this Web TV rating monitoring method also comprises: obtain rating according to switching instant and switching times and flow to time-scale, wherein, rating flows to time-scale for representing switching channels, switching instant, switching channels and switching times corresponding to switching instant; Use objective time interval to flow to time-scale to rating to screen with the rating monitoring carried out target channel in objective time interval, objective time interval is the time period of described target channel being carried out to rating detection in preset time period.
To achieve these goals, according to a further aspect in the invention, a kind of Web TV rating monitoring device is provided.This Web TV rating monitoring device comprises: determination module, for determining the device identification of the player playing target channel in preset time period, wherein, target channel is the channel needing to carry out Web TV rating monitoring, and target channel comprises first object channel and the second target channel; First acquisition module, for obtaining broadcasting record corresponding to device identification in preset time period; Second acquisition module, for traveling through broadcasting record, obtains the switching instant of first object channel switch to the second target channel; 3rd acquisition module, for corresponding to each switching instant, obtains the switching times of the first object channel switch corresponding with switching instant to the second target channel.
Further, the second acquisition module comprises: first determines submodule, for determining that first object channel switch identifies to unique character combination that the second target channel is corresponding; First obtains submodule, for obtaining device identification corresponding to rating index comprising unique character combination mark; Second determines submodule, for determining that Article 1 corresponding to device identification plays the position being recorded in and playing in record data table; 3rd determines submodule, for the position of character mark in rating index determining that in unique character combination mark, the second target channel is corresponding; Second obtains submodule, playing for playing according to Article 1 corresponding to device identification to be recorded in the position of character mark in rating index that in position in record data table and unique character combination mark, the second target channel is corresponding, obtaining the broadcasting record of the second target channel; 3rd obtains submodule, for obtaining the initial broadcasting moment of the second target channel from the broadcasting record of the second target channel, and using the initial broadcasting switching instant of moment as first object channel switch to the second target channel of the second target channel.
Web TV rating monitoring method of the present invention, by adopting the device identification determining the player playing target channel in preset time period, wherein, target channel is the channel needing to carry out Web TV rating monitoring, and target channel comprises first object channel and the second target channel; Obtain the broadcasting record that device identification is corresponding in preset time period; Traversal plays record, obtains the switching instant of first object channel switch to the second target channel; Corresponding to each switching instant, obtain the switching times of the first object channel switch corresponding with switching instant to the second target channel, solve the inaccurate problem of the monitoring of correlation technique to Web TV rating.This Web TV rating monitoring method carries out preliminary treatment to the broadcasting record play in record data table, for each device identification distributes rating index, target channel is represented with unique character mark, and the Article 1 of recording equipment mark correspondence plays the position of record, thus the switching of target channel is converted into the matching problem of kinds of characters mark, save a large amount of repetition multilevel iudge to calculate, improve operation efficiency.Meanwhile, this Web TV rating monitoring method for the viewership of Data Source to the Web TV in preset time period is monitored, can provide more accurately decision data reliably for associated mechanisms such as TV stations with the played data of Set Top Box collection.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Better the present invention program is understood in order to make those skilled in the art, 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, the every other embodiment obtained under those of ordinary skill in the art do not make creative work prerequisite, all should belong to protection scope of the present 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, and intention is to cover not exclusive comprising.
The present invention aims to provide a kind of Web TV rating monitoring method and device.Fig. 1 is the flow chart of the first embodiment according to Web TV rating monitoring method of the present invention, and as shown in Figure 1, this Web TV rating monitoring method comprises following step S101 to step S104:
Step S101, determines the device identification of the player playing target channel in preset time period.
The Web TV rating monitoring method of this embodiment is gathered by TV set-top box and returns the played data of TV, wherein, TV set-top box can adopt IPTV, and the technology such as digital video broadcasting TV or internet television carry out the collection of played data.This played data can in a text form or other be applicable to modes store, this played data is deposited in database, database in this embodiment can be the databases such as Microsoft Access, Microsoft SQL Server or My SQL.In this embodiment, the broadcasting behavior of target channel refers to and falls into this target channel or from other channel switch to this target channel from user's start, to shut down or being switched to other channels to user.At least comprise the initial broadcasting moment that target channel plays behavior in played data, terminate to play the moment, the information such as the device identification of target channel title and user.In database, the once broadcasting behavior of corresponding target channel is recorded in broadcasting.
Determine that the device identification of the player playing target channel in preset time period specifically comprises: determine target channel; From presetting database, obtain the broadcasting record of preset time period internal object channel, wherein, play the device identification that record comprises the player playing target channel; From playing the device identification filtering out the player of the broadcasting target channel in preset time period record.Wherein, Preset Time sets according to concrete statistical demand, can be one day, also can be one hour etc.Target channel is the set needing channel Web TV being carried out to rating monitoring, and target channel can comprise first object channel and the second target channel, and such as target channel can comprise channel first, channel second, the channel third gradegrade C, wherein, first object channel can be channel first, channel second, any one in channel third, the second target channel can be channel first, channel second, any one in channel third, but first object channel and the second target channel can not be same channels.After played data is stored in database, according to the target channel determined and preset time period, filter out in a database the broadcasting in preset time period all device identifications of this target channel.For the broadcasting behavior in database, the condition of screening is the initial time that the end reproduction time of target channel is no earlier than this preset time period, and the initial broadcasting moment of target channel is not later than the finish time of this preset time period, and the channel play belongs to target channel.Such as, target channel comprises channel first, channel second, channel third, obtain the device identification of playing the player of target channel in preset time period, namely obtain according to screening conditions and play channel first, channel second, the device identification of the player of any one or multiple channel in channel third, the device identification such as meeting screening conditions has device identification 1 and device identification 2.Wherein, device identification 1 can be corresponding one or more than the broadcasting record of, and device identification 2 can be corresponding one or more than the broadcasting record of.
Preferably, broadcasting record in the Web TV rating monitoring method of this embodiment comprises the title of broadcasting channel, the initial broadcasting moment of broadcasting channel, the moment is play in the end of broadcasting channel, comprises: judge whether the title of the broadcasting channel play in record belongs to target channel from playing the device identification filtering out the player of the broadcasting target channel in preset time period record; If the title playing the broadcasting channel in record belongs to target channel, whether the initial broadcasting moment judging to play the broadcasting channel in record is later than the finish time of preset time period; If the initial broadcasting moment of playing the broadcasting channel in record is not later than finish time of preset time period, judge that the end broadcasting moment of the broadcasting channel play in record is whether early than the initial time of preset time period; If the initial time that the moment is no earlier than preset time period is play in the end of playing the broadcasting channel in record, filter out the device identification of playing in record.The Web TV rating monitoring method of this embodiment, preferably after the device identification of player obtaining the broadcasting target channel in preset time period, carries out duplicate removal process to this device identification.Because the switching repeatedly between target channel and between target channel and non-targeted channel may appear in Web TV that device identification same in preset time period is corresponding, therefore the situation that the device identification drawn there will be repetition is added up, and broadcasting record corresponding to same device identification is all identical, so duplicate removal effectively can improve the efficiency of analyzing and processing.
Step S102, obtains the broadcasting record that device identification in preset time period is corresponding.
After the device identification determining the player playing target channel in preset time period, filter out all broadcasting records that the said equipment mark is corresponding in a database.The screening conditions filtering out all broadcasting records corresponding to the said equipment mark in this embodiment from database are identical with screening in preset time period the screening conditions that all devices of playing target channel identifies from database, namely the end reproduction time of target channel is no earlier than the initial time of this preset time period, and the initial broadcasting moment of target channel is not later than the finish time of this preset time period, and the channel play belongs to target channel.After obtaining the broadcasting record that device identification is corresponding in preset time period, broadcasting record corresponding for device identification in preset time period is sorted according to device identification; The broadcasting record obtained after sorting according to device identification was sorted according to the initial broadcasting moment of broadcasting channel; Then by the broadcasting record after sequence stored in broadcasting record data table.Carrying out sequence according to device identification can be carry out ascending order arrangement according to device identification, also can carry out descending according to device identification.Preferably, can also sort to according to the broadcasting record after device identification sequence according to the initial broadcasting moment of target channel to playing after record sorts according to device identification.It is to be screened by broadcasting record corresponding for same device identification rapidly, improve arithmetic speed that the Web TV rating monitoring method of this embodiment broadcasting record corresponding to device identification in preset time period sorts.Such as, target channel (channel first is play in preset time period, channel second, channel third) the device identification of player have device identification 1 and device identification 2, obtain the broadcasting record that device identification is corresponding in preset time period, namely obtain the broadcasting record of device identification 1 correspondence and the broadcasting record of device identification 2 correspondence respectively.Device identification 1 can be corresponding one or more than the broadcasting record of, and device identification 2 can be corresponding one or more than the broadcasting record of.Such as, the broadcasting of device identification 1 correspondence records 5, and device identification 2 records 6 to the broadcasting of.
By the broadcasting record after sequence stored in broadcasting record data table in after, the Web TV rating monitoring method of this embodiment also comprises: traversal plays the broadcasting record that in record data table, device identification is corresponding, according to the corresponding relation of broadcasting channel and character mark, the character mark corresponding with broadcasting channel is added in the broadcasting record of device identification, obtain the rating index of device identification, wherein, the character mark of the target channel in broadcasting channel is unique, and the character mark of the non-targeted channel in broadcasting channel is different from the character mark of target channel.Wherein, the rating index of device identification in this embodiment is a kind of optimal way, can also be called that a mark be made up of the title of target channel is set up in each device identification according to the name of target channel.In this embodiment, the corresponding unique character mark of each target channel, is designated each device identification by unique character that target channel is corresponding and distributes rating index, calculate easy, the switching times between being conducive to by character match statistics target channel.Such as, a rating index corresponding with this device identification 1 can be produced for device identification 1, the generative process of this rating index is specific as follows: the broadcasting record of traversal device identification 1 correspondence, from Article 1 plays record, if the target channel play is channel first, then add character " 1 " in rating index or other have the character of mark action, such as A or a etc.; If the target channel play is channel second, then add character " 2 " in rating index; If the target channel play is channel the third, then add character " 3 " in rating index; If the channel play does not belong to target channel, then add character " 0 " in rating index.After having judged that Article 1 plays record, play record and carry out same judgement, obtain the rating index of device identification 1 to other four in the broadcasting record of this device identification 1 correspondence, this rating index is by character " 1 ", and " 2 ", " 3 ", " 0 " forms.After the rating index of device identification 1 generates, generate the rating index of device identification 2 after the same method.When running into new device identification in ergodic process, retain the rating index of a device identification, and increase new rating index with the current device identification of correspondence.Meanwhile, the Article 1 recording this device identification plays the position being recorded in and playing in record data table.Namely, after the rating index generating device identification 1, the Article 1 that recording equipment identifies 2 correspondences plays the position being recorded in and playing in record data table.Thus, for the unique arbitrarily character mark in any rating index, can play according to the Article 1 of the device identification of its correspondence the position be recorded in broadcasting record data table and determine that this broadcasting is recorded in the position of playing in record data table with this unique character relative position be identified in rating index.The rating index that device identification correspondence one in the Web TV rating monitoring method of this embodiment is unique, this rating index is made up of different characters.
Step S103, traversal plays record, obtains the switching instant of first object channel switch to the second target channel.
Preferably, traversal plays record, and acquisition first object channel switch comprises to the switching instant of the second target channel: determine that first object channel switch identifies to unique character combination that the second target channel is corresponding; Obtain device identification corresponding to rating index comprising unique character combination mark; Determine that Article 1 corresponding to device identification plays the position being recorded in and playing in record data table; Determine the position of character mark in rating index that in unique character combination mark, the second target channel is corresponding; According to Article 1 corresponding to device identification play be recorded in play position in record data table and the combination of unique character mark know in the position of character mark in rating index corresponding to the second target channel, obtain the broadcasting record of the second target channel; The initial broadcasting moment of the second target channel is obtained from the broadcasting record of the second target channel, and using the initial broadcasting switching instant of moment as first object channel switch to the second target channel of the second target channel.Wherein, first object channel switch is designated the adjacent character string be made up of first object channel and the second target channel to unique character combination that the second target channel is corresponding.Such as, first object channel is channel first, corresponding character " 1 "; Second target channel is channel second, corresponding character " 2 ", then first object channel switch is designated " 12 " to unique character that the second target channel is corresponding, and unique character combination that the second target channel is switched to first object channel corresponding is designated " 21 ".The rating index of traversal armamentarium mark (device identification 1 and device identification 2), coupling is designated the rating index of " 12 " containing unique character, and the Article 1 corresponding according to this device identification is play to be recorded in and play character " 2 " position in this rating index in position in record data table and unique character combination mark " 12 " and determine that the broadcasting that character " 2 " is corresponding is recorded in the position of playing in record data table.Then corresponding according to character " 2 " broadcasting is recorded in the position of playing in record data table, obtain the initial broadcasting moment in broadcasting record corresponding to character " 2 ", and using this initial broadcasting switching instant of moment as first object channel switch to the second target channel, namely channel first is switched to the switching instant of channel second.The switching of target channel statistics is converted into the matching problem of kinds of characters mark by the Web TV rating monitoring method of this embodiment, saves a large amount of repetition multilevel iudge and calculates, improve operation efficiency.
Step S104, corresponding to each switching instant, obtains the switching times of the first object channel switch corresponding with switching instant to the second target channel.
Preferably, corresponding to each switching instant, obtain the first object channel switch corresponding with switching instant to comprise to the switching times of the second target channel: the rating index of traversal device identification, the switching instant of first object channel switch to the second target channel often detected, first object channel switch corresponding to switching instant is performed to the switching times of the second target channel and adds 1 operation; Add up the switching times of first object channel switch corresponding to each switching instant place to described second target channel.When target channel comprises multiple channel, such as comprise channel first, channel second, channel third.When calculating switching time and the switching times corresponding with switching time, need traversal channel first, the rating index of channel second and channel third, calculate channel first respectively and be switched to the switching time of channel second and the switching times at place's switching time, channel first is switched to the switching time of channel third and the switching times at place's switching time, and channel first is switched to the switching time of other channels and the switching times etc. at place's switching time.Such as, the rating index of device identification 1 is " 12310 ", and the rating index of device identification 2 is " 122111 ".Then travel through whole rating index, coupling character " 12 ", comprises character " 12 ", also comprises character " 12 " in the rating index of device identification 2 in the rating index of device identification 1.Character " 2 " position in rating index in the rating index being recorded in and playing position in record data tables and device identification 1 in character " 12 " is play by the Article 1 of device identification 1, the broadcasting obtaining character " 2 " correspondence in character " 12 " is recorded in the position of playing in record data table, and the initial broadcasting moment obtained in broadcasting record corresponding to character " 2 " is switched to the switching instant of channel second as channel first, and the switching times execution at this switching instant place, channel first being switched to channel second adds 1 operation.In like manner, identical operation is performed to device identification 2.
Obtain the first object channel switch corresponding with switching instant to the second target channel switching times after, the Web TV rating monitoring method of this embodiment also comprises: obtain rating according to switching instant and switching times and flow to time-scale, wherein, rating flows to time-scale for representing switching channels, switching instant, switching channels and switching times corresponding to switching instant; Use objective time interval to flow to time-scale to rating to screen with the rating monitoring carried out target channel in objective time interval, objective time interval is the time period of described target channel being carried out to rating detection in preset time period.When statistical analysis, obtain the objective time interval in preset time period, this objective time interval is the arbitrary period in preset time period, as the complete epochs of one grade of variety show or the period etc. of an advertisement, wherein, objective time interval can with point or second for chronomere.Flow in time-scale in rating, corresponding is row with switching time, adds 1 with the counting of switching channels (as channel first is switched to channel second) corresponding to row.The process of the rating index of the traversal device identification in this embodiment can be completed by a thread, also can be completed by multiple thread parallel, and this embodiment adopts multithreading significantly can promote matching speed.The data that rating flows to each element in time-scale correspond to audient's number of having carried out channel switch within the unit interval.Utilize this rating flow chart directly to export and carry out subsequent statistical analysis, also can the propelling along with time shaft under suitable data visualization method graphically dynamically present.
The Web TV rating monitoring method of the embodiment of the present invention adopts the device identification determining the player playing target channel in preset time period, wherein, target channel is the channel needing to carry out Web TV rating monitoring, and target channel comprises first object channel and the second target channel; Obtain the broadcasting record that device identification is corresponding in preset time period; Traversal plays record, obtains the switching instant of first object channel switch to the second target channel; Corresponding to each switching instant, obtain the switching times of the first object channel switch corresponding with switching instant to the second target channel, solve the inaccurate problem of the monitoring of correlation technique to Web TV rating.The Web TV rating monitoring method of this embodiment generates a unique rating index to each device identification, different channels is represented with different unique character marks, thus when needing the audient obtaining the arbitrary target period in preset time period to flow to data, do not need to repeat to judge to calculate in broadcasting record data table, but realize in the mode of string matching statistics audient being flowed to data, effectively improve operation efficiency, also ensure that the accuracy to the monitoring of Web TV rating simultaneously.
In order to the Web TV rating monitoring method in first embodiment of the invention is clearly described, be described in detail by way of example in this embodiment.Fig. 2 is the data analysis interface schematic diagram of Guangzhou news channel January 29.Suppose that preset time period is 00:00 to the 24:00 on January 29, objective time interval be the morning 10:00 to 18:00 in evening, objective time interval is the time period of described target channel being carried out to rating detection in preset time period.Target channel comprises Guangzhou news, central 1-high definition, TVB etc.The Web TV rating monitoring method of this embodiment comprises the steps:
Step one, obtain from database the broadcasting in 00:00 to the 24:00 on January 29 Guangzhou news, central 1-high definition, the channels such as TVB armamentarium mark, such as armamentarium mark comprise device identification 1 and device identification 2.Step 2, from database, obtain device identification in 00:00 to the 24:00 on January 29 is whole broadcasting record of device identification 1 and device identification 2, and will all play record according to after device identification sequence stored in broadcasting record data table.Such as, the broadcasting of device identification 1 correspondence records three, and the broadcasting of device identification 2 correspondence records two.Step 3, traversal device identification in 00:00 to the 24:00 on January 29 is whole broadcasting record of device identification 1 and device identification 2, for device identification 1, from Article 1 plays record, determine that Article 1 plays the broadcasting channel in record, if be Guangzhou news, then add character " 1 " by the rating index of mark 1, if be central 1-high definition, then add character " 2 " by the rating index of mark 1, if be TVB, then add character " 3 " by the rating index of device identification 1, successively to adding unique character mark corresponding to target channel in the rating index of device identification 1, if the channel play is not target channel, then add character " 0 " by the rating index of device identification 1.After having judged that the Article 1 of device identification 1 correspondence plays record, after the same method record and Article 3 are play to the Article 2 of device identification 1 correspondence and play record and carry out same operation, obtained the rating index of device identification 1.After having been added by the rating index of device identification 1, start the rating index adding device identification 2.Now, the Article 1 needing recording equipment to identify 2 plays the position being recorded in and playing in record data table.Adding procedure with the rating index of device identification 1 is similar, performs same interpolation operation, obtain the rating index of device identification 2 to the rating index of device identification 2.Step 4, travel through whole rating index, namely the rating index of device identification 1 and the rating index of device identification 2 is traveled through, the switching times that switching time of calculating character mark " 12 " (namely Guangzhou news is switched to central 1-high definition) is corresponding with this switching time; After calculating character mark " 12 ", the switching times etc. that the switching time of calculating character mark " 13 " (namely Guangzhou news is switched to TVB) is corresponding with this switching time respectively.Step 5, according to the switching time calculated, switching channels and switching times are set up rating and are flowed to time-scale.
As can be seen from Figure 2 preset time period is 00:00 to the 24:00 on January 29, and objective time interval is 10:00 to 18:00, and target channel is central 1-high definition in the list of right side, TVB etc.The analysis result obtained according to the rating monitoring method of the Web TV of this embodiment is as shown in table 1.Analysis result is central 1-high definition, and the rating that TVB etc. flow into Guangzhou news flows to, and as can be seen from analysis result, within 11:05 divides, having 274 people to flow into Guangzhou news from Guangzhou TV, is a local peaks.
The rating monitoring result of table 1 Web TV
From above description, can find out, the Web TV rating monitoring method of the embodiment of the present invention carries out preliminary treatment to the broadcasting record play in record data table, the character mark corresponding according to each broadcasting channel obtains the rating index of device identification, this rating index directly can also use the title of target channel, just the usual figure place of channel designation is more, amount of calculation and process complexity all can be very large, for the application scenarios of large data, the problem that process and response all can have the stand-by period long, therefore be preferably adopted as each target channel and distribute the rating index that unique character mark obtains device identification.Rating index in this embodiment adopts the form of character to be conducive to the switching of target channel to be converted into the matching problem of kinds of characters mark, saves a large amount of repetition multilevel iudge and calculates, improve operation efficiency.Simultaneously, this Web TV rating monitoring method with the played data of Set Top Box collection for the viewership of Data Source to the Web TV in preset time period is monitored, decision data reliably can be provided more accurately for associated mechanisms such as TV stations, solve the inaccurate problem of the monitoring of correlation technique to Web TV rating.
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.
Embodiments of the invention additionally provide a kind of Web TV rating monitoring device.It should be noted that, this Web TV rating monitoring device may be used for the Web TV rating monitoring method performing the embodiment of the present invention.
Fig. 3 is the schematic diagram of the first embodiment according to Web TV rating monitoring device of the present invention.As shown in Figure 3, this Web TV rating monitoring device comprises: determination module 10, the first acquisition module 20, second acquisition module 30 and the 3rd acquisition module 40.
Determination module 10, for determining the device identification of the player playing target channel in preset time period, wherein, target channel is the channel needing to carry out Web TV rating monitoring, and target channel comprises first object channel and the second target channel.
Particularly, determination module 10 comprises determines submodule, for determining target channel; Obtaining submodule, for obtaining the broadcasting record of preset time period internal object channel from presetting database, wherein, playing the device identification that record comprises the player playing target channel; Screening module, for filtering out the device identification of the player of the broadcasting target channel in preset time period from broadcasting record.Wherein, screening module comprises the first judge module, for judging whether the title of the broadcasting channel play in record belongs to target channel; Second judge module, if belong to target channel for the title playing the broadcasting channel in record, whether the initial broadcasting moment judging to play the broadcasting channel in record is later than the finish time of preset time period; 3rd judge module, if be not later than finish time of preset time period for the initial broadcasting moment of playing the broadcasting channel in record, judges that the end broadcasting moment of the broadcasting channel play in record is whether early than the initial time of preset time period; Screening submodule, if the initial time that the moment is no earlier than preset time period is play in the end for playing the broadcasting channel in record, filters out the device identification of playing in record.
First acquisition module 20, for obtaining broadcasting record corresponding to device identification in preset time period.
Second acquisition module 30, for traveling through broadcasting record, obtains the switching instant of first object channel switch to the second target channel.
3rd acquisition module 40, for corresponding to each switching instant, obtains the switching times of the first object channel switch corresponding with switching instant to the second target channel.
Particularly, 3rd acquisition module 40 comprises spider module, for traveling through the rating index of device identification, the switching instant of first object channel switch to the second target channel often being detected, first object channel switch corresponding to switching instant being performed to the switching times of the second target channel and adds 1 operation; Statistical module, for adding up the switching times of first object channel switch corresponding to each switching instant place to the second target channel.
The Web TV rating monitoring device of this embodiment comprises: determination module 10, the first acquisition module 20, second acquisition module 30 and the 3rd acquisition module 40.By the Web TV rating monitoring device of this embodiment, solve the inaccurate problem of the monitoring of correlation technique to Web TV rating.
Fig. 4 is the schematic diagram of the second embodiment according to Web TV rating monitoring device of the present invention.As shown in Figure 4, this Web TV rating monitoring device comprises: determination module 10, the first acquisition module 20, second acquisition module the 30, three acquisition module 40, adds module 50.Wherein, the second acquisition module 30 comprises first and determines submodule 301, and first obtains submodule 302, the second determines submodule 303, and the 3rd determines submodule 304, and second obtains submodule 305 and the 3rd obtains submodule 306.
Add module 50, the broadcasting record that in record data table, device identification is corresponding is play for traveling through, according to the corresponding relation of broadcasting channel and character mark, the character mark corresponding with broadcasting channel is added in the broadcasting record of device identification, obtain the rating index of device identification, wherein, the character mark of the target channel in broadcasting channel is unique, and the character mark of the non-targeted channel in broadcasting channel is different from the character mark of target channel.
First determines submodule 301, for determining that first object channel switch identifies to unique character combination that the second target channel is corresponding.
First obtains submodule 302, for obtaining device identification corresponding to rating index comprising unique character combination mark.
Second determines submodule 303, for determining that Article 1 corresponding to device identification plays the position being recorded in and playing in record data table.
3rd determines submodule 304, for the position of character mark in rating index determining that in unique character combination mark, the second target channel is corresponding.
Second obtains submodule 305, playing character mark that in position in record data table and unique character combination mark, the second target channel is corresponding in the position in rating index for playing according to Article 1 corresponding to device identification to be recorded in, obtaining the broadcasting record of the second target channel.
3rd obtains submodule 306, for obtaining the initial broadcasting moment of the second target channel from the broadcasting record of the second target channel, and using the initial broadcasting switching instant of moment as first object channel switch to the second target channel of the second target channel.
The Web TV rating monitoring device of this embodiment comprises: determination module 10, the first acquisition module 20, second acquisition module the 30, three acquisition module 40, adds module 50.Wherein, the second acquisition module 30 comprises first and determines submodule 301, and first obtains submodule 302, the second determines submodule 303, and the 3rd determines submodule 304, and second obtains submodule 305 and the 3rd obtains submodule 306.The inaccurate problem of the monitoring of correlation technique to Web TV rating is solved by the Web TV rating monitoring device of this embodiment.Simultaneously by carrying out preliminary treatment to the broadcasting record play in record data table, for each device identification distributes rating index, target channel is represented with unique character mark, and the Article 1 of recording equipment mark correspondence plays the position of record, thus the switching of target channel is converted into the matching problem of kinds of characters mark, save a large amount of repetition multilevel iudge to calculate, improve operation efficiency.
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.