Invention content
In order to solve the above-mentioned technical problem, the present invention proposes a kind of article sequencing method, device, computing device and storage
Medium can will be more in line with the desired article of user and come foremost, promote user experience, while realizing to multiple articles
Effective management.
According to an aspect of the invention, there is provided a kind of article sequencing method, including:A variety of based on multiple articles go through
History accesses each in data, individual event sequence is carried out to multiple articles respectively, to obtain the multiple of each in multiple articles
Individual event ranking results;In conjunction with multiple individual event ranking results, the integrated ordered foundation of article is obtained;And based on it is integrated ordered according to
According to being ranked up to multiple articles.
As a result, by a variety of sequences of synthesis as a result, can be arranged to avoid some obviously not met to the desired article of user
Up front, user experience is promoted, while realizing effective management to multiple articles.Optionally, individual event ranking results are article
Individual event index, individual event sort forward article individual event index it is smaller;And based on integrated ordered foundation to multiple articles
In the step of being ranked up, multiple articles are ranked up by the sequence of integrated ordered foundation from small to large.Optionally, in conjunction with more
A individual event ranking results obtain the step of integrated ordered foundation and include:Summation is weighted to multiple individual event ranking results, to obtain
Obtain integrated ordered foundation.
Optionally, when a variety of history access data include the access times for article, access duration and access recently
Between at least two;And it is the first index to carry out the individual event ranking results that individual event sequence obtains based on access times, is based on
It is the second index to access duration and carry out the individual event ranking results that individual event sequence obtains, and individual event sequence is carried out based on last access time
The individual event ranking results of acquisition index for third.
Optionally, access times are the accumulative access times in the nearest predetermined time;And/or it is a length of nearest when accessing
Accumulative or average access duration in predetermined time or in nearest pre-determined number;And/or distribute to the weight of third index
It is maximum.
Optionally, the step of being ranked up to multiple articles based on integrated ordered foundation include:For integrated ordered foundation
Two or more identical articles are ranked up based on third index.
Optionally, the article is books.
According to another aspect of the present invention, a kind of article collator is additionally provided, including:First collator, is used for
A variety of history based on multiple articles access each in data, carry out individual event sequence to multiple articles respectively, more to obtain
Multiple individual event ranking results of each in a article;Coupling apparatus obtains article for combining multiple individual event ranking results
Integrated ordered foundation;And second collator is ranked up multiple articles for being based on integrated ordered foundation.
Optionally, individual event ranking results be article individual event index, individual event sort forward article individual event index it is smaller;
And the second collator is ranked up multiple articles by the sequence of integrated ordered foundation from small to large.
Optionally, coupling apparatus is weighted summation to multiple individual event ranking results, to obtain integrated ordered foundation.
Optionally, when a variety of history access data include the access times for article, access duration and access recently
Between at least two;And it is the first index to carry out the individual event ranking results that individual event sequence obtains based on access times, is based on
It is the second index to access duration and carry out the individual event ranking results that individual event sequence obtains, and individual event sequence is carried out based on last access time
The individual event ranking results of acquisition index for third.
Optionally, access times are the accumulative access times in the nearest predetermined time;And/or it is a length of nearest when accessing
Accumulative or average access duration in predetermined time or in nearest pre-determined number;And/or distribute to the weight of third index
It is maximum.
Optionally, for integrated ordered according to two or more identical projects, the second collator is based on third rope
Draw and is ranked up.
According to another aspect of the present invention, a kind of computing device is additionally provided, including:Processor;And memory, thereon
It is stored with executable code, when the executable code is executed by the processor, the processor is made to execute the present invention such as
The upper method.
According to another aspect of the present invention, a kind of non-transitory machinable medium is additionally provided, is stored thereon with
Executable code makes the processor execute the present invention such as when the executable code is executed by the processor of electronic equipment
The upper method.
Article sequencing schemes as described above through the invention as a result, by the factor of multiple dimensions to each article point
Do not sort, by a variety of sequences of synthesis as a result, can be come most to avoid some obviously not met to the desired article of user before
Face so that the article for coming front is more in line with the expectation of user, to which the user experience is improved.In addition, some embodiments
Technical solution can also further realize effective management to multiple articles.
Specific implementation mode
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here
Formula is limited.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be by the disclosure
Range is completely communicated to those skilled in the art.
As previously mentioned, to solve the problems of the prior art, the present invention proposes a kind of article sequencing method and device, such as
It is lower to combine the accompanying drawings and embodiments article sequencing schemes that the present invention will be described in detail.
Fig. 1 shows the flow diagram of article sequencing method according to an embodiment of the invention.
As shown in Figure 1, in step S110, a variety of history based on multiple articles access each in data, right respectively
The multiple article carries out individual event sequence, to obtain multiple individual event ranking results of each in the multiple article.
Article of the present invention can be arbitrary object, can be entity can also be non-physical.For example, it may be book
Nationality, game, various application APPs or shopping platform commodity etc..In a preferred embodiment, of the present invention
Article can be the e-book read on the bookshelf of class software.
A variety of history access a variety of behaviors that data can be the respective articles (such as e-book) that user once accessed
Record.In a preferred embodiment, user can be obtained respectively from the access log of user to go through a variety of of multiple articles
History accesses data.It is the access times for being directed to the article that a variety of history, which access data and can include but is not limited to, accesses duration
And last access time etc..
Access times can be rise from the beginning accumulative total access times (such as e-book be put into it is total after bookshelf
Access times), or the accumulative access times in the nearest predetermined time.The nearest predetermined time for example can be nearest one
It, one week or one month or time limit other time.
It can be the accumulative or average access duration in the nearest predetermined time or in nearest pre-determined number to access duration.Recently
Predetermined time for example can also be nearest one day, one week or one month or time limit other time.Pre-determined number preferably can be
The last time, in other words, it can be the last access duration for accessing article to access duration.
Last access time preferably can be the time for user's the last time accessing article, which can be that user is nearest
The initial time for once accessing the article can also be the end time that user accesses the article the last time.
In a preferred embodiment, a variety of history of the invention access data may include in data as described above extremely
It is two kinds few.It should be understood that for the precision for improving integrated ordered to article, for the user's as article sort by
History accesses data and can include but is not limited to be factor as described above, and the present invention is without limitation.
Certainly, for different articles, it is above-mentioned that a variety of history of the invention, which access data can also include but not limited to,
It limits, the present invention is not also limited this.
By taking e-book as an example, when above-mentioned article is e-book, compared with other articles, for books, visit recently
The time is asked closer to current time, illustrates that the books are more likely to be user and are reading/not yet reading the books finished, user
It is expected that the possibility for accessing (opening) books again is higher.Therefore, above-mentioned a variety of to go through in a particularly preferred embodiment
History, which accesses data, can include at least last access time.Thus, it is possible to which the row to books is realized in a variety of behaviors based on user
Sequence, foremost is come to avoid by the apparent desired books of user that do not meet, effective management to books is realized, improves simultaneously
To the precision of user's recommended book.
In this way, by each single item in the factor to a variety of dimensions, based on the respective data of each single item respectively to more
A article carries out individual event sequence, for multiple articles carry out it is integrated ordered good data basis is provided, further improve pair
The integrated ordered precision of multiple articles.
In a preferred embodiment, individual event ranking results can be that the individual event of article indexes, and individual event be sorted forward object
The individual event index of product is smaller.The each single item in data is accessed for above-mentioned a variety of history, multiple articles are ranked up respectively, it is single
Ranking results can be each single item its respective sequence accessed for above-mentioned a variety of history in data, can be rendered as sequence
Numbers 1,2,3,4 ....
The different item in data is accessed based on above-mentioned a variety of history, every corresponding individual event ranking results can be respectively provided with
Different order standards, and its corresponding individual event ranking results can have its respective index or serial number.
For example, x can be indexed for first by carrying out the individual event ranking results that individual event sequence obtains based on the access times, it is excellent
The more article of access times is come front by choosing, the individual event ranking results for example can be x1, x2, x3, x4 ....x1、
X2, x3, x4 ... indicate the index after the sequence of each article respectively.Such as the 3rd article (corresponding to x3) comes foremost,
Secondary is the 2nd article (corresponding to x2), then x3=1, x2=2.
It is the second index y to carry out the individual event ranking results that individual event sequence obtains based on the access duration, will preferably be accessed
The longer article of duration comes front, which for example can be with y1, y2, y3, y4 ....y1、y2、y3、y4、……
Meaning and x1, x2 described above, x3, x4 ... it is similar.
It is that third indexes z to carry out the individual event ranking results that individual event sequence obtains based on the last access time, preferably will
What last access time was closer to current time comes front, the individual event ranking results for example can be z1, z2, z3,
z4…….Z1, z2, z3, z4 ... meaning and x1, x2 described above, x3, x4 ... it is similar.
In step S120 the integrated ordered foundation of the article is obtained in conjunction with the multiple individual event ranking results.Wherein,
Integrated ordered foundation is determined for the integrated ordered result of article.In the present invention, article can be realized by many algorithms
Integrated ordered foundation acquisition.For example, summation can be weighted to the multiple individual event ranking results, it is described comprehensive to obtain
Close sort by.In a preferred embodiment, integrated ordered foundation can be by it is above-mentioned first index, second index,
Third index at least two be weighted summation and obtain.The each single item in data is accessed for above-mentioned a variety of history, it can
Corresponding weight to be set separately in advance to multiple individual event ranking results, in order to be weighted to multiple unidirectional ranking results
Summation.Significance level that can be based on data itself also, for each individual event ranking results or its comprehensive row to article
The influence degree of sequence, respectively its setting difference or not exactly the same weighted value.
For example, for e-book, last access time is closer to illustrating that the books are more likely to be user and are reading
Or the books finished are not yet read, user it is expected that the possibility accessed again is higher.Therefore, when can be to being based on accessing recently
Between ranking results assign highest weighted value, and the ranking results based on access times and/or access time are assigned opposite
Smaller weighted value, also, can also be equal to the weighted value of the ranking results distribution based on access times and access time.
That is, in a preferred embodiment, the weight that can distribute to third index is maximum, and distributes to the first index
And/or second index weighted value it is relatively small.In this way, ranking is leaned on after having considered access times and/or having accessed duration
Preceding article generally will not be that user has a glance at the article for having seen leaving at a glance, at this time to based on last access time
Ranking results assign higher weight, will not by user, obviously uninterested article comes front, while more likely will again
The article (such as the books read) that user is paying close attention to recently comes front, is capable of providing better experience.
In step S130, it is based on the integrated ordered foundation, the multiple article is ranked up.
The individual event rope of forward article as previously mentioned, individual event ranking results can sort for the individual event index of article, individual event
Draw smaller.So, for the integrated ordered foundation obtained in conjunction with individual event ranking results, and the synthesis of the forward article of sequence
Sort by is smaller.It therefore, in a preferred embodiment, can be by the sequence of integrated ordered foundation from small to large to described more
A article is ranked up.
Generally, when being ranked up to two or more projects, it is also possible to which there are two or more entry sortings are identical
Situation i.e. arranged side by side, at this point it is possible to which the factor important according to a certain item again carries out two or more projects arranged side by side
Sequence.
For the present invention, when there is situation as described above, for integrated ordered according to two or more identical objects
Product can also be based on third index (weighted value of distribution is maximum) and be ranked up.Third index for example can be to being based on recently
The individual event ranking results of access time.It certainly, can also be according to it if minor sort still will appear the situation arranged side by side that sorts again
Its factor (such as the weighted value of distribution is second largest) is again ranked up the article arranged side by side that sorts.
For example, after being ranked up to more books on bookshelf based on integrated ordered foundation as described above, when on bookshelf
Occur two books it is integrated ordered according to it is identical when, can be according to the individual event ranking results of last access time to this two books
Nationality is ranked up, and last access time is closer to the one of current time (third index value is relatively small) by sequence preceding
This books is arranged in front, by sequence in rear i.e. last access time further from current time (third index value is relatively large)
After one books is arranged in.
As a result, by a variety of ranking results of synthesis, before being come most to avoid will obviously not meet the desired article of user
Face promotes user experience, while realizing effective management to multiple articles.
So far, it has been combined Fig. 1 and the article sequencing method of the present invention is described in detail in embodiment.
In addition, the article sequencing method of the present invention can be realized by a kind of article collator.Fig. 2 shows according to this hair
The structural schematic diagram of the article collator of bright one embodiment.Wherein, the function module of article collator 200 can be by reality
The combination of the hardware of the existing principle of the invention, software or hardware and software is realized.It will be appreciated by persons skilled in the art that figure
2 described function modules can combine or be divided into submodule, to realize the principle of foregoing invention.Therefore, originally
Text description can support to functions described herein module it is any it is possible combination or division or further
It limits.
Article collator 200 shown in Fig. 2 can be used for realizing article sequencing method shown in FIG. 1, below only with regard to object
The operation that the function module and each function module that product collator 200 can have can execute is described briefly, for it
Involved in detail section may refer to the description above in association with Fig. 1, which is not described herein again.
As shown in Fig. 2, the article collator 200 of the present invention may include the first collator 210, coupling apparatus 220
With the second collator 230.
First collator 210 can be used for each in the access data of a variety of history based on multiple articles, respectively
Individual event sequence is carried out to the multiple article, to obtain multiple individual event ranking results of each in the multiple article.
A variety of history access data and can include but is not limited to is for the article access times, access duration and
At least two in last access time.Carrying out the individual event ranking results that individual event sequence obtains based on the access times can be
First index, it can be the second index to carry out the individual event ranking results that individual event sequence obtains based on the access duration, be based on institute
It can be that third indexes to state last access time and carry out the individual event ranking results that individual event sequence obtains.
Access times can be the accumulative access times in the nearest predetermined time.A length of nearest predetermined time when the access
Accumulative or average access duration in interior or nearest pre-determined number.
Preferably, individual event ranking results can be that the individual event of the article indexes, and individual event be sorted the individual event of forward article
Index is smaller.
Coupling apparatus 220 can be used for combine the multiple individual event ranking results, obtain the article it is integrated ordered according to
According to.In a preferred embodiment, coupling apparatus 220 can be weighted summation to the multiple individual event ranking results, to obtain
Obtain the integrated ordered foundation.
Second collator 230 can be used for being based on the integrated ordered foundation, is ranked up to the multiple article.It is excellent
Selection of land, the second collator 230 can arrange the multiple article by the sequence of the integrated ordered foundation from small to large
Sequence.
In a preferred embodiment, article collator can also include data acquisition facility (not shown), use
Data are accessed in a variety of history for obtaining multiple articles respectively.Wherein, data acquisition facility can be from the access log of user
It obtains user and data is accessed to a variety of history of multiple articles.
It, can according to the significance level of each item data in a variety of history access data or to integrated ordered influence degree
Think that corresponding weight is set separately in each individual event ranking results, can preferably distribute to third index (such as according to
Last access time) weight it is maximum.
In addition, for integrated ordered according to two or more identical articles, second collator 230 can be with base
It is ranked up in third index.
【Application examples】
By taking e-book as an example, the present invention proposes a kind of mobile terminal based on a variety of behaviors of user to bookshelf intelligent sequencing
Scheme.
The a variety of behaviors of user can include but is not limited to be that user opens the number of books, the nearest read books of user recently
Duration, user open books time point etc..A variety of behaviors for user can respectively arrange more e-books
Sequence, to obtain the location index that each e-book corresponds to various actions.
For example, a) opening number recently according to user carries out individual event sequence, the location index of certain this book on the shelf is x;
B) it reads duration recently according to user and carries out individual event sequence, the location index of certain this book on the shelf is y;C) it is opened according to user
The time point of books carries out individual event sequence, and the location index of certain this book on the shelf is z.In turn, according to three variables of x, y, z,
The integrated ordered foundation of books is calculated by following algorithm A:
Result=x+y+z*3
Wherein, result indicates the integrated ordered foundation of books.
It is ranked up by the result to more books, calculates position of the books in bookshelf, to more accurate
Accomplish the interested book of user coming front.
Wherein, equal if there is the integrated ordered result of two books or multiple books, then can directly according to
The time point z variable of books is opened at family, and two identical to result or more books are ranked up.
It should be appreciated that the realization of specific algorithm of the present invention can be able to be based on user with diversity, core
Frequency of reading, time point this three class behavior read duration, open books are calculated, and open the time point z of books
Weight can be higher than both other weight, to calculate bookshelf ordering rule.
Some, can be to avoid obviously not being met the desired books of user by scheme as described above through the invention as a result,
Foremost is come, the sequence of user's bookshelf books can be more effectively managed, it is more preferable to user experience.
Fig. 3 shows the calculating for the data processing that can be used for realizing above-mentioned article sequencing method according to one embodiment of the invention
The structural schematic diagram of equipment.
Referring to Fig. 3, computing device 300 includes memory 310 and processor 320.
Processor 320 can be the processor of a multinuclear, can also include multiple processors.In some embodiments,
Processor 320 can include a general primary processor and one or more special coprocessors, such as graphics process
Device (GPU), digital signal processor (DSP) etc..In some embodiments, processor 320 can use the circuit of customization real
It is existing, such as application-specific IC (ASIC, Application Specific Integrated Circuit) or scene
Programmable gate array (FPGA, Field Programmable Gate Arrays).
Memory 310 may include various types of storage units, such as Installed System Memory, read-only memory (ROM), and forever
Long storage device.Wherein, ROM can store processor 320 either computer other modules need static data or refer to
It enables.Permanent storage can be read-write storage device.Permanent storage can be after computer circuit breaking not
The non-volatile memory device of the instruction and data of storage can be lost.In some embodiments, permanent storage device uses
Mass storage device (such as magnetically or optically disk, flash memory) is used as permanent storage.In other embodiment, permanently deposit
Storage device can be removable storage device (such as floppy disk, CD-ROM drive).Installed System Memory can be read-write storage device or
The read-write storage device of volatibility, such as dynamic random access memory.Installed System Memory can store some or all processors
The instruction and data needed at runtime.In addition, memory 310 may include the combination of arbitrary computer readable storage medium,
Including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read only memory), disk and/or
CD can also use.In some embodiments, memory 310 may include that removable storage that is readable and/or writing is set
It is standby, for example, laser disc (CD), read-only digital versatile disc (such as DVD-ROM, DVD-dual layer-ROM), read-only Blu-ray Disc,
Super disc density, flash card (such as SD card, min SD cards, Micro-SD cards etc.), magnetic floppy disc etc..It is computer-readable to deposit
It stores up medium and does not include carrier wave and the momentary electron signal by wirelessly or non-wirelessly transmitting.
Code can be handled by being stored on memory 310, when that can handle code and handled by processor 320, can make processing
Device 320 executes the article sequencing method addressed above.
Article sequencing method according to the present invention, device, computing device above is described in detail by reference to attached drawing.
In addition, being also implemented as a kind of computer program or computer program product, the meter according to the method for the present invention
Calculation machine program or computer program product include the calculating for executing the above steps limited in the above method of the present invention
Machine program code instruction.
Alternatively, the present invention can also be embodied as a kind of (or the computer-readable storage of non-transitory machinable medium
Medium or machine readable storage medium), it is stored thereon with executable code (or computer program or computer instruction code),
When the executable code (or computer program or computer instruction code) is by electronic equipment (or computing device, server
Deng) processor execute when, so that the processor is executed each step of the above method according to the present invention.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.
Flow chart and block diagram in attached drawing show that the possibility of the system and method for multiple embodiments according to the present invention is real
Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey
A part for sequence section or code, the part of the module, section or code include one or more for realizing defined
The executable instruction of logic function.It should also be noted that in some implementations as replacements, the function of being marked in box also may be used
With to occur different from the sequence marked in attached drawing.For example, two continuous boxes can essentially be basically executed in parallel,
They can also be executed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or stream
The combination of each box in journey figure and the box in block diagram and or flow chart can use functions or operations as defined in executing
Dedicated hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art
Other those of ordinary skill can understand each embodiment disclosed herein.