CN104268151B - contact person grouping method and device - Google Patents

contact person grouping method and device Download PDF

Info

Publication number
CN104268151B
CN104268151B CN201410437422.5A CN201410437422A CN104268151B CN 104268151 B CN104268151 B CN 104268151B CN 201410437422 A CN201410437422 A CN 201410437422A CN 104268151 B CN104268151 B CN 104268151B
Authority
CN
China
Prior art keywords
group name
keyword
group
keywords
contacts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410437422.5A
Other languages
Chinese (zh)
Other versions
CN104268151A (en
Inventor
王芳
牛坤
鲍协浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410437422.5A priority Critical patent/CN104268151B/en
Publication of CN104268151A publication Critical patent/CN104268151A/en
Application granted granted Critical
Publication of CN104268151B publication Critical patent/CN104268151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/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
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • 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
    • G06F16/285Clustering or classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present disclosure provides contact person grouping method and device, and method therein includes:The text communication content of traversal and each contact person, obtains the keyword in the text communication content, wherein the keyword corresponding to each contact person reaches the vocabulary of predetermined threshold value for the frequency of occurrences in the text communication content of each contact person;Each contact person is grouped according to the keyword, so that the text communication content of the contact person in the same grouping has identical keyword;Determine that the group name of each grouping, the group name being respectively grouped keyword corresponding to each grouping are related;Each contact person after display grouping.The quantity of the title and grouping that are grouped in the embodiment of the present disclosure is no longer fixed, so that grouping is become careful and proper, substantially increases efficiency when being managed to contact person.

Description

Contact person grouping method and device
Technical Field
The disclosure relates to the field of terminal device information processing, and in particular, to a contact person grouping method and device.
Background
A user's terminal device typically has a number of contacts stored therein. To facilitate management and searching, the user may manually establish groups (or groups), such as family, friends, colleagues, strangers, etc., and then individually include numerous contacts. However, because it is cumbersome to manually establish the groups, in the related art, the groups may be automatically established based on different attributes of the contacts, such as the regions of the contacts, the companies to which the contacts belong, and the efficiency of managing the contacts is improved to a certain extent.
However, the inventor has found in the process of implementing the present disclosure that such grouping schemes in the related art are relatively mechanically not free, and can be fixedly divided into several preset groups, so that the efficiency in managing contacts is still not high.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for grouping contacts, so as to further improve the efficiency of managing the contacts.
According to a first aspect of the embodiments of the present disclosure, there is provided a contact grouping method, the method including:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
and displaying the grouped contacts.
Optionally, the method further includes:
updating the keywords corresponding to each contact every specified period to obtain updated keywords;
adjusting the grouping of the contacts according to the updated keywords;
and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
Optionally, the obtaining the keyword in the text communication content includes:
extracting vocabularies from the character communication record by using a preset dictionary, wherein the preset dictionary stores familiar vocabularies;
and counting the extracted words, and selecting the words with the occurrence frequency reaching a preset threshold value as the keywords.
Optionally, the determining the group name of each group includes:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name includes:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
Optionally, the alternative group name is an available group name obtained through analysis and statistics, and the alternative group name is stored locally or on a server;
when the alternate group name is stored on the server, the comparing the keyword to the alternate group name comprises:
comparing the keyword with the alternative group name obtained from the server; or,
and sending the keywords to the server, and receiving a comparison result returned by the server.
Optionally, the method further includes:
after the group names of the groups are determined, the groups with the same group names are combined, and duplicate contacts in the combined groups are removed.
Optionally, the text communication content at least includes one of the following:
short message content, chat content in communication software, and mail content.
According to a second aspect of the embodiments of the present disclosure, there is provided a contact grouping apparatus, the apparatus comprising:
the keyword acquisition module is used for traversing the text communication content of each contact person and acquiring keywords in the text communication content, wherein the keywords corresponding to each contact person are vocabularies with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
the grouping module is used for grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
the group name determining module is used for determining the group name of each group, and the group name of each group is related to the keyword corresponding to each group;
and the grouping display module is used for displaying the grouped contacts.
Optionally, the apparatus further comprises:
the group adjusting module is used for updating the keywords corresponding to each contact person every other designated period to obtain updated keywords; adjusting the grouping of the contacts according to the updated keywords; and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
Optionally, when the keyword obtaining module is configured to obtain a keyword in the text communication content, the keyword obtaining module is configured to:
extracting vocabularies from the character communication record by using a preset dictionary, wherein the preset dictionary stores familiar vocabularies; and counting the extracted words, and selecting the words with the occurrence frequency reaching a preset threshold value as the keywords.
Optionally, the group name determining module is configured to:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name includes:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
Optionally, the group name determining module is configured to, when comparing the keyword with the alternative group name,:
comparing the keyword with the alternative group name obtained from the server when the alternative group name is stored on the server; or sending the keyword to the server, and receiving a comparison result returned by the server; wherein the alternative group names are available group names obtained through analysis statistics, and the alternative group names are stored locally or on a server.
Optionally, the apparatus further comprises:
and the grouping normalization module is used for merging the groups with the same group name after the group name of each group is determined, and removing the duplicate contacts in the merged groups.
Optionally, the keyword obtaining module is configured to traverse text communication contents at least including one of short message contents, chat contents in communication software, and mail contents with each contact.
According to a third aspect of the embodiments of the present disclosure, there is provided a contact grouping apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
and displaying the grouped contacts.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, by analyzing the text communication content, for example, counting words in the short message, one or more keywords corresponding to the contact can be obtained, and then the contact is automatically classified into one or more groups according to the keywords. The names of the groups and the number of the groups are not fixed any more in the embodiment of the invention, so that the groups become detailed and appropriate, and the efficiency of managing the contact persons is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment;
fig. 2 is a diagram illustrating recorded contents of a short message according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment;
FIG. 4 is a diagram illustrating vocabulary extraction from SMS content according to an exemplary embodiment;
FIG. 5 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment;
FIG. 6 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a contact grouping apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a contact grouping apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating a contact grouping apparatus in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating an apparatus for contact grouping in accordance with an exemplary embodiment;
fig. 11 is a block diagram illustrating an apparatus for contact grouping in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment. The method can be used for terminal equipment such as mobile phones and tablet computers. Referring to fig. 1, the method may include:
in step S101, traversing the text communication content of each contact, and obtaining a keyword in the text communication content, where the keyword corresponding to each contact is a vocabulary whose occurrence frequency in the text communication content of each contact reaches a preset threshold.
Therefore, in this embodiment, when a user of the terminal device performs text communication such as short message communication with a contact, the terminal device may record the content of the text communication to obtain the content of the text communication, and the content of the text communication may reflect the relationship between the user and the contact, which is the basis for grouping in this embodiment.
In this embodiment or some other embodiments of the present disclosure, the text communication content may include at least one of: short message content, chat content in communication software, and mail content. As an example, see fig. 2, in fig. 2, the terminal device records the content of a short message between the user and a contact.
Since the content of the text communication content is usually more and is not convenient to directly take for grouping, in this embodiment, one or more keywords need to be obtained from the text communication content of each contact person, and then the next processing is performed.
In some scenarios, the keyword may be extracted from the content of the text communication content according to a customized rule, or may be summarized based on the content of the text communication content, and the like, which is not limited in this embodiment.
In step S102, the contacts are grouped according to the keywords, so that the text communication contents of the contacts in the same group have the same keywords.
The result of grouping the contacts according to the keywords is as follows: the text communication contents of the contacts in the same group have the same keywords.
By way of example, assume that there are a total of 2 contacts: zhang three and Li four. The keywords corresponding to zhang san are "eat" and "patent" obtained from the chat content with zhang san, and the keywords corresponding to lie xi obtained from the chat content with lie xi are "patent" and "mountain climbing". Therefore, when the grouping is automatically performed, Zhang three is divided into two groups of "eat" and "patent" (certainly, the group name is not necessarily defined as "eat" and "patent"), and Li four is divided into two groups of "mountain climbing" and "patent". That is, three groups are automatically established, including Zhang three in the "eating" group, including Li four in the "climbing" group, and including Zhang three and Li four in the "patent" group.
In step S103, a group name of each group is determined, the group name of each group being related to a keyword corresponding to each group.
Since a keyword obtained from text communication content may not be suitable as a group name directly in many cases, the keyword needs to be converted or mapped into a suitable group name and then used as the group name.
For example, the word "eat" can be extracted as a keyword from the rice chat history "lunch together with a meal bar", but the keyword is not suitable as a group name, so it can be converted into "fellow friend" and then used as the group name. The embodiment is not limited to how the conversion is performed, and for example, a mapping dictionary may be preset, or a set of conversion rules may be preset, and the like.
In step S104, the grouped contacts are displayed.
In addition, in some scenarios, different groups of keywords may be mapped to the same group name, for example, a group with a keyword of "hill climbing" and a group with a keyword of "outing", and the last group name may be both designated as "dongles", and there are two "dongles" at this time, so that merging is required; at the same time, some contacts may be in both the original "hill climbing" group and the original "outing" group, so that duplication removal is needed after merging. Therefore, in this embodiment or some other embodiments of the present disclosure, the method may further include:
after the group names of the groups are determined, the groups with the same group names are combined, and duplicate contacts in the combined groups are removed.
In this embodiment, one or more keywords corresponding to the contact may be obtained by analyzing the text communication content, for example, counting words in the short message, and then the contact may be automatically classified into one or more groups according to the keywords. The names of the groups and the number of the groups are not fixed any more in the embodiment of the invention, so that the groups become detailed and appropriate, and the efficiency of managing the contact persons is greatly improved.
Fig. 3 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment. In this embodiment, the acquiring the keyword in the text communication content may include:
in step S301, vocabulary extraction is performed on the text communication content using a preset dictionary, wherein the preset dictionary stores conventional vocabularies.
For example, the idiomatic vocabulary may be a selected verb and noun, while the word excluding the adverb, pronouns, etc. and some less significant verbs and nouns.
See fig. 4 and table 1 for an example. In fig. 4, the word "eat" may be extracted from the text of the sms sent from the contact. Table 1 lists more contents of the sms as an example, and the right column shows words extracted from the corresponding contents of the sms.
TABLE 1
In step S302, the extracted vocabulary is counted, and the vocabulary with the occurrence frequency reaching a preset threshold is selected as the keyword.
And performing word segmentation processing on the text communication content of a certain contact by using the preset dictionary so as to extract a plurality of words. The vocabulary with higher frequency of occurrence can usually reflect the relationship between the contact and the current user, so that the word frequency statistics can be further carried out on the extracted vocabularies, and the vocabularies with the word frequency reaching a preset threshold value are selected as the keywords.
Fig. 5 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment. In this embodiment, the determining the group name of each group may include:
in step S501, the keyword is compared with the candidate group name to determine whether the candidate group name closest to the keyword exists.
In some scenarios, the alternate group names are available group names that are statistically derived by the analysis, and the alternate group names may be stored locally or on a server. Table 2 shows some examples of alternative group names:
TABLE 2
Numbering Alternative group names
1001 Rice ball
1002 Patent application
1003 Wedding medium
1004 Media
1005 Household
1006 Game toy
1007 Exercise of sports
1008 Photography
Each keyword is then compared to the alternative group names, or mapped to alternative group names. For example, see table 3, where table 3 is a mapping table of keywords and alternative group names, the left keyword may be mapped to the right corresponding alternative group name, for example, "take a picture; taking a picture; a camera; the video recording can be mapped into photography and dining; lunch; drinking tea; the dinner party can be mapped to a "rice friend". If some keywords do not find the corresponding alternative group name for mapping, the alternative group name closest to the keyword does not exist, and the keyword can be directly used as the group name.
TABLE 3
When the keyword is the group name, the method may include:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
This is because the group name is usually accepted as a noun, so when the verb is used as the group name, the verb can be converted into the corresponding noun, for example, "eat meal" can be converted into "rice friend" and "sing song" can be converted into "song friend" and then used as the group name.
In addition, in this embodiment or some other embodiments of the present disclosure, when the alternative group name is stored on the server, the comparing the keyword with the alternative group name may include:
comparing the keyword with the alternative group name obtained from the server; or,
and sending the keywords to the server, and receiving a comparison result returned by the server.
In other words, the current terminal device may download these alternative group names from the server and then use them locally, or may perform online processing on the keyword, that is, send the keyword to the server, compare the keyword with the alternative group names by the server, and then feed back the comparison result to the current terminal device.
In step S502, if the closest candidate group name exists, the closest candidate group name is taken as the group name; and if the closest alternative group name does not exist, taking the keyword as the group name.
For example, when the group name of the group with the keyword "hill climbing" is determined, it may be checked to which alternative group name the word "hill climbing" is closest, if the word "dongler" is included in the alternative group names and it is determined that the words "hill climbing" and "dongler" are closest, the group with the keyword "hill climbing" may be finally named as the group "dongler", and if no word is found in each alternative group name and is closest to the word "hill climbing", the group with the keyword "hill climbing" may be finally named as the group "hill climbing".
In this embodiment, one or more keywords corresponding to the contact may be obtained by analyzing the text communication content, for example, counting words in the short message, and then the contact may be automatically classified into one or more groups according to the keywords. The names of the groups and the number of the groups are not fixed any more in the embodiment of the invention, so that the groups become detailed and appropriate, and the efficiency of managing the contact persons is greatly improved.
Fig. 6 is a flow diagram illustrating a method of contact grouping in accordance with an exemplary embodiment. In this embodiment or some other embodiments of the present disclosure, the group in which the contact is located may not be a uniform group, but may be adjusted according to a change of the text communication content, so the method may further include:
in step S601, the keyword corresponding to each contact is updated every designated period, so as to obtain an updated keyword.
In step S602, adjusting the grouping of the contacts according to the updated keyword; and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
For example, suppose that the keywords corresponding to Zhang III of the contact are 'climbing mountain' and 'patent', Zhang III is divided into 'donkey friend' group and 'intellectual property' group; after a period of time, the keywords corresponding to Zhang III are obtained again, and the keywords are found to be changed into ' party food ' and ' patent ', so that Zhang III in the ' intellectual property group is unchanged, but Zhang III is moved out of the ' donkey friend ' group, and meanwhile Zhang III is added into the ' rice friend ' group. If the Zhang III is moved out of the "Dongyou" group, and no contact exists in the "Dongyou" group, the "Dongyou" group can be deleted.
In this embodiment, not only can the automatic grouping of the contacts be realized, but also the grouping where the contacts are located can be dynamically adjusted, so that the grouping of the contacts is more detailed and appropriate, and the efficiency of managing the contacts is further improved.
Fig. 7 is a block diagram illustrating a contact grouping apparatus according to an example embodiment, which may include:
the keyword acquisition module 701 is configured to traverse text communication contents of contacts and acquire keywords in the text communication contents, where the keyword corresponding to each contact is a vocabulary with a frequency of occurrence reaching a preset threshold in the text communication contents of each contact;
a grouping module 702, configured to group the contacts according to the keywords, so that the text communication contents of the contacts in the same group have the same keywords;
a group name determining module 703, configured to determine a group name of each group, where the group name of each group is related to a keyword corresponding to each group;
and a grouping display module 704, configured to display the grouped contacts.
Referring to fig. 8, in this embodiment or some other embodiments of the present disclosure, the apparatus further includes:
the grouping adjustment module 705 is configured to update the keyword corresponding to each contact every other designated period to obtain an updated keyword; adjusting the grouping of the contacts according to the updated keywords; and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
In this embodiment or some other embodiments of the present disclosure, when the keyword obtaining module is configured to obtain the keyword in the text communication content, the keyword obtaining module is configured to:
extracting vocabularies from the character communication record by using a preset dictionary, wherein the preset dictionary stores familiar vocabularies; and counting the extracted words, and selecting the words with the occurrence frequency reaching a preset threshold value as the keywords.
In this embodiment or some other embodiments of the present disclosure, the group name determining module is configured to:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name includes:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
In this embodiment or some other embodiments of the present disclosure, the group name determining module, when comparing the keyword with the alternative group name, is configured to:
comparing the keyword with the alternative group name obtained from the server when the alternative group name is stored on the server; or sending the keyword to the server, and receiving a comparison result returned by the server; wherein the alternative group names are available group names obtained through analysis statistics, and the alternative group names are stored locally or on a server.
In this embodiment or some other embodiments of the present disclosure, the keyword obtaining module is configured to traverse text communication contents at least including one of short message contents, chat contents in communication software, and mail contents with each contact.
In addition, referring to fig. 9, in this embodiment or some other embodiments of the present disclosure, the apparatus may further include:
and a grouping normalization module 706, configured to, after the group name of each group is determined, merge the groups with the same group name, and deduplicate the duplicate contacts in the merged group.
In this embodiment, one or more keywords corresponding to the contact may be obtained by analyzing the text communication content, for example, counting words in the short message, and then the contact may be automatically classified into one or more groups according to the keywords. The names of the groups and the number of the groups are not fixed any more in the embodiment of the invention, so that the groups become detailed and appropriate, and the efficiency of managing the contact persons is greatly improved.
The embodiment of the present disclosure further provides a contact grouping apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
and displaying the grouped contacts.
The present disclosure also provides a non-transitory computer readable storage medium having instructions which, when executed by a processor of a terminal device, enable the terminal device to perform a contact grouping method, the method comprising:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
and displaying the grouped contacts.
Fig. 10 is a block diagram illustrating an apparatus for contact grouping in accordance with an example embodiment. For example, the apparatus 2800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 10, apparatus 2800 may include one or more of the following components: processing component 2802, memory 2804, power component 2806, multimedia component 2808, audio component 2810, interface for input/output (I/O) 2812, sensor component 2814, and communications component 2816.
The processing component 2802 generally controls overall operation of the apparatus 2800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 2802 may include one or more processors 2820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 2802 can include one or more modules that facilitate interaction between the processing component 2802 and other components. For example, the processing component 2802 can include a multimedia module to facilitate interaction between the multimedia component 2808 and the processing component 2802.
The memory 2804 is configured to store various types of data to support operation at the device 2800. Examples of such data include instructions for any application or method operating on device 2800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 2804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 2806 provide power to the various components of device 2800. The power components 2806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 2800.
The multimedia component 2808 includes a screen that provides an output interface between the device 2800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 2808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when the device 2800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 2810 is configured to output and/or input audio signals. For example, audio component 2810 includes a Microphone (MIC) configured to receive external audio signals when apparatus 2800 is in operating modes, such as a call mode, a record mode, and a voice recognition mode. The received audio signals may further be stored in memory 2804 or transmitted via communications component 2816. In some embodiments, the audio component 2810 also includes a speaker for outputting audio signals.
I/O interface 2812 provides an interface between processing component 2802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 2814 includes one or more sensors for providing various aspects of state assessment for apparatus 2800. For example, sensor assembly 2814 may detect an open/closed state of device 2800, the relative positioning of components, such as a display and keypad of apparatus 2800, sensor assembly 2814 may also detect a change in position of apparatus 2800 or a component of apparatus 2800, the presence or absence of user contact with apparatus 2800, orientation or acceleration/deceleration of apparatus 2800, and a change in temperature of apparatus 2800. Sensor assembly 2814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 2814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 2814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 2816 is configured to facilitate communications between the apparatus 2800 and other devices in a wired or wireless manner. The apparatus 2800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 2816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 2816 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an example embodiment, the apparatus 2800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 2804 comprising instructions, executable by processor 2820 of apparatus 2800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 11 is a block diagram illustrating an apparatus for contact grouping in accordance with an example embodiment. For example, the apparatus 2900 might be provided as a server.
Referring to FIG. 11, the apparatus 2900 includes a processing component 2922 that further includes one or more processors, and memory resources represented by memory 2932 for storing instructions, such as applications, that are executable by the processing component 2922. The application programs stored in memory 2932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 2922 is configured to execute instructions to perform the above-described method.
The apparatus 2900 may also include a power component 2926 configured to perform power management of the apparatus 2900, a wired or wireless network interface 2950 configured to connect the apparatus 2900 to a network, and an input output (I/O) interface 2958. The apparatus 2900 may operate based on an operating system stored in the memory 2932, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (13)

1. A method for grouping contacts, the method comprising:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
displaying the grouped contacts;
the determining the group name of each group comprises:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name comprises:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
2. The method of claim 1, further comprising:
updating the keywords corresponding to each contact every specified period to obtain updated keywords;
adjusting the grouping of the contacts according to the updated keywords;
and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
3. The method of claim 1, wherein the obtaining the keywords in the text communication content comprises:
extracting vocabularies from the character communication record by using a preset dictionary, wherein the preset dictionary stores familiar vocabularies;
and counting the extracted words, and selecting the words with the occurrence frequency reaching a preset threshold value as the keywords.
4. The method of claim 1, wherein the alternative group name is an available group name statistically derived by analysis, and the alternative group name is stored locally or on a server;
when the alternate group name is stored on the server, the comparing the keyword to the alternate group name comprises:
comparing the keyword with the alternative group name obtained from the server; or,
and sending the keywords to the server, and receiving a comparison result returned by the server.
5. The method of claim 1, further comprising:
after the group names of the groups are determined, the groups with the same group names are combined, and duplicate contacts in the combined groups are removed.
6. The method of claim 1, wherein the textual communication includes at least one of:
short message content, chat content in communication software, and mail content.
7. An apparatus for grouping contacts, the apparatus comprising:
the keyword acquisition module is used for traversing the text communication content of each contact person and acquiring keywords in the text communication content, wherein the keywords corresponding to each contact person are vocabularies with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
the grouping module is used for grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
the group name determining module is used for determining the group name of each group, and the group name of each group is related to the keyword corresponding to each group;
the grouping display module is used for displaying the grouped contacts;
the group name determination module is configured to:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name comprises:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
8. The apparatus of claim 7, further comprising:
the group adjusting module is used for updating the keywords corresponding to each contact person every other designated period to obtain updated keywords; adjusting the grouping of the contacts according to the updated keywords; and if the number of the contacts in one adjusted group is 0, deleting the group with the number of the contacts of 0.
9. The apparatus of claim 7, wherein the keyword obtaining module, when obtaining the keyword in the text communication content, is configured to:
extracting vocabularies from the character communication record by using a preset dictionary, wherein the preset dictionary stores familiar vocabularies; and counting the extracted words, and selecting the words with the occurrence frequency reaching a preset threshold value as the keywords.
10. The apparatus of claim 7, wherein the group name determination module, when comparing the keyword to an alternative group name, is configured to:
comparing the keyword with the alternative group name obtained from the server when the alternative group name is stored on the server; or sending the keyword to the server, and receiving a comparison result returned by the server; wherein the alternative group names are available group names obtained through analysis statistics, and the alternative group names are stored locally or on a server.
11. The apparatus of claim 7, further comprising:
and the grouping normalization module is used for merging the groups with the same group name after the group name of each group is determined, and removing the duplicate contacts in the merged groups.
12. The apparatus of claim 7, wherein the keyword retrieving module is configured to traverse text communication contents of each contact, the text communication contents at least including one of short message contents, chat contents in communication software, and email contents.
13. A contact grouping apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
traversing the text communication content of each contact person, and acquiring a keyword in the text communication content, wherein the keyword corresponding to each contact person is a vocabulary with the occurrence frequency reaching a preset threshold value in the text communication content of each contact person;
grouping the contacts according to the keywords so that the text communication contents of the contacts in the same group have the same keywords;
determining a group name of each group, wherein the group name of each group is related to a keyword corresponding to each group;
displaying the grouped contacts;
the determining the group name of each group comprises:
comparing the keyword with the alternative group name to judge whether the alternative group name closest to the keyword exists;
if the closest alternate group name exists, then the closest alternate group name is taken as the group name,
if the closest alternative group name does not exist, taking the keyword as the group name;
wherein the using the keyword as the group name comprises:
if the keyword is a noun, directly using the noun as the group name;
and if the keyword is a verb, using the noun converted by the verb as the group name.
CN201410437422.5A 2014-08-29 2014-08-29 contact person grouping method and device Active CN104268151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410437422.5A CN104268151B (en) 2014-08-29 2014-08-29 contact person grouping method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410437422.5A CN104268151B (en) 2014-08-29 2014-08-29 contact person grouping method and device

Publications (2)

Publication Number Publication Date
CN104268151A CN104268151A (en) 2015-01-07
CN104268151B true CN104268151B (en) 2018-09-04

Family

ID=52159673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410437422.5A Active CN104268151B (en) 2014-08-29 2014-08-29 contact person grouping method and device

Country Status (1)

Country Link
CN (1) CN104268151B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967978A (en) * 2015-07-06 2015-10-07 陈包容 Festival blessing short message sending method
WO2018018521A1 (en) * 2016-07-28 2018-02-01 孙秋实 Method for automatically grouping wechat friend according to chat keyword and grouping system
WO2018018520A1 (en) * 2016-07-28 2018-02-01 孙秋实 Grouping revocation method and grouping system
WO2018018519A1 (en) * 2016-07-28 2018-02-01 孙秋实 Method for stopping automatic grouping according to use condition and grouping system
WO2018018522A1 (en) * 2016-07-28 2018-02-01 孙秋实 Method for stopping automatic grouping according to user feedback and grouping system
CN106507317A (en) * 2016-09-05 2017-03-15 努比亚技术有限公司 A kind of method and device for setting up group

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404627A (en) * 2008-11-13 2009-04-08 腾讯科技(深圳)有限公司 Instant communication system and method for updating contact information
CN102611645A (en) * 2012-04-12 2012-07-25 迈普通信技术股份有限公司 Instant messaging client and recent contact list generating method thereof
CN103870547A (en) * 2014-02-26 2014-06-18 华为技术有限公司 Grouping processing method and device of contact persons

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI431494B (en) * 2007-09-21 2014-03-21 E Ten Information Sys Co Ltd Use color to identify contact person friendly methods, instant messaging systems and devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404627A (en) * 2008-11-13 2009-04-08 腾讯科技(深圳)有限公司 Instant communication system and method for updating contact information
CN102611645A (en) * 2012-04-12 2012-07-25 迈普通信技术股份有限公司 Instant messaging client and recent contact list generating method thereof
CN103870547A (en) * 2014-02-26 2014-06-18 华为技术有限公司 Grouping processing method and device of contact persons

Also Published As

Publication number Publication date
CN104268151A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
KR101820781B1 (en) Methods and apparatus for album display
KR101826329B1 (en) Method, device and system for determining crank phone number
CN106605224B (en) Information searching method and device, electronic equipment and server
CN105426152B (en) The display methods and device of barrage
CN106446054B (en) A kind of information recommendation method, device and electronic equipment
CN104268151B (en) contact person grouping method and device
CN104166689B (en) The rendering method and device of e-book
EP3173948A1 (en) Method and apparatus for recommendation of reference documents
CN108073606B (en) News recommendation method and device for news recommendation
CN106415527B (en) Information communication method and device
CN105095366B (en) Word message treating method and apparatus
CN106547850B (en) Expression annotation method and device
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN105447109A (en) Key word searching method and apparatus
US20200135205A1 (en) Input method, device, apparatus, and storage medium
CN111046210A (en) Information recommendation method and device and electronic equipment
CN103970831B (en) Recommend the method and apparatus of icon
CN104681049B (en) The display methods and device of prompt message
CN113987128A (en) Related article searching method and device, electronic equipment and storage medium
WO2016197549A1 (en) Searching method and apparatus
CN106776990B (en) Information processing method and device and electronic equipment
CN110928425A (en) Information monitoring method and device
CN110213062B (en) Method and device for processing message
CN109145151B (en) Video emotion classification acquisition method and device
CN109918624B (en) Method and device for calculating similarity of webpage texts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant