WO2013127359A1 - 一种处理联系人的方法、装置及移动终端 - Google Patents

一种处理联系人的方法、装置及移动终端 Download PDF

Info

Publication number
WO2013127359A1
WO2013127359A1 PCT/CN2013/072051 CN2013072051W WO2013127359A1 WO 2013127359 A1 WO2013127359 A1 WO 2013127359A1 CN 2013072051 W CN2013072051 W CN 2013072051W WO 2013127359 A1 WO2013127359 A1 WO 2013127359A1
Authority
WO
WIPO (PCT)
Prior art keywords
sorting
contact
information
rules
static
Prior art date
Application number
PCT/CN2013/072051
Other languages
English (en)
French (fr)
Inventor
王庆
罗章虎
黄泽丰
郭浩然
肖权浩
袁宜霞
宋家顺
李朋涛
戴云峰
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to MYPI2014702430A priority Critical patent/MY181596A/en
Priority to SG11201404994SA priority patent/SG11201404994SA/en
Priority to JP2014559075A priority patent/JP2015508973A/ja
Priority to EP13754279.1A priority patent/EP2822257B1/en
Publication of WO2013127359A1 publication Critical patent/WO2013127359A1/zh
Priority to US14/462,626 priority patent/US20150006551A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices 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/2745Devices 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/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/2746Sorting, e.g. according to history or frequency of use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method, an apparatus, and a mobile terminal for processing a contact. Background technique
  • Mobile terminals are the main communication tools in people's daily lives. They have become the main communication link with family members, friends, classmates, colleagues and customers, and usually a large number of contacts are saved.
  • contacts saved in a mobile terminal usually sort contacts by a fixed sorting rule, for example: sorting according to the pinyin order of the contact's name (or initials); when the user needs to find a contact When you can traverse the search; you can also enter a search condition, such as the first letter of the last name, etc., the mobile terminal will display the contact that matches the search condition, so that the contact can be found faster.
  • a fixed sorting rule for example: sorting according to the pinyin order of the contact's name (or initials); when the user needs to find a contact
  • you can traverse the search you can also enter a search condition, such as the first letter of the last name, etc.
  • the inventors have found that the existing sorting of contacts has at least the following disadvantages:
  • the contacts are sorted by a fixed single rule, and the static information of the contacts in the mobile terminal is usually considered in the sorting process, for example :
  • the stored name, the relationship between the contact and the user, etc. is not conducive to the user's quick search of the contact, reduces the information processing performance of the mobile terminal, and reduces the intelligence of the mobile terminal.
  • an embodiment of the present invention provides a method, a device, and a mobile terminal for processing a contact.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for processing a contact, where the method includes:
  • the preset sorting strategy includes at least one of a static sorting rule and a dynamic sorting rule
  • the contact information includes dynamic information and/or static information
  • the static sorting rule includes at least one of the following rules: a name sorting rule, a number sorting rule Bay
  • the dynamic sorting rule includes at least one of the following rules: a communication time sorting rule, a communication frequency sorting rule, a J, a communication duration sorting rule, and an instant communication attention sorting rule.
  • the obtaining the contact information according to the preset sorting policy includes:
  • the dynamic information of the contact includes: one or more of the number of calls, the duration of the call, the number of short messages, the number of instant messages, and the number of mail communications.
  • the obtaining the contact information according to the preset sorting policy includes:
  • the static information of the contact includes: one or more of a name, a number, a number attribution, an operator to which the number belongs, and a contact relationship group.
  • the preset sorting policy includes at least two sorting rules, respectively setting a priority to the at least two sorting rules;
  • the corresponding sorting rules are sequentially used to sort the contacts
  • the sorting rule used later is used to sort the sorting result after obtaining the sorting result by using the collation used previously.
  • the method further includes:
  • the contact after the sorting process is displayed.
  • the method further includes: when the contact information changes, re-sorting the contact according to the preset sorting policy.
  • an embodiment of the present invention further provides an apparatus for processing a contact, where the apparatus includes:
  • a first obtaining module configured to acquire a preset sorting policy, where the preset sorting strategy includes at least one of a static sorting rule and a dynamic sorting rule
  • a second acquiring module configured to acquire contact information according to a preset sorting policy acquired by the first acquiring module, where the contact information includes dynamic information and/or static information
  • the sorting module is configured to perform sorting processing on the contact according to the preset sorting policy obtained by the first obtaining module according to the contact information acquired by the second acquiring module.
  • the static sorting rule includes at least one of the following rules: a name sorting rule, a number sorting rule, a J, a home ordering rule, a carrier sorting rule, a contact relationship sorting rule, and a mailbox sorting rule;
  • the dynamic sorting rule includes at least one of the following rules: a communication time sorting rule, a communication frequency sorting rule, a J, a communication duration sorting rule, and an instant communication attention sorting rule.
  • the second obtaining module includes:
  • a dynamic list maintenance unit configured to create a dynamic information list, and update dynamic information of contacts in the dynamic information list in real time
  • a dynamic information acquiring unit configured to obtain dynamic information of the contact from the dynamic information list
  • the dynamic information of the contact includes: one or more of the number of calls, the duration of the call, the number of short messages, the number of instant messages, and the number of mail communications.
  • the second obtaining module includes:
  • a first static information obtaining unit configured to acquire static information of the contact from the local address book according to the preset sorting policy
  • a static list maintenance unit configured to create a static information list, update static information of the contact in the static information list in real time, and a second static information obtaining unit, configured to use the static information according to the static sorting rule Get the static information of the contact;
  • the static information of the contact includes: one or more of a name, a number, a number attribution, an operator to which the number belongs, and a contact relationship group.
  • the device further includes:
  • a priority setting module configured to set a priority for each of the at least two sorting rules when the preset sorting policy includes at least two sorting rules
  • the sorting module is specifically configured to determine, according to the order of priority from high to low, the order of use of the sorting rules; according to the determined order of use, sequentially sorting the contacts by using corresponding sorting rules;
  • the sorting rule used later is used to sort the sorting result after obtaining the sorting result by using the collation used previously.
  • the device further includes:
  • an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the foregoing apparatus for processing a contact.
  • FIG. 1 is a flowchart of a method for processing a contact according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for processing a contact according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for processing a contact according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for processing a contact according to Embodiment 4 of the present invention. detailed description
  • This embodiment provides a method for processing a contact. Referring to FIG. 1, the method is specifically as follows:
  • the preset sorting strategy includes at least one of a static collation and a dynamic collation.
  • the static collation includes at least one of the following rules:
  • Dynamic collation includes at least one of the following rules:
  • the communication frequency sorting rule may include an order of the number of outgoing calls, a sorting rule of the number of incoming calls, a sorting rule of the number of calls, a sorting rule of the number of short messages, and a sorting rule of the number of communications.
  • 102 Obtain contact information according to a preset sorting policy, where the contact information includes dynamic information and/or static information.
  • the static information of the contact includes: one or more of the name, the number, the attribution of the number, the operator to which the number belongs, and the contact relationship group; the dynamic information of the contact includes: the number of calls, the duration of the call, and the number of the short messages. , one or more of the number of instant messages, the number of mail communications.
  • the preset sorting policy is obtained, and the contact information is obtained according to the sorting policy, and then the contact is sorted according to the preset sorting policy according to the obtained contact information, because the preset sorting
  • the strategy includes at least one of a static sorting rule and a dynamic sorting rule, so that the contact can be searched according to multiple sorting rules, so that the user can quickly find the contact, reduce the time for finding the contact, and improve the information processing performance of the mobile terminal. Improve the intelligence of mobile terminals.
  • This embodiment provides a method for processing a contact. Referring to FIG. 2, the method is specifically as follows:
  • the static collation includes at least one of the following rules:
  • Dynamic collation includes at least one of the following rules:
  • the communication frequency sorting rule may include an order of the number of outgoing calls, a sorting rule of the number of incoming calls, a sorting rule of the number of calls, a sorting rule of the number of short messages, and a sorting rule of the number of communications.
  • These sorting rules can be preset in the mobile terminal.
  • the method further includes setting priorities for the at least two sorting rules.
  • the sorting strategy may be preset in the mobile terminal.
  • the sorting strategy 1 may be set by default in the mobile terminal: a name collation and a carrier collation combination (the name collation priority is 1, and the operator collation priority is 2);
  • Sorting strategy 2 The name sorting rule is combined with the sorting rule of the short message number; the sorting strategy can also be set by the user according to actual needs.
  • Step 202 Acquire contact information according to a preset sorting policy, where the contact information includes dynamic information and/or static information.
  • the static information includes at least one of the following information:
  • Dynamic information includes at least one of the following information:
  • Dynamic information is usually related to the time period, and the user can limit the time period of the dynamic information sorting rule.
  • Method 1 Set a static list of static information in the mobile terminal (as shown in Table 1), and obtain static information corresponding to the collation directly from the total static information list.
  • the static information summary list includes various static information of the contact.
  • Table 1 is a total list of static information generated by the mobile terminal according to the order in which the user adds the contacts.
  • the static information type in the list is only an example and is not limited thereto.
  • a plurality of static information lists may also be set according to various sorting rules, such as a list of number segments, a list of attribution information, and the like (as shown in Table 2). Then, the corresponding contact information is obtained from the static information list corresponding to the collation rule.
  • Method 2 According to the preset sorting strategy, the static information of the contact is directly obtained from the local address book. Home location information list
  • the embodiment of the present invention obtains the dynamic information of the contact from the dynamic information list.
  • the step of obtaining dynamic information includes:
  • the dynamic information of the contact is obtained from the dynamic information list.
  • the dynamic information list may be as shown in Table 3 and Table 4, where Table 3 is a list of recent dynamic information recorded by the mobile terminal, and the list records the number of communications and communication time of each contact within one week;
  • the mobile terminal records a historical dynamic information list, which records all communication times and communication time of each contact.
  • the number of communication and communication time in the dynamic information list is updated according to the type of communication event. If the user sends a text message to a contact, the number of types of the message type of the contact in the corresponding dynamic message list is increased by one.
  • the collation obtained in step 201 is a dynamic information weighted collation
  • the dynamic information obtained according to the collation is the weighted information.
  • the embodiment of the present invention can also generate dynamic information and static information of the instant messaging software to generate an instant messaging information list.
  • the mobile terminal can obtain static information and dynamic information related to the instant messaging from the list, where The generated instant messaging information list is shown in Table 5.
  • Instant messaging includes communication tools such as QQ and Fetion.
  • the step 203 specifically includes:
  • the corresponding sorting rules are sequentially used to sort the contacts
  • the sorting rule used later is used to sort the sorting result after obtaining the sorting result by using the collation used before.
  • the preset sorting strategy obtained includes a name collation, a number segment collation, and an order of outgoing calls.
  • Rule, and the priority of the name collation is 1, the priority of the number segment collation is 2, the priority of the call sorting rule is 3, and the name collation has the highest priority.
  • the order in which the collation is determined is: Name collation, number segment collation, and call count collation. Priority is sorted according to the name sorting rule and the corresponding name information.
  • the name information corresponding to multiple contacts is the same, and then according to the number segment sorting rules and corresponding
  • the number segment information is sorted by a plurality of contacts having the same name information obtained by sorting according to the name sorting rule; if the number segment information corresponding to the contact is the same after sorting according to the number segment sorting rule, then the sorting rules according to the number of outgoing calls are used. And the corresponding number of outgoing call information sorts the contacts with the same number segment obtained by sorting by the number segment sorting rule.
  • the user sets multiple sorting rules according to the actual scene requirements. After sorting multiple sorting rules, the user can quickly find the required contacts.
  • the contacts are sorted according to a preset sorting policy.
  • reordering the contacts may be reordering all the contacts, or reordering the partial contacts. This can be determined by the priority level of the collation corresponding to the changed contact information.
  • the matching rule corresponding to the changed contact information has a priority of 1 in the preset sorting policy (ie, the highest priority), all the contacts are sorted according to the preset sorting policy;
  • all the contacts may be reordered by using the matching rule corresponding to the dynamic information, or only need to be generated. Some of the contacts around the contact with the changed dynamic information are reordered.
  • the last sorting result is cached in the mobile terminal, and by reordering the smart refreshing of the previous sorting result, the computing time of the mobile terminal can be saved, and resources are saved.
  • the mobile terminal refreshes the sorting result and displays the reordered contacts.
  • the ordering process in this embodiment is exemplified by taking the contents of Table 1, Table 3, and Table 5 as an example.
  • Table 1 is a total list of static information
  • Table 3 is a list of dynamic information in a week
  • Table 5 is a list of instant messaging information.
  • Scenario 1 the user wants to find a contact by attribution and name, and the mobile terminal obtains the home location information and the name information from Table 1, first sorting the contacts according to the attribution information sorting rule and the attribution information (according to Guangzhou, Shenzhen) , Beijing, other descending order, if the contact with the user in the same home can be ranked in front; the contact with the same attribution after sorting the attribution information (A1 and A3, A4, B2) B3 and C3, Bl, CI and C2, A2 and A5), according to the name information sorting rule and the name information, the attributions obtained after the sorting are the same
  • the contacts are sorted, and the list 6 is generated based on the sort result.
  • the mobile terminal obtains the operator information and the name information from Table 1.
  • the contact is sorted according to the operator information sorting rule and the operator information (by mobile , Unicom, and telecommunication in descending order); the same contacts (A2, A3, A5, B2, CI, and C2, Al and Bl, A4, B3, and C3) obtained by sorting the operator information sorting rules, according to The name information sorting rule and the name information sort the contacts of the same operator obtained by the sorting described above, and generate the table 7 according to the sorting result.
  • the user wants to find a contact by using the home location and the number segment.
  • the mobile terminal obtains the home location information and the number segment information from Table 1.
  • the contact is sorted according to the attribution information sorting rule and the attribution information, and the attribution is performed.
  • the contacts with the same attribution obtained by sorting the local information sorting rules sort the contacts of the same sorting number according to the number segment information sorting rule and the number segment information (in ascending order of the first three digits of the number), according to the sorting
  • the result is generated in Listing 8.
  • the user may further sort the contacts by name sorting rules, such as contacts (C3, B3, and A3) of the same number segment in Table 8, according to the same sorting number of the name information sorting rule and the name information pair.
  • the contacts are sorted, and the list 9 is generated based on the sort result.
  • Table 9 Scenario 4 the user wants to find a contact by the contact name and the talk time.
  • the mobile terminal obtains the name information from Table 1 and obtains the call time information from Table 2.
  • the contact is sorted according to the name information sorting rule and the name information. , such as sorting the contacts according to the first Chinese character of the name; the contacts with the same initials obtained by sorting the name information sorting rules (Al, A2, A3, A4 and A5, Bl, B2 and B3, Cl, C2 and C3)
  • the call time information sorting rule and the call time information the contacts of the same initial letter are sorted (in descending order of communication time), and the contacts are sorted in descending order according to the talk time, and the list 10 is generated according to the sort result.
  • Table 10 Table 10
  • the mobile terminal obtains the call number information from Table 2 and obtains the name information from Table 1, firstly according to the call number information sorting rule and the call number information to the contact Sorting (in descending order of call counts), the contacts with the same number of calls obtained by sorting the call number information sorting rules (A2 and A3, A1 and A5, B3 and Cl), according to the call name information sorting rule and name information pair
  • the contacts of the same number of calls are sorted, and the table 11 is generated based on the sort result.
  • Scenario 6 the user wants to find a contact by using a short message and a home location.
  • the mobile terminal obtains the short message information from Table 2 and obtains the home location information from Table 1.
  • the contact information is sorted according to the short message information sorting rule and the short message information.
  • the contacts with the same number of short messages (A4 and A5, C1 and C2) obtained by sorting the short message information sorting rules are sorted according to the attribution information sorting rule and the attribution information, and the contacts of the same short message number are sorted according to the sorting result generation table 12 .
  • the mobile terminal obtains the short message information from Table 5 and obtains the name information from Table 1, first according to the QQ contact classification information sorting rule and the QQ contact classification information.
  • Sort contacts by classmates, friends, colleagues, other descending order
  • sort the QQ contacts classified information sorting rules to get the same contacts with the same QQ contacts (A1 and C3, A5, B3 and C2, A3 , A4 and Bl, A2, B2 and Cl)
  • sorting the contacts with the same QQ contact classification according to the name information sorting rule and the name information and generating the table 13 according to the sorting result.
  • the mobile terminal obtains the name information from Table 1 and obtains the latest number of times of interest information from Table 5, firstly, according to the name information sorting rule and the name information pair Sorting by people, sorting the name information sorting rules to get the same initials (Al, A2, A3, A4 and A5, Bl, B2 and B3, Cl, C2 and C3), according to the recent number of times information sorting rules
  • the contacts of the same initials are sorted with the most recent attention times information (in descending order of attention), and the table 14 is generated based on the sort result.
  • the preset sorting policy is obtained, and the contact information is obtained according to the sorting policy, and then the contact is sorted according to the preset sorting policy according to the obtained contact information, because the preset sorting
  • the strategy includes at least one of a static sorting rule and a dynamic sorting rule, so that the contact can be searched according to multiple sorting rules, so that the user can quickly find the contact, reduce the time for finding the contact, and improve the information processing performance of the mobile terminal. Improve the intelligence of mobile terminals. In addition, maintaining dynamic information of contacts through dynamic information lists is quick and easy to implement.
  • the embodiment of the present invention provides a device for processing a contact, and the device is configured to perform the method for processing a contact in the first embodiment and the second embodiment.
  • the device for processing a contact includes:
  • the first obtaining module 301 is configured to obtain a preset sorting policy, where the preset sorting policy includes at least one of a static sorting rule and a dynamic sorting rule;
  • the second obtaining module 302 is configured to obtain contact information according to a preset sorting policy acquired by the first obtaining module 301, where the contact information includes dynamic information and/or static information.
  • the sorting module 303 is configured to perform sorting processing on the contact according to the preset information obtained by the first obtaining module 301 according to the contact information acquired by the second obtaining module 302.
  • the preset sorting policy is obtained, and the contact information is obtained according to the sorting policy, and then the contact is sorted according to the preset sorting policy according to the obtained contact information, because the preset sorting
  • the strategy includes at least one of a static sorting rule and a dynamic sorting rule, so that the contact can be searched according to multiple sorting rules, so that the user can quickly find the contact, reduce the time for finding the contact, and improve the information processing performance of the mobile terminal. Improve the intelligence of mobile terminals.
  • the embodiment of the present invention provides a device for processing a contact, and the device is configured to perform the method for processing a contact in the first embodiment and the second embodiment.
  • the device for processing a contact includes:
  • the first obtaining module 401 is configured to obtain a preset sorting policy, where the preset sorting strategy includes at least one of a static sorting rule and a dynamic sorting rule;
  • the second obtaining module 402 is configured to obtain contact information according to a preset sorting policy acquired by the first obtaining module 401, where the contact information includes dynamic information and/or static information;
  • the processing module 403 is configured to sort the contacts according to the preset information obtained by the first obtaining module 401 according to the contact information acquired by the second obtaining module 402.
  • the static collation includes at least one of the following rules: a name collation, a number collation, a number attribution collation, an operator collation, a contact relationship collation, and a mailbox collation.
  • the dynamic sorting rule includes at least one of the following rules: a communication time sorting rule, a communication frequency sorting rule, a communication duration sorting rule, and an instant messaging attention sorting rule.
  • the communication frequency sorting rule may include an order of the number of outgoing calls, a sorting rule of the number of incoming calls, a sorting rule of the number of times of calls, a sorting rule of the number of short messages, and a sorting rule of the number of times of communication.
  • the second obtaining module 402 includes: a dynamic list maintaining unit, configured to create a dynamic information list, and update dynamic information of the contact in the dynamic information list in real time;
  • a dynamic information acquiring unit configured to obtain dynamic information of the contact from the dynamic information list
  • the dynamic information of the contact includes at least one of the following information: the number of outgoing calls, the number of incoming calls, the number of calls, the number of calls, the number of communications, the number of short messages, the duration of the call, the number of instant messages, and the number of email communications.
  • the second obtaining module 402 further includes a first static information acquiring unit, configured to acquire static information of the contact from the local address book according to the preset sorting policy. .
  • the second obtaining module 402 may include a static list maintenance unit, configured to create a static information list, and update static information of the contact in the static information list in real time; And a second static information obtaining unit, configured to obtain static information of the contact from the static information list according to the static sorting rule.
  • the static information of the contact includes at least one of the following information: name, number, number attribution, operator, contact relationship group, email address, instant messaging account, and the like.
  • the apparatus further includes: a priority setting module 405, configured to: when the preset sorting policy includes at least two sorting rules, respectively set a priority to the at least two sorting rules; Specifically, the order of using the sorting rules is determined according to the order of priority from high to low; according to the determined order of use, the corresponding sorting rules are sequentially used to sort the contacts; wherein, the collating rules used later are used After the sorting result is obtained by using the collation used before, the sorting result is sorted.
  • a priority setting module 405 configured to: when the preset sorting policy includes at least two sorting rules, respectively set a priority to the at least two sorting rules; Specifically, the order of using the sorting rules is determined according to the order of priority from high to low; according to the determined order of use, the corresponding sorting rules are sequentially used to sort the contacts; wherein, the collating rules used later are used After the sorting result is obtained by using the collation used before, the sorting result is sorted.
  • the device further comprises:
  • the display module 404 is configured to display the sorted contacts of the sorting module 403.
  • the sorting module 403 is further configured to: when the contact information acquired by the second obtaining module 402 changes, re-sort the contact according to the preset sorting policy;
  • the display module 404 is further configured to display the reordered contacts of the sorting module 403.
  • the last sorting result is cached in the mobile terminal, and by reordering the smart refreshing of the previous sorting result, the computing time of the mobile terminal can be saved, and resources are saved.
  • the preset sorting policy is obtained, and the contact information is obtained according to the sorting policy, and then the contact is sorted according to the preset sorting policy according to the obtained contact information, because the preset sorting
  • the strategy includes at least one of a static sorting rule and a dynamic sorting rule, so that the contact can be searched according to multiple sorting rules, so that the user can quickly find the contact, reduce the time for finding the contact, and improve the information processing performance of the mobile terminal. Improve the intelligence of mobile terminals. In addition, maintaining dynamic information of contacts through dynamic information lists is quick and easy to implement.
  • the embodiment of the invention further provides a mobile terminal, which comprises the device for processing a contact provided by the third or fourth embodiment.
  • the mobile terminal refers to a computer device that can be used in mobile, including but not limited to a mobile phone, a notebook, a tablet computer, an in-vehicle computer, etc., and the mobile terminal is not limited in this embodiment.
  • the device for processing a contact provided by the foregoing embodiment is only illustrated by the division of each functional module in the process of processing a contact. In an actual application, the function may be assigned to different functional modules according to requirements. Upon completion, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the embodiment of the mobile terminal, the processing of the contact device, and the method for processing the contact are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本发明公开了一种处理联系人的方法、装置及移动终端,属于信息处理技术领域。所述方法包括:获取预设的排序策略;根据所述预设的排序策略获取联系人信息,所述联系人信息包括动态信息和静态信息中的至少一种;根据所述联系人信息,按照预设的排序策略对联系人进行排序处理。所述装置包括:第一获取模块、第二获取模块和排序模块。本发明实施例可以根据用户设置的各种排序规则,对联系人进行排序,灵活度高,方便用户快速的查找到联系人,进而提升用户体验。

Description

一种处理联系人的方法、 装置及移动终端 本申请要求于 2012年 03月 01 日提交中国专利局、 申请号为 2012100520844、 发明名 称为 "一种处理联系人的方法、 装置及移动终端" 的中国专利申请的优先权, 其全部内容 通过引用结合在本申请中。 技术领域
本发明涉及移动终端技术领域, 特别涉及一种处理联系人的方法、 装置及移动终端。 背景技术
移动终端是人们日常生活中的主要通讯工具, 现已成为与亲人、 朋友、 同学、 同事和 客户的主要交流纽带, 其中通常会保存大量的联系人。
现有技术中, 移动终端中保存的联系人通常采用固定的排序规则对联系人进行排序, 例如: 按照联系人的姓名 (或首字母) 的拼音顺序进行排序; 当用户需要查找某一联系人 时, 可以遍历查找; 也可以输入某一查找条件, 例如姓氏的首字母等, 移动终端会显示出 与该查找条件相符的联系人, 从而较快查找到该联系人。
在实现本发明的过程中, 发明人发现现有对联系人的排序方式至少存在以下缺点: 采用固定单一的规则对联系人进行排序, 排序过程中通常考虑移动终端中联系人的静 态信息, 例如: 存储的姓名, 联系人与用户的关系等, 不利于用户对联系人的快速查找, 降低了移动终端的信息处理性能, 降低了移动终端的智能性。 发明内容
为了减少查找联系人的时间, 提高移动终端的信息处理性能, 提高移动终端的智能性, 本发明实施例提供了一种处理联系人的方法、 装置及移动终端。 所述技术方案如下:
一方面, 本发明实施例提供了一种处理联系人的方法, 所述方法包括:
获取预设的排序策略, 所述预设的排序策略包括静态排序规则和动态排序规则的至少 一种;
根据所述预设的排序策略, 获取联系人信息, 所述联系人信息包括动态信息和 /或静态 信息;
根据获取的所述联系人信息, 按照所述预设的排序策略对联系人进行排序处理。
具体地, 所述静态排序规则包括以下规则中的至少一种: 姓名排序规则、 号码排序规 贝 |J、 归属地排序规则、 运营商排序规则、 联系人关系排序规则、 邮箱排序规则;
所述动态排序规则包括以下规则中的至少一种: 通讯时间排序规则、 通讯频率排序规 贝 |J、 通讯时长排序规则、 即时通讯关注度排序规则。
其中, 所述根据所述预设的排序策略, 获取联系人信息, 包括:
创建动态信息列表, 并实时更新所述动态信息列表中联系人的动态信息;
根据所述动态排序规则, 从所述动态信息列表中获取联系人的动态信息;
其中, 所述联系人的动态信息包括: 通话次数、 通话时间、 短信条数、 即时通讯次数、 邮件通讯次数中的任一种或多种。
其中, 所述根据所述预设的排序策略, 获取联系人信息包括:
根据所述预设的排序策略, 从本地通讯录中获取所述联系人的静态信息; 或者, 创建静态信息列表, 实时更新所述静态信息列表中联系人的静态信息, 并根据所述静 态排序规则, 从所述静态信息列表中获取联系人的静态信息;
其中, 所述联系人的静态信息包括: 姓名、 号码、 号码归属地、 号码所属运营商、 联 系人关系分组的任一种或多种。
优选地, 如果所述预设的排序策略包括至少两种排序规则, 则对所述至少两种排序规 则分别设置优先级;
则所述根据获取的所述联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 包括:
按照优先级从高至低的顺序, 确定排序规则的使用顺序;
按照确定的使用顺序, 依次采用相应的排序规则对联系人进行排序处理;
其中, 在后使用的排序规则, 用于在采用在前使用的排序规则获得排序结果后, 对所 述排序结果进行排序处理。
进一步地, 在所述根据所述排序规则和所述联系人信息, 对联系人进行排序处理之后, 所述方法还包括:
显示所述排序处理后的联系人。
优选地, 所述方法还包括: 当所述联系人信息发生变化时, 重新按照所述预设的排序 策略对联系人进行排序处理。 另一方面, 本发明实施例还提供了一种处理联系人的装置, 所述装置包括:
第一获取模块, 用于获取预设的排序策略, 所述预设的排序策略包括静态排序规则和 动态排序规则的至少一种; 第二获取模块, 用于根据所述第一获取模块获取的预设的排序策略, 获取联系人信息, 所述联系人信息包括动态信息和 /或静态信息;
排序模块, 用于根据所述第二获取模块获取的联系人信息, 按照所述第一获取模块获 取的预设的排序策略, 对联系人进行排序处理。
具体地, 所述静态排序规则包括以下规则中的至少一种: 姓名排序规则、 号码排序规 贝 |J、 归属地排序规则、 运营商排序规则、 联系人关系排序规则、 邮箱排序规则;
所述动态排序规则包括以下规则中的至少一种: 通讯时间排序规则、 通讯频率排序规 贝 |J、 通讯时长排序规则、 即时通讯关注度排序规则。
其中, 所述第二获取模块包括:
动态列表维护单元, 用于创建动态信息列表, 并实时更新所述动态信息列表中联系人 的动态信息;
动态信息获取单元, 用于从所述动态信息列表中获取联系人的动态信息;
其中, 所述联系人的动态信息包括: 通话次数、 通话时间、 短信条数、 即时通讯次数、 邮件通讯次数中的任一种或多种。
其中, 所述第二获取模块包括:
第一静态信息获取单元, 用于根据所述预设的排序策略, 从本地通讯录中获取所述联 系人的静态信息; 或者,
静态列表维护单元, 用于创建静态信息列表, 实时更新所述静态信息列表中联系人的 静态信息, 和第二静态信息获取单元, 用于根据所述静态排序规则, 从所述静态信息列表 中获取联系人的静态信息;
其中, 所述联系人的静态信息包括: 姓名、 号码、 号码归属地、 号码所属运营商、 联 系人关系分组的任一种或多种。
优选地, 所述装置还包括:
优先级设置模块, 用于当所述预设的排序策略包括至少两种排序规则时, 对所述至少 两种排序规则分别设置优先级;
则所述排序模块具体用于, 按照优先级从高至低的顺序, 确定排序规则的使用顺序; 按照确定的使用顺序, 依次采用相应的排序规则对联系人进行排序处理;
其中, 在后使用的排序规则, 用于在采用在前使用的排序规则获得排序结果后, 对所 述排序结果进行排序处理。
进一步地, 所述装置还包括:
显示模块, 用于显示所述排序模块排序后的联系人。 优选地, 所述排序模块, 还用于当所述第二获取模块获取到的联系人信息发生变化时, 重新按照所述预设的排序策略对联系人进行排序处理。 再一方面, 本发明实施例还提供了一种移动终端, 该移动终端包括前述处理联系人的 装置。
本发明实施例提供的技术方案带来的有益效果是:
通过获取预设的排序策略, 并根据该排序策略获取联系人信息, 然后根据获取的联系 人信息, 按照所述预设的排序策略对联系人进行排序处理, 由于预设的排序策略包括静态 排序规则和动态排序规则的至少一种, 从而可以实现根据多种排序规则查找联系人, 方便 用户快速的查找到联系人, 减少查找联系人的时间, 提高移动终端的信息处理性能, 提高 移动终端的智能性。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例一提供的处理联系人的方法流程图;
图 2是本发明实施例二提供的处理联系人的方法流程图;
图 3是本发明实施例三提供的处理联系人的装置结构示意图;
图 4是本发明实施例四提供的处理联系人的装置结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
实施例一
本实施例提供了一种处理联系人的方法, 参见图 1, 该方法流程具体如下:
101: 获取预设的排序规则策略, 预设的排序策略包括静态排序规则和动态排序规则的 至少一种。
具体地, 静态排序规则包括以下规则中的至少一种:
姓名排序规则、 号码排序规则、 号码归属地排序规则、 运营商排序规则、 联系人关系 排序规则、 邮箱排序规则。
动态排序规则包括以下规则中的至少一种:
通讯时间排序规则、 通讯频率排序规则、 通讯时长排序规则、 即时通讯关注度排序规 贝 |J。 其中, 通讯频率排序规则可以包括呼出次数排序规则、 呼入次数排序规则、 通话次数 排序规则、 短信次数排序规则、 通讯次数排序规则。
102: 根据预设的排序策略, 获取联系人信息, 该联系人信息包括动态信息和 /或静态 信息。
其中, 联系人的静态信息包括: 姓名、 号码、 号码归属地、 号码所属运营商、 联系人 关系分组的任一种或多种; 联系人的动态信息包括: 通话次数、 通话时间、 短信条数、 即 时通讯次数、 邮件通讯次数中的任一种或多种。
103: 根据获取的联系人信息, 按照预设的排序策略对联系人进行排序处理。
本发明实施例通过获取预设的排序策略, 并根据该排序策略获取联系人信息, 然后根 据获取的联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 由于预设的排序 策略包括静态排序规则和动态排序规则的至少一种, 从而可以实现根据多种排序规则查找 联系人, 方便用户快速的查找到联系人, 减少查找联系人的时间, 提高移动终端的信息处 理性能, 提高移动终端的智能性。 实施例二
本实施例提供了一种处理联系人的方法, 参见图 2, 该方法流程具体如下:
201: 获取预设的排序策略, 该预设的排序策略包括静态排序规则和动态排序规则的至 少一种。
具体地, 静态排序规则包括以下规则中的至少一种:
姓名排序规则、 号码排序规则、 号码归属地排序规则、 运营商排序规则、 联系人关系 排序规则、 邮箱排序规则。
动态排序规则包括以下规则中的至少一种:
通讯时间排序规则、 通讯频率排序规则、 通讯时长排序规则、 即时通讯关注度排序规 贝 |J。 其中, 通讯频率排序规则可以包括呼出次数排序规则、 呼入次数排序规则、 通话次数 排序规则、 短信次数排序规则、 通讯次数排序规则。
这些排序规则可以预设在移动终端中。
进一步地, 当预设的排序策略包括至少两种排序规则时, 该步骤之后, 还包括为至少 两种排序规则分别设置优先级。 排序策略可以是预先设置在移动终端中的, 比如, 可以在移动终端中默认设置排序策 略 1 : 姓名排序规则与运营商排序规则组合 (姓名排序规则优先级为 1, 运营商排序规则优 先级为 2 ); 排序策略 2: 姓名排序规则与短信次数排序规则组合; 排序策略也可以是用户 根据实际需要后续设置的。
步骤 202: 根据预设的排序策略, 获取联系人信息, 该联系人信息包括动态信息和 /或 静态信息。
其中, 静态信息包括以下信息中的至少一种:
姓名、 号码段、 号码归属地、 运营商、 联系人关系分组、 邮箱、 即时通讯账号。
动态信息包括以下信息中的至少一种:
呼出次数、 呼入次数、 呼叫次数、 通话次数、 通讯次数、 短信次数、 通话时间、 即时 通讯关注次数等。 动态信息通常与时间段有关, 用户可以对动态信息排序规则的时间段进 行限定。
进一步地, 对于静态信息的获取, 可以有以下两种方式:
方式一、 在移动终端中设置静态信息总列表 (如表 1所示), 直接从静态信息总列表中 获取排序规则对应的静态信息, 该静态信息总列表中包括联系人的各种静态信息。 其中, 表 1 为移动终端根据用户添加联系人的先后顺序生成的静态信息总列表, 该列表中的静态 信息类型仅为举例, 并不以此为限。
表 1 静态信息总列表
Figure imgf000008_0001
可选地, 也可以根据各种排序规则, 设置多个静态信息列表, 比如号码段信息列表, 归属地信息列表等 (如表 2所示)。 那么, 分别从排序规则对应的静态信息列表中获取相应 的联系人信息。
方式二、 根据预设的排序策略, 直接从本地通讯录获取联系人的静态信息。 归属地信息列表
Figure imgf000009_0001
对于动态信息的获取, 本发明实施例从动态信息列表中获取联系人的动态信息。
具体地, 获取动态信息的步骤包括:
创建动态信息列表, 并实时更新动态信息列表中联系人的动态信息;
根据动态排序规则, 从动态信息列表中获取联系人的动态信息。
具体地, 该动态信息列表可以如表 3和表 4所示, 其中, 表 3为移动终端记录的最近 动态信息列表, 该列表记录了各个联系人一周内的通讯次数和通讯时间; 表 4 为移动终端 记录历史动态信息列表, 该列表记录了各个联系人所有的通讯次数和通讯时间。 当发生通 讯事件时, 按照通讯事件的类型更新动态信息列表中的通讯次数和通讯时间。 如用户向某 一联系人发送了一条短信, 则相应的动态消息列表中的该联系人的短信类型的次数加一。
表 3中还可以有一种动态信息, 如加权信息, 加权信息的值 =2*呼出次数 +1*呼入次数。 若步骤 201 中获取到的排序规则为动态信息加权排序规则, 则根据该排序规则获取的动态 信息为该加权信息。
最近动态信息列表
姓名 呼出次数 呼入次数 呼叫次数 短信 通讯次数 通话时间
A1 2 5 7 3 10 2. 6
B2 4 6 10 8 18 0. 9
C3 7 7 14 6 20 1. 5
B3 3 1 4 5 9 6. 5
A3 0 8 8 12 20 0. 3
A2 6 2 8 7 15 0. 5
C1 1 3 4 0 4 0. 5
B1 5 0 5 1 6 0. 8
C2 0 0 0 0 0 0
A5 2 5 7 2 9 1. 5
A4 9 4 13 2 15 1. 1 历史动态信息列表
Figure imgf000010_0001
优选地, 本发明实施例还可以统计即时通讯软件的动态信息和静态信息生成一个即时 通讯信息列表, 相应地, 移动终端可以从该列表中获取与即时通讯有关的静态信息和动态 信息, 其中, 生成的即时通讯信息列表如表 5所示。 即时通讯包括 QQ、 飞信等通讯工具。
表 5 即时通讯信息列表
Figure imgf000010_0002
203: 根据获取的联系人信息, 按照预设的排序策略对联系人进行排序处理。
具体地, 当获取到的预设的排序策略包括至少两种排序规则, 且至少两种排序规则分 别设置有优先级时, 步骤 203具体包括:
按照优先级从高至低的顺序, 确定排序规则的使用顺序;
按照确定的使用顺序, 依次采用相应的排序规则对联系人进行排序处理;
其中, 在后使用的排序规则, 用于在采用在前使用的排序规则获得排序结果后, 对该 排序结果进行排序处理。
例如, 获取的预设的排序策略中包括姓名排序规则、 号码段排序规则和呼出次数排序 规则, 且姓名排序规则的优先级为 1、 号码段排序规则的优先级为 2、 呼出次数排序规则的 优先级为 3, 姓名排序规则的优先级最高。 按照优先级从高至低的顺序, 确定排序规则的使 用顺序为: 姓名排序规则、 号码段排序规则和呼出次数排序规则。 优先根据姓名排序规则 及对应的姓名信息对联系人进行排序, 如果按照姓名信息排序规则排序后, 有多个联系人 对应的姓名信息 (如首字母相同) 相同, 再根据号码段排序规则及对应的号码段信息对按 照姓名排序规则排序后得到的多个姓名信息相同的联系人进行排序; 如果按照号码段排序 规则排序后, 有联系人对应的号码段信息相同, 则再根据呼出次数排序规则及对应的呼出 次数信息对按照号码段排序规则排序后得到的号码段相同的联系人进行排序。
204、 显示排序处理后的联系人。
用户根据实际场景需要, 设置多个排序规则, 经过多个排序规则的排序后, 用户可以 快速查找到需要的联系人。
205、 当获取到的联系人信息发生变化时, 重新按照预设的排序策略对联系人进行排序 处理。
具体地, 重新对联系人进行排序处理可以是对所有联系人进行重新排序处理, 也可以 是对部分联系人进行重新排序处理。 这可以由发生变化的联系人信息对应的排序规则的优 先级别来决定。
进一步地, 若变化的联系人信息对应的排序规则, 在预设的排序策略中的优先级为 1 (即最高优先级), 则重新按照预设的排序策略对所有联系人进行排序;
若变化的联系人信息对应的排序规则, 在预设的排序策略中的优先级为最低优先级, 则可以采用该动态信息对应的排序规则对所有联系人进行重新排序, 或者只需要对该发生 变化的动态信息的联系人周围的部分联系人进行重新排序。
通常, 上一次的排序结果会缓存在移动终端中, 通过重新排序智能刷新上一次的排序 结果, 可以节约移动终端的计算时间, 并节约资源。
相应地, 重新排序处理后, 移动终端会刷新排序结果, 显示重新排序后的联系人。 为了便于理解, 以表 1、 表 3和表 5的内容为例, 对本实施例中的排序过程进行举例说 明。 表 1为静态信息总列表, 表 3为一周内的动态信息列表, 表 5为即时通讯信息列表。
场景 1, 用户希望通过归属地与姓名来查找联系人, 移动终端从表 1中获取归属地信息 和姓名信息, 首先根据归属地信息排序规则与归属地信息对联系人进行排序 (按照广州、 深圳、 北京、 其他依次降序排列), 如可以将与用户处于同一归属地的联系人排在前面; 对 归属地信息排序规则排序后得到的归属地相同的联系人 (A1与 A3, A4、 B2、 B3与 C3, Bl、 CI与 C2, A2与 A5), 根据姓名信息排序规则与姓名信息对前述排序后得到的归属地相同的 联系人进行排序, 根据排序结果生成列表 6。
表 6
Figure imgf000012_0002
场景 2, 用户希望通过运营商与联系人姓名来查找联系人, 移动终端从表 1中获取运营 商信息和姓名信息, 首先根据运营商信息排序规则与运营商信息对联系人进行排序 (按移 动、 联通、 电信依次降序排列); 对运营商信息排序规则排序后得到的运营商相同的联系人 (A2、 A3、 A5、 B2、 CI与 C2, Al与 Bl, A4、 B3与 C3), 根据姓名信息排序规则与姓名信 息对前述排序后得到的运营商相同的联系人进行排序, 根据排序结果生成表 7。
表 7
Figure imgf000012_0003
场景 3, 用户希望通过归属地与号码段来查找联系人, 移动终端从表 1中获取归属地信 息和号码段信息, 首先根据归属地信息排序规则与归属地信息对联系人进行排序, 对归属 地信息排序规则排序后得到的归属地相同的联系人, 根据号码段信息排序规则与号码段信 息对相同排序序号的联系人进行排序 (按号码的前三位数字的大小升序排列), 根据排序结 果生成列表 8。
表 8
Figure imgf000012_0001
进一步地, 用户还可以通过姓名排序规则对联系人做进一步地排序, 如对表 8中相同 号码段的联系人 (C3、 B3与 A3), 根据姓名信息排序规则与姓名信息对相同排序序号的联 系人进行排序, 根据排序结果生成列表 9。
表 9
Figure imgf000013_0001
场景 4, 用户希望通过联系人姓名与通话时间来查找联系人, 移动终端从表 1中获取姓 名信息和从表 2 中获取通话时间信息, 首先根据姓名信息排序规则与姓名信息对联系人进 行排序, 如按照姓名的首汉字对联系人进行排序; 对姓名信息排序规则排序后得到的首字 母相同的联系人 (Al、 A2、 A3、 A4与 A5, Bl、 B2与 B3, Cl、 C2与 C3), 根据通话时间信 息排序规则与通话时间信息对相同首字母的联系人进行排序 (按通讯时间降序排列), 如按 照通话时间对联系人降序排列, 根据排序结果生成列表 10。 表 10
Figure imgf000013_0002
场景 5, 用户希望通过呼叫次数与联系人姓名来查找联系人, 移动终端从表 2中获取呼 叫次数信息和从表 1 中获取姓名信息, 首先根据呼叫次数信息排序规则与呼叫次数信息对 联系人进行排序 (按呼叫次数降序排列), 对呼叫次数信息排序规则排序后得到的呼叫次数 相同的联系人 (A2与 A3, A1与 A5, B3与 Cl ), 根据通话姓名信息排序规则与姓名信息对 相同呼叫次数的联系人进行排序, 根据排序结果生成表 11。 表 11
Figure imgf000014_0001
场景 6, 用户希望通过短信与归属地来查找联系人, 移动终端从表 2中获取短信信息和 从表 1 中获取归属地信息, 首先根据短信信息排序规则与短信信息对联系人进行排序, 对 短信信息排序规则排序后得到的短信次数相同的联系人 (A4与 A5, C1与 C2), 根据归属地 信息排序规则与归属地信息对相同短信次数的联系人进行排序, 根据排序结果生成表 12。
表 12
Figure imgf000014_0002
场景 7, 用户希望通过 QQ联系人分类与姓名来查找联系人, 移动终端从表 5中获取短 信信息和从表 1中获取姓名信息, 首先根据 QQ联系人分类信息排序规则与 QQ联系人分类 信息对联系人进行排序 (按同学、 朋友、 同事、 其他降序排列), 对 QQ联系人分类信息排 序规则排序后得到的 QQ联系人分类相同的联系人 (A1与 C3, A5、 B3与 C2, A3、 A4与 Bl, A2、 B2与 Cl ),根据姓名信息排序规则与姓名信息对 QQ联系人分类相同的联系人进行排序, 根据排序结果生成表 13。 同学 朋友 同事 其他
Al A5 A3 A2
C3 B3 A4 B2
C2 Bl CI 场景 8, 用户希望通过姓名与最近关注次数来查找联系人, 移动终端从表 1中获取姓名 信息和从表 5 中获取最近关注次数信息, 首先根据姓名信息排序规则与姓名信息对联系人 进行排序, 对姓名信息排序规则排序后得到的首字母相同的联系人(Al、 A2、 A3、 A4与 A5, Bl、 B2与 B3, Cl、 C2与 C3), 根据最近关注次数信息排序规则与最近关注次数信息对相同 首字母的联系人进行排序 (按关注次数降序排列), 根据排序结果生成表 14。
表 14
Figure imgf000015_0001
本发明实施例通过获取预设的排序策略, 并根据该排序策略获取联系人信息, 然后根 据获取的联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 由于预设的排序 策略包括静态排序规则和动态排序规则的至少一种, 从而可以实现根据多种排序规则查找 联系人, 方便用户快速的查找到联系人, 减少查找联系人的时间, 提高移动终端的信息处 理性能, 提高移动终端的智能性。 此外, 通过动态信息列表来维护联系人的动态信息, 简 单快速, 便于实现。 实施例三
本实施例提供了一种处理联系人的装置, 该装置用于执行上述实施例一和实施例二中 的处理联系人的方法, 参见图 3, 该处理联系人的装置包括:
第一获取模块 301, 用于获取预设的排序策略, 预设的排序策略包括静态排序规则和动 态排序规则的至少一种;
第二获取模块 302, 用于根据第一获取模块 301获取的预设的排序策略, 获取联系人信 息, 该联系人信息包括动态信息和 /或静态信息;
排序模块 303, 用于根据第二获取模块 302获取的联系人信息, 按照第一获取模块 301 获取的预设的排序策略, 对联系人进行排序处理。 本发明实施例通过获取预设的排序策略, 并根据该排序策略获取联系人信息, 然后根 据获取的联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 由于预设的排序 策略包括静态排序规则和动态排序规则的至少一种, 从而可以实现根据多种排序规则查找 联系人, 方便用户快速的查找到联系人, 减少查找联系人的时间, 提高移动终端的信息处 理性能, 提高移动终端的智能性。 实施例四
本实施例提供了一种处理联系人的装置, 该装置用于执行上述实施例一和实施例二中 的处理联系人的方法, 参见图 4, 该处理联系人的装置包括:
第一获取模块 401, 用于获取预设的排序策略, 预设的排序策略包括静态排序规则和动 态排序规则的至少一种;
第二获取模块 402, 用于根据第一获取模块 401获取的预设的排序策略, 获取联系人信 息, 该联系人信息包括动态信息和 /或静态信息;
处理模块 403, 用于根据第二获取模块 402获取的联系人信息, 按照第一获取模块 401 获取的预设的排序策略, 对联系人进行排序。
具体地, 静态排序规则包括以下规则中的至少一种: 姓名排序规则、 号码排序规则、 号码归属地排序规则、 运营商排序规则、 联系人关系排序规则、 邮箱排序规则。 动态排序 规则包括以下规则中的至少一种: 通讯时间排序规则、 通讯频率排序规则、 通讯时长排序 规则、 即时通讯关注度排序规则。 其中, 通讯频率排序规则可以包括呼出次数排序规则、 呼入次数排序规则、 通话次数排序规则、 短信次数排序规则、 通讯次数排序规则。
其中, 第二获取模块 402 包括: 动态列表维护单元, 用于创建动态信息列表, 并实时 更新所述动态信息列表中联系人的动态信息;
动态信息获取单元, 用于从所述动态信息列表中获取联系人的动态信息;
其中, 联系人的动态信息包括以下信息中的至少一种: 呼出次数、 呼入次数、 呼叫次 数、 通话次数、 通讯次数、 短信次数、 通话时间、 即时通讯关注次数、 邮件通讯次数等。
在本发明实施例的一个具体应用中, 该第二获取模块 402 还包括第一静态信息获取单 元, 用于根据所述预设的排序策略, 从本地通讯录中获取所述联系人的静态信息。
可选地, 在本发明实施例的另一个具体应用中, 该第二获取模块 402 可以包括静态列 表维护单元, 用于创建静态信息列表, 实时更新所述静态信息列表中联系人的静态信息; 和第二静态信息获取单元, 用于根据所述静态排序规则, 从所述静态信息列表中获取联系 人的静态信息。 其中, 联系人的静态信息包括以下信息中的至少一种: 姓名、 号码、 号码归属地、 运 营商、 联系人关系分组、 邮箱、 即时通讯账号等。
优选地, 该装置还包括: 优先级设置模块 405, 用于当所述预设的排序策略包括至少两 种排序规则时, 对所述至少两种排序规则分别设置优先级; 则排序模块 403, 具体用于按照 优先级从高至低的顺序, 确定排序规则的使用顺序; 按照确定的使用顺序, 依次采用相应 的排序规则对联系人进行排序处理; 其中, 在后使用的排序规则, 用于在采用在前使用的 排序规则获得排序结果后, 对所述排序结果进行排序处理。
优选地, 该装置还包括:
显示模块 404, 用于显示排序模块 403排序后的联系人。
进一步地, 排序模块 403, 还用于当第二获取模块 402获取的联系人信息发生变化时, 重新按照预设的排序策略对联系人进行排序处理;
相应地, 显示模块 404, 还用于显示排序模块 403重新排序后的联系人。
通常, 上一次的排序结果会缓存在移动终端中, 通过重新排序智能刷新上一次的排序 结果, 可以节约移动终端的计算时间, 并节约资源。
本发明实施例通过获取预设的排序策略, 并根据该排序策略获取联系人信息, 然后根 据获取的联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 由于预设的排序 策略包括静态排序规则和动态排序规则的至少一种, 从而可以实现根据多种排序规则查找 联系人, 方便用户快速的查找到联系人, 减少查找联系人的时间, 提高移动终端的信息处 理性能, 提高移动终端的智能性。 此外, 通过动态信息列表来维护联系人的动态信息, 简 单快速, 便于实现。 实施例五
本发明实施例还提供了一种移动终端, 该移动终端包括实施例三或四提供的处理联系 人的装置。
该移动终端是指可以在移动中使用的计算机设备, 包括但不限于手机、 笔记本、 平板 电脑、 车载电脑等, 本实施例不对移动终端进行限定。
需要说明的是: 上述实施例提供的处理联系人的装置在处理联系人时, 仅以上述各功 能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功能 模块完成, 即将装置的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部分 功能。 另外, 上述实施例涉及的移动终端、 处理联系人装置与处理联系人方法实施例属于 同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种处理联系人的方法, 其特征在于, 所述方法包括:
获取预设的排序策略, 所述预设的排序策略包括静态排序规则和动态排序规则的至少一 种;
根据所述预设的排序策略, 获取联系人信息, 所述联系人信息包括动态信息和 /或静态信 息;
根据获取的所述联系人信息, 按照所述预设的排序策略对联系人进行排序处理。
2、根据权利要求 1所述的方法, 其特征在于, 所述静态排序规则包括以下规则中的至少 一种:
姓名排序规则、 号码排序规则、 归属地排序规则、 运营商排序规则、 联系人关系排序规 贝 |J、 邮箱排序规则;
所述动态排序规则包括以下规则中的至少一种:
通讯时间排序规则、通讯频率排序规则、通讯时长排序规则、 即时通讯关注度排序规则、 动态信息加权排序规则。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述预设的排序策略, 获取联系 人信息包括:
创建动态信息列表, 并实时更新所述动态信息列表中联系人的动态信息;
根据所述动态排序规则, 从所述动态信息列表中获取联系人的动态信息;
其中, 所述联系人的动态信息包括: 通话次数、 通话时间、 短信条数、 即时通讯次数、 邮件通讯次数中的任一种或多种。
4、 如权利要求 2所述的方法, 其特征在于, 所述根据所述预设的排序策略, 获取联系人 信息包括:
根据所述预设的排序策略, 从本地通讯录中获取所述联系人的静态信息; 或者, 创建静态信息列表, 实时更新所述静态信息列表中联系人的静态信息, 并根据所述静态 排序规则, 从所述静态信息列表中获取联系人的静态信息;
其中, 所述联系人的静态信息包括: 姓名、 号码、 号码归属地、 号码所属运营商、 联系 人关系分组的任一种或多种。
5、根据权利要求 1-4任一项所述的方法, 其特征在于, 如果所述预设的排序策略包括至 少两种排序规则, 则对所述至少两种排序规则分别设置优先级;
则所述根据获取的所述联系人信息, 按照所述预设的排序策略对联系人进行排序处理, 包括:
按照优先级从高至低的顺序, 确定排序规则的使用顺序;
按照确定的使用顺序, 依次采用相应的排序规则对联系人进行排序处理;
其中, 在后使用的排序规则, 用于在采用在前使用的排序规则获得排序结果后, 对所述 排序结果进行排序处理。
6、根据权利要求 1所述的方法, 其特征在于, 在所述根据所述排序规则和所述联系人信 息, 对联系人进行排序处理之后, 所述方法还包括:
显示所述排序处理后的联系人。
7、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:
当所述联系人信息发生变化时, 重新按照所述预设的排序策略对联系人进行排序处理。
8、 一种处理联系人的装置, 其特征在于, 所述装置包括:
第一获取模块, 用于获取预设的排序策略, 所述预设的排序策略包括静态排序规则和动 态排序规则的至少一种;
第二获取模块, 用于根据所述第一获取模块获取的预设的排序策略, 获取联系人信息, 所述联系人信息包括动态信息和 /或静态信息;
排序模块, 用于根据所述第二获取模块获取的联系人信息, 按照所述第一获取模块获取 的预设的排序策略, 对联系人进行排序处理。
9、根据权利要求 8所述的装置, 其特征在于, 所述静态排序规则包括以下规则中的至少 一种:
姓名排序规则、 号码排序规则、 归属地排序规则、 运营商排序规则、 联系人关系排序规 贝 lj、 邮箱排序规则; 所述动态排序规则包括以下规则中的至少一种:
通讯时间排序规则、通讯频率排序规则、通讯时长排序规则、 即时通讯关注度排序规则。
10、 根据权利要求 9所述的装置, 其特征在于, 所述第二获取模块, 包括:
动态列表维护单元, 用于创建动态信息列表, 并实时更新所述动态信息列表中联系人的 动态信息;
动态信息获取单元, 用于从所述动态信息列表中获取联系人的动态信息;
其中, 所述联系人的动态信息包括: 通话次数、 通话时间、 短信条数、 即时通讯次数、 邮件通讯次数中的任一种或多种。
11、 根据权利要求 9所述的装置, 其特征在于, 所述第二获取模块包括:
第一静态信息获取单元, 用于根据所述预设的排序策略, 从本地通讯录中获取所述联系 人的静态信息; 或者,
静态列表维护单元, 用于创建静态信息列表, 实时更新所述静态信息列表中联系人的静 态信息, 和第二静态信息获取单元, 用于根据所述静态排序规则, 从所述静态信息列表中获 取联系人的静态信息;
其中, 所述联系人的静态信息包括: 姓名、 号码、 号码归属地、 号码所属运营商、 联系 人关系分组的任一种或多种。
12、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括:
优先级设置模块, 用于当所述预设的排序策略包括至少两种排序规则时, 对所述至少两 种排序规则分别设置优先级;
则所述排序模块具体用于, 按照优先级从高至低的顺序, 确定排序规则的使用顺序; 按照确定的使用顺序, 依次采用相应的排序规则对联系人进行排序处理;
其中, 在后使用的排序规则, 用于在采用在前使用的排序规则获得排序结果后, 对所述 排序结果进行排序处理。
13、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括:
显示模块, 用于显示所述排序模块排序后的联系人。
14、 根据权利要求 8所述的装置, 其特征在于, 所述排序模块, 还用于当所述第二获取 模块获取到的联系人信息发生变化时,重新按照所述预设的排序策略对联系人进行排序处理。
15、 一种移动终端, 其特征在于, 所述移动终端包括权利要求 8-14任一项所述的处理联 系人的装置。
PCT/CN2013/072051 2012-03-01 2013-03-01 一种处理联系人的方法、装置及移动终端 WO2013127359A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
MYPI2014702430A MY181596A (en) 2012-03-01 2013-03-01 Method and device for processing contact persons, and mobile terminal
SG11201404994SA SG11201404994SA (en) 2012-03-01 2013-03-01 Method and device for processing contact persons, and mobile terminal
JP2014559075A JP2015508973A (ja) 2012-03-01 2013-03-01 連絡先を処理するための方法およびデバイスならびにモバイル端末
EP13754279.1A EP2822257B1 (en) 2012-03-01 2013-03-01 Method and device for processing contact persons, and mobile terminal
US14/462,626 US20150006551A1 (en) 2012-03-01 2014-08-19 Method, Apparatus And Mobile Terminal For Processing Contacts

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210052084.4 2012-03-01
CN2012100520844A CN103297602A (zh) 2012-03-01 2012-03-01 一种处理联系人的方法、装置及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/462,626 Continuation US20150006551A1 (en) 2012-03-01 2014-08-19 Method, Apparatus And Mobile Terminal For Processing Contacts

Publications (1)

Publication Number Publication Date
WO2013127359A1 true WO2013127359A1 (zh) 2013-09-06

Family

ID=49081652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072051 WO2013127359A1 (zh) 2012-03-01 2013-03-01 一种处理联系人的方法、装置及移动终端

Country Status (7)

Country Link
US (1) US20150006551A1 (zh)
EP (1) EP2822257B1 (zh)
JP (1) JP2015508973A (zh)
CN (1) CN103297602A (zh)
MY (1) MY181596A (zh)
SG (1) SG11201404994SA (zh)
WO (1) WO2013127359A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702759A (zh) * 2013-12-06 2015-06-10 中兴通讯股份有限公司 通讯录的设置方法及装置
CN104917870A (zh) * 2014-03-11 2015-09-16 杭州雾隐美地传媒有限公司 一种快速定位联系人的方法及应用产品

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144240B (zh) * 2013-09-24 2018-03-27 腾讯科技(深圳)有限公司 一种联系人管理方法及装置、终端设备
CN104717340B (zh) * 2013-12-13 2018-03-27 中国电信股份有限公司 提供拨号号码的方法和装置
CN105450823A (zh) * 2014-08-27 2016-03-30 北京金山安全软件有限公司 通讯录的生成方法、装置和移动终端
CN104394256A (zh) * 2014-10-28 2015-03-04 深圳市金立通信设备有限公司 一种通讯录排序方法
CN104469012B (zh) * 2014-12-11 2016-09-21 北京奇虎科技有限公司 移动通信终端中骚扰地址的保存方法及移动通信终端
CN104506723A (zh) * 2014-12-18 2015-04-08 百度在线网络技术(北京)有限公司 通信录信息处理方法和装置
CN105827805A (zh) * 2015-09-10 2016-08-03 广东维沃软件技术有限公司 联系人信息显示方法、移动终端、服务器及其应用方法
CN105847513A (zh) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 一种电话号码分类、检索方法、装置及手机
CN106331373A (zh) * 2016-09-26 2017-01-11 珠海格力电器股份有限公司 一种移动终端中通讯录的提醒方法、装置及移动终端
CN106453777A (zh) * 2016-09-26 2017-02-22 珠海格力电器股份有限公司 一种通讯录的显示方法、装置和终端
CN106572255B (zh) * 2016-10-28 2020-02-18 努比亚技术有限公司 一种信息智能化排序装置、方法及移动终端
CN108023997B (zh) * 2016-10-28 2020-09-25 中国电信股份有限公司 通信录显示方法、装置和终端
CN106790925B (zh) * 2017-02-14 2020-06-05 东软集团股份有限公司 电话号码的搜索方法及装置
CN108111390A (zh) * 2017-11-13 2018-06-01 上海掌门科技有限公司 联系人管理方法、设备及存储介质
CN110083677B (zh) * 2019-05-07 2021-09-17 北京字节跳动网络技术有限公司 联系人的搜索方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758680A (zh) * 2005-10-31 2006-04-12 上海贝豪通讯电子有限公司 一种移动通讯终端号码的排列和显示方法
CN101102357A (zh) * 2006-07-05 2008-01-09 英业达股份有限公司 自动排序系统及其方法
CN101188806A (zh) * 2007-12-06 2008-05-28 深圳华为通信技术有限公司 短消息处理方法和移动终端
CN101938550A (zh) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 一种移动终端及其电话簿的排序方法和装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529724B1 (en) * 1999-10-26 2003-03-04 Qualcomm Incorporated System and method for managing contact information based on use of a communications device
JP2004147099A (ja) * 2002-10-24 2004-05-20 Sharp Corp 電話番号検索装置、電話番号検索方法および電話番号検索プログラム
JP2005236871A (ja) * 2004-02-23 2005-09-02 Nec Corp 電話帳表示方法および通信端末機
US7580363B2 (en) * 2004-08-16 2009-08-25 Nokia Corporation Apparatus and method for facilitating contact selection in communication devices
US20070129112A1 (en) * 2005-12-01 2007-06-07 Liang-Chern Tarn Methods of Implementing an Operation Interface for Instant Messages on a Portable Communication Device
WO2008064483A1 (en) * 2006-11-30 2008-06-05 James Andrew Wanless A method and system for providing automated real-time contact information
CN101365008A (zh) * 2008-09-12 2009-02-11 深圳华为通信技术有限公司 一种通讯录排序的方法和终端
US8805417B2 (en) * 2009-06-30 2014-08-12 Verizon Patent And Licensing Inc. Dynamic contact list display
CN101969505A (zh) * 2010-10-22 2011-02-09 深圳桑菲消费通信有限公司 一种移动终端通讯录的排序方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758680A (zh) * 2005-10-31 2006-04-12 上海贝豪通讯电子有限公司 一种移动通讯终端号码的排列和显示方法
CN101102357A (zh) * 2006-07-05 2008-01-09 英业达股份有限公司 自动排序系统及其方法
CN101188806A (zh) * 2007-12-06 2008-05-28 深圳华为通信技术有限公司 短消息处理方法和移动终端
CN101938550A (zh) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 一种移动终端及其电话簿的排序方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702759A (zh) * 2013-12-06 2015-06-10 中兴通讯股份有限公司 通讯录的设置方法及装置
CN104917870A (zh) * 2014-03-11 2015-09-16 杭州雾隐美地传媒有限公司 一种快速定位联系人的方法及应用产品

Also Published As

Publication number Publication date
SG11201404994SA (en) 2014-10-30
US20150006551A1 (en) 2015-01-01
MY181596A (en) 2020-12-29
JP2015508973A (ja) 2015-03-23
EP2822257A4 (en) 2015-02-18
EP2822257A1 (en) 2015-01-07
EP2822257B1 (en) 2018-01-31
CN103297602A (zh) 2013-09-11

Similar Documents

Publication Publication Date Title
WO2013127359A1 (zh) 一种处理联系人的方法、装置及移动终端
ES2490246T3 (es) Terminal inalámbrico y método para procesar información de contacto
US20120198348A1 (en) Apparatus and method for providing integrated user information
TWI543580B (zh) 移動終端通訊錄的優先順序設置裝置及方法
CN105898085B (zh) 骚扰通信账号的识别方法及装置
US20090049392A1 (en) Visual navigation
US20110053578A1 (en) Centralized control of multiple services
KR20130060308A (ko) 중요도 레벨에 기초하여 콘텐츠 세그먼트를 적응시키기 위한 방법, 장치, 및 컴퓨터 프로그램 제품
WO2013189393A2 (zh) 一种通讯录的联系人排序方法和系统
CN102158581A (zh) 一种联系人排序方法及通讯终端
CN104333501B (zh) 一种联系人列表的显示方法及装置
CN102143256A (zh) 联系人的快捷操作方法和移动终端
WO2013166922A1 (zh) 一种信息处理的方法和终端
CN105897881A (zh) 根据消息优先级分批次分时段推送的方法、装置及移动终端
CN103152462B (zh) 一种通信录分享方法及装置
US10284699B2 (en) Contact list availability prioritization
CN103024175A (zh) 基于通讯录的自动分类方法及装置及移动终端
CN101931707A (zh) 一种移动通讯设备即时交互中查找联系人的方法及装置
WO2013167000A1 (zh) 一种移动终端及其短信显示方法
CN104717340B (zh) 提供拨号号码的方法和装置
CN103916526B (zh) 联系人信息处理方法、装置及移动终端
US8233888B1 (en) Leveraging mobile-device analytics for informing and call handling
CN105430654B (zh) 号码的归属信息的识别方法及装置
CN101969505A (zh) 一种移动终端通讯录的排序方法
CN102946465A (zh) 一种手机终端联系人排序方法、通信录及手机终端

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: 13754279

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014559075

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013754279

Country of ref document: EP