Background technology
Along with the development of mobile communication technology, mobile phone has become requisite communication tool in the daily life.The telephone directory of mobile phone often stores a large amount of name of contact persons, and with the corresponding phone number of each name of contact person, prior art provides the method for inquiry home zone of mobile phone number, this is based on operator is that the phone number of zones of different has distributed different number sections, for example, the phone number of ownership place A has different number sections with the phone number of ownership place B, and then the user can judge the ownership place of each phone number in the telephone directory one by one according to number section of each phone number.
Fig. 1 is for inquiring about the structure chart of the mobile phone of mobile phone contact ownership place in the prior art.As shown in Figure 1, this mobile phone comprises: phonebook module 101, enquiry module 102, input module 103 and output module 104 as a result.
Wherein, phonebook module 101 is identical with the function of cell-phone telephone book, and phonebook module 101 is connected with enquiry module 102, be used to preserve the name of contact person of user mobile phone and respectively with the corresponding phone number of each name; Input module 103 is connected with enquiry module 102, is used to receive the mobile phone contact name to be checked of user's input; Enquiry module 102, be connected with output module 104 as a result with phonebook module 101, input module 103, be used for searching corresponding phone number in phonebook module 101 according to the mobile phone contact name, and according to the ownership place of the set number section allocation rule inquiry mobile phone contact of operator, with Query Result to output module 104 outputs as a result; Output module 104 as a result, are connected with enquiry module 102, are used to present the ownership place of the mobile phone contact that enquiry module 102 inquired.
Yet, in said method, when the ownership place position of user inquiring mobile phone contact, must inquire about the ownership place position of mobile phone contact one by one, ownership place position that can't the quick search mobile phone contact, in addition, in daily life, the user has such demand usually, when the user arrives a city owing to going on business or travelling, can get in touch the friend who also is arranged in this city at present, the method of above-mentioned inquiry home zone of mobile phone number can only inquire the ownership place of each phone number in the telephone directory, and can't inquire about in the telephone directory at present and the contact person who lays oneself open to same city, real-time geographic position that can't the quick search mobile phone contact, as seen, the position that the method that prior art provided can't the quick search mobile phone contact.
The utility model content
In view of this, the utility model provides a kind of mobile phone of inquiring about the mobile phone contact position, position that can the quick search mobile phone contact.
For solving the problems of the technologies described above, the technical solution of the utility model is achieved in that
A kind of mobile phone of inquiring about the mobile phone contact position comprises:
Preserve the name of contact person of user mobile phone and respectively with the phonebook module of the corresponding phone number of each name,
Link to each other with phonebook module, with the enquiry module that the information in the phonebook module is inquired about, and
Link to each other with enquiry module, presenting the output module as a result of Query Result,
Described mobile phone also comprises: module is set, is connected with enquiry module, so that inquiry geographic area scope to be set; Wherein,
Described enquiry module, according to each phone number that set inquiry geographic area scope of module and phonebook module are stored is set, inquiry and the identical name of contact person in active user's mobile phone geographical position in phonebook module, and the name of contact person identical with active user's mobile phone geographical position that will inquire exported to output module as a result as Query Result.
Described enquiry module comprises: first positioning unit, second positioning unit and matching unit; Wherein,
First positioning unit and is provided with module and is connected with matching unit, according to the set inquiry geographic area scope of module is set, and the geographical position of location active user's mobile phone, and the geographical position of active user's mobile phone exported to matching unit;
Second positioning unit, with phonebook module, module be set be connected with matching unit, according to the set inquiry geographic area scope of module is set, locatees the geographical position of each phone number in the phonebook module, and the geographical position of each phone number is exported to matching unit;
Matching unit, be connected with output module as a result with second positioning unit, phonebook module, first positioning unit, the geographical position of active user's mobile phone of locating according to first positioning unit and the geographical position of each phone number that second positioning unit is located, obtain and the identical phone number in active user's mobile phone geographical position, and from phonebook module, inquire the phone number pairing name of contact person identical with active user's mobile phone geographical position, with Query Result to output module output as a result.
Described enquiry module comprises: first positioning unit, second positioning unit, matching unit and ownership place query unit; Wherein,
First positioning unit and is provided with module and is connected with matching unit, according to the set inquiry geographic area scope of module is set, and the geographical position of location active user's mobile phone, and the geographical position of active user's mobile phone exported to matching unit;
The ownership place Query Database stores the corresponding relation of cell-phone number section and ownership place position in advance;
Second positioning unit, with ownership place Query Database, phonebook module, module be set be connected with matching unit, according to the cell-phone number section that set inquiry geographic area scope of module and ownership place data query library storage are set and the corresponding relation of ownership place position, locate the ownership place position of each phone number in the phonebook module, and the ownership place position of each phone number is exported to matching unit;
Matching unit, be connected with output module as a result with second positioning unit, phonebook module, first positioning unit, the geographical position of active user's mobile phone of locating according to first positioning unit and the ownership place position of each phone number that second positioning unit is located, obtain ownership place position and the identical phone number in active user's mobile phone geographical position, and from phonebook module, inquire the ownership place position phone number pairing name of contact person identical with active user's mobile phone geographical position, with Query Result to output module output as a result.
According to technical scheme provided by the utility model, the user is by after being provided with module inquiry geographic area scope being set, enquiry module is inquired about in phonebook module and the identical name of contact person in active user's mobile phone geographical position according to the set inquiry geographic area scope of module is set, then as a result output module present that enquiry module inquires with the identical name of contact person in active user's mobile phone geographical position, like this, realized the quick search of mobile phone contact position.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, scheme described in the utility model is described in further detail.
Core concept of the present utility model is: the user is by after being provided with module inquiry geographic area scope being set, enquiry module is inquired about geographical position or ownership place position and the identical name of contact person in active user's mobile phone geographical position according to the set inquiry geographic area scope of module is set in phonebook module, output module presents geographical position or the ownership place position and the identical name of contact person in active user's mobile phone geographical position that enquiry module inquires as a result then, has realized the quick search of mobile phone contact position.
First embodiment
Fig. 2 is the structure chart of first embodiment of a kind of mobile phone of inquiring about the mobile phone contact position provided by the utility model.As shown in Figure 2, described mobile phone comprises: phonebook module 201, module 202, enquiry module 203 and output module 204 as a result are set.
Respectively each module is described in detail below.
Phonebook module 201, preserve the name of contact person of user mobile phone and respectively with the corresponding phone number of each name.
In actual applications, phonebook module 201 is identical with the function of cell-phone telephone book, the memory mobile phone name of contact person and respectively with the corresponding phone number of each name.
Module 202 is set, the query region scope is set.
The user can be provided with the geographic area scope in module 202 is set, for example, as if the contact person who needs inquiry and user in same city, then the geographic area scope is set to the city, if need inquiry and the user contact person in same province, then the geographic area scope is set to the province.
In actual applications, module 202 is set provides an option or menu to the user, select to inquire about the geographic area scope for the user.
Enquiry module 203 is according to each phone number that set inquiry geographic area scope of module 202 and phonebook module 201 are stored being set, inquiry and the identical name of contact person in active user's mobile phone geographical position in phonebook module 201.
Enquiry module 203 comprises: first positioning unit 2031, second positioning unit 2032 and matching unit 2033.
Wherein, first positioning unit 2031 is according to the set inquiry geographic area scope of module 202 being set, the geographical position of location active user's mobile phone.Second positioning unit 2032 is according to the set inquiry geographic area scope of module 202 being set, the geographical position of each phone number in the phonebook module 201 of location.The geographical position of active user's mobile phone that matching unit 2033 is located according to first positioning unit 2031 and the geographical position of each phone number that second positioning unit 2032 is located, obtain and the identical phone number in active user's mobile phone geographical position, and from phonebook module 201, inquire the phone number pairing name of contact person identical with active user's mobile phone geographical position.
In actual applications, the localization method of first positioning unit 2031 and second positioning unit 2032 can adopt localization method of the prior art, for example, can adopt global positioning system (Global PositioningSystem, GPS), under normal conditions, the function of first positioning unit 2031 and second positioning unit 2032 is realized by the GPS that is installed in the user mobile phone.In addition, need to prove, in the utility model, also require the mobile phone of mobile phone contact to open positioning function, if the mobile phone of mobile phone contact is not supported positioning function, perhaps do not open positioning function, then can't inquire about the current geographical position of mobile phone contact.
Certainly, foregoing description is only for illustrating, the localization method of second positioning unit 2032 is not only for said method, for example, second positioning unit 2032 also can send locating request message to each mobile phone contact, and receive the location response message that each mobile phone contact is replied, so also can realize location to the geographical position of each phone number.
Output module 204 as a result, present enquiry module 203 that inquired with the identical name of contact person in active user's mobile phone geographical position.
The mode that presents is generally: will inquire the phone number pairing name of contact person identical with active user's mobile phone geographical position and be presented on the user mobile phone screen, and call out for the user.
Second embodiment
Fig. 3 is the structure chart of first embodiment of a kind of mobile phone of inquiring about the mobile phone contact position provided by the utility model.As shown in Figure 3, described mobile phone comprises: phonebook module 301, module 302, enquiry module 303 and output module 304 as a result are set.
Respectively each module is described in detail below.
Phonebook module 301, preserve the name of contact person of user mobile phone and respectively with the corresponding phone number of each name.
In actual applications, phonebook module 301 is identical with the function of cell-phone telephone book, the memory mobile phone name of contact person and respectively with the corresponding phone number of each name.
Module 302 is set, the query region scope is set.
The user can be provided with the geographic area scope in module 302 is set, for example, as if the contact person who needs inquiry and user in same city, then the geographic area scope is set to the city, if need inquiry and the user contact person in same province, then the geographic area scope is set to the province.
In actual applications, module 302 is set provides an option or menu to the user, select to inquire about the geographic area scope for the user.
Enquiry module 303 is according to each phone number that set inquiry geographic area scope of module 302 and phonebook module 301 are stored being set, inquiry and the identical name of contact person in active user's mobile phone ownership place position in phonebook module 301.
Enquiry module 303 comprises: first positioning unit 3031, second positioning unit 3032, matching unit 3033 and ownership place Query Database 3034.
Wherein, first positioning unit 3031 is according to the set inquiry geographic area scope of module 302 being set, the geographical position of location active user's mobile phone.Ownership place Query Database 3034 stores the corresponding relation of cell-phone number section and ownership place position in advance.Second positioning unit 3032 is located the ownership place position of each phone number in the phonebook module 301 according to the cell-phone number section and the corresponding relation of ownership place position that set inquiry geographic area scope of module 302 and 3034 storages of ownership place Query Database are set.The geographical position of active user's mobile phone that matching unit 3033 is located according to first positioning unit 3031 and the ownership place position of each phone number that second positioning unit 3032 is located, obtain ownership place position and the identical phone number in active user's mobile phone geographical position, and from phonebook module 301, inquire the ownership place position phone number pairing name of contact person identical with active user's mobile phone geographical position.
In actual applications, the localization method of first positioning unit 3031 can adopt localization method of the prior art, for example, can adopt global positioning system (Global Positioning System, GPS).
The cell-phone number section that ownership place Query Database 3034 is stored in advance and the corresponding relation of ownership place position are to formulate according to number section allocation rule of mobile operator, and concrete allocation rule is that operator is that the phone number of zones of different has distributed different number sections.
Output module 204 as a result, present enquiry module 203 that inquired with the identical name of contact person in active user's mobile phone geographical position.
Need to prove that in actual applications, difference according to actual needs may also can comprise other part in the mobile phone,, do not introduce one by one owing to do not have direct relation with scheme of the present invention.
Need to prove, first embodiment can be used for the quick search real-time geographic position mobile phone contact identical with the user geographical position, second embodiment can be used for the quick search ownership place position mobile phone contact identical with the user geographical position, when the user need accurately search when self being in the mobile phone contact of same geographic area, can adopt first embodiment, when the user is not high to the inquiry accuracy requirement, also can adopt second embodiment.
As seen, in the utility model, the user is by after being provided with module inquiry geographic area scope being set, enquiry module is inquired about geographical position or ownership place position and the identical name of contact person in active user's mobile phone geographical position according to the set inquiry geographic area scope of module is set in phonebook module, output module presents geographical position or the ownership place position and the identical name of contact person in active user's mobile phone geographical position that enquiry module inquires as a result then, like this, realized the quick search of mobile phone contact position.
The above is preferred embodiment of the present utility model only, is not to be used to limit protection range of the present utility model.All within spirit of the present utility model and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within the protection range of the present utility model.