CN108063957A - A kind of statistical method and device of network television user state - Google Patents
A kind of statistical method and device of network television user state Download PDFInfo
- Publication number
- CN108063957A CN108063957A CN201610983647.XA CN201610983647A CN108063957A CN 108063957 A CN108063957 A CN 108063957A CN 201610983647 A CN201610983647 A CN 201610983647A CN 108063957 A CN108063957 A CN 108063957A
- Authority
- CN
- China
- Prior art keywords
- user
- data
- user status
- status data
- counted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25883—Management of end-user data being end-user demographical data, e.g. age, family status or address
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/4508—Management of client data or end-user data
- H04N21/4532—Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention discloses a kind of statistical methods and device of network television user state, it is related to Internet technical field, main purpose goes out the User Status aggregate-value by the end of specified time in the data value by continuously recording User Status in the different time intervals cycle in a tables of data with express statistic.The main technical solution of the present invention is:The specified time of counting user status data is obtained, obtains ending to the timing statistics section of the specified time;The corresponding User Status data of the timing statistics section are searched in duplicate removal user's statistical form, each duplicate removal user has recorded corresponding User Status data in each data update cycle in the duplicate removal user statistical form;Determine that corresponding user is user to be counted according to the User Status data;Add up the user to be counted in the duplicate removal user statistical form, obtain by the end of the specified time and meet the number of users of User Status to be counted.Present invention is mainly used for the User Status counted by the end of set period.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of statistical methods and dress of network television user state
It puts.
Background technology
IPTV, that is, Interactive Internet TV is a kind of using broadband cable net, collects internet, multimedia, communication etc.
Multiple technologies are in one, to the brand-new technology of a variety of interactive services of domestic consumer's offer including DTV.It is international
On be to the definition of IPTV controllably can pipe safe transmission and with QoS certifications wired or wireless IP network, provide including video,
Audio (including voice), text, the multimedia service including the business such as figure and data.Wherein receiving terminal includes television set,
Pad, mobile phone, mobile TV and other similar to terminal.China for the definition of IPTV be by controllably can pipe safety QoS transmit
The terminal based on wired IP networks be television set multimedia service.
With the development and popularization of IPTV technologies, number of users is also increasing substantially, and the data corresponding to user are also in
Existing geometry number increases, this forms huge challenge for the data statistics of IPTV system with analysis work.Particularly to user's shape
The accumulative achievement data of state installs such as accumulative, adds up to tear machine, accumulative arrearage open, since accumulative index is all based on the previous day
Aggregate-value adds up, if mistake occurs in the aggregate-value that so may result in pervious some day, subsequent aggregate-value is all
It can malfunction.Also, data values of these accumulative indexs are all numerical value of the statistics to current point in time, and can not count by the end of
The User Status aggregate-value of scheduled date.
The content of the invention
In view of this, the present invention provides a kind of statistical method and device of network television user state, and main purpose is
By continuously recording the data value of User Status in the different time intervals cycle in a tables of data, cut-off is gone out with express statistic
To the User Status aggregate-value of specified time.
In order to achieve the above objectives, present invention generally provides following technical solutions:
On the one hand, the present invention provides a kind of statistical method of network television user state, this method includes:
The specified time of counting user status data is obtained, obtains ending to the timing statistics section of the specified time;
The corresponding User Status data of the timing statistics section, the duplicate removal user system are searched in duplicate removal user's statistical form
Each duplicate removal user has recorded corresponding User Status data in each data update cycle in meter table;
Determine that corresponding user is user to be counted according to the User Status data;
Add up the user to be counted in the duplicate removal user statistical form, obtain by the end of the specified time and meet and wait to unite
Count the number of users of User Status.
Preferably, before the corresponding User Status data of the timing statistics section are searched in duplicate removal user's statistical form, institute
The method of stating further includes:
Duplicate removal user's statistical form is created, being included at least in the duplicate removal user statistical form has user identity information and user
Status data;
Use corresponding in the duplicate removal user statistical form continuously recording each user identifier according to the data update cycle
Family status data, wherein, each User Status data markers have corresponding time sequencing to identify, the time sequencing mark and number
It is corresponding according to the update cycle.
Preferably, it is right that each user identifier institute is continuously recorded in the duplicate removal user statistical form according to the data update cycle
The User Status data answered include:
When the data update cycle memory is in User Status data, the User Status data are directly recorded in institute
It states in duplicate removal user's statistical form;
When User Status data are not present in the data update cycle, using occupy-place data as the User Status
Data are recorded in the duplicate removal user statistical form.
Preferably, it is described to determine that corresponding user includes for user to be counted according to the User Status data:
Judge the User Status data value whether be the User Status to be counted data value;
If so, the corresponding user of the User Status data is determined as user to be counted;
If it is not, then determine whether the corresponding user of the User Status data is user to be counted according to presetting rule.
Preferably, it is described to determine whether the corresponding user of the User Status data is user to be counted according to presetting rule
Including:
Judge whether the User Status data are the occupy-place data;
If so, whether the data value of a non-occupy-place data nearest before inquiring about the specified time is described to wait to unite
Count the data value of User Status.
If it is not, then the corresponding user of the User Status data is excluded outside user to be counted.
Preferably, whether the data value of a non-occupy-place data nearest before the inquiry specified time is described
The data value of User Status to be counted includes:
When the data value of the non-occupy-place data is the data value of the User Status to be counted, by the non-occupy-place number
It is determined as user to be counted according to corresponding user;
When the data value of the non-occupy-place data is not the data value of the User Status to be counted, by the non-occupy-place
The corresponding user of data is excluded outside user to be counted.
On the other hand, the present invention also provides a kind of statistic device of network television user state, which includes:
Acquiring unit for obtaining the specified time of counting user status data, obtains ending to the specified time
Timing statistics section;
Searching unit corresponds to for searching the timing statistics section acquired in the acquiring unit in duplicate removal user's statistical form
User Status data, each duplicate removal user has recorded correspondence in each data update cycle in the duplicate removal user statistical form
User Status data;
Determination unit, the User Status data for being searched according to the searching unit determine that corresponding user is to be counted
User;
Statistic unit determines the user to be counted in duplicate removal user's statistical form for adding up the determination unit, obtains
By the end of the specified time and meet the number of users of User Status to be counted.
Preferably, described device further includes:
Creating unit, it is corresponding for searching the timing statistics section in duplicate removal user's statistical form in the searching unit
Before User Status data, duplicate removal user's statistical form is created, being included at least in the duplicate removal user statistical form has user identifier letter
Breath and User Status data;
Recording unit, for continuous in duplicate removal user's statistical form for being established according to the data update cycle in the creating unit
The User Status data corresponding to each user identifier are recorded, wherein, each User Status data markers have the corresponding time suitable
Sequence identifies, and the time sequencing mark is corresponding with the data update cycle.
Preferably, the recording unit is additionally operable to:
When the data update cycle memory is in User Status data, the User Status data are directly recorded in institute
It states in duplicate removal user's statistical form;
When User Status data are not present in the data update cycle, using occupy-place data as the User Status
Data are recorded in the duplicate removal user statistical form.
Preferably, the determination unit includes:
Judgment module, for judge the value of the User Status data whether be the User Status to be counted data
Value;
First determining module, for working as the data value that the value of the User Status data is the User Status to be counted
When, the corresponding user of the User Status data is determined as user to be counted;
Second determining module, for working as the data value that the value of the User Status data is not the User Status to be counted
When, determine whether the corresponding user of the User Status data is user to be counted according to presetting rule.
Preferably, second determining module includes:
Judging submodule, for judging whether the User Status data are the occupy-place data;
Submodule is inquired about, for when the judging submodule judges the User Status data for the occupy-place data,
Before inquiring about the specified time data value of nearest one non-occupy-place data whether be the User Status to be counted number
According to value;
Determination sub-module judges the User Status data not for the occupy-place data for working as the judging submodule
When, the corresponding user of the User Status data is excluded outside user to be counted.
Preferably, the inquiry submodule is additionally operable to:
When the data value of the non-occupy-place data is the data value of the User Status to be counted, by the non-occupy-place number
It is determined as user to be counted according to corresponding user;
When the data value of the non-occupy-place data is not the data value of the User Status to be counted, by the non-occupy-place
The corresponding user of data is excluded outside user to be counted.
The statistical method and device of a kind of network television user state proposed according to the invention described above, by by difference
The User Status data of user are used according to order being recorded in duplicate removal user's statistical form one by one in data update cycle in statistics
Family is when the User Status of specified time, it is only necessary to the user of the specified time is corresponded to from duplicate removal user statistics table search
Status data, and working as user, is judged with reference to the User Status aggregation of data before the specified time according to the user's status data
Whether preceding state meets statistical rules, finally adds up to reuse the user for meeting statistical rules in the statistical form of family, obtains required user
The statistics of state.Compared with the data statistics mode of existing User Status, the present invention is by the way that User Status data are united
One is recorded in duplicate removal user's statistical form, and by the corresponding data update cycle phase pair of the User Status data of record
Should, so as to facilitate the inquiry and acquisition to data, improve data statistics efficiency.Further, since the User Status recorded
Data are, and the aggregate-values of non-data corresponding with the data update cycle, therefore, have been also convenient for repairing individual data value
It orders, change so that without modifying to substantial amounts of data in statistic processes, simplify data statistics flow.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the statistical method for network television user state that the embodiment of the present invention proposes;
Fig. 2 shows the flow chart of the statistical method for another network television user state that the embodiment of the present invention proposes;
Fig. 3 shows a kind of statistic device composition frame chart for network television user state that the embodiment of the present invention proposes;
Fig. 4 shows the statistic device composition frame chart for another network television user state that the embodiment of the present invention proposes.
Specific embodiment
Exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to be best understood from the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of statistical method of network television user state, as shown in Figure 1, this method application
In counting the data statistics in IPTV system to User Status, particularly express statistic is by the end of the User Status number of specified time
According to providing step in detail below to this embodiment of the present invention:
101st, the specified time of counting user status data is obtained.
Wherein, specified time is user's set time according to actual needs by counting user status data, this refers to
The time point fixed time usually between the initial time and current time of record User Status data.And this specify when
Between time granularity should be greater than time granularity equal to the data update cycle, for example, the data update cycle is day, then specified
Time can specific to the date of some day, and cannot be specific to hour or minute date.
It is usually to provide a user time option by front-end interface by system to obtain the specified time, is set by user
It puts, and then, the initial time of User Status data by one optional section of the time set of options, that is, can also be recorded with working as
The section of preceding time, to prompt user that can only specify the specific time that can just obtain corresponding statistics within the period.
According to acquired specified time, it is possible to determine the timing statistics section of counting user status data, the statistics
Period is the period by the end of the specified time from initial time, wherein, initial time is start recording User Status number
According to time point.
102nd, the corresponding User Status data of timing statistics section are searched in duplicate removal user's statistical form.
Wherein, duplicate removal user statistical form is to record each user generated use in the different data update cycle respectively
Family status data.Duplicate removal user represents that the user recorded in the table is handled by duplicate removal, that is, identical user production
Raw User Status data will be recorded in the same row or column in table.In addition, recorded in duplicate removal user's statistical form
User Status data are the consecutive entries according to the data update cycle, that is to say, that once user generates some user
It after status data, will be recorded in duplicate removal user's statistical form, and be required in each data update cycle afterwards
The User Status data for corresponding to the current data update cycle are recorded for the user, and when the user is in a data update
When any User Status data are not generated in the cycle, system will add one in duplicate removal user's statistical form for the user automatically
A occupy-place data, for replacing the user in the User Status data corresponding to the current data update cycle.It is pointed out that
User Status data are the data generated when the current state of user changes, since the frequency that User Status changes will not
It is too high, therefore be that will not generate user's shape in the big multicycle when to continuous data update periodic recording User Status data
State data, in this regard, just needing to add in corresponding occupy-place data within the data update cycle, to represent the user within the cycle
State does not change.
In lookup specified time corresponding User Status data, it is only necessary to the specified time according to acquired in step 101,
By the User Status data recorded in duplicate removal user's statistical form be with the sequence identification in data update cycle to corresponding, because
This, the sequence identification that specified time is converted to the data update cycle is assured that each user record User Status data
Specific location, so as to be quickly found the User Status data of corresponding specified time in duplicate removal user's statistical form.
103rd, determine that corresponding user is user to be counted according to the User Status data of lookup.
This step is to judge at the appointed time whether corresponding User Status meets the User Status to be counted, this its
Middle needs are specifically calculated according to certain statistical rules, for example, the use of normal use when being off to time A of statistics
Amount is exactly to be mounted with IPTV and without unloading, the user of normal use for the data statistics of IPTV, at this moment needs to unite
Meter be in the corresponding User Status of time A whether be normal condition or installation condition, and be then not counted in for the user of unloading
In statistics, at this point, a large number of users in duplicate removal user's statistical form may be occupy-place number corresponding to the status data of time A
According to, this just needs the User Status represented by the non-occupy-place data of inquiry time of closest approach A forward one by one, according to the state come
Determine whether the user being included in user to be counted.
104th, add up the user to be counted in duplicate removal user's statistical form, obtain by the end of specified time and meet use to be counted
The number of users of family state.
According to the judging result of step 103, the user met is added up and has just obtained treating by the end of specified time and meeting
The number of users of counting user state.
It can be seen that the statistics of network television user state used by the embodiment of the present invention with reference to above-mentioned realization method
Method, by by the User Status data of different user according to the data update cycle order one by one be recorded in duplicate removal user unite
It counts in table, in User Status of the counting user by the end of specified time, it is only necessary to count table search from duplicate removal user and correspond to
The User Status data of the specified time, and according to the user's status data with reference to the User Status data before the specified time
Whether the current state of comprehensive descision user meets statistical rules, finally adds up to reuse the use for meeting statistical rules in the statistical form of family
Family obtains the statistics of required User Status.Compared with the data statistics mode of existing User Status, the embodiment of the present invention
It is corresponded to by the way that User Status data are uniformly recorded in duplicate removal user's statistical form, and by the User Status data of record
The data update cycle it is corresponding, so as to facilitate the inquiry and acquisition to data, improve data statistics efficiency.In addition, by
It is, and the aggregate-value of non-data corresponding with the data update cycle in the User Status data recorded, therefore, is also convenient for
Revision, change to individual data value so that without modify to substantial amounts of data in statistic processes, simplify data
Statistical flowsheet.
A kind of realization of the statistical method of network television user state proposed in the above embodiments will be based on to going
The recording mode of User Status data in the statistical form of family is reused, that is, user is recorded respectively in this week with the new cycle according to data
User Status data in phase carry out specifically below for the recording mode of User Status data in duplicate removal user's statistical form
It is bright:
The duplicate removal user's statistical form created is the form for duplicate removal user record User Status data, therefore, the table
In data item include at least user identity information and User Status data, wherein, the identification information of user is for distinguishing it
The information of his user, the user's identification information is unique identification information for user in duplicate removal user's statistical form, specifically
Form it is as shown in table 1 below:
Table 1:Duplicate removal user's statistical form
User | User Status data |
A | 1xxx2 |
B | xxx1x |
C | x12x1 |
Wherein, the value of digital representation User Status, such as 1 expression user installation state, 2 represent user's unloaded states, no
Same numerical value can correspond to different User Status, and letter x represents occupy-place data, in addition, remembering in User Status field
The User Status data value that the character string of record is recorded by continuous data with the new cycle, each bit digital or word in the character string
Mother all represent some data in the new cycle corresponding User Status data value.And each data in the character string are all
Corresponding time sequencing mark is marked with, which identifies to represent the order in data update cycle, such as in table 1
In, the User Status data of user A are " 1xxx2 ", wherein the period 1 can be marked in number 1, it can order mark on 3 letter x
Note second can mark the period 5, it is seen that the table has had recorded the use of five data update cycles to the period 4 in number 2
Corresponding User Status data order after data afterwards are with new end cycle, can be added to the word by family status data
In symbol string, and mark corresponding time sequencing mark.
Further, duplicate removal user's statistical form based on above-mentioned establishment, a kind of Web TV proposed to the invention of this hair are used
The statistical method of family state determines that user treats the mode of counting user and carries out especially by the status data in the tables of data
Be described in detail, it is specific as shown in Fig. 2, including:
201st, judge User Status data value whether be User Status to be counted data value.
With reference to duplicate removal user's statistical form shown in above-mentioned table 1, the setting period 4 that is off to be counted has installed
The accumulative number of users of user, wherein, number 1 is installation condition in the table, and number 2 is unloaded state, and alphabetical x is occupy-place data.
According to the above-mentioned time specified, period 4 corresponding User Status data are inquired about in table 1, result is user
A is x, B 1, C x, and since what is counted is the accumulative number of users of having installed user, therefore, it is necessary to judge the user on this
Whether status data is 1, if so, step 204 is performed, if it is not, then performing step 202.
202nd, judge whether the user's status data is occupy-place data.
This step is when the value of User Status data is not the data value of User Status to be counted, and progress is further sentenced
It is disconnected, it is evident that user A and C will carry out the judgement of this step, according to judgement, to the user that User Status data are occupy-place data
Step 203 is performed, and step 205 is then performed for the user of User Status data not occupy-place data.
203rd, whether the data value of a nearest non-occupy-place data is User Status to be counted before inquiring about specified time
Data value.
According to the judgement of step 202, user A and C are required for further being judged into this step.Namely from institute
The period 4 specified sequential query forward until finding a non-occupy-place data, then judges the data value of the non-occupy-place data
Whether it is the data value of User Status to be counted, that is, determines whether 1, accordingly, user A was inquired about forward to the period 1,
Its data value is 1, and user C was inquired about forward to period 3, data value 2, had obtained different User Status, in this regard,
User A is performed into step 204, user C is performed into step 205.
204th, the corresponding user of User Status data is determined as user to be counted.
According to the judgement of above-mentioned steps, the user for performing this step is A and B.
205th, the corresponding user of User Status data is excluded outside user to be counted.
It is user C to perform this step.
It just completes through the above steps and the statistical classification of user in duplicate removal user's statistical form is operated, next, only
The user obtained in step 204 need to be carried out adding up and can be obtained by required statistics.
In addition, the specific rules of statistics can also be further expanded on the basis of above-mentioned statistical, for example, to count
Number of users is unloaded, can also be added on the basis of above-mentioned and status data before is judged, determines whether installation shape
State, if because there is unloading for a user, it is inevitable to carry out installation before, and if being fitted without state, illustrate
There may be misregistrations for the record of the unloaded state data of the user.Therefore, the tool to statistical rules on the basis of the above
Body extends the protection domain that realized data statistics belongs to the embodiment of the present invention.
Further, as the realization to the above method, an embodiment of the present invention provides a kind of network television user states
Statistic device, the device embodiment is corresponding with preceding method embodiment, for ease of read, present apparatus embodiment is no longer to foregoing
Detail content in embodiment of the method is repeated one by one, it should be understood that before the device in the present embodiment can correspond to realization
State the full content in embodiment of the method.The device is used to count the data statistics in IPTV system to User Status, particularly
User Status data of the express statistic by the end of specified time, specifically as shown in figure 3, the device includes:
Acquiring unit 31 for obtaining the specified time of counting user status data, obtains ending to the specified time
Timing statistics section;
Searching unit 32, for searching the timing statistics section acquired in the acquiring unit 31 in duplicate removal user's statistical form
Corresponding User Status data, each duplicate removal user has recorded in each data update cycle in the duplicate removal user statistical form
Corresponding User Status data;
Determination unit 33, the User Status data for being searched according to the searching unit 32 determine corresponding user to treat
Counting user;
Statistic unit 34 determines the user to be counted in duplicate removal user's statistical form for adding up the determination unit 33,
It obtains by the end of the specified time and meets the number of users of User Status to be counted.
Further, as shown in figure 4, described device further includes:
Creating unit 35 is right for searching the timing statistics section in duplicate removal user's statistical form in the searching unit 32
Before the User Status data answered, duplicate removal user's statistical form is created, being included at least in the duplicate removal user statistical form has user's mark
Know information and User Status data;
Recording unit 36, in duplicate removal user's statistical form for being established according to the data update cycle in the creating unit 35
The User Status data corresponding to each user identifier are continuously recorded, wherein, when each User Status data markers have corresponding
Between sequence identification, time sequencing mark is corresponding with the data update cycle.
Further, the recording unit 36 is additionally operable to:When the data update cycle memory is in User Status data,
The User Status data are directly recorded in the duplicate removal user statistical form;When there is no use in the data update cycle
During the status data of family, it is recorded in using occupy-place data as the User Status data in the duplicate removal user statistical form.
Further, as shown in figure 4, the determination unit 33 includes:
Judgment module 331, for judge the value of the User Status data whether be the User Status to be counted number
According to value;
First determining module 332 judges the value of User Status data to be described to be counted for working as the judgment module 331
During the data value of User Status, the corresponding user of the User Status data is determined as user to be counted;
Second determining module 333 judges that the value of User Status data is not waited to unite for described in for working as the judgment module 331
When counting the data value of User Status, determine whether the corresponding user of the User Status data is use to be counted according to presetting rule
Family.
Further, as shown in figure 4, second determining module 333 includes:
Judging submodule 3331, for judging whether the User Status data are the occupy-place data;
Submodule 3332 is inquired about, judges the User Status data for the occupy-place for working as the judging submodule 3331
During data, whether the data value of nearest one non-occupy-place data is user's shape to be counted before inquiring about the specified time
The data value of state.
Determination sub-module 3333 judges that the User Status data do not account for for described in for working as the judging submodule 3331
During the data of position, the corresponding user of the User Status data is excluded outside user to be counted.
Further, as shown in figure 4, the inquiry submodule 3332 is additionally operable to:When the data value of the non-occupy-place data
For the User Status to be counted data value when, the corresponding user of the non-occupy-place data is determined as user to be counted;When
It is when the data value of the non-occupy-place data is not the data value of the User Status to be counted, the non-occupy-place data are corresponding
User is excluded outside user to be counted.
In conclusion used by the embodiment of the present invention network television user state statistical method and device, pass through by
The User Status data of different user are being united according to order being recorded in duplicate removal user's statistical form one by one in data update cycle
User is counted when the User Status of specified time, it is only necessary to count table search from duplicate removal user and correspond to the specified time
User Status data, and user is judged with reference to the User Status aggregation of data before the specified time according to the user's status data
Current state whether meet statistical rules, finally add up to reuse and meet the user of statistical rules in the statistical form of family, obtain needed for
The statistics of User Status.Compared with the data statistics mode of existing User Status, the embodiment of the present invention is by by user
Status data is uniformly recorded in duplicate removal user's statistical form, and by the corresponding data update of User Status data of record
Cycle is corresponding, so as to facilitate the inquiry and acquisition to data, improves data statistics efficiency.Further, since recorded
User Status data are, and the aggregate-values of non-data corresponding with the data update cycle, therefore, have been also convenient for counting individually
According to the revision of value, change so that without modifying to substantial amounts of data in statistic processes, simplify data statistics flow.
The statistic device of the network television user state includes processor and memory, and above-mentioned acquiring unit searches list
Member, determination unit and statistic unit etc. in memory, storage are stored in by processor execution as program unit storage
Above procedure unit in device realizes corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, User Status in the different time intervals cycle is continuously recorded in a tables of data by adjusting kernel parameter realization
Data value, and go out come express statistic User Status aggregate-value by the end of specified time by inquiring about a tables of data.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
It is first when being performed on data processing equipment, being adapted for carrying out present invention also provides a kind of computer program product
The program code of beginningization there are as below methods step:The specified time of counting user status data is obtained, obtains ending to the finger
The timing statistics section fixed time;The corresponding User Status data of the timing statistics section, institute are searched in duplicate removal user's statistical form
It states each duplicate removal user in duplicate removal user's statistical form and has recorded corresponding User Status data in each data update cycle;Root
Determine that corresponding user is user to be counted according to the User Status data;Add up to be counted in the duplicate removal user statistical form
User obtains by the end of the specified time and meets the number of users of User Status to be counted.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.It defines, calculates according to herein
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap
Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
Also there are other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application
Form.It is deposited moreover, the application can be used to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of statistical method of network television user state, which is characterized in that the described method includes:
The specified time of counting user status data is obtained, obtains ending to the timing statistics section of the specified time;
The corresponding User Status data of the timing statistics section, the duplicate removal user statistical form are searched in duplicate removal user's statistical form
In each duplicate removal user recorded corresponding User Status data in each data update cycle;
Determine that corresponding user is user to be counted according to the User Status data;
Add up the user to be counted in the duplicate removal user statistical form, obtain by the end of the specified time and meet use to be counted
The number of users of family state.
2. method according to claim 1, which is characterized in that it is right that the timing statistics section is searched in duplicate removal user's statistical form
Before the User Status data answered, the method further includes:
Duplicate removal user's statistical form is created, being included at least in the duplicate removal user statistical form has user identity information and User Status
Data;
User's shape corresponding in the duplicate removal user statistical form continuously recording each user identifier according to the data update cycle
State data, wherein, each User Status data markers have corresponding time sequencing to identify, and the time sequencing mark and data are more
The new cycle is corresponding.
3. method according to claim 2, which is characterized in that according to the data update cycle in the duplicate removal user statistical form
Continuously recording the User Status data corresponding to each user identifier includes:
When the data update cycle memory is in User Status data, the User Status data are directly recorded in described go
It reuses in the statistical form of family;
When User Status data are not present in the data update cycle, using occupy-place data as the User Status data
It is recorded in the duplicate removal user statistical form.
4. method according to claim 3, which is characterized in that described to determine corresponding user according to the User Status data
Include for user to be counted:
Judge the User Status data value whether be the User Status to be counted data value;
If so, the corresponding user of the User Status data is determined as user to be counted;
If it is not, then determine whether the corresponding user of the User Status data is user to be counted according to presetting rule.
5. method according to claim 4, which is characterized in that described that the User Status data pair are determined according to presetting rule
Whether the user answered is that user to be counted includes:
Judge whether the User Status data are the occupy-place data;
If so, whether the data value of a non-occupy-place data nearest before inquiring about the specified time is the use to be counted
The data value of family state;
If it is not, then the corresponding user of the User Status data is excluded outside user to be counted.
6. method according to claim 5, which is characterized in that nearest one non-accounts for before inquiry specified time
Whether the data value of position data is that the data value of the User Status to be counted includes:
When the data value of the non-occupy-place data is the data value of the User Status to be counted, by the non-occupy-place data pair
The user answered is determined as user to be counted;
When the data value of the non-occupy-place data is not the data value of the User Status to be counted, by the non-occupy-place data
Corresponding user is excluded outside user to be counted.
7. a kind of statistic device of network television user state, which is characterized in that described device includes:
Acquiring unit for obtaining the specified time of counting user status data, obtains ending to the statistics of the specified time
Period;
Searching unit, for searching the corresponding use of timing statistics section acquired in the acquiring unit in duplicate removal user's statistical form
Family status data, each duplicate removal user has recorded corresponding use in each data update cycle in the duplicate removal user statistical form
Family status data;
Determination unit, the User Status data for being searched according to the searching unit determine that corresponding user is use to be counted
Family;
Statistic unit determines the user to be counted in duplicate removal user's statistical form for adding up the determination unit, is ended
To the specified time and meet the number of users of User Status to be counted.
8. device according to claim 7, which is characterized in that described device further includes:
Creating unit, for searching the corresponding user of the timing statistics section in duplicate removal user's statistical form in the searching unit
Before status data, create duplicate removal user's statistical form, include at least in the duplicate removal user statistical form have user identity information with
And User Status data;
Recording unit, for continuously being recorded in duplicate removal user's statistical form for being established according to the data update cycle in the creating unit
User Status data corresponding to each user identifier, wherein, each User Status data markers have corresponding time sequencing mark
Know, the time sequencing mark is corresponding with the data update cycle.
9. device according to claim 8, which is characterized in that the recording unit is additionally operable to:
When the data update cycle memory is in User Status data, the User Status data are directly recorded in described go
It reuses in the statistical form of family;
When User Status data are not present in the data update cycle, using occupy-place data as the User Status data
It is recorded in the duplicate removal user statistical form.
10. device according to claim 9, which is characterized in that the determination unit includes:
Judgment module, for judge the value of the User Status data whether be the User Status to be counted data value;
First determining module, for when the value of the User Status data is the data value of the User Status to be counted, inciting somebody to action
The corresponding user of the User Status data is determined as user to be counted;
Second determining module, for when the value of the User Status data not be the User Status to be counted data value when,
Determine whether the corresponding user of the User Status data is user to be counted according to presetting rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610983647.XA CN108063957B (en) | 2016-11-08 | 2016-11-08 | Statistical method, device, storage medium and processor for network television user state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610983647.XA CN108063957B (en) | 2016-11-08 | 2016-11-08 | Statistical method, device, storage medium and processor for network television user state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108063957A true CN108063957A (en) | 2018-05-22 |
CN108063957B CN108063957B (en) | 2020-12-01 |
Family
ID=62137752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610983647.XA Active CN108063957B (en) | 2016-11-08 | 2016-11-08 | Statistical method, device, storage medium and processor for network television user state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108063957B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522305A (en) * | 2018-12-06 | 2019-03-26 | 北京千方科技股份有限公司 | A kind of big data De-weight method and device |
CN111785153A (en) * | 2020-05-23 | 2020-10-16 | 中兵勘察设计研究院有限公司 | Engineering project display method, device and system based on electronic map |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106818A (en) * | 2007-06-18 | 2008-01-16 | 中兴通讯股份有限公司 | A system and method for summarizing user roaming status in GSM network service area |
CN103763149A (en) * | 2013-12-27 | 2014-04-30 | 北京集奥聚合科技有限公司 | Real-time statistical method for network user number |
CN104104717A (en) * | 2014-06-30 | 2014-10-15 | 广州唯品会网络技术有限公司 | Inputting channel data statistical method and device |
CN104320704A (en) * | 2014-11-13 | 2015-01-28 | 北京国双科技有限公司 | Method and device for detecting network television installation states |
CN104394433A (en) * | 2014-11-27 | 2015-03-04 | 北京国双科技有限公司 | Method and device for detecting play times of multimedia file in television channel |
-
2016
- 2016-11-08 CN CN201610983647.XA patent/CN108063957B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106818A (en) * | 2007-06-18 | 2008-01-16 | 中兴通讯股份有限公司 | A system and method for summarizing user roaming status in GSM network service area |
CN103763149A (en) * | 2013-12-27 | 2014-04-30 | 北京集奥聚合科技有限公司 | Real-time statistical method for network user number |
CN104104717A (en) * | 2014-06-30 | 2014-10-15 | 广州唯品会网络技术有限公司 | Inputting channel data statistical method and device |
CN104320704A (en) * | 2014-11-13 | 2015-01-28 | 北京国双科技有限公司 | Method and device for detecting network television installation states |
CN104394433A (en) * | 2014-11-27 | 2015-03-04 | 北京国双科技有限公司 | Method and device for detecting play times of multimedia file in television channel |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522305A (en) * | 2018-12-06 | 2019-03-26 | 北京千方科技股份有限公司 | A kind of big data De-weight method and device |
CN111785153A (en) * | 2020-05-23 | 2020-10-16 | 中兵勘察设计研究院有限公司 | Engineering project display method, device and system based on electronic map |
Also Published As
Publication number | Publication date |
---|---|
CN108063957B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102870116B (en) | Method and apparatus for content matching | |
CN104486129B (en) | The method and system of application service quality are ensured under distributed environment | |
CN105099729A (en) | User ID (Identification) recognition method and device | |
CN107832291A (en) | Client service method, electronic installation and the storage medium of man-machine collaboration | |
CN105302807A (en) | Method and apparatus for obtaining information category | |
CN106649210A (en) | Data conversion method and device | |
CN108063957A (en) | A kind of statistical method and device of network television user state | |
CN106648839A (en) | Method and device for processing data | |
CN106919576A (en) | Using the method and device of two grades of classes keywords database search for application now | |
CN104484413A (en) | Method and device for obtaining searching results | |
CN108509440A (en) | A kind of data processing method and device | |
US7599946B2 (en) | Systems and methods for discovering frequently accessed subtrees | |
CN116028964B (en) | Information security risk management system | |
CN111078646B (en) | Method and system for grouping software based on operation data of Internet equipment | |
CN116700929A (en) | Task batch processing method and system based on artificial intelligence | |
CN104123303A (en) | Method and device for providing data | |
CN108108444B (en) | Enterprise business unit self-adaptive system and implementation method thereof | |
CN107562703A (en) | Dictionary tree reconstructing method and system | |
CN102609482A (en) | Packaging method of JSON (JavaScript Object Notiation) data format | |
CN109785077A (en) | The treating method and apparatus of order | |
CN107948738A (en) | A kind of computational methods and device of Web TV duplicate removal number of users | |
CN109068286A (en) | A kind of method, medium and the equipment of information parsing | |
CN108845844A (en) | A kind of state transition method and device | |
CN113656466A (en) | Policy data query method, device, equipment and storage medium | |
CN108121752A (en) | A kind of processing method and processing device of keyword material |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |