The content of the invention
It is existing to solve it is a primary object of the present invention to provide a kind of Web TV rating to flow to monitoring method and device
Technology can not analyze the problem of audient's inflow and outflow situation of television channel in a period of time.
To achieve these goals, according to an aspect of the invention, there is provided a kind of flow direction monitoring of Web TV rating
Method.The Web TV rating, which flows to monitoring method, to be included:Obtain the playback equipment that channel to be monitored is played in preset time period
Device identification;Filtered out from presetting database and play record in preset time period corresponding to device identification, wherein, present count
Record is played corresponding to device identification according to being previously stored with storehouse in preset time period;Traversal plays record, counts in target
Between channel to be monitored in section start number, shut down number, cuts out number, cuts number, and target time section is right in preset time period
The period that channel to be monitored is monitored, wherein, start number is the number of the first device identification, wherein, the first device identification
It is the record for playing channel to be monitored that corresponding first, which plays record, and shutdown number is the number of the second device identification, wherein, the
It is the record for playing channel to be monitored that the last item corresponding to two device identifications, which plays record, cuts out number to be cut from channel to be monitored
The number of other channels is changed to, incision number is from other channel switch to the number of channel to be monitored;Calculate in target time section
The audient of interior channel to be monitored flows into number and audient's outflow number, wherein, audient flows into sum of the number for start number and incision number, audient
Outflow number is shutdown number and cuts out several sums.
Further, the broadcasting record stored in presetting database includes the title that target plays object, target broadcasting pair
The starting of elephant plays the moment, and the end that target plays object plays the moment, plays the equipment that target plays the playback equipment of object
Mark, filtered out from presetting database in preset time period and record is played corresponding to device identification include:Travel through preset data
The broadcasting record stored in storehouse;Target in the broadcasting record for judging to store in presetting database play object title whether be
The title of channel to be monitored;If the title that the target in the broadcasting record stored in presetting database plays object is to be monitored
Whether the title of channel, the starting broadcasting moment that the target played in record for judging to store in presetting database plays object are late
In the finish time of preset time period;If the starting that the target in the broadcasting record stored in presetting database plays object is broadcast
The finish time for being not later than preset time period constantly is put, the target broadcasting pair played in record for judging to store in presetting database
The end of elephant is carved at the beginning of whether playing the moment earlier than preset time period;If in the broadcasting record stored in presetting database
Target play object end play the moment be no earlier than preset time period at the beginning of carve, the broadcasting of the condition that meets record is deposited
Enter to play in record data table, wherein, play record data table and be used to be stored in preset time period to broadcast corresponding to device identification
Put record.
Further, after the broadcasting for the condition that meets is recorded deposit play in record data table, the Web TV is received
Also include depending on flowing to monitoring method:Traversal plays record data table;Rating index is distributed for device identification, wherein, rating index
Corresponded with device identification;The original position of device identification in recording played record data table, wherein, the starting of device identification
Position is recorded in the position played in record data table to be played corresponding to the first character in the rating index of device identification.
Further, distributing rating index for device identification includes:Travel through and record is played corresponding to device identification;Judgement is set
Played corresponding to standby mark the target in record play object title whether be channel to be monitored title;If device identification
The title that the corresponding target played in record plays object is the title of channel to be monitored, in the rating index of device identification
Add the first character;If the title that the target broadcasting object in record is played corresponding to device identification is not channel to be monitored
Title, the second character is added in the rating index of device identification, wherein, the second character is different from the first character.
Further, traversal plays record, and counting the start number of the channel to be monitored in target time section includes:Traversal
The rating index of device identification;The rating started with the first character is obtained to index;It is determined that the rating started with the first character indexes
In the position for being recorded in and playing in record data table is played corresponding to the first character;Played according to the character of position acquisition first is corresponding
The starting of record plays the moment and the end of channel to be monitored plays the moment;Judge that the corresponding starting for playing record of the first character is broadcast
The moment is put whether in target time section;If the starting of channel to be monitored plays the moment in target time section, count with the
The number for the rating index that one character starts.
Further, traversal plays record, and counting the shutdown number of the channel to be monitored in target time section includes:Traversal
The rating index of device identification;Obtain and indexed with the rating of the first character ends;It is determined that indexed with the rating of the first character ends
In the position for being recorded in and playing in record data table is played corresponding to the first character;Played according to the character of position acquisition first is corresponding
The starting of record plays the moment and the end of channel to be monitored plays the moment;Judge that the corresponding end for playing record of the first character is broadcast
The moment is put whether in target time section;If the corresponding end for playing record of the first character plays the moment in target time section
It is interior, count with the number of the rating index of the first character ends.
Further, traversal plays record, counts the number that cuts out of the channel to be monitored in target time section and includes:Traversal
The rating index of device identification;Obtaining is included with the first character in preceding, rating of second character in the first character string of rear composition
Index;Determine to play the position for being recorded in and playing in record data table corresponding to the second character in rating index;Obtained according to position
The end at the second character corresponding starting broadcasting moment and channel to be monitored for playing record is taken to play the moment;Judge the second character pair
The starting that record should be played plays the moment whether in target time section;If the corresponding starting for playing record of the second character plays
Moment, statistics was included with the first character in preceding, number of second character in the first character string of rear composition in target time section.
Further, traversal plays record, and counting the incision number of the channel to be monitored in target time section includes:Traversal
The rating index of device identification;Obtaining is included with the second character in preceding, rating of first character in the second character string of rear composition
Index;Determine to play the position for being recorded in and playing in record data table corresponding to the second character in rating index;Obtained according to position
The end at the second character corresponding starting broadcasting moment and channel to be monitored for playing record is taken to play the moment;Judge the second character pair
The end that record should be played plays the moment whether in target time section;If the corresponding end for playing record of the second character plays
Moment, statistics was included with the second character in preceding, number of first character in the second character string of rear composition in target time section.
Further, record is played in traversal, counts the start number of the channel to be monitored in target time section, shutdown
Number, after cutting out number incision number, the Web TV rating, which flows to monitoring method, also to be included:Obtain after channel to be monitored is cut out
The title of channel before the title and incision channel to be monitored of channel;By the title of the channel after being cut out from channel to be monitored
It is deposited into and cuts out in rear channel data table;The title of channel before being cut into channel to be monitored is deposited into channel number before cutting
According in table.
To achieve these goals, according to another aspect of the present invention, there is provided a kind of Web TV rating flow direction monitoring
Device.The Web TV rating, which flows to monitoring device, to be included:Acquisition module, frequency to be monitored is played in preset time period for obtaining
The device identification of the playback equipment in road;Screening module, for filtering out device identification in preset time period from presetting database
It is corresponding to play record, wherein, it is previously stored with presetting database in preset time period and record is played corresponding to device identification;
Statistical module, record is played for traveling through, counts the start number of the channel to be monitored in target time section, shut down number, cuts out
Number, number is cut, wherein, target time section is the period being monitored in preset time period to channel to be monitored, number of starting shooting
For the number of the first device identification, wherein, it is to play channel to be monitored that first, which plays record, corresponding to the first device identification
Record, shutdown number are the number of the second device identification, wherein, it is to play that the last item corresponding to the second device identification, which plays record,
The record of channel to be monitored, number is cut out as the number from channel switch to be monitored to other channels, incision number is from other channels
It is switched to the number of channel to be monitored;Computing module, the audient for calculating the channel to be monitored in target time section flow into number
Number is flowed out with audient, wherein, it is start number and the sum for cutting number that audient, which flows into number, and audient flows out number and is shutdown number and cuts out several
With.
The Web TV rating of the present invention flows to monitoring method using broadcasting channel to be monitored in acquisition preset time period
The device identification of playback equipment;Filtered out from presetting database and play record in preset time period corresponding to device identification;Time
Broadcasting record is gone through, counts the start number of the channel to be monitored in target time section, shut down number, cuts out number, cuts number, wherein,
Target time section is the period being monitored in preset time period to channel to be monitored;Calculating is waited to supervise in target time section
The audient of measured channel flows into number and audient flows out number.Monitoring method is flowed to by the Web TV rating of the present invention, solved existing
There is the problem of audient's inflow and outflow situation that technology can not analyze television channel in a period of time.Web TV rating flow direction prison
Survey method is indexed by distributing rating for device identification, and records the original position of the device identification so as to number of starting shooting, shutdown
Number, cut number and cut out the matching problem that several statistics is converted to character string, save and carried out in record data table is played
It is substantial amounts of repeat to judge to calculate, improve operation efficiency.Meanwhile the Web TV rating flows to monitoring method statistical analysis
The start number of television channel in a period of time, shut down number, and it is during current television program receiving is analyzed to cut number and cut out number
The analytic angle of shortcoming, by the way that to number of starting shooting, shut down number, and TV frequency can clearly be grasped by cutting number and cutting out several statistics
The rating flow direction in road.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art is better understood from the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, in ordinary skill
Personnel do not make the every other embodiment obtained under the premise of creative work, should all belong to the protection model of the present invention
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover non-exclusive include.
The present invention is intended to provide a kind of Web TV rating flows to monitoring method and device.Fig. 1 is the net according to the present invention
Network television program receiving flows to the flow chart of the first embodiment of monitoring method, as shown in figure 1, the Web TV rating flows to monitoring side
Method includes steps S101 to step S104:
Step S101, obtain the device identification for the playback equipment that channel to be monitored is played in preset time period.
Preset time period oneself can be set according to statistical demand, can be set as one day or a hour.Treat
Monitoring channel is any one in the television channel that playback equipment played, arbitrarily selected according to statistical demand, such as Hunan
Satellite TV etc..Wherein, the playback equipment in the embodiment can be IPTV, and DVB TV can also
It is internet television etc..
The Web TV rating of the embodiment flows to the broadcasting that monitoring method is gathered by TV set-top box and returns user
Daily record data, the broadcasting daily record data by by text or other be adapted to storage in a manner of be deposited into presetting database.Wherein,
Presetting database can be the database software such as Microsoft Access, Microsoft SQL Server, My SQL.User
Television channel play behavior and refer to fall into the television channel from user start or be switched to the electricity from other television channels
Tv channel starts, and shuts down to user or is switched to other television channels from the television channel and terminates.Deposited in the presetting database
Contain the broadcasting record that television channel plays behavior.Playing record includes the starting broadcasting moment of television channel, terminates to play
At the moment, television channel name, play the information such as the device identification of the playback equipment of television channel.
It is determined that, it is necessary to be filtered out from presetting database in preset time period after channel to be monitored and preset time period
Inside played the device identification of the playback equipment of channel to be monitored.Wherein, filtered out from presetting database in preset time period
Inside playing the device identification of the playback equipment of channel to be monitored needs to follow following screening conditions:Target plays the title of object
Should be consistent with the title of channel to be monitored;The broadcasting moment that originates that target plays object should be not later than the knot of preset time period
The beam moment;The end broadcasting moment of target broadcasting object carves at the beginning of should being no earlier than preset time period.In presetting database
In, only meet that device identification corresponding to the broadcasting record of screening conditions just can be screened out.Preferably, will in the embodiment
Meet that the device identification of screening conditions carries out duplicate removal processing, avoid and the repetition that record is played corresponding to same device identification is transported
Calculate, improve operation efficiency.
Step S102, filtered out from presetting database and play record in preset time period corresponding to device identification.
It is previously stored with presetting database in preset time period and record is played corresponding to device identification.It is default obtaining
The device identification of the playback equipment of channel to be monitored is played in period afterwards, it is necessary to obtain the equipment mark from presetting database
Record is played corresponding to knowing.One can be corresponded in view of a device identification and plays record, can also be corresponded to a plurality of play and be remembered
Record, it is also required to when being obtained from presetting database and playing record corresponding to device identification in preset time period according to screening conditions
Screened.Wherein, the screening bar for playing record in preset time period corresponding to device identification is filtered out from presetting database
Part is:The device identification should be by playing point by screening in the preset time period obtained from database in step S101
Monitor the device identification of the playback equipment of channel;The starting broadcasting moment that target plays object should be not later than preset time period
Finish time;The end broadcasting moment of target broadcasting object carves at the beginning of should being no earlier than preset time period.
Preferably, the Web TV rating of the embodiment flows to monitoring method and preset time is filtered out from presetting database
Playing record in section corresponding to device identification includes:The broadcasting record stored in traversal presetting database;Judge presetting database
Middle storage broadcasting record in target play object title whether be channel to be monitored title;If in presetting database
The title that target in the broadcasting record of storage plays object is the title of channel to be monitored, judges what is stored in presetting database
Whether the device identification for playing the playback equipment that the broadcasting target in record plays object is that the broadcasting for playing channel to be monitored is set
Standby device identification;If the broadcasting target in the broadcasting record stored in presetting database plays setting for the playback equipment of object
Standby mark is the device identification for the playback equipment for playing channel to be monitored, during the broadcasting for judging to store in presetting database records
The starting of target broadcasting object plays the finish time for whether being later than preset time period at the moment;If stored in presetting database
The starting broadcasting moment for playing the broadcasting object of the target in record is not later than the finish time of preset time period, judges preset data
The end of target broadcasting object in the broadcasting record stored in storehouse is carved at the beginning of whether playing the moment earlier than preset time period;
If the end broadcasting moment that the target in the broadcasting record stored in presetting database plays object is no earlier than preset time period
At the beginning of carve, the broadcasting of the condition that meets record deposit is played in record data table, wherein, play record data table and be used to deposit
Storage plays record in preset time period corresponding to device identification.An equipment mark may be stored with the broadcasting record data table
It is one or more of corresponding to knowledge to play record, it is also possible to be stored with a plurality of play corresponding to multiple equipment mark and record.In order to
Quickly and easily obtained from broadcasting record data table and record, the net of the embodiment are all played corresponding to same device identification
Network television program receiving, which flows to monitoring method, to carry out ascending order or descending arrangement to playing record data table according to device identification, then
Starting reproduction time according to channel to be monitored carries out ascending order or descending arrangement.Can from the broadcasting record data table after sequence
Clearly to distinguish the number that record is played corresponding to a device identification.
Preferably, after the broadcasting for the condition that meets is recorded deposit play in record data table, the network of the embodiment
Television program receiving, which flows to monitoring method, also to be included:Traversal plays record data table;Rating index is distributed for device identification, wherein, receive
Corresponded depending on index and device identification;The original position of recording equipment mark, wherein, the original position of device identification is equipment
The position for being recorded in and playing in record data table is played corresponding to first character in the rating index of mark.Specifically, it is
Device identification distribution rating index includes:Travel through and record is played corresponding to device identification;Judge to play note corresponding to device identification
Target in record play object title whether be channel to be monitored title;If played corresponding to device identification in record
The title that target plays object is the title of channel to be monitored, and the first character is added in the rating index of device identification;If
The title that the target broadcasting object in record is played corresponding to device identification is not the title of channel to be monitored, in device identification
The second character is added in rating index.The first character in the embodiment can be " 1 ", and the second character can be " 0 ", then equipment
Rating corresponding to mark indexes the character string for " 1 " and " 0 " composition of serving as reasons.During traversal plays record data table, when running into
During new device identification, retain the rating index of a upper device identification, and increase a new rating index and setting currently
Standby mark corresponds.Meanwhile record first broadcasting corresponding to current device mark and be recorded in broadcasting record data table
The original position of position, i.e. device identification.Any character in being indexed for rating, the original position that can be indexed according to rating
Determine to play the position being recorded in playing record data table corresponding to the character with relative position of the character in rating index
Put.
Step S103, traversal play record, count the start number of the channel to be monitored in target time section, and shut down number,
Number is cut out, cuts number.
After preset time period is completed to device identification distribution rating index, the target in arbitrarily selected preset time period
Period is as the period being monitored to channel to be monitored.The target time section can be one grade of variety show it is complete when
Between section, the period or the complete period etc. of advertisement that star occurs.Determine that target time section is received to channel to be monitored
Depending on the monitoring of flow direction, the influence that TV programme flow to television channel rating can be more specifically analyzed so that channel to be monitored
Rating flow direction monitoring result it is more accurate.
Start number is the number of the first device identification, wherein, it is to broadcast that first, which plays record, corresponding to the first device identification
The record of channel to be monitored is put, i.e., newly first of start user plays the quantity for recording in channel to be monitored.Traversal plays
Record, count the start number of the channel to be monitored in target time section:Travel through the rating index of device identification;Obtain with first
The rating index that character starts;Broadcasting is recorded in it is determined that being played in the rating index started with the first character corresponding to the first character
Position in record data table;Moment and channel to be monitored are played according to the corresponding starting for playing record of the character of position acquisition first
End play the moment;Judge that the corresponding starting for playing record of the first character plays the moment whether in target time section;If
The corresponding starting for playing record of first character plays the moment in target time section, counts the rating started with the first character and indexes
Number.For example, the first character is " 1 ", the start number for counting the channel to be monitored in target time section is matched with character
The rating index of " 1 " beginning, and played according to corresponding to the original position of the device identification determines the character " 1 " and be recorded in broadcasting
Position in record data table, reproduction time is originated according to the position acquisition accordingly, terminates reproduction time, if starting plays
Time and end reproduction time are in target time section, then start number adds 1 accordingly.
Shutdown number is the number of the second device identification, wherein, the last item corresponding to the second device identification, which plays record, is
The record of channel to be monitored is played, i.e. user's the last item before shutdown plays the quantity for recording in target channel.Traversal
Record is played, counting the shutdown number of the channel to be monitored in target time section includes:Travel through the rating index of device identification;Obtain
Take the rating index with the first character ends;It is determined that remembered with being played corresponding to the first character in the rating index of the first character ends
Record the position in record data table is played;Moment is played according to the corresponding starting for playing record of the character of position acquisition first and treated
The end for monitoring channel plays the moment;Judge that whether the corresponding end for playing record of the first character plays the moment in target time section
It is interior;If the corresponding end for playing record of the first character plays the moment in target time section, count with the first character ends
The number of rating index.For example, the first character is " 1 ", the shutdown number of channel to be monitored in target time section is counted i.e.
The rating index of character " 1 " end is equipped with, and determines to play the position for being recorded in and playing in record data table corresponding to the character " 1 "
Put, reproduction time is originated according to the position acquisition accordingly, terminates reproduction time, if starting reproduction time and end play
Between in target time section, then accordingly shutdown number add 1.
Number is cut out as the number from channel switch to be monitored to other channels.Traversal plays record, counts in the object time
The number that cuts out of channel to be monitored in section includes:Travel through the rating index of device identification;Obtaining is included with the first character preceding, the
Two characters index in the rating of the first character string of rear composition;Determine to play to be recorded in corresponding to the second character in rating index to broadcast
Put the position in record data table;Moment and frequency to be monitored are played according to the corresponding starting for playing record of the character of position acquisition second
The end in road plays the moment;Judge that the corresponding starting for playing record of the second character plays the moment whether in target time section;Such as
The corresponding starting for playing record of the character of fruit second plays the moment in target time section, and statistics is included with the first character preceding, the
Number of two characters in the first character string of rear composition.For example, the first character is " 1 ", the second character is " 0 ".Statistics is in target
I.e. rating of the matching comprising character string " 10 " of number that cut out of channel to be monitored in period indexes, and determines that the character " 0 " is right
The broadcasting answered is recorded in the position played in record data table, originates reproduction time accordingly according to the position acquisition, terminates to broadcast
The time is put, if starting reproduction time and end reproduction time cut out number plus 1 accordingly in target time section.
It is from other channel switch to the number of channel to be monitored to cut number.Traversal plays record, counts in the object time
The incision number of channel to be monitored in section includes:Travel through the rating index of device identification;Obtaining is included with the second character preceding, the
One character indexes in the rating of the second character string of rear composition;Determine to play to be recorded in corresponding to the second character in rating index to broadcast
Put the position in record data table;Moment and frequency to be monitored are played according to the corresponding starting for playing record of the character of position acquisition second
The end in road plays the moment;Judge that the corresponding end for playing record of the second character plays the moment whether in target time section;Such as
The corresponding end for playing record of the character of fruit second plays the moment in target time section, and statistics is included with the second character preceding, the
Number of one character in the second character string of rear composition.For example, the first character is " 1 ", the second character is " 0 ".Statistics is in target
The incision number of channel to be monitored in period is to match the rating comprising character string " 01 " to index, and determines that the character " 0 " is right
The broadcasting answered is recorded in the position played in record data table, originates reproduction time accordingly according to the position acquisition, terminates to broadcast
The time is put, if starting reproduction time and end reproduction time, in target time section, corresponding number of cutting adds 1.
Illustrate:It is 09 in target time section:00-12:00, channel to be monitored is HNTV.Play record data
There are three device identifications, respectively first, second and third in table.Assuming that the rating index of first is " 1001101 ", the rating index of second is
" 0111001 ", third rating index is " 10010010 ".Then HNTV is 09:00-12:Start number in 00 is 2, shutdown
Number is 2, and it is 6 to cut out number, and incision number is 6.
The Web TV rating of the embodiment flows to monitoring method by way of pretreatment, to playing in record data table
Device identification distribution rating index so as to start shooting number, shut down number, cut out number, the statistics for cutting number is converted into character
Or the matching problem of character string, the matching problem of character or character string can utilize the modes such as regular expression realize efficiently
Ground matches, and saves substantial amounts of repetition and judges comparison operation, improves operation efficiency.
Step S104, the audient for calculating the channel to be monitored in target time section flow into number and audient's outflow number.
Audient flows into sum of the number for start number and incision number, and audient flows out number for shutdown number and cuts out several sums.Audient flows
Enter number and audient flows out audient's inflow and outflow situation that number objectively reflects the arbitrary target period in preset time period.Root
According to step S104's for example, can calculate audient flow into number be equal to 8, audient flow out number be equal to 8.
Record is played in traversal, counts the start number of the channel to be monitored in target time section, shut down number, cuts out number and cuts
After entering number, the Web TV rating of the embodiment, which flows to monitoring method, also to be included:Obtain from channel to be monitored cut out after frequency
The title of channel before the title and incision channel to be monitored in road;The title of channel after being cut out from channel to be monitored is deposited
Enter to cutting out in rear channel data table;The title of channel before being cut into channel to be monitored is deposited into channel data before cutting
In table.The monitoring of rating flow direction is carried out to channel to be monitored can obtain following monitoring result, including start number, and shut down number, cuts
Go out number, cut number, audient flows into number, and audient flows out number, cuts out channel data table before rear channel data table and incision.Preferably,
Identical television channel in channel data table before cutting out rear channel data table and cutting is counted, arranged after counting
Sequence.Wherein, cut out rear channel data table objectively reflect which television channel target time section Nei shunt effect it is most strong, cut
It is more attractive with respect to which television channel objectively to reflect channel to be monitored for channel data table before entering.Fig. 2 is Guangzhou news
In the data results interface schematic diagram on January 29th, 2014, wherein, preset time period is on January 29 00:00 to January 30
Day 00:00, target time section is the morning 10 January 29:00 to afternoon 18:00.Analysis result can be seen that in mesh from Fig. 2
The mark period is in 8 hours, and start number is 1367, and shutdown number is 2701, and it is 20194 to cut out number, and incision number is 21161.In Fig. 2
Right side, which is shown from Guangzhou television channel, flows into having 6126 times for the channel (Guangzhou news) to be monitored, and it is the first to occupy incision channel.From
The channel (Guangzhou news) to be monitored cuts out having 2757 times to Guangzhou video display, and residence cuts out channel first place.
Start shooting number, shut down number, cuts out number, cuts number, and audient flows into number, and audient flows out number, cut out rear channel data table and
In the market to the analytic angle being more short of in television program receiving statistical analysis during channel data table before incision, the embodiment
Web TV rating flows to monitoring method to number of starting shooting, and shut down number, cuts out number, cuts number, and audient flows into number, and audient flows out number,
Channel data table carries out statistical analysis before cutting out rear channel data table and incision, is advantageous to clearly grasp user in the object time
The competitive relation between channel to be monitored and other channels in section, has higher break-up value.
It is to be monitored using broadcasting in preset time period is obtained that the Web TV rating of the embodiment of the present invention flows to monitoring method
The device identification of the playback equipment of channel;Filtered out from presetting database and play note in preset time period corresponding to device identification
Record;Traversal plays record, counts the start number of the channel to be monitored in target time section, and shut down number, cuts out number, cuts number,
Wherein, target time section is the period being monitored in preset time period to channel to be monitored;Calculate in target time section
The audient of interior channel to be monitored flows into number and audient flows out number.Monitoring method is flowed to by the Web TV rating of the present invention, solved
Prior art of having determined can not analyze the problem of audient's inflow and outflow situation of television channel in a period of time.The Web TV rating
Flow to monitoring method to index by distributing rating for device identification, and record the original position of the device identification so as to start
Number, shut down number, cuts number and cuts out the matching problem that several statistics is converted to character string, and record is played relative to directly traversal
Tables of data obtains start number, shutdown number, cuts out number, cuts number, and audient flows into number, and audient flows out number, saves and is playing record
The substantial amounts of repetition carried out in tables of data judges to calculate, and improves operation efficiency.Meanwhile Web TV rating flow direction monitoring side
Method by start shooting number, shut down number, cut number and cut out several statistics can clearly grasp television channel rating flow to,
So as to obtain more accurate television program receiving monitoring result.
As can be seen from the above description, the Web TV rating of the embodiment of the present invention flows to monitoring method and solved
Prior art can not analyze the problem of audient's inflow and outflow situation of television channel in a period of time, so as to Web TV
The monitoring result of rating is more accurate.
It should be noted that can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of
Performed in computer system, although also, show logical order in flow charts, in some cases, can be with not
The order being same as herein performs shown or described step.
Embodiments of the invention additionally provide a kind of Web TV rating and flow to monitoring device.It should be noted that the net
Network television program receiving flow to monitoring device can be used for perform the embodiment of the present invention Web TV rating flow to monitoring method.
Fig. 3 is the schematic diagram for the first embodiment that the network according to the invention television program receiving flows to monitoring device.Such as Fig. 3 institutes
Show, the Web TV rating, which flows to monitoring device, to be included:Acquisition module 10, screening module 20, statistical module 30 and computing module
40。
Acquisition module 10, for obtaining the device identification for the playback equipment that channel to be monitored is played in preset time period.
Screening module 20, note is played in preset time period corresponding to device identification for being filtered out from presetting database
Record, wherein, it is previously stored with presetting database in preset time period and record is played corresponding to device identification.
Specifically, screening module 20 includes:First spider module, for traveling through the broadcasting stored in presetting database note
Record;First judge module, for the target in the broadcasting record that judges to store in presetting database play object title whether
It is the title of channel to be monitored;Second judge module, if the target in being recorded for the broadcasting stored in presetting database is broadcast
Be rivals in a contest elephant title be channel to be monitored title, the target in the broadcasting record for judging to store in presetting database plays object
Starting play whether the moment is later than finish time of preset time period;3rd judge module, if in presetting database
The starting of target broadcasting object in the broadcasting record of storage plays the finish time for being not later than preset time period at the moment, judges pre-
If stored in database broadcasting record in target play object end play the moment whether opening earlier than preset time period
Begin the moment;Memory module, if the end that the target in being recorded for the broadcasting stored in presetting database plays object plays
Moment is carved at the beginning of being no earlier than preset time period, and the broadcasting record deposit for the condition that meets is played in record data table, wherein,
Play record data table and be used to be stored in broadcasting record corresponding to device identification in preset time period.
Preferably, the Web TV rating flows to monitoring device and can also included:Second spider module, played for traveling through
Record data table;Distribute module, for distributing rating index for device identification, wherein, a pair of rating index and device identification 1
Should;Logging modle, for the original position of recording equipment mark, wherein, the original position of device identification is the receipts of device identification
The position played in record data table is recorded in depending on broadcasting corresponding to the first character in index.Wherein, distribute module can be with
Including:First traversal submodule, record is played for traveling through corresponding to device identification;First judging submodule, for judging to set
Played corresponding to standby mark the target in record play object title whether be channel to be monitored title;First addition submodule
Block, if the title that the target for being played corresponding to device identification in record plays object is the title of channel to be monitored,
The first character is added in the rating index of device identification;Second addition submodule, if for playing note corresponding to device identification
The title that target in record plays object is not the title of channel to be monitored, and the second word is added in the rating index of device identification
Symbol.
Statistical module 30, record is played for traveling through, counts the start number of the channel to be monitored in target time section, is closed
Machine number, number is cut out, cut number, wherein, target time section is the time being monitored in preset time period to channel to be monitored
Section, start number are the number of the first device identification, wherein, it is to play to wait to supervise that first, which plays record, corresponding to the first device identification
The record of measured channel, shutdown number are the number of the second device identification, wherein, the last item corresponding to the second device identification plays note
Record is to play the record of channel to be monitored, cuts out number as numbers from channel switch to be monitored to other channels, incision number be from
Number of other channel switch to channel to be monitored.
Specifically, statistical module 40 includes:Start statistical module, record is played for traveling through, is counted in target time section
The start number of interior channel to be monitored;Shut down statistical module, plays record for traveling through, counts and wait to supervise in target time section
The shutdown number of measured channel;Statistical module is cut out, record is played for traveling through, counts channel to be monitored in target time section
Cut out number;Statistical module is cut, record is played for traveling through, counts the incision number of the channel to be monitored in target time section.
Computing module 50, the audient for calculating the channel to be monitored in target time section flows into number and audient flows out number,
Wherein, audient flows into sum of the number for start number and incision number, and audient flows out number for shutdown number and cuts out several sums.
Specifically, computing module 50 can include audient's inflow number computing module, be treated for calculating in target time section
The audient for monitoring channel flows into number;Audient flow out number computing module, for calculate in target time section channel to be monitored by
Crowd's outflow number.
Preferably, the Web TV rating, which flows to monitoring device, can also include the first acquisition module, for obtaining from treating
Monitor the title of the channel after channel is cut out;Second acquisition module, for obtaining the name of the channel before cutting channel to be monitored
Claim;First memory module, cut out for the title of the channel after being cut out from channel to be monitored to be deposited into rear channel data table;
Second memory module, for the title of the channel before being cut into channel to be monitored to be deposited into before incision in channel data table.
The Web TV rating of the embodiment, which flows to monitoring device, includes acquisition module 10, screening module 20, statistical module
30 and computing module 40.One can not be analyzed by flowing to monitoring device by the Web TV rating of the embodiment and solving prior art
Section the time in television channel audient's inflow and outflow situation the problem of, save carried out in record data table is played it is substantial amounts of
Repeat judge calculate, improve operation efficiency, meanwhile, by start shooting number, shut down number, cut number and cut out several statistics can
Clearly to grasp the rating of television channel flow direction.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific
Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.