CN112948422A - Contact person searching method and device and electronic equipment - Google Patents

Contact person searching method and device and electronic equipment Download PDF

Info

Publication number
CN112948422A
CN112948422A CN202110267771.7A CN202110267771A CN112948422A CN 112948422 A CN112948422 A CN 112948422A CN 202110267771 A CN202110267771 A CN 202110267771A CN 112948422 A CN112948422 A CN 112948422A
Authority
CN
China
Prior art keywords
index
target
contact
item
bar
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.)
Pending
Application number
CN202110267771.7A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd, Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110267771.7A priority Critical patent/CN112948422A/en
Publication of CN112948422A publication Critical patent/CN112948422A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The disclosure provides a contact person searching method and device and electronic equipment. The contact person searching method provided by the disclosure is applied to electronic equipment, and comprises the following steps: responding to an address list display instruction, and determining the weight of each index item in a standard contact index set according to the communication times of each contact in the address list in a preset time period; selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set; and displaying a first-level index bar containing each target index item, so as to index the contact persons in the address list through the first-level index bar, and enabling a user to search for the target contact persons based on the first-level index bar. The contact person searching method, the contact person searching device and the electronic equipment can accelerate the searching speed of the target contact person and improve the communication efficiency.

Description

Contact person searching method and device and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for searching for a contact, and an electronic device.
Background
In recent years, with the development of communication technology, more and more contacts are in the address list of a user, and thousands of contacts enrich the user's friend making and bring about difficulty in query.
How to quickly find the target contact from a plurality of contacts becomes a problem which needs to be solved urgently.
Disclosure of Invention
The disclosure provides a contact person searching method, a contact person searching device and electronic equipment, so as to accelerate the searching speed of a target contact person and improve the communication efficiency.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for searching for a contact, the method being applied to an electronic device, the method including:
responding to an address list display instruction, and determining the weight of each index item in a standard contact index set according to the communication times of each contact in the address list in a preset time period;
selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set;
and displaying a first-level index bar containing each target index item, so as to index the contact persons in the address list through the first-level index bar, and enabling a user to search for the target contact persons based on the first-level index bar.
According to a second aspect of the present disclosure, there is provided a contact search apparatus, which is applied to an electronic device, the apparatus including a determination module, a selection module and a processing module, wherein,
the determining module is used for responding to the address list display instruction and determining the weight of each index item in the standard contact index set according to the communication times of each contact in the address list in a preset time period;
the selection module is used for selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set;
the processing module is configured to display a first-level index bar containing each target index item, so as to index the contacts in the address book through the first-level index bar, so that a user searches for a target contact based on the first-level index bar.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement any of the methods provided by the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the aspects provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the foregoing embodiments, in response to an address book display instruction, the method, the apparatus, and the electronic device for searching for a contact person provided by the present disclosure determine the weight of each index item in a standard contact person index set according to the number of times of communication of each contact person in an address book within a preset time period, and further select a specified number of target index items from the standard contact person index set according to the sequence of the weights from top to bottom, so as to display a first-level index bar containing each target index item, so as to index the contact person in the address book through the first-level index bar, and thus enable a user to search for the target contact person based on the first-level index bar. Wherein the specified number is less than the number of index entries contained in the standard contact index set. Therefore, only part of index items with higher weight are displayed in the first-level index bar, and the weight of the index items is associated with the communication frequency, namely, the index items associated with the contact with higher communication frequency can be displayed in the first-level index bar, and based on the index items, the speed of searching the target contact by the user can be increased, and the communication efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart diagram illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure;
FIG. 2 is an interface diagram illustrating a first level index bar according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart diagram illustrating a method of contact lookup in accordance with an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart diagram illustrating a method of contact lookup in accordance with an exemplary embodiment of the present disclosure;
FIG. 5 is an implementation diagram illustrating one type of updating a first level index bar according to an example embodiment of the present disclosure;
FIG. 6 is a flow chart diagram illustrating a method of contact lookup in accordance with an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating an expanded index bar according to an exemplary embodiment of the present disclosure;
FIG. 8 is a flowchart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating an architecture of a contact lookup apparatus according to an exemplary embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device shown in accordance with an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosure provides a contact person searching method, a contact person searching device and electronic equipment, and aims to achieve the purpose of quickly searching a target contact person.
The contact searching method and device provided by the disclosure can be applied to electronic equipment, for example, a mobile terminal, an instant messaging client (e.g., a wechat client), and the like. The following description will be given taking an application to a mobile terminal as an example.
FIG. 1 is a flow chart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure.
Referring to fig. 1, the method provided in this embodiment may include:
s101, responding to an address list display instruction, and determining the weight of each index item in the standard contact index set according to the communication times of each contact in the address list in a preset time period.
In one embodiment, in response to the address book display instruction, the address book can be displayed according to a preset rule. The preset rule is set according to actual needs, and in this embodiment, specific contents of the preset rule are not limited.
For example, in one embodiment, the predetermined rule may be a sound ordering method. I.e. in the order of the first letters of the pinyin for the first character of the contact (26 letters from a to Z), and further in the order of the initial, vowel, and tone if the first letters are the same. For another example, in another embodiment, the predetermined rule may be a stroke ordering method. I.e., sorted by stroke order of the first character of the contact.
It should be noted that the standard contact index set is an index item set created in advance for contacts in the address list and used for indexing the contacts. Which may be a set of standard contact indexes that match preset rules. For example, when the predetermined rule is a sound ordering method, the standard contact index set may contain 26 english letters. As another example, where the predetermined rule is stroke ordering, the standard contact index set may be a number of strokes. In the following, a preset rule is taken as a sound ordering method, and the standard contact index set includes 26 english letters as an example for description.
In addition, the preset time period is set according to actual needs, and in this embodiment, specific values of the preset time period are not limited. For example, the preset time period may be the past week, the past month, or the like.
Further, the communication frequency of the contact in the preset time period is the communication frequency of the user at the electronic equipment side for communicating with the contact, and the communication frequency can be the total frequency of dialed calls, received calls, sent information and missed calls.
In a specific implementation, the process of determining the weight of each index item in the standard contact index set may include:
and for each index item in the standard index set, searching an associated contact with which the initial character is associated with the index item from the address book, and determining the sum of the communication times of the associated contacts in a preset time period as the weight of the index item.
Specifically, the associated contact with which the first character is associated with the index item is the first character or the first letter of the pinyin of the first character is the contact of the index item. For example, for the index item "Z," the associated contact may include Zhang three, Zhao four, Chapter seven, zhuzhu, and so on.
Further, in connection with the above example, for example, in an embodiment, the associated contact person whose each first character is associated with Z includes zhang three and zhao four, and the number of communications of zhang three in the preset time period is 3, and the number of communications of zhao four in the preset time period is 6, at which time, the weight of the index item "Z" is determined to be 9.
S102, selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set.
Specifically, the designated number is set according to actual needs, and in this embodiment, specific values of the designated number are not limited. For example, in one embodiment, the specified number may be 15.
S103, displaying a first-level index bar containing each target index item, and indexing the contact persons in the address list through the first-level index bar so that a user can search for the target contact persons based on the first-level index bar.
In one embodiment, the first level index bar may be presented in a predetermined location. The preset position is set according to actual needs, and in this embodiment, the preset position is not limited. For example, in one embodiment, the predetermined location may be a right area of the displayed address book.
In specific implementation, each target index item can be sequentially displayed in the right area of the screen along the length direction of the electronic device, so that the first-level index bar is displayed in the right area of the address list.
FIG. 2 is an interface diagram illustrating a first level index bar according to an example embodiment of the present disclosure. Referring to fig. 2, it can be seen that, in the example shown in fig. 2, the first-level index bar is shown on the right side of the address book.
Optionally, when displaying the first-level index bar, displaying the first-level index bar containing each target index item at a preset position based on a preset font size; wherein the preset font size is determined based on the size of the touch finger.
I.e. the size of each target index item presented is equal to the preset font size. The preset font size is determined based on the size of the touch finger and is matched with the touch finger, so that when a user clicks a target index item in the first-level index bar, error pointing is not easy to occur, the times of re-searching due to error pointing can be reduced, and the searching speed can be further improved.
In addition, when the first-level index bar is displayed, the target index items with the weight greater than the first preset threshold value can be displayed in a first color, and the rest of the target index items are displayed in a second color. Wherein the first color is different from the first color.
The first preset threshold is set according to actual needs, and in the present embodiment, the first preset threshold is not limited thereto. For example, in an embodiment, the target index items with weights greater than the first preset threshold are displayed in red, and the remaining target index items are displayed in gray.
In the method provided by this embodiment, in response to an address book display instruction, the weight of each index item in a standard contact index set is determined according to the communication times of each contact in an address book within a preset time period, and then a specified number of target index items are selected from the standard contact index set according to the sequence of the weights from top to bottom, so as to display a first-level index bar containing each target index item, so as to index the contacts in the address book through the first-level index bar, so that a user searches for the contacts based on the first-level index bar. Wherein the specified number is less than the number of index entries contained in the standard contact index set. Therefore, only part of index items with higher weight are displayed in the first-level index bar, and the weight of the index items is associated with the communication frequency, namely, the index items associated with the contact with higher communication frequency can be displayed in the first-level index bar, and based on the index items, the speed of searching the target contact by the user can be increased, and the communication efficiency is improved.
FIG. 3 is a flowchart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure. Referring to fig. 3, the method provided in this embodiment, based on the foregoing embodiment, the method for determining the specified quantity may include:
s301, searching the target index item number corresponding to the screen size of the electronic equipment from the preset corresponding relation between the screen size and the index item number.
The preset correspondence between the screen size and the number of index items is set according to actual needs, and in this embodiment, the correspondence is not limited. In addition, in the corresponding relation, the number of the index items is positively correlated with the screen size, i.e., the larger the screen size is, the larger the number of the index items is. For example, table 1 shows a correspondence for an exemplary embodiment:
TABLE 1 correspondence of Screen size to number of index items
Size of screen Number of index items/number
4.7 cun 10
5 cun below the floor 15
…… ……
6.5 cun 20
For example, in an embodiment, the screen size of the electronic device is 6.5 inches, and at this time, the number of target index entries is determined to be 20.
S302, determining the number of the target index items as the specified number.
In conjunction with the above example, the specified number is determined to be 20. I.e., the top 20 index entries in the standard contact index set are shown in the first level index bar.
In the method provided by this embodiment, the number of target index items corresponding to the screen size of the electronic device is found from the preset corresponding relationship between the screen size and the number of index items, and the number of target index items is determined as the specified number. Therefore, the number of the index items displayed in the first-level index bar can be matched with the size of the screen, too few index items are prevented from being displayed on the large-size screen, the index items can be displayed as many as possible, and then the contact person is indexed based on the displayed index items, so that the searching speed of the contact person can be improved.
FIG. 4 is a flowchart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure. Referring to fig. 4, based on the foregoing embodiment, in the method provided in this embodiment, the standard contact index item set and each index item in the first-level index bar are arranged according to a specified order; after the presenting the first-level index bar, the method further comprises:
s401, in response to the designation operation of adjacent first target index items and second target index items in the first-level index bar, determining index items from the first target index items to the second target index items in the standard contact index set as replacement index items.
S402, replacing the index item in the first-level index bar with the replacement index item so that the user can search the target contact person based on the replacement index item.
It should be noted that the designated sequence may be a standard sequence. For example, 26 letters may be in a sequential order.
Further, the designation operation is set according to actual needs. For example, in one embodiment, the specifying operation may be a long-press operation, i.e., the user presses two adjacent target index items in the first-level index bar for the same time. As another example, the designated operation may be a scratch-out operation. The following description will be given taking a designation operation as a wipe-out operation as an example.
FIG. 5 is a schematic diagram illustrating an implementation of updating a first-level index bar according to an example embodiment of the present disclosure. Referring to FIG. 5, for example, in an embodiment, the contact the user wants to find is Tang III, and the index entry associated with the contact is T, and at this time, T is not in the first-level index bar. I.e., the contact the user wants to find is not a contact associated with each index entry in the first-level index bar. At this time, in order to find the target contact quickly, the index item associated with the contact needs to be presented in the first-level index bar as T.
It is known that in the standard contact index set, T is between the index entry S and the index entry W in the first-level index bar, and at this time, a specified operation may be triggered for S and W. Further, in response to the designating operation, index items from the first target index item to the second target index item in the standard contact index set may be presented to enable the user to search for contacts based on the presented index items. In this example, index items S and W may be double-fingered apart to indicate that "S, T, U, V, W" is to be presented to the user. In this way, the user can find the target contact based on the displayed index item. In connection with the above example, the user may search for the contact "Tang III" whose first character is associated with T by clicking on T.
In the method provided by this embodiment, in response to a specifying operation for a first target index item and a second target index item that are adjacent to each other in the first-level index bar, an index item from the first target index item to the second target index item in the standard contact index set is determined as a replacement index item, and then the replacement index item is used to replace the index item in the first-level index bar, so that a user searches for a target contact based on the replacement index item. Therefore, when the index item corresponding to the target contact person is not the index item selected based on the weight, the index item can be called by the method provided by the embodiment, and the target contact person is searched based on the index item, so that the searching speed can be improved.
FIG. 6 is a flowchart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure.
Referring to fig. 6, the method provided in this embodiment may include:
s601, responding to the operation that the user selects a third target index item from all index items in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference.
Specifically, the contact whose first character is associated with the third target index (the first character of the contact or the first letter of the pinyin of the first character is the third target index) may be set to the address book, or only the contact whose first character is associated with the third target index may be displayed in the updated address book by filtering.
S602, displaying an extended index bar associated with the third target index item, so that a user searches for a contact based on the extended index bar; wherein the extended index bar contains name elements of a plurality of contacts having initial characters associated with the third target index.
When the third target index item is an english letter, the name element is a first character of a plurality of contacts associated with the first character and the third target index item, or the name element is a pinyin corresponding to the first character of the plurality of contacts associated with the first target index item.
For example, fig. 7 is a schematic diagram illustrating an extended index bar according to an example embodiment of the present disclosure. Referring to fig. 7, in the example shown in fig. 7, the extended index bar contains first characters of a plurality of contacts of which the first characters are associated with the third target index item. For example, in the example shown in fig. 7, when the third target index item is Z, at this time, the extended index bar may include sheets, chapters, zhao, and the like.
It should be noted that, after the extended index bar is displayed, the user can search for the target contact based on the extended index bar. For example, when the user wants to search for page three, at this time, the name element "page" in the middle expansion index bar can be selected, and further, the electronic device can update the address book based on the name element selected by the user. For example, a contact having an initial character associated with the name element (the contact having an initial character associated with the name element may be the contact having an initial character as the name element, and the contact having a pinyin for the initial character as the name element) is set to the top.
Referring to the foregoing description, optionally, in an embodiment, an extended index bar associated with the third target index item is shown, and the method may further include:
responding to the operation that a user selects any name element from the expansion index bar;
and updating the address list by taking the name element as a reference.
In the method provided by this embodiment, in response to an operation of selecting a third target index item from the first-level index bar by a user, the displayed address book is updated based on the third target index item, and an extended index bar associated with the third target index item is further displayed, so that the user searches for a target contact based on the extended index bar; wherein the extended index bar contains name elements of a plurality of contacts having initial characters associated with the third target index item. Therefore, the user can search the target contact through the expansion index bar, and the searching speed can be further accelerated.
FIG. 8 is a flowchart illustrating a method of contact lookup according to an exemplary embodiment of the present disclosure.
Referring to fig. 8, the method provided in this embodiment may include:
s801, responding to the address list display instruction, and determining the weight of each index item in the standard contact index set according to the communication times of each contact in the address list in a preset time period.
S802, selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set.
And S803, displaying a first-level index bar containing each target index item at a preset position.
S804, responding to the operation that the user selects a third target index item from all index items in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference.
For a specific implementation principle and implementation process of steps S801 to S804, reference may be made to the description in the foregoing embodiments, and details are not described here.
S805, responding to a second-level index bar display instruction, and displaying a second-level index bar associated with the third target index item; wherein the second-level index bar contains an index item corresponding to a second character of the plurality of contacts of which the first character is associated with the third target index item.
Specifically, in an embodiment, the second-level index bar display instruction may be triggered when the first-level index bar is executed with a specified operation. Wherein, the designated operation is set according to actual needs. For example, in one embodiment, the designated operation may be a slide left operation.
It should be noted that the plurality of contacts with first characters associated with the third target index item may be contacts with first characters of the third index item (the first characters of the contacts are letters), or contacts with first characters of pinyin of the first characters of the third index item (the first characters of the contacts are chinese characters). In addition, the index corresponding to the second character of the contact may be the first letter of the pinyin for the second character (the second letter being a chinese character) or the second character (the second character being a letter). For example, when the contact is lie, the index corresponding to the second character is "S". For another example, when the contact is a contact Q, the index corresponding to the second character is "Q".
In conjunction with the above description, for example, in an embodiment, the third target index item is "S", and the contact person having the first character associated with the third target index item "Z" has zhao, zhhao, and Zhuli, in this case, the second-level index bar may include the following index items: s, L and H.
S806, responding to an operation of selecting a fourth target index item from all index items in the second-level index bar, and updating the displayed address book by taking the third target index item and the fourth target index item as references.
Specifically, a contact whose first character or the first letter of the pinyin for the first character is the third target index and whose second character or the first letter of the pinyin for the second character is the fourth target index may be set to the top. Or, by way of filtering, only the contact person contact whose first character or the first letter of the pinyin for the first character is the third target index and whose second character or the first letter of the second character is the fourth target index is displayed.
In connection with the above example, for example, in one embodiment, the user selects S from the second level index bar, at which point the contact "Zhang three" associated with both "Z" and "S" is displayed on top.
According to the method provided by the embodiment, the user can select for multiple times based on the first-level index field and the second-level index field, and when an index item contains multiple contacts or the same surname contains multiple contacts, the searching speed of the target contact can be further increased.
Of course, in a possible implementation manner of the present disclosure, after displaying the second-level index bar associated with the third target index item, or after displaying the extended index bar associated with the third target index item, the method may further include:
the original first level index bar is exposed in response to a return instruction that indicates a return to the first level index bar.
Wherein the return instruction may be triggered when the second level index bar or the extended index bar is executed with a specified operation. For example, in one embodiment, the specified operation may be a swipe to the right. In addition, the original first-level index bar is a first-level index bar determined based on the weight of each index item in the standard contact index set (not the updated first-level index bar).
According to the method provided by the embodiment, if the user selects the index item corresponding to the wrong first character, the user can change the index item through the method, so that the searching speed can be further increased, and the user experience can be improved.
Corresponding to the embodiment of the contact person searching method, the disclosure also provides an embodiment of a contact person searching device.
Fig. 9 is a schematic structural diagram illustrating a contact search apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 9, the apparatus provided in this embodiment is applied to an electronic device, and the apparatus includes a determining module 910, a selecting module 920 and a processing module 930, wherein,
the determining module 910 is configured to determine, in response to an address book display instruction, a weight of each index item in the standard contact index set according to the number of times of communication of each contact in the address book within a preset time period;
the selecting module 920 is configured to select a specified number of target index items from the standard contact index set according to the order of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set;
the processing module 930 is configured to display a first-level index bar containing each target index item, so as to index the contacts in the address book through the first-level index bar, so that a user searches for a target contact based on the first-level index bar.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, the determining module 910 is specifically configured to, for each index entry in the standard index set, search an associated contact whose initial character is associated with the index entry from the address book, and determine a sum of communication times of the associated contacts in a preset time period as a weight of the index entry.
Further, the index items in the standard contact index item set and the first-level index bar are arranged according to a specified sequence; the processing module 930 is further configured to, after presenting the first-level index bar, in response to a designation operation for a first target index item and a second target index item that are adjacent to each other in the first-level index bar, determine an index item from the first target index item to the second target index item in the standard contact index set as a replacement index item, and replace the index item in the first-level index bar with the replacement index item, so that the user searches for the target contact based on the replacement index item.
Further, after showing the first-level index bar, the processing module 930 is further configured to:
responding to the operation that a user selects a third target index item from each index item in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference;
in response to a second-level index bar showing instruction, showing a second-level index bar associated with the third target index item; wherein the second-level index bar contains an index item corresponding to a second character of the plurality of contacts of which the first character is associated with the third target index item;
and in response to the operation of selecting a fourth target index item from all index items in the second-level index bar, updating the displayed address list by taking the third target index item and the fourth target index item as references.
Further, after showing the first-level index bar, the processing module 930 is further configured to:
responding to the operation that a user selects a third target index item from each index item in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference;
displaying an extended index bar associated with the third target index item to enable a user to search a target contact based on the extended index bar; wherein the extended index bar contains name elements of a plurality of contacts having initial characters associated with the third target index item.
Specifically, the third target index item is an english letter; the name element is the first character of a plurality of contacts associated with the first character and the third target index item, or the name element is the pinyin corresponding to the first character of the plurality of contacts associated with the third target index item.
Further, the specified number determination method includes:
searching the number of target index items corresponding to the screen size of the electronic equipment from the preset corresponding relation between the screen size and the number of the index items;
determining the target number of terms as the specified number.
Further, the processing module 930 is specifically configured to display, at a preset position, a first-level index bar including each target index item based on a preset font size; wherein the preset font size is determined based on the size of the touch finger.
With regard to the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the related method, and will not be described in detail here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of the above embodiments.
Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.
Fig. 10 is a schematic structural diagram of an electronic device shown in accordance with an exemplary embodiment of the present disclosure. The electronic device may be a mobile phone, a tablet device, a communication client, etc.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The apparatus 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods described in any of the above embodiments.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A contact searching method is applied to an electronic device, and comprises the following steps:
responding to an address list display instruction, and determining the weight of each index item in a standard contact index set according to the communication times of each contact in the address list in a preset time period;
selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set;
and displaying a first-level index bar containing each target index item, so as to index the contact persons in the address list through the first-level index bar, and enabling a user to search for the target contact persons based on the first-level index bar.
2. The method of claim 1, wherein the determining the weight of each index item in the standard contact index set according to the number of times of communication of each contact in the preset time period comprises:
and for each index item in the standard index set, searching an associated contact with which the initial character is associated with the index item from the address book, and determining the sum of the communication times of the associated contacts in a preset time period as the weight of the index item.
3. The method of claim 1, wherein each of the set of standard contact entries and the first-level index bar are arranged in a specified order; after the presenting the first-level index bar, the method further comprises:
in response to a designation operation for adjacent first and second target index items in the first-level index bar, determining index items in the standard contact index set between the first target index item and the second target index item as replacement index items;
and replacing the index item in the first-level index bar by the replacement index item so that the user can search the target contact person based on the replacement index item.
4. The method of claim 1 or 3, wherein after presenting the first level index bar, the method further comprises:
responding to the operation that a user selects a third target index item from all index items in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference;
in response to a second-level index bar showing instruction, showing a second-level index bar associated with the third target index item; wherein the second-level index bar contains an index item corresponding to a second character of the plurality of contacts of which the first character is associated with the third target index item;
and in response to the operation of selecting a fourth target index item from all index items in the second-level index bar, updating the displayed address list by taking the third target index item and the fourth target index item as references.
5. The method of claim 1 or 3, wherein after presenting the first level index bar, the method further comprises:
responding to the operation that a user selects a third target index item from each index item in the first-level index bar, and updating the displayed address list by taking the third target index item as a reference;
displaying an extended index bar associated with the third target index item to enable a user to search a target contact based on the extended index bar; wherein the extended index bar contains name elements of a plurality of contacts having initial characters associated with the third target index item.
6. The method of claim 5, wherein the third target index item is English letters; the name element is a pinyin corresponding to the first character and the first character of the plurality of contacts associated with the third target index item.
7. The method of claim 1, wherein the specified number of determination methods comprises:
searching the number of target index items corresponding to the screen size of the electronic equipment from the preset corresponding relation between the screen size and the number of the index items;
determining the target number of terms as the specified number.
8. The method of claim 1, wherein presenting a first level index bar containing each of the target contact entries comprises:
displaying a first-level index bar containing each target index item at a preset position based on the size of a preset font; wherein the preset font size is determined based on the size of the touch finger.
9. A contact search device is applied to electronic equipment and comprises a determination module, a selection module and a processing module, wherein,
the determining module is used for responding to the address list display instruction and determining the weight of each index item in the standard contact index set according to the communication times of each contact in the address list in a preset time period;
the selection module is used for selecting a specified number of target index items from the standard contact index set according to the sequence of the weights from top to bottom; wherein the specified number is less than the number of index entries contained in the standard contact index set;
the processing module is configured to display a first-level index bar containing each target index item, so as to index the contacts in the address book through the first-level index bar, so that a user searches for a target contact based on the first-level index bar.
10. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 8.
CN202110267771.7A 2021-03-11 2021-03-11 Contact person searching method and device and electronic equipment Pending CN112948422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267771.7A CN112948422A (en) 2021-03-11 2021-03-11 Contact person searching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267771.7A CN112948422A (en) 2021-03-11 2021-03-11 Contact person searching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112948422A true CN112948422A (en) 2021-06-11

Family

ID=76229001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267771.7A Pending CN112948422A (en) 2021-03-11 2021-03-11 Contact person searching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112948422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022088988A1 (en) * 2020-10-27 2022-05-05 华为技术有限公司 Index display method and wearable device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103221913A (en) * 2010-11-18 2013-07-24 三星电子株式会社 Information display method and apparatus of mobile terminal
CN103986830A (en) * 2014-05-19 2014-08-13 天津三星通信技术研究有限公司 Contact-person searching method and portable terminal
CN104243712A (en) * 2014-09-24 2014-12-24 广东欧珀移动通信有限公司 Text message display method and system of mobile terminal
CN104463004A (en) * 2013-09-24 2015-03-25 北京三星通信技术研究有限公司 Method and device for protecting interface content
US20160070425A1 (en) * 2014-09-05 2016-03-10 Samsung Electronics Co., Ltd. Method and apparatus for index processing
CN105721653A (en) * 2016-02-26 2016-06-29 深圳市金立通信设备有限公司 Contact search method and terminal
CN106210251A (en) * 2015-06-01 2016-12-07 北京壹人壹本信息科技有限公司 A kind of contact person's method for rapidly positioning, system and communication terminal
CN107046596A (en) * 2017-02-20 2017-08-15 阿里巴巴集团控股有限公司 The querying method and device of Intelligent terminal data
CN108536712A (en) * 2017-03-06 2018-09-14 中兴通讯股份有限公司 A kind of method and device of index positioning
CN108737618A (en) * 2018-05-03 2018-11-02 Oppo广东移动通信有限公司 Information processing method and device, electronic equipment, computer readable storage medium
CN110032673A (en) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 Page index, address list, client, data processing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103221913A (en) * 2010-11-18 2013-07-24 三星电子株式会社 Information display method and apparatus of mobile terminal
CN104463004A (en) * 2013-09-24 2015-03-25 北京三星通信技术研究有限公司 Method and device for protecting interface content
CN103986830A (en) * 2014-05-19 2014-08-13 天津三星通信技术研究有限公司 Contact-person searching method and portable terminal
US20160070425A1 (en) * 2014-09-05 2016-03-10 Samsung Electronics Co., Ltd. Method and apparatus for index processing
CN104243712A (en) * 2014-09-24 2014-12-24 广东欧珀移动通信有限公司 Text message display method and system of mobile terminal
CN106210251A (en) * 2015-06-01 2016-12-07 北京壹人壹本信息科技有限公司 A kind of contact person's method for rapidly positioning, system and communication terminal
CN105721653A (en) * 2016-02-26 2016-06-29 深圳市金立通信设备有限公司 Contact search method and terminal
CN107046596A (en) * 2017-02-20 2017-08-15 阿里巴巴集团控股有限公司 The querying method and device of Intelligent terminal data
CN108536712A (en) * 2017-03-06 2018-09-14 中兴通讯股份有限公司 A kind of method and device of index positioning
CN108737618A (en) * 2018-05-03 2018-11-02 Oppo广东移动通信有限公司 Information processing method and device, electronic equipment, computer readable storage medium
CN110032673A (en) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 Page index, address list, client, data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
永和: "Microsoft Outlook 97常见问题及解答", 电脑, no. 11, 30 November 1997 (1997-11-30) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022088988A1 (en) * 2020-10-27 2022-05-05 华为技术有限公司 Index display method and wearable device

Similar Documents

Publication Publication Date Title
US20180121040A1 (en) Method and device for managing notification messages
JP6302602B2 (en) Ticket information display method, apparatus, program, and recording medium
US10078422B2 (en) Method and device for updating a list
CN109951379B (en) Message processing method and device
CN109918001B (en) Interface display method, device and storage medium
RU2648616C2 (en) Font addition method and apparatus
RU2645282C2 (en) Method and device for calling via cloud-cards
CN108874827B (en) Searching method and related device
US20220326845A1 (en) Method for acquiring historical information, storage medium, and system
CN107493366B (en) Address book information updating method and device and storage medium
CN108011990B (en) Contact management method and device
CN112051949A (en) Content sharing method and device and electronic equipment
CN104951522B (en) Method and device for searching
CN107943317B (en) Input method and device
US20160349947A1 (en) Method and device for sending message
CN105488074B (en) Photo clustering method and device
CN112948422A (en) Contact person searching method and device and electronic equipment
CN111428001A (en) Short message information retrieval method, device and storage medium
CN107678544B (en) Message processing method and device
CN109799916B (en) Candidate item association method and device
CN107203279B (en) Keyword prompting method and device
CN111198620A (en) Method, device and equipment for presenting input candidate items
CN110502484B (en) Method, device and medium for displaying file information on mobile terminal
CN110417987B (en) Operation response method, device, equipment and readable storage medium
CN112581102A (en) Task management method and device, electronic equipment and storage medium

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