CN106790925B - Telephone number searching method and device - Google Patents

Telephone number searching method and device Download PDF

Info

Publication number
CN106790925B
CN106790925B CN201710078511.9A CN201710078511A CN106790925B CN 106790925 B CN106790925 B CN 106790925B CN 201710078511 A CN201710078511 A CN 201710078511A CN 106790925 B CN106790925 B CN 106790925B
Authority
CN
China
Prior art keywords
telephone number
telephone
contact
digital
numbers
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
CN201710078511.9A
Other languages
Chinese (zh)
Other versions
CN106790925A (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201710078511.9A priority Critical patent/CN106790925B/en
Publication of CN106790925A publication Critical patent/CN106790925A/en
Application granted granted Critical
Publication of CN106790925B publication Critical patent/CN106790925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/2748Methods of retrieving data by matching character strings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/2746Sorting, e.g. according to history or frequency of use

Abstract

The invention discloses a method and a device for searching telephone numbers, which relate to the technical field of terminal application and can improve the searching efficiency of the telephone numbers, and the method comprises the following steps: receiving a digital number input by a user in a communication interface; inquiring a contact address book according to the digital number, and determining whether a telephone number containing the digital number exists in the contact address book, wherein the digital number can be positioned at any position of the telephone number; and if so, displaying the telephone number containing the digital number and the corresponding contact information. The invention is suitable for searching telephone numbers.

Description

Telephone number searching method and device
Technical Field
The present invention relates to the field of terminal application technologies, and in particular, to a method and an apparatus for searching a phone number.
Background
With the rapid development of mobile communication technology, the interaction between people in the aspects of work, life, various social networks and the like is more and more frequent, and the mobile phone is an essential communication tool in the life of people. Every person may have hundreds or even thousands of contacts, especially business people, stored in their phone directory. When a user needs to dial the telephone number of the contact person, the telephone number of the contact person can be searched from the address book of the mobile phone, and the user can dial the telephone number after searching the telephone number.
At present, in the process of searching for a contact telephone number from a mobile phone address book by a user, a service plug-in of the mobile phone address book matches the telephone number from the first digit according to the input digit number, and displays the telephone number which is successfully matched from the first digit. For example, when a user enters a numeric number 138, the phone directory will only display the phone number beginning with 138.
In the process of implementing the method, when the matching fails from the first digit, the related telephone number will not be displayed, for example, if the telephone number at the beginning of 138 does not exist in the address book, the related telephone number will not be displayed; moreover, when there are many phone numbers with the same initial number in the mobile phone address list, the user needs to input more numbers to search for the phone number of the contact person who wants to dial through the above phone number searching method, which further causes the searching efficiency of the phone number to be low.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for searching a phone number, and mainly aims to improve the efficiency of searching a phone number.
According to an aspect of the present invention, there is provided a method of searching for a phone number, the method including:
receiving a digital number input by a user in a communication interface;
inquiring a contact address book according to the digital number, and determining whether a telephone number containing the digital number exists in the contact address book, wherein the digital number can be positioned at any position of the telephone number;
and if so, displaying the telephone number containing the digital number and the corresponding contact information.
Specifically, the querying a contact address book according to the number and determining whether a phone number including the number exists in the contact address book specifically includes:
arranging and combining the digital number and a preset wildcard to obtain a telephone number containing the digital number and the preset wildcard;
matching the telephone number containing the number and the preset wildcard with the telephone number in the contact address list;
and determining whether the telephone number containing the digital number exists in the contact address list or not according to the matching result.
Specifically, the permutation and combination of the number and the preset wildcard character to obtain the phone number including the number and the preset wildcard character specifically includes:
determining the number digits of the telephone numbers in the contact address list;
dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number;
placing the digital number according to the tail position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a first telephone number set;
placing the digital numbers according to the middle position area, and completing other idle positions of the telephone numbers by using the preset wildcard characters to obtain a second telephone number set;
placing the digital number according to the header position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a third telephone number set;
the matching of the telephone number containing the number and the preset wildcard with the telephone number in the contact address list specifically comprises:
and respectively matching the first telephone number set, the second telephone number set and the third telephone number set with the telephone numbers in the contact address list.
Specifically, the displaying the telephone number including the number and the corresponding contact information specifically includes:
and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the arrangement sequence of the matching results respectively corresponding to the first telephone number set, the second telephone number set and the third telephone number set.
Specifically, the displaying the telephone number including the number and the corresponding contact information specifically includes:
acquiring historical calling times corresponding to the telephone number containing the digital number;
and displaying the telephone number containing the digital number and the corresponding contact information according to the sequence of the historical calling times.
Specifically, the displaying the telephone number including the number and the corresponding contact information specifically includes:
acquiring a contact name corresponding to the telephone number containing the digital number;
and displaying the telephone number containing the number and the corresponding contact information according to the arrangement sequence of the initials of the contact names.
Further, before presenting the telephone number containing the number and the corresponding contact information, the method further comprises:
acquiring contact person grouping information respectively corresponding to different telephone numbers in a contact person address list;
configuring the contact person priority corresponding to the contact person grouping information;
the displaying the telephone number containing the number and the corresponding contact information specifically comprises the following steps:
acquiring contact person grouping information corresponding to the telephone number containing the digital number;
and arranging and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the contact priority order of the contact grouping information corresponding to the telephone numbers containing the digital numbers.
According to another aspect of the present invention, there is provided a telephone number search apparatus, comprising:
the receiving unit is used for receiving the digital number input by the user in the communication interface;
the determining unit is used for inquiring the address book of the contact person according to the digital number received by the receiving unit, and determining whether the telephone number containing the digital number exists in the address book of the contact person, wherein the digital number can be positioned at any position of the telephone number;
and the display unit is used for displaying the telephone number containing the digital number and the corresponding contact information if the determining unit determines that the telephone number containing the digital number exists in the contact address list.
Specifically, the determination unit includes:
the combination module is used for arranging and combining the digital number and a preset wildcard to obtain a telephone number containing the digital number and the preset wildcard;
the matching module is used for matching the telephone number which contains the digital number and the preset wildcard and is combined by the combination module with the telephone number in the contact address list;
and the determining module is used for determining whether the telephone number containing the digital number exists in the contact address list according to the matching result of the matching module.
Specifically, the combination module is specifically configured to determine the number digits of the telephone number in the contact address book;
dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number;
placing the digital number according to the tail position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a first telephone number set;
placing the digital numbers according to the middle position area, and completing other idle positions of the telephone numbers by using the preset wildcard characters to obtain a second telephone number set;
placing the digital number according to the header position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a third telephone number set;
the matching module is specifically configured to match the first phone number set, the second phone number set, and the third phone number set with phone numbers in the contact list, respectively.
Specifically, the display unit is specifically configured to display the telephone numbers including the number numbers and the corresponding contact information according to the arrangement order of the matching results respectively corresponding to the first telephone number set, the second telephone number set, and the third telephone number set.
Specifically, the display unit is specifically configured to obtain a historical number of calls corresponding to a telephone number that includes the digital number;
and displaying the telephone number containing the digital number and the corresponding contact information according to the sequence of the historical calling times.
Specifically, the display unit is specifically configured to obtain a contact name corresponding to a telephone number including the number;
and displaying the telephone number containing the number and the corresponding contact information according to the arrangement sequence of the initials of the contact names.
Further, the apparatus further comprises: an acquisition unit and a configuration unit;
the acquisition unit is used for acquiring the contact person group information corresponding to different telephone numbers in the contact person address list;
the configuration unit is used for configuring the contact person priority corresponding to the contact person grouping information;
the display unit is specifically used for acquiring contact person group information corresponding to the telephone number containing the digital number;
and arranging and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the contact priority order of the contact grouping information corresponding to the telephone numbers containing the digital numbers.
By the technical scheme, as a plurality of telephone numbers with the same initial number exist in the mobile phone address book, but most of the tail numbers are different, compared with the current method for searching the telephone number of the contact by matching the telephone numbers from the initial number, the method and the device for searching the telephone number provided by the invention can search the telephone number of the contact by inquiring whether the telephone number containing the number input by the user exists in the contact address book, if so, the telephone number containing the number and the corresponding contact information are displayed, further, the user can search the telephone number of the contact by using any part of the telephone number, the user does not need to input from the beginning of the telephone number, for example, the telephone number of the contact can be directly searched by inputting the four-digit number of the tail number of the telephone, therefore, the searching efficiency of the telephone number of the contact person can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart illustrating a method for searching a phone number according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating another telephone number searching method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of a phone number search according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a telephone number searching apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another telephone number searching apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a method for searching telephone numbers, which can improve the searching efficiency of the telephone numbers, and as shown in figure 1, the method comprises the following steps:
101. and receiving the number input by the user in the communication interface.
The communication interface can be a search interface of a contact address book or other interfaces for searching related contact communication information.
The execution main body of the embodiment of the invention can be a device for searching telephone numbers aiming at the number input by the user in the communication interface, and when the user inputs the number in the communication interface, the device can acquire the input number and inquire the telephone number of the related contact person.
102. And inquiring the contact address list according to the input digital number, and determining whether the contact address list has a telephone number containing the input digital number.
Wherein the telephone number including the input number means that the input number can be located at an arbitrary position of the telephone number. For example, if the number input by the user is 123, if the phone number is 13800012300, 123 exists at the seventh to ninth positions from the left of the phone number, which indicates that the phone number contains 123; if the phone number is 13800102003, 123 is not included in any position of the phone number, which means that the phone number does not include 123.
For example, the number input by the user is 123, the contact address book is queried according to 123, if the contact address book contains the telephone number containing 123, it is determined that the contact address book contains the telephone number containing the number input by the user, and if the telephone number containing 123 is not contained from the first telephone number to the last telephone number in the contact address book, it is determined that the contact address book does not contain the telephone number containing the number input by the user.
103. And if the telephone number containing the input digital number exists in the contact address list, displaying the telephone number containing the input digital number and the corresponding contact information.
The contact information may include information such as a contact name, a mailbox address, an instant messaging software account, and the like.
For example, the number input by the user is 45, the contact address list is searched according to 45, all the telephone numbers including 45 in the contact address list are found out and are arranged and displayed, and when each telephone number is displayed, the telephone number is displayed together with the contact information corresponding to the telephone number.
Compared with the current method for searching the telephone number of the contact person by matching the telephone number from the first digit, the method for searching the telephone number can search the telephone number of the contact person by inquiring whether the telephone number containing the digit number input by the user exists in the address list of the contact person or not, and if so, displaying the telephone number containing the digit number and the corresponding contact person information, so that the user can search the telephone number of the contact person by using any part of the telephone number, and the user does not need to input the telephone number from the beginning, thereby improving the searching efficiency of the telephone number of the contact person.
In order to better understand the method shown in fig. 1, as a refinement and an extension of the foregoing embodiment, an embodiment of the present invention provides another phone number searching method, as shown in fig. 2, where the method includes:
201. and receiving the number input by the user in the communication interface.
And when receiving the number input by the user in the communication interface, acquiring the number input by the user.
202. And carrying out permutation and combination on the input number and the preset wildcard to obtain the telephone number containing the input number and the preset wildcard.
The preset wildcard can be configured in advance according to actual requirements, for example, "+" can be configured in advance as a wildcard.
Step 202 may specifically include: determining the number digits of the telephone numbers in the contact address list; dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number; placing the digital numbers according to the tail position area, and filling other idle positions of the telephone numbers by using preset wildcards to obtain a first telephone number set; placing the digital numbers according to the middle position area, and filling other idle positions of the telephone numbers by using preset wildcards to obtain a second telephone number set; and placing the digital numbers according to the header position area, and filling other free positions of the telephone numbers by using preset wildcards to obtain a third telephone number set.
In the embodiment of the present invention, in consideration of the case where the number is placed between adjacent location areas, when the number input by the user is placed in accordance with one of the location areas, part of the number in the number may be placed in the location area, and when the length of the number is less than or equal to the length of the location area, the number may also be placed entirely in the location area. It should be noted that the specific placement rule of the number may be set according to actual requirements, but it is to be ensured that the number is placed in each location area in sequence, and there is no duplicate phone number between each obtained phone number set. For example, for an 11-digit phone number 13800010002, the location area of the first three digits 138 may be determined as the head location area, the location area of the middle four digits 0001 may be determined as the middle location area, and the location area of the last four digits 0002 may be determined as the tail location area, and if the user inputs a digit number 455 within the communication interface, the digit number may be placed according to the tail location area first, and the other free locations of the phone number may be filled with the default wildcards, resulting in a set a of phone numbers, 455, and so on; then, placing according to the middle position area, and using preset wildcard characters to fill other idle positions of the telephone numbers, wherein the obtained telephone numbers are 455, and the like, and forming the telephone numbers into a telephone number set B; finally, the telephone numbers are placed according to the header position area, other free positions of the telephone numbers are filled by using preset wildcard characters, the obtained telephone numbers have 455.
203. And matching the telephone number containing the input number and the preset wildcard with the telephone number in the contact address list.
Step 203 may specifically include: and respectively matching different telephone numbers including the input number and the preset wildcard in the first telephone number set, the second telephone number set and the third telephone number set with the telephone numbers in the contact address list. In the embodiment of the invention, the query of the related telephone numbers is carried out according to the matching mode of different telephone number sets, the matched telephone numbers can be displayed according to different position areas of the telephone numbers, the telephone numbers matched in a specific position area can be preferentially displayed, the telephone numbers required to be searched by a user can be displayed according to the operation habits of the user, and the searching efficiency of the telephone numbers of the contact persons can be improved.
204. And determining whether the telephone number containing the input digital number exists in the contact address list according to the matching result.
For example, the phone number including the input number and the preset wildcard is '4555', the phone number is matched with the phone number in the contact address book, and the matching between the phone number and the phone number 13800224555 in the contact address book is successful, which indicates that the phone number 13800224555 including the input number exists in the contact address book.
205. And if the telephone number containing the input digital number exists in the contact address list, displaying the telephone number containing the input digital number and the corresponding contact information.
Step 205 may specifically include: and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the arrangement sequence of the matching results respectively corresponding to the first telephone number set, the second telephone number set and the third telephone number set.
As a plurality of telephone numbers with the same number at the beginning exist in the mobile phone address list, but most of tail numbers are different, for the embodiment of the invention, the telephone numbers matched with the tail position area and the corresponding contact information can be preferentially displayed, and then the telephone numbers matched with the middle position area and the head position area and the corresponding contact information are sequentially listed and displayed below the telephone numbers, so that the telephone numbers of the contacts can be quickly searched by inputting the tail numbers of the telephones, and the searching efficiency of the telephone numbers of the contacts can be improved. For example, as shown in fig. 3, when the user inputs 455 in the search box of the address book, the phone number and the corresponding contact information matched with the tail position area are preferentially displayed, and then the phone numbers and the corresponding contact information matched with the middle position area and the head position area are sequentially listed and displayed below the phone number.
In an optional embodiment of the present invention, when it is determined that a phone number including an input digital number exists in a contact address list, a historical call frequency corresponding to the phone number including the input digital number may be first obtained, where the historical call frequency may be a sum of a calling frequency and a called frequency corresponding to the phone number, or a sum of the calling frequency, the called frequency and a missed frequency corresponding to the phone number, and may be specifically preset according to an actual requirement; and then displaying the telephone numbers containing the input digital numbers and the corresponding contact information according to the sequence of the historical calling times. Because the historical calling times of the telephone number can reflect the contact closeness degree between the contact of the telephone number and the user to a great extent, the telephone number containing the input digital number and the corresponding contact information are displayed according to the sequence of the historical calling times, the user can conveniently and quickly find the telephone number of the contact needing to be dialed, and the searching efficiency of the telephone number of the contact can be improved.
For example, 10 telephone numbers containing the number input by the user are found, and then the 10 telephone numbers are arranged and displayed according to the sequence of the historical calling times from the beginning to the end, and the corresponding contact information is displayed.
In an optional embodiment of the present invention, when it is determined that a phone number including an input number exists in the contact address book, a contact name corresponding to the phone number including the input number may be first obtained; and then the telephone number containing the input digital number and the corresponding contact information are displayed according to the arrangement sequence of the initials of the names of the contacts, so that a user can conveniently find the telephone number of the contact needing to be dialed according to the arrangement sequence of the initials of the names, and the searching efficiency of the telephone number of the contact can be improved.
In an optional embodiment of the present invention, contact group information corresponding to different telephone numbers in a contact address list may be obtained in advance, where the contact group information may be group information of friends, family, colleagues, classmates, and the like; and then configuring the priority of the contact person corresponding to the contact person grouping information according to the received user configuration instruction, wherein the configuration process can be configured by default of a system or can be configured by a user according to actual needs. For example, the user may pre-configure the family group with the highest priority of contacts, followed by the friend group and the classmate group, with the lowest priority of contacts for the colleague group.
When the fact that the telephone number containing the input digital number exists in the contact address list is determined, firstly, contact grouping information corresponding to the telephone number containing the input digital number is obtained; and then, according to the contact person priority order of the contact person grouping information corresponding to the telephone number containing the input digital number, the telephone number containing the input digital number and the corresponding contact person information are displayed in an arranging manner, so that the searched contact person telephone number can be displayed according to the attention degree of the user to the contact person, the telephone number of the grouping with higher contact person priority is displayed preferentially, the user can be helped to quickly find the telephone number of the contact person to be dialed, and the searching efficiency of the contact person telephone number can be improved.
For example, 15 telephone numbers containing the number numbers input by the user are found, wherein 3 telephone numbers belong to family groups, 5 telephone numbers belong to friend groups, 7 telephone numbers belong to colleague groups, the priority of the contact person in the family groups is highest, the 3 telephone numbers belonging to the family groups and the corresponding contact information are preferentially displayed, then the 5 telephone numbers belonging to the friend groups and the corresponding contact information are displayed in a list manner, and finally the 7 telephone numbers belonging to the colleague groups and the corresponding contact information are displayed in a list manner.
Compared with the current method for searching the contact number by matching the phone number from the first digit, the method for searching the phone number provided by the embodiment of the invention can search the relevant phone number according to the matching mode of different phone number sets, can display the matched phone number according to different position areas of the phone number, can preferentially display the phone number matched with a specific position area, and further can display the phone number required to be searched by a user according to the operation habit of the user; and the telephone number containing the input digital number and the corresponding contact information can be displayed according to the sequence of the historical calling times from most to few or the arrangement sequence of the initials of the contact names, so that a user can conveniently and quickly find the telephone number of the contact to be dialed, and the searching efficiency of the telephone number of the contact can be improved.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides an apparatus for searching a phone number, where as shown in fig. 4, the apparatus includes: a receiving unit 31, a determining unit 32, a presenting unit 33.
The receiving unit 31 may be configured to receive a number input by a user in the communication interface. The communication interface may be a search interface of a contact address book or other interfaces for searching communication information of a contact, the receiving unit 31 is a main function module in the device for receiving a digital number input by a user, and the determining unit 32 is triggered to operate after the receiving unit 31 receives the digital number.
The determining unit 32 may be configured to query a contact address book according to the number received by the receiving unit 31, and determine whether a phone number including the number exists in the contact address book, where the number may be located at any position of the phone number. The determining unit 32 is a main function module of the device for inquiring related telephone numbers in the contact address book according to the input telephone numbers.
The displaying unit 33 may be configured to display the phone number including the number and the corresponding contact information if the determining unit 32 determines that the phone number including the number exists in the contact address book. The contact information may include information such as a contact name, a mailbox address, an instant messaging software account, and the like, and the display unit 33 is a main function module of the device that displays a telephone number related to an input number, which is queried in a contact address book.
It should be noted that other corresponding descriptions of the functional units related to the apparatus for searching for a phone number provided in the embodiment of the present invention may refer to the corresponding description in fig. 1, and are not repeated herein.
The embodiment of the invention provides a telephone number searching device, which comprises: compared with the current method for searching the telephone number of the contact person by matching the telephone number from the first digit, the embodiment of the invention can inquire whether the telephone number containing the digit number input by the user exists in the address list of the contact person, and if so, the telephone number containing the digit number and the corresponding contact person information are displayed, so that the user can search the telephone number of the contact person by using any part of the telephone number, and the user does not need to input the telephone number from the beginning, thereby improving the searching efficiency of the telephone number of the contact person.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides another apparatus for searching a phone number, where as shown in fig. 5, the apparatus includes: a receiving unit 41, a determining unit 42, a presenting unit 43.
The receiving unit 41 may be configured to receive a number input by a user in the communication interface.
The determining unit 42 may be configured to query a contact address book according to the number received by the receiving unit 41, and determine whether a phone number including the number exists in the contact address book, where the number may be located at any position of the phone number.
The displaying unit 43 may be configured to display the phone number including the number and the corresponding contact information if the determining unit 42 determines that the phone number including the number exists in the contact address book.
Specifically, the determination unit 42 includes: a combination module 421, a matching module 422, and a determination module 423.
The combining module 421 may be configured to perform permutation and combination on the digital number and a preset wildcard to obtain a phone number including the digital number and the preset wildcard. The preset wildcard can be configured in advance according to actual requirements, for example, "+" can be configured in advance as a wildcard.
The matching module 422 may be configured to match the telephone number that includes the number and the preset wildcard and is combined by the combining module 421 with the telephone number in the contact address list.
The determining module 423 may be configured to determine whether a phone number including the number exists in the contact address book according to the matching result of the matching module 422.
The combination module 421 may be specifically configured to determine the number digits of the phone number in the contact address book; dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number; placing the digital number according to the tail position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a first telephone number set; placing the digital numbers according to the middle position area, and completing other idle positions of the telephone numbers by using the preset wildcard characters to obtain a second telephone number set; and placing the digital numbers according to the header position area, and filling other idle positions of the telephone numbers by using the preset wildcard characters to obtain a third telephone number set.
The matching module 422 may be specifically configured to match different phone numbers including the number and the preset wildcard in the first phone number set, the second phone number set, and the third phone number set with phone numbers in the contact address list respectively. In the embodiment of the invention, the query of the related telephone numbers is carried out according to the matching mode of different telephone number sets, the matched telephone numbers can be displayed according to different position areas of the telephone numbers, the telephone numbers matched in a specific position area can be preferentially displayed, the telephone numbers required to be searched by a user can be displayed according to the operation habits of the user, and the searching efficiency of the telephone numbers of the contact persons can be improved.
The displaying unit 43 may be specifically configured to display the phone numbers including the number numbers and the corresponding contact information according to the arrangement order of the matching results respectively corresponding to the first phone number set, the second phone number set, and the third phone number set.
As a plurality of telephone numbers with the same number at the beginning exist in the mobile phone address list, but most of tail numbers are different, for the embodiment of the invention, the telephone numbers matched with the tail position area and the corresponding contact information can be preferentially displayed, and then the telephone numbers matched with the middle position area and the head position area and the corresponding contact information are sequentially listed and displayed below the telephone numbers, so that the telephone numbers of the contacts can be quickly searched by inputting the tail numbers of the telephones, and the searching efficiency of the telephone numbers of the contacts can be improved.
Since the historical call frequency of the phone number can reflect the contact affinity between the contact of the phone number and the user to a great extent, the display unit 43 may be further configured to obtain the historical call frequency corresponding to the phone number including the digital number; and displaying the telephone number containing the digital number and the corresponding contact information according to the sequence of the historical calling times, so that a user can conveniently and quickly find the telephone number of the contact to be dialed, and the searching efficiency of the telephone number of the contact can be improved.
The display unit 43 may be further configured to specifically acquire a contact name corresponding to a telephone number including the number; and displaying the telephone number containing the digital number and the corresponding contact information according to the arrangement sequence of the initials of the names of the contacts, so that a user can conveniently find the telephone number of the contact to be dialed according to the arrangement sequence of the initials of the names, and the searching efficiency of the telephone number of the contact can be improved.
Further, in order to help the user quickly find the telephone number of the contact person to be dialed, the device further comprises: an acquisition unit 44 and a configuration unit 45.
The obtaining unit 44 may be configured to obtain contact group information corresponding to different telephone numbers in the contact address list.
The configuring unit 45 may be configured to configure the priority of the contact corresponding to the contact grouping information.
The display unit 43 may be further configured to specifically acquire contact group information corresponding to a telephone number including the number; the telephone numbers containing the digital numbers and the corresponding contact information are arranged and displayed according to the contact priority sequence of the contact grouping information corresponding to the telephone numbers containing the digital numbers, so that the searched telephone numbers of the contacts can be displayed according to the degree of the user attaching importance to the contacts, the telephone numbers of the groups with higher contact priority are preferentially displayed, the user can be helped to quickly find the telephone numbers of the contacts needing to be dialed, and the searching efficiency of the telephone numbers of the contacts can be improved.
It should be noted that other corresponding descriptions of the functional units related to another device for searching for a phone number provided in the embodiment of the present invention may refer to the corresponding description in fig. 2, and are not described herein again.
Another phone number searching apparatus provided in an embodiment of the present invention includes: compared with the current searching mode of the contact person telephone number by matching the telephone number from the first digit, the embodiment of the invention can query the relevant telephone number according to the matching mode of different telephone number sets, can display the matched telephone number according to different position areas of the telephone number, can preferentially display the telephone number matched in a specific position area, and further can display the telephone number required to be searched by the user according to the operation habit of the user; and the telephone number containing the input digital number and the corresponding contact information can be displayed according to the sequence of the historical calling times from most to few or the arrangement sequence of the initials of the contact names, so that a user can conveniently and quickly find the telephone number of the contact to be dialed, and the searching efficiency of the telephone number of the contact can be improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a telephone number search method and apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (8)

1. A method for searching for a telephone number, comprising:
receiving a digital number input by a user in a communication interface, wherein the digital number is a continuous number and is a part of a complete telephone number;
performing digit matching operation on the digit number and a tail position area, a middle position area and a head position area of the telephone number in the contact address book successively to determine whether the telephone number containing the digit number exists in the contact address book, wherein the digit number can be located at any position of the telephone number, and the method specifically comprises the following steps:
the digital number and the preset wildcard character are arranged and combined to obtain the telephone number containing the digital number and the preset wildcard character, and the method further comprises the following steps: determining the number digits of the telephone numbers in the contact address list; dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number; placing the digital number according to the tail position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a first telephone number set; placing the digital numbers according to the middle position area, and completing other idle positions of the telephone numbers by using the preset wildcard characters to obtain a second telephone number set; placing the digital number according to the header position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a third telephone number set;
matching the telephone number containing the number and the preset wildcard with the telephone number in the contact address list, and further comprising: matching the first telephone number set, the second telephone number set and the third telephone number set with the telephone numbers in the contact address list respectively;
determining whether a telephone number containing the digital number exists in the contact address list or not according to a matching result;
if yes, displaying the telephone number containing the number and the corresponding contact information according to the sequence of successively executing the number matching operation, and specifically comprising the following steps: and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the arrangement sequence of the matching results respectively corresponding to the first telephone number set, the second telephone number set and the third telephone number set.
2. The method for searching for a phone number according to claim 1, wherein the displaying the phone number including the number and the corresponding contact information comprises:
acquiring historical calling times corresponding to the telephone number containing the digital number;
and displaying the telephone number containing the digital number and the corresponding contact information according to the sequence of the historical calling times.
3. The method for searching for a phone number according to claim 1, wherein the displaying the phone number including the number and the corresponding contact information comprises:
acquiring a contact name corresponding to the telephone number containing the digital number;
and displaying the telephone number containing the number and the corresponding contact information according to the arrangement sequence of the initials of the contact names.
4. The method of claim 1, wherein before presenting the telephone number containing the numeric number and the corresponding contact information, the method further comprises:
acquiring contact person grouping information respectively corresponding to different telephone numbers in a contact person address list;
configuring the contact person priority corresponding to the contact person grouping information;
the displaying the telephone number containing the number and the corresponding contact information specifically comprises the following steps:
acquiring contact person grouping information corresponding to the telephone number containing the digital number;
and arranging and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the contact priority order of the contact grouping information corresponding to the telephone numbers containing the digital numbers.
5. An apparatus for searching for a telephone number, comprising:
the receiving unit is used for receiving the digital numbers input by the user in the communication interface, wherein the digital numbers are continuous numbers and are part of the complete telephone numbers;
a determining unit, configured to perform digit matching operation on the digit numbers sequentially with a tail position area, a middle position area, and a head position area of a telephone number in a contact address book, and determine whether a telephone number including the digit number exists in the contact address book, where the digit number may be located at any position of the telephone number;
wherein the determination unit includes:
the combination module is used for arranging and combining the digital number and a preset wildcard to obtain a telephone number containing the digital number and the preset wildcard, and is specifically used for: determining the number digits of the telephone numbers in the contact address list; dividing the telephone number into different position areas according to the number digits to obtain a head position area, a middle position area and a tail position area of the telephone number; placing the digital number according to the tail position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a first telephone number set; placing the digital numbers according to the middle position area, and completing other idle positions of the telephone numbers by using the preset wildcard characters to obtain a second telephone number set; placing the digital number according to the header position area, and completing other idle positions of the telephone number by using the preset wildcard to obtain a third telephone number set;
the matching module is used for matching the telephone number which contains the digital number and the preset wildcard and is combined by the combination module with the telephone number in the contact address list, and is specifically used for respectively matching the first telephone number set, the second telephone number set and the third telephone number set with the telephone number in the contact address list;
the determining module is used for determining whether the telephone number containing the digital number exists in the contact address list or not according to the matching result of the matching module; and a display unit, configured to display the telephone number including the number and the corresponding contact information according to a sequence of successively performing number matching operations if the determination unit determines that the telephone number including the number exists in the contact address book, and specifically, display the telephone number including the number and the corresponding contact information according to an arrangement sequence of matching results respectively corresponding to the first telephone number set, the second telephone number set, and the third telephone number set.
6. The apparatus for searching telephone number according to claim 5,
the display unit is specifically configured to: acquiring historical calling times corresponding to the telephone number containing the digital number; and displaying the telephone number containing the digital number and the corresponding contact information according to the sequence of the historical calling times.
7. The apparatus for searching telephone number according to claim 5,
the display unit is specifically configured to: acquiring a contact name corresponding to the telephone number containing the digital number; and displaying the telephone number containing the number and the corresponding contact information according to the arrangement sequence of the initials of the contact names.
8. The apparatus for searching for a telephone number according to claim 5, wherein said apparatus further comprises: an acquisition unit and a configuration unit;
the acquisition unit is used for acquiring the contact person group information corresponding to different telephone numbers in the contact person address list;
the configuration unit is used for configuring the contact person priority corresponding to the contact person grouping information;
the display unit is specifically configured to: acquiring contact person grouping information corresponding to the telephone number containing the digital number; and arranging and displaying the telephone numbers containing the digital numbers and the corresponding contact information according to the contact priority order of the contact grouping information corresponding to the telephone numbers containing the digital numbers.
CN201710078511.9A 2017-02-14 2017-02-14 Telephone number searching method and device Active CN106790925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710078511.9A CN106790925B (en) 2017-02-14 2017-02-14 Telephone number searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710078511.9A CN106790925B (en) 2017-02-14 2017-02-14 Telephone number searching method and device

Publications (2)

Publication Number Publication Date
CN106790925A CN106790925A (en) 2017-05-31
CN106790925B true CN106790925B (en) 2020-06-05

Family

ID=58956407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710078511.9A Active CN106790925B (en) 2017-02-14 2017-02-14 Telephone number searching method and device

Country Status (1)

Country Link
CN (1) CN106790925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329118A (en) * 2021-06-02 2021-08-31 展讯通信(天津)有限公司 Contact information display method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859455A (en) * 2005-11-07 2006-11-08 华为技术有限公司 Main call number matching method
CN101299842A (en) * 2007-04-30 2008-11-05 广东国笔科技有限公司 Method for seeking mobile phone storage information
EP2782401A1 (en) * 2013-03-21 2014-09-24 Samsung Electronics Co., Ltd. Method for displaying contact information and electronic device thereof
CN104917871A (en) * 2015-05-22 2015-09-16 深圳市万普拉斯科技有限公司 Contact number selecting method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330687B (en) * 2008-06-10 2013-06-05 中兴通讯股份有限公司 Method for matching numbers according to call frequency and mobile phone
CN103297602A (en) * 2012-03-01 2013-09-11 腾讯科技(深圳)有限公司 Method, device and mobile terminal for processing contacts
US8891750B2 (en) * 2012-12-11 2014-11-18 Soundbite Communications, Inc. Identifying recycled telephone numbers
CN103929520B (en) * 2014-04-17 2017-11-10 惠州Tcl移动通信有限公司 A kind of method and system of cell-phone telephone number matching
CN104539780A (en) * 2015-01-28 2015-04-22 中科创达软件股份有限公司 Contact information searching method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859455A (en) * 2005-11-07 2006-11-08 华为技术有限公司 Main call number matching method
CN101299842A (en) * 2007-04-30 2008-11-05 广东国笔科技有限公司 Method for seeking mobile phone storage information
EP2782401A1 (en) * 2013-03-21 2014-09-24 Samsung Electronics Co., Ltd. Method for displaying contact information and electronic device thereof
CN104917871A (en) * 2015-05-22 2015-09-16 深圳市万普拉斯科技有限公司 Contact number selecting method

Also Published As

Publication number Publication date
CN106790925A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN102143256B (en) Shortcut operation method of contacts and mobile terminal
US20090049392A1 (en) Visual navigation
US8116745B2 (en) Method for displaying caller information of portable device
US8874106B2 (en) Method and apparatus for providing automatic international and local call dialing in a mobile communication terminal
US20090170487A1 (en) Method and device for displaying caller information
CN102883059B (en) The display method and apparatus of note, the method and apparatus of answer short message
US9723143B2 (en) Methods and systems for automated business dialing
JP2006311556A (en) Telephone directory searching method implemented by mobile communication terminal and telephone directory searching means in mobile communication terminal
CN101945157A (en) Telephone directory sequencing and searching method of telephone terminal
CN102238285A (en) Smart dialing method and mobile terminal
US9465859B2 (en) Computer-implemented method of arranging text items in a predefined order
CN106790925B (en) Telephone number searching method and device
CN105827780B (en) A kind of incoming display method and device
CN106792600A (en) A kind of information processing method, mobile terminal, netscape messaging server Netscape
EP2312812A1 (en) Method for performing communication with shortcut numbers in a mobile terminal
WO2016145921A1 (en) Method and device for selecting service provider service, and computer storage medium
CN105898047A (en) Contact dialing management method, dialing method and related devices
EP2506540A1 (en) Enhanced contact information
US9020931B2 (en) System and method for enhancing search experience of a user of a communication device
CN103092944B (en) A kind of rendering method of communication information Search Results, device and terminal
CN105100351A (en) Method and device for grouping contact entries in contact list
CN113572897A (en) Caller identification method and device, storage medium and electronic equipment
JP5397510B2 (en) Terminal device and program
US8064933B2 (en) Dialing system and method for a communication device
CN104469012B (en) Mobile communication terminal is harassed store method and the mobile communication terminal of address

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