CN105955969A - User behavior data ranking method and device - Google Patents
User behavior data ranking method and device Download PDFInfo
- Publication number
- CN105955969A CN105955969A CN201510771487.8A CN201510771487A CN105955969A CN 105955969 A CN105955969 A CN 105955969A CN 201510771487 A CN201510771487 A CN 201510771487A CN 105955969 A CN105955969 A CN 105955969A
- Authority
- CN
- China
- Prior art keywords
- user behavior
- behavior data
- user
- data
- data set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
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 Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of computers, and discloses a user behavior data ranking method and device. The user behavior data ranking method includes that: a terminal acquires a maximum value and a minimum value included in each first use behavior data set corresponding to a target data type in a first time period from a database server, and acquires at least one piece of second user behavior data corresponding to the target data type in a second time period; the terminal determines a maximum value and a minimum value of each second user behavior data set; the terminal determines a second user behavior data set to which the at least one piece of second user behavior data belongs; the terminal determines a position of the at least one piece of second user behavior data in all the second user behavior data; and the terminal performs a display operation according to the position of the at least one piece of second user behavior data in all the second user behavior data. The user behavior data ranking method and device can solve the problem that the amount of computation is large, real-time ranking cannot be achieved, and the intuition cannot be achieved in the prior art.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of user behavior data arrangement method and dress
Put.
Background technology
Ranking is usually used in comparing things according to a certain appointment index, is that computer carries out information processing
One of basic function, range of application is extremely wide, particularly divides in information retrieval, Database Systems, data
It is widely used during analysis and data feature mining etc..Generally by the sequence of " the 1st, the 2nd, the 3rd ... "
Row mode represents, can be seen that things power on this specific indexes by ranking.
Along with the development of network technology, need increasing user data is carried out ranking, traditional method
It is to extract whole user behavior datas (such as consumption figure, the empirical value etc. of game player of user), to institute
The behavioral data having user is ranked up, for needing the user of ranking, and its position knot in collating sequence
Fruit is exactly ranking corresponding to this user.
This method needs to obtain substantial amounts of data, when the data of magnanimity carry out ranking, needs to consume in a large number
Computer resource, and operand is big, and operation time is long, is difficult at short notice user data be carried out reality
Time gather, be therefore the analytical calculation carried out based on off-line data, the ranking of user behavior data cannot be accomplished
Real-time update.Additionally, the situation that the arrangement method of traditional user behavior data dynamically changes at number of users
Can not demonstrate intuitively down and need the position of precedence data, as being 1,000 and number of users is 1 when number of users
In the case of hundred million, for ranking is the user of 889, there is different business implications.
In sum, existing time data are carried out ranking in prior art, operand is big, needs to consume a large amount of
Computer resource, it is impossible to real-time update and the problem without intuitive.
Summary of the invention
The embodiment of the present invention provides a kind of user behavior data arrangement method and device, in order to solve prior art
During middle data rank, operand is big, it is impossible to real-time ranking and the problem without intuitive.
The user behavior data arrangement method that the embodiment of the present invention provides includes:
Terminal, after being connected with database server, obtains in first time period from described database server
Maximum that each first user behavioral data set corresponding to target data type includes and minima, with
And from described database server, obtain corresponding at least one of the second time period internal object data type
Two user behavior datas;The first user behavioral data set wherein obtained is according in first time period
One user behavior data ranking results divides, and described first time period is early than described second time period;
Described terminal, according to the maximum of each first user behavioral data set and minima, determines each
The maximum of two user behavior data set and minima;
Described terminal according to the maximum of described second user behavior data set and minima, determine described in extremely
Few the second user behavior data set belonging to second user behavior data;
Described terminal is according to the second user behavior data belonging at least one second user behavior data described
Set, determines described at least one second user behavior data position in all second user behavior datas
Put;
Described terminal according at least one second user behavior data described at all second user behavior datas
In position, carry out display operation.
From described database server, first time period internal object data type correspondence is obtained it is preferred that described
The maximum that includes of each first user behavioral data set and minima before, also include:
Described terminal, after being connected with database server, obtains all first from described database server
User behavior data;
The all first user behavioral datas obtained, according to numerical values recited, are ranked up by described terminal, and will
First user behavioral data after sequence is divided into multiple interval;
First user behavioral data one first user behavior of composition that each interval is included by described terminal
Data acquisition system;
The maximum of the first user behavioral data that each first user behavioral data set is included by described terminal
Value and minima, bind with described first time period and described target data type, and is sent to described
Database server.
It is preferred that described terminal is according to the maximum of each first user behavioral data set and minimum
Value, determines maximum and the minima of each second user behavior data set, including:
Described terminal obtains the first meansigma methods from described database server, and described first meansigma methods is described
The meansigma methods of first user behavioral data;
Described terminal calculates the meansigma methods of all second user behavior datas, as the second meansigma methods;
Described terminal according to the ratio between described first meansigma methods and described second meansigma methods, and each
The maximum of one user behavior data set and minima, determine that each second user behavior data set is
Big value and minima.
It is preferred that described terminal is according to second user's row belonging at least one second user behavior data described
For data acquisition system, determine that at least one second user behavior data described is in all second user behavior datas
Position, including:
For second user behavior data, described terminal determines belonging to described second user behavior data
Second user behavior data is integrated into the position in whole second user behavior data set;
Described terminal is according to the second user behavior data set belonging to described second user behavior data
It is worth greatly and minima, and the second user behavior data determined is integrated into whole second user behavior data collection
Position in conjunction, determines second user behavior data position in all second user behavior datas.
It is preferred that described terminal according at least one second user behavior data described at all second user's row
For the position in data, carry out display operation, including:
For second user behavior data, described terminal is according to data type and the corresponding pass of indicating template
System, determines the indicating template that described target data type is corresponding;
The ranking of described second user behavior data, by selected indicating template, is shown by described terminal
Show.
A kind of user behavior data ranking device, including:
Acquisition module, for after terminal is connected with database server, obtains from described database server
The each first user behavioral data set taking first time period internal object data type corresponding includes
Big value and minima, and from described database server, obtain the second time period internal object data type pair
At least one answered the second user behavior data;The first user behavioral data set wherein obtained is according to
First user behavioral data ranking results in one time period divides, and described first time period is early than described the
Two time periods;
Determine module, for the maximum according to each first user behavioral data set and minima, determine
The maximum of each second user behavior data set and minima;According to described second user behavior data collection
The maximum closed and minima, determine at least one second user's row belonging to the second user behavior data described
For data acquisition system;
Order module, for according to the second user behavior belonging at least one second user behavior data described
Data acquisition system, determines that at least one second user behavior data described is in all second user behavior datas
Position;
Display module, is used for according at least one second user behavior data described at all second user behaviors
Position in data, carries out display operation.
It is preferred that described acquisition module, it is additionally operable to according to numerical values recited, to all first user row obtained
It is ranked up for data, and the first user behavioral data after sequence is divided into multiple interval;Described terminal will
First user behavioral data one first user behavioral data set of composition that each interval includes;
Described determine module, be additionally operable to the first user behavior each first user behavioral data set included
The maximum of data and minima, bind with described first time period and described target data type, and
It is sent to described database server;
Described acquisition module, is additionally operable to after being connected with database server, from described database server
Obtain all first user behavioral datas.
It is preferred that described acquisition module, it is additionally operable to obtain the first meansigma methods from described database server,
Described first meansigma methods is the meansigma methods of described first user behavioral data;
Described determine module, be additionally operable to calculate the meansigma methods of all second user behavior datas, flat as second
Average;According to the ratio between described first meansigma methods and described second meansigma methods, and each first user
The maximum of behavioral data set and minima, determine each second user behavior data set maximum and
Minima.
It is preferred that described order module, it is additionally operable to:
For second user behavior data, determine the second user belonging to described second user behavior data
Behavioral data is integrated into the position in whole second user behavior data set;
Maximum according to the second user behavior data set belonging to described second user behavior data and
Little value, and the second user behavior data determined is integrated into the position in whole second user behavior data set
Put, determine second user behavior data position in all second user behavior datas.
It is preferred that described display module, it is additionally operable to:
For second user behavior data, according to data type and the corresponding relation of indicating template, determine
The indicating template that described target data type is corresponding;
By selected indicating template, the ranking of described second user behavior data is shown.
In the embodiment of the present invention, it is divided into some after the user behavior data in first time period is ranked up
Individual first user behavioral data set, terminal is after being connected with database server, from database server
Obtain the maximum in each first user behavioral data set and minima, according to each first user behavior
The maximum of data acquisition system and minima, it can be deduced that second time period in second more late than first time period
The maximum of user behavior data set and minima, it would be desirable to the second user behavior data of ranking is with each
Maximum and the minima of the second user behavior data set compare, and determine this second user behavior data institute
The the second user behavior data set belonged to, thus calculate further and treat that the second user behavior data of ranking exists
Position in all second user behavior datas, and according to this position, the ranking of user behavior data is arranged
Sequence.It can thus be seen that in the embodiment of the present invention, can calculate according to certain customers' behavioral data in past
Go out the ranking of active user behavioral data, owing to only needing the maximum in user behavior data set and minimum
Value, therefore, compared to needing in prior art to extract whole user behavior datas, greatly reduces calculating
Amount, mutually deserved also shortens operation time.Calculated now by the user behavior data of section in those years
The ranking of user behavior data, owing to being not necessarily based on the sequence of now all of user behavior data, therefore may be used
To accomplish the real-time update of user behavior data ranking, more convenient compared to prior art.Additionally,
To in a certain user behavior data ranking, the result drawn is directly that this user behavior data is all users
Position in behavioral data, such as, can be this user behavior data percentage in all user behavior datas
Ranking, therefore, it can find out intuitively in all user behavior datas, come this user behavior data it
Before have how many user behavior datas, have how many user behavior datas after coming this user behavior data, especially
Intuitive is had more in the case of mass users Number dynamics changes.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the present invention's
Some embodiments, from the point of view of those of ordinary skill in the art, in the premise not paying creative work
Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of user behavior data arrangement method in the embodiment of the present invention;
Fig. 2 is to obtain the maximum in first user behavioral data set and minima in the embodiment of the present invention
Method flow diagram;
Fig. 3 is the method stream of the upper lower limit value obtaining user behavior data set in February in the embodiment of the present invention
Cheng Tu;
Fig. 4 is the signal in the embodiment of the present invention shown the ranking of described second user behavior data
Figure;
Fig. 5 is the flow chart of a kind of user behavior data arrangement method in the embodiment of the present invention;
Fig. 6 is the schematic diagram of user behavior data ranking device in the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this
Bright it is described in further detail, it is clear that described embodiment is only some embodiments of the present invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out all other embodiments obtained under creative work premise, broadly fall into the scope of protection of the invention.
Embodiments provide a kind of user behavior data arrangement method, the flow process of the method such as Fig. 1 institute
Showing, method may include steps of:
S101, terminal are after being connected with database server, when obtaining first from described database server
Between the maximum that includes of each first user behavioral data set corresponding to section internal object data type and
Little value, and it is corresponding at least to obtain the second time period internal object data type from described database server
One the second user behavior data;The first user behavioral data set wherein obtained is according to first time period
Interior first user behavioral data ranking results divides, and described first time period is early than described second time
Section;
S102, described terminal, according to the maximum of each first user behavioral data set and minima, determine
The maximum of each second user behavior data set and minima;
S103, described terminal, according to the maximum of described second user behavior data set and minima, determine
At least one second user behavior data set belonging to the second user behavior data described;
S104, described terminal are according to the second user behavior belonging at least one second user behavior data described
Data acquisition system, determines that at least one second user behavior data described is in all second user behavior datas
Position;
S105, described terminal according at least one second user behavior data described at all second user behaviors
Position in data, carries out display operation.
In the embodiment of the present invention, active user behavior can be calculated according to certain customers' behavioral data in past
The ranking of data, owing to only needing the maximum in user behavior data set and minima, therefore, compared to
Prior art needs extract whole user behavior datas, greatly reduce amount of calculation, mutually deserved also shorten
Operation time.The row of present user behavior data is calculated by the user behavior data of section in those years
Name, owing to being not necessarily based on the sequence of now all of user behavior data, therefore can accomplish user behavior number
According to the real-time update of ranking, more convenient compared to prior art.Additionally, to a certain user behavior
In data rank, the result drawn is directly this user behavior data position in all user behavior datas
Put, such as, can be this user behavior data percentage ranking in all user behavior datas, therefore, can
To find out intuitively in all user behavior datas, before coming this user behavior data, there is how many user's row
For data, after coming this user behavior data, there are how many user behavior datas, especially in mass users quantity
Dynamically have the most explanatory in the case of change.
The method of the embodiment of the present invention can be used in several scenes, as user's moon of certain credit card consumes gold
The ranking of volume, the ranking of the transaction stroke count of certain website Zhong Ge businessman, the starting up speed of computer is in the computer of the whole nation
Ranking etc..
In step S101, maximum and minima in first user behavioral data set are passed through with lower section
Method obtains, as shown in Figure 2:
S201, described terminal, after being connected with database server, obtain institute from described database server
There is first user behavioral data;
The all first user behavioral datas obtained, according to numerical values recited, are ranked up by S202, described terminal,
And the first user behavioral data after sequence is divided into multiple interval;
First user behavioral data one first user of composition that each interval is included by S203, described terminal
Behavioral data set;
The first user behavioral data that each first user behavioral data set is included by S204, described terminal
Maximum and minima, bind with described first time period and described target data type, and be sent to
Described database server.
Specifically, for the ease of statement, the embodiment of the present invention is by all user behaviors in certain time period
Data are ranked up by size, are then divided into the by stages such as 100, use percent ranking to replace tradition
General ranking mode.If number of users is N, a certain user behavior data is by traditional arrangement method ranking
For xth name, the most in embodiments of the present invention, user's percent ranking is (x/N × 100) %, i.e. represents
Come the user having (x/N × 100) % before this user, come below have (100-x/N × 100) %
User.As, in 10,000 user behavior datas, certain user behavior data comes the 2483rd, then
In embodiments of the present invention, this user comes 24.83%, and he has exceeded the user of 75.17%.
Mass users behavioral data typically has certain regularity of distribution, the change of the data in certain period of time
Change and also there is regularity, the percentage of active user's behavioral data can be estimated according to the user behavior data in past
Number ranking.Such as, in February, the meansigma methods of some type of user behavior data is a1, putting down of March
Average is 1.3 × a1, then the user that user behavior data is constant is for the percent ranking in March is relative to February
The most rearward.Maximum in each user behavior data set in March and minima, all can be according to February
Maximum and minima in each user behavior data set of part determine, i.e. relative users behavioral data collection
In conjunction, March maximum and February maximum between ratio, March minima minimum with February
Ratio between value, is equal to the ratio between meansigma methods in March and February meansigma methods.Therefore, it can
The user behavior data of certain time period is divided set by the change according to meansigma methods, i.e. step S102 is concrete
May include that
Described terminal obtains the first meansigma methods from described database server, and described first meansigma methods is described
The meansigma methods of first user behavioral data;
Described terminal calculates the meansigma methods of all second user behavior datas, as the second meansigma methods;
Described terminal according to the ratio between described first meansigma methods and described second meansigma methods, and each
The maximum of one user behavior data set and minima, determine that each second user behavior data set is
Big value and minima.
For example, in the embodiment of the present invention, user behavior data is divided into 100 deciles, as point the
Before user behavior data in one decile i.e. represents that the percent ranking of this user behavior data is 1%, point
User behavior data in the second decile represents that the percent ranking of this user behavior data is 1%~2%,
The percent ranking dividing the user behavior data in trisection to represent this user behavior data is
2%~3%, by that analogy, divide the user behavior data in the 100th decile to represent this user behavior data
Percent ranking is 99%~100%.For convenience of calculation, this 100 decile is again divided into 10 collection
Close, for (0,10%], (10%, 20%] ... (90%, 100%].By in certain time period in database server
User behavior data set, and higher limit and the lower limit in each set store, such as 2015
The division of certain type of user behavioral data in February in year is as shown in table 1:
Table 1
Specifically, for mass users behavioral data, user behavior in February can be obtained in the following manner
The upper lower limit value of data acquisition system, as it is shown on figure 3, include:
S301, from database server, obtain all user behavior datas in February, user behavior data
Number be λ.
S302, that all user behavior datas are divided into several values is interval, the initial count that each value is interval
It is 0.Such as, dividing a value interval every 500, the size of data in first value interval is 0~500
Within, the size of data in second value interval is 500~1000, and by that analogy, i.e. value interval is respectively
(0,500]、(500,1000]、(1000,1500]……。
S303, each user behavior data be included into be worth interval accordingly, and calculate each value interval in use
The number of family behavioral data.
S304, start to calculate the upper lower limit value of user behavior data set from the last set, first
Calculate user behavior data set (90%, 100%] in upper lower limit value.
Specifically, start the number of user behavior data in accumulated value interval from minimum value interval, i.e. from value
Interval (0,500] start to add up, until the number of cumulative user behavior data is more than or equal to λ/10.If stopping
Value interval time only cumulative be (p, q], its median interval (p, q] in the number of user behavior data be ξ, tire out
Total number of the user behavior data added is η, then user behavior data set (90%, 100%] in lower limit
c10For cumulative initial value interval (0,500] in lower limit, higher limit b10For:
b10=q-(q-p) × (η-λ/10)/ξ ... ... ... ... ... ... ... ... formula 1
For example, if one has 10000 user behavior datas, 200 are wherein had to belong to value interval
(0,500], 900 belong to value interval (500,1000], calculate (90%, 100%] in upper lower limit value time, stop
Cumulative value interval be (500,1000], total number of the user behavior data added up is 1100, then
(90%, 100%] in higher limit b10=1000-(1000-500) × (1100-10000/10)/900
S305, next user behavior data set (80%, 90%] upper lower limit value from value interval (p, q] start
Iterative computation.By that analogy, the upper lower limit value of all 10 user behavior data set is calculated.
The correlation table of user behavior data set in February in the result more new database that S306, use calculate
Lattice.
If the ranking of a certain user behavior data in the type March need to be obtained, then without obtaining March
All user behavior datas, only need to be according to the upper lower limit value of the user behavior data set in February and two months
The meansigma methods of the user behavior data of part can calculate.Specifically, terminal calculates user's row in March
Meansigma methods for data is avg2, and the meansigma methods in February is avg1, then the user data set in March
Upper lower limit value in conjunction is equal to avg2/avg1 with the ratio of the upper lower limit value of corresponding set in February, thus obtains
The division of the user behavior data going out in March, 2015 is as shown in table 2:
Table 2
Further, further according to the data acquisition system of the user behavior data division in March, determine that March is a certain
The ranking of user behavior data, i.e. step S104 include:
For second user behavior data, described terminal determines belonging to described second user behavior data
Second user behavior data is integrated into the position in whole second user behavior data set;
Described terminal is according to the second user behavior data set belonging to described second user behavior data
It is worth greatly and minima, and the second user behavior data determined is integrated into whole second user behavior data collection
Position in conjunction, determines second user behavior data position in all second user behavior datas.
Specifically, as the ranking of a certain user behavior data μ in March need to be obtained, then by μ and March
The upper lower limit value of part each data acquisition system compares, and finds out the data acquisition system belonging to μ, as (d, e], these data
The higher limit of set is σ, and lower limit is ρ, then the ranking of user behavior data μ can be calculated by following equation
Draw:
It should be noted that within a period of time, can be according to the user behavior data of a certain historical time section
Gather the ranking of user behavior data after calculating, if but time phase difference is relatively long, then needs to recalculate user
Behavioral data set.As, according in January, 2015 some type of user behavior data set, calculate respectively
Go out the ranking of the user behavior data of in February, 2015, same type in March, only need respectively by February and 3
The user behavior data meansigma methods of month the type calculates.If a certain user's row of the type in May to be obtained
For the ranking of data, then need the type user behavior data in April is divided set, further according to the use in April
Family behavioral data set calculates the ranking in May.Therefore, monthly need to calculate the average of this month user behavior data
Value, and be stored in data base.
After calculating the ranking of user behavior data, result of calculation need to be shown, i.e. step S105 tool
Body includes:
For second user behavior data, described terminal is according to data type and the corresponding pass of indicating template
System, determines the indicating template that described target data type is corresponding;
The ranking of described second user behavior data, by selected indicating template, is shown by described terminal
Show.
For example, the user's moon spending amount of certain credit card ranking in Shanghai is 89%, and data type is
This credit card finds the indicating template of correspondence in the moon spending amount in Shanghai, terminal according to this data type,
Ranking result is shown, as shown in Figure 4.For another example, user needs to draw certain shop second on website
Season trading volume ranking on the web site, as post analysis, then data type is season trading volume, eventually
End can find corresponding indicating template, can be a form, such as table 3, show ranking result.
Additionally, any mode that can show ranking result is all within the protection domain of the embodiment of the present invention, this
Inventive embodiments is without limitation.
Table 3
In order to be more clearly understood that the present invention, below with the instantiation row to real-time query user behavior data
Name flow process is described in detail.Flow process described by this instantiation is as it is shown in figure 5, can include following several
Individual step:
S401, the ranking of inquiry certain user behavior data of in March, 2015, terminal is sent out to ranking server
Play the request of<time 201503 is worth ν>.
S402, ranking server are according to request<time 201503 is worth ν>inquiry data base.
S403, ranking server obtain user's precedence data set in March, 2015 from data base.
S404, ranking server, according to the upper lower limit value of user's precedence data set, are found out belonging to value request ν
Set (d, e], and obtain set (d, e] upper lower limit value.
S405, ranking server are according to the ranking of formula 2 computation requests value ν, and result of calculation are sent back
Terminal.
S406, ranking server, according to the data type of value request ν, find out corresponding indicating template, concurrently
Give terminal.
The result of calculation of value request ν is combined by S407, terminal with indicating template, and shows.
Based on identical technology design, the embodiment of the present invention also provides for a kind of user behavior data ranking device,
As shown in Figure 6, including:
Acquisition module 1, for after terminal is connected with database server, from described database server
Obtain what each first user behavioral data set corresponding to first time period internal object data type included
Maximum and minima, and from described database server, obtain the second time period internal object data type
At least one corresponding second user behavior data;The first user behavioral data set wherein obtained is basis
First user behavioral data ranking results in first time period divides, and described first time period is early than described
Second time period;
Determine module 2, for the maximum according to each first user behavioral data set and minima, really
The maximum of fixed each second user behavior data set and minima;According to described second user behavior data
The maximum of set and minima, determine at least one second user belonging to the second user behavior data described
Behavioral data set;
Order module 3, for according to second user's row belonging at least one second user behavior data described
For data acquisition system, determine that at least one second user behavior data described is in all second user behavior datas
Position;
Display module 4, is used for according at least one second user behavior data described at all second user's row
For the position in data, carry out display operation.
Acquisition module 1, is additionally operable to, according to numerical values recited, carry out all first user behavioral datas obtained
Sequence, and the first user behavioral data after sequence is divided into multiple interval;Described terminal is by each interval
Including first user behavioral data composition one first user behavioral data set;
Determine module 2, be additionally operable to the first user behavior number each first user behavioral data set included
According to maximum and minima, bind, concurrently with described first time period and described target data type
Give described database server;
Acquisition module 1, is additionally operable to after being connected with database server, obtains from described database server
Take all first user behavioral datas.
Acquisition module 1, is additionally operable to obtain the first meansigma methods from described database server, described first flat
Average is the meansigma methods of described first user behavioral data;
Determine module 2, be additionally operable to calculate the meansigma methods of all second user behavior datas, average as second
Value;According to the ratio between described first meansigma methods and described second meansigma methods, and each first user row
For maximum and the minima of data acquisition system, determine the maximum and of each second user behavior data set
Little value.
Order module 3, is additionally operable to:
For second user behavior data, determine the second user belonging to described second user behavior data
Behavioral data is integrated into the position in whole second user behavior data set;
Maximum according to the second user behavior data set belonging to described second user behavior data and
Little value, and the second user behavior data determined is integrated into the position in whole second user behavior data set
Put, determine second user behavior data position in all second user behavior datas.
Display module 4, is additionally operable to:
For second user behavior data, according to data type and the corresponding relation of indicating template, determine
The indicating template that described target data type is corresponding;
By selected indicating template, the ranking of described second user behavior data is shown.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base
This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted
Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a user behavior data arrangement method, it is characterised in that including:
Terminal, after being connected with database server, obtains in first time period from described database server
Maximum that each first user behavioral data set corresponding to target data type includes and minima, with
And from described database server, obtain corresponding at least one of the second time period internal object data type
Two user behavior datas;The first user behavioral data set wherein obtained is according in first time period
One user behavior data ranking results divides, and described first time period is early than described second time period;
Described terminal, according to the maximum of each first user behavioral data set and minima, determines each
The maximum of two user behavior data set and minima;
Described terminal according to the maximum of described second user behavior data set and minima, determine described in extremely
Few the second user behavior data set belonging to second user behavior data;
Described terminal is according to the second user behavior data belonging at least one second user behavior data described
Set, determines described at least one second user behavior data position in all second user behavior datas
Put;
Described terminal according at least one second user behavior data described at all second user behavior datas
In position, carry out display operation.
2. the method for claim 1, it is characterised in that described from described database server
Obtain what each first user behavioral data set corresponding to first time period internal object data type included
Before maximum and minima, also include:
Described terminal, after being connected with database server, obtains all first from described database server
User behavior data;
The all first user behavioral datas obtained, according to numerical values recited, are ranked up by described terminal, and will
First user behavioral data after sequence is divided into multiple interval;
First user behavioral data one first user behavior of composition that each interval is included by described terminal
Data acquisition system;
The maximum of the first user behavioral data that each first user behavioral data set is included by described terminal
Value and minima, bind with described first time period and described target data type, and is sent to described
Database server.
3. method as claimed in claim 2, it is characterised in that described terminal is according to each first
The maximum of user behavior data set and minima, determine the maximum of each second user behavior data set
Value and minima, including:
Described terminal obtains the first meansigma methods from described database server, and described first meansigma methods is described
The meansigma methods of first user behavioral data;
Described terminal calculates the meansigma methods of all second user behavior datas, as the second meansigma methods;
Described terminal according to the ratio between described first meansigma methods and described second meansigma methods, and each
The maximum of one user behavior data set and minima, determine that each second user behavior data set is
Big value and minima.
4. method as claimed in claim 3, it is characterised in that described terminal according to described at least one
The second user behavior data set belonging to second user behavior data, determines at least one second user described
Behavioral data position in all second user behavior datas, including:
For second user behavior data, described terminal determines belonging to described second user behavior data
Second user behavior data is integrated into the position in whole second user behavior data set;
Described terminal is according to the second user behavior data set belonging to described second user behavior data
It is worth greatly and minima, and the second user behavior data determined is integrated into whole second user behavior data collection
Position in conjunction, determines second user behavior data position in all second user behavior datas.
5. the method as described in Claims 1 to 4 is arbitrary, it is characterised in that described terminal according to described extremely
Few second user behavior data position in all second user behavior datas, carries out display operation,
Including:
For second user behavior data, described terminal is according to data type and the corresponding pass of indicating template
System, determines the indicating template that described target data type is corresponding;
The ranking of described second user behavior data, by selected indicating template, is shown by described terminal
Show.
6. a user behavior data ranking device, it is characterised in that including:
Acquisition module, for after terminal is connected with database server, obtains from described database server
The each first user behavioral data set taking first time period internal object data type corresponding includes
Big value and minima, and from described database server, obtain the second time period internal object data type pair
At least one answered the second user behavior data;The first user behavioral data set wherein obtained is according to
First user behavioral data ranking results in one time period divides, and described first time period is early than described the
Two time periods;
Determine module, for the maximum according to each first user behavioral data set and minima, determine
The maximum of each second user behavior data set and minima;According to described second user behavior data collection
The maximum closed and minima, determine at least one second user's row belonging to the second user behavior data described
For data acquisition system;
Order module, for according to the second user behavior belonging at least one second user behavior data described
Data acquisition system, determines that at least one second user behavior data described is in all second user behavior datas
Position;
Display module, is used for according at least one second user behavior data described at all second user behaviors
Position in data, carries out display operation.
7. device as claimed in claim 6, it is characterised in that
Described acquisition module, is additionally operable to, according to numerical values recited, enter all first user behavioral datas obtained
Row sequence, and the first user behavioral data after sequence is divided into multiple interval;Described terminal is by each interval
First user behavioral data one the first user behavioral data set of composition included;
Described determine module, be additionally operable to the first user behavior each first user behavioral data set included
The maximum of data and minima, bind with described first time period and described target data type, and
It is sent to described database server;
Described acquisition module, is additionally operable to after being connected with database server, from described database server
Obtain all first user behavioral datas.
8. device as claimed in claim 7, it is characterised in that
Described acquisition module, is additionally operable to obtain the first meansigma methods from described database server, and described first
Meansigma methods is the meansigma methods of described first user behavioral data;
Described determine module, be additionally operable to calculate the meansigma methods of all second user behavior datas, flat as second
Average;According to the ratio between described first meansigma methods and described second meansigma methods, and each first user
The maximum of behavioral data set and minima, determine each second user behavior data set maximum and
Minima.
9. device as claimed in claim 8, it is characterised in that described order module, is additionally operable to:
For second user behavior data, determine the second user belonging to described second user behavior data
Behavioral data is integrated into the position in whole second user behavior data set;
Maximum according to the second user behavior data set belonging to described second user behavior data and
Little value, and the second user behavior data determined is integrated into the position in whole second user behavior data set
Put, determine second user behavior data position in all second user behavior datas.
10. the device as described in as arbitrary in claim 6~9, it is characterised in that described display module, also uses
In:
For second user behavior data, according to data type and the corresponding relation of indicating template, determine
The indicating template that described target data type is corresponding;
By selected indicating template, the ranking of described second user behavior data is shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510771487.8A CN105955969B (en) | 2015-11-12 | 2015-11-12 | A kind of user behavior data arrangement method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510771487.8A CN105955969B (en) | 2015-11-12 | 2015-11-12 | A kind of user behavior data arrangement method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105955969A true CN105955969A (en) | 2016-09-21 |
CN105955969B CN105955969B (en) | 2019-08-13 |
Family
ID=56917181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510771487.8A Active CN105955969B (en) | 2015-11-12 | 2015-11-12 | A kind of user behavior data arrangement method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105955969B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857776A (en) * | 2019-01-08 | 2019-06-07 | 珠海天燕科技有限公司 | The method and apparatus of business datum sequence in a kind of application |
CN111695044A (en) * | 2019-03-11 | 2020-09-22 | 北京柏林互动科技有限公司 | User ranking data processing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542890B1 (en) * | 1999-11-25 | 2003-04-01 | Daimlerchrysler Ag | Realtime data sorting and reduction |
CN102830950A (en) * | 2012-08-03 | 2012-12-19 | 苏州迈科网络安全技术股份有限公司 | Method and system for sorting monitoring data |
CN103116641A (en) * | 2013-02-21 | 2013-05-22 | 新浪网技术(中国)有限公司 | Acquisition method of ordering statistical data and ordering device |
CN104090894A (en) * | 2013-12-18 | 2014-10-08 | 深圳市腾讯计算机系统有限公司 | Method for online parallel computing of recommended information, device for online parallel computing of recommended information, and server for online parallel computing of recommended information |
-
2015
- 2015-11-12 CN CN201510771487.8A patent/CN105955969B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542890B1 (en) * | 1999-11-25 | 2003-04-01 | Daimlerchrysler Ag | Realtime data sorting and reduction |
CN102830950A (en) * | 2012-08-03 | 2012-12-19 | 苏州迈科网络安全技术股份有限公司 | Method and system for sorting monitoring data |
CN103116641A (en) * | 2013-02-21 | 2013-05-22 | 新浪网技术(中国)有限公司 | Acquisition method of ordering statistical data and ordering device |
CN104090894A (en) * | 2013-12-18 | 2014-10-08 | 深圳市腾讯计算机系统有限公司 | Method for online parallel computing of recommended information, device for online parallel computing of recommended information, and server for online parallel computing of recommended information |
Non-Patent Citations (1)
Title |
---|
蒋亚婷等: "微博数据驱动的用户排名方法研究", 《图书情报工作》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857776A (en) * | 2019-01-08 | 2019-06-07 | 珠海天燕科技有限公司 | The method and apparatus of business datum sequence in a kind of application |
CN111695044A (en) * | 2019-03-11 | 2020-09-22 | 北京柏林互动科技有限公司 | User ranking data processing method and device and electronic equipment |
CN111695044B (en) * | 2019-03-11 | 2023-08-18 | 北京柏林互动科技有限公司 | User ranking data processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105955969B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109447622B (en) | Transaction type recommendation method and system and intelligent transaction terminal | |
CN106325756B (en) | Data storage method, data calculation method and equipment | |
CN118152106A (en) | Resource scheduling method and terminal equipment | |
CN110209686A (en) | Storage, querying method and the device of data | |
CN109767070A (en) | Case distribution method, device, computer equipment and storage medium | |
CN111178830A (en) | Cost accounting method and device, computer equipment and storage medium | |
CN107025137A (en) | A kind of resource query method and device | |
CN107861929A (en) | Document structure tree method, terminal and computer-readable medium | |
CN107369091A (en) | Products Show method, apparatus and finance product recommend method | |
CN103631486A (en) | Method, system and mobile terminal for regulating screen display application program menus | |
CN109033173A (en) | It is a kind of for generating the data processing method and device of multidimensional index data | |
CN105740434B (en) | Network information methods of marking and device | |
CN108875048A (en) | Report form generation method, device, electronic equipment and readable storage medium storing program for executing | |
CN106844320A (en) | A kind of financial statement integration method and equipment | |
CN105955969A (en) | User behavior data ranking method and device | |
CN107832937A (en) | Financial technology Central exponent analysis method, storage medium and equipment | |
CN110266555A (en) | Method for analyzing web site service request | |
CN108428138A (en) | A kind of client's survival Analysis device and analysis method based on customer grouping | |
CN103002053A (en) | Cloud computing profit maximization scheduling method and system | |
CN109446427A (en) | A kind of information recommendation method and device | |
CN106250565A (en) | Querying method based on burst relevant database and system | |
CN108305171A (en) | A kind of mutual fund earnings analysis method and device | |
CN108537654B (en) | Rendering method and device of customer relationship network graph, terminal equipment and medium | |
CN110390594A (en) | Method for visualizing, device and the medium of economy and finance data cycle variation law | |
CN106156162A (en) | Data base querying amount statistical method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |