WO2015010593A1 - Method and apparatus for displaying contact list - Google Patents
Method and apparatus for displaying contact list Download PDFInfo
- Publication number
- WO2015010593A1 WO2015010593A1 PCT/CN2014/082673 CN2014082673W WO2015010593A1 WO 2015010593 A1 WO2015010593 A1 WO 2015010593A1 CN 2014082673 W CN2014082673 W CN 2014082673W WO 2015010593 A1 WO2015010593 A1 WO 2015010593A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- contacts
- client
- contact
- communication
- server
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/2746—Sorting, e.g. according to history or frequency of use
-
- 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/48—Message addressing, e.g. address format or anonymous messages, aliases
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/2753—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
- H04M1/2757—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
Definitions
- the present invention relates to a network technology field, and more particularly, to a method and apparatus for displaying a contact list.
- the user In order to contact with a contact stored in the terminal device, the user has to search for the contact in a huge contact list. Thus, searching speed will be low, and communication efficiency will be reduced.
- a method for displaying a contact list includes: obtaining, by a server, a communication record of a client and each of contacts; sorting, by the server, the contacts to obtain an order of the contacts according to the obtained communication record; generating, by the server, a contact list of the client according to the order of the contacts; and transmitting, by the server, the contact list to the client.
- An apparatus for displaying a contact list includes: an obtaining module, to obtain a communication record of a client and each of contacts; a determination module, to sort the contacts to obtain an order of the contacts according to the obtained communication record; a generation module, to generate a contact list of the client according to the order of the contacts; and a transmitting module, to transmitting the contact list to the client.
- Embodiments of the present invention are based on a communication architecture "server-client".
- the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list.
- a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
- FIG. 1 is a flowchart illustrating a method for displaying a contact list according to an embodiment of the present invention
- FIG. 2 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention
- FIG. 3 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention. Detailed Description of the Invention
- An embodiment of the present invention is based on a communication architecture "server-client".
- the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list.
- a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
- the client of the communication application may run in a terminal device with a network access function, e.g., a mobile phone, a computer, a tablet personal computer, a laptop.
- the communication application may include an instant messaging application, a contact list in a mobile terminal, an Email client etc.
- the client may include a function of displaying the contact list and a function of searching for and selecting a contact from a contact list to perform a function of communicating with the contact.
- the client of the communication application above may communicate with a server of the communication application through a function of the network access function of the terminal device.
- the server may provide a function of cloud storage and cloud management for the client, and may be used for copying and managing the contact list of the client.
- FIG. 1 is a flowchart illustrating a method for displaying a contact list according to an embodiment of the present invention.
- the method includes procedures as follows, which are performed by a server of a communication application.
- the server obtains a communication record of a client and each of contacts.
- the communication record of the client and each contact includes communication time for each communication of the client and the contact.
- communication content of the client and the contact may include, but not be limited to an audio, a video, a short message, and multi-media data.
- information other than the communication time in the communication record may be different.
- the communication record may further include duration of the communication of the client and the contact.
- the communication record may further include data transmission content of each time of communication of the client and the contact, which is not be limited herein.
- a process at block S101 includes: receiving the communication record of the client and each contact reported by the client.
- the server may transmit a command of reporting the communication record to the client.
- the client extracts the communication record of the client and each contact, and transmits the communication record to the server. Furthermore, the client may automatically report the latest communication record of the client and each contact (i.e., the current communication record) to the server.
- a user may use the same instant messaging application in different terminal devices.
- the communication record of the client and each contact may be stored in the server so as to satisfy the requirement that the same instant messaging application is used in different terminal devices.
- the process at block S101 includes: obtaining the communication record of the client and the contact stored in the server.
- the server directly extracts the communication record of the client and each contact in local storage.
- the server obtains the latest communication record of the client and the contact every a preset time period so as to ensure that the contact list generated eventually by the server reflects a latest communication condition of the client.
- the server determines an order of contacts through a preset algorithm.
- the server may sorts the contacts from a contact with the most of the numbers of communication times of the client and the contacts to a contact with the least of the numbers of communication times of the client and the contacts in a latest second time period.
- the server may determine the order of all the contacts through a preset algorithm.
- the server may sorts the contacts from the contact with the most of the numbers of communication times of the client and the contacts to the contact with the least of the numbers of communication times of the client and all the contacts in the second preset time period.
- a value 1 is added to the number of the communication times corresponding to the contact once a time of talk is performed between the client the contact, when the client receives a short message from the contact, or when the client transmits a short message to the contact.
- the number of the communication times corresponding to the contact may be the number of pieces of instant messaging content transmitted between the client and the contact.
- the server may determine a communication record in a latest second preset time period according to communication times recorded in the communication record of the client and each contact, obtain the number of the communication times of the client and each contact in the communication record in the latest second preset time period, and sort the contacts from the contact with the most of the numbers of the communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts to determine the order of the contacts.
- the server may obtain latest time of the communication of the client and each of the contacts from the communication record, and may sort the contacts according to the latest time of the communication of the client and each of the contacts.
- the contacts are sorted from a contact with the latest of the latest times of the communication of the client and the contacts to a contact with the farthest of the latest times of the communication of the client and the contacts.
- the server may obtain a geographical location of each of the contacts from the communication record, and may sort the contacts according to the geographical locations of the contacts. In particular, the contacts are sorted from a contact with the closest geographical location to the client to a contact with the farthest geographical location to the client.
- the server may adopt a Most Recently Used (MRU) algorithm to determine the order of the contacts in a latest second preset time period.
- MRU Most Recently Used
- the server may read the communication record information of each time of communication of the client and each contact. After reading all the communication record information in the communication record, information of the contacts may be respectively stored in storage from a contact with the most of the numbers of the communication times of the client and the contacts to a contact with the least of the numbers of the communication times of the client and the contacts.
- the information of the contact which has the most of the numbers of the communication times with the client among all the contacts is stored in a start location of a contact storage area.
- the information of the contact which has the least of the numbers of the communication times with the client among all the contacts is stored in an end location of the contact storage area.
- the server generates a contact list of the client according to the order of the contacts.
- the server generates the contact list of the client according to the order of the contacts determined at block 102.
- the contacts are sorted according to the order of the contacts determined at block 102.
- the contacts from the contact with the most of the numbers of the communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts are arranged from the top of the contact list to the bottom of the contact list.
- the server transmits the contact list to the client, so that the client displays the contact list.
- the server transmits the generated contact list to the client.
- the client After receiving the contact list, the client updates the previous contact list, and displays the contact list transmitted by the server.
- the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list.
- FIG. 2 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention.
- the apparatus may apply to a server of a communication application, and may be to run a method for displaying a contact list as represented in a method embodiment above. In order to make description clear, only modules related with the embodiment are illustrated.
- the apparatus includes modules as follows.
- An obtaining module 21 is to obtain a communication record of a client and each of contacts.
- a determination module 22 is to, according to the obtained communication record, sort the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
- a generation module 23 is to generate a contact list of the client according to the order of the contacts.
- a transmitting module 24 is to transmitting the contact list to the client.
- the obtaining module 21 is to obtain the communication record of the client and each of the contacts every a second preset time period.
- the obtaining module 21 is to receive the communication record of the client and each of the contacts reported by the client.
- the obtaining module 21 is to obtain the communication record of the client and each of the contacts in local of the server.
- the preset algorithm comprises a MRU algorithm.
- the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list.
- a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
- the methods and modules or units described herein may be implemented by hardware, machine -readable instructions or a combination of hardware and machine- readable instructions.
- Machine-readable instructions used in the examples disclosed herein may be stored in storage medium readable by multiple processors, such as hard drive, CD-ROM, DVD, compact disk, floppy disk, magnetic tape drive, RAM, ROM or other proper storage device. Or, at least part of the machine-readable instructions may be substituted by specific-purpose hardware, such as custom integrated circuits, gate array, FPGA, PLD and specific-purpose computers and so on.
- FIG. 3 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention.
- the apparatus includes a processor 31 for executing instructions stored in a memory 32.
- the instructions include: an obtaining instruction 321, a determination instruction 322, a generation instruction 323 and a transmitting instruction 324.
- the obtaining instruction 321 is to obtain a communication record of a client and each of contacts.
- the determination instruction 322 is to, according to the obtained communication record, sort the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
- the generation instruction 323 is to generate a contact list of the client according to the order of the contacts.
- the transmitting instruction 324 is to transmitting the contact list to the client.
- the obtaining instruction 321 is to obtain the communication record of the client and each of the contacts every a second preset time period. In an example, the obtaining instruction 321 is to receive the communication record of the client and each of the contacts reported by the client. In an example, the obtaining instruction 321 is to obtain the communication record of the client and each of the contacts in local of the server.
- the preset algorithm comprises a MRU algorithm.
- the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list.
Abstract
A method and apparatus for displaying a contact list. In the method, a server obtains a communication record of a client and each of contacts, sorts the contacts to obtain an order of the contacts according to the obtained communication record, generates a contact list of the client according to the order of the contacts, and transmits the contact list to the client, so that the client displays the contact list. Thus, it is ensured that a contact frequently contacting the client can be located on the top of the contact list, so that a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
Description
METHOD AND APPARATUS FOR DISPLAYING
CONTACT LIST
The application claims priority to a Chinese patent application 201310309336.1, titled "method and apparatus for displaying contact list", which was filed on July 22, 2013. The disclosures of the application No. 201310309336.1 are incorporated here by reference in its entirety.
Field of the Invention
The present invention relates to a network technology field, and more particularly, to a method and apparatus for displaying a contact list. Background of the Invention
With the development of communication technologies, a social network constructed based on a communication network and a mobile internet becomes increasingly huge. Accordingly, the number of contacts of a user in a terminal device becomes explosive growth. Each terminal device usually stores information related with hundreds of contacts.
In order to contact with a contact stored in the terminal device, the user has to search for the contact in a huge contact list. Thus, searching speed will be low, and communication efficiency will be reduced.
Summary of the Invention A method and apparatus for displaying a contact list is provided according to embodiments of the present invention so as to solve a problem that searching speed is low and communication efficiency is reduced.
A method for displaying a contact list includes: obtaining, by a server, a communication record of a client and each of contacts; sorting, by the server, the contacts to obtain an order of the contacts according to the obtained communication record;
generating, by the server, a contact list of the client according to the order of the contacts; and transmitting, by the server, the contact list to the client.
An apparatus for displaying a contact list includes: an obtaining module, to obtain a communication record of a client and each of contacts; a determination module, to sort the contacts to obtain an order of the contacts according to the obtained communication record; a generation module, to generate a contact list of the client according to the order of the contacts; and a transmitting module, to transmitting the contact list to the client.
Embodiments of the present invention are based on a communication architecture "server-client". According to a communication record of each of contacts in a client corresponding to a server of a communication application, the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list. Thus, a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
Brief Description of Drawings
FIG. 1 is a flowchart illustrating a method for displaying a contact list according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention.
Detailed Description of the Invention
A technical solution according to examples of the present disclosure will be illustrated clearly and completely hereinafter with reference to the accompanying drawings in the examples of the present disclosure. Obviously, the following embodiments are only for understanding the present invention. The present invention is not limited to the embodiments.
An embodiment of the present invention is based on a communication architecture "server-client". According to a communication record of each of contacts in a client corresponding to a server of a communication application, the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list. Thus, a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
In an embodiment of the present invention, the client of the communication application may run in a terminal device with a network access function, e.g., a mobile phone, a computer, a tablet personal computer, a laptop. The communication application may include an instant messaging application, a contact list in a mobile terminal, an Email client etc. Furthermore, the client may include a function of displaying the contact list and a function of searching for and selecting a contact from a contact list to perform a function of communicating with the contact. The client of the communication application above may communicate with a server of the communication application through a function of the network access function of the terminal device. The server may provide a function of cloud storage and cloud management for the client, and may be used for copying and managing the contact list of the client.
FIG. 1 is a flowchart illustrating a method for displaying a contact list according to an embodiment of the present invention. The method includes procedures as follows, which are performed by a server of a communication application.
At block S 101, the server obtains a communication record of a client and each of contacts.
In an example, the communication record of the client and each contact includes communication time for each communication of the client and the contact. In each time of communication, communication content of the client and the contact may include, but not be limited to an audio, a video, a short message, and multi-media data. According to different communication ways, information other than the communication time in the communication record may be different. In an example, when the client performs telephone communication through a mobile phone network with the contact, the communication record may further include duration of the communication of the client and the contact. In another example, when the client performs communication through a mobile internet with the contact, the communication record may further include data transmission content of each time of communication of the client and the contact, which is not be limited herein.
In an example, when the communication content of the client and each contact is a short message, a phone, the corresponding communication record is stored in the client. A process at block S101 includes: receiving the communication record of the client and each contact reported by the client.
The server may transmit a command of reporting the communication record to the client. When receiving the command from the server, the client extracts the communication record of the client and each contact, and transmits the communication record to the server. Furthermore, the client may automatically report the latest communication record of the client and each contact (i.e., the current communication record) to the server.
In another example of the present invention, a user may use the same instant messaging application in different terminal devices. Thus, for the instant messaging application, the communication record of the client and each contact may be stored in the server so as to satisfy the requirement that the same instant messaging application is used in different terminal devices. In the condition, the process at block S101 includes: obtaining the communication record of the client and the contact stored in the server.
In particular, the server directly extracts the communication record of the client and each contact in local storage.
In another example of the present invention, the process at block S101 may include: obtaining the communication record of the client and each contact every first preset time period.
In particular, the server obtains the latest communication record of the client and the contact every a preset time period so as to ensure that the contact list generated eventually by the server reflects a latest communication condition of the client. At block S 102, according to the obtained communication record, the server determines an order of contacts through a preset algorithm. In an example, the server may sorts the contacts from a contact with the most of the numbers of communication times of the client and the contacts to a contact with the least of the numbers of communication times of the client and the contacts in a latest second time period. In an example, according to the obtained communication record, the server may determine the order of all the contacts through a preset algorithm. According to the numbers of communication times of the client and all the contacts in the second preset time period, the server may sorts the contacts from the contact with the most of the numbers of communication times of the client and the contacts to the contact with the least of the numbers of communication times of the client and all the contacts in the second preset time period.
The second preset time period may be an adjustable parameter. In an example, the second preset time period may be a month or a week. When the second preset time period is a month, the server may sort the contacts from the contact with the most of the numbers of communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts in a latest month. When the second preset time period is a week, the server may sort the contacts from the contact with the most of the numbers of communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts in a latest week.
In an example, for each contact of the client, when the client communicates with the contact via a mobile phone network, a value 1 is added to the number of the
communication times corresponding to the contact once a time of talk is performed between the client the contact, when the client receives a short message from the contact, or when the client transmits a short message to the contact. When the client performs instant messaging with the contact through a mobile internet, the number of the communication times corresponding to the contact may be the number of pieces of instant messaging content transmitted between the client and the contact.
There are several methods for determining the order of the contacts. In an example, the server may determine a communication record in a latest second preset time period according to communication times recorded in the communication record of the client and each contact, obtain the number of the communication times of the client and each contact in the communication record in the latest second preset time period, and sort the contacts from the contact with the most of the numbers of the communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts to determine the order of the contacts.
In another example, the server may obtain latest time of the communication of the client and each of the contacts from the communication record, and may sort the contacts according to the latest time of the communication of the client and each of the contacts. In particular, the contacts are sorted from a contact with the latest of the latest times of the communication of the client and the contacts to a contact with the farthest of the latest times of the communication of the client and the contacts.
In another example, the server may obtain a geographical location of each of the contacts from the communication record, and may sort the contacts according to the geographical locations of the contacts. In particular, the contacts are sorted from a contact with the closest geographical location to the client to a contact with the farthest geographical location to the client.
In an example, the server may adopt a Most Recently Used (MRU) algorithm to determine the order of the contacts in a latest second preset time period. In the MRU algorithm, when a remaining free space is not enough, data often used by a user may be retained in a buffer as much as possible, and data not often used by the user may be deleted from the buffer. In the example, after obtaining the communication record, the server may read the communication record information of each time of
communication of the client and each contact. After reading all the communication record information in the communication record, information of the contacts may be respectively stored in storage from a contact with the most of the numbers of the communication times of the client and the contacts to a contact with the least of the numbers of the communication times of the client and the contacts. In particular, the information of the contact which has the most of the numbers of the communication times with the client among all the contacts is stored in a start location of a contact storage area. The information of the contact which has the least of the numbers of the communication times with the client among all the contacts is stored in an end location of the contact storage area. Thus, after the communication record is read, the order of the contacts may be directly determined according to locations of the contacts in the buffer.
At block S103, the server generates a contact list of the client according to the order of the contacts. The server generates the contact list of the client according to the order of the contacts determined at block 102. In the generated contact list, the contacts are sorted according to the order of the contacts determined at block 102. In an example, in the contact list, the contacts from the contact with the most of the numbers of the communication times of the client and the contacts to the contact with the least of the numbers of the communication times of the client and the contacts are arranged from the top of the contact list to the bottom of the contact list.
At block S 104, the server transmits the contact list to the client, so that the client displays the contact list.
The server transmits the generated contact list to the client. After receiving the contact list, the client updates the previous contact list, and displays the contact list transmitted by the server.
In embodiments of the present invention, according to a communication record of each of contacts in a client corresponding to a server of a communication application, the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list. Thus, a process of searching out
a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
FIG. 2 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention. The apparatus may apply to a server of a communication application, and may be to run a method for displaying a contact list as represented in a method embodiment above. In order to make description clear, only modules related with the embodiment are illustrated.
As shown in FIG. 2, the apparatus includes modules as follows. An obtaining module 21 is to obtain a communication record of a client and each of contacts.
A determination module 22 is to, according to the obtained communication record, sort the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
A generation module 23 is to generate a contact list of the client according to the order of the contacts.
A transmitting module 24 is to transmitting the contact list to the client. In an example, the obtaining module 21 is to obtain the communication record of the client and each of the contacts every a second preset time period.
In an example, the obtaining module 21 is to receive the communication record of the client and each of the contacts reported by the client.
In an example, the obtaining module 21 is to obtain the communication record of the client and each of the contacts in local of the server.
In an example, the preset algorithm comprises a MRU algorithm.
In embodiments of the present invention, according to a communication record of each of contacts in a client corresponding to a server of a communication application, the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the
contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list. Thus, a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced. The methods and modules or units described herein may be implemented by hardware, machine -readable instructions or a combination of hardware and machine- readable instructions. Machine-readable instructions used in the examples disclosed herein may be stored in storage medium readable by multiple processors, such as hard drive, CD-ROM, DVD, compact disk, floppy disk, magnetic tape drive, RAM, ROM or other proper storage device. Or, at least part of the machine-readable instructions may be substituted by specific-purpose hardware, such as custom integrated circuits, gate array, FPGA, PLD and specific-purpose computers and so on.
FIG. 3 is a schematic diagram illustrating a structure of an apparatus for displaying a contact list according to an embodiment of the present invention. The apparatus includes a processor 31 for executing instructions stored in a memory 32. The instructions include: an obtaining instruction 321, a determination instruction 322, a generation instruction 323 and a transmitting instruction 324.
The obtaining instruction 321 is to obtain a communication record of a client and each of contacts. The determination instruction 322 is to, according to the obtained communication record, sort the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts. The generation instruction 323 is to generate a contact list of the client according to the order of the contacts.
The transmitting instruction 324 is to transmitting the contact list to the client.
In an example, the obtaining instruction 321 is to obtain the communication record of the client and each of the contacts every a second preset time period. In an example, the obtaining instruction 321 is to receive the communication record of the client and each of the contacts reported by the client.
In an example, the obtaining instruction 321 is to obtain the communication record of the client and each of the contacts in local of the server.
In an example, the preset algorithm comprises a MRU algorithm.
In embodiments of the present invention, according to a communication record of each of contacts in a client corresponding to a server of a communication application, the server determines a contact frequency of the client and each of the contacts in a time period based on a preset algorithm, and sorts the contacts in the contact list according to the contact frequencies so as to ensure a contact frequently contacting with the client is on top of the contact list. Thus, a process of searching out a contact in the contact list can be accelerated for the user, and communication efficiency of the communication application is enhanced.
The foregoing is only preferred examples of the present invention and is not used to limit the protection scope of the present invention. Any modification, equivalent substitution and improvement without departing from the spirit and principle of the present invention are within the protection scope of the present invention.
Claims
1. A method for displaying a contact list, comprising: obtaining, by a server, a communication record of a client and each of contacts; sorting, by the server, the contacts to obtain an order of the contacts according to the obtained communication record; generating, by the server, a contact list of the client according to the order of the contacts; and transmitting, by the server, the contact list to the client.
2. The method of claim 1, wherein sorting the contacts according to the obtained communication record to obtain an order of the contacts comprises: sorting, by the server, the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
3. The method of claim 1, wherein obtaining the communication record of the client and each of the contacts comprises: obtaining, by the server, the communication record of the client and each of the contacts every a second preset time period.
4. The method of claim 1, wherein obtaining the communication record of the client and each of the contacts comprises: receiving, by the server, the communication record of the client and each of the contacts reported by the client.
5. The method of claim 1, wherein obtaining the communication record of the client and each of the contacts comprises: obtaining, by the server, the communication record of the client and each of the contacts in local of the server.
6. An apparatus for displaying a contact list, comprising: an obtaining module, to obtain a communication record of a client and each of contacts;
a determination module, to sort the contacts to obtain an order of the contacts according to the obtained communication record; a generation module, to generate a contact list of the client according to the order of the contacts; and a transmitting module, to transmitting the contact list to the client.
7. The apparatus of claim 6, wherein the determination module is to sort the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
8. The apparatus of claim 6, wherein the obtaining module is to obtain the communication record of the client and each of the contacts every a second preset time period.
9. The apparatus of claim 6, wherein the obtaining module is to receive the communication record of the client and each of the contacts reported by the client.
10. The apparatus of claim 6, wherein the obtaining module is to obtain the communication record of the client and each of the contacts in local of the server.
11. A computer-readable storage medium for storing a computer program, the computer program comprising instructions to execute the following procedure, comprising: obtaining a communication record of a client and each of contacts; sorting the contacts to obtain an order of the contacts according to the obtained communication record; generating a contact list of the client according to the order of the contacts; and transmitting the contact list to the client.
12. The computer readable storage medium according to claim 11, wherein the computer program comprises instructions to execute the following procedure: sorting the contacts from a contact with the most of the numbers of communication times to a contact with the least of the numbers of the communication times of the client and the contacts in a first preset time period to obtain an order of the contacts.
13. The computer-readable storage medium of claim 11, wherein the computer program comprises instructions to execute the following procedure: obtaining the communication record of the client and each of the contacts every a second preset time period.
14. The computer-readable storage medium of claim 11, wherein the computer program comprises instructions to execute the following procedure: receiving the communication record of the client and each of the contacts reported by the client.
15. The computer-readable storage medium of claim 11, wherein the computer program comprises instructions to execute the following procedure: obtaining the communication record of the client and each of the contacts in local of the server.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310309336.1A CN104333501B (en) | 2013-07-22 | 2013-07-22 | Contact list display method and device |
CN201310309336.1 | 2013-07-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015010593A1 true WO2015010593A1 (en) | 2015-01-29 |
Family
ID=52392721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/082673 WO2015010593A1 (en) | 2013-07-22 | 2014-07-22 | Method and apparatus for displaying contact list |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104333501B (en) |
WO (1) | WO2015010593A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331279A (en) * | 2016-11-01 | 2017-01-11 | 无锡纽微特科技有限公司 | Address book display implementation method and device |
CN114760261A (en) * | 2022-06-13 | 2022-07-15 | 杭州安司源科技有限公司 | Instant messaging tool contact person sorting method and device |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106231054A (en) * | 2016-07-22 | 2016-12-14 | 乐视控股(北京)有限公司 | The contact management method of address list and management system |
CN107734123A (en) * | 2016-08-12 | 2018-02-23 | 中兴通讯股份有限公司 | A kind of contact sequencing method and device |
CN106559537A (en) * | 2016-11-02 | 2017-04-05 | 四川差旅壹号科技有限公司 | Book management method and address book management device |
CN107124501A (en) * | 2017-06-22 | 2017-09-01 | 深圳传音通讯有限公司 | The management method and device of contact person |
CN107332967A (en) * | 2017-08-29 | 2017-11-07 | 广东欧珀移动通信有限公司 | Contact person's display methods, device, mobile terminal and computer-readable recording medium |
CN112019675A (en) * | 2020-07-15 | 2020-12-01 | 北京淇瑀信息科技有限公司 | Address list contact person sorting method and device and electronic equipment |
CN114385257A (en) * | 2021-12-02 | 2022-04-22 | 广州歌神信息科技有限公司 | Program preheating method, device, electronic equipment and computer readable storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102357A (en) * | 2006-07-05 | 2008-01-09 | 英业达股份有限公司 | Automatic sorting system and its method |
CN101365008A (en) * | 2008-09-12 | 2009-02-11 | 深圳华为通信技术有限公司 | Method and terminal for address book ordering |
CN101410791A (en) * | 2006-04-04 | 2009-04-15 | Uiq技术公司 | Retreiving and presenting information in a portable device |
CN101588400A (en) * | 2009-06-25 | 2009-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Method for ordering data and mobile communication terminal |
CN101938550A (en) * | 2010-08-26 | 2011-01-05 | 惠州Tcl移动通信有限公司 | Mobile terminal and method and device for sequencing telephone directory thereof |
CN101938555A (en) * | 2010-08-09 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Terminal control method and terminal |
CN102055851A (en) * | 2010-12-31 | 2011-05-11 | 惠州Tcl移动通信有限公司 | Sequencing method for communication list, communication list and communication terminal |
CN102104685A (en) * | 2011-01-11 | 2011-06-22 | 中兴通讯股份有限公司 | Default contact number updating method and terminal |
CN202103733U (en) * | 2010-10-28 | 2012-01-04 | 上海华勤通讯技术有限公司 | Handset with an automatic telephone book ordering function |
CN102368794A (en) * | 2011-10-24 | 2012-03-07 | 深圳市智慧宇宙管理咨询有限公司 | Method for rapidly searching mobile phone contact person and apparatus thereof |
CN102780803A (en) * | 2012-07-09 | 2012-11-14 | 深圳天珑无线科技有限公司 | Communication terminal and address book ordering method thereof |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100586112C (en) * | 2006-05-31 | 2010-01-27 | 阿里巴巴集团控股有限公司 | Method for establishing contact list and managing contact information in instant communication |
US8255811B2 (en) * | 2006-12-20 | 2012-08-28 | International Business Machines Corporation | Providing auto-sorting of collaborative partners or components based on frequency of communication and/or access in a collaboration system user interface |
CN101350852B (en) * | 2008-08-19 | 2012-05-09 | 宇龙计算机通信科技(深圳)有限公司 | Dialing method, system and mobile terminal |
CN101465752A (en) * | 2009-01-09 | 2009-06-24 | 腾讯科技(深圳)有限公司 | Method and system for ordering linkman |
CN101729449B (en) * | 2010-01-05 | 2013-02-20 | 深圳中兴网信科技有限公司 | Instant messaging client for acquiring contact list |
CN101778058A (en) * | 2010-01-05 | 2010-07-14 | 深圳中兴网信科技有限公司 | Acquisition method of contact list |
CN102158581A (en) * | 2011-04-02 | 2011-08-17 | 北京互通无线科技有限公司 | Contact sequencing method and communication terminal |
CN102447740A (en) * | 2011-11-21 | 2012-05-09 | 深圳市有方科技有限公司 | Communication history management method applied to network cloud servers and cloud server |
-
2013
- 2013-07-22 CN CN201310309336.1A patent/CN104333501B/en active Active
-
2014
- 2014-07-22 WO PCT/CN2014/082673 patent/WO2015010593A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101410791A (en) * | 2006-04-04 | 2009-04-15 | Uiq技术公司 | Retreiving and presenting information in a portable device |
CN101102357A (en) * | 2006-07-05 | 2008-01-09 | 英业达股份有限公司 | Automatic sorting system and its method |
CN101365008A (en) * | 2008-09-12 | 2009-02-11 | 深圳华为通信技术有限公司 | Method and terminal for address book ordering |
CN101588400A (en) * | 2009-06-25 | 2009-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Method for ordering data and mobile communication terminal |
CN101938555A (en) * | 2010-08-09 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Terminal control method and terminal |
CN101938550A (en) * | 2010-08-26 | 2011-01-05 | 惠州Tcl移动通信有限公司 | Mobile terminal and method and device for sequencing telephone directory thereof |
CN202103733U (en) * | 2010-10-28 | 2012-01-04 | 上海华勤通讯技术有限公司 | Handset with an automatic telephone book ordering function |
CN102055851A (en) * | 2010-12-31 | 2011-05-11 | 惠州Tcl移动通信有限公司 | Sequencing method for communication list, communication list and communication terminal |
CN102104685A (en) * | 2011-01-11 | 2011-06-22 | 中兴通讯股份有限公司 | Default contact number updating method and terminal |
CN102368794A (en) * | 2011-10-24 | 2012-03-07 | 深圳市智慧宇宙管理咨询有限公司 | Method for rapidly searching mobile phone contact person and apparatus thereof |
CN102780803A (en) * | 2012-07-09 | 2012-11-14 | 深圳天珑无线科技有限公司 | Communication terminal and address book ordering method thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331279A (en) * | 2016-11-01 | 2017-01-11 | 无锡纽微特科技有限公司 | Address book display implementation method and device |
CN114760261A (en) * | 2022-06-13 | 2022-07-15 | 杭州安司源科技有限公司 | Instant messaging tool contact person sorting method and device |
CN114760261B (en) * | 2022-06-13 | 2022-09-09 | 杭州安司源科技有限公司 | Instant messaging tool contact person sorting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104333501B (en) | 2020-04-24 |
CN104333501A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015010593A1 (en) | Method and apparatus for displaying contact list | |
US11153430B2 (en) | Information presentation method and device | |
US20160277343A1 (en) | Method and system for synchronizing instant messages between multiple clients | |
US9836346B2 (en) | Error troubleshooting using a correlated knowledge base | |
US20140328478A1 (en) | Method and system for identifying prank call, client, server, and storage medium | |
US9485640B2 (en) | Smart cache warming | |
KR101363609B1 (en) | Social relationship information management system and method thereof | |
US20140324414A1 (en) | Method and apparatus for displaying emoticon | |
US9596202B1 (en) | Methods and apparatus for throttling electronic communications based on unique recipient count using probabilistic data structures | |
CN102404397A (en) | Message reminding method, device and system | |
CN105760522A (en) | Information search method and device based on application program | |
CN110896376B (en) | Message reminding method, message sending method, related device and equipment | |
US20140089422A1 (en) | Dynamically creating a social networking check-in location | |
CN104811366A (en) | Network communication message roaming method and device | |
US10397160B2 (en) | Method to pre-select folders to synchronize during initial email activation on a mobile device | |
US10616158B2 (en) | Instant delivery of messages | |
JP2016519380A (en) | Information transmission based on reading speed | |
US20210112025A1 (en) | Method and server for processing messages | |
CN103905661A (en) | Message forwarding method and cloud server | |
CN104834728B (en) | A kind of method for pushing and device for subscribing to video | |
CN111817945A (en) | Method and equipment for replying communication information in instant communication application | |
US20230156286A1 (en) | Dynamic streaming interface adjustments based on real-time synchronized interaction signals | |
US9634963B2 (en) | Method and system for handling message on instant messaging open platform | |
US11863525B2 (en) | Contact passlisting across digital channels | |
CN113114557B (en) | Message sending method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14829215 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 27/06/2016 ) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14829215 Country of ref document: EP Kind code of ref document: A1 |