The content of the invention
To overcome problem present in correlation technique, the present invention provides a kind of data processing method and device.
First aspect according to embodiments of the present invention includes there is provided a kind of data processing method, methods described:
During the operating characteristics at execution moment and the sensitive operation when getting user and performing sensitive operation, in user's mark
In the first corresponding relation between knowledge, operating characteristics and bitmap three, search whether to exist and user mark and the behaviour
Make the corresponding bitmap of feature;
When there is the bitmap corresponding with user mark and the operating characteristics, calculate positioned at the end of the bitmap
The unit interval being spaced between the corresponding unit interval of monocase numerical value and unit interval where the execution moment
Number;Monocase numerical value only includes a character;
In the default monocase numerical value of end supplement described several first of the bitmap, and supplemented with described several the
The end of the bitmap of one default monocase numerical value supplements one second default monocase numerical value.
Further, methods described also includes:
When in the absence of the bitmap corresponding with user mark and the operating characteristics, according to the described second default monocase
Numerical value creates bitmap;
User mark, the operating characteristics and the bitmap of the establishment are constituted into a record storage corresponding described first
In relation.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
The default monocase numerical value of end supplement described several first in the bitmap, and supplemented with the number
The end of the bitmap of individual first default monocase numerical value supplements one second default monocase numerical value, including:
Determine the unit interval where the execution moment;
Target time section where the unit interval determined described in being searched in second corresponding relation;
The sub- bitmap corresponding with the target time section found is searched in second corresponding relation;
In the default monocase numerical value of end supplement described several first of the sub- bitmap, and several supplemented with described
The end of the sub- bitmap of first default monocase numerical value supplements one second default monocase numerical value.
Further, methods described also includes:
When to inquire about the total number of species for the operating characteristics that user to be checked occurs in unit interval to be checked, in user
In the first corresponding relation between mark, operating characteristics and bitmap three, searching whether to exist includes the user's to be checked
The target record of user's mark;
When there is the target record of the user for including the user to be checked mark, for each target record, in institute
State in the bitmap in target record, judge in the corresponding monocase numerical value of the unit interval to be checked with the presence or absence of described the
Two default monocase numerical value;
In the bitmap of all target records, count and exist in the corresponding monocase numerical value of the unit interval to be checked
The number of the bitmap of described second default monocase numerical value, and it is used as the total number.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
It is described to judge in the corresponding monocase numerical value of the unit interval to be checked with the presence or absence of the described second default monocase number
Value, including:
The target time section where the unit interval to be checked is searched in second corresponding relation;
The target sub- bitmap corresponding with the target time section is searched in second corresponding relation;
Monocase numerical value corresponding with the unit interval to be checked is searched in the sub- bitmap of the target;
With the presence or absence of the described second default monocase numerical value in the monocase numerical value found described in judging.
Second aspect according to embodiments of the present invention includes there is provided a kind of data processing equipment, described device:
First searching modul, for the behaviour for performing moment and the sensitive operation when getting user and performing sensitive operation
When making feature, in the first corresponding relation between user's mark, operating characteristics and bitmap three, search whether exist and institute
State user and identify the bitmap corresponding with the operating characteristics;
Computing module, for when there is the bitmap corresponding with user mark and the operating characteristics, calculating and being located at institute
It is spaced between the corresponding unit interval of monocase numerical value at the end of rheme figure and the unit interval where the execution moment
Unit interval number;Monocase numerical value only includes a character;
Complementary module, monocase numerical value is preset for described several first in the end of bitmap supplement, and in supplement
The end of the bitmaps of described several first default monocase numerical value supplements one second default monocase numerical value.
Further, described device also includes:
Creation module, for when in the absence of the bitmap corresponding with user mark and the operating characteristics, according to described
Second default monocase numerical value creates bitmap;
Memory module, for user mark, the operating characteristics and the bitmap of the establishment to be constituted into a record storage
In first corresponding relation.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
The complementary module includes:
Determining unit, for determine it is described execution the moment where unit interval;
First searching unit, for the target where the unit interval determined described in being searched in second corresponding relation
Period;
Second searching unit, it is corresponding with the target time section found for being searched in second corresponding relation
Sub- bitmap;
Supplementary units, preset monocase numerical value, and mending for described several first in the end of sub- bitmap supplement
The end for having filled the sub- bitmap of described several first default monocase numerical value supplements one second default monocase numerical value.
Further, described device also includes:
Second searching modul, the species for the operating characteristics that user to be checked occurs in unit interval to be checked will be inquired about for working as
Total number when, identify in user, in the first corresponding relation between operating characteristics and bitmap three, search whether there is bag
Include the target record of user's mark of the user to be checked;
Judge module, for when there is the target record of the user for including the user to be checked mark, for each described
In target record, the bitmap in the target record, judge in the corresponding monocase numerical value of the unit interval to be checked
With the presence or absence of the described second default monocase numerical value;
Statistical module, in the bitmap of all target records, counting the corresponding list of the unit interval to be checked
There is the number of the bitmap of the described second default monocase numerical value in character numerical value, and be used as the total number.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
The judge module includes:
3rd searching unit, for being searched in second corresponding relation during target where the unit interval to be checked
Between section;
4th searching unit, for searching the target sub- position corresponding with the target time section in second corresponding relation
Figure;
5th searching unit, for searching monocase corresponding with the unit interval to be checked in the sub- bitmap of the target
Numerical value;
Judging unit, for judging in the monocase numerical value found with the presence or absence of the described second default monocase numerical value.
The technical scheme that embodiments of the invention are provided can include the following benefits:
In the prior art, for any user and any operation feature, there is the operating characteristics several times in the user, existing
Corresponding relation in technology will store user's mark, several operating characteristicses and the several unit intervals of several users,
Representation at the time of in the prior art is date Hour Minute Second.
And in the present invention, for any user and any operation feature, no matter there is the operating characteristics several times in the user,
The use can be only stored in the corresponding relation between user's mark, operating characteristics and bitmap three in the embodiment of the present invention
User's mark at family and the operating characteristics, do not store the execution moment, but the per unit period is represented using bitmap
Whether the operating characteristics is occurred, wherein, identifying bitmap corresponding with a certain operating characteristics in a certain user includes multiple individual characters
Numerical value is accorded with, any monocase numerical value can represent that the user identifies corresponding user in the corresponding unit of the monocase numerical value
Between section whether occur in that the operating characteristics, therefore, compared to prior art, the embodiment of the present invention can save memory space.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, it can not limit
The system present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to accompanying drawing
When, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.In following exemplary embodiment
Described embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are weighed with such as appended
The example of the consistent apparatus and method of some aspects be described in detail in sharp claim, the present invention.
Fig. 1 is a kind of flow chart of data processing method according to an exemplary embodiment, as shown in figure 1, this method
For in terminal, comprising the following steps.
In step S101, moment and the operating characteristics of the sensitive operation are performed when getting user and performing sensitive operation
When, identify in user, in the first corresponding relation between operating characteristics and bitmap three, search whether to exist and the user marks
Know the bitmap corresponding with the operating characteristics;
In embodiments of the present invention, user is identified for unique mark user, title or user that can be for user for identifying
User account of account etc., the present invention is not limited to this.
Sensitive operation can be to pay, transfer accounts and log in etc. the operation closely bound up with the property of user.
Generally, user is that sensitive operation is performed in the terminal oneself used, therefore, and operating characteristics can be user
Hardware identifier of terminal that the IP address of the terminal used or user use etc., the hardware identifier of different terminals is different.
Terminal can be mobile phone, tablet personal computer or Intelligent worn device etc., and the present invention is not limited to this.
For example, when user needs login service device, user can obtain the login page for login service device in terminal,
Login page includes login account input frame, login password input frame and login button, and user can be in login account input frame
Middle input user account, and user cipher is inputted in login password input frame, then click on login button;When terminal connects
When receiving user and clicking on the operation of login button, it is determined that receive sensitive operation, now terminal will obtain terminal it is current when
Execution moment when carving and performing the sensitive operation as user, then obtain user account that user input in login page with
User cipher, and obtain the current IP address of terminal or hardware identifier and be used as the operating characteristics of the sensitive operation, afterwards end
Hold to server and send the user account, the user cipher, the execution moment and the operating characteristics.
Server receiving terminal sends the user account, the user cipher, the execution moment and the operating characteristics, then obtains
The first corresponding relation between the user's mark, operating characteristics and the bitmap three that are locally stored, and looked into the first corresponding relation
Look for the presence or absence of the bitmap identified with the user and the operating characteristics is corresponding.
When there is the bitmap corresponding with user mark and the operating characteristics, in step s 102, calculating and being located at the bitmap
The corresponding unit interval of monocase numerical value at end and the unit interval where the execution moment between be spaced unit when
Between section number;
Bitmap is made up of multiple monocase numerical value, and any one monocase numerical value is that the first default monocase numerical value or second are default
Monocase numerical value, wherein, the first default monocase numerical value can be 0, and the second default monocase numerical value can be 1.
Each monocase numerical value in bitmap all corresponds to a unit interval, in the adjacent monocase numerical value of any two,
Two monocase numerical value corresponding period is also adjacent.Secondly, in a bitmap, it is assumed that monocase numerical value 1 and individual character
Symbol numerical value 2 is adjacent, and monocase numerical value 1 is located at before monocase numerical value 2, then the corresponding unit interval of monocase numerical value 1
Section and monocase numerical value 1 corresponding unit interval adjacent with the corresponding unit interval of monocase numerical value 2 is located at monocase number
Before the corresponding unit interval of value 2.
The duration of unit interval can be 1 second, 2 seconds or 3 seconds etc., and the present invention is not limited to this.It should be noted that
In embodiments of the present invention, only with unit interval when be illustrated within a length of 1 second, but not as to the present invention protection
The limitation of scope.
Wherein, can be with when a certain monocase numerical value in bitmap to be obtained is corresponding performs the unit interval where the moment
The serial number of the monocase numerical value in bitmap is searched, the serial number of the monocase numerical value in bitmap can be:It is located at
The number+1 of monocase numerical value before the monocase numerical value.The monocase numerical value corresponding unit interval performed where the moment
Section is the unit interval for being ordered as the serial number;For example, the unit interval for being ordered as 1 is the 0th second~the 1st second,
The unit interval for being ordered as 2 is the 1st second~the 2nd second, and the unit interval for being ordered as 3 is the 2nd second~the 3rd second etc..
Wherein, in a certain bar record in the first corresponding relation between user's mark, operating characteristics and bitmap three, when
When a certain monocase numerical value in bitmap in the record presets monocase numerical value for first, then it represents that user's mark in the record
Know operating characteristics of the corresponding user in the record occurred in the corresponding unit interval of a certain monocase numerical value;When the note
When a certain monocase numerical value in bitmap in record presets monocase numerical value for second, then it represents that user's mark pair in the record
Operating characteristics of the user answered in the corresponding unit interval of a certain monocase numerical value did not occurred the record.
In embodiments of the present invention, for the user and the operating characteristics, when the user in a certain unit interval occurs in that this
During operating characteristics and after the default monocase numerical value of end supplement second of bitmap, if one after the unit interval
Or continuous multiple unit intervals do not occur this feature, without presetting monocase numerical value in the end of bitmap supplement first, directly
To the user when a unit interval after the unit interval occurs in that the operating characteristics, the unit interval is determined
The number of section and the unit interval being spaced between the unit interval after the unit interval, then in bitmap
End supplement this several first and preset monocase numerical value, then in the position that monocase numerical value is preset supplemented with this several first
The end of figure supplements one second default monocase numerical value.
For example, it is assumed that unit interval when a length of 1 second, the first default monocase numerical value is the 0, and second default monocase
Numerical value is 1.To user 1 and operating characteristics IP1, it is assumed that now the bitmap corresponding with user 1 and IP1 is " 001101 ",
It can be drawn from bitmap " 001101 ":User 1 did not occurred IP1 at the 1st second~the 2nd second, and user 1 was at the 2nd second~the 3rd second
Do not occur IP1, user 1 occurred in that IP1 at the 3rd second~the 4th second, and user 1 occurred in that IP1 at the 4th second~the 5th second, use
Family 1 did not occurred IP1 at the 5th second~the 6th second, and user was occurring in that IP1 at the 6th second~the 7th second.
Assuming that user 1 did not occurred IP1 at the 7th second~the 8th second, then without to the bitmap corresponding with IP1 of user 1 " 001101 "
It is updated, if user 1 does not occur feature IP1 at the 8th second~the 9th second and at the 9th second~the 10th second yet, and until
User 1 just occurs in that IP1 within 10th second~the 11st second, because the monocase numerical value " 1 " positioned at bitmap " 001101 " end is right
The unit interval answered is the 6th second~the 7th second, and three are spaced between the 6th second~the 7th second and the 10th second~the 11st second
Unit interval, be respectively:7th second~the 8th second, the 8th second~the 9th second and the 9th second~the 10th second, then in bitmap " 001101 "
End supplements 30, obtains bitmap " 001101000 ", and then supplementing one 1 at bitmap " 001101000 " end obtains
To bitmap " 0011010001 ".
In step s 103, this several first is supplemented at the end of the bitmap and presets monocase numerical value, and supplemented with this
The end of the bitmap of individual several first default monocase numerical value supplements one second default monocase numerical value;
Preferably, the first default monocase numerical value can be 0, and the second default monocase numerical value can be 1.
In embodiments of the present invention, the number for the monocase numerical value that the bitmap sometimes in a record includes can be very more, example
Such as, it is assumed that unit interval when a length of 1 second, include 86400 unit intervals within one day, each unit interval is right
A monocase numerical value is answered, then after many days, the number of the monocase numerical value included in bitmap will be countless.
When the number for the monocase numerical value that the bitmap during one records includes is very more, if to be searched in a bitmap
During the corresponding monocase numerical value of a certain unit interval, it is corresponding in very many monocase numerical value to search the unit interval
Monocase numerical value can take a lot of time, and search efficiency is relatively low.
Therefore, in order to improve search efficiency, in an alternative embodiment of the invention, for user's mark, operating characteristics and bitmap
Any one record in the first corresponding relation between three, the bitmap during this is recorded is split as many according to target time section
Individual sub- bitmap, the duration of target time section is more than the duration of unit interval, for any sub- bitmap of fractionation, by the sub- position
Scheme corresponding target time section and the sub- bitmap is stored in the second corresponding relation between target time section and sub- bitmap, for
Other each sub- bitmaps split, are performed both by aforesaid operations.Now the bitmap in the first corresponding relation is target time section and son
The second corresponding relation between bitmap.
The duration of target time section can be 6 hours, 12 hours or 24 hours etc., and the present invention is not limited to this, this hair
Bright embodiment with target time section when be illustrated within a length of 24 hours, but not as limiting the scope of the invention,
Namely target time section when a length of 86400 seconds, include up to 86400 monocase numerical value in a sub- bitmap.Wherein,
In embodiments of the present invention, every day can be a target time section, and so, target time section can think date, example
Such as so-and-so in so-and-so in year one day the moon.
So, if to search the corresponding monocase numerical value of a certain unit interval, the unit interval institute can first be determined
Target time section, then in the second corresponding relation between target time section and sub- bitmap search with the target time section
Corresponding sub- bitmap, searches the corresponding monocase numerical value of the unit interval, due to the sub- bitmap in the sub- bitmap afterwards
The number of the monocase numerical value included is less, therefore it is corresponding quickly can to find the unit interval from the sub- bitmap
Monocase numerical value.
If, can for example, 3 points of the 20th~21 second corresponding monocase numerical value when searching 2015 08 month 08 day 15
To determine target time section first as on 08 08th, 2015, then the second couple between target time section and sub- bitmap
Should be related to it is middle lookup and target time section 2015 year 08 month corresponding sub- bitmap on the 08th, then with target time section 2015
3 points of the 20th~21 second corresponding monocase numerical value when year searches 15 in 08 day 08 month in corresponding sub- bitmap.
Wherein, in this step S103, it may be determined that the unit interval where the execution moment;In the second corresponding relation
Search the target time section where the unit interval determined;The object time searched and found in the second corresponding relation
The corresponding sub- bitmap of section;This several first is supplemented at the end of the sub- bitmap and presets monocase numerical value, and supplemented with
The end that this several first presets the sub- bitmap of monocase numerical value supplements one second default monocase numerical value.
It is default single according to second in step S104 when in the absence of the bitmap corresponding with user mark and operating characteristics
Character numerical value creates bitmap;
When in the absence of the bitmap corresponding with the user of user mark and the operating characteristics, illustrate the user in historical process
In do not occurred the operating characteristics also, now in order to which the operating characteristics that the user occurs at the execution moment is stored,
Need to create a bitmap according to the second default monocase numerical value.Wherein it is possible to count positioned at the unit where the execution moment
The quantity of unit interval before period, generates a room figure, quantity first is supplemented in the figure of room default single
Character numerical value, then in last the first default monocase numerical value of default monocase numerical value supplement second.
In step S105, the user is identified, bitmap of the operating characteristics with creating constitutes one and be recorded and stored in first
In corresponding relation.
In an alternative embodiment of the invention, sometimes may continuously occur the default individual character of destination number first in a bitmap
Numerical value is accorded with, destination number is more than or equal to 4, due to continuously there is the character that the default monocase numerical value of destination number first includes
Quantity it is more, therefore, when in a bitmap it is continuous there is the default monocase numerical value of destination number first when, can be by position
Continuously occur the default monocase numerical value of destination number first in figure and replace with " the default list of the default identifier first of destination number
Character numerical value ", default identifier only includes a character, can be "×" or "+" etc., and the present invention is not limited this
It is fixed.
Wherein, in alphabet A~Z, each sequencing numbers of letter in alphabet A~Z is different, for example, A
Sequencing numbers in alphabet A~Z are that sequencing numbers of 1, the B in alphabet A~Z are 2, and Z is in alphabet A~Z
In sequencing numbers be 26.Therefore, in an alternative embodiment of the invention, it is possible to use sequence of the letter in alphabet A~Z
Number to represent destination number.
So, when destination number is less than or equal to 26, " destination number presets identifier first and presets monocase numerical value "
Only include 3 characters, so as to save memory space., can be with for example, it is assumed that continuously occur in that 10 0 in bitmap
" J × 0 " is replaced with by continuously occur 10 0.
When destination number is more than 26, " destination number preset identifier first preset monocase numerical value " though the character included
So it is more than 3, but can still saves memory space;And when destination number is far longer than 26, save the effect of memory space
Fruit is more preferably obvious.For example, it is assumed that continuously occurring in that 52 0 in bitmap, " 2 can be replaced with by continuously occur 52 0
×Z×0”.Or, it is assumed that assuming that continuously occurring in that 45 0 in bitmap, continuously occur 45 0 can be replaced with
“3×O×0”。
Wherein, sometimes can may also continuously occur the default monocase numerical value of destination number second, number of targets in a bitmap
Amount is more than or equal to 4, due to continuously occur the quantity for the character that the default monocase numerical value of destination number second includes compared with
It is many, therefore, when in a bitmap it is continuous there is the default monocase numerical value of destination number second when, can will be continuous in bitmap
There is the default monocase numerical value of destination number first and replace with that " it is pre- that destination number presets identifier second in the manner described above
If monocase numerical value ", so as to save memory space.
In the prior art, for any user and any operation feature, there is the operating characteristics several times in the user, existing
Corresponding relation in technology will store user's mark, several operating characteristicses and the several unit intervals of several users,
Representation at the time of in the prior art is date Hour Minute Second.
And in the embodiment shown in Fig. 1 of the present invention, for any user and any operation feature, no matter the user occurred
In the corresponding relation between user's mark, operating characteristics and bitmap three in the operating characteristics several times, the embodiment of the present invention only
The user that the user can only be stored identifies and the operating characteristics, does not store the execution moment, but using bitmap come table
Show whether the per unit period operating characteristics occurs, wherein, identify position corresponding with a certain operating characteristics in a certain user
Figure includes multiple monocase numerical value, and any monocase numerical value can represent that the user identifies corresponding user in the monocase
Whether the corresponding unit interval of numerical value occurs in that the operating characteristics, therefore, and compared to prior art, the embodiment of the present invention can
To save memory space.
Afterwards, it may be desirable to inquire about the total number of the species for the operating characteristics that user occurs in a certain unit interval, exist
In further embodiment of this invention, the operating characteristics that user occurs in a certain unit interval can be inquired about by the following method
Species total number, referring to Fig. 2, this method includes:
In step s 201, it is total when the species that inquire about the operating characteristics that user to be checked occurs in unit interval to be checked
During number, in the first corresponding relation between user's mark, operating characteristics and bitmap three, searching whether to exist includes treating
Inquire about the target record of user's mark of user;
When there is the target record of the user for including user to be checked mark, in step S202, for each target record,
In bitmap in target record, judge default single with the presence or absence of second in the corresponding monocase numerical value of unit interval to be checked
Character numerical value;
Further, when the target record in the absence of user's mark including user to be checked, then illustrate in historical process
User did not occurred the operating characteristics, so as to terminate flow.
In an alternative embodiment of the invention, if bitmap in the first corresponding relation is the between target time section and sub- bitmap
Two corresponding relations;The duration of target time section is more than the duration of unit interval;
Then this step is specifically as follows:For either objective record, the bitmap in the target record is target time section and sub- position
The second corresponding relation between figure, the target time section where searching unit interval to be checked in above-mentioned second corresponding relation;
The sub- bitmap of the target corresponding with the target time section found is searched in above-mentioned second corresponding relation;In the sub- bitmap of target
Search monocase numerical value corresponding with unit interval to be checked;It is pre- with the presence or absence of second in the monocase numerical value that judgement is found
If monocase numerical value.For other each target records, aforesaid operations are performed both by.
In step S203, in the bitmap of all target records, the corresponding monocase numerical value of unit interval to be checked is counted
The number of the middle bitmap that there is the second default monocase numerical value, and it is used as the total number.
Fig. 3 is a kind of block diagram of data processing equipment according to an exemplary embodiment.Reference picture 3, the device includes:
First searching modul 11, for performing moment and the sensitive operation when getting user and performing sensitive operation
During operating characteristics, identify in user, in the first corresponding relation between operating characteristics and bitmap three, search whether to exist with
The user identifies the bitmap corresponding with the operating characteristics;
Computing module 12, for when there is the bitmap corresponding with user mark and the operating characteristics, calculating to be located at
Between between the corresponding unit interval of monocase numerical value at the end of the bitmap and the unit interval where the execution moment
Every unit interval number;Monocase numerical value only includes a character;
Complementary module 13, presets monocase numerical value, and mending for described several first in the end of bitmap supplement
The end for having filled the bitmap of described several first default monocase numerical value supplements one second default monocase numerical value.
Further, described device also includes:
Creation module, for when in the absence of the bitmap corresponding with user mark and the operating characteristics, according to described
Second default monocase numerical value creates bitmap;
Memory module, for user mark, the operating characteristics and the bitmap of the establishment to be constituted into a record storage
In first corresponding relation.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
The complementary module 13 includes:
Determining unit, for determine it is described execution the moment where unit interval;
First searching unit, for the target where the unit interval determined described in being searched in second corresponding relation
Period;
Second searching unit, it is corresponding with the target time section found for being searched in second corresponding relation
Sub- bitmap;
Supplementary units, preset monocase numerical value, and mending for described several first in the end of sub- bitmap supplement
The end for having filled the sub- bitmap of described several first default monocase numerical value supplements one second default monocase numerical value.
Further, described device also includes:
Second searching modul, the species for the operating characteristics that user to be checked occurs in unit interval to be checked will be inquired about for working as
Total number when, identify in user, in the first corresponding relation between operating characteristics and bitmap three, search whether there is bag
Include the target record of user's mark of the user to be checked;
Judge module, for when there is the target record of the user for including the user to be checked mark, for each described
In target record, the bitmap in the target record, judge in the corresponding monocase numerical value of the unit interval to be checked
With the presence or absence of the described second default monocase numerical value;
Statistical module, in the bitmap of all target records, counting the corresponding list of the unit interval to be checked
There is the number of the bitmap of the described second default monocase numerical value in character numerical value, and be used as the total number.
Wherein, the bitmap in first corresponding relation is the second corresponding relation between target time section and sub- bitmap;Target
The duration of period is more than the duration of unit interval;
The judge module includes:
3rd searching unit, for being searched in second corresponding relation during target where the unit interval to be checked
Between section;
4th searching unit, for searching the target sub- position corresponding with the target time section in second corresponding relation
Figure;
5th searching unit, for searching monocase corresponding with the unit interval to be checked in the sub- bitmap of the target
Numerical value;
Judging unit, for judging in the monocase numerical value found with the presence or absence of the described second default monocase numerical value.
In the prior art, for any user and any operation feature, there is the operating characteristics several times in the user, existing
Corresponding relation in technology will store user's mark, several operating characteristicses and the several unit intervals of several users,
Representation at the time of in the prior art is date Hour Minute Second.
And in the embodiment shown in Fig. 3 of the present invention, for any user and any operation feature, no matter the user occurred
In the corresponding relation between user's mark, operating characteristics and bitmap three in the operating characteristics several times, the embodiment of the present invention only
The user that the user can only be stored identifies and the operating characteristics, does not store the execution moment, but using bitmap come table
Show whether the per unit period operating characteristics occurs, wherein, identify position corresponding with a certain operating characteristics in a certain user
Figure includes multiple monocase numerical value, and any monocase numerical value can represent that the user identifies corresponding user in the monocase
Whether the corresponding unit interval of numerical value occurs in that the operating characteristics, therefore, and compared to prior art, the embodiment of the present invention can
To save memory space.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in the reality about this method
Apply in example and be described in detail, explanation will be not set forth in detail herein.
Those skilled in the art will readily occur to other realities of the present invention after considering specification and putting into practice invention disclosed herein
Apply scheme.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Adaptations follow the general principle of the present invention and including the undocumented common knowledge or used in the art of the present invention
Use technological means.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by appended right
It is required that pointing out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and can
To carry out various modifications and changes without departing from the scope.The scope of the present invention is only limited by appended claim.