[go: up one dir, main page]

CN117768570B - Grouping method and device of contacts, storage medium and terminal equipment - Google Patents

Grouping method and device of contacts, storage medium and terminal equipment

Info

Publication number
CN117768570B
CN117768570B CN202311745884.9A CN202311745884A CN117768570B CN 117768570 B CN117768570 B CN 117768570B CN 202311745884 A CN202311745884 A CN 202311745884A CN 117768570 B CN117768570 B CN 117768570B
Authority
CN
China
Prior art keywords
contact
grouping
group
subset
contact information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311745884.9A
Other languages
Chinese (zh)
Other versions
CN117768570A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311745884.9A priority Critical patent/CN117768570B/en
Publication of CN117768570A publication Critical patent/CN117768570A/en
Application granted granted Critical
Publication of CN117768570B publication Critical patent/CN117768570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a grouping method and device of contacts, a storage medium and terminal equipment, and relates to the field of data processing. According to the application, the grouping number and the control occupied by the grouping control in the address book interface are reduced, so that the possibility of paging display of the address book is reduced, and the problem of low searching efficiency caused by page turning is reduced when a user searches for a target contact, so that the efficiency of searching for the target contact can be improved.

Description

Grouping method and device of contacts, storage medium and terminal equipment
Technical Field
The present application relates to the field of data processing, and in particular, to a method and apparatus for grouping contacts, a storage medium, and a terminal device.
Background
At present, contact information in a mobile phone address book is grouped and ordered by adopting initial letters of contact names. For example, the 3 contact names of Grignard Wang Gong, god and Guangdong are extracted, the initials of the 3 contact names are G and divided into groups where G is located, so that 26 groups exist in the address book, users often need to slide to find the needed contact information, and the searching is inconvenient and the searching efficiency is low.
Disclosure of Invention
The embodiment of the application provides a grouping method, a grouping device, a storage medium and terminal equipment for contacts, which can solve the problem of low efficiency of searching contacts in the prior art. The technical scheme is as follows:
In a first aspect, an embodiment of the present application provides a method for grouping contacts, where the method includes:
The method comprises the steps of obtaining a contact person information set in an address book, wherein the contact person information set comprises a plurality of contact person information, and the contact person information comprises a contact person name and a telephone number;
Screening contact information with grouping labels from the contact information set, and generating a first subset according to screening results;
for the first subset, the contact information having the same grouping tag is divided into the same grouping.
Removing the first subset from the contact information set to obtain a second subset;
dividing contact information, of which the contact names comprise the same designated entity, into the same group for the second subset;
Removing the grouped contact information from the second subset to obtain a third subset;
Dividing contact information with the same attribution of telephone numbers into the same group aiming at the third sub-set;
dividing ungrouped contact information in the third subset into a group;
counting the element number of each group and generating a group name for each group according to the grouping result of the contact person information set;
when the address book is detected to be opened by a user, the grouping control of each grouping is displayed, and when the clicking action of the grouping control is detected, the contact control associated with each piece of contact information in the grouping is displayed, wherein the grouping control is provided with grouping names and element numbers, and the contact control is provided with the contact names.
In one possible design, the method further comprises:
when the clicking action of the grouping control is detected under the condition that the grouping control is in the stowage state, the grouping control is switched to the unfolding state.
In one possible design, the order of the individual group controls is arranged according to the initials of the group names, and the order of the individual contact controls under the group controls is arranged according to the initials of the contact names.
In one possible design, the home location of the telephone number is queried in the operator's server or in a local home location database.
In one 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.
In one possible design, the dividing the contact information including the same designated entity for the second subset into the same group includes:
extracting the contact names of the contact information from the second subset;
detecting entities contained in each contact name according to an entity detection algorithm;
screening out the contact name of an entity which is a preset designated entity, wherein the designated entity comprises a relative name, a company name and an industry name;
and according to the screening result, the contact information corresponding to the contact names of the same designated entity is divided into the same group.
In one possible design, the method further comprises:
In response to a drag action by the user, the group control or the contact control is dragged to the specified location.
In a second aspect, an embodiment of the present application provides a grouping apparatus for contacts, where the apparatus includes:
The system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a contact person information set in an address book, the contact person information set comprises a plurality of contact person information, and the contact person information comprises a contact person name and a telephone number;
The screening unit is used for screening the contact information with the grouping labels from the contact information set and generating a first subset according to the screening result;
and the grouping unit is used for dividing the contact information with the same grouping label into the same group aiming at the first subset.
The rejecting unit is used for rejecting the first subset from the contact person information set to obtain a second subset;
the grouping unit is further configured to divide, for the second subset, contact information that includes the same designated entity in contact names into the same group;
The rejecting unit is further configured to reject the grouped contact information from the second subset to obtain a third subset;
The grouping unit is further configured to divide contact information with the same attribution of the phone numbers into the same group for the third subset;
The grouping unit is further configured to divide the contact information that is not grouped in the third subset into a group;
the statistics unit is used for counting the element number of each group and generating a group name for each group according to the grouping result of the contact person information set;
The display unit is used for displaying grouping controls of each group when detecting that a user opens the address book and displaying contact controls associated with contact information in the group when detecting clicking actions of the grouping controls, wherein the grouping controls are provided with grouping names and element numbers, and the contact controls are provided with contact names.
In one possible design, the method further comprises:
And the switching unit is used for switching the grouping control to the unfolding state when the clicking action of the grouping control is detected under the condition that the grouping control is in the folding state.
In one possible design, the order of the individual group controls is arranged according to the initials of the group names, and the order of the individual contact controls under the group controls is arranged according to the initials of the contact names.
In one possible design, the home location of the telephone number is queried in the operator's server or in a local home location database.
In one 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.
In one possible design, the dividing the contact information including the same designated entity for the second subset into the same group includes:
extracting the contact names of the contact information from the second subset;
detecting entities contained in each contact name according to an entity detection algorithm;
screening out the contact name of an entity which is a preset designated entity, wherein the designated entity comprises a relative name, a company name and an industry name;
and according to the screening result, the contact information corresponding to the contact names of the same designated entity is divided into the same group.
In one possible design, the method further comprises:
and the adjusting unit is used for responding to the dragging action of the user and dragging the grouping control or the contact control to the appointed position.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
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 adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
And in addition, the grouping control in the packing state is displayed in an address book interface according to the grouping result, so that screen controls occupied by the grouping control can be reduced, and when the grouping control is clicked, the contact control under the grouping control is unfolded, so that a user can check detailed contact information under the grouping. In summary, the application reduces the grouping number and the number of the controls occupied by the grouping controls in the address book interface, thereby reducing the possibility of paging display of the address book, reducing the problem of low searching efficiency caused by page turning when a user searches the target contact, and improving the efficiency of searching the target contact.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present application;
Fig. 2 is a flow chart of a method for grouping contacts according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an address book interface in a retracted state according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an address book interface in an expanded state according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an editing interface for contact information provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a contact grouping apparatus according to the present application;
fig. 7 is a schematic structural diagram of a terminal device provided by the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be noted that, the method for grouping contacts provided by the present application is generally executed by a terminal device, and correspondingly, the grouping device of the contacts is generally set in the terminal device.
Fig. 1 illustrates an exemplary system architecture of a grouping method of contacts or grouping means of contacts that may be applied to the present application.
As shown in fig. 1, the system architecture may include a terminal device 101 and a server 102. The communication between the terminal device 101 and the server 102 may be performed through a network for the medium providing the communication link between the above-mentioned respective units. The network may include various types of wired or wireless communication links, such as wired communication links including fiber optic, twisted pair, or coaxial cables, etc., wireless communication links including Bluetooth communication links, wireless fidelity (WIreless-FIdelity, wi-Fi) communication links, or microwave communication links, etc.
The server 102 is a cloud server or an operator server, the terminal device 101 may backup the address book to the cloud server or query the attribution of the phone number in the operator server, and the terminal device 101 obtains the address book to group.
The terminal device 101 and the server 102 may be hardware or software. When the terminal apparatus 101 and the server 102 are hardware, they may be realized as a distributed server cluster composed of a plurality of servers, or as a single server. When the terminal device 101 and the server 102 are software, they may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, which is not particularly limited herein.
Various communication client applications, such as a video recording application, a video playing application, a voice interaction application, a search application, an instant messaging tool, a mailbox client, social platform software and the like, can be installed on the terminal equipment.
The terminal device may be hardware or software. When the terminal device is hardware, it may be various terminal devices with a display screen including, but not limited to, smartphones, tablet computers, laptop and desktop computers, and the like. When the terminal device is software, the terminal device may be installed in the above-listed terminal device. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module, without limitation.
When the terminal device is hardware, a display device and a camera can be mounted on the terminal device, the display device can be various devices capable of realizing display functions, and the camera is used for collecting video streams, for example, the display device can be a cathode-ray tube display (cathode ray tube display, CR for short), a light-emitting diode display (light-emitting diode display, LED for short), an electronic ink screen, a liquid crystal display (liquid CRYSTAL DISPLAY, LCD for short), a plasma display panel (PLASMA DISPLAYPANEL, PDP for short) and the like. The user can view the displayed text, picture, video and other information by using the display device on the terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks, and servers may be used as desired for implementation.
The method for grouping contacts according to the embodiment of the present application will be described in detail with reference to fig. 2. The grouping device of the contacts in the embodiment of the present application may be a terminal device shown in fig. 1.
Referring to fig. 2, a flow chart of a contact grouping method is provided in an embodiment of the present application.
As shown in fig. 2, the method according to the embodiment of the present application may include the following steps:
S201, acquiring a contact person information set in an address book.
The terminal equipment acquires all contact information in the address book to generate a contact information set, wherein the contact information set comprises a plurality of contact information, the contact information comprises field values such as contact names, telephone numbers and the like, in order to facilitate grouping, a user may set grouping labels for some contact information, for example, grouping labels are colleagues, classmates, memorandum and the like, and not all contact information is provided with grouping labels.
S202, screening contact information with grouping labels from the contact information set, and generating a first subset according to a screening result.
The terminal equipment traverses the contact information set, inquires field values included in each piece of contact information, screens out the contact information with the grouping labels to generate a first subset, namely the contact information included in the first subset has the grouping labels, and the grouping labels may be one or more.
S203, dividing the contact information with the same grouping label into the same grouping aiming at the first subset.
The terminal device divides the contact information with the same grouping label in the first subset into the same grouping, and the contact information in the same grouping has the same grouping label, for example, the grouping label of all the contact information in one grouping is 'colleague', and the grouping label of all the contact information in the other grouping is 'colleague'.
It should be noted that if the contact information set does not have contact information with a grouping tag, i.e. all the 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, i.e. the first subset does not contain any element.
S204, removing the first subset from the contact person information set to obtain a second subset.
According to the grouping result of S203, the terminal device eliminates the first subset from the contact information set, and the remaining elements form the second subset.
S205, dividing the contact information of which the contact names comprise the same designated entity into the same group aiming at the second subset.
The method comprises the steps of acquiring contact names of contact information in a second subset according to contact information in the second subset, detecting entities included in the contact names according to an entity detection algorithm, dividing the contact information corresponding to the contact names including the same designated entity into the same group, wherein the designated entity can be a relative name, a company name, an industry name and the like, namely, dividing the contact information with the relative name into the same group, dividing the contact information with the same company name into the same group, and dividing the contact information with the same industry name into the same group.
The method comprises the steps of extracting contact names of contact information in a second subset, detecting entities contained in the contact names according to an entity detection algorithm, screening out the contact names of which the entities are preset designated entities, wherein the designated entities comprise relative names, company names and industry names, and dividing the contact information corresponding to the contact names of the same designated entities into the same group according to screening results.
For example, in the group of relatives, the contact names included are cousin, mobile, digo, nine-tertiary, mother's brother, grandma, alien, and small aunt. The names of the contacts included in the bank group are industrial and commercial banks, construction banks, agricultural banks, AA credit, and recruiter banks. In the group of Grignard companies, the names of the contacts are Grignard Tan Gong, grignard Wang Gong, grignard commuter. The contact names included in the group of hundred degree companies are hundred degree Li Gong and hundred degree tensors. Therefore, the contact names in each group have the same designated entity, the types of the designated entities can be set by default by the terminal equipment, and the designated entities can be flexibly configured by a configuration interface of the address book entered by a user, so that the application is not limited.
S206, eliminating the grouped contact information from the second subset to obtain a third subset.
And rejecting the contact information which is already grouped in the second subset according to the grouping result of the S205, and generating a third subset of the rest contact information.
It should be noted that if the second subset has no contact information of the specified entity, the second subset is an empty set.
S207, dividing contact information with the same attribution of telephone numbers into the same group aiming at the third sub-set.
The method comprises the steps of acquiring telephone numbers of each piece of contact information aiming at each piece of contact information in a third subset, and then inquiring attribution of each telephone number, wherein the inquiring mode can be that inquiring is carried out in an operator server or in a local attribution database, and the contact information with the same attribution is divided into the same group.
S208, dividing the contact information which is not grouped in the third subset into one group.
According to the grouping result of S207, all the contact information (for example, customer service phone numbers) in the third subset, which cannot identify the attribution, are divided into one group, so as to complete the grouping of all the contacts in the contact information set.
S209, counting the element number of each group and generating a group name for each group according to the grouping result of the contact information set.
The number of elements, that is, the number of contact information contained in the group, and the group name indicates the name of the group, which can be determined by the classification rule of the group, specifically, the group name classified according to the group label is the group label, the group name classified according to the specified entity is the specified entity, the group name classified according to the attribution is the attribution, and the group names of the groups where the contact information of the group in the third set is located in S208 are other.
And S210, displaying the grouping controls of each grouping when detecting that the user opens the address book, and displaying the contact controls associated with each contact information in the grouping when detecting the clicking action of the grouping controls.
When a user sends an opening instruction through an input unit, the terminal equipment responds to the opening instruction to display grouping controls of all groups in an address book interface, the grouping controls are visual graphical controls in an image interface, each group corresponds to one grouping control, the grouping controls can be sequentially displayed in the address book interface according to the sequence from top to bottom, and the element number and the grouping names are arranged in each grouping control.
For example, referring to the address book interface shown in fig. 3, when the user opens the address book, the terminal device sequentially displays the grouping controls of each group in the address book interface according to the sequence from top to bottom, the grouping controls are rectangular in shape, the grouping name of the 1 st grouping control is "hundred degrees", the number of elements is 5, that is, the grouping name of the 2 nd grouping control is "grid force", and the number of elements is 51, that is, the grouping control contains 51 contact information. Therefore, when the user opens the address book, each grouping control is in a packed state, so that occupied screen space can be saved, and the problem that operation steps are complex when the user searches contacts due to page turning is solved.
When the grouping control is in the stowage state and the terminal equipment detects the clicking action of a certain grouping control, the clicking action can be triggered by an input device of a mouse, a touch screen or a keyboard, the grouping control is switched to the unfolding state, the contact control managed by each contact information in the grouping is displayed below the grouping control in the unfolding state, one contact information is associated with one contact control, one graphical control is used when the contact control is used, and the contact name is arranged on the contact control. It is readily understood that when a clicking action on a group control is detected while the group control is in the expanded state, the group control is controlled to switch to the collapsed state.
According to the above example, referring to the interface schematic diagram shown in fig. 4, when the terminal device detects the clicking action on the 5 th grouping control in the address book interface, 7 pieces of contact information contained in the grouping of the grouping control are determined, and then the contact controls corresponding to the 7 pieces of contact information are displayed under the grouping control in sequence, wherein the names of the contact controls are respectively worker promoting, dong Gong, huang Gong, ma Gong, wang Gong, wu Gong and Xu Gong. When the user clicks the contact control, an editing interface comprising the contact information is displayed, and the user can set each field value of the contact information on the editing interface.
For example, referring to the editing interface shown in fig. 5, when the user clicks the 4 th contact control in fig. 4 through the input unit, the editing interface shown in fig. 5 is displayed, each field value included in the contact information is displayed in the editing interface, and the user can edit the field value of the contact information in the editing interface according to the need.
In some embodiments of the present application, the contact controls corresponding to the grouping controls may be arranged according to the initials of the contact names, so as to satisfy the daily use habits of the user. Furthermore, the contact controls corresponding to the grouping controls can be arranged drop interests according to the clicking times of the contact controls within the preset time, namely, the contact control with the large clicking times is arranged before the contact control with the small clicking times, so that the contact control frequently used by a user is arranged in front, and the searching efficiency of the user is improved.
Correspondingly, the arrangement sequence of each grouping control can also be arranged by referring to the initial letters or the clicking times of the grouping names, and the arrangement principle of the contact control can be specifically referred to, which is not repeated here.
In some embodiments of the application, in order to distinguish the contact control from the grouping control, the background colors of the contact control and the grouping control are set to different colors, and the specific color can be determined according to actual requirements, for example, the background color of the grouping control is set to blue, and the background color of the contact control is set to white.
In some embodiments of the present application, the terminal device may drag the contact control or the group control to a designated position in response to a drag action of the user, which may be performed by the user through a mouse or a touch screen, that is, a position where the drag action ends. It should be noted that the contact controls can only be dragged under the grouped controls, and the associated contact controls can also be dragged together when the grouped controls are dragged, so that the user can adjust the positions of the grouped controls or the positions of the contact controls according to own use habits.
In the embodiment of the application, the information of each contact person in the address book is grouped by utilizing the grouping label, the designated entity and the attribution, so that the grouping quantity can be reduced, in addition, the grouping control in the packed state is displayed in the address book interface according to the grouping result, the screen control occupied by the grouping control can be reduced, and when the grouping control is clicked, the contact person control under the grouping control is unfolded, so that a user can check the detailed contact person information under the grouping. In summary, the application reduces the grouping number and the number of the controls occupied by the grouping controls in the address book interface, thereby reducing the possibility of paging display of the address book, reducing the problem of low searching efficiency caused by page turning when a user searches the target contact, and improving the efficiency of searching the target contact.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 6, a schematic structural diagram of a grouping device for contacts according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as device 6. The means 6 may be implemented as all or part of the terminal device by software, hardware or a combination of both. The device 6 comprises an acquisition unit 601, a screening unit 602, a grouping unit 603, a rejecting unit 604, a statistics unit 605 and a display unit 606.
The acquisition unit 601 is configured to acquire a contact information set in an address book, where the contact information set includes a plurality of contact information, and the contact information includes a contact name and a telephone number;
A screening unit 602, configured to screen the contact information with the grouping tag from the contact information set, and generate a first subset according to a screening result;
a grouping unit 603, configured to divide, for the first subset, contact information with the same grouping label into the same group.
A rejecting unit 604, configured to reject the first subset from the contact information set to obtain a second subset;
the grouping unit 603 is further configured to divide, for the second subset, contact information including the same designated entity in contact names into the same group;
the rejecting unit 604 is further configured to reject the grouped contact information from the second subset to obtain a third subset;
the grouping unit 603 is further configured to divide, for the third subset, contact information with the same attribution of the phone numbers into the same group;
the grouping unit 603 is further configured to divide the contact information that is not grouped in the third subset into a group;
a statistics unit 605, configured to count the number of elements of each group and generate a group name for each group according to the grouping result of the contact information set;
The display unit 606 is configured to display a grouping control of each group when detecting that the user opens the address book, and display a contact control associated with each piece of contact information in the group when detecting a clicking action of the grouping control, where the grouping control is provided with a grouping name and an element number, and the contact control is provided with a contact name.
In one possible embodiment, the method further comprises:
And the switching unit is used for switching the grouping control to the unfolding state when the clicking action of the grouping control is detected under the condition that the grouping control is in the folding state.
In one possible embodiment, the order of the individual group controls is arranged according to the initials of the group names, and the order of the individual contact controls under the group controls is arranged according to the initials of the contact names.
In one possible embodiment, the home location of the telephone number is queried in the server of the operator or in a local home location database.
In one 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.
In a possible embodiment, the dividing the contact information including the same designated entity for the second subset into the same group includes:
extracting the contact names of the contact information from the second subset;
detecting entities contained in each contact name according to an entity detection algorithm;
screening out the contact name of an entity which is a preset designated entity, wherein the designated entity comprises a relative name, a company name and an industry name;
and according to the screening result, the contact information corresponding to the contact names of the same designated entity is divided into the same group.
In one possible embodiment, the method further comprises:
and the adjusting unit is used for responding to the dragging action of the user and dragging the grouping control or the contact control to the appointed position.
It should be noted that, when the device 6 provided in the foregoing embodiment performs the contact grouping method, only the division of the foregoing functional modules is used as an example, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the foregoing functions. In addition, the grouping device of the contacts provided in the above embodiment belongs to the same concept as the grouping method embodiment of the contacts, which embody the detailed implementation process and are not described herein.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the steps of the method shown in the embodiment of fig. 2, and the specific execution process may refer to the specific description of the embodiment shown in fig. 2, which is not repeated herein.
The present application also provides a computer program product storing at least one instruction that is loaded and executed by the processor to implement the method of grouping contacts as described in the various embodiments above.
Referring to fig. 7, a schematic structural diagram of a terminal device is provided in an embodiment of the present application. As shown in fig. 7, the terminal device 700 may comprise at least one processor 701, at least one network interface 704, a user interface 703, a memory 705, at least one communication bus 702.
Wherein the communication bus 702 is used to enable connected communications between these components.
The user interface 703 may include a Display screen (Display), a Camera (Camera), and the optional user interface 703 may further include a standard wired interface, and a wireless interface.
The network interface 704 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 701 may include one or more processing cores. The processor 701 connects various parts within the overall terminal device 700 using various interfaces and lines, performs various functions of the terminal device 700 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 705, and invoking data stored in the memory 705. Alternatively, the processor 701 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATEARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 701 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like, the GPU is used for rendering and drawing contents required to be displayed by the display screen, and the modem is used for processing wireless communication. It will be appreciated that the modem may not be integrated into the processor 701 and may be implemented by a single chip.
The Memory 705 may include a random access Memory (RandomAccess Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 705 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 705 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 705 may include a stored program area that may store instructions for implementing an operating system, instructions for at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc., and a stored data area that may store data related to the various method embodiments described above, etc. The memory 705 may also optionally be at least one storage device located remotely from the processor 701. As shown in fig. 7, an operating system, a network communication module, a user interface module, and application programs may be included in the memory 705, which is one type of computer storage medium.
In the terminal device 700 shown in fig. 7, the user interface 703 is mainly used for providing an input interface for a user to obtain data input by the user, while the processor 701 may be used for calling an application program stored in the memory 705 and specifically executing the method shown in fig. 2, and the specific process may be shown in fig. 2, which is not repeated herein.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (10)

1. A method of grouping contacts, the method comprising:
The method comprises the steps of obtaining a contact person information set in an address book, wherein the contact person information set comprises a plurality of contact person information, and the contact person information comprises a contact person name and a telephone number;
Screening contact information with grouping labels from the contact information set, and generating a first subset according to screening results;
Dividing contact information with the same grouping label into the same grouping aiming at the first subset;
removing the first subset from the contact information set to obtain a second subset;
dividing contact information, of which the contact names comprise the same designated entity, into the same group for the second subset;
Removing the grouped contact information from the second subset to obtain a third subset;
Dividing contact information with the same attribution of telephone numbers into the same group aiming at the third sub-set;
dividing ungrouped contact information in the third subset into a group;
counting the element number of each group and generating a group name for each group according to the grouping result of the contact person information set;
when the address book is detected to be opened by a user, the grouping control of each grouping is displayed, and when the clicking action of the grouping control is detected, the contact control associated with each piece of contact information in the grouping is displayed, wherein the grouping control is provided with grouping names and element numbers, and the contact control is provided with the contact names.
2. The method as recited in claim 1, further comprising:
when the clicking action of the grouping control is detected under the condition that the grouping control is in the stowage state, the grouping control is switched to the unfolding state.
3. A method according to claim 1 or 2, wherein the individual group controls are ordered according to the initials of the group names and the individual contact controls under the group controls are ordered according to the initials of the contact names.
4. A method according to claim 3, characterized in that the home location of the telephone number is queried in the server of the operator or in a local home location database.
5. The method of claim 1,2 or 4, wherein a background color of the group control and a background color of each contact under the group control are set to be different.
6. The method of claim 5, wherein the dividing contact information, including the same specified entity for the contact names, into the same group for the second subset comprises:
extracting the contact names of the contact information from the second subset;
detecting entities contained in each contact name according to an entity detection algorithm;
screening out the contact name of an entity which is a preset designated entity, wherein the designated entity comprises a relative name, a company name and an industry name;
and according to the screening result, the contact information corresponding to the contact names of the same designated entity is divided into the same group.
7. The method of claim 1 or 2 or 4 or 6, further comprising:
In response to a drag action by the user, the group control or the contact control is dragged to the specified location.
8. A contact grouping apparatus, comprising:
The system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a contact person information set in an address book, the contact person information set comprises a plurality of contact person information, and the contact person information comprises a contact person name and a telephone number;
The screening unit is used for screening the contact information with the grouping labels from the contact information set and generating a first subset according to the screening result;
A grouping unit, configured to divide, for the first subset, contact information having the same grouping tag into the same group;
the rejecting unit is used for rejecting the first subset from the contact person information set to obtain a second subset;
the grouping unit is further configured to divide, for the second subset, contact information that includes the same designated entity in contact names into the same group;
The rejecting unit is further configured to reject the grouped contact information from the second subset to obtain a third subset;
The grouping unit is further configured to divide contact information with the same attribution of the phone numbers into the same group for the third subset;
The grouping unit is further configured to divide the contact information that is not grouped in the third subset into a group;
the statistics unit is used for counting the element number of each group and generating a group name for each group according to the grouping result of the contact person information set;
The display unit is used for displaying grouping controls of each group when detecting that a user opens the address book and displaying contact controls associated with contact information in the group when detecting clicking actions of the grouping controls, wherein the grouping controls are provided with grouping names and element numbers, and the contact controls are provided with contact names.
9. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 7.
10. A terminal device comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.
CN202311745884.9A 2023-12-19 2023-12-19 Grouping method and device of contacts, storage medium and terminal equipment Active CN117768570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311745884.9A CN117768570B (en) 2023-12-19 2023-12-19 Grouping method and device of contacts, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311745884.9A CN117768570B (en) 2023-12-19 2023-12-19 Grouping method and device of contacts, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN117768570A CN117768570A (en) 2024-03-26
CN117768570B true CN117768570B (en) 2025-09-19

Family

ID=90325010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311745884.9A Active CN117768570B (en) 2023-12-19 2023-12-19 Grouping method and device of contacts, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN117768570B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946463A (en) * 2012-11-01 2013-02-27 广东欧珀移动通信有限公司 Address book classification method and system
CN106231055A (en) * 2016-07-29 2016-12-14 努比亚技术有限公司 Information display device and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9491275B2 (en) * 2005-09-15 2016-11-08 AT&T Intellectual Property I, L.P., by transfer of ownership from AT&T Systems, methods and computer program products for aggregating contact information
CN110704758A (en) * 2019-09-27 2020-01-17 珠海格力电器股份有限公司 Information display method and device based on classification and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946463A (en) * 2012-11-01 2013-02-27 广东欧珀移动通信有限公司 Address book classification method and system
CN106231055A (en) * 2016-07-29 2016-12-14 努比亚技术有限公司 Information display device and method

Also Published As

Publication number Publication date
CN117768570A (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US10922361B2 (en) Identifying and structuring related data
CN107908442B (en) Spring-based resource loading method and device, terminal equipment and computer-readable storage medium
CN113885770B (en) Table data display method and device, electronic equipment and storage medium
US10678878B2 (en) Method, device and storing medium for searching
WO2014187233A1 (en) Method,device and storing medium for searching
WO2025130560A1 (en) Task processing method and apparatus, storage medium and processor
CN111142989A (en) Object management method, device and storage medium
CN117768570B (en) Grouping method and device of contacts, storage medium and terminal equipment
CN110781378A (en) Data graphical processing method and device, computer equipment and storage medium
JP7206632B2 (en) System, method and program for visual exploration of subnetwork patterns in bimodal networks
CN109710604A (en) Data processing method, device, system, computer readable storage medium
CN108762637A (en) Control method, apparatus and system
CN115794245A (en) Data loading method and device, electronic equipment and storage medium
CN115686282A (en) Address book information display method and device, electronic equipment and storage medium
CN107729579A (en) Database separate design method and device
US20170331776A1 (en) Decomposed layouts for attention management
CN107622076A (en) The data searching method and device of a kind of group member
CN115617441A (en) Method and device for binding model and primitive, storage medium and computer equipment
JP7119550B2 (en) System and method, program, and computer device for visual search of search results in bimodal networks
CN113723062A (en) Report label editing method and device, storage medium and terminal equipment
CN114527972A (en) Page generation method and device, electronic equipment and computer readable medium
US10831280B2 (en) Augmented reality system for efficient and intuitive document classification
US10691301B2 (en) Polymorphic smart context-aware lists
CN115146129B (en) Data item selection method, device, storage medium and computer equipment
CN117492735A (en) Method and device for archiving instantiation data of entity, storage medium and terminal device

Legal Events

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