CN108881589B - Contact information determining method, device and storage medium - Google Patents

Contact information determining method, device and storage medium Download PDF

Info

Publication number
CN108881589B
CN108881589B CN201810570184.3A CN201810570184A CN108881589B CN 108881589 B CN108881589 B CN 108881589B CN 201810570184 A CN201810570184 A CN 201810570184A CN 108881589 B CN108881589 B CN 108881589B
Authority
CN
China
Prior art keywords
contact
user
information
way
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810570184.3A
Other languages
Chinese (zh)
Other versions
CN108881589A (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • 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

The disclosure relates to a method, a device and a storage medium for determining a contact mode, wherein the method comprises the following steps: searching the contact way of the first user in communication information prestored on the mobile terminal according to the searching instruction; when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to the predetermined contact person incidence relation; and when the first user is found in the contact person association relationship and the first user is a direct association contact person or an indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user. Therefore, the searching range is expanded by using the preset contact association relation, the possibility of acquiring the contact way can be improved when the user searches the contact, and the acquiring process of the contact way of the contact person which does not exist in the communication information can be simplified.

Description

Contact information determining method, device and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for determining a contact manner, and a storage medium.
Background
The contact way is related information which can achieve direct communication to individuals, is used for chatting and exchanging between people, and is also an embodiment of a message informing way. The contact in the past was mainly in the form of ordinary letters: telegraph registration, postal codes, detailed addresses, fixed telephone numbers and the like. With the continuous development of information technology and the technological update, the contact ways nowadays become rich and colorful, including various social software besides phone numbers, such as: QQ, MSN, wechat, and the like. In the related art, a user can search the information stored in the local address book so as to determine the contact address of the contact person needing to be acquired.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a contact manner determining method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for determining a contact manner is provided, the method including:
searching a contact way of a first user in communication information prestored on a mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction;
when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to a predetermined contact person incidence relation; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
and when the first user is found in the contact person association relationship and the first user is the direct association contact person or the indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user.
Optionally, when the first user is found in the contact association relationship and the first user is the direct association contact or the indirect association contact of any contact in the contact association relationship, outputting an obtaining path of the contact information of the first user, including:
when the first user is found in the contact person association relationship and the first user is the direct association contact person of the first contact person in the contact person association relationship, outputting information of the contact way of the first user, which can be acquired through the first contact person, and the contact way of the first contact person;
when the first user is found in the contact association relationship and the first user is the indirect association contact of the first contact, acquiring an intermediate contact between the first contact and the first user in the contact association relationship;
and outputting the information of the contact way of the first user which can be acquired by the first contact person and the intermediate contact person and the contact way of the first contact person.
Optionally, the contact association relationship is a contact relationship graph, and the method further includes:
acquiring communication information of all users authorized to perform contact relation association;
aggregating the communication information of all users into the contact relation graph by using a preset aggregation algorithm;
the communication information of all the users comprises communication information corresponding to each user, and the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons.
Optionally, when the contact address of the first user does not exist in the pre-stored communication information, searching for the contact address of the first user according to a predetermined contact association relationship, includes:
and searching the contact information of the first user based on the contact incidence relation by utilizing a preset path algorithm.
Optionally, the method further includes: and when the obtaining way of the contact way of the first user is a plurality of ways, recommending the optimal way of the plurality of ways according to a preset screening rule.
Optionally, the searching for the contact information of the first user in the communication information pre-stored in the mobile terminal according to the search instruction includes:
determining information of the first user corresponding to the search instruction, wherein the information of the first user comprises a name of the first user and/or a name of the first user in social software;
matching in the pre-stored communication information according to the information of the first user, wherein the pre-stored communication information comprises pre-stored telephone numbers of each contact person and/or contact information in the social software;
when the pre-stored communication information does not have a contact matched with the information of the first user, determining that the contact way of the first user does not exist in the pre-stored communication information;
the contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
According to a second aspect of the embodiments of the present disclosure, there is provided a contact manner determination apparatus, the apparatus including:
the searching module is configured to search a contact way of a first user in communication information prestored on the mobile terminal according to a searching instruction, wherein the first user is a user needing to search the contact way in the searching instruction;
the searching module is further configured to search the contact way of the first user according to a predetermined contact association relation when the contact way of the first user does not exist in the pre-stored communication information; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
and the route output module is configured to output an obtaining route of the contact way of the first user when the first user is found in the contact person incidence relation and the first user is the direct incidence contact person or the indirect incidence contact person of any contact person in the contact person incidence relation.
Optionally, the route output module includes:
the output sub-module is configured to output information that the contact way of the first user can be obtained through the first contact person and the contact way of the first contact person when the first user is found in the contact person association relationship and the first user is the directly associated contact person of the first contact person in the contact person association relationship;
a contact obtaining sub-module configured to obtain an intermediate contact between the first contact and the first user in the contact association relationship when the first user is found in the contact association relationship and the first user is the indirect association contact of the first contact;
the output sub-module is further configured to output information that the contact address of the first user can be acquired through the first contact and the intermediate contact, and the contact address of the first contact.
Optionally, the contact association relationship is a contact relationship graph, and the apparatus further includes:
the information acquisition module is configured to acquire communication information of all the users authorized to perform contact relation association;
the relation graph aggregation module is configured to aggregate the communication information of all the users into the contact relation graph by using a preset aggregation algorithm;
the communication information of all the users comprises communication information corresponding to each user, and the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons.
Optionally, the lookup module is configured to:
and searching the contact information of the first user based on the contact incidence relation by utilizing a preset path algorithm.
Optionally, the apparatus further comprises:
and the path recommending module is configured to recommend the optimal path in the multiple paths according to a preset screening rule when the obtaining path of the contact way of the first user is multiple paths.
Optionally, the search module includes:
the information determination sub-module is configured to determine information of the corresponding first user in the search instruction, wherein the information of the first user comprises a name of the first user and/or a name of the first user in social software;
the information matching sub-module is configured to match the pre-stored communication information according to the information of the first user, wherein the pre-stored communication information comprises pre-stored telephone numbers of all contacts and/or contact information in the social software;
a contact information determining submodule configured to determine that the contact information of the first user does not exist in the pre-stored communication information when no contact matched with the information of the first user exists in the pre-stored communication information;
the contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
According to a third aspect of the embodiments of the present disclosure, there is provided a contact manner determining apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
searching a contact way of a first user in communication information prestored on a mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction;
when the contact way of the first user does not exist in the communication information, searching the contact way of the first user according to a predetermined contact person incidence relation; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
and when the first user is found in the contact person association relationship and the first user is the direct association contact person or the indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the contact address determination method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
searching a contact way of a first user in communication information prestored on a mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction; when the contact way of the first user does not exist in the communication information, searching the contact way of the first user according to a predetermined contact person incidence relation; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user; and when the first user is found in the contact person association relationship and the first user is the direct association contact person or the indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user. Therefore, according to the technical scheme provided by the disclosure, when the contact information of the required contact does not exist in the pre-stored communication information, the searching range can be expanded by using the preset contact association relation, the possibility of obtaining the contact information can be improved when the user searches the contact, and the obtaining process of the contact information of the contact person which does not exist in the communication information can be simplified.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of contact determination in accordance with an exemplary embodiment;
FIG. 2 is a diagram illustrating a contact relationship diagram in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another method of contact determination in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating yet another method of contact determination in accordance with an illustrative embodiment;
FIG. 5 is a flow diagram illustrating yet another method of contact determination in accordance with an illustrative embodiment;
FIG. 6 is a flow diagram illustrating yet another method of contact determination in accordance with an illustrative embodiment;
FIG. 7 is a block diagram illustrating a contact determination apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a pathway output module in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating another contact determination device in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating yet another contact determination device in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating a lookup module in accordance with an exemplary embodiment;
fig. 12 is a block diagram illustrating yet another contact address determining apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flow chart illustrating a contact determination method according to an exemplary embodiment, as shown in fig. 1, the method including the steps of:
in step 101, a contact way of a first user is searched in communication information pre-stored on the mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction.
For example, when a user needs to obtain a contact address of a certain contact, a search instruction may be initiated on a mobile terminal such as a mobile phone or a tablet computer to search for the contact address as a contact address of a first user, so as to determine whether the contact address of the contact is already pre-stored on the mobile terminal, for example, the contact address may be a phone number of the first user or a name of the first user in social software.
When the contact information of the first user exists in the pre-stored communication information on the mobile terminal, for example, the first user is zhang san, and the phone number of zhang san stored on the mobile terminal is: "131 XXXXXXXX", which prompts the user to directly dial the phone number in response to a query to reach page three. Otherwise, the operation of the following steps is carried out, and the contact way of the first user is determined by utilizing the contact person incidence relation.
In step 102, when the contact address of the first user does not exist in the pre-stored communication information, the contact address of the first user is searched according to the predetermined contact association relationship.
The contact person incidence relation comprises the following steps: and directly associating the contact and indirectly associating the contact with each contact in the communication information of each user. And the contact incidence relation can be presented in the form of a chart, namely a contact relation chart, as shown in fig. 2. Wherein an indirectly associated contact may be a contact that needs to be reached by more than one direct contact. For example, Zhang III has the contact address of the contact of Li IV, and Li IV has the contact address of the contact of Wang V, so that Li IV is a direct association contact of Zhang III, Wang V is an indirect association contact of Zhang III, and Wang V is a direct association contact of Li IV. Any contact in the contact relation graph has an association relation (direct or indirect) with other contacts, and each contact has contact addresses of other contacts, such as the contact of zhang three, the contact of zhang four, the contact of lie four and the contact of zhao two. For example, the association relationship of the contact person may be stored in the server, and when the search of the contact way needs to be performed according to the association relationship of the contact person, the mobile terminal sends an obtaining instruction, which is used for obtaining the association relationship of the contact person from the server, so as to perform the search of the contact way of the first user. The association relation of the contact persons can also be stored on the mobile terminal, so that the contact way of the first user can be conveniently searched at any time. Meanwhile, the incidence relation of the contact person can be updated, and the contact person and the contact way of the contact person are added and perfected.
In step 103, when the first user is found in the contact association relationship and the first user is a direct association contact or an indirect association contact of any contact in the contact association relationship, outputting an obtaining path of the contact information of the first user.
For example, the first user can be found through the contact association relationship, which indicates that the first user may be a direct associated contact or an indirect associated contact of any contact in the contact association relationship. Therefore, the contact information of the first user can be searched based on the contact incidence relation by utilizing a preset path algorithm; the preset path algorithm may include: a shortest distance algorithm, a dijkstra algorithm, a bellman ford algorithm, a freoude algorithm, or a queue optimization algorithm. The preset path algorithms are algorithms for calculating the distance from one node to another node, wherein Dijkstra is a typical shortest path routing algorithm and is mainly characterized in that the algorithm is expanded layer by layer from a starting point to an outer layer until the distance is expanded to a terminal point. The optimal solution of the shortest path can be obtained by utilizing the Dijkstra algorithm, but the efficiency is low because the nodes calculated by traversing the optimal solution are many. The Floyard algorithm, which is called Floyd-Warshall algorithm, is used to find the shortest distance between each pair of points, and it needs to use a adjacency matrix to store edges, and this algorithm obtains the best path by considering the best sub-paths. Therefore, according to different characteristics of the preset path algorithm, under the condition of a large amount of data, the way for acquiring the contact way of the first user can be determined more effectively.
It should be noted that the obtaining route of the contact address may be unique or multiple.
In summary, in the contact determination method provided by the present disclosure, the contact of the first user is searched in the communication information pre-stored on the mobile terminal according to the search instruction, where the first user is a user that needs to search for the contact in the search instruction; when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to the predetermined contact person incidence relation; the contact person incidence relation comprises the following steps: the direct associated contact and the indirect associated contact of each contact in the communication information of each user; and when the first user is found in the contact person association relationship and the first user is a direct association contact person or an indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user. Therefore, the possibility of acquiring the contact information can be improved when the user searches the contact information, and for the contact information which does not exist in the communication information, the acquisition process of the contact information can be simplified, so that the use satisfaction of the user is improved.
Fig. 3 is a flowchart illustrating another method for determining a contact address according to an exemplary embodiment, where as shown in fig. 3, when the first user is found in the contact association relationship and the first user is a direct associated contact or an indirect associated contact of any contact in the contact association relationship, the outputting of the obtaining route of the contact address of the first user in step 103 includes:
in step 1030, it is determined whether the first user is a direct contact of the first contact.
When the first user is found in the contact association relationship and the first user is a direct association contact of the first contact in the contact association relationship, step 1031 is executed to output information that the contact information of the first user can be acquired by the first contact and the contact information of the first contact.
For example, when the first user is a direct association contact of the first contact, as shown in fig. 2, zhangsan wants to acquire the contact address of wangwu, and wangwu serves as a direct association contact of lie four, so that the contact address of the first contact (lie four) and information required by lie four to acquire the contact address of the first user (wangwu) are output, for example, lie four needs to acquire the contact address of wangwu through social software to provide an acquisition path for zhangsan to acquire the contact address of wangwu. When the first user is an indirect contact of the first contact, the operations of step 1032-step 1033 are performed.
When the first user is found in the contact association relationship and the first user is an indirect association contact of the first contact, step 1032 is executed to obtain an intermediate contact between the first contact and the first user in the contact association relationship.
In step 1033, information that the contact address of the first user can be obtained through the first contact and the intermediate contact, and the contact address of the first contact are output.
That is, when the first user is an indirect association contact of the first contact, the first contact is first obtained for contacting an intermediate contact required by the first user. For example, when zhang san needs to obtain the contact address of zhao xi (the first user), the required intermediate contacts are determined, including: li four and Wang Wu, Li four as the first contact and first user Zhao Liu as the indirect associated contact. And then, acquiring information required by the Zhao six contact way according to the contact way of the Li four and the Li four, for example, the Li four contacts Wang through a QQ, the Li Wu has a telephone number of Zhao six, and the like, so that the Zhao six contact way of the first user can be finally determined by the Zhao five contact way of the first contact person and the Wang five contact person in the middle, namely the acquisition way of the contact way of the first user.
For example, the contact association relationship is a contact relationship diagram. As shown in fig. 4, the contact address determining method further includes the following steps for determining a contact relation diagram:
in step 104, the communication information of all users authorized to perform contact relation association is obtained.
In step 105, the communication information of all users is aggregated into a contact relation graph by using a preset aggregation algorithm.
The communication information of all the users comprises communication information corresponding to each user, and the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons. The aggregation algorithm comprises a parallel-searching algorithm, a mapping reduction algorithm or a Stark algorithm.
For example, the aggregation algorithm is used to aggregate the acquired communication information, and can aggregate a large amount of data information into a data structure with a clear association relationship, such as a tree structure, a mesh structure, and the like. The Union-find Sets is used for processing the merging problem of some disjoint Sets, and the realization of the Union-find algorithm firstly Sets through initialization, then searches and determines the tree where the element is located, and then merges the tree structures, thereby realizing the aggregation operation of the Union-find algorithm on the data information. After the contact relation graph is generated through an aggregation algorithm, the contact relation graph is stored on a server/a mobile terminal according to the selection of a user, and the contact relation graph can be updated periodically or at any time, so that the contact relation graph is perfected.
Fig. 5 is a flowchart illustrating a further method for determining a contact address according to an exemplary embodiment, where as shown in fig. 5, the method further includes:
in step 106, when the obtaining route of the contact information of the first user is a plurality of routes, recommending an optimal route of the plurality of routes according to a preset screening rule.
For example, the number of intermediate associated contacts needing to pass through in the acquisition path is less, and the acquisition path is more worthy of recommendation; and contact information is more recommendable for telephone numbers than other contact information in the form of social software. That is to say, for example, there are two ways to obtain the contact address of the first user, one way to obtain the contact address of the first user is to use the telephone number through 3 contacts; and another way to obtain the contact information is to obtain the contact information of the first user through 4 contacts by using a plurality of social software. Therefore, the first obtaining way is recommended to be the optimal way, and the contact way of the first user can be obtained more quickly and accurately by using fewer intermediate contacts and convenient contact tools.
Fig. 6 is a flowchart illustrating a further method for determining a contact address according to an exemplary embodiment, where as shown in fig. 6, the step 101 of searching for a contact address of a first user in communication information pre-stored on a mobile terminal according to a search instruction includes:
in step 1011, information of the corresponding first user in the search instruction is determined, where the information of the first user includes a name of the first user and/or a name of the first user in the social software.
In step 1012, according to the information of the first user, matching is performed in the pre-stored communication information, where the pre-stored communication information includes the pre-stored phone number of each contact and/or the contact information in the social software.
In step 1013, when there is no contact matching the information of the first user in the pre-stored communication information, it is determined that there is no contact of the first user in the pre-stored communication information.
The contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
Illustratively, when the lookup instruction is: when the contact way of the "mike" is searched, it may be determined that the information of the first user is the "mike", and then the "mike" is searched in the pre-stored communication information, for example, whether a phone number corresponding to the "mike" is stored in the phone book, or whether a user named as the "mike" exists in social software such as WeChat and QQ. When the phone number of the "mike" is not found and there is no user corresponding to the "mike" in the social software, it is indicated that there is no contact address of the first user "mike" in the pre-stored communication information, and the operation of step 102 needs to be performed according to the contact association relationship, so as to determine an obtaining path for obtaining the contact address of the first user "mike".
In addition, when the pre-stored communication information does not have the telephone number of "mike", but the social software, such as the QQ, has a contact person noted as "mike", that is, it can be determined that there is a matching contact person in the pre-stored communication information, and the contact with "mike" is prompted by using the QQ.
In summary, in the contact determination method provided by the present disclosure, the contact of the first user is searched in the communication information pre-stored on the mobile terminal according to the search instruction, where the first user is a user that needs to search for the contact in the search instruction; when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to the predetermined contact person incidence relation; the contact person incidence relation comprises the following steps: the direct associated contact and the indirect associated contact of each contact in the communication information of each user; and when the first user is found in the contact person association relationship and the first user is a direct association contact person or an indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user. Therefore, the possibility of acquiring the contact information can be improved when the user searches the contact information, and for the contact information which does not exist in the communication information, the acquisition process of the contact information can be simplified, so that the use satisfaction of the user is improved.
Fig. 7 is a block diagram illustrating a contact manner determining apparatus according to an exemplary embodiment. Referring to fig. 7, the apparatus 700 includes:
the searching module 710 is configured to search the communication information prestored on the mobile terminal for the contact information of the first user according to the search instruction, where the first user is a user needing to search for the contact information in the search instruction.
The searching module 710 is further configured to search the contact information of the first user according to a predetermined contact association relationship when the contact information of the first user does not exist in the communication information; the contact person incidence relation comprises the following steps: and directly associating the contact and indirectly associating the contact with each contact in the communication information of each user.
And the route output module 720 is configured to output the obtaining route of the contact address of the first user when the first user is found in the contact association relationship and the first user is a direct association contact or an indirect association contact of any contact in the contact association relationship.
FIG. 8 is a block diagram illustrating a pathway output module in accordance with an exemplary embodiment. Referring to fig. 8, the path output module 720 includes:
the output sub-module 721 is configured to, when the first user is found in the contact association relationship and the first user is a direct association contact of the first contact in the contact association relationship, output information that the contact address of the first user can be obtained through the first contact and the contact address of the first contact.
And the contact obtaining submodule 722 is configured to obtain an intermediate contact between the first contact and the first user in the contact association relationship when the first user is found in the contact association relationship and the first user is an indirect association contact of the first contact.
The output sub-module 721 is further configured to output information that the contact address of the first user can be acquired through the first contact and the intermediate contact, and the contact address of the first contact.
Fig. 9 is a block diagram illustrating another contact means determining apparatus according to an example embodiment. Referring to fig. 9, the contact relation is a contact relation diagram, and the apparatus 700 further includes:
the information obtaining module 730 is configured to obtain the communication information of all users authorized to perform contact relation association.
And the relationship graph aggregation module 740 is configured to aggregate the communication information of all the users into a contact relationship graph by using a preset aggregation algorithm.
The communication information of all the users comprises communication information corresponding to each user, the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons, and the aggregation algorithm comprises a parallel-searching algorithm, a mapping reduction algorithm or a Gaussian algorithm.
Optionally, the lookup module 710 is configured to:
searching a contact way of the first user based on the contact person incidence relation by utilizing a preset path algorithm;
the preset path algorithm comprises the following steps: a shortest distance algorithm, a dijkstra algorithm, a bellman ford algorithm, a freoude algorithm, or a queue optimization algorithm.
Fig. 10 is a block diagram illustrating yet another contact address determining apparatus according to an example embodiment. Referring to fig. 10, the apparatus 700 further includes:
the route recommending module 750 is configured to recommend an optimal route of the multiple routes according to a preset screening rule when the obtaining route of the contact information of the first user is multiple routes.
FIG. 11 is a block diagram illustrating a lookup module in accordance with an exemplary embodiment. Referring to fig. 11, the lookup module 710 includes:
the information determining sub-module 711 is configured to determine information of the corresponding first user in the search instruction, where the information of the first user includes a name of the first user and/or a name of the first user in the social software.
And an information matching sub-module 712 configured to match the pre-stored communication information according to the information of the first user, wherein the pre-stored communication information includes the pre-stored phone number of each contact and/or the contact information in the social software.
The contact information determining sub-module 713 is configured to determine that the contact information of the first user does not exist in the pre-stored communication information when there is no contact matching the information of the first user in the pre-stored communication information.
The contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
In summary, the contact determination apparatus provided in the present disclosure searches for a contact of a first user in communication information pre-stored on a mobile terminal according to a search instruction, where the first user is a user needing to search for the contact in the search instruction; when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to the predetermined contact person incidence relation; the contact person incidence relation comprises the following steps: the direct associated contact and the indirect associated contact of each contact in the communication information of each user; and when the first user is found in the contact person association relationship and the first user is a direct association contact person or an indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining way of the contact way of the first user. Therefore, the possibility of acquiring the contact information can be improved when the user searches the contact information, and for the contact information which does not exist in the communication information, the acquisition process of the contact information can be simplified, so that the use satisfaction of the user is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the positioning method provided by the present disclosure.
Fig. 12 is a block diagram illustrating yet another contact address determining apparatus 1200 according to an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, and a communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the positioning method described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, keys, etc. These keys may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the contact determination method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the contact determination methods described above, is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for contact determination, the method comprising:
searching a contact way of a first user in communication information prestored on a mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction;
when the contact way of the first user does not exist in the pre-stored communication information, searching the contact way of the first user according to a predetermined contact person incidence relation; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
when the first user is found in the contact person incidence relation and the first user is the direct incidence contact person or the indirect incidence contact person of any contact person in the contact person incidence relation, outputting an obtaining way of the contact way of the first user;
when the first user is found in the contact person association relationship and the first user is the direct association contact person or the indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining path of the contact way of the first user, including:
when the first user is found in the contact person association relationship and the first user is the direct association contact person of the first contact person in the contact person association relationship, outputting information of the contact way of the first user, which can be acquired through the first contact person, and the contact way of the first contact person;
when the first user is found in the contact association relationship and the first user is the indirect association contact of the first contact, acquiring an intermediate contact between the first contact and the first user in the contact association relationship; and outputting the information of the contact way of the first user which can be acquired by the first contact person and the intermediate contact person and the contact way of the first contact person.
2. The method of claim 1, wherein the contact association relationship is a contact relationship graph, and wherein the method further comprises:
acquiring communication information of all users authorized to perform contact relation association;
aggregating the communication information of all users into the contact relation graph by using a preset aggregation algorithm;
the communication information of all the users comprises communication information corresponding to each user, and the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons.
3. The method according to claim 2, wherein the searching for the contact address of the first user according to a predetermined contact association relationship when the contact address of the first user does not exist in the pre-stored communication information comprises:
and searching the contact information of the first user based on the contact incidence relation by utilizing a preset path algorithm.
4. The method of claim 1, further comprising: and when the obtaining way of the contact way of the first user is a plurality of ways, recommending the optimal way of the plurality of ways according to a preset screening rule.
5. The method according to claim 1, wherein the searching for the contact address of the first user from the communication information pre-stored in the mobile terminal according to the search instruction comprises:
determining information of the first user corresponding to the search instruction, wherein the information of the first user comprises a name of the first user and/or a name of the first user in social software;
matching in the pre-stored communication information according to the information of the first user, wherein the pre-stored communication information comprises pre-stored telephone numbers of each contact person and/or contact information in the social software;
when the pre-stored communication information does not have a contact matched with the information of the first user, determining that the contact way of the first user does not exist in the pre-stored communication information;
the contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
6. A contact manner determination apparatus, characterized in that the apparatus comprises:
the searching module is configured to search a contact way of a first user in communication information prestored on the mobile terminal according to a searching instruction, wherein the first user is a user needing to search the contact way in the searching instruction;
the searching module is further configured to search the contact way of the first user according to a predetermined contact association relation when the contact way of the first user does not exist in the pre-stored communication information; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
a route output module configured to output an acquisition route of a contact address of the first user when the first user is found in the contact association relationship and the first user is the direct association contact or the indirect association contact of any contact in the contact association relationship;
the path output module comprises:
the output sub-module is configured to output information that the contact way of the first user can be obtained through the first contact person and the contact way of the first contact person when the first user is found in the contact person association relationship and the first user is the directly associated contact person of the first contact person in the contact person association relationship;
a contact obtaining sub-module configured to obtain an intermediate contact between the first contact and the first user in the contact association relationship when the first user is found in the contact association relationship and the first user is the indirect association contact of the first contact; and outputting the information of the contact way of the first user which can be acquired by the first contact person and the intermediate contact person and the contact way of the first contact person.
7. The apparatus of claim 6, wherein the contact association relationship is a contact relationship graph, and wherein the apparatus further comprises:
the information acquisition module is configured to acquire communication information of all users authorized to perform contact relation association;
the relation graph aggregation module is configured to aggregate the communication information of all the users into the contact relation graph by using a preset aggregation algorithm;
the communication information of all the users comprises communication information corresponding to each user, and the communication information corresponding to each user comprises names of all the contact persons of each user and contact ways of all the contact persons.
8. The apparatus of claim 7, wherein the lookup module is configured to:
and searching the contact information of the first user based on the contact incidence relation by utilizing a preset path algorithm.
9. The apparatus of claim 6, further comprising:
and the path recommending module is configured to recommend the optimal path in the multiple paths according to a preset screening rule when the obtaining path of the contact way of the first user is multiple paths.
10. The apparatus of claim 6, wherein the lookup module comprises:
the information determination sub-module is configured to determine information of the corresponding first user in the search instruction, wherein the information of the first user comprises a name of the first user and/or a name of the first user in social software;
the information matching sub-module is configured to match the pre-stored communication information according to the information of the first user, wherein the pre-stored communication information comprises pre-stored telephone numbers of all contacts and/or contact information in the social software;
a contact information determining submodule configured to determine that the contact information of the first user does not exist in the pre-stored communication information when no contact matched with the information of the first user exists in the pre-stored communication information;
the contact information of the first user comprises a telephone number of the first user and/or a name of the first user in the social software.
11. A contact manner determination device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
searching a contact way of a first user in communication information prestored on a mobile terminal according to a search instruction, wherein the first user is a user needing to search for the contact way in the search instruction;
when the contact way of the first user does not exist in the communication information, searching the contact way of the first user according to a predetermined contact person incidence relation; wherein the contact association relationship comprises: the direct associated contact and the indirect associated contact of each contact in the communication information of each user;
when the first user is found in the contact person incidence relation and the first user is the direct incidence contact person or the indirect incidence contact person of any contact person in the contact person incidence relation, outputting an obtaining way of the contact way of the first user;
when the first user is found in the contact person association relationship and the first user is the direct association contact person or the indirect association contact person of any contact person in the contact person association relationship, outputting an obtaining path of the contact way of the first user, including:
when the first user is found in the contact person association relationship and the first user is the direct association contact person of the first contact person in the contact person association relationship, outputting information of the contact way of the first user, which can be acquired through the first contact person, and the contact way of the first contact person;
when the first user is found in the contact association relationship and the first user is the indirect association contact of the first contact, acquiring an intermediate contact between the first contact and the first user in the contact association relationship; and outputting the information of the contact way of the first user which can be acquired by the first contact person and the intermediate contact person and the contact way of the first contact person.
12. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method of any one of claims 1-5.
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 CN108881589A (en) 2018-11-23
CN108881589B true 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
CN108881589A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN105489220B (en) Voice recognition method and device
RU2640646C2 (en) Method and device for cloud card transmission
CN105517112B (en) Method and device for displaying WiFi network information
JP6464261B2 (en) Method and apparatus for displaying response extensions
RU2619083C2 (en) Method and device for message on request to call
RU2644511C2 (en) Method and device for displaying router configuration interface
WO2019084879A1 (en) Method and device for searching for common resource set of remaining mission-critical system information
RU2643805C2 (en) Method of obtaining recommendations, terminal and server
WO2017063294A1 (en) Network connection method and apparatus
US9716789B2 (en) Method, device, terminal and server for replying call
KR101810514B1 (en) Methods, devices, program and recording medium for calling based on cloud card
US10324910B2 (en) Contact record processing method and apparatus
KR101758030B1 (en) Method and device, program and recording medium for processing information
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
CN108011990B (en) Contact management method and device
CN107493366B (en) Address book information updating method and device and storage medium
WO2017088380A1 (en) Interface display method and apparatus
CN108614848B (en) Application program recommendation method, device and equipment
US10263925B2 (en) Method, device and medium for sending message
WO2017219536A1 (en) Application switching method and device
KR20160024836A (en) Method, apparatus and terminal for call transfer
CN105488074B (en) Photo clustering method and device
CN110928425A (en) Information monitoring method and device
CN106960026B (en) Search method, search engine and electronic equipment
CN110121148B (en) Interphone team method and device

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