Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to accompanying drawing four embodiment that develop simultaneously, the present invention is described in more detail.
At first, need to prove that the terminal of describing includes but not limited to electronic equipments such as mobile phone, PDA, various smart mobile phone, net book and palmtop PC in the middle of the embodiment of the invention, be that example describes with the mobile phone in the present embodiment, but this is not construed as limiting the invention.The residing network of mobile phone is with GSM (Global System for Mobile Communications in addition, global system for mobile communications) is described for example, in the time of in being in other networks, respective change also can take place in corresponding network side entity, but this is not construed as limiting the invention.
First embodiment provided by the invention has provided a kind of method of automatic ordering, comprising:
The method of the automatic ordering in the present embodiment is specifically referring to Fig. 1, and concrete steps are as follows:
Steps A 01, obtain the information of home location at terminal place from network side;
Terminals such as mobile phone can be at this machine during at network registry, obtains the information of home location of server from the corresponding entity of network side, and for example, information of home location is that move in Beijing or move Tianjin; Can certainly initiatively send query messages by terminals such as mobile phones to the corresponding entity of network side, the information of home location that obtains terminal places such as mobile phone of replying by this query messages, optionally, also can in the cycle of setting, receive the information of home location of subscribe message by subscribe to message to the corresponding entity of network side about information of home location with terminal places such as acquisition mobile phones.
LoCal number obtains the information of home location of described loCal number in the SIM card of steps A 03, the described terminal of parsing;
Can utilize the query software that is loaded in the mobile phone to resolve the information of home location of the loCal number in the SIM card in the mobile phone, for example, the information of home location that utilizes query software to obtain loCal number is that move in Beijing.
The number of storing in steps A 05, the described terminal contact of parsing also obtains information of home location;
Utilization is loaded in query software in the mobile phone and resolves the number of storing in the cell phone address book and obtain information of home location.
Steps A 07, to the number identical with the information of home location at described terminal place and with the information of home location of described loCal number identical number mark respectively;
Described to the number identical and the number identical with the information of home location of described loCal number with the information of home location at described terminal place respectively mark comprise:
Utilize the number of the identity marking same home ground information of information of home location; Perhaps,
Utilize information of home location to the number division group of same home ground information and according to the described group of described information of home location mark.
Steps A 09, mark is crossed the front that two class telephone numbers come described address list.
The front that the two class telephone numbers that mark is crossed come described address list comprises:
The number identical with the information of home location at described terminal place come before the number identical with the information of home location of described loCal number; Perhaps,
The number identical with the information of home location of described loCal number come before the number identical with the information of home location at described terminal place.
The method of the automatic ordering that the embodiment of the invention provides has solved the address list of terminal such as user's mobile phone or phone directory can not be in different cities and the problem of ordering automatically according to mobile phone.
Second embodiment provided by the invention has provided the method for another kind of automatic ordering, and at first application scenarios is identical with first embodiment as shown in Figure 2, and steps A 01 to A09 is identical with the corresponding steps of first embodiment, does not repeat them here.
Steps A 11, the front mark that will come described address list are crossed two class telephone numbers and are carried out minor sort more respectively according to any mode in letter, stroke, surname or the contact frequency.
The replacement step of steps A 11 or subsequent step, be the name of described group according to resolving that information of home location that the number stored in the described terminal contact obtains divides group with the number of storing in the described terminal contact and utilize described information of home location respectively.
Understandable, the replacement of steps A 11 and steps A 11 or subsequent step are optional steps, can promote user's experience so that the ordering of address list hommization more but increase above-mentioned steps, increase the attraction of terminals such as mobile phone, make the easier popularization of mobile phone that possesses this function reach and popularize.
The method of the automatic ordering that the embodiment of the invention provides has not only solved the address list of terminal such as user's mobile phone or phone directory can not be in different cities and the problem of ordering automatically according to mobile phone, can also make the automatic ordering hommization more of address list of mobile phone, promote user's experience.
The 3rd embodiment provided by the invention has provided a kind of terminal, comprising:
At first application scenarios is identical with first and second embodiment, does not repeat them here.
Referring to shown in Figure 3, described terminal comprises as lower module:
Acquisition module B01: the information of home location that is used for obtaining the terminal place from network side;
The first parsing module B02: the SIM card loCal number that is used for resolving described terminal obtains the information of home location of described loCal number;
The second parsing module B03: be used for resolving the number that described terminal contact stores and obtain information of home location;
Mark module B04: be used for to number identical and the number difference mark identical with the information of home location of described loCal number with the information of home location at described terminal place;
Order module B05: be used for mark is crossed the front that two class telephone numbers come described address list.
The concrete course of work of each module repeats no more referring to the related content of first embodiment and second embodiment herein.
Address list or phone directory that the terminal that is provided in the middle of the present embodiment has solved user's terminals such as mobile phone can not be in different cities and the problem of automatic ordering according to mobile phone.
The 4th embodiment provided by the invention has provided another kind of terminal, comprising:
At first application scenarios is identical with first, second and third embodiment, does not repeat them here.
As shown in Figure 4, module B01 is identical with the 3rd embodiment to module B05, repeats no more herein;
Optionally, described terminal also comprises:
Secondary order module B06: be used for that the front mark that comes described address list is crossed two class telephone numbers and carry out minor sort more respectively according to any mode of letter, stroke, surname or contact frequency.
Optionally, described terminal also comprises:
Group divides module B07: being used for dividing group and utilizing described information of home location respectively according to the number that the information of home location that described second parsing module B03 parsing draws is stored described terminal contact is the name of described group.
Optionally, described terminal also comprises:
Module B08 is set: the sortord that is used for being provided with described secondary order module B 06.
As shown in Figure 5, optionally, described mark module B 04 comprises following any module at least:
The first mark module B041: the number that is used to utilize the identity marking same home ground information of information of home location;
The second mark module B042: be used to utilize information of home location to the number division group of same home ground information and according to the described group of described information of home location mark.
More than the implementation method of each module referring to the content of first embodiment and second embodiment.
Need to prove: secondary order module B06, group divide module B07 and module B08 is set is optional module, but increase the ordering hommization more of the address list of the terminals such as any made mobile phone in the above-mentioned module, promote user's experience, increase the attraction of terminals such as mobile phone, make the easier popularization of terminals such as mobile phone that possesses this function reach and popularize.
The first mark module B041 and the second mark module B042 are optional modules, but increase the different demands that above-mentioned module can satisfy the user.
The terminal of the automatic ordering that the embodiment of the invention provides has not only solved the address list of terminal such as user's mobile phone or phone directory can not be in different cities and the problem of ordering automatically according to mobile phone, can also make the automatic ordering hommization more of address list of mobile phone, promote user's experience.
It will be appreciated by those skilled in the art that: accompanying drawing is the schematic diagram of a preferred embodiment, and the module in the accompanying drawing, entity or flow process might not be that enforcement is essential to the invention.
It will be appreciated by those skilled in the art that: the module of the terminal among the embodiment or entity can be distributed in according to the description of embodiment in the terminal of embodiment, also can carry out respective change and be arranged in the one or more equipment that are different from present embodiment.Module of the foregoing description or entity can be merged into a module or entity, also can essence further split into a plurality of submodules or entity.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform, based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.