The content of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of method for expanding contact person's mode, being capable of basis
Contact person in user oneself address list searches the people's contact method for requiring to look up.
The present invention provide technical scheme be:
A kind of method for expanding contact person's mode, including:
Two grades of address lists of a contact person B in the one-level address list of a mobile terminal are obtained, wherein, on the mobile terminal
The address list of setting is one-level address list, and it is logical that the contact person in the one-level address list is arranged on its corresponding mobile terminal
News are recorded and are stored on the webserver for two grades of address lists, and the one-level address list and two grades of address lists;
From two grades of address lists of the contact person B, obtain the contact person B allow the mobile terminal user A or
The linkman set J of person user A places group access, wherein, the permission or the authority of prevention that the contact person B is arranged is stored in
On the webserver;
Search for the presence or absence of the Given information identical contact person with people C to be searched in the linkman set J, if
Exist, then Search Results are stored in linkman set K;
Judge whether the contact person in the linkman set K allows the friend of the contact person B or friend place group to visit
Ask, if allowing, contact person's contact method of permission is shown, if not allowing, Search Results are sky.
Preferably, the method for described expansion contact person's mode, if not existing in the linkman set J and treating to look into
The Given information identical contact person of the people C for looking for, then continue the three-level communication for obtaining the contact person D in the linkman set J
Record, wherein, the three-level address list be the contact person D in two grades of address lists arranges on its corresponding mobile terminal lead to
News are recorded, and the three-level address list is stored on the webserver;
From the three-level address list, obtaining the contact person D allows the user A or user A institute of the mobile terminal
In the linkman set L of group access, wherein, the permission or the authority of prevention that the contact person D is arranged is stored in network service
On device;
Search for the presence or absence of the Given information identical contact person with people C to be searched in the linkman set L, if
Exist, then Search Results are stored in linkman set M;
Judge whether the contact person in the linkman set M allows the friend of the contact person D or friend place group to visit
Ask, if allowing, contact person's contact method of permission is shown, if not allowing, Search Results are sky.
Preferably, the method for described expansion contact person's mode, the Given information of the people C to be searched is its name
Word or the Business Name at place.
Preferably, the method for described expansion contact person's mode, the one-level address list, two grades of address lists or three-level
The contact feature field of address list includes:Name, company, number and group.
Preferably, the method for described expansion contact person's mode, the people C the to be searched and contact person B is
Friend.
Preferably, the method for described expansion contact person's mode, the permission of the setting or the authority feature of prevention
Field includes:The group of permission, it is allowed to individual, it is allowed to the group of access and allow the people for accessing.
Preferably, the method for described expansion contact person's mode, if described do not allow, Search Results are space-time, are carried
Show that the people or people to be searched that do not find correlation do not allow to access.
The present invention at least includes following beneficial effect:Because the present invention is first by the one-level address list of acquisition mobile terminal
In a contact person B two grades of address lists;Then the contact person B is obtained from two grades of address lists of contact person B allows movement eventually
The linkman set J of the user A or user A place group access at end;And search in linkman set J whether there is and treat to look into
The Given information identical contact person of the people C for looking for, if existing, Search Results is stored in linkman set K;Finally judge
Whether the contact person in linkman set K allows the friend of contact person B or friend place group access, if allowing, by what is allowed
Contact person's contact method shows, if not allowing, Search Results are sky, like this, when knowing that the people C for requiring to look up is
When the friend or colleague of oneself contact person in address list B, it is possible to easily scan for searching, and in oneself address list
Contact person B is provided with the authority for whether allowing oneself to access she or he friend, the friend of same oneself contact person in address list B
Whether friend or colleague C are also equipped with allowing friend's (such as oneself) of contact person B to access, and the setting for mutually limiting also is protected
The privacy of circle of friends.
The further advantage of the present invention, target and feature embody part by description below, and part will also be by this
The research of invention and practice and be understood by the person skilled in the art.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
To make the advantage of technical solution of the present invention clearer, the present invention is made specifically with reference to the accompanying drawings and examples
It is bright.
As shown in figure 1, the method for expanding contact person's mode that one embodiment of the invention is provided, including:
Two grades of address lists of a contact person B in S110, the one-level address list of one mobile terminal of acquisition, wherein, the movement
The address list arranged in terminal is one-level address list, and the contact person in the one-level address list sets on its corresponding mobile terminal
The address list put is two grades of address lists, and the one-level address list and two grades of address lists be stored on the webserver;
S120, from two grades of address lists of the contact person B, obtaining the contact person B allows the use of the mobile terminal
The linkman set J of family A or user A places group access, wherein, permission or the authority of prevention that the contact person B is arranged
It is stored on the webserver;
It should be noted that the present invention needs the contact method for carrying out contact person in memory communicating record using the webserver,
When mobile phone users need the contact method of retrieval people to be searched, the embodiment of the present invention will be from mobile terminal
The contact person that the contact person of storage or mobile phone users are stored on network starts retrieval.
Wherein, the contact feature field of the one-level address list or two grades of address lists includes:Name, company, number
Code and group.The people C the to be searched and contact person B is friend, so can targetedly to setting on mobile terminal
Contact person in the one-level address list put scan for search, rather than to address list in whole contact persons scan for, change
It is numerous for letter, if when whether the friend of the All Contacts in retrieval one-level address list or company are the object for wanting to look for, only
It is the repetitive operation of the present embodiment.
Wherein, the permission of the setting or the rights field of prevention include:The group of permission, it is allowed to individual, it is allowed to visit
The group asked and the people for allowing access.It is specific to allow access data to refer to form one.
Form one
Whether there is in S130, the search linkman set J and contacted with the Given information identical of people C to be searched
People, if existing, Search Results is stored in linkman set K;
Wherein, the Given information of the people C to be searched is the Business Name at its name or place.
Whether S140, the contact person judged in the linkman set K allow the friend of the contact person B or friend to be located
Group access, if allowing, contact person's contact method of permission is shown, if not allowing, Search Results are sky.
Specifically, if described do not allow, Search Results are space-time, point out not finding the people of correlation or treat to search
People do not allow access.
For embodiment one, for a specific example, when mobile phone users want the good friend Linda by oneself, look for
To the contact method of the good friend FAE of Linda, there are following several situations:
First, Linda and FAE recognizes, and Linda first allows mobile phone users to search her friend, and the friend of Linda
FAE allows the friend of Linda to find oneself, then mobile phone users can be successfully found the contact method of FAE.
2nd, Linda does not allow mobile phone users to search her friend, although the good friend FAE of Linda allows Linda's
Friend finds oneself, then mobile phone users can not be successfully found the contact method of FAE.
3rd, Linda allows mobile phone users to search her friend, but the good friend FAE of Linda does not allow Linda's
Friend finds oneself, then mobile phone users can not be successfully found the contact method of FAE.
So mobile phone users want the good friend's FAE contact methods for being successfully found Linda, it is necessary to which Linda allows mobile whole
End subscriber searches her friend, and the friend FAE of Linda allows the friend of also Linda to find oneself, if the two conditions are not
Can meet, lookup will fail, the benefit for so arranging can protect the privacy of address list circle of friends.
Therefore, because the embodiment of the present invention is first by two of a contact person B in the one-level address list for obtaining mobile terminal
Level address list;Then the contact person B is obtained from two grades of address lists of contact person B allows the user A or use of mobile terminal
The linkman set J of family A places group access;And search in linkman set J with the presence or absence of the known letter with people C to be searched
Breath identical contact person, if existing, Search Results is stored in linkman set K;In finally judging linkman set K
Whether contact person allows the friend of contact person B or friend place group access, if allowing, contact person's contact method of permission is shown
Illustrate and, if not allowing, Search Results are sky, like this, when knowing that the people C for requiring to look up contacts in being oneself address list
When the friend or colleague of people B, it is possible to easily scan for searching, and the contact person B in oneself address list is provided with and is
The no authority for allowing oneself to access she or he friend, the friend or colleague C of same oneself contact person in address list B also set
Whether allow the friend (such as oneself) of contact person B access, the setting for mutually limiting also protects the privacy of circle of friends if being equipped with.
The method of expansion contact person's mode that further embodiment of this invention is provided, also includes:
Two grades of address lists of a contact person B in S210, the one-level address list of one mobile terminal of acquisition, wherein, the movement
The address list arranged in terminal is one-level address list, and the contact person in the one-level address list sets on its corresponding mobile terminal
The address list put is two grades of address lists, and the one-level address list and two grades of address lists be stored on the webserver;
S220, from two grades of address lists of the contact person B, obtaining the contact person B allows the use of the mobile terminal
The linkman set J of family A or user A places group access, wherein, permission or the authority of prevention that the contact person B is arranged
It is stored on the webserver;
Whether there is in S230, the search linkman set J and contacted with the Given information identical of people C to be searched
People, if there is no the Given information identical contact person with people C to be searched in the linkman set J, continues to obtain
The three-level address list of the contact person D in the linkman set J, wherein, the three-level address list is in two grades of address lists
The address lists that arrange on its corresponding mobile terminal of contact person D, and the three-level address list is stored on the webserver;
S240, from the three-level address list, obtaining the contact person D allows the user A or use of the mobile terminal
The linkman set L of family A places group access, wherein, the permission or the authority of prevention that the contact person D is arranged is stored in network
On server;
Whether there is in S250, the search linkman set L and contacted with the Given information identical of people C to be searched
People, if existing, Search Results is stored in linkman set M;
Whether S260, the contact person judged in the linkman set M allow the friend of the contact person D or friend to be located
Group access, if allowing, contact person's contact method of permission is shown, if not allowing, Search Results are sky.
Hunting zone is extended to three-level address list by the embodiment of the present invention two, makes hunting zone wider, is improve successfully
Probability.Likewise, hunting zone can be expanded to N levels, at this moment, it is also possible to which, by the other number of limiter stage, the embodiment of the present invention exists
This does not do specific restriction, and this can be determined according to actual conditions.
Although embodiment of the present invention is disclosed as above, it is not restricted to listed in specification and embodiment
With, it can be applied to completely various suitable the field of the invention, for those skilled in the art, can be easily
Other modification is realized, therefore under the universal limited without departing substantially from claim and equivalency range, the present invention is not limited
In specific details and shown here as the legend with description.