Contact grouping method, device, storage medium and terminal device

The contact information in the mobile phone address book is optimized and grouped through a multi-dimensional grouping method, which solves the problem of low search efficiency and achieves a more efficient contact search experience.

CN117768570BActive Publication Date: 2025-09-19GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311745884.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-09-19
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

In the prior art, the efficiency of searching for contact information in a mobile phone address book is low, mainly because the contact grouping method is single, resulting in users having to swipe to find the required information.

Method used

Using multi-dimensional grouping methods such as group labels, designated entities, and phone number locations, through filtering, division, and elimination steps, contact information is divided into more reasonable groups, reducing the number of groups. The group controls are displayed in a collapsed state in the address book interface, and click to expand to view detailed information.

Benefits of technology

By reducing the number of groups and the screen space occupied by group controls, the possibility of paging the address book is reduced, and the efficiency of finding target contacts is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117768570B_ABST
    Figure CN117768570B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, storage medium, and terminal device for grouping contacts, which relate to the field of data processing. By reducing the number of groups and the amount of space occupied by grouping controls in the address book interface, the present invention reduces the likelihood of paging in the address book. This reduces the inefficiency of searching for a target contact due to page flipping when searching, thereby improving the efficiency of finding the target contact.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a method, apparatus, storage medium, and terminal device for grouping contacts. Background Art

[0002] Currently, contact information in mobile phone address books is grouped and sorted by the first letter of the contact name. For example, if you have three contact names, Gree Engineer Wang, Brother, and Guan, and you extract the first letter G from each of them, you'll group them into the group containing G. This will result in 26 groups in the address book, and users often have to scroll to find the contact information they need, making search inconvenient and inefficient. Summary of the Invention

[0003] The embodiments of the present application provide a contact grouping method, apparatus, storage medium, and terminal device, which can solve the problem of low efficiency in contact search in the prior art. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides a method for grouping contacts, the method comprising:

[0005] Obtain a contact information set in the address book; the contact information set includes multiple contact information, and the contact information includes: contact name, phone number;

[0006] Filtering contact information with a grouping tag from the contact information set, and generating a first subset based on the filtering result;

[0007] For the first subset, contact information with the same grouping label is divided into the same group.

[0008] Eliminating the first subset from the contact information set to obtain a second subset;

[0009] For the second subset, group the contact information whose contact names include the same designated entity into the same group;

[0010] Eliminating the grouped contact information from the second subset to obtain a third subset;

[0011] For the third subset, grouping the contact information with the same phone number into the same group;

[0012] dividing the ungrouped contact information in the third subset into a group;

[0013] According to the grouping result of the contact information set, counting the number of elements in each group and generating a group name for each group;

[0014] When it is detected that the user opens the address book, the group control of each group is displayed, and when a click action of the group control is detected, the contact control associated with each contact information in the group is displayed; the group control is set with a group name and the number of elements, and the contact control is set with a contact name.

[0015] In one possible design, it also includes:

[0016] When the group control is in the collapsed state, when a click action on the group control is detected, the group control is switched to the expanded state.

[0017] In a possible design, the order of each group control is arranged according to the first letter of the group name, and the order of each contact control under the group control is arranged according to the first letter of the contact name.

[0018] In one possible design, the location of the telephone number is queried in the operator's server, or in a local location database.

[0019] In a possible design, the background color of the group control and the background color of each contact under the group control are set to be different.

[0020] In one possible design, for the second subset, grouping the contact information whose contact names include the same designated entity into the same group includes:

[0021] Extracting the contact name of each contact information in the second subset;

[0022] Detect entities contained in each contact name using the entity detection algorithm;

[0023] Filter out the contact names of pre-set designated entities; the designated entities include: relative names, company names, and industry names;

[0024] According to the filtering result, the contact information corresponding to the contact name of the same specified entity is divided into the same group.

[0025] In one possible design, it also includes:

[0026] In response to the user's dragging action, the group control or the contact control is dragged to a designated location.

[0027] In a second aspect, an embodiment of the present application provides a device for grouping contacts, the device comprising:

[0028] An acquiring unit, configured to acquire a contact information set in an address book; the contact information set includes a plurality of contact information, and the contact information includes: a contact name and a telephone number;

[0029] a screening unit, configured to screen the contact information set for contact information having a grouping tag, and generate a first subset based on the screening result;

[0030] The grouping unit is configured to group the contact information with the same grouping label into the same group for the first subset.

[0031] a removing unit, configured to remove the first subset from the contact information set to obtain a second subset;

[0032] The grouping unit is further configured to group, for the second subset, contact information whose contact names include the same designated entity into the same group;

[0033] The elimination unit is further configured to eliminate the grouped contact information from the second subset to obtain a third subset;

[0034] The grouping unit is further configured to group the contact information having the same phone number location into the same group for the third subset;

[0035] The grouping unit is further configured to group the ungrouped contact information in the third subset into one group;

[0036] a statistical unit, configured to count the number of elements in each group and generate a group name for each group according to the grouping result of the contact information set;

[0037] The display unit is used to display the group controls of each group when detecting that the user opens the address book, and to display the contact controls associated with each contact information in the group when detecting a click action on the group control; the group control is set with a group name and the number of elements, and the contact control is set with a contact name.

[0038] In one possible design, it also includes:

[0039] The switching unit is used to switch the grouping control to an expanded state when a click action of the grouping control is detected when the grouping control is in a collapsed state.

[0040] In a possible design, the order of each group control is arranged according to the first letter of the group name, and the order of each contact control under the group control is arranged according to the first letter of the contact name.

[0041] In one possible design, the location of the telephone number is queried in the operator's server, or in a local location database.

[0042] In a possible design, the background color of the group control and the background color of each contact under the group control are set to be different.

[0043] In one possible design, for the second subset, grouping the contact information whose contact names include the same designated entity into the same group includes:

[0044] Extracting the contact name of each contact information in the second subset;

[0045] Detect entities contained in each contact name using the entity detection algorithm;

[0046] Filter out the contact names of pre-set designated entities; the designated entities include: relative names, company names, and industry names;

[0047] According to the filtering result, the contact information corresponding to the contact name of the same specified entity is divided into the same group.

[0048] In one possible design, it also includes:

[0049] The adjusting unit is used to drag the group control or the contact control to a specified position in response to a user's dragging action.

[0050] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0051] In a fourth aspect, an embodiment of the present application provides a terminal device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0052] The beneficial effects of the technical solutions provided by some embodiments of the present application include at least:

[0053] By grouping the contact information in the address book using group labels, designated entities, and locations, the number of groups can be reduced. In addition, the group controls in the collapsed state are displayed in the address book interface according to the grouping results, which can reduce the screen controls occupied by the group controls. When the group control is clicked, the contact controls under the group control are expanded so that the user can view the detailed contact information under the group. In summary, this application reduces the possibility of paging display in the address book by reducing the number of groups and reducing the controls occupied by the group controls in the address book interface. In this way, when the user searches for the target contact, the problem of low search efficiency due to page turning is reduced, thereby improving the efficiency of finding the target contact. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0055] Figure 1 This is a schematic diagram of the network architecture provided by the embodiment of the present application;

[0056] Figure 2 This is a flow chart of a method for grouping contacts provided in an embodiment of the present application;

[0057] Figure 3 is a schematic diagram of the address book interface in the folded state provided by an embodiment of the present application;

[0058] Figure 4 is a schematic diagram of the address book interface in the expanded state provided in an embodiment of the present application;

[0059] Figure 5 Schematic diagram of the contact information editing interface provided in the embodiment of the present application;

[0060] Figure 6 This is a schematic diagram of the structure of a contact grouping device provided by this application;

[0061] Figure 7 This is a structural diagram of a terminal device provided by this application. DETAILED DESCRIPTION

[0062] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0063] It should be noted that the contact grouping method provided in this application is generally executed by a terminal device, and accordingly, the contact grouping device is generally set in the terminal device.

[0064] Figure 1 An exemplary system architecture that can be applied to the contact grouping method or contact grouping device of the present application is shown.

[0065] like Figure 1As shown, the system architecture may include: a terminal device 101 and a server 102. The terminal device 101 and the server 102 may communicate via a network, which is used as a medium for providing communication links between the above-mentioned units. The network may include various types of wired communication links or wireless communication links, for example: wired communication links include optical fibers, twisted pairs, or coaxial cables, and wireless communication links include Bluetooth communication links, wireless fidelity (Wi-Fi) communication links, or microwave communication links.

[0066] Among them, the server 102 is a cloud server or an operator server. The terminal device 101 can back up the address book to the cloud server or query the location of the phone number in the operator server. The terminal device 101 obtains the address book for grouping.

[0067] It should be noted that the terminal device 101 and the server 102 can be hardware or software. When the terminal device 101 and the server 102 are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the terminal device 101 and the server 102 are software, they can be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module, without specific limitation herein.

[0068] Various communication client applications can be installed on the terminal device of this application, such as: video recording applications, video playback applications, voice interaction applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0069] The terminal device can be either hardware or software. When the terminal device is hardware, it can be various terminal devices with a display screen, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers. When the terminal device is software, it can be installed in the terminal devices listed above. It can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.

[0070] When the terminal device is hardware, it may also be equipped with a display device and a camera. The display device can be any device capable of displaying a video, and the camera is used to capture video streams. For example, the display device may be a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), or a plasma display panel (PDP). Users can use the display device on the terminal device to view displayed text, images, videos, and other information.

[0071] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the embodiment is only illustrative. Any number of terminal devices, networks, and servers may be used as needed.

[0072] The following will be combined with the Figure 2 , the contact grouping method provided by the embodiment of the present application is described in detail. Among them, the contact grouping device in the embodiment of the present application can be Figure 1 The terminal device shown.

[0073] See Figure 2 , which provides a flow chart of a contact grouping method according to an embodiment of the present application.

[0074] like Figure 2 As shown, the method of the embodiment of the present application may include the following steps:

[0075] S201: Obtain a set of contact information in the address book.

[0076] Among them, the terminal device obtains all the contact information in the address book to generate a contact information set. The contact information set includes multiple contact information. The contact information includes: field values ​​such as contact name and phone number. In order to facilitate grouping, users may set group labels for certain contact information, for example: group labels are colleagues, classmates, poker friends, etc., not all contact information is set with group labels.

[0077] S202: Filter contact information with grouping tags from the contact information set, and generate a first subset according to the filtering result.

[0078] Among them, the terminal device traverses the contact information set, queries the field values ​​included in each contact information, and filters out the contact information with grouping tags to generate a first subset, that is, the contact information included in the first subset all has grouping tags, and the type of grouping tags may be one or more.

[0079] S203: For the first subset, group the contact information with the same grouping label into the same group.

[0080] Among them, the terminal device divides the contact information with the same grouping label in the first subset into the same group, and the contact information in the same group has the same grouping label. For example, the grouping label of all contact information in one group is "classmates", and the grouping label of all contact information in another group is "colleagues".

[0081] It should be noted that if there is no contact information with a grouping tag in the contact information set, that is, all contact information does not include a grouping tag, then the step of grouping according to the grouping tag is not performed, and the corresponding first subset is an empty set, that is, the first subset does not contain any elements.

[0082] S204: Obtain a second subset after removing the first subset from the contact information set.

[0083] According to the grouping result of S203, after the terminal device removes the first subset from the contact information set, the remaining elements form a second subset.

[0084] S205: For the second subset, group the contact information whose contact names include the same designated entity into the same group.

[0085] Among them, for each contact information in the second subset, the contact name in each contact information is obtained, and the entity included in each contact name is detected according to the entity detection algorithm, and the contact information corresponding to the contact name including the same designated entity is divided into the same group. The designated entity can be: relative name, company name, industry name, etc., that is, the contact information with relative names is divided into the same group, the contact information with the same company name is divided into the same group, and the contact information with the same industry name is divided into the same group.

[0086] The specific process includes: extracting the contact name of each contact information in the second subset; detecting the entities contained in each contact name according to the entity detection algorithm; filtering out the contact names whose entities are preset designated entities; the designated entities include: relative names, company names, and industry names; and based on the screening results, dividing the contact information corresponding to the contact names of the same designated entity into the same group.

[0087] For example: in the group of relatives, the contact names included are: cousin, eldest brother, second brother, ninth uncle, uncle, grandmother, grandfather, grandfather, and aunt. In the group of banks, the contact names included are: Industrial and Commercial Bank of China, China Construction Bank, Agricultural Bank of China, AA Credit Union, and China Merchants Bank. In the group of Gree Electric Appliances, the contact names included are: Gree Engineer Tan, Gree Engineer Wang, and Gree Commuter Driver. In the group of Baidu Electric Appliances, the contact names included are: Baidu Engineer Li and Baidu Engineer Zhang. It can be seen that the contact names in each group have the same designated entity, and the type of the designated entity can be flexibly configured according to the default setting of the terminal device or by the user entering the configuration interface of the address book. This is not limited in this application.

[0088] S206: Eliminate the grouped contact information from the second subset to obtain a third subset.

[0089] According to the grouping result of S205 , the grouped contact information in the second subset is removed, and the remaining contact information is used to form a third subset.

[0090] It should be noted that if the second subset does not contain contact information of a specified entity, the second subset is an empty set.

[0091] S207: For the third subset, group the contact information with the same phone number into the same group.

[0092] Among them, for each contact information in the third subset, the telephone number of each contact information is obtained, and then the location of each telephone number is queried. The query method can be to query in the operator server or in the local location database, and the contact information with the same location is divided into the same group.

[0093] S208: Divide the ungrouped contact information in the third subset into one group.

[0094] According to the grouping result of S207, all the contact information (eg, customer service phone numbers) in the third subset whose location cannot be identified are divided into one group, thereby completing the grouping of all contacts in the contact information set.

[0095] S209: Count the number of elements in each group and generate a group name for each group according to the grouping result of the contact information set.

[0096] Among them, the number of elements is the number of contact information contained in the group, and the group name represents the name of the group, which can be determined by the classification rule of the group, specifically: the name of the group classified according to the group label is the group label, the name of the group classified according to the specified entity is the specified entity, the name of the group classified according to the place of origin is the place of origin, and the group name of the group where the contact information of the group is located in the third set in S208 is other.

[0097] S210: When it is detected that the user opens the address book, the group control of each group is displayed; when a click action of the group control is detected, the contact control associated with each contact information in the group is displayed.

[0098] Among them, when the user issues an open command through the input unit, the terminal device responds to the open command and displays the group controls of each group on the address book interface. The group control is a visual graphic control in the image interface. Each group corresponds to a group control. The group controls can be displayed in the address book interface in order from top to bottom. Each group control is set with the number of elements and the group name.

[0099] For example, see Figure 3 In the address book interface shown, when the user opens the address book, the terminal device displays the grouping controls of each group in order from top to bottom. The grouping controls are rectangular in shape. The first grouping control is named "Baidu" and has 5 elements, which means it contains 5 contact information. The second grouping control is named "Gree" and has 51 elements, which means it contains 51 contact information. This shows that when the user opens the address book, the grouping controls are in a collapsed state, which can save screen space and reduce the problem of complicated operation steps when users search for contacts due to page turning.

[0100] When a group control is in the collapsed state, when the terminal device detects a click action on a group control, which can be triggered by an input device such as a mouse, touch screen, or keyboard, the group control is switched to the expanded state. In the expanded state, a contact control for managing the information of each contact in the group is displayed below the group control, with each contact information being associated with a contact control. The contact control is a graphical control with a contact name set on it. It is easy to understand that when a group control is in the expanded state and a click action on the group control is detected, the group control is controlled to switch to the collapsed state.

[0101] Based on the above example, see Figure 4In the interface diagram shown, when the terminal device detects a click on the fifth grouping control in the address book interface, it determines the seven contacts contained in the grouping control and then displays the contact controls corresponding to the seven contacts below the grouping control. The names of the contact controls are Cui Gong, Dong Gong, Huang Gong, Ma Gong Bu Shou, Wang Gong, Wu Gong, and Xu Gong. When a user clicks on a contact control, an editing interface containing the contact information is displayed, where the user can set the values ​​of various fields of the contact information.

[0102] For example: See Figure 5 The editing interface shown in the figure, the user clicks the input unit Figure 4 When the fourth contact control is displayed Figure 5 The editing interface shown shows the values ​​of various fields of the contact information. The user can edit the field values ​​of the contact information in the editing interface as needed.

[0103] In some embodiments of the present application, the contact controls corresponding to the grouped controls can be arranged according to the first letter of the contact name to meet the user's daily usage habits. Furthermore, the contact controls corresponding to the grouped controls can be arranged in descending order based on the number of clicks on the contact controls within a preset time period, that is, contact controls with a high number of clicks are arranged before contact controls with a low number of clicks, so that the contact controls that users frequently use are arranged in front, improving user search efficiency.

[0104] Correspondingly, the arrangement order of each group control can also be arranged according to the first letter of the group name or the number of clicks. For details, please refer to the arrangement principle of the contact control, which will not be repeated here.

[0105] In some embodiments of the present application, in order to distinguish the contact control from the group control, the background colors of the contact control and the group control are set to different colors. The specific colors can be determined according to actual needs. For example, the background color of the group control is set to blue, and the background color of the contact control is set to white.

[0106] In some embodiments of the present application, a terminal device can respond to a user's drag action by dragging a contact control or a group control to a specified location. The drag action can be performed by the user using a mouse or a touch screen, and the specified location is the location where the drag action ends. It should be noted that the contact control can only be dragged under the group control. When the group control is dragged, the associated contact control is also dragged together. This allows the user to adjust the position of the group control or the contact control according to their own usage habits.

[0107] In an embodiment of the present application, the contact information in the address book is grouped using group labels, designated entities, and locations to reduce the number of groups. In addition, the group controls in the address book interface are displayed in a collapsed state according to the grouping results, which can reduce the screen controls occupied by the group controls. When the group control is clicked, the contact controls under the group control are expanded so that the user can view the detailed contact information under the group. In summary, the present application reduces the possibility of paging the address book by reducing the number of groups and reducing the controls occupied by the group controls in the address book interface. In this way, when the user searches for the target contact, the problem of low search efficiency due to page turning is reduced, thereby improving the efficiency of finding the target contact.

[0108] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0109] See Figure 6 , which shows a schematic diagram of the structure of a contact grouping device provided by an exemplary embodiment of the present application, hereinafter referred to as device 6. Device 6 can be implemented as all or part of a terminal device through software, hardware, or a combination of both. Device 6 includes: an acquisition unit 601, a screening unit 602, a grouping unit 603, a removal unit 604, a statistics unit 605, and a display unit 606.

[0110] The acquisition unit 601 is configured to acquire a contact information set in the address book; the contact information set includes a plurality of contact information, and the contact information includes: a contact name and a phone number;

[0111] A screening unit 602 is configured to screen the contact information set for contact information having a grouping tag, and generate a first subset based on the screening result;

[0112] The grouping unit 603 is configured to group the contact information with the same grouping label into the same group for the first subset.

[0113] A removing unit 604 is configured to remove the first subset from the contact information set to obtain a second subset;

[0114] The grouping unit 603 is further configured to group, for the second subset, contact information whose contact names include the same designated entity into the same group;

[0115] The elimination unit 604 is further configured to eliminate the grouped contact information from the second subset to obtain a third subset;

[0116] The grouping unit 603 is further configured to group the contact information having the same phone number location into the same group for the third subset;

[0117] The grouping unit 603 is further configured to group the ungrouped contact information in the third subset into a group;

[0118] A counting unit 605 is configured to count the number of elements in each group and generate a group name for each group according to the grouping result of the contact information set;

[0119] Display unit 606 is used to display the group controls of each group when detecting that the user opens the address book, and to display the contact controls associated with each contact information in the group when detecting a click action on the group control; the group control is set with a group name and the number of elements, and the contact control is set with a contact name.

[0120] In a possible embodiment, it further includes:

[0121] The switching unit is used to switch the grouping control to an expanded state when a click action of the grouping control is detected when the grouping control is in a collapsed state.

[0122] In a possible embodiment, the order of each group control is arranged according to the first letter of the group name, and the order of each contact control under the group control is arranged according to the first letter of the contact name.

[0123] In a possible embodiment, the location of the telephone number is queried in the operator's server, or in a local location database.

[0124] In a possible embodiment, the background color of the group control and the background color of each contact under the group control are set to be different.

[0125] In a possible embodiment, for the second subset, dividing the contact information whose contact names include the same designated entity into the same group includes:

[0126] Extracting the contact name of each contact information in the second subset;

[0127] Detect entities contained in each contact name using the entity detection algorithm;

[0128] Filter out the contact names of pre-set designated entities; the designated entities include: relative names, company names, and industry names;

[0129] According to the filtering result, the contact information corresponding to the contact name of the same specified entity is divided into the same group.

[0130] In a possible embodiment, it further includes:

[0131] The adjusting unit is used to drag the group control or the contact control to a specified position in response to a user's dragging action.

[0132] It should be noted that the device 6 provided in the above embodiment, when executing the contact grouping method, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the above functions. In addition, the contact grouping device provided in the above embodiment and the contact grouping method embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.

[0133] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0134] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figure 2 The method steps of the embodiment shown, the specific execution process can be found in Figure 2 The detailed description of the illustrated embodiment will not be repeated here.

[0135] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the contact grouping method described in the above embodiments.

[0136] See Figure 7 , provides a schematic diagram of the structure of a terminal device according to an embodiment of the present application. Figure 7 As shown, the terminal device 700 may include: at least one processor 701 , at least one network interface 704 , a user interface 703 , a memory 705 , and at least one communication bus 702 .

[0137] The communication bus 702 is used to implement the connection and communication between these components.

[0138] The user interface 703 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 703 may also include a standard wired interface and a wireless interface.

[0139] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0140] The processor 701 may include one or more processing cores. The processor 701 utilizes various interfaces and circuits to connect various components within the entire terminal device 700. It executes various functions and processes data for the terminal device 700 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 705, as well as accessing data stored in the memory 705. Optionally, the processor 701 may be implemented using at least one hardware form selected from the group consisting of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 701 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 701 and may be implemented separately on a separate chip.

[0141] Among them, the memory 705 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 705 includes a non-transitory computer-readable storage medium. The memory 705 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 705 may also be optionally at least one storage device located away from the aforementioned processor 701. As Figure 7 As shown, the memory 705 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program.

[0142] exist Figure 7In the terminal device 700 shown in FIG. 1 , the user interface 703 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 701 can be used to call the application stored in the memory 705 and specifically execute the following steps: Figure 2 The specific process can be referred to the method shown in Figure 2 As shown, no further details are given here.

[0143] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0144] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for grouping contacts, characterized in that: The method comprises: Obtain a contact information set in the address book; the contact information set includes multiple contact information, and the contact information includes: contact name, phone number; Filtering contact information with a grouping tag from the contact information set, and generating a first subset based on the filtering result; For the first subset, grouping the contact information with the same grouping label into the same group; Eliminating the first subset from the contact information set to obtain a second subset; For the second subset, group the contact information whose contact names include the same designated entity into the same group; Eliminating the grouped contact information from the second subset to obtain a third subset; For the third subset, grouping the contact information with the same phone number into the same group; Dividing the ungrouped contact information in the third subset into a group; According to the grouping result of the contact information set, counting the number of elements in each group and generating a group name for each group; When it is detected that the user opens the address book, the group control of each group is displayed, and when a click action of the group control is detected, the contact control associated with each contact information in the group is displayed; the group control is set with a group name and the number of elements, and the contact control is set with a contact name.

2. The method according to claim 1, characterized in that Also includes: When the group control is in the collapsed state, when a click action on the group control is detected, the group control is switched to the expanded state.

3. The method according to claim 1 or 2, characterized in that Sort the group controls according to the first letter of the group name, and sort the contact controls under the group control according to the first letter of the contact name.

4. The method according to claim 3, characterized in that The location of the phone number is checked in the operator's server, or in the local location database.

5. The method according to claim 1, 2 or 4, characterized in that: The background color of the group control and the background color of each contact under the group control are set to be different.

6. The method according to claim 5, characterized in that For the second subset, dividing the contact information whose contact names include the same designated entity into the same group includes: Extracting the contact name of each contact information in the second subset; Detect entities contained in each contact name using the entity detection algorithm; Filter out the contact names of pre-set designated entities; the designated entities include: relative names, company names, and industry names; According to the filtering result, the contact information corresponding to the contact name of the same specified entity is divided into the same group.

7. The method according to claim 1 or 2 or 4 or 6, characterized in that Also includes: In response to the user's dragging action, the group control or the contact control is dragged to a designated location.

8. A device for grouping contacts, characterized in that: include: An acquisition unit, used to acquire a set of contact information in the address book; The contact information set includes a plurality of contact information, and the contact information includes: contact name, telephone number; a screening unit, configured to screen the contact information set for contact information having a grouping tag, and generate a first subset based on the screening result; a grouping unit, configured to group contact information with the same grouping label into the same group for the first subset; a removing unit, configured to remove the first subset from the contact information set to obtain a second subset; The grouping unit is further configured to group, for the second subset, contact information whose contact names include the same designated entity into the same group; The elimination unit is further configured to eliminate the grouped contact information from the second subset to obtain a third subset; The grouping unit is further configured to group the contact information having the same phone number location into the same group for the third subset; The grouping unit is further configured to group the ungrouped contact information in the third subset into one group; a statistical unit, configured to count the number of elements in each group and generate a group name for each group according to the grouping result of the contact information set; The display unit is used to display the group controls of each group when detecting that the user opens the address book, and to display the contact controls associated with each contact information in the group when detecting a click action on the group control; the group control is set with a group name and the number of elements, and the contact control is set with a contact name.

9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 7.

10. A terminal device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Classification method and system for address list

    CN102946463A

  • Information display device and method

    CN106231055A