CN108881589A - Contact method determines method, apparatus and storage medium - Google Patents

Contact method determines method, apparatus and storage medium Download PDF

Info

Publication number
CN108881589A
CN108881589A CN201810570184.3A CN201810570184A CN108881589A CN 108881589 A CN108881589 A CN 108881589A CN 201810570184 A CN201810570184 A CN 201810570184A CN 108881589 A CN108881589 A CN 108881589A
Authority
CN
China
Prior art keywords
user
contact person
contact
incidence relation
communication information
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.)
Granted
Application number
CN201810570184.3A
Other languages
Chinese (zh)
Other versions
CN108881589B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810570184.3A priority Critical patent/CN108881589B/en
Publication of CN108881589A publication Critical patent/CN108881589A/en
Application granted granted Critical
Publication of CN108881589B publication Critical patent/CN108881589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4594Address books, i.e. directories containing contact information about correspondents

Abstract

This disclosure relates to which a kind of contact method determines method, apparatus and storage medium, this method includes:The contact method of the first user is searched in the communication information prestored on mobile terminals according to look-up command;When the contact method of the first user is not present in the communication information prestored, the contact method of the first user is searched according to predetermined contact person's incidence relation;When finding the first user in contact person's incidence relation, and when the first user is the direct correlation contact person or indirect association contact person of any contact person in contact person's incidence relation, the acquiring way of the contact method of the first user is exported.Therefore, expand seeking scope using preset contact person's incidence relation, can be improved when user carries out searching contact person a possibility that getting contact method, and the contact person for being not present in communication information, the acquisition process of its contact method can be simplified.

Description

Contact method determines method, apparatus and storage medium
Technical field
This disclosure relates to electronic technology field, and in particular, to a kind of contact method determines that method, apparatus and storage are situated between Matter.
Background technique
Contact method is can to reach the relevant information directly linked up to individual, is used for interpersonal chat and friendship Stream, while being also a kind of embodiment of message informing mode.Past contact method is mainly in the form of general correspondence:Cable address, postal Political affairs coding, better address, fixed-line telephone number etc..With the continuous development and technology innovation of information technology, contact method now Become rich and varied, further includes all kinds of social softwares other than telephone number, such as:QQ, MSN, Fetion and wechat etc.. In the related technology, user can search in the information for having stored in local address book, to determine the connection for needing to obtain The contact method of people.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of contact method and determines method, apparatus and storage Medium.
According to the first aspect of the embodiments of the present disclosure, a kind of contact method is provided and determines method, the method includes:
Search the contact method of the first user in the communication information prestored on mobile terminals according to look-up command, described One user is the user for needing to carry out contact method lookup in the look-up command;
When the contact method of first user is not present in the communication information prestored, according to predetermined Contact person's incidence relation searches the contact method of first user;Wherein, contact person's incidence relation includes:Each user Communication information in each contact person direct correlation contact person and indirect association contact person;
When finding first user in contact person's incidence relation, and first user is the contact person In incidence relation when the direct correlation contact person or the indirect association contact person of any contact person, exports described first and use The acquiring way of the contact method at family.
Optionally, described first user, and first user to be found in contact person's incidence relation It is defeated when being the direct correlation contact person or the indirect association contact person of any contact person in contact person's incidence relation The acquiring way of the contact method of first user out, including:
When finding first user in contact person's incidence relation, and first user is the contact person In incidence relation when the direct correlation contact person of the first contact person, output can be by described in first contact person acquisition The contact method of the information of the contact method of first user and first contact person;
When finding first user in contact person's incidence relation, and first user is described first When being the indirect association contact person of people, the first contact person described in contact person's incidence relation and described first is obtained Intermediate contact person between user;
Output can obtain the correspondent party of first user by first contact person and the intermediate contact person The contact method of the information of formula and first contact person.
Optionally, contact person's incidence relation is contact relationship figure, the method also includes:
Obtain the communication information for having authorized and having carried out the associated all users of contact relationship;
The communication information of all users is aggregated into the contact relationship figure using preset aggregating algorithm;
It wherein, include the corresponding communication information of each user, each user in the communication information of all users Corresponding communication information includes the title of the All Contacts of each user and the contact method of the All Contacts.
Optionally, described when the contact method of first user is not present in the communication information prestored, root The contact method of first user is searched according to predetermined contact person's incidence relation, including:
It is searched using the contact method that preset path algorithm carries out first user based on contact person's incidence relation.
Optionally, the method also includes:When the acquiring way of the contact method of first user is multiple approach, According to preset screening rule, recommend the optimum way in the multiple approach.
Optionally, the connection of the first user is searched in the communication information prestored on mobile terminals according to look-up command Mode, including:
Determine that the information of corresponding first user in the look-up command, the information of first user include described The title of the name of first user and/or first user in social software;
It according to the information of first user, is matched in the communication information prestored, the communication prestored The telephone number for including each contact person prestored in information and/or the contact information in the social software;
When the contact person with the information matches of first user is not present in the communication information prestored, determine The contact method of first user is not present in the communication information prestored;
Wherein, the contact method of first user includes that the telephone number of first user and/or described first are used Title of the family in the social software.
According to the second aspect of an embodiment of the present disclosure, a kind of contact method determining device is provided, described device includes:
Searching module is configured as searching the first user in the communication information prestored on mobile terminals according to look-up command Contact method, first user be needed in the look-up command carry out contact method lookup user;
The searching module is additionally configured to when the connection that first user is not present in the communication information prestored When being mode, the contact method of first user is searched according to predetermined contact person's incidence relation;Wherein, the connection People's incidence relation includes:The direct correlation contact person of each contact person in the communication information of each user and indirect association connection People;
Approach output module is configured as that first user, and institute ought be found in contact person's incidence relation State the direct correlation contact person or the indirect association that the first user is any contact person in contact person's incidence relation When contact person, the acquiring way of the contact method of first user is exported.
Optionally, the approach output module, including:
Output sub-module is configured as that first user ought be found in contact person's incidence relation, and described When first user is the direct correlation contact person of the first contact person in contact person's incidence relation, output can pass through institute State the first contact person obtain first user contact method information and first contact person contact method;
Contact person's acquisition submodule is configured as that first user ought be found in contact person's incidence relation, And first user obtains in contact person's incidence relation when being the indirect association contact person of first contact person Described in intermediate contact person between the first contact person and first user;
The output sub-module, being additionally configured to output can be by first contact person and the intermediate contact person Obtain the information of the contact method of first user and the contact method of first contact person.
Optionally, contact person's incidence relation is contact relationship figure, and described device further includes:
Data obtaining module is configured as obtaining the communication for having authorized and having carried out the associated all users of contact relationship Information;
Relational graph aggregation module is configured as polymerizeing the communication information of all users using preset aggregating algorithm At the contact relationship figure;
It wherein, include the corresponding communication information of each user, each user in the communication information of all users Corresponding communication information includes the title of the All Contacts of each user and the contact method of the All Contacts.
Optionally, the searching module is configured as:
It is searched using the contact method that preset path algorithm carries out first user based on contact person's incidence relation.
Optionally, described device further includes:
Approach recommending module is configured as when the acquiring way of the contact method of first user is multiple approach, According to preset screening rule, recommend the optimum way in the multiple approach.
Optionally, the searching module, including:
Information determines submodule, is configured to determine that the information of corresponding first user in the look-up command, institute The information for stating the first user includes the title of the name and/or first user of first user in social software;
Information matches submodule is configured as the information according to first user, in the communication information prestored It is matched, includes the telephone number of each contact person prestored in the communication information prestored and/or soft in the social activity Contact information in part;
Contact method determines submodule, is configured as being not present and first user when in the communication information prestored Information matches contact person when, determine in the communication information prestored be not present first user contact method;
Wherein, the contact method of first user includes that the telephone number of first user and/or described first are used Title of the family in the social software.
According to the third aspect of an embodiment of the present disclosure, a kind of contact method determining device is provided, including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Search the contact method of the first user in the communication information prestored on mobile terminals according to look-up command, described One user is the user for needing to carry out contact method lookup in the look-up command;
When the contact method of first user is not present in the communication information, according to predetermined contact person Incidence relation searches the contact method of first user;Wherein, contact person's incidence relation includes:The communication of each user The direct correlation contact person and indirect association contact person of each contact person in information;
When finding first user in contact person's incidence relation, and first user is the contact person In incidence relation when the direct correlation contact person or the indirect association contact person of any contact person, exports described first and use The acquiring way of the contact method at family.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine program instruction realizes that contact method provided by disclosure first aspect determines method when the program instruction is executed by processor The step of.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Search the contact method of the first user in the communication information prestored on mobile terminals according to look-up command, described One user is the user for needing to carry out contact method lookup in the look-up command;When there is no described the in the communication information When the contact method of one user, the contact method of first user is searched according to predetermined contact person's incidence relation;Its In, contact person's incidence relation includes:The direct correlation contact person of each contact person in the communication information of each user and Indirect association contact person;When finding first user in contact person's incidence relation, and first user is institute When stating the direct correlation contact person or the indirect association contact person of any contact person in contact person's incidence relation, institute is exported State the acquiring way of the contact method of the first user.Therefore, technical solution provided by the disclosure can be in the communication letter prestored When the contact method of required contact person being not present in breath, expand seeking scope, Neng Gou using preset contact person's incidence relation It is improved when user carries out searching contact person a possibility that getting contact method, and the connection for being not present in communication information People can simplify the acquisition process of its contact method.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is the flow chart that a kind of contact method shown according to an exemplary embodiment determines method;
Fig. 2 is a kind of schematic diagram of contact relationship figure shown according to an exemplary embodiment;
Fig. 3 is the flow chart that another contact method shown according to an exemplary embodiment determines method;
Fig. 4 is the flow chart that another contact method shown according to an exemplary embodiment determines method;
Fig. 5 is the flow chart that another contact method shown according to an exemplary embodiment determines method;
Fig. 6 is the flow chart that another contact method shown according to an exemplary embodiment determines method;
Fig. 7 is a kind of block diagram of contact method determining device shown according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of approach output module shown according to an exemplary embodiment;
Fig. 9 is the block diagram of another contact method determining device shown according to an exemplary embodiment;
Figure 10 is the block diagram of another contact method determining device shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of searching module shown according to an exemplary embodiment;
Figure 12 is the block diagram of another contact method determining device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the flow chart that a kind of contact method shown according to an exemplary embodiment determines method, as shown in Figure 1, This approach includes the following steps:
In a step 101, the connection of the first user is searched in the communication information prestored on mobile terminals according to look-up command It is mode, wherein the first user is to look in instruction needing to carry out the user of contact method lookup.
It is exemplary, it, can be mobile in mobile phone, tablet computer etc. when user needs to obtain the contact method of a certain contact person Look-up command is initiated in terminal, searches contact method of the contact person as the first user, to determine whether in movement The contact method of the contact person is prestored in terminal, for example, it may be the telephone number of the first user or the first user are in society Hand over the title in software.
When in the communication information prestored on mobile terminals there are when the contact method of first user, such as first User is Zhang San, and the telephone number of the Zhang San stored on mobile terminal is:" 131XXXXXXXX " is prompted in response to inquiry instruction User, which directly dials the telephone number, can relate to Zhang San.Otherwise, the operation for carrying out below step, is associated with using contact person Relationship determines the contact method of the first user.
In a step 102, when the contact method of the first user is not present in the communication information prestored, according to true in advance Fixed contact person's incidence relation searches the contact method of the first user.
Wherein, contact person's incidence relation includes:The direct correlation of each contact person in the communication information of each user joins It is people and indirect association contact person.And contact person's incidence relation can be used the form of chart and present, i.e., and contact person is closed System's figure, as shown in Figure 2.Wherein, indirect association contact person, which can be, needs just relate to by the direct contact person of more than one Contact person.For example, Zhang San has the contact method of this contact person of Li Si, and Li Si has the correspondent party of five this contact person of king Formula, therefore Li Si is the direct correlation contact person of Zhang San, king fifth is that Zhang San indirect association contact person, and king is fifth is that Li Si's is straight Meet Associate to Contact.Any contact person in contact relationship figure all have with other contact persons incidence relation (it is direct or Indirectly), each contact person has the contact method of other several contact persons, such as Zhang San this contact person, there is Zhang Si, Lee Four, the contact method of Zhao two.Illustratively, which can store on the server, when needs are according to the connection When people's incidence relation carries out the lookup of contact method, mobile terminal issues acquisition instruction, for obtaining contact person from server Incidence relation, to carry out the lookup of the contact method of the first user.Contact person's incidence relation can also be stored in mobile terminal On, convenient for the lookup at any time of the contact method to the first user.Contact person's incidence relation can also be updated simultaneously, it is right It is added and perfect in the contact method of contact person and contact person.
In step 103, when finding the first user in contact person's incidence relation, and the first user is contact person's association In relationship when the direct correlation contact person or indirect association contact person of any contact person, obtaining for the contact method of the first user is exported Take approach.
Illustratively, the first user can be found by contact person's incidence relation, illustrating should in contact person's incidence relation First user may be the direct correlation contact person either indirect association contact person of any contact person.Therefore, it can use pre- If routing algorithm is searched based on the contact method that contact person's incidence relation carries out the first user;Wherein, preset path algorithm can be with Including:Shortest distance algorithm, Dijkstra's algorithm, the graceful Ford algorithm of Bell, Freud's algorithm or queue optimization algorithm. Above-mentioned preset path algorithm is the algorithm for calculating a node to the distance between other other nodes, wherein enlightening Jie Sitela (English:Dijkstra) algorithm is typical shortest-path rout ing algorithms, be mainly characterized by with starting point be The heart extends layer by layer outward, until expanding to terminal.It can obtain the optimal solution of shortest path using dijkstra's algorithm, but by It is many in the node that it traverses calculating, so low efficiency.And Freud's algorithm full name is Floyd-Warshall algorithm, is to use The shortest distance between each pair of point is found out, it needs to store side with adjacency matrix, this algorithm is by considering best sub- road Diameter obtains optimal path.Therefore, can according to the different characteristic of above-mentioned preset path algorithm, in a case of a considerable amount of data, It is capable of the approach of the significantly more efficient determining contact method for obtaining first user.
It should be noted that the acquiring way of the contact method may uniquely be also likely to be multiple.
In conclusion the contact method that the disclosure provides determines method, prestored on mobile terminals according to look-up command The contact method of the first user is searched in communication information, the first user is to look in instruction needing to carry out the use of contact method lookup Family;When the contact method of the first user is not present in the communication information prestored, it is associated with and is closed according to predetermined contact person The contact method of the first user is searched by system;Wherein, contact person's incidence relation includes:It is each in the communication information of each user It is the direct correlation contact person and indirect association contact person of people;When finding the first user, and in contact person's incidence relation When one user is the direct correlation contact person or indirect association contact person of any contact person in contact person's incidence relation, output first The acquiring way of the contact method of user.Therefore, it can be improved when user carries out searching contact person and get contact method Possibility, and the contact person for being not present in communication information can simplify the acquisition process of its contact method, and then be promoted The user satisfaction of user.
Fig. 3 is the flow chart that another contact method shown according to an exemplary embodiment determines method, such as Fig. 3 institute Show, works as described in step 103 and find the first user in contact person's incidence relation, and the first user is contact person's incidence relation In any contact person direct correlation contact person or indirect association contact person when, export the first user contact method acquisition way Diameter, including:
In step 1030, judge the first user whether be the first contact person direct correlation contact person.
When finding the first user in contact person's incidence relation, and the first user is first in contact person's incidence relation When being the direct correlation contact person of people, step 1031 is executed, output can obtain the connection of the first user by the first contact person The contact method of the information of mode and the first contact person.
It is exemplary, when the first user is the direct correlation contact person of the first contact person, as shown in Figure 2, Zhang San wants The contact method of king five, direct correlation contact person of the king five as Li Si are obtained, therefore exports the connection of the first contact person (Li Si) It is information needed for the contact method of mode and Li Si's acquisition the first user (king five), for example, Li Si needs by social soft The contact method that part gets king five can provide acquiring way with the contact method for obtaining king five for Zhang San.And as the first user When indirect association contact person as the first contact person, then the corresponding operation for executing step 1032- step 1033.
When finding the first user in contact person's incidence relation, and the first user is the indirect association connection of the first contact person When being people, step 1032 is executed, acquisition is contacted in the centre in contact person's incidence relation between the first contact person and the first user People.
In step 1033, output can obtain the correspondent party of the first user by the first contact person and intermediate contact person The contact method of the information of formula and the first contact person.
That is, obtaining the first connection first as indirect association contact person of first user as the first contact person People is for relating to intermediate contact person needed for the first user.For example, when Zhang San needs to obtain the connection of Zhao six (the first user) When mode, required intermediate contact person is first determined, including:Li Si and king five, Li Si is as the first contact person, first user Zhao six For its indirect Associate to Contact.Needed for obtaining the contact method of Zhao six according to the contact method of Li Si and Li Si respectively again later The information wanted, such as Li Si contact king five and need through QQ, and king five has the telephone number etc. of Zhao six, enables to Zhang San by the One contact person Li Si, and intermediate contact person king five, the final contact method for determining first user Zhao six, above-mentioned is the first use The acquiring way of the contact method at family.
Exemplary, contact person's incidence relation is contact relationship figure.As shown in figure 4, the contact method determines that method is also wrapped It includes following for the step of determining contact relationship figure:
At step 104, the communication information for having authorized and having carried out the associated all users of contact relationship is obtained.
In step 105, the communication information of all users is aggregated into contact relationship figure using preset aggregating algorithm.
It wherein, include the corresponding communication information of each user in the communication information of all users, each user is corresponding logical News information includes the title of the All Contacts of each user and the contact method of All Contacts.Aggregating algorithm includes and looks into Set algorithm, mapping reduction algorithm or Si Bake algorithm.
Illustratively, above-mentioned aggregating algorithm is that the communication information for will acquire is polymerize, can be by a large amount of data Information fusion becomes the data structure with clear incidence relation, e.g. tree, reticular structure etc..Wherein, Union-find Sets (English:Union-find Sets) it is a kind of for handling the consolidation problem of some disjoint sets, the realization of Union-find Sets algorithm First by Initialize installation, then tree of the determining element where it is searched, tree construction is merged later, and then realize and utilize Converging operation of the Union-find Sets algorithm to data information.Contact relationship figure is generated later according to the user's choice by aggregating algorithm It stores it on server/mobile terminal, can also carry out periodically or updates at any time, and then improve the contact relationship Figure.
Fig. 5 is the flow chart that another contact method shown according to an exemplary embodiment determines method, such as Fig. 5 institute Show, this method further includes:
In step 106, when the acquiring way of the contact method of the first user is multiple approach, according to preset screening Rule recommends the optimum way in multiple approach.
Illustratively, can be arranged in preset screening rule, needed in acquiring way by intermediate Associate to Contact It is fewer, the more worth recommendation of the acquiring way;And contact method is contact method of the telephone number than other social software forms More worth recommendation.That is, for example, there are two types of the acquiring way of the contact method of the first user, a kind of acquiring way is logical 3 contact persons are crossed, the contact method of the first user can be got using telephone number;And another acquiring way is desirable By 4 contact persons, the contact method of the first user is got using multiple social softwares.Therefore, it is recommended that the first obtains way Diameter is optimum way, using less intermediate contact person and easily contacts tool, can more fast and accurately get The contact method of first user.
Fig. 6 is the flow chart that another contact method shown according to an exemplary embodiment determines method, such as Fig. 6 institute Show, the correspondent party of the first user is searched in the communication information prestored on mobile terminals described in step 101 according to look-up command Formula, including:
In step 1011, the information of corresponding first user in look-up command is determined, the information of the first user includes the The title of the name of one user and/or the first user in social software.
In step 1012, it according to the information of the first user, is matched in the communication information prestored, the communication prestored The telephone number for including each contact person prestored in information and/or the contact information in social software.
In step 1013, when the contact person with the information matches of the first user is not present in the communication information prestored, Determine the contact method that the first user is not present in the communication information prestored.
Wherein, the contact method of the first user includes the first user telephone number and/or the first user are in social software In title.
Illustratively, when look-up command is:When searching the contact method of " Mike ", it can determine that the information of the first user is " Mike " searches " Mike " in the communication information prestored later, it may for example comprise it is corresponding that " Mike " whether is stored in phone directory Telephone number, can also be searched in the social softwares such as wechat, QQ, if having the user of entitled " Mike ".When not looking into Find the telephone number of " Mike " and in social software also not with " Mike " corresponding user when, illustrate the communication prestored believe There is no the contact method of the first user " Mike " in breath, needs to carry out the operation of step 102 according to contact person's incidence relation, so as to Determine the acquiring way for obtaining the contact method of the first user " Mike ".
In addition, when there is no the telephone number of " Mike " in the communication information prestored, but in social software, e.g. QQ Having remarks is the contact person of " Mike ", it can determine has matched contact person in the communication information prestored, prompts to utilize QQ It is contacted with " Mike ".
In conclusion the contact method that the disclosure provides determines method, prestored on mobile terminals according to look-up command The contact method of the first user is searched in communication information, the first user is to look in instruction needing to carry out the use of contact method lookup Family;When the contact method of the first user is not present in the communication information prestored, it is associated with and is closed according to predetermined contact person The contact method of the first user is searched by system;Wherein, contact person's incidence relation includes:It is each in the communication information of each user It is the direct correlation contact person and indirect association contact person of people;When finding the first user, and in contact person's incidence relation When one user is the direct correlation contact person or indirect association contact person of any contact person in contact person's incidence relation, output first The acquiring way of the contact method of user.Therefore, it can be improved when user carries out searching contact person and get contact method Possibility, and the contact person for being not present in communication information can simplify the acquisition process of its contact method, to promote use The user satisfaction at family.
Fig. 7 is a kind of block diagram of contact method determining device shown according to an exemplary embodiment.Referring to Fig. 7, the dress Setting 700 includes:
Searching module 710 is configured as searching first in the communication information prestored on mobile terminals according to look-up command The contact method of user, the first user are to look in instruction needing to carry out the user of contact method lookup.
Searching module 710 is additionally configured to when the contact method of the first user is not present in communication information, according to pre- First determining contact person's incidence relation searches the contact method of the first user;Wherein, contact person's incidence relation includes:Each user Communication information in each contact person direct correlation contact person and indirect association contact person.
Approach output module 720 is configured as that the first user, and the first user ought be found in contact person's incidence relation When being the direct correlation contact person or indirect association contact person of any contact person in contact person's incidence relation, the first user's of output The acquiring way of contact method.
Fig. 8 is a kind of block diagram of approach output module shown according to an exemplary embodiment.Referring to Fig. 8, the approach is defeated Module 720 includes out:
Output sub-module 721 is configured as that the first user ought be found in contact person's incidence relation, and the first user is In contact person's incidence relation when the direct correlation contact person of the first contact person, output can obtain first by the first contact person and use The contact method of the information of the contact method at family and the first contact person.
Contact person's acquisition submodule 722 is configured as that the first user, and first ought be found in contact person's incidence relation When user is the indirect association contact person of the first contact person, the first contact person and the first user in contact person's incidence relation are obtained Between intermediate contact person.
Output sub-module 721, first can be obtained by the first contact person and intermediate contact person by being additionally configured to output The contact method of the information of the contact method of user and the first contact person.
Fig. 9 is the block diagram of another contact method determining device shown according to an exemplary embodiment.Referring to Fig. 9, connection It is people's incidence relation for contact relationship figure, which further includes:
Data obtaining module 730 is configured as obtaining the communication for having authorized and having carried out the associated all users of contact relationship Information.
Relational graph aggregation module 740 is configured as polymerizeing the communication information of all users using preset aggregating algorithm At contact relationship figure.
It wherein, include the corresponding communication information of each user in the communication information of all users, each user is corresponding logical News information includes that the title of the All Contacts of each user and the contact method of All Contacts, aggregating algorithm include and look into Set algorithm, mapping reduction algorithm or Si Bake algorithm.
Optionally, searching module 710 is configured as:
It is searched using the contact method that preset path algorithm carries out the first user based on contact person's incidence relation;
Wherein, preset path algorithm includes:Shortest distance algorithm, Dijkstra's algorithm, the graceful Ford algorithm of Bell, Fu Luo Yi De algorithm or queue optimization algorithm.
Figure 10 is the block diagram of another contact method determining device shown according to an exemplary embodiment.Referring to Fig.1 0, The device 700 further includes:
Approach recommending module 750 is configured as when the acquiring way of the contact method of the first user is multiple approach, root According to preset screening rule, recommend the optimum way in multiple approach.
Figure 11 is a kind of block diagram of searching module shown according to an exemplary embodiment.Referring to Fig.1 1, the searching module 710 include:
Information determines submodule 711, is configured to determine that the information of corresponding first user in look-up command, the first user Information include the title of the name and/or the first user of the first user in social software.
Information matches submodule 712 is configured as the information according to the first user, the progress in the communication information prestored Match, the telephone number and/or the contact method in social software for including each contact person prestored in the communication information prestored Information.
Contact method determines submodule 713, is configured as when there is no the letters with the first user in the communication information prestored When ceasing matched contact person, the contact method that the first user is not present in the communication information prestored is determined.
Wherein, the contact method of the first user includes the first user telephone number and/or the first user are in social software In title.
In conclusion the contact method determining device that the disclosure provides, prestores on mobile terminals according to look-up command The contact method of the first user is searched in communication information, the first user is to look in instruction needing to carry out the use of contact method lookup Family;When the contact method of the first user is not present in the communication information prestored, it is associated with and is closed according to predetermined contact person The contact method of the first user is searched by system;Wherein, contact person's incidence relation includes:It is each in the communication information of each user It is the direct correlation contact person and indirect association contact person of people;When finding the first user, and in contact person's incidence relation When one user is the direct correlation contact person or indirect association contact person of any contact person in contact person's incidence relation, output first The acquiring way of the contact method of user.Therefore, it can be improved when user carries out searching contact person and get contact method Possibility, and the contact person for being not present in communication information can simplify the acquisition process of its contact method, to promote use The user satisfaction at family.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
The disclosure also provides a kind of computer readable storage medium, is stored thereon with computer program instructions, which refers to The step of enabling the localization method that disclosure offer is provided when being executed by processor.
Figure 12 is the block diagram of another contact method determining device 1200 shown according to an exemplary embodiment.For example, Device 1200 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 2, device 1200 may include following one or more components:Processing component 1202, memory 1204, Electric power assembly 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute Instruction, to complete all or part of the steps of above-mentioned localization method.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 may include power management System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module It can be keyboard, click wheel, key etc..These keys may include but be not limited to:Homepage button, volume button, start button and Locking button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detecte the state that opens/closes of device 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, determine method for executing contact method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete above-mentioned correspondent party Formula determines method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and practicing the disclosure Case.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability Variation follows the general principles of this disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (14)

1. a kind of contact method determines method, which is characterized in that the method includes:
The contact method of the first user is searched in the communication information prestored on mobile terminals according to look-up command, described first uses Family is the user for needing to carry out contact method lookup in the look-up command;
When the contact method of first user is not present in the communication information prestored, according to predetermined connection People's incidence relation searches the contact method of first user;Wherein, contact person's incidence relation includes:Each user's is logical Interrogate the direct correlation contact person and indirect association contact person of each contact person in information;
When finding first user in contact person's incidence relation, and first user is contact person's association In relationship when the direct correlation contact person or the indirect association contact person of any contact person, export first user's The acquiring way of contact method.
2. the method according to claim 1, wherein described ought find institute in contact person's incidence relation The first user is stated, and first user is the direct correlation contact person of any contact person in contact person's incidence relation Or when the indirect association contact person, the acquiring way of the contact method of first user is exported, including:
When finding first user in contact person's incidence relation, and first user is contact person's association In relationship when the direct correlation contact person of the first contact person, output can obtain described first by first contact person The contact method of the information of the contact method of user and first contact person;
When finding first user in contact person's incidence relation, and first user is first contact person The indirect association contact person when, obtain the first contact person described in contact person's incidence relation and first user Between intermediate contact person;Output can obtain first user by first contact person and the intermediate contact person Contact method information and first contact person contact method.
3. according to the method described in claim 2, it is characterized in that, contact person's incidence relation is contact relationship figure, institute The method of stating further includes:
Obtain the communication information for having authorized and having carried out the associated all users of contact relationship;
The communication information of all users is aggregated into the contact relationship figure using preset aggregating algorithm;
It wherein, include the corresponding communication information of each user in the communication information of all users, each user is corresponding Communication information include each user All Contacts title and the All Contacts contact method.
4. according to the method described in claim 3, it is characterized in that, described when there is no institutes in the communication information prestored When stating the contact method of the first user, the correspondent party of first user is searched according to predetermined contact person's incidence relation Formula, including:
It is searched using the contact method that preset path algorithm carries out first user based on contact person's incidence relation.
5. the method according to claim 1, wherein the method also includes:When the connection of first user When the acquiring way of mode is multiple approach, according to preset screening rule, recommend the optimum way in the multiple approach.
6. the method according to claim 1, wherein described lead to according to what look-up command prestored on mobile terminals The contact method of the first user is searched in news information, including:
Determine that the information of corresponding first user in the look-up command, the information of first user include described first The title of the name of user and/or first user in social software;
It according to the information of first user, is matched in the communication information prestored, the communication information prestored In include the telephone number of each contact person prestored and/or the contact information in the social software;
When the contact person with the information matches of first user is not present in the communication information prestored, determine described The contact method of first user is not present in the communication information prestored;
Wherein, the contact method of first user includes that the telephone number of first user and/or first user exist Title in the social software.
7. a kind of contact method determining device, which is characterized in that described device includes:
Searching module is configured as searching the connection of the first user in the communication information prestored on mobile terminals according to look-up command It is mode, first user is the user for needing to carry out contact method lookup in the look-up command;
The searching module is additionally configured to when the correspondent party that first user is not present in the communication information prestored When formula, the contact method of first user is searched according to predetermined contact person's incidence relation;Wherein, the contact person is closed Connection relationship includes:The direct correlation contact person and indirect association contact person of each contact person in the communication information of each user;
Approach output module is configured as when finding first user in contact person's incidence relation, and described the One user is the direct correlation contact person or the indirect association connection of any contact person in contact person's incidence relation When people, the acquiring way of the contact method of first user is exported.
8. device according to claim 7, which is characterized in that the approach output module, including:
Output sub-module is configured as that first user, and described first ought be found in contact person's incidence relation When user is the direct correlation contact person of the first contact person in contact person's incidence relation, output can pass through described One contact person obtains the information of the contact method of first user and the contact method of first contact person;
Contact person's acquisition submodule is configured as that first user, and institute ought be found in contact person's incidence relation When to state the first user be the indirect association contact person of first contact person, the institute in contact person's incidence relation is obtained State the intermediate contact person between the first contact person and first user;Output can be by first contact person and described Intermediate contact person obtains the information of the contact method of first user and the contact method of first contact person.
9. device according to claim 8, which is characterized in that contact person's incidence relation is contact relationship figure, institute Stating device further includes:
Data obtaining module is configured as obtaining the communication letter for having authorized the progress associated all users of contact relationship Breath;
Relational graph aggregation module is configured as that the communication information of all users is aggregated into institute using preset aggregating algorithm State contact relationship figure;
It wherein, include the corresponding communication information of each user in the communication information of all users, each user is corresponding Communication information include each user All Contacts title and the All Contacts contact method.
10. device according to claim 9, which is characterized in that the searching module is configured as:
It is searched using the contact method that preset path algorithm carries out first user based on contact person's incidence relation.
11. device according to claim 7, which is characterized in that described device further includes:
Approach recommending module is configured as when the acquiring way of the contact method of first user is multiple approach, according to Preset screening rule recommends the optimum way in the multiple approach.
12. device according to claim 7, which is characterized in that the searching module, including:
Information determines submodule, is configured to determine that the information of corresponding first user in the look-up command, described The information of one user includes the title of the name and/or first user of first user in social software;
Information matches submodule is configured as the information according to first user, carries out in the communication information prestored Matching includes the telephone number of each contact person prestored and/or in the social software in the communication information prestored Contact information;
Contact method determines submodule, is configured as when there is no the letters with first user in the communication information prestored When ceasing matched contact person, the contact method that first user is not present in the communication information prestored is determined;
Wherein, the contact method of first user includes that the telephone number of first user and/or first user exist Title in the social software.
13. a kind of contact method determining device, which is characterized in that including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The contact method of the first user is searched in the communication information prestored on mobile terminals according to look-up command, described first uses Family is the user for needing to carry out contact method lookup in the look-up command;
When the contact method of first user is not present in the communication information, it is associated with according to predetermined contact person Relationship searches the contact method of first user;Wherein, contact person's incidence relation includes:The communication information of each user In each contact person direct correlation contact person and indirect association contact person;
When finding first user in contact person's incidence relation, and first user is contact person's association In relationship when the direct correlation contact person or the indirect association contact person of any contact person, export first user's The acquiring way of contact method.
14. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the computer The step of any one of claim 1-6 the method is realized when program instruction is executed by processor.
CN201810570184.3A 2018-06-05 2018-06-05 Contact information determining method, device and storage medium Active CN108881589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810570184.3A CN108881589B (en) 2018-06-05 2018-06-05 Contact information determining method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810570184.3A CN108881589B (en) 2018-06-05 2018-06-05 Contact information determining method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108881589A true CN108881589A (en) 2018-11-23
CN108881589B CN108881589B (en) 2021-04-13

Family

ID=64336642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810570184.3A Active CN108881589B (en) 2018-06-05 2018-06-05 Contact information determining method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108881589B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661485A (en) * 2008-08-29 2010-03-03 国际商业机器公司 Method and equipment for supporting query of contact information
CN102413233A (en) * 2011-10-26 2012-04-11 北京百纳威尔科技有限公司 Contact information expansion processing method and device of mobile terminal
CN106657525A (en) * 2016-10-28 2017-05-10 重庆蓝岸通讯技术有限公司 Method for expanding the contact means of contact person

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661485A (en) * 2008-08-29 2010-03-03 国际商业机器公司 Method and equipment for supporting query of contact information
CN102413233A (en) * 2011-10-26 2012-04-11 北京百纳威尔科技有限公司 Contact information expansion processing method and device of mobile terminal
CN106657525A (en) * 2016-10-28 2017-05-10 重庆蓝岸通讯技术有限公司 Method for expanding the contact means of contact person

Also Published As

Publication number Publication date
CN108881589B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN105677316A (en) Message notification filtering method and apparatus
CN106528709A (en) Social information recommendation method and apparatus
CN104320830B (en) The display methods and device of wireless device list, wireless device and its broadcasting method
CN105120084A (en) Image-based communication method and apparatus
CN104636453A (en) Illegal user data identification method and device
CN107423386A (en) Generate the method and device of electronic card
CN106775224A (en) Remark information method to set up and device
CN106027336A (en) Equipment sharing method and device
CN105956067A (en) Resource searching method and apparatus
CN105100513A (en) Incoming call information processing method, device, and incoming call business server
CN105678266A (en) Method and device for combining photo albums of human faces
CN109634913A (en) Storage method, device and the electronic equipment of document
CN109388699A (en) Input method, device, equipment and storage medium
CN109075856A (en) flight path configuration method and device
CN105843894A (en) Information recommending method and device
CN105245681B (en) Label addition method and device
CN105577521B (en) Good friend's group technology, apparatus and system
CN105516895B (en) User information pushing method and device
CN105701245A (en) Picture recommendation method and device
CN105512231A (en) Contact person search method, device and terminal device
CN106412205B (en) Contact sequencing method and device, terminal device
CN105740356A (en) Target audio marking method and apparatus
CN104636442A (en) Name card transfer method and device
CN105100410A (en) Method and device for aggregating third-party telephone application
CN105516466B (en) Call the method and device at interface

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