Summary of the invention
Main purpose of the present invention is to propose a kind of watching data collecting method and device, is intended to solve traditional intelligent lower technical problem of watching data collecting mode.
For achieving the above object, a kind of watching data collecting method provided by the invention, described watching data collecting method comprises the following steps:
When watching data collecting instruction being detected, gather viewing-data by the data acquisition application preset;
Determine whether terminal establishes a communications link with server; And
If described terminal and described server establish a communications link, then the described viewing-data gathered is sent to described server, for described server based on the described viewing-data statistics audience ratings received.
Preferably, described when watching data collecting instruction being detected, before gathering the step of viewing-data by the data acquisition application preset, described watching data collecting method comprises:
When receiving the questionnaire of described server feedback, show described questionnaire in the viewing area of presetting, the described questionnaire shown based on described viewing area for user inputs corresponding survey information;
The described questionnaire comprising survey information is sent to described server, for the installation kit of described server feedback data acquisition application;
The installation kit that the data acquisition of described server feedback is applied is carried out decompress(ion) and installs, and after successful installation, triggers watching data collecting instruction.
Preferably, described determine the step whether terminal establishes a communications link with server after, described watching data collecting method also comprises:
If described terminal and described server do not establish a communications link, then the described viewing-data of storage of collected;
When described terminal being detected and described server establishes a communications link, the described viewing-data stored is sent to described server, for described server based on the described viewing-data statistics audience ratings received.
Preferably, if described terminal and described server do not establish a communications link, then, after the step of the described viewing-data of storage of collected, described watching data collecting method also comprises:
When detecting that described terminal connects movable storage device, the described viewing-data stored is encrypted and sends to described movable storage device;
When detecting that described viewing-data sends successfully, delete the described viewing-data stored.
Preferably, if described terminal and described server do not establish a communications link, then while the described viewing-data of storage of collected, perform following steps:
When the viewing-data stored exceedes default data volume, the described viewing-data gathered is covered original viewing-data stored, to guarantee that new image data is saved.
In addition, for achieving the above object, the present invention also proposes a kind of watching data collecting device, and described watching data collecting device comprises:
Acquisition module, for when watching data collecting instruction being detected, gathers viewing-data by the data acquisition application preset;
Determination module, for determining whether terminal establishes a communications link with server;
Sending module, if establish a communications link for described terminal and described server, then sends to described server by the described viewing-data gathered, for described server based on the described viewing-data statistics audience ratings received.
Preferably, described watching data collecting device also comprises:
Display module, for when receiving the questionnaire of described server feedback, show described questionnaire in the viewing area of presetting, the described questionnaire shown based on described viewing area for user inputs corresponding survey information;
Described sending module, also for the described questionnaire comprising survey information is sent to described server, for the installation kit of described server feedback data acquisition application;
Processing module, carries out decompress(ion) for the installation kit data acquisition of described server feedback applied and installs, and after successful installation, triggering watching data collecting instruction.
Preferably, described watching data collecting device also comprises:
Memory module, if do not establish a communications link for described terminal and described server, then the described viewing-data of storage of collected;
Described sending module, also for when described terminal being detected and described server establishes a communications link, sends to described server by the described viewing-data stored, for described server based on the described viewing-data statistics audience ratings received.
Preferably, described watching data collecting device also comprises:
Encryption sending module, for when detecting that described terminal connects movable storage device, being encrypted the described viewing-data stored and sending to described movable storage device;
Removing module, for when detecting that described viewing-data sends successfully, deletes the described viewing-data stored.
Preferably, described watching data collecting device also comprises:
Replacement module, during for exceeding default data volume when the viewing-data stored, covers original viewing-data stored, to guarantee that new image data is saved by the described viewing-data gathered.
The watching data collecting method that the present invention proposes and device, when watching data collecting instruction being detected, data acquisition application first by presetting gathers viewing-data, then determine whether it currently establishes a communications link with server, if current and described server establishes a communications link, then the direct described viewing-data by collection sends to described server, for described server based on the described viewing-data statistics audience ratings received, instead of user will touch corresponding button on people meter when seeing TV at every turn, first viewing-data is gathered for people meter, again the viewing-data of collection is sent to server, the data acquisition application that this programme is preset by terminal directly gathers viewing-data, and in networking situation, the viewing-data of collection is directly sent to server, improve the intelligent of watching data collecting.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of watching data collecting method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are watching data collecting method first embodiment of the present invention.
The present embodiment proposes a kind of watching data collecting method, and described watching data collecting method comprises:
Step S10, when watching data collecting instruction being detected, gathers viewing-data by the data acquisition application preset;
In the present embodiment, gather viewing-data, terminal wants integrated data acquisition software and data acquisition application, namely before collection viewing-data, described terminal first judge current whether prestore data acquisition application, if prestore data acquisition application just trigger watching data collecting instruction, namely before described step S10, described watching data collecting method comprises:
Steps A, when receiving the questionnaire of described server feedback, show described questionnaire in the viewing area of presetting, the described questionnaire shown based on described viewing area for user inputs corresponding survey information;
In the present embodiment, server is when detecting that described terminal starts, first determine whether described terminal is model machine machine, described server determines that whether described terminal is that the mode of model machine machine is preferably: server obtains the identification information of terminal, as the MAC (MediaAccessControl of terminal, physical address or claim hardware address) sequence number of address or terminal, then the described identification information got and all identification informations prestored are compared, to determine that whether described terminal is for sample machine, and be not sample machine and when never accepting questionnaire in described terminal, namely do not exist to be designated with the identification information and investigating of prestoring of described identification information match do not investigate time, described server investigation questionnaire gives described terminal.Be understandable that, when described terminal becomes sample machine, described server can store the identification information of described terminal.
Step B, sends to described server by the described questionnaire comprising survey information, for the installation kit of described server feedback data acquisition application;
In the present embodiment, when described terminal receives the described questionnaire of described server feedback, described questionnaire is shown in the viewing area of presetting, whether described questionnaire can comprise is ready to accept investigation, subscriber household situation (comprises member role, age, occupation, schooling, family income, residence, working condition, use language, telephone number etc.), urgent broadcast, movie news are pointed out, video display scoring etc., for the described questionnaire input survey information that user shows based on described viewing area, further, described questionnaire can be the form display of multiple-choice question, corresponding survey information is selected based on the described questionnaire of display for user.When user is ready to accept investigation, then described terminal receives at described display interface the survey information that user inputs based on described questionnaire, and after survey information has inputted, the questionnaire comprising survey information is sent to described server by described terminal, now, described server is according to the installation kit of investigation result feedback data acquisition applications, and the described questionnaire comprising survey information is stored in database, concrete, if user selects to be unwilling to accept investigation, then server will not send the installation kit of data acquisition application to this terminal; If user selects to be ready to accept investigation, then server sends the installation kit of data acquisition application to this terminal.Meanwhile, terminal described in described server update is sample machine mark, and renewal surveying mark.Further, when user is unwilling to accept investigation, the X button that described questionnaire is preset can be clicked, described terminal sends information to described server according to the described questionnaire that user closes, now, the mark of described server also renewable described terminal, and described terminal is classified as non-sample machine.
Step C, carries out decompress(ion) by the installation kit that the data acquisition of described server feedback is applied and installs, and after successful installation, triggering watching data collecting instruction.
In the present embodiment, described installation kit, when receiving the data acquisition application installation kit of described server feedback, is carried out decompress(ion) and installs by described terminal, finally, triggers watching data collecting instruction after successful installation.Terminal in the present embodiment preferably includes the video terminal such as television set or Set Top Box.
Step S20, determines whether terminal establishes a communications link with server;
In the present embodiment, after described terminal collects described viewing-data by data acquisition application, determine whether it currently establishes a communications link with server, described terminal communicates with server preferably by socket, namely described terminal first carries out initialization, and initiate connection request to server, because terminal sends connection request at interval of Preset Time fragment, therefore described server is in the pattern of real-time listening terminal behavior after completing initialization always, and after the connection request of terminal being detected, set up the communication connection with described terminal.
Step S30, if described terminal and described server establish a communications link, then sends to described server by the described viewing-data gathered, for described server based on the described viewing-data statistics audience ratings received.
In the present embodiment, if described terminal and described server establish a communications link, then the described viewing-data gathered directly can be sent to described server by described terminal, the described viewing-data gathered sends to the execution mode of described server to be preferably by described terminal: when terminal starts at every turn, first send log-on message to service end, after this gather a viewing-data every the first preset time period as during 10 seconds or each buttons, then send the viewing-data of heartbeat and collection every the second preset time period to service end as 60 seconds.The viewing-data gathered comprises video information (programme televised live, internet program, USB video etc.), ownship information (terminal type, available machine time, current information source, startup channel etc.), menu information (navigation bar, main menu, channel list, key information etc.) and out of Memory (advertising message, game information etc.) etc.Meanwhile, send standby information during terminal standby to described server, when described service end receives standby information or do not receive heartbeat in continuous 300 seconds, acquiescence terminal is shut down.
Described server is after receiving described viewing-data, first the described viewing-data received is stored in database, and then count Homes Using TV, average viewing time, rating curve, rating share, rating seniority among brothers and sisters version etc. according to described viewing-data, wherein rating seniority among brothers and sisters version comprises live TOP10, network TOP10, amusement TOP10, physical culture TOP10, video display TOP10, news TOP10 etc., above-mentioned statistics is fed back to described terminal, for user selects high-quality program to provide reference according to user's request.
The watching data collecting method that the present embodiment proposes, when watching data collecting instruction being detected, data acquisition application first by presetting gathers viewing-data, then determine whether it currently establishes a communications link with server, if current and described server establishes a communications link, then the direct described viewing-data by collection sends to described server, for described server based on the described viewing-data statistics audience ratings received, instead of user will touch corresponding button on people meter when seeing TV at every turn, first viewing-data is gathered for people meter, again the viewing-data of collection is sent to server, the data acquisition application that this programme is preset by terminal directly gathers viewing-data, and in networking situation, the viewing-data of collection is directly sent to server, improve the intelligent of watching data collecting.
Further, in order to improve the flexibility of watching data collecting, propose the second embodiment of watching data collecting method of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 2, after described step S20, described watching data collecting method also comprises:
Step S40, if described terminal and described server do not establish a communications link, then the described viewing-data of storage of collected;
Step S50, when described terminal being detected and described server establishes a communications link, sends to described server by the described viewing-data stored, for described server based on the described viewing-data statistics audience ratings received.
In the present embodiment, if described terminal and described server do not establish a communications link, now, the described viewing-data gathered is stored in default memory by described terminal, and as in internal memory, flash memory or buffer memory, the present embodiment is preferably stored in flash memory; Then, when described terminal being detected and described server establishes a communications link, directly the described viewing-data stored being sent to described server, being namely directly sent to described server when network is unimpeded.
Further, described step S40 simultaneously, performs following steps:
When the viewing-data stored exceedes default data volume, the described viewing-data gathered is covered original viewing-data stored, to guarantee that new image data is saved.
In the present embodiment, described terminal has certain data storage capacities, when the viewing-data stored exceedes default capability value as 1M (memory span specifically preset according to terminal determines), the described viewing-data gathered is replaced original viewing-data stored, to guarantee that new image data is saved.
Further, in order to improve the flexibility of watching data collecting, propose the 3rd embodiment of watching data collecting method of the present invention based on the second embodiment, in the present embodiment, with reference to Fig. 3, after described step S40, described watching data collecting method also comprises:
Step S60, when detecting that described terminal connects movable storage device, being encrypted the described viewing-data stored and sending to described movable storage device;
Step S70, when detecting that described viewing-data sends successfully, deletes the described viewing-data stored.
In the present embodiment, if terminal is not connecting with described server for a long time, such as some terminal does not have network-connectivity (unidirectional terminal) or is in without under network state, now, if detect, described terminal connects movable storage device, described memory device can be USB device as USB flash disk, now, preferably the described viewing-data stored is encrypted, then terminal demonstration user interface, derive the viewing-data of described terminal encryption according to the instruction of described user interface for user, namely the viewing-data after described encryption is sent in described movable storage device, and when the viewing-data of described encryption is imported server by described movable storage device, the encryption viewing-data that movable storage device imports first is decrypted by server, and be stored in database after successful decryption.Be understandable that, described user interface is hidden in described terminal, only just shows when connecting memory device.In the present embodiment when detecting that described viewing-data sends successfully, in order to reduce taking of memory space in terminal, delete the described viewing-data stored.
The present invention further provides a kind of watching data collecting device.
With reference to the high-level schematic functional block diagram that Fig. 4, Fig. 4 are watching data collecting device first embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 4 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the watching data collecting device shown in Fig. 4, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function block understanding this watching data collecting device, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
The present embodiment proposes a kind of watching data collecting device, and described watching data collecting device comprises:
Acquisition module 10, for when watching data collecting instruction being detected, gathers viewing-data by the data acquisition application preset;
Determination module 20, for determining whether terminal establishes a communications link with server;
Sending module 30, if establish a communications link for described terminal and described server, then sends to described server by the described viewing-data gathered, for described server based on the described viewing-data statistics audience ratings received.
In the present embodiment, described acquisition module 10 will gather viewing-data, want first integrated data acquisition software and data acquisition application, namely before described acquisition module 10 gathers viewing-data, first judge current whether prestore data acquisition application, if prestore data acquisition application just trigger watching data collecting instruction, namely described watching data collecting device also comprises:
Display module, for when receiving the questionnaire of described server feedback, show described questionnaire in the viewing area of presetting, the described questionnaire shown based on described viewing area for user inputs corresponding survey information;
In the present embodiment, server is when detecting that described terminal starts, first determine whether described terminal is model machine machine, described server determines that whether described terminal is that the mode of model machine machine is preferably: server obtains the identification information of terminal, as the MAC (MediaAccessControl of terminal, physical address or claim hardware address) sequence number of address or terminal, then the described identification information got and all identification informations prestored are compared, to determine that whether described terminal is for sample machine, and be not sample machine and when never accepting questionnaire in described terminal, namely do not exist to be designated with the identification information and investigating of prestoring of described identification information match do not investigate time, described server investigation questionnaire gives described terminal.Be understandable that, when described terminal becomes sample machine, described server can store the identification information of described terminal.
Described sending module 30, also for the described questionnaire comprising survey information is sent to described server, for the installation kit of described server feedback data acquisition application;
In the present embodiment, when described display module receives the described questionnaire of described server feedback, described questionnaire is shown in the viewing area of presetting, whether described questionnaire can comprise is ready to accept investigation, subscriber household situation (comprises member role, age, occupation, schooling, family income, residence, working condition, use language, telephone number etc.), urgent broadcast, movie news are pointed out, video display scoring etc., for the described questionnaire input survey information that user shows based on described viewing area, further, described questionnaire can be the form display of multiple-choice question, corresponding survey information is selected based on the described questionnaire of display for user.When user is ready to accept investigation, then described display module receives at described display interface the survey information that user inputs based on described questionnaire, and after survey information has inputted, the questionnaire comprising survey information is sent to described server by described sending module 30, now, described server is according to the installation kit of investigation result feedback data acquisition applications, and the described questionnaire comprising survey information is stored in database, concrete, if user selects to be unwilling to accept investigation, then server will not send the installation kit of data acquisition application to this terminal, if user selects to be ready to accept investigation, then server sends the installation kit of data acquisition application to this terminal.Meanwhile, terminal described in described server update is sample machine mark, and renewal surveying mark.Further, when user is unwilling to accept investigation, the X button that described questionnaire is preset can be clicked, described sending module 30 sends information to described server according to the described questionnaire that user closes, now, the mark of described server also renewable described terminal, and described terminal is classified as non-sample machine.
Processing module, carries out decompress(ion) for the installation kit data acquisition of described server feedback applied and installs, and after successful installation, triggering watching data collecting instruction.
In the present embodiment, described installation kit, when receiving the data acquisition application installation kit of described server feedback, is carried out decompress(ion) and installs by described processing module, finally, triggers watching data collecting instruction after successful installation.
Particularly, determination module 20, for determining whether terminal establishes a communications link with server;
In the present embodiment, after described determination module 20 collects described viewing-data by data acquisition application, determine whether it currently establishes a communications link with server, described terminal communicates with server preferably by socket, namely described terminal first carries out initialization, and described sending module 30 initiates connection request to server, because terminal sends connection request at interval of Preset Time fragment, therefore described server is in the pattern of real-time listening terminal behavior after completing initialization always, and after the connection request of terminal being detected, set up the communication connection with described terminal.
Sending module 30, if establish a communications link for described terminal and described server, then sends to described server by the described viewing-data gathered, for described server based on the described viewing-data statistics audience ratings received.
In the present embodiment, if described terminal and described server establish a communications link, then the described viewing-data gathered directly can be sent to described server by described sending module 30, the described viewing-data gathered sends to the execution mode of described server to be preferably by described sending module 30: when terminal starts at every turn, described sending module 30 first sends log-on message to service end, after this viewing-data is gathered every the first preset time period as when 10 seconds or each button, then the viewing-data of heartbeat and collection is sent every the second preset time period to service end as 60 seconds.The viewing-data gathered comprises video information (programme televised live, internet program, USB video etc.), ownship information (terminal type, available machine time, current information source, startup channel etc.), menu information (navigation bar, main menu, channel list, key information etc.) and out of Memory (advertising message, game information etc.) etc.Meanwhile, during terminal standby, described sending module 30 sends standby information to described server, and when described service end receives standby information or do not receive heartbeat in continuous 300 seconds, acquiescence terminal is shut down.
Described server is after receiving described viewing-data, first the described viewing-data received is stored in database, and then count Homes Using TV, average viewing time, rating curve, rating share, rating seniority among brothers and sisters version etc. according to described viewing-data, wherein rating seniority among brothers and sisters version comprises live TOP10, network TOP10, amusement TOP10, physical culture TOP10, video display TOP10, news TOP10 etc., above-mentioned statistics is fed back to described terminal, for user selects high-quality program to provide reference according to user's request.
The watching data collecting device that the present embodiment proposes, when watching data collecting instruction being detected, data acquisition application first by presetting gathers viewing-data, then determine whether it currently establishes a communications link with server, if current and described server establishes a communications link, then the direct described viewing-data by collection sends to described server, for described server based on the described viewing-data statistics audience ratings received, instead of user will touch corresponding button on people meter when seeing TV at every turn, first viewing-data is gathered for people meter, again the viewing-data of collection is sent to server, the data acquisition application that this programme is preset by terminal directly gathers viewing-data, and in networking situation, the viewing-data of collection is directly sent to server, improve the intelligent of watching data collecting.
Further, in order to improve the flexibility of watching data collecting, propose the second embodiment of watching data collecting device of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 5, described watching data collecting device also comprises:
Memory module 40, if do not establish a communications link for described terminal and described server, then the described viewing-data of storage of collected;
Described sending module 30, also for when described terminal being detected and described server establishes a communications link, sends to described server by the described viewing-data stored, for described server based on the described viewing-data statistics audience ratings received.
In the present embodiment, if described terminal and described server do not establish a communications link, now, the described viewing-data gathered is stored in default memory by described memory module 40, and as in internal memory, flash memory or buffer memory, the present embodiment is preferably stored in flash memory; Then, when described terminal being detected and described server establishes a communications link, the described viewing-data stored directly is sent to described server by described sending module 30, is namely directly sent to described server when network is unimpeded.
Further, described watching data collecting device also comprises:
Replacement module, during for exceeding default data volume when the viewing-data stored, covers original viewing-data stored, to guarantee that new image data is saved by the described viewing-data gathered.
In the present embodiment, described memory module 40 has certain data storage capacities, when the viewing-data that described memory module 40 stores exceedes default capability value as 1M (memory span specifically preset according to terminal determines), the described viewing-data gathered is replaced original viewing-data stored, to guarantee that new image data is saved by described replacement module.
Further, in order to improve the flexibility of watching data collecting, propose the 3rd embodiment of watching data collecting device of the present invention based on the second embodiment, in the present embodiment, with reference to Fig. 6, described watching data collecting device also comprises:
Encryption sending module 50, for when detecting that described terminal connects movable storage device, being encrypted the described viewing-data stored and sending to described movable storage device;
Removing module 60, for when detecting that described viewing-data sends successfully, deletes the described viewing-data stored.
In the present embodiment, if terminal is not connecting with described server for a long time, such as some terminal does not have network-connectivity (unidirectional terminal) or is in without under network state, now, if detect, described terminal connects movable storage device, described memory device can be USB device as USB flash disk, now, the described viewing-data stored is encrypted by preferred described encryption sending module 50, then described display module display user interface, derive the viewing-data of described terminal encryption according to the instruction of described user interface for user, namely the viewing-data after described encryption sends in described movable storage device by described encryption sending module 50, and when the viewing-data of described encryption is imported server by described movable storage device, the encryption viewing-data that movable storage device imports first is decrypted by server, and be stored in database after successful decryption.Be understandable that, described user interface is hidden in described terminal, only just shows when connecting memory device.In the present embodiment when detecting that described viewing-data sends successfully, in order to reduce taking of memory space in terminal, described removing module 60 deletes the described viewing-data stored.
It should be noted that, in this article, term " comprises ", " comprising " or its other variant any are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key element clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.