CN104111961A - Data item display refreshing method and device - Google Patents

Data item display refreshing method and device Download PDF

Info

Publication number
CN104111961A
CN104111961A CN201310142165.8A CN201310142165A CN104111961A CN 104111961 A CN104111961 A CN 104111961A CN 201310142165 A CN201310142165 A CN 201310142165A CN 104111961 A CN104111961 A CN 104111961A
Authority
CN
China
Prior art keywords
data item
demonstration
weighted value
database
preferential
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
Application number
CN201310142165.8A
Other languages
Chinese (zh)
Other versions
CN104111961B (en
Inventor
刘波
方礼勇
杜国楹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eren Eben Information Technology Co Ltd
Original Assignee
Beijing Eren Eben Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eren Eben Information Technology Co Ltd filed Critical Beijing Eren Eben Information Technology Co Ltd
Priority to CN201310142165.8A priority Critical patent/CN104111961B/en
Publication of CN104111961A publication Critical patent/CN104111961A/en
Application granted granted Critical
Publication of CN104111961B publication Critical patent/CN104111961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Abstract

An embodiment of the invention discloses a data item display refreshing method. The data item display refreshing method includes acquiring display times and checking times of various data items in a display database, wherein the display database is a database storing the data items to be displayed; acquiring non-precedent display weighted value of the data items according to the display times and the checking times, wherein when the checking times is fixed, the fewer the display times is, the smaller the non-precedent display weighted value is; giving priority to displaying the data of the small non-precedent display weighted value. The embodiment of the invention further discloses a data item display refreshing device. By the data item display refreshing method, display of the data items is updated in real time, reasonableness of display of the data items is improved, and more display chances are provided for more data items.

Description

Method, device that a kind of refresh data item shows
Technical field
The present invention relates to data item and show field, particularly relate to method, device that a kind of refresh data item shows.
Background technology
Be installed on computer, mobile terminal as the recommendation displaying of the different application softwares such as chat bitcom, video software, shopping website on the displaying etc. of each commodity all belong to the demonstration of data item in database, in prior art, the display packing of data item shows data item for the initial default sequence according to data item in database, such as the recommendation methods of exhibiting of intelligent commodity for download, purchase etc. are browsed, chosen to commodity displaying to user for user according to the default sequence in commodity displaying database.
Present inventor finds in long-term R & D, there is following problem in the data item display packing of prior art: the sequencing of each data item that user does not browse to is in the same time can be not vicissitudinous, the demonstration of data item does not change along with the parameter of the real-time transforms such as demonstration number of times of data item, shows that the few data item of number of times not have the chance of preferential demonstration.
Summary of the invention
The technical matters that the present invention mainly solves is to provide method, the device that a kind of refresh data item shows, can make the demonstration of data item have real-time update, improves rationality that data item shows, provide the chance of demonstration for more data item.
For solving the problems of the technologies described above, an aspect of of the present present invention is: a kind of method that provides refresh data item to show, comprise: obtain the demonstration number of times and the selected number of times that show each data item in database, wherein, show that database is for the database of current each data item to be shown of storage; According to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item, wherein, when selected number of times is identical, show that the non-preferential demonstration weighted value of the fewer correspondence of number of times is less; The little data item of non-preferential demonstration weighted value is preferentially shown.
Wherein, obtain and show that the demonstration number of times of each data item in database and the step of selected number of times specifically comprise: every a default time interval, obtain default initial time and in the time interval between current time, show demonstration number of times C and the selected number of times D of each data item in database.
Wherein, according to showing that the step that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item specifically comprises: according to showing that number of times C and selected number of times D obtain the quantity rank E of each data item current time, wherein, quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn,
By the demonstration number of times C of each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.
Wherein, the little data item of non-preferential demonstration weighted value is carried out to the preferential step showing specifically to be comprised: the ascending order of non-preferential demonstration weighted value V according to each data item current time sorts to each data item, to obtain the first data item display list; The data item matching with active user's current time selected record of data item before in the first data item display list is deleted from the first data item display list, to obtain the second data item display list; According to the ascending order of non-preferential demonstration weighted value V in the second data item display list, show successively each corresponding data item.
Wherein, the step that shows successively each corresponding data item according to the ascending order of non-preferential demonstration weighted value V in the second data item display list specifically comprises: the data item of choosing the first predetermined number according to the ascending order of non-preferential demonstration weighted value V in the second data item display list shows successively in current display page, wherein, the first predetermined number is less than or equal to the total quantity of data item in the second data item display list.
Wherein, obtain before showing in database the demonstration number of times of each data item and the step of selected number of times and comprise: the data item of obtaining the second predetermined number according to the sequencing of each data item creation-time in basic database from basic database, to create, show database, wherein, basic database is the database that is stored in each data item having created before default initial time, and the second predetermined number is less than or equal to the total quantity of data item in basic database.
For solving the problems of the technologies described above, another aspect of the present invention is: the device that provides a kind of refresh data item to show, comprise: number of times acquisition module, for obtaining demonstration number of times and the selected number of times that shows each data item of database, wherein, show that database is for the database of current each data item to be shown of storage; Weighted value acquisition module, for according to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item, wherein, when selected number of times is identical, shows that the non-preferential demonstration weighted value of the fewer correspondence of number of times is less; Display module, for preferentially showing the little data item of non-preferential demonstration weighted value.
Wherein, number of times acquisition module is specifically for obtaining default initial time and showing demonstration number of times C and the selected number of times D of each data item in database in the time interval between current time every a default time interval.
Wherein, the quantity rank E that Weight Acquisition module obtains each data item current time specifically for the demonstration number of times C that obtains according to number of times acquisition module and selected number of times D, wherein, quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn,
Weight Acquisition module concrete also for by the demonstration number of times C of each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.
Wherein, display module specifically comprises: the first data item display list acquiring unit, sorts to each data item for the ascending order of non-preferential demonstration weighted value V according to each data item current time, to obtain the first data item display list; The second data item display list acquiring unit, for the first data item display list and the data item that active user's current time selected record of data item before matches are deleted from the first data item display list, to obtain the second data item display list; Data item display unit, for showing successively each corresponding data item according to the ascending order of the non-preferential demonstration weighted value V of the second data item display list.
The invention has the beneficial effects as follows: be different from the situation of prior art, the present invention obtains demonstration number of times and the selected number of times that shows each data item in database; Further, according to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item, wherein, when selected number of times is identical, show that the non-preferential demonstration weighted value of the fewer correspondence of number of times is less; Finally the little data item of non-preferential demonstration weighted value is preferentially shown.By the way, the present invention can make the demonstration of data item have real-time update, improves rationality that data item shows, provide the chance of demonstration for more data item.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of method one embodiment of refresh data item demonstration of the present invention;
Fig. 2 is according to showing that number of times and selected number of times obtain the process flow diagram of the non-preferential demonstration weighted value of each data item in method one embodiment that shows of refresh data item of the present invention;
Fig. 3 is the process flow diagram that in method one embodiment of refresh data item demonstration of the present invention, the little data item of non-preferential demonstration weighted value is carried out to preferential demonstration;
Fig. 4 is the theory diagram of device one embodiment of refresh data item demonstration of the present invention;
Fig. 5 is the theory diagram of display module in device one embodiment that shows of refresh data item of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiments.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of protection of the invention.
Refer to Fig. 1, method one embodiment that refresh data item of the present invention shows comprises:
Step S101: obtain the demonstration number of times and the selected number of times that show each data item in database;
Obtain the demonstration number of times and the selected number of times that show each data item in database, be specially: every a default time interval, obtain default initial time and in the time interval between current time, show demonstration number of times C and the selected number of times D of each data item in database.Show that database is for the database of current each data item to be shown of storage, wherein current each data item to be shown comprises each data item not showing before each data item of having shown before current time and/or current time, show that number of times is the total degree that this data item is browsed by all users within certain time interval, for example user u1 has browsed data item b twice at T1 in the time interval altogether, user u2 has browsed data item b tri-times altogether at T1 in the time interval, at T1, the demonstration number of times in the time interval is five to data item b; Selected number of times is that all users carry out the total degree of down operation to this data item of choosing within certain time interval, for example at T2, in the time interval, always have four users and choose and downloaded data item c, at T2, the selected number of times in the time interval is four to data item c.Wherein, demonstration number of times and the selected number of times in default each data item of initial time is 0.The default time interval can be one hour, the different time interval such as 30 minutes, specifically chooses according to actual needs, do not make too many restrictions herein.In present embodiment, default initial time is chosen for the initial time on the same day, and in other embodiments, default initial time also can be chosen for for any one other moment.The data item demonstration that shows database is specifically installed on computer, on mobile terminal as chat bitcom, displaying of each commodity etc. on the recommendation displaying of the different application softwares such as video software or shopping website, when data item is application software, selected number of times corresponding to data item is all users and this application software of choosing carried out to the total degree of down operation, when data item is the commodity of purchasing on net website, selected number of times corresponding to data item is all users and these commodity of choosing bought to the total degree of operation, now this data item being carried out to down operation is these commodity is bought to operation, understandable, in other embodiments, the number of times that selected number of times can also be consulted in detail by user or the number of times of being collected by user etc., therefore not to repeat here.
Step S102: according to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item;
According to the demonstration number of times of each data item and selected number of times, obtain the non-preferential demonstration weighted value of each data item, wherein, when selected number of times is identical, show that the non-preferential demonstration weighted value of the fewer correspondence of number of times is less.
Step S103: the little data item of non-preferential demonstration weighted value is preferentially shown.
Particularly, the little data item of non-preferential demonstration weighted value step S102 being obtained preferentially shows.
In addition, in the present embodiment, in obtaining demonstration database, before the demonstration number of times of each data item and the step of selected number of times, also comprise: according to basic database, the sequencing of each data item creation-time obtains the data item of the second predetermined number from basic database, to create, show database, wherein, basic database is the database that is stored in each data item having created before default initial time, and the second predetermined number is less than or equal to the total quantity of data item in basic database.For example, when obtain last ten thousand data item that creation-time comes 100,000 data item from data item total quantity is the basic database of 100,000, to create, show database, now the second predetermined number is 10,000, be less than the total quantity of data item in basic database, show that database is the subclass of basic database; For example, when obtain 100,000 data item from data item total quantity is the basic database of 100,000, to create, show database, now the second predetermined number is 100,000, equals the total quantity of data item in basic database, shows that database is basic database itself.
Refer to Fig. 2, in method one embodiment that refresh data item of the present invention shows according to showing that the non-preferential demonstration weighted value that number of times and selected number of times obtain each data item specifically comprises following sub-step:
Sub-step S1021: according to showing that number of times C and selected number of times D obtain the quantity rank E of each data item current time;
According to default initial time and show the demonstration number of times C of each data item in database in the time interval between current time and the quantity rank E that selected number of times D further obtains each data item current time, wherein, quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn.
For example, when n=3, now quantity rank E comprises 3 different quantity ranks, is respectively: the first quantity rank E=1(qualifying rank), the second quantity rank E=2(satisfactory level) and the unusual satisfactory level of the 3rd quantity rank E=3().Wherein, the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1; The demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1; The demonstration number of times C<C3 of the 3rd quantity rank E=3 and selected number of times D<D3 and C >=C2 and/or D >=D2, C1<C2<C3, D1<D2<D3.For individual data, Xiang Eryan has: show that number of times C is more than or equal to selected number of times D, i.e. C >=D.By above-mentioned each order of magnitude, other magnitude range that shows number of times C and selected number of times D is known: at least one in showing number of times C, selected number of times D reach other threshold value of the next stage order of magnitude (C1, C2 ..., C (n-1); D1, D2 ..., D (n-1)) time can be upgraded to next stage quantity rank, for example the quantity rank of data item a current time is E=1, after default time interval, the demonstration number of times C<C1 of data item a, selected number of times D=D1, D reaches the threshold value D1 of next stage quantity rank E=2, and the quantity rank that now data item a is corresponding is upgraded to E=2 by E=1.
Sub-step S1022: by the demonstration number of times C of each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time.
To in the time interval between default initial time and current time, show that the demonstration number of times C of each data item in database and the non-preferential demonstration weighted value formula of the quantity rank E substitution of current time are to obtain the non-preferential demonstration weighted value V of each data item current time, shown in non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, weight order of magnitude upgrading unit B guarantees that different pieces of information item is when varying number rank E, the non-preferential demonstration weighted value V of the data item that quantity rank E is less is less than the non-preferential demonstration weighted value V of the data item that quantity rank E is larger, the V that is the less correspondence of E is less, and B is for being greater than max{C1-1-D1, C2-1-D2,, C (n-1)-1-D (n-1) } a positive number.Below the numerical value span (supposing n=3) of B is specifically described: when n=3, now quantity rank E comprises three different quantity ranks, the quantity rank E=1 of tentation data item a, shows number of times Ca<C1, selected number of times Da<D1, the quantity rank E=2 of data item b, shows number of times Cb<C2, selected number of times D1≤Db<D2, the quantity rank E=3 of data item c, demonstration number of times is Cc<C1, selected number of times D2≤Dc<D3, by the V of the less correspondence of E, less and above-mentioned non-preferential demonstration weighted value formula can be able to lower inequality: (1) B+Ca<2B+Cb<3B+Cc, inequality (1) is decomposed into following two inequality (2), (3): (2) B+Ca<2B+Cb, (3) 2B+Cb<3B+Cc, to inequality (2), (3) arrange and can obtain: (4) B>Ca-Cb, (5) B>Cb-Cc, therefore the value of B should be greater than Ca-Cb, maximal value in two numerical value of Cb-Cc, by in demonstration number of times C corresponding to different stage E, the span of selected number of times D and C >=D can obtain: the maximum occurrences for Ca in (Ca-Cb) is C1-1, the minimum value of Cb is D1, maximum occurrences for Cb in (Cb-Cc) is C2-1, and the minimum value of Cc is D2, so the numerical value of B is greater than max{C1-1-D1, C2-1-D2}.For example work as C1=500, D1=50, C2=1000, D2=100, max{C1-1-D1, C2-1-D2}=899, B>899 now, B can value be 900 etc.
In other embodiments, when quantity rank, E comprises n(n ≠ 3) during individual varying number rank, the span of weight order of magnitude upgrading unit B changes along with the order of magnitude other quantity n, to guarantee that the non-preferential demonstration weighted value V of the data item that quantity rank E is less is less than the non-preferential demonstration weighted value V of the data item that quantity rank E is larger, the V that is the less correspondence of E is less, B is for being greater than max{C1-1-D1, C2-1-D2, C (n-1)-1-D (n-1) } a positive number, below the numerical value span (supposing n ≠ 3) of B is specifically described again: quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the data rank E=1 of data item a, show number of times Ca<C1, selected number of times Da<D1, the data rank E=2 of data item b, shows number of times Cb<C2, selected number of times D1≤Db<D2, the quantity rank E=3 of data item c, demonstration number of times is Cc<C3, selected number of times D2≤Dc<D3, the data rank E=n(n of data item m is greater than 3 integer), demonstration number of times is Cm<Cn, selected number of times D (n-1)≤Dm<Dn, by the V of the less correspondence of E, less and above-mentioned non-preferential demonstration weighted value formula can be able to lower inequality: (1) B+Ca<2B+Cb< ... <nB+Cm, inequality (1) is decomposed into lower inequality: B+Ca<2B+Cb, 2B+Cb<3B+Cc, (n-1) B+C (m-1) <nB+Cm, above-mentioned inequality is arranged and can be obtained: B>Ca-Cb, B>Cb-Cc, the value of B>C (m-1)-Cm so B should be greater than Ca-Cb, Cb-Cc, maximal value in all numerical value of C (m-1)-Cm, by in demonstration number of times C corresponding to different stage E, the span of selected number of times D and C >=D can obtain: the maximum occurrences for Ca in (Ca-Cb) is C1-1, the minimum value of Cb is D1, maximum occurrences for Cb in (Cb-Cc) is C2-1, and the minimum value of Cc is D2, maximum occurrences for C (m-1) in C (m-1)-Cm is C (n-1)-1, and the minimum value of Cm is D (n-1), so B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.For example, when n=4, on the basis of above-mentioned three orders of magnitude other (n=3), increase a 4th quantity rank E=4, the demonstration number of times C<C4 of the 4th quantity rank E=4 and selected number of times D<D4 and C >=C3 and/or D >=D3, now B is for being greater than max{C1-1-D1, C2-1-D2, a positive number of C3-1-D3}.From non-preferential demonstration weighted value formula: when the selected number of times D of different pieces of information item is identical, show that the non-preferential demonstration weighted value V of the fewer correspondence of number of times C is less; When the quantity rank E of different pieces of information item is identical, the non-preferential demonstration weighted value V of data item changes along with showing number of times C, is specially and shows that number of times C is larger, and corresponding non-preferential demonstration weighted value V is also larger.Wherein, the non-preferential demonstration weighted value V in default each data item of initial time is 0.
Refer to Fig. 3, in method one embodiment that refresh data item of the present invention shows, the little data item of non-preferential demonstration weighted value carried out to preferential demonstration and specifically comprise following sub-step:
Sub-step S1031: the ascending order of non-preferential demonstration weighted value V according to each data item current time sorts to each data item;
The ascending order of non-preferential demonstration weighted value V according to each data item current time sorts to each data item, to obtain the first data item display list.
Sub-step S1032: the data item matching with active user's current time selected record of data item before in the first data item display list is deleted from the first data item display list;
The data item matching with active user's current time selected record of data item before in the first data item display list is deleted from the first data item display list, to obtain the second data item display list, each data item in the second data item display list sorts according to the ascending order of non-preferential demonstration weighted value V.Wherein, active user is the user that current browsing shows database data item, the selected historical record that records all data item of choosing before active user's current time that is recorded as of data item before active user's current time, different active users has the selected record of data item before each self-corresponding current time, therefore different active users be to there being the second data item display list belonging to separately, utilizes well historical record that unique user is corresponding to carry out the intelligently filters of display list.For example current time always has two users in the data item of browse displays database, be respectively user u1, u2, user u1 wherein, u2 is active user, the first data item display list is a, b, c, e, f, g, h, wherein user u1 had chosen data item b before current time, c, e, j, in the first data item display list, comprised data item b, c, e, therefore by the data item b matching with the current time selected record of data item before in the first data item display list, c, e deletes from the first data item display list, obtain the second data item display list a of respective user u1, f, g, h, user u2 had chosen data item b, c, f, i before current time, in the first data item display list, data item b, c, f have been comprised, therefore data item b, the c, the f that in the first data item display list, match with the current time selected record of data item are before deleted from the first data item display list, obtain the second data item display list a, e, g, the h of respective user u2.
Sub-step S1033: show successively each corresponding data item according to the ascending order of non-preferential demonstration weighted value V in the second data item display list.
According to the ascending order of non-preferential demonstration weighted value V in the second data item display list, show successively each corresponding data item, be specially: the data item of choosing the first predetermined number according to the ascending order of non-preferential demonstration weighted value V in the second data item display list shows successively in current display page, realization is heavily worth by nonpreemption the data item that V is little and carries out preceding preferential demonstration, wherein, the first predetermined number is less than or equal to the total quantity of data item in the second data item display list.For example the second data item display list comprises 10,000 data item altogether, from the second data item display list, choosing first 100 (the first predetermined number) data item shows successively at the first display page (current display page), each data item of the first display page sorts according to the ascending order of non-preferential demonstration weighted value V, and now the first predetermined number is less than the total quantity of data item in the second data item display list; When user clicks while browsing the second display page, in like manner from the data item of the second data item display list except the shown data item of above-mentioned the first display page, according to nonpreemption, be heavily worth the ascending order of V and choose the data item of the first predetermined number and show at the second display page; In addition in the second data item display list except the shown data item of above-mentioned the first display page, during lazy weight first predetermined number of remaining data item, remaining data item in the second data item display list is heavily worth to the ascending order of V according to nonpreemption and shows at the second display page.In other embodiments, the first predetermined number also can be chosen for the total quantity that equals data item in the second data item display list, and all data item that are about to the second data item display list show in current display page successively according to the ascending order of non-preferential demonstration weighted value V.
After the demonstration number of times and selected number of times of refresh data item display packing of the present invention each data item in obtaining default initial time every a default time interval and showing database in the time interval between current time, further according to showing that number of times and selected number of times obtain the current non-preferential demonstration weighted value of each data item, finally the little data item of non-preferential demonstration weighted value is preferentially shown, can refresh with the time frequency in above-mentioned default time interval the demonstration that shows data item in database.
The example that is shown as with commodity is illustrated method one embodiment of refresh data item demonstration of the present invention below:
Suppose that commodity show that database comprises commodity a, b, c, d, demonstration number of times C<C1 and the selected number of times D<D1 of commodity a in default initial time and the time interval between current time, the demonstration number of times C<C3 of commodity b and selected number of times D<D3 and C >=C2, the demonstration number of times C<C2 of commodity c and selected number of times D<D2 and C>C1 and D>D1, the demonstration number of times C<C2 of commodity d and selected number of times D<D2 and C>C1 and D>D1, and the demonstration number of times of commodity d is less than the demonstration number of times of commodity c, commodity a, b, c, the quantity rank of d current time is respectively E=1, E=3, E=2, E=2, commodity a, b, c, the non-preferential demonstration weighted value magnitude relationship of d current time is: Va<Vd<Vc<Vb, according to commodity a, b, c, the ascending order of non-preferential demonstration weighted value of d current time sorts to each commodity, obtains sequence for a, d, c, the first data item display list of b, user u1 is active user, and the selected record of data item before user u1 current time comprises commodity a, therefore commodity a is deleted from the first data item display list, obtains sequence for the second data item display list of d, c, b, the order ascending according to non-preferential demonstration weighted value in the second data item display list shows each corresponding data item, being specially and according to the ascending order of non-preferential demonstration weighted value, choosing two (the first predetermined number) commodity in the second data item display list is that commodity d and commodity c show successively at first page (current display page), when user clicks second page, in the second data item display list, choose commodity b(because of only surplus last commodity b, inadequate the first predetermined number of commodity amount of therefore choosing) show, in addition in other embodiments, also can commodity d, c, b be shown successively at first page according to the ascending order of non-preferential demonstration weighted value in the second data item display list.
Be appreciated that method one embodiment that refresh data item of the present invention shows is by obtaining default initial time and showing demonstration number of times and the selected number of times of each data item in database in the time interval between current time every a default time interval, further according to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item current time, the order ascending according to the non-preferential demonstration weighted value V of each data item current time sorts to obtain the first data item display list to each data item, further the data item matching with active user's current time selected record of data item before in the first data item display list is deleted to obtain the second data item display list from the first data item display list, finally according to the ascending order of non-preferential demonstration weighted value V in the second data item display list, show successively each corresponding data item, thereby the little data item of non-preferential demonstration weighted value is preferentially shown, make the demonstration of data item there is real-time update, improve the rationality that data item shows, for more data item provides the chance of demonstration.
Refer to Fig. 4, device one embodiment that refresh data item of the present invention shows comprises:
Number of times acquisition module 201, for obtaining demonstration number of times and the selected number of times that shows each data item of database, wherein, shows that database is for the database of current each data item to be shown of storage.
Wherein, number of times acquisition module 201 is specifically for obtaining default initial time and showing demonstration number of times C and the selected number of times D of each data item in database in the time interval between current time every a default time interval.
Weighted value acquisition module 202, the non-preferential demonstration weighted value that further obtains each data item for the demonstration number of times that obtains according to number of times acquisition module 201 and selected number of times, wherein, when selected number of times is identical, show that the non-preferential demonstration weighted value of the fewer correspondence of number of times is less.
Wherein, the quantity rank E that Weight Acquisition module 202 further obtains each data item current time specifically for the demonstration number of times C that obtains according to number of times acquisition module 201 and selected number of times D, wherein, quantity rank E comprises the first quantity rank E=1, the second quantity rank E=2 and the 3rd quantity rank E=3, the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, the demonstration number of times C<C3 of the 3rd quantity rank E=3 and selected number of times D<D3 and C >=C2 and/or D >=D2, C1<C2<C3, D1<D2<D3.
Weight Acquisition module 202 concrete also for by the demonstration number of times C of each data item and the non-preferential demonstration weighted value formula of above-mentioned quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, a positive number of C2-1-D2}.
In other embodiments, the quantity rank E that Weight Acquisition module 202 obtains each data item current time specifically for the demonstration number of times C that obtains according to number of times acquisition module 201 and selected number of times D, wherein, quantity rank E can comprise n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn.
Weight Acquisition module 202 concrete also for by the demonstration number of times C of each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.
Display module 203, for preferentially showing the little data item of non-preferential demonstration weighted value.
Refer to Fig. 5, in device one embodiment that refresh data item of the present invention shows, display module specifically comprises:
The first data item display list acquiring unit 2031, for according to the ascending order of non-preferential demonstration weighted value V of each data item current time of Weight Acquisition module 202 acquisitions, each data item being sorted, to obtain the first data item display list.
The second data item display list acquiring unit 2032, for the first data item display list and the data item that active user's current time selected record of data item before matches are deleted from the first data item display list, to obtain the second data item display list.
Data item display unit 2033, for showing successively each corresponding data item according to the ascending order of the non-preferential demonstration weighted value V of above-mentioned the second data item display list.Wherein, data item display unit 2033 shows in current display page successively specifically for the data item of choosing the first predetermined number according to the ascending order of non-preferential demonstration weighted value V in the second data item display list, wherein, the first predetermined number is less than or equal to the total quantity of data item in the second data item display list.
Be appreciated that device one embodiment number of pass times acquisition module that refresh data item of the present invention shows obtained default initial time and in the time interval between current time, shows demonstration number of times and the selected number of times of each data item in database every a default time interval, weighted value acquisition module is further according to showing that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item current time, display module sorts to obtain the first data item display list according to the ascending order of the non-preferential demonstration weighted value V of each data item current time to each data item, display module further deletes to obtain the second data item display list by the data item matching with active user's current time selected record of data item before in the first data item display list from the first data item display list, last display module shows each corresponding data item successively according to the ascending order of non-preferential demonstration weighted value V in the second data item display list, thereby the little data item of non-preferential demonstration weighted value is preferentially shown, the constantly demonstration of refresh data item, make the demonstration of data item there is real-time update, improve the rationality that data item shows, for more data item provides the chance of demonstration.
The foregoing is only embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. the method that refresh data item shows, is characterized in that, comprising:
Obtain the demonstration number of times and the selected number of times that show each data item in database, wherein, described demonstration database is the database of current each data item to be shown of storage;
The non-preferential demonstration weighted value that obtains each data item according to described demonstration number of times and selected number of times, wherein, when described selected number of times is identical, the non-preferential demonstration weighted value of the fewer correspondence of described demonstration number of times is less;
The little data item of described non-preferential demonstration weighted value is preferentially shown.
2. method according to claim 1, is characterized in that, described in obtain and show that the demonstration number of times of each data item in database and the step of selected number of times specifically comprise:
Every a default time interval, obtain default initial time and the demonstration number of times C of each data item and selected number of times D in described demonstration database in the time interval between current time.
3. method according to claim 2, is characterized in that, described according to showing that the step that number of times and selected number of times obtain the non-preferential demonstration weighted value of each data item specifically comprises:
According to described demonstration number of times C and selected number of times D, obtain the quantity rank E of each data item current time, wherein, described quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn,
By the demonstration number of times C of described each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in described non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.
4. method according to claim 3, is characterized in that, the described step that the little data item of non-preferential demonstration weighted value is carried out preferentially showing specifically comprises:
The ascending order of non-preferential demonstration weighted value V according to described each data item current time sorts to each data item, to obtain the first data item display list;
The data item matching with active user's current time selected record of data item before in described the first data item display list is deleted from the first data item display list, to obtain the second data item display list;
According to the ascending order of non-preferential demonstration weighted value V in described the second data item display list, show successively each corresponding data item.
5. method according to claim 4, is characterized in that, describedly according to the ascending order of non-preferential demonstration weighted value V in the second data item display list, shows that successively the step of each corresponding data item specifically comprises:
The data item of choosing the first predetermined number according to the ascending order of non-preferential demonstration weighted value V in described the second data item display list shows successively in current display page, wherein, described the first predetermined number is less than or equal to the total quantity of data item in the second data item display list.
6. method according to claim 1, is characterized in that, described in obtain before showing in database the demonstration number of times of each data item and the step of selected number of times and comprise:
According to the sequencing of each data item creation-time in basic database, from basic database, obtain the data item of the second predetermined number, to create described demonstration database, wherein, described basic database is the database that is stored in each data item having created before default initial time, and described the second predetermined number is less than or equal to the total quantity of data item in basic database.
7. the device that refresh data item shows, is characterized in that, comprising:
Number of times acquisition module, for obtaining demonstration number of times and the selected number of times that shows each data item of database, wherein, described demonstration database is the database of current each data item to be shown of storage;
Weighted value acquisition module, for obtain the non-preferential demonstration weighted value of each data item according to described demonstration number of times and selected number of times, wherein, when described selected number of times is identical, the non-preferential demonstration weighted value of the fewer correspondence of described demonstration number of times is less;
Display module, for preferentially showing the little data item of described non-preferential demonstration weighted value.
8. device according to claim 7, is characterized in that,
Described number of times acquisition module is specifically for obtaining default initial time and showing demonstration number of times C and the selected number of times D of each data item in database in the time interval between current time every a default time interval.
9. device according to claim 8, is characterized in that,
The quantity rank E that described Weight Acquisition module obtains each data item current time specifically for the demonstration number of times C that obtains according to described number of times acquisition module and selected number of times D, wherein, described quantity rank E comprises n different quantity rank E=i(i=1, 2, n), the demonstration number of times C<C1 of the first quantity rank E=1 and selected number of times D<D1, the demonstration number of times C<C2 of the second quantity rank E=2 and selected number of times D<D2 and C >=C1 and/or D >=D1, j quantity rank E=j(j=3, n) demonstration number of times C<Cj and selected number of times D<Dj and C >=C (j-1) and/or D >=D (j-1), C1<C2< ... <Cn, D1<D2< ... <Dn,
Described Weight Acquisition module concrete also for by the demonstration number of times C of described each data item and the non-preferential demonstration weighted value formula of quantity rank E substitution to obtain the non-preferential demonstration weighted value V of each data item current time, shown in described non-preferential demonstration weighted value formula formula specific as follows:
V=(E*B)+C
Wherein, B is weight order of magnitude upgrading unit, and B is for being greater than max{C1-1-D1, C2-1-D2 ..., C (n-1)-1-D (n-1) } a positive number.
10. device according to claim 9, is characterized in that, described display module specifically comprises:
The first data item display list acquiring unit, sorts to each data item for the ascending order of non-preferential demonstration weighted value V according to described each data item current time, to obtain the first data item display list;
The second data item display list acquiring unit, for described the first data item display list and the data item that active user's current time selected record of data item before matches are deleted from the first data item display list, to obtain the second data item display list;
Data item display unit, for showing successively each corresponding data item according to the ascending order of the non-preferential demonstration weighted value V of described the second data item display list.
CN201310142165.8A 2013-04-22 2013-04-22 The method, apparatus that a kind of refresh data item is shown Active CN104111961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310142165.8A CN104111961B (en) 2013-04-22 2013-04-22 The method, apparatus that a kind of refresh data item is shown

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310142165.8A CN104111961B (en) 2013-04-22 2013-04-22 The method, apparatus that a kind of refresh data item is shown

Publications (2)

Publication Number Publication Date
CN104111961A true CN104111961A (en) 2014-10-22
CN104111961B CN104111961B (en) 2018-03-09

Family

ID=51708756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310142165.8A Active CN104111961B (en) 2013-04-22 2013-04-22 The method, apparatus that a kind of refresh data item is shown

Country Status (1)

Country Link
CN (1) CN104111961B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528247A (en) * 2016-11-30 2017-03-22 北京小米移动软件有限公司 Data refreshing method and device
CN106888252A (en) * 2017-01-17 2017-06-23 深圳市金立通信设备有限公司 The method and terminal of a kind of refresh data
CN107895299A (en) * 2017-11-08 2018-04-10 浙江执御信息技术有限公司 The exposure sort method and device of a kind of commodity
WO2018171271A1 (en) * 2017-03-22 2018-09-27 广州优视网络科技有限公司 Application recommendation method, client, server, and system
CN109783052A (en) * 2018-12-27 2019-05-21 深圳市轱辘汽车维修技术有限公司 Data reordering method, device, server and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063947A (en) * 2006-04-27 2007-10-31 国际商业机器公司 Method and system convenient for determining scheduling priority of jobs
CN101135996A (en) * 2006-08-31 2008-03-05 富士通株式会社 Method and apparatus for arbitrating access
CN101567898A (en) * 2008-04-25 2009-10-28 中国移动通信集团公司 Method, system and device for advertisement putting
CN102474544A (en) * 2009-07-30 2012-05-23 高通股份有限公司 Method and apparatus for customizing a user interface menu
CN102508649A (en) * 2011-09-26 2012-06-20 鸿富锦精密工业(深圳)有限公司 Electronic device with function of automatically sequencing icons and sequencing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063947A (en) * 2006-04-27 2007-10-31 国际商业机器公司 Method and system convenient for determining scheduling priority of jobs
CN101135996A (en) * 2006-08-31 2008-03-05 富士通株式会社 Method and apparatus for arbitrating access
CN101567898A (en) * 2008-04-25 2009-10-28 中国移动通信集团公司 Method, system and device for advertisement putting
CN102474544A (en) * 2009-07-30 2012-05-23 高通股份有限公司 Method and apparatus for customizing a user interface menu
CN102508649A (en) * 2011-09-26 2012-06-20 鸿富锦精密工业(深圳)有限公司 Electronic device with function of automatically sequencing icons and sequencing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中关村在线: ""清理Windows XP系统桌面上的快捷方式图标"", 《HTTP://TECH.SINA.COM.CN/S/S/2006-08-07/104361541.SHTML》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528247A (en) * 2016-11-30 2017-03-22 北京小米移动软件有限公司 Data refreshing method and device
CN106528247B (en) * 2016-11-30 2020-01-07 北京小米移动软件有限公司 Data refreshing method and device
CN106888252A (en) * 2017-01-17 2017-06-23 深圳市金立通信设备有限公司 The method and terminal of a kind of refresh data
WO2018171271A1 (en) * 2017-03-22 2018-09-27 广州优视网络科技有限公司 Application recommendation method, client, server, and system
CN107895299A (en) * 2017-11-08 2018-04-10 浙江执御信息技术有限公司 The exposure sort method and device of a kind of commodity
CN107895299B (en) * 2017-11-08 2020-12-01 浙江执御信息技术有限公司 Commodity exposure sequencing method and device
CN109783052A (en) * 2018-12-27 2019-05-21 深圳市轱辘汽车维修技术有限公司 Data reordering method, device, server and computer readable storage medium
CN109783052B (en) * 2018-12-27 2021-11-12 深圳市轱辘车联数据技术有限公司 Data sorting method, device, server and computer readable storage medium

Also Published As

Publication number Publication date
CN104111961B (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN110941740B (en) Video recommendation method and computer-readable storage medium
CN104111961A (en) Data item display refreshing method and device
CN103942218B (en) A kind of method and apparatus for generating, updating the thematic page
CN104065565B (en) The method of PUSH message, server, client terminal device and system
CN106850750B (en) Method and device for pushing information in real time
CN102104635A (en) Method and device for updating Internet protocol (IP) address base
CN110020094A (en) A kind of methods of exhibiting and relevant apparatus of search result
US10162855B2 (en) Systems and methods for optimizing data analysis
EP3063677A1 (en) Real-time search tuning
CN104750503A (en) Desktop icon adjusting method and system
CN106897795A (en) A kind of inventory forecast method and device
CN104238897A (en) Menu item displaying method and device
CN109543132A (en) Content recommendation method, device, electronic equipment and storage medium
CN103514290A (en) Electronic map information point acquisition method, acquisition device and server
CN108347532A (en) Function access method, device, terminal device and storage medium
CN105975537A (en) Sorting method and device of application program
CN107908442A (en) Resource loading method, device, terminal device and computer-readable recording medium based on spring
CN105335873A (en) Method and device for acquiring quality of advertisement space and electronic equipment
CN107545491A (en) A kind of data processing method and device of recommendation information
CN109754348A (en) A kind of course method for pushing, device, electronic equipment and medium
CN102957949A (en) Device and method for recommending video to user
CN107153907A (en) The method and relevant apparatus of a kind of potential user for assessing video traffic
CN109886729A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of probability are clicked in prediction
CN109034880A (en) revenue prediction method and device
CN101192128A (en) Mobile electronic device and its method capable of dynamically arranging functional item display sequency

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