CN103729413B - The sort method of dialog items, device and mobile terminal in a kind of instant messaging - Google Patents
The sort method of dialog items, device and mobile terminal in a kind of instant messaging Download PDFInfo
- Publication number
- CN103729413B CN103729413B CN201310681865.4A CN201310681865A CN103729413B CN 103729413 B CN103729413 B CN 103729413B CN 201310681865 A CN201310681865 A CN 201310681865A CN 103729413 B CN103729413 B CN 103729413B
- Authority
- CN
- China
- Prior art keywords
- score value
- dialog items
- stop
- items
- new information
- 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.)
- Active
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/951—Indexing; Web crawling techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Present disclose provides sort method, device and the mobile terminal of dialog items in a kind of instant messaging, methods described includes:Obtain ordered samples;The acquisition ordered samples include:Obtain the residence time for browsing the dialog items of each in instant messaging;Each described dialog items are ranked up according to the residence time.In the disclosure, each dialog items is ranked up in the residence time of dialog items according to user, often gone or dialog items interested in order to which user can quickly find, the efficiency and Consumer's Experience for searching dialog items is improved.
Description
Technical field
This disclosure relates to timely communication technical field, the sort method of dialog items, dress in more particularly to a kind of instant messaging
Put and mobile terminal.
Background technology
With the popularization of various instant messagings (the such as chat software such as Michat, wechat or QQ), increasing user adds
Enter one or more chat groups to be chatted.One chat group can include many users, such as, tens users, or even several
Hundred users etc., its chat content being related to is very how also extremely complex.It is existing to be for the ease of searching the content of chat
When communication can all provide the user a dialog items of all chat conversations(Also referred to as conversations list), in order to which user can look into
Find history chat conversations.At present, instant messaging is to initiate the time of chat to arrange all users in dialog items according to user
Chat conversations.But, chatted, chatted in its group that chats due to having many consumers if a user adds chat group
My god, and the content chatted is many and complicated, and still, these contents may not be interested to the user oneself, can be due to
Chat group is more active, and its dialog items always comes the foremost of other chat group's dialog items, is not easy to user and finds certainly
Oneself interested or desired dialog items.
The content of the invention
Present disclose provides a kind of sort method of conversations list, device and mobile terminal, to solve in existing group chat, use
Family can not quickly find the dialog items of oneself dialog items interested, the technical problem for causing Consumer's Experience to reduce.
In order to solve the above-mentioned technical problem, the present disclosure discloses following technical scheme:
First aspect provides a kind of sort method of dialog items in instant messaging, and methods described includes:
Obtain ordered samples;The acquisition ordered samples include:Obtain the stop for browsing the dialog items of each in instant messaging
Time;
Each described dialog items are ranked up according to the residence time.
Preferably, described be ranked up according to the residence time to each described dialog items, including:
Obtain dwell times of the residence time more than preset duration for browsing each dialog items;
Calculated according to the dwell times of each dialog items and stop score value;
Each described dialog items are ranked up according to the stop score value.
Preferably, in second of possible implementation, the acquisition ordered samples also include:Acquisition browses IMU
The number of visits of the dialog items of each in news;Methods described also includes:
Number of visits score value is calculated according to the number of visits of each dialog items;
Calculate each dialog items stop score value and number of visits score value and, obtain the comprehensive of each dialog items
Score value;
It is described according to it is described stop score value each described dialog items are ranked up for according to the comprehensive score value to institute
Each dialog items is stated to be ranked up.
Preferably, the acquisition ordered samples also include:Obtain that each dialog items in instant messaging obtain new information
Number;Methods described also includes:
New information score value is calculated according to the number that each described dialog items obtain new information;
Calculate each dialog items stop score value and new information score value and, obtain comprehensive point of each dialog items
Value;
It is described according to it is described stop score value each described dialog items are ranked up for according to the comprehensive score value to institute
Each dialog items is stated to be ranked up.
Preferably, the acquisition ordered samples also include:Obtain the number that each dialog items in instant messaging send message;
Methods described also includes:
The number for sending message according to each described dialog items, which is calculated, sends message score;
Calculate the stops score value of each dialog items with send message score and, obtain the comprehensive of each dialog items
Score value;
It is described according to it is described stop score value each described dialog items are ranked up for according to the comprehensive score value to institute
Each dialog items is stated to be ranked up.
Preferably, the ordered samples that obtain are to obtain the ordered samples in default a period of time.
Preferably, methods described also includes:
When the stop score value that the calculating is obtained, which is less than, stops score value threshold values, the stop score value is stopping that calculating is obtained
Stay score value;When the stop score value that the calculating is obtained is not less than score value threshold values is stopped, the stop score value divides for described stop
It is worth threshold values;
When the number of visits score value that the calculating is obtained is less than number of visits score value threshold values, the number of visits score value is
Calculate obtained number of visits score value;When the number of visits score value that the calculating is obtained is not less than number of visits score value threshold values,
The number of visits score value is the number of visits score value threshold values;
When the new information score value that the calculating is obtained is less than new information score value threshold values, the new information score value is to calculate
The new information score value arrived;When the new information score value that the calculating is obtained is not less than new information score value threshold values, the new information point
It is worth for the new information score value threshold values;
When it is described calculate obtain send message score be less than send message score threshold values when, the message score that sends is
What calculating was obtained sends message score;When it is described calculate obtain send message score not less than send message score threshold values when,
The message score that sends sends message score threshold values to be described.
Preferably, it is described each described dialog items are ranked up including:
At least part dialog items in instant messaging are ranked up according to the sort method;Or
To in instant messaging with new information dialogue item parts with do not have new information dialogue item parts, respectively according to
The sort method is ranked up.
Second aspect provides a kind of collator of dialog items in instant messaging, including:
Acquiring unit, for obtaining ordered samples;The acquisition ordered samples include:Acquisition browses each in instant messaging
The residence time of dialog items;
Sequencing unit, for being ranked up according to the residence time to each described dialog items.
Preferably, the sequencing unit includes:
Number of times acquiring unit, the residence time that each dialog items are browsed for obtaining exceedes the stop time of preset duration
Number;
First computing unit, score value is stopped for being calculated according to the dwell times of each dialog items;
Sort subelement, for being ranked up according to the stop score value to each described dialog items.
Preferably, the ordered samples that the acquiring unit is obtained also include:Acquisition browses the dialog items of each in instant messaging
Number of visits;Described device also includes:
Second computing unit, for calculating number of visits score value according to the number of visits of each dialog items;
3rd computing unit, for calculate each dialog items stop score value and number of visits score value and, obtain
The comprehensive score value of each dialog items;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value to institute according to the 3rd computing unit
Each dialog items is stated to be ranked up.
Preferably, the ordered samples that the acquiring unit is obtained also include:Each dialog items in instant messaging are obtained to obtain
The number of new information;Described device also includes:
4th computing unit, the number for obtaining new information according to each described dialog items calculates new information score value;
5th computing unit, for calculate each dialog items stop score value and new information score value and, obtain respectively
The comprehensive score value of individual dialog items;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value to institute according to the 5th computing unit
Each dialog items is stated to be ranked up.
Preferably, the ordered samples that the acquiring unit is obtained also include:Each dialog items in instant messaging are obtained to send
The number of message;Described device also includes:
6th computing unit, the number calculating for sending message according to each described dialog items sends message score;
7th computing unit, for calculate the stops score value of each dialog items with send message score and, obtain
The comprehensive score value of each dialog items;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value to institute according to the 7th computing unit
Each dialog items is stated to be ranked up.
Preferably, it is to obtain the ordered samples in default a period of time that the acquiring unit, which obtains ordered samples,.
Preferably, described device also includes:
First determining unit, is less than stop score value threshold values for calculating obtained stop score value in first computing unit
When, the stop score value is determined to calculate obtained stop score value;And obtained stop is calculated in first computing unit
When score value is not less than score value threshold values is stopped, it is the stop score value threshold values to determine the stop score value;
Second determining unit, is less than number of visits for calculating obtained number of visits score value in second computing unit
During score value threshold values, determine the number of visits score value to calculate obtained number of visits score value;And calculate single described second
When member calculates obtained number of visits score value not less than number of visits score value threshold values, it is described clear to determine the number of visits score value
Look at number of times score value threshold values;
3rd determining unit, is less than new information score value for calculating obtained new information score value in the 4th computing unit
During threshold values, determine the new information score value to calculate obtained new information score value;And calculated in the 4th computing unit
When the new information score value arrived is not less than new information score value threshold values, it is the new information score value threshold values to determine the new information score value;
3rd determining unit, for the 6th computing unit calculate obtain send message score be less than send message
During score value threshold values, it is determined that it is described send message score for calculate obtain send message score;And calculate single the described 6th
What member calculating was obtained sends message score not less than when sending message score threshold values, it is determined that the message score that sends is the hair
Outbound message score value threshold values.
Preferably, the sequence subelement is ranked up to each described dialog items, specifically include:
At least part dialog items in instant messaging are ranked up according to the sort method;Or
To in instant messaging with new information dialogue item parts with do not have new information dialogue item parts, respectively according to
The sort method is ranked up.
The third aspect provides a kind of mobile terminal, and the mobile terminal includes memory, and one or one
More than program, one of them or more than one program storage in memory, and be configured to by one or one with
Upper computing device is one or more than one program bag contains the instruction for being used for being operated below:
Obtain ordered samples;The acquisition ordered samples include:Obtain the stop for browsing the dialog items of each in instant messaging
Time;
Each described dialog items are ranked up according to the residence time.
Some beneficial effects of the disclosure can include:
In the disclosure, multiple dialog items are ranked up in the residence time of dialog items according to user, in order to user's energy
Quick find often is gone or dialog items interested, improves the efficiency and Consumer's Experience for searching dialog items.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited
It is open.
Brief description of the drawings
, below will be to make needed for embodiment in order to illustrate more clearly of the disclosure or technical scheme of the prior art
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
The flow chart of the sort method of dialog items in a kind of instant messaging that Fig. 1 provides for the disclosure;
Another flow chart of the sort method of dialog items in a kind of instant messaging that Fig. 2 provides for the disclosure;
Another flow chart of the sort method of dialog items in a kind of instant messaging that Fig. 3 provides for the disclosure;
Another flow chart of the sort method of dialog items in a kind of instant messaging that Fig. 4 provides for the disclosure;
Another flow chart of the sort method of dialog items in a kind of instant messaging that Fig. 5 provides for the disclosure;
The structural representation of the collator of dialog items in a kind of instant messaging that Fig. 6 provides for the disclosure;
Another structural representation of the collator of dialog items in a kind of instant messaging that Fig. 7 provides for the disclosure;
Another structural representation of the collator of dialog items in a kind of instant messaging that Fig. 8 provides for the disclosure;
Another structural representation of the collator of dialog items in a kind of instant messaging that Fig. 9 provides for the disclosure;
Another structural representation of the collator of dialog items in a kind of instant messaging that Figure 10 provides for the disclosure;
A kind of structural representation for mobile terminal that Figure 11 provides for the disclosure.
Embodiment
Below in conjunction with the accompanying drawing of the disclosure, technical scheme of this disclosure carries out clear, complete description, it is clear that institute
The embodiment of description is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention,
The every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, belongs to this hair
The scope of bright protection.
The term used in the disclosure is the purpose only merely for description specific embodiment, and is not intended to be limiting the present invention.
" one kind ", " described " and "the" of singulative used in disclosure and the accompanying claims book are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of disclosure scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Referring to Fig. 1, in a kind of instant messaging that Fig. 1 provides for the disclosure sort method of dialog items flow chart;Institute
The method of stating includes:
Step 101:Obtain ordered samples;The acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item;
Wherein, in the embodiment, the acquisition ordered samples were obtained in default a period of time, the acquisition ordered samples
It is to obtain the ordered samples in default a period of time;Wherein, described default a period of time, when can be one section before sorting
Between, such as before in 24 hours.
The dialog items can include:Single dialog items, chat group dialog items, wechat dialog items, broadcast dialogue etc..
So-called broadcast dialogue, be from certain official's object in the form of broadcasting by dialogue from immediate communication tool to user's sending bulk message
.Such as, Broadcast Journalism etc..
The embodiment is with 3 chat groups(Chat group A, chat group B, chat group C)Exemplified by, however it is not limited to this.Each chat
There are multiple users in group in chat, each corresponding dialog items of group of chatting are respectively dialog items A, dialog items B and dialog items C.
When user, which enters chat group A, browses multiple Client-initiated dialogues in chat group, if user has to the dialog items for the group A that chats
Point is interested, then pays close attention to the content of these dialog items, so that residence time is a little longer, such as 10 minutes etc., then, exit merely
Its group A, into chat group B, the user browses chat group B dialog items B, does not then feel emerging to the chat content in dialog items B
Interest, residence time can be shorter, such as, 1 minute etc.;Then, chat group B is exited, chat group C is entered again, the user browses merely
Its group C dialog items C, then especially interested in the chat content in dialog items C, residence time can be longer, such as,
30 minutes etc..Indicate herein for example, being not limited to this in actual applications.
When user enters chat group and browses dialog items, MSN can record the user and browse each chat group
The residence time of dialog items, then, when record user browses the stop of multiple dialog items in server acquisition MSN
Between.
Certainly, in this embodiment, MSN is when record user browses the residence time of each dialog items, also
The title that user enters chat group can be recorded, and dialogue whether is initiated in chat group, and initiates the number of times of dialogue
Deng.
In this embodiment, Client-initiated in chat group is talked with, referred to as dialog items, is referred to as conversations list.
One dialog items of correspondence in each chat group.It should be noted that in this embodiment, showing and chatting on mobile terminal display screen curtain
The dialog items of its group, can be shown by multiple page dialogs, that is to say, that a dialog items can show on different page dialogs
Show.
Step 102:Each described dialog items are ranked up according to the residence time.
In the step, a kind of process for being ranked up according to the residence time to each described dialog items is:
First, dwell times of the residence time more than preset duration for browsing each dialog items are obtained;
Wherein, preset duration can be able to be 2 seconds or 5 such as with any one time point between 2 seconds to 10 seconds
Second, it can also be 8 seconds etc..
Then, calculated according to the dwell times of each dialog items and stop score value;
In the step, it is according to the computing formula that the dwell times of dialog items calculate stop score value:The dwell times of acquisition
It is multiplied by and stops score value every time(It is referred to as weight coefficient), just obtain the stop score value of dialog items.Wherein, score value is stopped every time
It is default each stop score value, can is 1 point, 2 can also grade, it is of course also possible to sets according to actual needs other
Score value, the present embodiment is not restricted.
Finally, each described dialog items are ranked up according to the stop score value.
In the step, each dialog items can be ranked up according to the stop score value of each dialog items of calculating, such as,
To stop before the high dialog items of score value come, the low dialog items of dialog items are come behind, certainly, conversely, can also.
Optionally, the default maximum score value that stops for setting each dialog items is 100 points, when the stop point of the dialog items of calculating
When value is more than default maximum stop score value, then the stop score value of the dialog items is from the default maximum stop score value.
Another process that is ranked up according to the residence time to each described dialog items is:Obtain in preset time
User browses the number of times of each dialog items, and each residence time, calculates in the preset time and browses each
Each residence time sum of dialog items;And using each residence time sum as the dialog items stop score value;Then basis
The stop score value is ranked up to each described dialog items.
Another process that is ranked up according to the residence time to each described dialog items is:Can be directly according to every
The length of secondary residence time is ranked up to each described dialog items, such as, can arrange the dialog items of each residence time length
Foremost is listed in, is then sorted successively each dialog items by the length of each residence time successively.Conversely, will can also stop every time
Stay time short dialog items arrangement up front, then sorted successively each object by the short length of each residence time successively.
That is, in the disclosure, being ranked up according to the multiple dialog items of user behavior.
Optionally, can also be at least part dialog items in instant messaging according to the sort method(The such as residence time
Or stop score value)It is ranked up;Or to the dialogue item parts in instant messaging with new information and pair without new information
Item parts are talked about, respectively according to the sort method(Such as residence time or stop score value)It is ranked up.
In the disclosure, multiple dialog items are ranked up in the residence time of dialog items according to user, in order to user's energy
Quick find often is gone or dialog items interested, improves the efficiency and Consumer's Experience for searching dialog items.
Also referring to Fig. 2, Fig. 2 is the another of the sort method of dialog items in a kind of instant messaging provided in an embodiment of the present invention
In one embodiment, in this embodiment, so that user enters the chat group in instant messaging as an example, but this is not limited to, the side
Method includes:
Step 201:Obtain ordered samples;The acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item;And obtain the number of visits for browsing the dialog items of each in instant messaging;
In the embodiment, the acquisition ordered samples were obtained in default a period of time, and the acquisition ordered samples are to obtain
Take the ordered samples in default a period of time;Wherein, described default a period of time, a period of time before being sequence,
Before such as in 24 hours.
In the step, the process for obtaining the number of visits for browsing the dialog items of each in instant messaging is:
User enters multiple chat groups and browses the corresponding dialog items of multiple chat groups, is chatted when user browses this into chat group
During the dialog items of its group, MSN record user browses the number of visits of dialog items into chat group every time, and clear
Look at residence times of each dialog items.Server obtain MSN record browse each dialog items number of visits and
Browse the residence time of each dialog items.Then, the residence time for browsing each dialog items is obtained more than preset duration
Dwell times, its implementation process for obtaining dwell times refers to above-mentioned, will not be repeated here.
Step 202:The residence time for browsing the dialog items of each in instant messaging is obtained, according to stopping for each dialog items
Stay number of times to calculate and stop score value, and number of visits score value is calculated according to the number of visits of each dialog items;
In the step, it is according to the formula that dwell times calculate stop score value:Dwell times × stop of dialog items is once
Score value(It is referred to as weight coefficient), obtain the stop score value of respective items, its specific calculating process, refer to it is above-mentioned, herein
Repeat no more.
Wherein, it is according to the formula of number of visits calculating number of visits score value:The score value for number of visits × browse every time, is obtained
To the number of visits score value of respective items.Wherein, the score value browsed every time is score value set in advance, such as is set as 1 point, or
2 points, it can specifically set as needed, the present embodiment is not restricted.
It should be noted that in this embodiment, in addition it is also necessary to which setting stops the maximum of score value(It is i.e. maximum to stop score value),
And the maximum of number of visits score value(I.e. maximum number of visits score value), but maximum stop score value and maximum number of visits score value
Sum is 100 points, such as, but sets maximum 50 points of number of visits score value, and it is also 50 points that maximum, which stops score value,;Can be with maximum
Number of visits score value is 60 points, and maximum stops score value and graded for 40, does not have particular/special requirement for the maximum of the two setting, only
The two score value sum is wanted to be equal to 100.
It should be noted that the specific computational algorithm of the score value, those skilled in the art can be as needed, to setting in advance
The score value of meter(That is weight coefficient)It is adjusted correspondingly.Therefore, no matter those skilled in the art are according to disclosure design philosophy
The specific computational algorithm for designing which kind of score value is regarded as within the protection domain of the disclosure.
Step 203:Calculate each dialog items stop score value and number of visits score value and, obtain each dialog items
Comprehensive score value;
In the step, the stop score value of each dialog items is added with number of visits score value, the comprehensive of each dialog items is obtained
Conjunction property score value.Wherein, when the obtained stop score value that calculates is less than stop score value threshold values(The maximum stop total score set
Value)When, the stop score value that the stop score value obtains for calculating;When the obtained stop score value that calculates is not less than stop score value
During threshold values, the stop score value is the stop score value threshold values;Browse secondary when the number of visits score value that the calculating is obtained is less than
Number score value threshold values(The maximum number of visits total score set)When, the number of visits that the number of visits score value obtains for calculating
Score value;When the number of visits score value that the calculating is obtained is not less than number of visits score value threshold values, the number of visits score value is
The number of visits score value threshold values.
In order to make it easy to understand, referring to following examples:
It is assumed that the total score that user browses dialog items is set as 55 points, the score value for browsing a dialog items is set to 1 point;
And more than 5 seconds, the total score for stopping the residence time of dialog items was set to 45 points, and the score value stopped each time is set to 1 point;
The comprehensive scores of each of which dialog items can be calculated according to the following equation:
Dialog items comprehensive scores=min (55, browse+the min of the number of visits of dialog items × 1) (45, dwell times × 1)
Wherein min(a,b)Expression takes value small in a, b.
That is, when the stop score value of each dialog items of calculating is more than default stop score value threshold values, pressing
The comprehensive score value of each dialog items is calculated according to the default stop score value threshold values;Otherwise, according to the stop of calculating
Score value calculates the comprehensive score value of each dialog items;
When the number of visits score value that each dialog items are browsed described in calculating is more than browsing for each dialog items of preset browsing
During number of times score value threshold values, each dialogue is calculated according to the number of visits score value threshold values of each dialog items of the preset browsing
The comprehensive score value of item;Otherwise, the comprehensive score value of each dialog items is calculated according to the number of visits score value of calculating.
For another example, if the stop score value threshold values of the residence time of preset browsing dialog items is 60 points, each residence time
Score value be 5 points, and the number of visits score value threshold values of the number of times of the dialog items of preset browsing be 40 points, the dialog items browsed every time
Score value be 4 points;Assuming that the dwell times into the residence time of each dialog items are 10 times, browsing for the dialog items browsed is secondary
Number is 11 times, then the stop score value of each dialog items is:4 × 5=20 points, and browse the number of visits score value of each dialog items
For 4 × 11=44 points;And the comprehensive scores for calculating each dialog items are:
Dialog items comprehensive scores=min (60, browse+the min of the number of visits of dialog items × 4) (40, dwell times × 5)=
Min (60,4 × 11)+min (40,10 × 5)=44+40=84 (dividing)
In the formula, because 44 points are less than 60 points, then the comprehensive score value of each dialog items is calculated using 44 points;And
50 points are more than 40 points, then the comprehensive score value of each dialog items is calculated using 40 points.
In addition, in the embodiment, can also calculate each according to the percentage of the stop score value and number of visits score value
The comprehensive score value of dialog items.Such as, the stop score value for presetting the residence time of each dialog items is 60% point, default every time to stop
The score value for staying the time is 5% point;The number of visits score value for browsing each dialog items is 40% point, and the score value for browsing a dialog items is
8% point;Wherein, preset the stop score value of residence time and browse the number of visits score value of each dialog items for 1 point.Wherein, each
Residence times of dialog items stops score value and browses the calculating process of the number of visits score value of each dialog items and above-mentioned calculated
Journey is similar, specifically refers to above-mentioned, will not be repeated here.
Step 204:Each described dialog items are ranked up according to the comprehensive score value.
In the step, each described dialog items can be ranked up according to the comprehensive score value of above-mentioned steps, such as, can
So that up front, the big dialog items arrangement of comprehensive score value is then sorted into each successively by the size for stopping comprehensive score value successively
Dialog items.Conversely, can also be by the small dialog items arrangement of comprehensive score value up front, then successively by the small of comprehensive score value
Big each dialog items that sort successively.
It is of course also possible to at least part dialog items in instant messaging according to the sort method(Such as comprehensive score value
Size)It is ranked up;Or to the dialogue item parts in instant messaging with new information and the dialog items without new information
Part, respectively according to the sort method(The size of such as comprehensive score value)It is ranked up.
In the disclosure, come according to the stop score value and the number of visits score value for browsing each dialog items of each dialog items
The comprehensive score value of each dialog items is calculated, and each dialog items is ranked up according to the comprehensive score value of the dialog items, with
It is easy to user quickly to find often to go or dialog items interested, not only increases the search efficiency of dialog items, also improve
Consumer's Experience.
Also referring to Fig. 3, Fig. 3 is the another of the sort method of dialog items in a kind of instant messaging provided in an embodiment of the present invention
One flow chart, in this embodiment, still by taking the group that chats as an example, but is not limited to this.Methods described includes:
Step 301:Ordered samples are obtained, the acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item, and obtain the number that each dialog items in instant messaging obtain new information;
In the embodiment, the acquisition ordered samples were obtained in default a period of time, and the acquisition ordered samples are to obtain
Take the ordered samples in default a period of time;Wherein, described default a period of time, a period of time before being sequence,
Before such as in 24 hours.
Step 302:Dwell times of the residence time more than preset duration for browsing each dialog items are obtained, according to institute
The dwell times for stating each dialog items calculate stop score value, and the number for obtaining new information according to each described dialog items is calculated
New information score value;
Its formula for calculating the stop score value of each dialog items is:The score value of dwell times × stop of dialog items once;
The formula for calculating the new information score value of each dialog items is:Point for new information number × new information of acquisition one that dialog items are obtained
Value.
It should be noted that in this embodiment, in addition it is also necessary to which setting stops the maximum of score value(It is i.e. maximum to stop score value),
And the maximum of the new information score value obtained(I.e. maximum new information score value), but maximum stop score value and maximum new information score value
Sum is 100 points, such as, but it is 50 points to set the maximum score value that stops, and maximum new information score value is also 50 points;Can be with maximum
It is 60 points to stop score value, and maximum new information score value grades for 40, does not have particular/special requirement for the maximum of the two setting, as long as
The two score value sum is equal to 100.
Step 303:Calculate each dialog items stop score value and new information score value and, obtain each dialog items
Comprehensive score value;
In the step, it is assumed that the score value for the new information that dialog items are obtained is set as 55 points, the score value of a new information is obtained
It is set to 2 points;And more than 5 seconds, the stop score value for stopping the residence time of dialog items was set to 45 points, point stopped each time
Value is set to 1 point;The comprehensive scores of each of which dialog items can be calculated according to the following equation:
Dialog items comprehensive scores=min (55, obtain+the min of number × 2) (45, dwell times × 1) of new information
Wherein min(a,b)Expression takes value small in a, b.
That is, when the stop score value that the calculating is obtained is less than and stops score value threshold values, the stop score value is meter
During obtained stop score value, the comprehensive score value of each dialog items is calculated according to obtained stop score value is calculated;When
When the stop score value that the calculating is obtained is not less than score value threshold values is stopped, when the stop score value is the stop score value threshold values,
The comprehensive score value of each dialog items is calculated according to the stop score value threshold values;
When the new information score value that the calculating is obtained is less than new information score value threshold values, the new information score value is to calculate
During the new information score value arrived, the comprehensive score value of each dialog items is calculated according to obtained new information score value is calculated;When
When the new information score value that the calculating is obtained is not less than new information score value threshold values, the new information score value is the new information score value
During threshold values, the stop score value is the stop score value threshold values, and each dialog items are calculated according to new information score value threshold values
Comprehensive score value.
Step 304:Each described dialog items are ranked up according to the comprehensive score value.
In the step, each described dialog items can be ranked up according to the comprehensive score value of above-mentioned steps, such as, can
So that the big dialog items arrangement of comprehensive score value to be sorted by the size of comprehensive score value successively successively up front, then, each is right
Talk about item.But it is not limited to this.
Optionally, at least part dialog items in instant messaging according to the sort method(Such as comprehensive score value it is big
It is small)It is ranked up;Or to the dialogue item parts in instant messaging with new information and the dialogue item parts without new information,
Respectively according to the sort method(The size of such as comprehensive score value)It is ranked up.
In the disclosure, each dialogue is calculated according to the stop score value and the obtained new information score value of each dialog items
The comprehensive score value of item, and each dialog items is ranked up according to the comprehensive score value of the dialog items, in order to which user can be fast
Quick checking, which is found, often goes or dialog items interested, not only increases the search efficiency of dialog items, also improves Consumer's Experience.
Also referring to Fig. 4, Fig. 4 is the another of the sort method of dialog items in a kind of instant messaging provided in an embodiment of the present invention
One flow chart, in this embodiment, still by taking the group that chats as an example, but is not limited to this.Methods described includes:
Step 401:Ordered samples are obtained, the acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item, and obtain the number that each dialog items in instant messaging send message;
In the embodiment, the acquisition ordered samples were obtained in default a period of time, and the acquisition ordered samples are to obtain
Take the ordered samples in default a period of time;Wherein, described default a period of time, a period of time before being sequence,
Before such as in 24 hours.
Wherein, message is sent for Client-initiated to talk with.
Step 402:Dwell times of the residence time more than preset duration for browsing each dialog items are obtained, according to institute
The number of visits for stating each dialog items calculates number of visits score value, and sends according to each described dialog items the number meter of message
Calculation sends message score;
It, the formula for calculating the stop score value of each dialog items is:Dwell times × stops of each dialog items is once
Score value;Calculate each dialog items and send the formula for sending message score of message and be:Each dialog items send the number of message ×
Send the score value of a message.
It should be noted that in this embodiment, in addition it is also necessary to which setting stops the maximum of score value(It is i.e. maximum to stop score value),
And send the maximum of message score(I.e. maximum sends message score), but the maximum score value that stops sends message score with maximum
Sum is 100 points, such as, but it is 55 points to set the maximum score value that stops, and maximum new information score value is also 45 points;Can be with maximum
It is 50 points to stop score value, and maximum new information score value grades for 50, does not have particular/special requirement for the maximum of the two setting, as long as two
Person's score value sum is equal to 100.
Step 403:Calculate the stops score value of each dialog items with send message score and, obtain each dialog items
Comprehensive score value;
In the step, it is assumed that the score value that dialog items send message is set as 55 points, and the score value for sending a message is set to
2 points;And more than 5 seconds, the stop score value for stopping the residence time of dialog items was set to 45 points, the score value stopped each time is set
For 1 point;The comprehensive scores of each of which dialog items can be calculated according to the following equation:
Dialog items comprehensive scores=min (55, send+the min of the number of message × 2) (45, dwell times × 1)
Wherein min(a,b)Expression takes value small in a, b.
That is, when the stop score value that the calculating is obtained is less than and stops score value threshold values, the stop score value is meter
During obtained stop score value, the comprehensive score value of each dialog items is calculated according to obtained stop score value is calculated;When
When the stop score value that the calculating is obtained is not less than score value threshold values is stopped, when the stop score value is the stop score value threshold values,
The comprehensive score value of each dialog items is calculated according to the stop score value threshold values;
When it is described calculate obtain send message score be less than send message score threshold values when, the message score that sends is
Calculate obtain when sending message score, according to calculate obtain send message score and calculate the synthesis of each dialog items
Property score value;When it is described calculate obtain send message score not less than send message score threshold values when, it is described to send message score
For it is described send message score threshold values when, comprehensive point of each dialog items is calculated according to message score threshold values is sent
Value.
Step 404:Each described dialog items are ranked up according to the comprehensive score value.
In the step, each described dialog items can be ranked up according to the comprehensive score value of above-mentioned steps, such as, can
So that up front, the big dialog items arrangement of comprehensive score value is then sorted into each successively by the size for stopping comprehensive score value successively
Dialog items.But it is not limited to this.
Wherein, at least part dialog items in instant messaging are ranked up according to the comprehensive score value;Or to instant
Dialogue item parts in communication with new information and the dialogue item parts without new information, respectively according to the comprehensive score value
It is ranked up.
In the disclosure, according to each dialog items stop score value and described send message score and calculate each dialog items
Comprehensive score value, and each dialog items is ranked up according to the comprehensive score value of the dialog items, in order to which user can check quickly soon
Find and often go or dialog items interested, not only increase the search efficiency of dialog items, also improve Consumer's Experience.
Also referring to Fig. 5, Fig. 5 is the another of the sort method of dialog items in a kind of instant messaging provided in an embodiment of the present invention
Among one flow chart, the embodiment, still by taking the group that chats as an example, but this is not limited to.Methods described includes:
Step 501:Obtain ordered samples;The acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item, number of visits, the number of acquisition new information, and send the number of message;
In the embodiment, the acquisition ordered samples were obtained in default a period of time, and the acquisition ordered samples are to obtain
Take the ordered samples in default a period of time;Wherein, described default a period of time, a period of time before being sequence,
Before such as in 24 hours.
Wherein, the residence time for browsing the dialog items of each in instant messaging, number of visits are obtained, of new information is obtained
Number, and send the detailed process of the number of message and refer to above-mentioned, it will not be repeated here.
Step 502:Dwell times of the residence time more than preset duration for browsing each dialog items are obtained, according to institute
The dwell times for stating each dialog items calculate stop score value, number of visits score value are calculated according to the number of visits, according to described
The number for obtaining new information calculates new information score value, is calculated according to the number for sending message and sends message score;
The computing formula of its each score value is respectively:
The score value of dwell times × stop of stop score value=dialog items of each dialog items once;
The number of visits score value=number of visits for browsing dialog items × of each dialog items browses score value once;
New information score value=dialog items of each dialog items obtain the score value of one new information of number × acquisition of new information;
Each dialog items send message score=dialog items send the number of message × and send the score value of a message.
Step 503:The stop score value, number of visits score value, new information score value for calculating each dialog items disappear with sending
The sum of score value is ceased, the comprehensive score value of each dialog items is obtained;
In the present embodiment, it is assumed that the number of visits score value for browsing dialog items is 15 points, the score value browsed once is 1 point;Obtain
The new information score value for obtaining new information is 20 points, and the score value for often obtaining a new information is 2 points;Send message sends message score
For 50 points, often send out a message score value be 5 points;The stop point of (such as more than 5 seconds, but being not limited to this) is stopped for a long time
It is worth for 15 points, the score value stopped each time is 1 point.
The comprehensive score value of each dialog items can be calculated according to the following equation:
Min (15, browse+the min of the number of times of dialog items × 1) (the 20 ,+min of new information number × 2) (and 50, send message number
× 5)+min (15, dwell times × 1)
Wherein min(a,b)Expression takes value small in a, b.
Step 504:Each described dialog items are ranked up according to the comprehensive score value.
In the step, each described dialog items can be ranked up according to the comprehensive score value of above-mentioned steps, such as, can
So that up front, the big dialog items arrangement of comprehensive score value is then sorted into each successively by the size for stopping comprehensive score value successively
Dialog items.But it is not limited to this.
Wherein, at least part dialog items in instant messaging are ranked up according to the comprehensive score value;Or to instant
Dialogue item parts in communication with new information and the dialogue item parts without new information, respectively according to the comprehensive score value
It is ranked up.
In the disclosure, according to the stop score value, number of visits score value, new information score value of each dialog items with sending message point
Value is arranged each dialog items to calculate the comprehensive score value of each dialog items according to the comprehensive score value of the dialog items
Sequence, often goes or dialog items interested in order to which user can quickly find, not only increases the search efficiency of dialog items, also
Improve Consumer's Experience.
Based on the implementation process of above method mode, the disclosure also provides a kind of sequence dress of dialog items in instant messaging
Put, its structural representation is as shown in fig. 6, described device includes:Acquiring unit 61 and sequencing unit 62, wherein,
The acquiring unit 61, for obtaining ordered samples;The acquisition ordered samples include:Acquisition browses instant messaging
In each dialog items residence time;Wherein, it is to obtain the row in default a period of time that the acquiring unit, which obtains ordered samples,
Sequence sample.
The sequencing unit 62, for being ranked up according to the residence time to each described dialog items.
In another embodiment, the sequencing unit 62 includes:Number of times acquiring unit 621, the first computing unit 622 and row
Sequence subelement 623, its structural representation as shown in Figure 7 wherein,
The number of times acquiring unit 621, the residence time that each dialog items are browsed for obtaining exceedes preset duration
Dwell times;
First computing unit 622, score value is stopped for being calculated according to the dwell times of each dialog items;
The sequence subelement 623, for being ranked up according to the stop score value to each described dialog items.
In another embodiment, the embodiment is on the basis of above-described embodiment, the sequence that the acquiring unit 61 is obtained
Sample also includes:Obtain the number of visits for browsing the dialog items of each in instant messaging;Described device also includes:Second computing unit
81 and the 3rd computing unit 82, its structural representation as shown in Figure 8 wherein,
Second computing unit 81, for calculating number of visits score value according to the number of visits of each dialog items;
3rd computing unit 82, stop score value and number of visits score value for calculating each dialog items
With obtain the comprehensive score value of each dialog items;
The sequence subelement 623, is additionally operable to calculate described comprehensive point obtained according to the 3rd computing unit 82
Value is ranked up to each described dialog items.
In another embodiment, the embodiment is on the basis of above-described embodiment, the sequence that the acquiring unit 61 is obtained
Sample also includes:Obtain the number that each dialog items in instant messaging obtain new information;Described device also includes:4th calculates single
Member 91 and the 5th computing unit 92, its structural representation as shown in Figure 9 wherein,
4th computing unit 91, the number for obtaining new information according to each described dialog items calculates new information point
Value;
5th computing unit 92, for calculate each dialog items stop score value and new information score value and,
Obtain the comprehensive score value of each dialog items;
The sequence subelement 623, is additionally operable to calculate described comprehensive point obtained according to the 5th computing unit 92
Value is ranked up to each described dialog items.
In another embodiment, the embodiment is on the basis of above-described embodiment, the sequence that the acquiring unit 61 is obtained
Sample also includes:Obtain the number that each dialog items in instant messaging send message;Described device also includes:6th computing unit
11 and the 7th computing unit 12, its structural representation as shown in Figure 10 wherein,
6th computing unit 11, the number calculating for sending message according to each described dialog items sends message point
Value;
7th computing unit 12, for calculating the stop score value of each dialog items and sending message score
With obtain the comprehensive score value of each dialog items;
The sequence subelement 623, is additionally operable to calculate described comprehensive point obtained according to the 7th computing unit 12
Value is ranked up to each described dialog items.
In another embodiment, the embodiment is on the basis of above-described embodiment, and described device also includes:First determines list
Member, the second determining unit, the 3rd determining unit and the 4th determining unit, wherein, first determining unit, for described
When the stop score value that the calculating of one computing unit is obtained is less than stop score value threshold values, it is stopping that calculating is obtained to determine the stop score value
Stay score value;And when first computing unit calculates obtained stop score value not less than score value threshold values is stopped, it is determined that described
It is the stop score value threshold values to stop score value;Second determining unit, for calculating what is obtained in second computing unit
When number of visits score value is less than number of visits score value threshold values, determine the number of visits score value to calculate obtained number of visits point
Value;And when second computing unit calculates obtained number of visits score value not less than number of visits score value threshold values, it is determined that
The number of visits score value is the number of visits score value threshold values;3rd determining unit, for calculating single the described 4th
When the new information score value that first calculating is obtained is less than new information point threshold, determine that the new information score value newly disappears for what calculating was obtained
Cease score value;And when the 4th computing unit calculates obtained new information score value not less than new information score value threshold values, it is determined that
The new information score value is the new information score value threshold values;4th determining unit, based in the 6th computing unit
What is obtained sends message score less than when sending message score threshold values, it is determined that described send message score to calculate obtained hair
Outbound message score value;And the 6th computing unit calculate obtain send message score not less than sending message score threshold values
When, it is determined that the message score that sends sends message score threshold values to be described.
In another embodiment, the embodiment is on the basis of above-described embodiment, the sequence subelement to it is described each
Dialog items are ranked up, and are specifically included:At least part dialog items in instant messaging are ranked up according to the sort method;Or
Person is to the dialogue item parts in instant messaging with new information and the dialogue item parts without new information, respectively according to the row
Sequence method is ranked up.
Optionally, described device can with it is integrated in the server, unrivalled can also dispose, the disclosure is not restricted.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in described device
Implementation process, will not be repeated here.
In the disclosure, according to the stop score value, number of visits score value, new information score value of each dialog items with sending message point
Value is arranged each dialog items to calculate the comprehensive score value of each dialog items according to the comprehensive score value of the dialog items
Sequence, often goes or dialog items interested in order to which user can quickly find, not only increases the search efficiency of dialog items, also
Improve Consumer's Experience.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
Accordingly, the embodiment of the present invention also provides a kind of mobile terminal, and the mobile terminal includes memory, Yi Jiyi
Individual or more than one program, one of them or more than one program storage is configured to by one in memory
Or more than one computing device is one or more than one program bag contains the instruction for being used for being operated below:Obtain
Ordered samples;The acquisition ordered samples include:Obtain the residence time for browsing the dialog items of each in instant messaging;According to described
Residence time is ranked up to each described dialog items.
Also refer to Figure 11, a kind of structural representation for mobile terminal that Figure 11 provides for the disclosure.The mobile terminal can
For implementing the method provided in above-described embodiment.
Mobile terminal 800 can include communication unit 110, include one or more computer-readable recording mediums
Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WIFI(Wireless
Fidelity, Wireless Fidelity)Module 170, include one or the processor 180 and power supply of more than one processing core
190 grade parts.It will be understood by those skilled in the art that the mobile terminal structure shown in figure does not constitute the limit to mobile terminal
It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts arrangement.Wherein:
Communication unit 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, the communication unit 110
Can be RF(Radio Frequency, radio frequency)Circuit, router, modem, etc. network communication equipment.Especially, when
When communication unit 110 is RF circuits, after the downlink information of base station is received, transfer at one or more than one processor 180
Reason;In addition, being sent to base station by up data are related to.Usually as communication unit RF circuits include but is not limited to antenna,
At least one amplifier, tuner, one or more oscillators, subscriber identity module(SIM)Card, transceiver, coupler,
LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 110 can also be by wireless
Communication communicates with network and other equipment.The radio communication can use any communication standard or agreement, include but is not limited to
GSM(Global System of Mobile communication, global system for mobile communications)、GPRS(General
Packet Radio Service, general packet radio service)、CDMA(Code Division Multiple Access, code
Divide multiple access)、WCDMA(Wideband Code Division Multiple Access, WCDMA)、LTE(Long
Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service)Deng.
Memory 120 can be used for storage software program and module, and processor 180 is stored in the software journey of memory 120 by operation
Sequence and module, so as to perform various function application and data processing.Memory 120 can mainly include storing program area and deposit
Data field is stored up, wherein, the application program that storing program area can be needed for storage program area, at least one function(Such as sound is broadcast
Playing function, image player function etc.)Deng;Storage data field can be stored uses created data according to mobile terminal 800(Than
Such as voice data, phone directory)Deng.In addition, memory 120 can include high-speed random access memory, it can also include non-
Volatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Accordingly
Ground, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120
Access.
Input block 130 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Preferably, input block 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use
Touch operation of the family on or near it(Such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table
Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional
, Touch sensitive surface 131 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can receiving processor 180
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Preferably,
Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、
One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user input or be supplied to the information and mobile terminal of user
800 various graphical user interface, these graphical user interface can by figure, text, icon, video and its any combination Lai
Constitute.Display unit 140 may include display panel 141, optionally, can use LCD(Liquid Crystal Display,
Liquid crystal display)、OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Display is configured etc. form
Panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 is detected on or near it
Touch operation after, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to touch event
Type provides corresponding visual output on display panel 141.Although in fig. 11, Touch sensitive surface 131 is with display panel 141
Realized as two independent parts input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 with
Display panel 141 is integrated and realizes input and output function.
In the present disclosure, after being ranked up in the display of display unit 140 chat group according to the residence time of each dialog items
Multiple dialog items, further, multiple dialogues after the comprehensive score value of each dialog items is ranked up can also be shown as
.
Mobile terminal 800 may also include at least one sensor 150, such as optical sensor, motion sensor and other
Sensor.Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 141, proximity transducer can close display when mobile terminal 800 is moved in one's ear
Panel 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect in all directions(Generally
Three axles)The size of acceleration, can detect that size and the direction of gravity when static, the application available for identification mobile phone attitude(Than
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely
The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure in mobile terminal 800,
It will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and mobile terminal 800.
Electric signal after the voice data received conversion can be transferred to loudspeaker 161, is changed by loudspeaker 161 by voicefrequency circuit 160
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160
Be converted to voice data after receipts, then after voice data output processor 180 is handled, it is such as another to be sent to through RF circuits 110
One mobile terminal, or voice data is exported to memory 120 so as to further processing.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 800.
In order to realize radio communication, wireless communication unit 170 can be configured with the mobile terminal, the wireless communication unit
170 can be WIFI module.WIFI belongs to short range wireless transmission technology, and mobile terminal 800 can by wireless communication unit 170
To help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection
Net is accessed.Although showing wireless communication unit 170 in figure, but it is understood that, it is simultaneously not belonging to mobile terminal 800
It must be configured into, can be omitted as needed in the essential scope for do not change invention completely.
Processor 180 is the control centre of mobile terminal 800, utilizes each of various interfaces and connection whole mobile phone
Part, by operation or performs and is stored in software program and/or module in memory 120, and calls and be stored in memory
Data in 120, perform the various functions and processing data of mobile terminal 800, so as to carry out integral monitoring to mobile phone.It is optional
, processor 180 may include one or more processing cores;It is preferred that, processor 180 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile terminal 800 also includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply can lead to
Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 800 can also include camera, bluetooth module etc., will not be repeated here.
In the disclosure, mobile terminal also includes memory, and one or more than one program, one of them
Or more than one program storage is in memory, and it is configured to one by one or more than one computing device
Or more than one program bag contains the instruction for the method for being used to carry out disclosure offer.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held mobile terminals, such as mobile phone, individual number
Word assistant (PDA) etc., therefore the protection domain of the disclosure should not limit as certain certain types of mobile terminal.
In addition, the computer program for being also implemented as being performed by CPU according to disclosed method.In the computer journey
When sequence is performed by CPU, the above-mentioned functions limited in disclosed method are performed.
In addition, above method step and system unit can also utilize controller and make it that controller is real for storing
The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
In addition, it should be appreciated that computer readable storage devices (for example, memory) as described herein can be volatile
Property memory or nonvolatile memory, or both volatile memory and nonvolatile memory can be included.It is used as example
Son and it is nonrestrictive, nonvolatile memory can include read-only storage (ROM), programming ROM (PROM), electrically programmable
ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory can include arbitrary access
Memory (RAM), the RAM can serve as external cache.Nonrestrictive as an example, RAM can be with more
The form of kind is obtained, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM
(DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly RambusRAM (DRRAM).Institute
The storage device of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, the function with regard to various exemplary components, square, module, circuit and step it is entered
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application
Design constraint to whole system.Those skilled in the art can in a variety of ways realize described for every kind of concrete application
Function, but this realize that decision should not be interpreted as causing a departure from the scope of the present disclosure.
Various illustrative logical blocks, module and circuit with reference to described by disclosure herein, which can be utilized, to be designed to
The following part of function described here is performed to realize or perform:General processor, digital signal processor (DSP), special collection
Into circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, divide
Any combinations of vertical nextport hardware component NextPort or these parts.General processor can be microprocessor, but alternatively, processing
Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as computing device
Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP core or any
Other this configurations.
The step of method with reference to described by disclosure herein or algorithm, can be directly contained in hardware, be held by processor
In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storages
Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its
In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from the storage medium
Middle reading information writes information to the storage medium.In an alternative, the storage medium can be with processor collection
Into together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.In a replacement
In scheme, processor and storage medium can be resident in the user terminal as discrete assembly.
In one or more exemplary designs, the function can be real in hardware, software, firmware or its any combination
It is existing.If realized in software, computer-readable can be stored in using the function as one or more instructions or code
Transmitted on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media,
The communication media includes helping to be sent to computer program into any medium of another position from a position.Storage medium
It can be any usable medium that can be accessed by a general purpose or special purpose computer.It is nonrestrictive as an example, the computer
Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic
Property storage device, or can be used for carrying or storage form for instruct or data structure needed for program code and can
Any other medium accessed by universal or special computer or universal or special processor.In addition, any connection can
It is properly termed as computer-readable medium.If for example, using coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line
(DSL) or such as infrared ray, radio and microwave wireless technology come from website, server or other remote sources send software,
Then the wireless technology of above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared elder generations, radio and microwave is included in
The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc
(DVD), floppy disk, Blu-ray disc, wherein disk generally magnetically reproduce data, and CD utilizes laser optics ground reproduce data.On
The combination for stating content should also be as being included in the range of computer-readable medium.
Although content disclosed above shows the exemplary embodiment of the disclosure, it should be noted that without departing substantially from power
On the premise of profit requires the scope of the present disclosure of restriction, it may be many modifications and change.According to described herein open real
The function, step and/or action for applying the claim to a method of example are not required to perform with any particular order.Although in addition, the disclosure
Element can describe or require in individual form, be unless explicitly limited odd number it is also contemplated that multiple.
Above-described embodiment, purpose of this disclosure, technical scheme and beneficial effect have been carried out further
Describe in detail, should be understood that the embodiment that the foregoing is only the disclosure, be not used to limit the disclosure
Protection domain, it is all the disclosure spirit and principle within, any modifications, equivalent substitutions and improvements done etc. all should be included
Within the protection domain of the disclosure.
Claims (11)
1. the sort method of dialog items in a kind of instant messaging, it is characterised in that including:
Ordered samples are obtained, the acquisition ordered samples include:The residence time for browsing the dialog items of each in instant messaging is obtained,
The acquisition ordered samples also include:Obtain each dialog items in instant messaging and obtain the number of new information, or obtain instant
The dialog items of each in communication send the number of message;
Each described dialog items are ranked up according to the residence time, described according to the residence time, each is right to described
Words item is ranked up, including:
Obtain dwell times of the residence time more than preset duration for browsing each dialog items;
Calculated according to the dwell times of each dialog items and stop score value, when the obtained stop score value that calculates is less than stop
During score value threshold values, the stop score value stops to calculate obtained stop score value when the stop score value that the calculating is obtained is not less than
When staying score value threshold values, the stop score value is the stop score value threshold values;
New information score value is calculated according to the number that each described dialog items obtain new information;
Calculate each dialog items stop score value and new information score value and, obtain the comprehensive score value of each dialog items;
Each described dialog items are ranked up according to the stop score value, described according to the stop score value, each is right to described
Words item is ranked up to be ranked up each described dialog items according to the comprehensive score value;Or,
The number for sending message according to each described dialog items, which is calculated, sends message score;
Calculate the stops score value of each dialog items with send message score and, obtain comprehensive point of each dialog items
Value;
Each described dialog items are ranked up according to the stop score value, described according to the stop score value, each is right to described
Words item is ranked up to be ranked up each described dialog items according to the comprehensive score value.
2. according to the method described in claim 1, it is characterised in that the acquisition ordered samples also include:Acquisition is browsed immediately
The number of visits of the dialog items of each in communication;
Methods described also includes:
Number of visits score value is calculated according to the number of visits of each dialog items;
Calculate each dialog items stop score value and number of visits score value and, obtain comprehensive point of each dialog items
Value;
It is described according to the stop score value each described dialog items are ranked up for according to the comprehensive score value to described each
Individual dialog items are ranked up.
3. method according to claim 1 or 2, it is characterised in that
The ordered samples that obtain are to obtain the ordered samples in default a period of time.
4. method according to claim 2, it is characterised in that also include:
When the number of visits score value that the calculating is obtained is less than number of visits score value threshold values, the number of visits score value is calculating
Obtained number of visits score value;It is described when the number of visits score value that the calculating is obtained is not less than number of visits score value threshold values
Number of visits score value is the number of visits score value threshold values;
When the new information score value that the calculating is obtained is less than new information score value threshold values, the new information score value is calculated and obtained
New information score value;When the new information score value that the calculating is obtained is not less than new information score value threshold values, the new information score value is
The new information score value threshold values;
When it is described calculate obtain send message score be less than send message score threshold values when, it is described send message score for calculating
What is obtained sends message score;When it is described calculate obtain send message score not less than send message score threshold values when, it is described
Send message score and send message score threshold values to be described.
5. method according to claim 1 or 2, it is characterised in that it is described each described dialog items are ranked up including:
At least part dialog items in instant messaging are ranked up according to the sort method;Or
To the dialogue item parts in instant messaging with new information and the dialogue item parts without new information, respectively according to described
Sort method is ranked up.
6. the collator of dialog items in a kind of instant messaging, it is characterised in that including:
Acquiring unit, for obtaining ordered samples;The acquisition ordered samples include:Acquisition browses each in instant messaging and talked with
The residence time of item, the acquisition ordered samples also include:The number that each dialog items in instant messaging obtain new information is obtained,
Or obtain the number that each dialog items in instant messaging send message;
Sequencing unit, for being ranked up according to the residence time to each described dialog items, the sequencing unit includes:
Number of times acquiring unit, the residence time that each dialog items are browsed for obtaining exceedes the dwell times of preset duration;
First computing unit, score value is stopped for being calculated according to the dwell times of each dialog items;
First determining unit, when the stop score value for being obtained in first computing unit calculating is less than stop score value threshold values,
The stop score value is determined to calculate obtained stop score value;And obtained stop score value is calculated in first computing unit
During not less than stopping score value threshold values, it is the stop score value threshold values to determine the stop score value;
Sort subelement, for being ranked up according to the stop score value to each described dialog items;
Described device also includes:
4th computing unit, the number for obtaining new information according to each described dialog items calculates new information score value;
5th computing unit, for calculate each dialog items stop score value and new information score value and, obtain each right
Talk about the comprehensive score value of item;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value according to the 5th computing unit to described each
Individual dialog items are ranked up;Or,
Described device also includes:
6th computing unit, the number calculating for sending message according to each described dialog items sends message score;
7th computing unit, for calculate the stops score value of each dialog items with send message score and, obtain each
The comprehensive score value of dialog items;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value according to the 7th computing unit to described each
Individual dialog items are ranked up.
7. device according to claim 6, it is characterised in that the ordered samples that the acquiring unit is obtained also include:Obtain
Take the number of visits for browsing the dialog items of each in instant messaging;Described device also includes:
Second computing unit, for calculating number of visits score value according to the number of visits of each dialog items;
3rd computing unit, for calculate each dialog items stop score value and number of visits score value and, obtain each
The comprehensive score value of dialog items;
The sequence subelement, is additionally operable to calculate the obtained comprehensive score value according to the 3rd computing unit to described each
Individual dialog items are ranked up.
8. the device according to claim 6 or 7, it is characterised in that it is to obtain pre- that the acquiring unit, which obtains ordered samples,
If the ordered samples in a period of time.
9. device according to claim 7, it is characterised in that described device also includes:
Second determining unit, is less than number of visits score value for calculating obtained number of visits score value in second computing unit
During threshold values, determine the number of visits score value to calculate obtained number of visits score value;And in the second computing unit meter
When obtained number of visits score value is not less than number of visits score value threshold values, determine that the number of visits score value browses secondary to be described
Number score value threshold values;
3rd determining unit, is less than new information score value threshold values for calculating obtained new information score value in the 4th computing unit
When, the new information score value is determined to calculate obtained new information score value;And calculate what is obtained in the 4th computing unit
When new information score value is not less than new information score value threshold values, it is the new information score value threshold values to determine the new information score value;
4th determining unit, for the 6th computing unit calculate obtain send message score be less than send message score
During threshold values, it is determined that it is described send message score for calculate obtain send message score;And in the 6th computing unit meter
What is obtained sends message score not less than when sending message score threshold values, it is determined that the message score that sends disappears for described send
Cease score value threshold values.
10. the device according to claim 6 or 7, it is characterised in that the sequence subelement enters to each described dialog items
Row sequence, is specifically included:
At least part dialog items in instant messaging are ranked up according to the sort method;Or
To the dialogue item parts in instant messaging with new information and the dialogue item parts without new information, respectively according to described
Sort method is ranked up.
11. a kind of mobile terminal, it is characterised in that include memory, and one or more than one program, wherein one
Individual or more than one program storage is configured to one as described in one or more than one computing device in memory
Individual or more than one program bag contains the instruction for being used for being operated below:
Obtain ordered samples;The acquisition ordered samples include:The residence time for browsing the dialog items of each in instant messaging is obtained,
The acquisition ordered samples also include:Obtain each dialog items in instant messaging and obtain the number of new information, or obtain instant
The dialog items of each in communication send the number of message;
Each described dialog items are ranked up according to the residence time, described according to the residence time, each is right to described
Words item is ranked up, including:
Obtain dwell times of the residence time more than preset duration for browsing each dialog items;
Calculated according to the dwell times of each dialog items and stop score value, when the obtained stop score value that calculates is less than stop
During score value threshold values, the stop score value stops to calculate obtained stop score value when the stop score value that the calculating is obtained is not less than
When staying score value threshold values, the stop score value is the stop score value threshold values;
New information score value is calculated according to the number that each described dialog items obtain new information;
Calculate each dialog items stop score value and new information score value and, obtain the comprehensive score value of each dialog items;
Each described dialog items are ranked up according to the stop score value, described according to the stop score value, each is right to described
Words item is ranked up to be ranked up each described dialog items according to the comprehensive score value;Or,
The number for sending message according to each described dialog items, which is calculated, sends message score;
Calculate the stops score value of each dialog items with send message score and, obtain comprehensive point of each dialog items
Value;
Each described dialog items are ranked up according to the stop score value, described according to the stop score value, each is right to described
Words item is ranked up to be ranked up each described dialog items according to the comprehensive score value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310681865.4A CN103729413B (en) | 2013-12-12 | 2013-12-12 | The sort method of dialog items, device and mobile terminal in a kind of instant messaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310681865.4A CN103729413B (en) | 2013-12-12 | 2013-12-12 | The sort method of dialog items, device and mobile terminal in a kind of instant messaging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103729413A CN103729413A (en) | 2014-04-16 |
CN103729413B true CN103729413B (en) | 2017-07-14 |
Family
ID=50453487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310681865.4A Active CN103729413B (en) | 2013-12-12 | 2013-12-12 | The sort method of dialog items, device and mobile terminal in a kind of instant messaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103729413B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105488109A (en) * | 2015-11-20 | 2016-04-13 | 小米科技有限责任公司 | Content item configuration method, device and system |
CN108156327A (en) * | 2018-01-02 | 2018-06-12 | 努比亚技术有限公司 | Method for controlling mobile terminal, mobile terminal and computer readable storage medium |
CN110113489B (en) * | 2019-04-30 | 2022-09-27 | 上海掌门科技有限公司 | Message group ordering method, device, electronic equipment and medium |
CN113535021B (en) * | 2021-07-21 | 2022-12-06 | 上海掌门科技有限公司 | Method, apparatus, medium, and program product for transmitting session message |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101189608A (en) * | 2005-03-31 | 2008-05-28 | 谷歌公司 | Systems and methods for analyzing a user's Web history |
CN102118322A (en) * | 2009-12-30 | 2011-07-06 | 蒋斌 | Method for automatically controlling number of chat windows in chat tool |
CN102150161A (en) * | 2008-09-12 | 2011-08-10 | 北方电讯网络有限公司 | Ranking search results based on affinity criteria |
CN102609474A (en) * | 2012-01-18 | 2012-07-25 | 北京搜狗信息服务有限公司 | Access information providing method and system |
CN102999586A (en) * | 2012-11-15 | 2013-03-27 | 北京小米科技有限责任公司 | Method and device for recommending website |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070043822A1 (en) * | 2005-08-18 | 2007-02-22 | Brumfield Sara C | Instant messaging prioritization based on group and individual prioritization |
-
2013
- 2013-12-12 CN CN201310681865.4A patent/CN103729413B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101189608A (en) * | 2005-03-31 | 2008-05-28 | 谷歌公司 | Systems and methods for analyzing a user's Web history |
CN102150161A (en) * | 2008-09-12 | 2011-08-10 | 北方电讯网络有限公司 | Ranking search results based on affinity criteria |
CN102118322A (en) * | 2009-12-30 | 2011-07-06 | 蒋斌 | Method for automatically controlling number of chat windows in chat tool |
CN102609474A (en) * | 2012-01-18 | 2012-07-25 | 北京搜狗信息服务有限公司 | Access information providing method and system |
CN102999586A (en) * | 2012-11-15 | 2013-03-27 | 北京小米科技有限责任公司 | Method and device for recommending website |
Also Published As
Publication number | Publication date |
---|---|
CN103729413A (en) | 2014-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135501B (en) | Page sharing method, Apparatus and system | |
CN104618222B (en) | A kind of method and device for matching facial expression image | |
CN103678605B (en) | A kind of method of information transfer, device and terminal device | |
CN103634717B (en) | A kind of method, device and the terminal device of the control of utilization earphone | |
CN103281687A (en) | Network flow management method and device of double-card terminal | |
CN104850406B (en) | A kind of method and apparatus for switching the page | |
CN103473004A (en) | Method, device and terminal equipment for displaying message | |
CN103699409B (en) | Awakening state switching-in method, device and system for electronic device | |
CN104168175A (en) | Message group sensing method and terminal in instant messaging | |
CN103327102A (en) | Application program recommending method and device | |
CN104618223B (en) | A kind of management method of information recommendation, device and system | |
CN103678502B (en) | Information collection method and device | |
CN104965843A (en) | Method and apparatus for acquiring comment information | |
CN104426919A (en) | Page sharing method, device and system | |
CN104301315A (en) | Method and device for limiting information access | |
CN105955597B (en) | Information display method and device | |
CN104424278B (en) | A kind of method and device obtaining hot spot information | |
CN103605668A (en) | Webpage bookmark storing method and device and mobile terminal | |
CN104519262A (en) | Method, device for acquiring video data, and terminal | |
CN103729413B (en) | The sort method of dialog items, device and mobile terminal in a kind of instant messaging | |
CN104216651A (en) | Social information displaying method and device | |
CN104731782B (en) | A kind of method and mobile terminal of information processing | |
CN107885718A (en) | Semanteme determines method and device | |
CN104836717A (en) | Data processing method and apparatus, and terminal equipment | |
CN104660769A (en) | Method, device and system for adding contact person information |
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 |