CN105930366A - Statistical method and device - Google Patents

Statistical method and device Download PDF

Info

Publication number
CN105930366A
CN105930366A CN201610226760.3A CN201610226760A CN105930366A CN 105930366 A CN105930366 A CN 105930366A CN 201610226760 A CN201610226760 A CN 201610226760A CN 105930366 A CN105930366 A CN 105930366A
Authority
CN
China
Prior art keywords
mark
bitmap
binary digit
array
targeted customer
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
CN201610226760.3A
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.)
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU XIZHI INFORMATION 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 ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd filed Critical ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201610226760.3A priority Critical patent/CN105930366A/en
Publication of CN105930366A publication Critical patent/CN105930366A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a statistical method and device. The statistical method includes: determining an execution state of a target user against a set object, and determining an execution identification corresponding to the execution state; determining a corresponding binary bit of an ID in a pre-established bitmap according to the identification ID of the target user, wherein the bitmap includes a plurality of binary bits; and recording the execution identification in the determined binary bit. The method establishes the bitmap including the plurality of binary bits in advance, the binary bit is corresponding to the identification ID of the user, and then the execution state of the target user against the set object can be determined; and during determination of the execution identification corresponding to the execution state, the execution identification is recorded in the binary bit corresponding to the identification ID of the target user, and statistics of the user execution states against the set object in a website can be achieved.

Description

A kind of statistical method and device
Technical field
The application relates to technical field of data processing, more particularly, it relates to a kind of statistical method and device.
Background technology
Along with the development of Internet technology, application service based on internet variation the most day by day.Application clothes Business provides the user service by the form of website.
For application service provider, need section sets object in website to preferably build website User perform state and add up, such as add up user's access times of objective function.The most such as, net Reaching the standard grade certain New function in station, it is desirable to guides user to go to open this function.Website sets opens this function and has XX rewards, and now needs the record of receiving the award of counting user, etc..
From the foregoing, it will be observed that prior art needs a kind of website statistics scheme badly, to realize website is specified object User performs state and adds up.
Summary of the invention
In view of this, this application provides a kind of statistical method and device, for object is specified in website User performs state and adds up.
To achieve these goals, it is proposed that scheme as follows:
A kind of statistical method, including:
Determine targeted customer's execution state to setting object, and determine and described corresponding the holding of execution state Line identifier;
According to mark ID of described targeted customer, determine that described ID is in the bitmap bitmap being pre-created Corresponding binary digit, described bitmap comprises multiple binary digit;
The described binary digit determined records and described performs mark.
Preferably, described mark ID is digital form, the establishment process of described bitmap, including:
Inquire about allocated mark ID, determine mark ID that value is maximum;
Determine the available binary digit number of single array;
Mark ID maximum according to the value determined and described binary digit number, calculate array number yet to be built;
According to described array number yet to be built, order creates array, multiple array groups that after establishment, order is connected Become bitmap.
Preferably, described mark ID maximum according to the value determined and described binary digit number, calculating is treated Build array number, including:
Utilize mark ID of described value maximum divided by described binary digit number, obtain the first result of calculation;
Described first result of calculation is rounded up, as array number yet to be built.
Preferably, described mark ID according to described targeted customer, determine that described ID is in the position being pre-created Binary digit corresponding in figure bitmap, including:
Calculate the target array corresponding in described bitmap for mark ID of described targeted customer;
Calculate the object binary position corresponding in described target array for mark ID of described targeted customer.
Preferably, corresponding in described bitmap for the mark ID of the described targeted customer of described calculating number of targets Group, including:
Utilize mark ID of described targeted customer divided by described binary digit number, obtain the second result of calculation;
Described second result of calculation is rounded downwards, as the index of target array.
Preferably, the described targeted customer of described calculating identifies the target two that ID is corresponding in described target array System position, including:
Utilize described targeted customer to identify ID and carry out modulo operation, result conduct with described binary digit number The index of object binary position.
A kind of statistic device, including:
Perform status determining unit, for determining targeted customer's execution state to setting object;
Perform mark and determine unit, corresponding with described execution state perform mark for determining;
Binary digit determines unit, for mark ID according to described targeted customer, determines that described ID is in advance Binary digit corresponding in the bitmap bitmap first created, described bitmap comprises multiple binary digit;
Identification record unit, described performs mark for recording in the described binary digit determined.
Preferably, described mark ID is digital form, and this device also includes:
First bitmap creates subelement, is used for inquiring about allocated mark ID, determines mark ID that value is maximum;
Second bitmap creates subelement, for determining the available binary digit number of single array;
3rd bitmap creates subelement, for mark ID maximum according to the value determined and described binary digit Number, calculates array number yet to be built;
4th bitmap creates subelement, and for according to described array number yet to be built, order creates array, wound Multiple arrays composition bitmap that after building, order is connected.
Preferably, described 3rd bitmap creation subelement includes:
First result computing unit, individual divided by described binary digit for mark ID utilizing described value maximum Number, obtains the first result of calculation;
Round up unit, for described first result of calculation being rounded up, as array number yet to be built.
Preferably, described binary digit determines that unit includes:
Target array computing unit, right in described bitmap for calculating mark ID of described targeted customer The target array answered;
Object binary position computing unit, for calculating mark ID of described targeted customer in described number of targets Object binary position corresponding in group.
From above-mentioned technical scheme it can be seen that the statistical method of the embodiment of the present application offer, determine target User is to setting the execution state of object, and determines and corresponding with described execution state perform mark;According to Mark ID of described targeted customer, determines that described ID is in the bitmap bitmap being pre-created corresponding two System position, described bitmap comprises multiple binary digit;In the described binary digit determined, record is described Perform mark.The application has been pre-created the bitmap bitmap comprising multiple binary digit, wherein binary system Position possesses corresponding relation with mark ID of user, and then is determining targeted customer's execution shape to setting object State, and determine execution state corresponding execution mark time, at the binary system that the mark ID of targeted customer is corresponding Record this in Wei and perform mark, it is achieved that the user setting object in website is performed the statistics of state.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only embodiments herein, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is a kind of statistical method flow chart disclosed in the embodiment of the present application;
Fig. 2 a is a kind of bitmap bitmap schematic diagram of the embodiment of the present application example;
Fig. 2 b is the another kind of bitmap bitmap schematic diagram of the embodiment of the present application example;
Fig. 3 is the creation method flow chart of a kind of bitmap bitmap disclosed in the embodiment of the present application;
Fig. 4 is the creation method flow chart of another kind of bitmap bitmap disclosed in the embodiment of the present application;
Fig. 5 is another kind of statistical method flow chart disclosed in the embodiment of the present application;
Fig. 6 is a kind of statistic device structural representation disclosed in the embodiment of the present application;
Fig. 7 is another kind of statistic device structural representation disclosed in the embodiment of the present application;
Fig. 8 is that disclosed in the embodiment of the present application, a kind of 3rd bitmap creates sub-unit structure schematic diagram;
Fig. 9 is that disclosed in the embodiment of the present application, a kind of binary digit determines cellular construction schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out Clearly and completely describe, it is clear that described embodiment is only some embodiments of the present application, and It is not all, of embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of the application protection.
In order to realize performing website setting object the statistics of state, the application uses the shape of bitmap bitmap Formula carries out record.Seeing Fig. 1, Fig. 1 is a kind of statistical method flow chart disclosed in the embodiment of the present application.
As it is shown in figure 1, the method includes:
Step S100, determine targeted customer to set object execution state;
Specifically, targeted customer is the user having carried out registration in website.Set object to treat as website Statistics object, set object can be certain functional module of website, such as website log module, certain Business function module etc..The execution state setting object can be changed by user with the difference setting object, Such as set object as website log module, then user comprises login to the execution state of website log module State and non-login module.The most such as, set object certain task award as website, then user is to setting The execution state of object can include that task of having got is rewarded and task of not getting is rewarded.
Step S110, determine and corresponding with described execution state perform mark;
Specifically, user to set object execution state to performing mark, execution mark can be The form such as digital, alphabetical.Still as a example by adding up website log module, the state that performs is for logging in shape Corresponding during state execution mark could be arranged to 1, and execution state is corresponding when being non-logging status performs mark Could be arranged to 0.
Step S120, mark ID according to described targeted customer, determine that described ID is in the position being pre-created Binary digit corresponding in figure bitmap;
Specifically, website registered users is assigned with unique ID, is used for carrying out user identity identification.
Described bitmap comprises multiple binary digit.Bitmap is considered as the two of multiple binary digit composition System position is gathered.Each binary digit all correspondences uniquely identify ID.
According to mark ID of targeted customer, bitmap searches the binary digit of correspondence.
Step S130, record in the described binary digit determined and described perform mark.
Specifically, as a example by performing to be designated digital form, can be corresponding at the mark ID of targeted customer Record digital form in binary digit performs mark.
The statistical method that the embodiment of the present application provides, determines targeted customer's execution state to setting object, And determine and corresponding with described execution state perform mark;According to mark ID of described targeted customer, determine The binary digit that described ID is corresponding in the bitmap bitmap being pre-created, described bitmap comprises multiple Binary digit;The described binary digit determined records and described performs mark.The application is pre-created Comprising the bitmap bitmap of multiple binary digit, wherein binary digit possesses corresponding closing with mark ID of user System, and then determining targeted customer's execution state to setting object, and determine corresponding the holding of execution state During line identifier, in the binary digit that the mark ID of targeted customer is corresponding, record this perform mark, it is achieved that The user setting object in website is performed the statistics of state.
For the ease of understanding scheme, the application is illustrated by following instantiation.
Adding up in order to user in website one day is logged in situation, the application is to setting object: website is stepped on The user of record module logs in situation and is monitored statistics.
As shown in Figure 2 a, the application has been pre-created bitmap bitmap, and it comprises 10 binary digits.Acquiescence Under state, the numerical value of binary digit is 0.10 binary digits are corresponding in turn to user 1-10 from right to left.
By user 1-10 is monitored, only has user 2 in finding one day and logged in website.Determine user 2 The execution that the execution state of Website login is corresponding is designated 1, and remaining user is not logged in the execution state pair of network The execution answered is designated 0.
The binary digit corresponding with user 1-10 is searched one by one in bitmap bitmap, and in corresponding binary digit The corresponding user of middle record performs mark, result such as Fig. 2 b after record.
It follows that the embodiment of the present application introduction creates the process of bitmap bitmap, see Fig. 3.
As it is shown on figure 3, the establishment process of bitmap bitmap includes:
Step S300, inquire about allocated mark ID, determine mark ID that value is maximum;
Specifically, for Website server, whenever there being user to register, then distribute to registration and use One, family mark ID, this mark ID uniquely characterizes a user.Website server is registration user's distribution Mark ID can be digital form, such as, start to be incremented by one by one from 1, or random and unduplicated carry out ID distributes.
Mark ID that Website server inquiry is the most the allocated, therefrom finds mark ID that value is maximum.
Step S310, determine the available binary digit number of single array;
Specifically, the application can utilize array to form bitmap, and an array comprises some binary digits. The application can use the array of Python type, and the array of the type comprises 4 32 symbol integer, Each 32 highest orders having symbol integer are sign bit, it is impossible to use this to store data, therefore Python Array comprises altogether 4*31=124 available binary digit.
Certainly, in addition to the array of Python type, the application can also select other type of array, This application is not done considered critical.
Step S320, according to maximum mark ID of the value that determines and described binary digit number, calculate yet to be built Array number;
Specifically, in order to ensure that in the bitmap created, binary digit number is enough, the application is according to determining Maximum mark ID of value, and the available binary digit number of single array, calculate array yet to be built Number, it is ensured that the total number of binary digit that the array of establishment is comprised is more than or equal to mark ID of described maximum.
Step S330, according to described array number yet to be built, order creates array, and after establishment, order is connected Multiple arrays composition bitmap.
Such as, maximum mark ID is 90 in citing, and the available binary digit number of single array is 31.
Then the application at least needs to create 3 arrays, 3 the array der group created become bitmap. Bitmap comprises 93 binary digits of continuous print, and these 93 binary digits belong to 3 arrays.93 Binary digit from left to right place value is gradually lowered, namely leftmost binary digit is highest order, rightmost Binary digit be lowest order.Lowest order can be 0.
Seeing Fig. 4, Fig. 4 is the creation method flow process of another kind of bitmap bitmap disclosed in the embodiment of the present application Figure.
As shown in Figure 4, the establishment process of bitmap bitmap may include that
Step S400, inquire about allocated mark ID, determine mark ID that value is maximum;
Specifically, for Website server, whenever there being user to register, then distribute to registration and use One, family mark ID, this mark ID uniquely characterizes a user.Website server is registration user's distribution Mark ID can be digital form, such as, start to be incremented by one by one from 1, or random and unduplicated carry out ID distributes.
Mark ID that Website server inquiry is the most the allocated, therefrom finds mark ID that value is maximum.
Step S410, determine the available binary digit number of single array;
Specifically, the application can utilize array to form bitmap, and an array comprises some binary digits.
Step S420, utilize maximum mark ID of described value divided by described binary digit number, obtain first Result of calculation;
Step S430, described first result of calculation is rounded up, as array number yet to be built;
Step S440, according to described array number yet to be built, order creates array, and after establishment, order is connected Multiple arrays composition bitmap.
Compared to a upper embodiment, the present embodiment specifically describes a kind of mark maximum according to the value determined ID calculates the implementation of array number yet to be built with described binary digit number.
Creation method based on the bitmap that above-described embodiment provides, the embodiment of the present application discloses another kind of system Meter method, sees Fig. 5.
As it is shown in figure 5, the method includes:
Step S500, determine targeted customer to set object execution state;
Specifically, targeted customer is the user having carried out registration in website.Set object to treat as website Statistics object, set object can be certain functional module of website, such as website log module, certain Business function module etc..The execution state setting object can be changed by user with the difference setting object, Such as set object as website log module, then user comprises login to the execution state of website log module State and non-login module.
Step S510, determine and corresponding with described execution state perform mark;
Specifically, user to set object execution state to performing mark, execution mark can be The form such as digital, alphabetical.Still as a example by adding up website log module, the state that performs is for logging in shape Corresponding during state execution mark could be arranged to 1, and execution state is corresponding when being non-logging status performs mark Could be arranged to 0.
Step S520, calculate the mark ID of described targeted customer number of targets corresponding in described bitmap Group;
Specifically, having been described above bitmap above and be made up of array, each array comprises multiple two respectively System position.This step calculates the target array corresponding in bitmap for mark ID of targeted customer.
Step S530, calculate the mark ID of described targeted customer target two corresponding in described target array System position;
Specifically, after being calculated the target array corresponding in bitmap for mark ID of targeted customer, Further determine that mark ID object binary position corresponding in described target array.
Step S540, record in the described binary digit determined and described perform mark.
Optionally, the process of above-mentioned steps S520 calculating target array may include that
A, utilize mark ID of described targeted customer divided by described binary digit number, obtain the second calculating Result;
B, described second result of calculation is rounded downwards, as the index of target array.
Such as, mark ID is 47 in citing, and the available binary digit number of single array is 31.Then 47 divided by 31 and be 1 after rounding downwards, the index of target array is 1, namely the 1st in mark ID47 correspondence bitmap Individual array.
Based on this, above-mentioned steps S530 calculates the process of object binary position and may include that
Utilize described targeted customer to identify ID and carry out modulo operation, result conduct with described binary digit number The index of object binary position.
Still illustrate with examples detailed above: the result obtained after 47 and 31 modulo operations is 16, and target two is entered The index of position processed is 16, namely the 16th binary digit of the 1st array in mark ID47 correspondence bitmap.
It should be noted that array indexes from right to left and is incremented by one by one in bitmap, binary system in each array Position indexes from right to left and is incremented by one by one.
The statistical method provided based on each embodiment above-mentioned, the application achieves and website is set object User performs the statistics of state.
Below to the embodiment of the present application provide statistic device be described, statistic device described below with Above-described statistical method can be mutually to should refer to.
Seeing Fig. 6, Fig. 6 is a kind of statistic device structural representation disclosed in the embodiment of the present application.
As shown in Figure 6, this device includes:
Perform status determining unit 61, for determining targeted customer's execution state to setting object;
Specifically, targeted customer is the user having carried out registration in website.Set object to treat as website Statistics object, set object can be certain functional module of website, such as website log module, certain Business function module etc..The execution state setting object can be changed by user with the difference setting object, Such as set object as website log module, then user comprises login to the execution state of website log module State and non-login module.The most such as, set object certain task award as website, then user is to setting The execution state of object can include that task of having got is rewarded and task of not getting is rewarded.
Perform mark and determine unit 62, corresponding with described execution state perform mark for determining;
Specifically, user to set object execution state to performing mark, execution mark can be The form such as digital, alphabetical.Still as a example by adding up website log module, the state that performs is for logging in shape Corresponding during state execution mark could be arranged to 1, and execution state is corresponding when being non-logging status performs mark Could be arranged to 0.
Binary digit determines unit 63, for mark ID according to described targeted customer, determines described ID Binary digit corresponding in the bitmap bitmap being pre-created, described bitmap comprises multiple binary digit;
Specifically, website registered users is assigned with unique ID, is used for carrying out user identity identification.
Described bitmap comprises multiple binary digit.Bitmap is considered as the two of multiple binary digit composition System position is gathered.Each binary digit all correspondences uniquely identify ID.
According to mark ID of targeted customer, bitmap searches the binary digit of correspondence.
Identification record unit 64, described performs mark for recording in the described binary digit determined.
The statistic device that the embodiment of the present application provides, determines targeted customer's execution state to setting object, And determine and corresponding with described execution state perform mark;According to mark ID of described targeted customer, determine The binary digit that described ID is corresponding in the bitmap bitmap being pre-created, described bitmap comprises multiple Binary digit;The described binary digit determined records and described performs mark.The application is pre-created Comprising the bitmap bitmap of multiple binary digit, wherein binary digit possesses corresponding closing with mark ID of user System, and then determining targeted customer's execution state to setting object, and determine corresponding the holding of execution state During line identifier, in the binary digit that the mark ID of targeted customer is corresponding, record this perform mark, it is achieved that The user setting object in website is performed the statistics of state.
Optionally, described mark ID can be digital form, and the embodiment of the present application illustrates statistic device Another kind of optional structure, understands in conjunction with Fig. 6 and Fig. 7, and statistic device can also include:
First bitmap creates subelement 71, is used for inquiring about allocated mark ID, determines the mark that value is maximum ID;
Second bitmap creates subelement 72, for determining the available binary digit number of single array;
3rd bitmap creates subelement 73, for mark ID maximum according to the value determined and described binary system Position number, calculates array number yet to be built;
4th bitmap creates subelement 74, and for according to described array number yet to be built, order creates array, Multiple arrays composition bitmap that after establishment, order is connected.
Optionally, the embodiment of the present application illustrates above-mentioned 3rd bitmap and creates the optional knot of one of subelement 73 Structure, as shown in Figure 8, the 3rd bitmap is created subelement 73 and be may include that
First result computing unit 731, for utilizing mark ID of described value maximum divided by described binary system Position number, obtains the first result of calculation;
Round up unit 732, for described first result of calculation being rounded up, as array yet to be built Number.
Based on the various embodiments described above, the embodiment of the present application further illustrates above-mentioned binary digit and determines unit 63 A kind of optional structure, as it is shown in figure 9, binary digit determines that unit 63 may include that
Target array computing unit 631, for calculating mark ID of described targeted customer at described bitmap The target array of middle correspondence;
Specifically, target array computing unit 631, when calculating, specifically may is that and utilizes described target Mark ID of user, divided by described binary digit number, obtains the second result of calculation;Calculate described second Result rounds downwards, as the index of target array.
Object binary position computing unit 632, for calculating mark ID of described targeted customer at described mesh Object binary position corresponding in mark array.
Specifically, object binary position computing unit 632, when calculating, specifically may is that utilization is described Targeted customer identifies ID and carries out modulo operation with described binary digit number, and result is as object binary position Index.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, thus Make to include that the process of a series of key element, method, article or equipment not only include those key elements, and Also include other key elements being not expressly set out, or also include for this process, method, article or The key element that person's equipment is intrinsic.In the case of there is no more restriction, by statement " including ... " The key element limited, it is not excluded that also deposit in including the process of described key element, method, article or equipment At other identical element.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The application.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can in the case of without departing from spirit herein or scope, Realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. a statistical method, it is characterised in that including:
Determine targeted customer's execution state to setting object, and determine and described corresponding the holding of execution state Line identifier;
According to mark ID of described targeted customer, determine that described ID is in the bitmap bitmap being pre-created Corresponding binary digit, described bitmap comprises multiple binary digit;
The described binary digit determined records and described performs mark.
Method the most according to claim 1, it is characterised in that described mark ID is digital form, The establishment process of described bitmap, including:
Inquire about allocated mark ID, determine mark ID that value is maximum;
Determine the available binary digit number of single array;
Mark ID maximum according to the value determined and described binary digit number, calculate array number yet to be built;
According to described array number yet to be built, order creates array, multiple array groups that after establishment, order is connected Become bitmap.
Method the most according to claim 2, it is characterised in that described maximum according to the value that determines Mark ID and described binary digit number, calculate array number yet to be built, including:
Utilize mark ID of described value maximum divided by described binary digit number, obtain the first result of calculation;
Described first result of calculation is rounded up, as array number yet to be built.
Method the most according to claim 3, it is characterised in that described according to described targeted customer's Mark ID, determines described ID binary digit corresponding in the bitmap bitmap being pre-created, including:
Calculate the target array corresponding in described bitmap for mark ID of described targeted customer;
Calculate the object binary position corresponding in described target array for mark ID of described targeted customer.
Method the most according to claim 4, it is characterised in that the described targeted customer's of described calculating The target array that mark ID is corresponding in described bitmap, including:
Utilize mark ID of described targeted customer divided by described binary digit number, obtain the second result of calculation;
Described second result of calculation is rounded downwards, as the index of target array.
Method the most according to claim 5, it is characterised in that the described targeted customer of described calculating marks Know ID object binary position corresponding in described target array, including:
Utilize described targeted customer to identify ID and carry out modulo operation, result conduct with described binary digit number The index of object binary position.
7. a statistic device, it is characterised in that including:
Perform status determining unit, for determining targeted customer's execution state to setting object;
Perform mark and determine unit, corresponding with described execution state perform mark for determining;
Binary digit determines unit, for mark ID according to described targeted customer, determines that described ID is in advance Binary digit corresponding in the bitmap bitmap first created, described bitmap comprises multiple binary digit;
Identification record unit, described performs mark for recording in the described binary digit determined.
Device the most according to claim 7, it is characterised in that described mark ID is digital form, This device also includes:
First bitmap creates subelement, is used for inquiring about allocated mark ID, determines mark ID that value is maximum;
Second bitmap creates subelement, for determining the available binary digit number of single array;
3rd bitmap creates subelement, for mark ID maximum according to the value determined and described binary digit Number, calculates array number yet to be built;
4th bitmap creates subelement, and for according to described array number yet to be built, order creates array, wound Multiple arrays composition bitmap that after building, order is connected.
Device the most according to claim 8, it is characterised in that described 3rd bitmap creates subelement Including:
First result computing unit, individual divided by described binary digit for mark ID utilizing described value maximum Number, obtains the first result of calculation;
Round up unit, for described first result of calculation being rounded up, as array number yet to be built.
Device the most according to claim 9, it is characterised in that described binary digit determines unit Including:
Target array computing unit, right in described bitmap for calculating mark ID of described targeted customer The target array answered;
Object binary position computing unit, for calculating mark ID of described targeted customer in described number of targets Object binary position corresponding in group.
CN201610226760.3A 2016-04-13 2016-04-13 Statistical method and device Pending CN105930366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610226760.3A CN105930366A (en) 2016-04-13 2016-04-13 Statistical method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610226760.3A CN105930366A (en) 2016-04-13 2016-04-13 Statistical method and device

Publications (1)

Publication Number Publication Date
CN105930366A true CN105930366A (en) 2016-09-07

Family

ID=56838799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610226760.3A Pending CN105930366A (en) 2016-04-13 2016-04-13 Statistical method and device

Country Status (1)

Country Link
CN (1) CN105930366A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515816A (en) * 2017-07-21 2017-12-26 深圳市金立通信设备有限公司 The method and server of a kind of data statistics
CN108205577A (en) * 2016-12-20 2018-06-26 阿里巴巴集团控股有限公司 A kind of array structure, the method, apparatus and electronic equipment of array inquiry
CN108762717A (en) * 2018-05-21 2018-11-06 杭州海兴电力科技股份有限公司 Meter reading success recording method, statistical method and benefit trick method based on Bit-map
CN110019657A (en) * 2017-07-28 2019-07-16 北京搜狗科技发展有限公司 Processing method, device and machine readable media
CN110134721A (en) * 2019-05-17 2019-08-16 智慧足迹数据科技有限公司 Data statistical approach, device and electronic equipment based on bitmap
CN110532457A (en) * 2019-07-30 2019-12-03 济南浪潮数据技术有限公司 A kind of acquisition network segment ID method and system
CN110535944A (en) * 2019-08-29 2019-12-03 广州华多网络科技有限公司 The method and device of user's alive data processing
CN110727878A (en) * 2019-09-19 2020-01-24 上海易点时空网络有限公司 Distance calculation method and device for collaborative filtering, and collaborative filtering recommendation method and device
CN113190506A (en) * 2021-04-30 2021-07-30 维沃移动通信有限公司 Object attribute saving method and device
CN113377826A (en) * 2021-04-22 2021-09-10 宁波三星医疗电气股份有限公司 Data integrity rate statistical method based on stroke compression
CN114138138A (en) * 2022-01-30 2022-03-04 北京金堤科技有限公司 Operation feedback method and device based on bitmap, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275697A1 (en) * 2006-02-23 2012-11-01 Microsoft Corporation Pre-processing of image data for enhanced compression
CN104298680A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Data statistic method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275697A1 (en) * 2006-02-23 2012-11-01 Microsoft Corporation Pre-processing of image data for enhanced compression
CN104298680A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Data statistic method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AVICHAL: "REDIS BITMAPS–FAST,EASY,REALTIME METRICS", 《HTTPS://BLOG.GETSPOOL.COM/2011/11/29/FAST-EASY-REALTIME-METRICS-USING-REDIS-BITMAPS/》 *
SCDXMOE: "Python: 实现bitmap数据结构", 《HTTPS://BLOG.CSDN.NET/SCDXMOE/ARTICLE/DETAILS/49452607》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205577A (en) * 2016-12-20 2018-06-26 阿里巴巴集团控股有限公司 A kind of array structure, the method, apparatus and electronic equipment of array inquiry
CN107515816A (en) * 2017-07-21 2017-12-26 深圳市金立通信设备有限公司 The method and server of a kind of data statistics
CN110019657B (en) * 2017-07-28 2021-05-25 北京搜狗科技发展有限公司 Processing method, apparatus and machine-readable medium
CN110019657A (en) * 2017-07-28 2019-07-16 北京搜狗科技发展有限公司 Processing method, device and machine readable media
CN108762717B (en) * 2018-05-21 2020-12-29 杭州海兴电力科技股份有限公司 Meter reading success recording method, statistical method and recruitment method based on Bit-map
CN108762717A (en) * 2018-05-21 2018-11-06 杭州海兴电力科技股份有限公司 Meter reading success recording method, statistical method and benefit trick method based on Bit-map
CN110134721A (en) * 2019-05-17 2019-08-16 智慧足迹数据科技有限公司 Data statistical approach, device and electronic equipment based on bitmap
CN110532457A (en) * 2019-07-30 2019-12-03 济南浪潮数据技术有限公司 A kind of acquisition network segment ID method and system
CN110532457B (en) * 2019-07-30 2022-05-24 济南浪潮数据技术有限公司 Method and system for acquiring network segment ID
CN110535944A (en) * 2019-08-29 2019-12-03 广州华多网络科技有限公司 The method and device of user's alive data processing
CN110727878A (en) * 2019-09-19 2020-01-24 上海易点时空网络有限公司 Distance calculation method and device for collaborative filtering, and collaborative filtering recommendation method and device
CN113377826A (en) * 2021-04-22 2021-09-10 宁波三星医疗电气股份有限公司 Data integrity rate statistical method based on stroke compression
CN113190506A (en) * 2021-04-30 2021-07-30 维沃移动通信有限公司 Object attribute saving method and device
CN114138138A (en) * 2022-01-30 2022-03-04 北京金堤科技有限公司 Operation feedback method and device based on bitmap, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105930366A (en) Statistical method and device
CN102724219B (en) A network data computer processing method and a system thereof
Liu et al. Preserving privacy with probabilistic indistinguishability in weighted social networks
CN104504077B (en) The statistical method and device of web page access data
CN108427956A (en) A kind of clustering objects method and apparatus
CN102892073A (en) Continuous query oriented location anonymizing method applicable to location service system
CN101355595A (en) Method and apparatus for locating physical location of IP address
CN104699710A (en) User structure judgment method and device as well as account state recording method and device
CN104618403A (en) Access control method and device for security gateway
CN105447113A (en) Big data based informatiion analysis method
CN106599725B (en) The randomization method for secret protection of diagram data publication
CN101542484A (en) Arrangement for comparing content identifiers of files
CN106657216A (en) Serial number generation method and serial number generation device
CN107124426A (en) The method for authenticating and device of a kind of user's right
CN106789837A (en) Network anomalous behaviors detection method and detection means
CN107798106A (en) A kind of URL De-weight methods in distributed reptile system
CN106487833B (en) The statistical method and device of isolated user number in network monitor
CN107276854A (en) A kind of method of MOLAP statistical analyses under big data
CN107563204A (en) A kind of privacy leakage methods of risk assessment of anonymous data
CN106055561A (en) Method and device for preventing vicious operation of network user
CN104182546B (en) The data query method and device of database
CN104268293B (en) The index treating method and apparatus that can not add up in database
CN110891055B (en) Industrial control network white list abnormity detection method based on rule tree
CN104484357B (en) Data processing method and device and visitation frequency information processing method and device
CN104699747B (en) A kind of approximate member's querying method based on high dimensional data filter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160907