+

CN106484819A - A kind of method and device of counting user amount - Google Patents

A kind of method and device of counting user amount Download PDF

Info

Publication number
CN106484819A
CN106484819A CN201610852082.1A CN201610852082A CN106484819A CN 106484819 A CN106484819 A CN 106484819A CN 201610852082 A CN201610852082 A CN 201610852082A CN 106484819 A CN106484819 A CN 106484819A
Authority
CN
China
Prior art keywords
index
daily record
statistical
record data
query result
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.)
Pending
Application number
CN201610852082.1A
Other languages
Chinese (zh)
Inventor
孔矾建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201610852082.1A priority Critical patent/CN106484819A/en
Publication of CN106484819A publication Critical patent/CN106484819A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method and device of counting user amount, in order to realize the purpose of neatly counting user amount.Methods described includes:When page browsing event is monitored, the corresponding daily record data of the page browsing event is generated;Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index at least includes unique index field, in the unique index, carry user totem information;When inquiry request is received, inquired about in the statistical index, obtained Query Result;The user totem information of the unique index in the Query Result is obtained, customer volume is counted.

Description

A kind of method and device of counting user amount
Technical field
The present invention relates to technical field of internet application, more particularly to a kind of method and device of counting user amount.
Background technology
UV (Unique Visitor, independent visitor), refers to access certain website or clicks on the different IP addresses of certain news Number.Interior on the same day, UV only records the visitor with independent IP for entering website for the first time, is visited interior on the same day again Ask that the website does not then count.Independent IP visitor provides the statistical indicator of different spectator attendances in certain time, without anti- Comprehensive activity of website should be gone out.
Content of the invention
The present invention provides a kind of method and device of counting user amount, in order to realize the purpose of neatly counting user amount.
The present invention provides a kind of method of counting user amount, including:
When page browsing event is monitored, the corresponding daily record data of the page browsing event is generated;
Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index is at least included only One index field, carries user totem information in the unique index;
When inquiry request is received, inquired about in the statistical index, obtained Query Result;
The user totem information of the unique index in the Query Result is obtained, customer volume is counted.
In an embodiment of the present invention, the index structure is at least also made up of inquiry dimension, time zone, index rule;
Statistical index is generated based on the daily record data, including:
Mated regular for the index with the daily record data, matched one or more in the daily record data Field;
Based on the index structure and the corresponding data of each field for matching, the statistical index is generated.
In an embodiment of the present invention, the daily record data includes at least one following field:
ID, user location, channel, time point, advertiser, IP address, the operation system of user place terminal System, operator, sex.
In an embodiment of the present invention, inquired about in the statistical index, Query Result is obtained, including:
Based on the statistical index, inquiry dimension, time zone, the key list of index rule is generated as dictionary;
Inquired about in the dictionary, obtained Query Result.
In an embodiment of the present invention, the user totem information of the unique index in the Query Result is obtained, to user Amount is counted, including:
Re-scheduling is carried out based on the user totem information in the Query Result, obtains the customer volume.
The present invention also provides a kind of device of counting user amount, including:
Daily record generation module, for when page browsing event is monitored, generating the page browsing event corresponding day Will data;
Index generation module, for generating statistical index based on the daily record data, wherein, rope in the statistical index Guiding structure at least includes unique index field, carries user totem information in the unique index;
Enquiry module, for when inquiry request is received, being inquired about in the statistical index, obtains inquiry knot Really;
Statistical module, for obtaining the user totem information of the unique index in the Query Result, is carried out to customer volume Statistics.
In an embodiment of the present invention, the index structure is at least also made up of inquiry dimension, time zone, index rule;
The index generation module is additionally operable to:
Mated regular for the index with the daily record data, matched one or more in the daily record data Field;
Based on the index structure and the corresponding data of each field for matching, the statistical index is generated.
In an embodiment of the present invention, the daily record data includes at least one following field:
ID, user location, channel, time point, advertiser, IP address, the operation system of user place terminal System, operator, sex.
In an embodiment of the present invention, the enquiry module is additionally operable to:
Based on the statistical index, inquiry dimension, time zone, the key list of index rule is generated as dictionary;
Inquired about in the dictionary, obtained Query Result.
In an embodiment of the present invention, the statistical module is additionally operable to:
Re-scheduling is carried out based on the user totem information in the Query Result, obtains the customer volume.
In embodiments of the present invention, when page browsing event is monitored, the page browsing event corresponding day is generated Will data;Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index at least includes uniquely Index field, carries user totem information in the unique index;When inquiry request is received, enter in the statistical index Row inquiry, obtains Query Result;The user totem information of the unique index in the Query Result is obtained, customer volume is united Meter.As can be seen here, the embodiment of the present invention can realize the purpose of neatly counting user amount.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can pass through in the explanation that is write In book, claims and accompanying drawing, specifically noted structure is realizing and obtain.
Below by drawings and Examples, technical scheme is described in further detail.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention Example is applied together for the present invention is explained, be not construed as limiting the invention.In the accompanying drawings:
The flow chart that Fig. 1 show the method for counting user amount in one embodiment of the invention;
The flow chart that Fig. 2 show the method for counting user amount in another embodiment of the present invention;And
Fig. 3 show the structural representation of the device of counting user amount in one embodiment of the invention.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and the present invention is explained, be not intended to limit the present invention.
Be illustrated in figure 1 the flow chart of the method for counting user amount in one embodiment of the invention, the method can include with Lower step S11-S14.
Step S11, when page browsing event is monitored, generates the corresponding daily record data of page browsing event.
In this step, user browses a page, will trigger the corresponding daily record data of generation page browsing event.This In, the field in daily record data can be:ID, user location, channel, time point, advertiser, IP address, use The operating system of family place terminal, operator, sex, plan ID etc. is thrown in, the invention is not restricted to this.
Step S12, generates statistical index based on daily record data, and wherein, the index structure in the statistical index at least includes Unique index field, carries user totem information in the unique index.
In the step, the statistical index of generation can be as follows:
/ idx (representing this order for index)/ts (representing that key is based on seasonal effect in time series)/hh (united with hour by expression Meter)/daily record name/inquiry dimension (key, the field including inquiry and the value of field)/event/ index field (only one of which)/rope Draw the date that the value/daily record of field is generated.
Additionally, the statistical index for generating can also be as follows:
/ idx (representing this order for index)/ts (representing that key is based on seasonal effect in time series)/hh (united with hour by expression Meter)/event/unicode (carries out only/daily record name/inquiry dimension (field including inquiry and the value of field) to certain field One index, index word segment value are unique)/timezone (utc time zone)/timezone-area (one day, one week, one month)/rope Draw the date that the value/daily record of field/index field is generated.
Step S13, when inquiry request is received, is inquired about in statistical index, is obtained Query Result.
Step S14, obtains the user totem information of the unique index in Query Result, customer volume is counted.
In embodiments of the present invention, when page browsing event is monitored, the page browsing event corresponding day is generated Will data;Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index at least includes uniquely Index field, carries user totem information in the unique index;When inquiry request is received, enter in the statistical index Row inquiry, obtains Query Result;The user totem information of the unique index in the Query Result is obtained, customer volume is united Meter.As can be seen here, the embodiment of the present invention can realize the purpose of neatly counting user amount.
Statistical index is generated based on daily record data in above step S12, embodiments provide a kind of optional side Case, the program comprise the following steps A1-A2.
Step A1, index rule is mated with daily record data, is matched the one or more fields in daily record data. Here, index structure is at least also made up of inquiry dimension, time zone, index rule.
Step A2, based on index structure and the corresponding data of each field for matching, generates statistical index.
Inquired about in statistical index in above step S13, Query Result is obtained, embodiments provided one kind Optional scheme, the program comprise the following steps B1-B2.
Step B1, based on statistical index, generates inquiry dimension, time zone, the key list of index rule as dictionary.
Step B2, is inquired about in dictionary, obtains Query Result.
In embodiments of the present invention, key is extracted according to daily record, checks whether key occurred.It is related to dictionary and index knot Really two places.Dictionary:Time zone, the key list of time scale.Based on filter condition (inquiry dimension), whether key occurred, Occur first just Jia 1.Repeated just not record.Dictionary is tieed up in specific inquiry for inquiring about certain value of specific field Whether occurred in degree, time zone and time scale.Just for unique index, i.e., independent UV.Based on the re-scheduling which field is done, such as User id.It is exactly to count UV based on the rearrangement result of user id.Dictionary is not counted, and is only kept a record, and does not have sum.
Be discussed in detail below by a specific embodiment counting user amount of the present invention method realize process, such as scheme 2 flow charts for showing the method for counting user amount in another embodiment of the present invention, the method may comprise steps of S21- S26.
Step S21, when page browsing event is monitored, generates the corresponding daily record data of page browsing event.
Step S22, index rule is mated with daily record data, is matched the one or more words in daily record data Section.Here, the index structure in statistical index at least includes unique index field, carries ID letter in the unique index Breath;Index structure is at least also made up of inquiry dimension, time zone, index rule.
Step S23, based on index structure and the corresponding data of each field for matching, generates statistical index.
Step S24, when inquiry request is received, based on statistical index, generates inquiry dimension, time zone, indexes rule Key list is used as dictionary.
Step S25, is inquired about in dictionary, obtains Query Result.
Step S26, carries out re-scheduling based on the user totem information in Query Result, obtains customer volume.
In the alternative embodiment of the present invention, generated after statistical index according to daily record data and index structure, the head of a station is permissible Inquiry request is initiated, querying command is generated, querying command is mated with index, obtains statistics.That is, can be with inquiry Several parameters, such as instance name, filtering rule field, index field, index word segment value, statistical etc., be exactly in a word above The part (except last time series) of key, then combination producing key prefix, holds key prefix and removes database Scanning, you can obtain statistics.
It should be noted that in actual applications, above-mentioned all optional embodiments can be any in the way of adopting and combine Combination, forms the alternative embodiment of the present invention, and this is no longer going to repeat them.
Corresponding to the method for the counting user amount in above-described embodiment, the present invention also provides a kind of dress of counting user amount Put.
The structural representation of the device of counting user amount in one embodiment of the invention is illustrated in figure 3, including:
Daily record generation module 31, for when page browsing event is monitored, generating the page browsing event corresponding Daily record data;
Index generation module 32, for generating statistical index based on the daily record data, wherein, in the statistical index Index structure at least includes unique index field, carries user totem information in the unique index;
Enquiry module 33, for when inquiry request is received, being inquired about in the statistical index, obtains inquiry knot Really;
Statistical module 34, for obtaining the user totem information of the unique index in the Query Result, enters to customer volume Row statistics.
In an embodiment of the present invention, the index structure is at least also made up of inquiry dimension, time zone, index rule;Institute State index generation module 32 to be additionally operable to:
Mated regular for the index with the daily record data, matched one or more in the daily record data Field;
Based on the index structure and the corresponding data of each field for matching, the statistical index is generated.
In an embodiment of the present invention, the daily record data includes at least one following field:
ID, user location, channel, time point, advertiser, IP address, the operation system of user place terminal System, operator, sex.
In an embodiment of the present invention, the enquiry module 33 is additionally operable to:
Based on the statistical index, inquiry dimension, time zone, the key list of index rule is generated as dictionary;
Inquired about in the dictionary, obtained Query Result.
In an embodiment of the present invention, the statistical module 34 is additionally operable to:
Re-scheduling is carried out based on the user totem information in the Query Result, obtains the customer volume.
The said apparatus of the embodiment of the present invention:When page browsing event is monitored, the page browsing event pair is generated The daily record data that answers;Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index is at least wrapped Unique index field is included, in the unique index, carries user totem information;When inquiry request is received, in the statistics rope Inquired about in drawing, obtained Query Result;The user totem information of the unique index in the Query Result is obtained, to customer volume Counted.As can be seen here, the embodiment of the present invention can realize the purpose of neatly counting user amount.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of reality Apply the form of example.And, the present invention can be adopted in one or more computers for wherein including computer usable program code The shape of the upper computer program that implements of usable storage medium (including but not limited to magnetic disc store and optical memory etc.) Formula.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram Journey and/or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included to refer to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing device so that in meter Series of operation steps is executed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction executed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of method of counting user amount, it is characterised in that include:
When page browsing event is monitored, the corresponding daily record data of the page browsing event is generated;
Statistical index is generated based on the daily record data, wherein, the index structure in the statistical index at least includes unique rope Draw field, in the unique index, carry user totem information;
When inquiry request is received, inquired about in the statistical index, obtained Query Result;
The user totem information of the unique index in the Query Result is obtained, customer volume is counted.
2. method according to claim 1, it is characterised in that
The index structure is at least also made up of inquiry dimension, time zone, index rule;
Statistical index is generated based on the daily record data, including:
Mated regular for the index with the daily record data, matched the one or more words in the daily record data Section;
Based on the index structure and the corresponding data of each field for matching, the statistical index is generated.
3. method according to claim 2, it is characterised in that the daily record data includes at least one following word Section:
ID, user location, channel, time point, advertiser, IP address, the operating system of user place terminal, fortune Battalion business, sex.
4. method according to claim 1, it is characterised in that inquired about in the statistical index, obtains inquiry knot Really, including:
Based on the statistical index, inquiry dimension, time zone, the key list of index rule is generated as dictionary;
Inquired about in the dictionary, obtained Query Result.
5. method according to claim 1, it is characterised in that obtain user's mark of the unique index in the Query Result Knowledge information, counts to customer volume, including:
Re-scheduling is carried out based on the user totem information in the Query Result, obtains the customer volume.
6. a kind of device of counting user amount, it is characterised in that include:
Daily record generation module, for when page browsing event is monitored, generating the corresponding daily record number of the page browsing event According to;
Index generation module, for generating statistical index based on the daily record data, wherein, the index in the statistical index is tied Structure at least includes unique index field, carries user totem information in the unique index;
Enquiry module, for when inquiry request is received, being inquired about, being obtained Query Result in the statistical index;
Statistical module, for obtaining the user totem information of the unique index in the Query Result, counts to customer volume.
7. device according to claim 6, it is characterised in that
The index structure is at least also made up of inquiry dimension, time zone, index rule;
The index generation module is additionally operable to:
Mated regular for the index with the daily record data, matched the one or more words in the daily record data Section;
Based on the index structure and the corresponding data of each field for matching, the statistical index is generated.
8. device according to claim 7, it is characterised in that the daily record data includes at least one following word Section:
ID, user location, channel, time point, advertiser, IP address, the operating system of user place terminal, fortune Battalion business, sex.
9. device according to claim 6, it is characterised in that the enquiry module is additionally operable to:
Based on the statistical index, inquiry dimension, time zone, the key list of index rule is generated as dictionary;
Inquired about in the dictionary, obtained Query Result.
10. device according to claim 6, it is characterised in that the statistical module is additionally operable to:
Re-scheduling is carried out based on the user totem information in the Query Result, obtains the customer volume.
CN201610852082.1A 2016-09-26 2016-09-26 A kind of method and device of counting user amount Pending CN106484819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610852082.1A CN106484819A (en) 2016-09-26 2016-09-26 A kind of method and device of counting user amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610852082.1A CN106484819A (en) 2016-09-26 2016-09-26 A kind of method and device of counting user amount

Publications (1)

Publication Number Publication Date
CN106484819A true CN106484819A (en) 2017-03-08

Family

ID=58268818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610852082.1A Pending CN106484819A (en) 2016-09-26 2016-09-26 A kind of method and device of counting user amount

Country Status (1)

Country Link
CN (1) CN106484819A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388628A (en) * 2018-08-28 2019-02-26 平安科技(深圳)有限公司 System log querying method, device, computer equipment and storage medium
CN110309141A (en) * 2018-03-14 2019-10-08 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room data volume statistical method, storage medium, equipment and system
CN112036666A (en) * 2020-09-29 2020-12-04 中移(杭州)信息技术有限公司 Binding process evaluation method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095820A (en) * 2013-01-04 2013-05-08 新浪网技术(中国)有限公司 Method and device for determining terminal quantity of page access
US20140143012A1 (en) * 2012-11-21 2014-05-22 Insightera Ltd. Method and system for predictive marketing campigns based on users online behavior and profile
CN105357054A (en) * 2015-11-26 2016-02-24 上海晶赞科技发展有限公司 Website traffic analysis method and apparatus, and electronic equipment
CN105607987A (en) * 2015-12-17 2016-05-25 无锡天脉聚源传媒科技有限公司 Access number statistic method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140143012A1 (en) * 2012-11-21 2014-05-22 Insightera Ltd. Method and system for predictive marketing campigns based on users online behavior and profile
CN103095820A (en) * 2013-01-04 2013-05-08 新浪网技术(中国)有限公司 Method and device for determining terminal quantity of page access
CN105357054A (en) * 2015-11-26 2016-02-24 上海晶赞科技发展有限公司 Website traffic analysis method and apparatus, and electronic equipment
CN105607987A (en) * 2015-12-17 2016-05-25 无锡天脉聚源传媒科技有限公司 Access number statistic method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309141A (en) * 2018-03-14 2019-10-08 武汉斗鱼网络科技有限公司 A kind of direct broadcasting room data volume statistical method, storage medium, equipment and system
CN110309141B (en) * 2018-03-14 2021-11-09 武汉斗鱼网络科技有限公司 Data volume statistical method, storage medium, equipment and system for live broadcast room
CN109388628A (en) * 2018-08-28 2019-02-26 平安科技(深圳)有限公司 System log querying method, device, computer equipment and storage medium
CN112036666A (en) * 2020-09-29 2020-12-04 中移(杭州)信息技术有限公司 Binding process evaluation method, device, server and storage medium
CN112036666B (en) * 2020-09-29 2024-03-22 中移(杭州)信息技术有限公司 Binding flow evaluation method, device, server and storage medium

Similar Documents

Publication Publication Date Title
US9852440B2 (en) Methods and systems for selecting content for display based on conversion probabilities of paths
US9704165B2 (en) Systems and methods for determining value of social media pages
CN104487963B (en) Methods and apparatus to collect distributed user information for media impressions and search terms
US20150088662A1 (en) Predictive Behavioural Targeting
WO2013166073A2 (en) Methods and systems useful for identifying the most influent social media users in query-based social data streams
US20150347624A1 (en) Systems and methods for linking and analyzing data from disparate data sets
US20170017975A1 (en) Reducing processing requirements to correct for bias in ratings data having interdependencies among demographic statistics
US11128724B1 (en) Real-time interactive event analytics
JP2017211781A (en) Evaluation device, evaluation method, evaluation program, recommendation device, recommendation method, and recommendation program
WO2013166076A1 (en) Insights detection for query-based social data stream
CN106484819A (en) A kind of method and device of counting user amount
US20150348059A1 (en) System and method for determining the shopping phase of a shopper
US20130166389A1 (en) List-based advertisement serving
EP2617164A1 (en) System and method for traffic analysis
CN106909567B (en) Data processing method and device
KR102106617B1 (en) Method to estimate user interest based on advertisements response
CN106446171A (en) Method and device for generating statistics indexes
CN106030648A (en) Recommender system and operation method thereof
JP7648964B2 (en) Information processing device, information processing method, and program
CN106372158A (en) Method and device for processing user behavior data
US20190058687A1 (en) Personal web address management system
CN105117448B (en) Product exposure rate algorithm and system based on picture in a kind of shopping at network
US20230252011A1 (en) Method and system for data indexing and reporting
CN106294698A (en) A kind of generation method and device of advertistics index
JP5998184B2 (en) Content distribution system, method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载