Summary of the invention
For this reason, technical matters to be solved by this invention is that in prior art, human connection management not comprehensively accurately, thus provides a kind of relationship among persons distance acquisition methods and the system that accurately can carry out human connection management comprehensively.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
The invention provides a kind of relationship among persons distance acquisition methods, comprise the steps:
Receive the telephone number in one or more mobile terminal addressbook and log;
Calculate the relationship among persons level distribution of each mobile phone users, be specially relationship among persons first level of the contact person corresponding to the telephone number in some mobile terminal addressbooks as this mobile phone users; Using relationship among persons second level of the contact person corresponding to the telephone number in each corresponding for described relationship among persons first level mobile terminal addressbook as this mobile phone users; By that analogy, obtain the relationship among persons n-th layer level of this mobile phone users, wherein N be greater than 2 integer, set up many relation paths direct or indirect between each mobile phone users and object contact person accordingly;
The relationship among persons distance in every bar relation path between mobile phone users and object contact person is calculated according to described relationship among persons level and described log, described log comprises the frequency and duration that contact between telephone number, described contact comprises note contact and call contact, and the number of relationship among persons level that described relation path is crossed over is more, described relationship among persons distance is larger, the frequency contacted between contact person in described relation path is more frequent, the duration of contact is longer, and described relationship among persons distance is less.
Relationship among persons distance acquisition methods of the present invention, described relationship among persons distance is by following formulae discovery:
Between the All Contacts being in adjacent relationship among persons level comprised in relationship among persons distance=relation path distance value add and, the duration contacted between the frequency+b/ contact person contacted between wherein distance value=a/ contact person, a, b are positive number.
Relationship among persons distance acquisition methods of the present invention, after calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person, also comprises the steps:
The inquiry human connection relationship gap request that mobile terminal receive sends;
Inquire about the relationship among persons distance of mobile phone users and the object contact person sent request, and generate corresponding relation path figure according to described relationship among persons distance, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal.
Relationship among persons distance acquisition methods of the present invention, after calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person, also comprises the steps:
According to the size of the relationship among persons distance in every bar relation path between mobile phone users and object contact person, described relation path is sorted.
Relationship among persons distance acquisition methods of the present invention, after sorting, also comprises the steps: described relation path
According to mobile phone users demand, front M bar relation path is chosen apart from ascending sequence according to relationship among persons, and generate corresponding relation path figure according to mobile phone users in front M bar relation path to the relationship among persons distance of object contact person, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal, M is positive integer.
Present invention also offers a kind of relationship among persons distance acquisition system, comprising:
Receiving trap, for receiving telephone number in one or more mobile terminal addressbook and log;
First acquisition device, couple with described receiving trap, for calculating the relationship among persons level distribution of each mobile phone users, be specially relationship among persons first level of the contact person corresponding to the telephone number in some mobile terminal addressbooks as this mobile phone users; Using relationship among persons second level of the contact person corresponding to the telephone number in each corresponding for described relationship among persons first level mobile terminal addressbook as this mobile phone users; By that analogy, obtain the relationship among persons n-th layer level of this mobile phone users, wherein N be greater than 2 integer, set up many relation paths direct or indirect between each mobile phone users and object contact person accordingly;
Second acquisition device, couple with described receiving trap and described first acquisition device, for calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person according to described relationship among persons level and described log, described log comprises the frequency and duration that contact between telephone number, described contact comprises note contact and call contact, and the number of relationship among persons level that described relation path is crossed over is more, described relationship among persons distance is larger, the frequency contacted between contact person in described relation path is more frequent, the duration of contact is longer, described relationship among persons distance is less.
Relationship among persons distance of the present invention obtains system, and described second acquisition device is by following formulae discovery relationship among persons distance:
Between the All Contacts being in adjacent relationship among persons level comprised in relationship among persons distance=relation path distance value add and, the duration contacted between the frequency+b/ contact person contacted between wherein distance value=a/ contact person, a, b are positive number.
Relationship among persons distance of the present invention obtains system, and also comprise feedback assembly, it specifically comprises:
Inquire-receive unit, for the inquiry human connection relationship gap request that mobile terminal receive sends;
Feedback unit, for inquiring about the relationship among persons distance of mobile phone users and the object contact person sent request, and generate corresponding relation path figure according to described relationship among persons distance, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal.
Relationship among persons distance of the present invention obtains system, also comprise collator, couple with described second acquisition device, for the size according to the relationship among persons distance in every bar relation path between mobile phone users and object contact person, described relation path is sorted.
Relationship among persons distance of the present invention obtains system, described feedback unit is also for according to mobile phone users demand, front M bar relation path is chosen apart from ascending sequence according to relationship among persons, and generate corresponding relation path figure according to mobile phone users in front M bar relation path to the relationship among persons distance of object contact person, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal, M is positive integer.
Technique scheme of the present invention has the following advantages compared to existing technology:
Relationship among persons distance acquisition methods of the present invention and system, using relationship among persons first level of the contact person corresponding to the telephone number in some mobile terminal addressbooks as this mobile phone users, using relationship among persons second level of the contact person corresponding to the telephone number in each mobile terminal addressbook corresponding to described relationship among persons first level as this mobile phone users, by that analogy, until obtain the relationship among persons n-th layer level of this mobile phone users, and set up many relation paths direct or indirect between each mobile phone users and object contact person accordingly, the relationship among persons distance in every bar relation path between mobile phone users and object contact person is calculated afterwards according to the log of described relationship among persons level and mobile terminal, and the number of relationship among persons level that described relation path is crossed over is more, described relationship among persons distance is larger, the frequency contacted between contact person in described relation path is more frequent, the duration of contact is longer, described relationship among persons distance is less.Therefore, relationship among persons distance acquisition methods of the present invention and system, the telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers can be got according to the telephone number in each mobile terminal addressbook, progressive, all contact persons having directly with this mobile phone users or comprise in the mobile terminal addressbook of indirect association are extended to apart from the contact person that the contact person corresponding to the telephone number calculated is comprised by the mobile terminal addressbook sending inquiry request by being used for relationship among persons, ensure that comprehensive accuracy of the phone number calculated for relationship among persons distance, and in relationship among persons distance computation process, consider the factor such as frequency and duration of relationship among persons level and call, accurately can draw real relationship among persons distance between object contact person corresponding to any one phone number and mobile phone users, for user provides comprehensive and accurate human connection management service.
Embodiment
Embodiment 1
Present embodiments provide a kind of relationship among persons distance acquisition methods, as shown in Figure 1, comprise the steps:
Receive the telephone number in one or more mobile terminal addressbook and log.
Calculate the relationship among persons level distribution of each mobile phone users, be specially relationship among persons first level of the contact person corresponding to the telephone number in some mobile terminal addressbooks as this mobile phone users; Using relationship among persons second level of the contact person corresponding to the telephone number in each corresponding for described relationship among persons first level mobile terminal addressbook as this mobile phone users; By that analogy, obtain the relationship among persons n-th layer level of this mobile phone users, wherein N be greater than 2 integer, set up many relation paths direct or indirect between each mobile phone users and object contact person accordingly.
The relationship among persons distance in every bar relation path between mobile phone users and object contact person is calculated according to described relationship among persons level and described log, described log comprises the frequency and duration that contact between telephone number, described contact comprises note contact and call contact, and the number of relationship among persons level that described relation path is crossed over is more, described relationship among persons distance is larger, the frequency contacted between contact person in described relation path is more frequent, the duration of contact is longer, and described relationship among persons distance is less.
In embody rule, aforesaid operations (described human connection management service platform can be erected in a stationary nodes (IP fixes address or the domain name of server is fixed) of Internet) can be performed by human connection management service platform, there is the mobile phone users needing this human connection management service platform to provide relevant people arteries and veins management service, the software of human connection management service as described in can receiving in the upper installation of mobile terminal (as mobile phone) can be passed through and enjoy corresponding service.The mobile terminal of this human connection management software is housed, the log of the telephone number in self address list and mobile terminal can be sent to above-mentioned human connection management service platform, after human connection management service platform receives the telephone number and log that described one or more mobile terminal being provided with described human connection management software sends, the relationship among persons level distribution of each mobile phone users can be calculated, and calculate the relationship among persons distance between mobile phone users and object contact person according to the log of the distribution of described relationship among persons level and mobile terminal.Object contact person is also that mobile phone users wants the people setting up with it contact, even if mobile phone users and this object contact person directly do not contact, but by the described relationship among persons level advanced layer by layer, object contact person also can set up the indirect association with this object contact person by the contact person being positioned at each relationship among persons level, and the relation path likely more than set up, and relationship among persons is apart from minimum relation path highly preferred relation path beyond doubt, mobile phone users is according to this preferred relation path, fewer manpower can be expended, set up and contact communication between object contact person, make the future development that human connection is expected towards user, be conducive to helping user to reach target.Interpersonal relationship among persons distance, often increase a contact link, be also many one decks relationship among persons level, relationship among persons distance will be larger, and the frequency conversed between contact person in relation path is higher, the duration of call is longer, then contact between the two tightr is described, then relationship among persons distance will be less, the value of the relationship among persons distance between people and people is larger, illustrate that the relation between people and people is more become estranged, otherwise the relation between people and people is tightr.
Relationship among persons distance acquisition methods described in the present embodiment, the telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers can be got according to the telephone number in each mobile terminal addressbook, progressive, all contact persons having directly with this mobile phone users or comprise in the mobile terminal addressbook of indirect association are extended to apart from the contact person that the contact person corresponding to the telephone number calculated is comprised by the mobile terminal addressbook sending inquiry request by being used for relationship among persons, ensure that comprehensive accuracy of the phone number calculated for relationship among persons distance, and in relationship among persons distance computation process, consider the factor such as frequency and duration of relationship among persons level and call, accurately can draw real relationship among persons distance between user's (object contact person) of any one phone number and mobile phone users, for user provides comprehensive and accurate human connection management service.
As the optional embodiment of one, described relationship among persons distance is by following formulae discovery:
Between the All Contacts being in adjacent relationship among persons level comprised in relationship among persons distance=relation path distance value add and, the duration contacted between the frequency+b/ contact person contacted between wherein distance value=a/ contact person, a, b are positive number.
In a particular application, coefficient a, b can select according to the actual requirements, if user thinks that the number (mobile phone users and object contact person set up the number contacting the contact person of being separated by) of the relationship among persons level that relation path is crossed over plays a leading role in the process determining relationship among persons distance, and the frequency contacted between contact person in relation path and duration, also namely distance value plays the words of auxiliary reference effect, what the value of coefficient coefficient a, b can be arranged is less a little, is such as set to 0.3 and 0.2 respectively; If user thinks the distance value of the contact person in relation path, role in the process determining relationship among persons distance is also very large, then what the value of coefficient a, b can be arranged is larger.Described frequency can according to the number of times statistics of contact, and contact once, is recorded as 1, and contact twice, be recorded as 2, described duration can be accurate to according to the duration of call and add up second.
As shown in Figure 2, mobile phone users is want to set up between object contact person Liu eight to contact, telephone number in the address list that the mobile terminal that human connection management service platform has installed human connection management service software by analysis sends and log, establish two relation paths between this mobile phone users and object contact person, article one, relation path is mobile phone users, and---Liu eight for Li Si---king five---, also the Li Si namely by being positioned at relationship among persons first level of this mobile phone users sets up the indirect association with the king five of relationship among persons second level being positioned at this mobile phone users, the indirect association with object contact person Liu eight is set up afterwards by king five, another relation path is mobile phone users---grandson three---, and Liu eight, and the grandson three also namely by being positioned at relationship among persons first level of this mobile phone users sets up the indirect association with object contact person Liu eight.Undoubtedly, Article 2 relation path is optimum, and mobile phone users only need by middle this link of grandson contact person three, just can set up and the contacting of object contact person Liu eight.In the relationship among persons distance computation process of above-mentioned two relation paths, for Article 2 relation path, need first to calculate the distance value of mobile phone users and grandson three and the distance value of grandson three and Liu eight, then described two distance values are added and the relationship among persons distance in this relation path between mobile phone users and object contact person Liu eight can be obtained.When human connection management service platform cannot set up the relation path between mobile phone users and object contact person, can think that the relationship among persons distance between mobile phone users and object contact person is infinitely great, between mobile phone users as shown in Figure 2 and object contact person Zhu nine, just can think that relationship among persons distance is infinitely great.
As the optional embodiment of one, after calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person, also comprise the steps:
The inquiry human connection relationship gap request that mobile terminal receive sends.
Inquire about the relationship among persons distance of mobile phone users and the object contact person sent request, and generate corresponding relation path figure according to described relationship among persons distance, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal.
In embody rule, the mobile terminal being provided with described human connection management software can provide query interface, is convenient to this mobile phone users can send inquiry human connection relationship gap to human connection management service platform by this query interface request when there being query demand.After human connection management service platform receives the inquiry human connection relationship gap request of mobile terminal transmission, the relationship among persons distance of mobile phone users and the object contact person sending inquiry request can be searched from the mobile phone users obtained before and the distance of the relationship among persons arbitrarily between contact person, and generate corresponding relation path figure according to the relationship among persons distance inquired, and fed back to this mobile terminal, by the display screen of mobile terminal or speech ciphering equipment in dedicating mobile phone users to, to meet the managerial demand of user's human connection.
As the preferred mode of one, after calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person, also comprise the steps:
According to the size of the relationship among persons distance in every bar relation path between mobile phone users and object contact person, described relation path is sorted.
As the preferred mode of one, after described relation path is sorted, also comprise the steps:
According to mobile phone users demand, front M bar relation path is chosen apart from ascending sequence according to relationship among persons, and generate corresponding relation path figure according to mobile phone users in front M bar relation path to the relationship among persons distance of object contact person, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal, M is positive integer.
In embody rule, because the phone number that human connection management service platform is carrying out adopting during relationship among persons distance calculates is the most widely, therefore the relation path between a certain mobile phone users obtained and object contact person sometimes has a lot of bar, the relation path figure generated accordingly also can be a lot, likely make the quantity of information feeding back to mobile terminal too large, in order to the Experience Degree of further lifting mobile terminal user, human connection management service platform can according to the size of the relationship among persons distance between each mobile phone users and object contact person, (descending sort or ascending order arrangement can) be sorted to described relation path, when mobile phone users does not need a large amount of relationship among persons distances and relation path figure information, can be chosen by query interface and only obtain M bar relation path.Such as when mobile phone users only needs to obtain highly preferred relation path (relationship among persons is apart from minimum), the relationship among persons distance request only inquiring about 1 relation path can be chosen, after human connection management service platform receives above-mentioned request, relationship among persons between mobile phone users and object contact person will be screened apart from minimum relation path (preference relation path), and production Methods path profile accordingly, afterwards above-mentioned information feed back is returned this mobile terminal, the relation path figure generated can referring to Fig. 2, mobile phone users can acquisition visual in image accordingly and the object contact person relation path of getting in touch.
Embodiment 2
Present embodiments provide a kind of relationship among persons distance acquisition system, as shown in Figure 3, comprising:
Receiving trap, for receiving telephone number in one or more mobile terminal addressbook and log.
First acquisition device, couple with described receiving trap, for calculating the relationship among persons level distribution of each mobile phone users, be specially relationship among persons first level of the contact person corresponding to the telephone number in some mobile terminal addressbooks as this mobile phone users; Using relationship among persons second level of the contact person corresponding to the telephone number in each corresponding for described relationship among persons first level mobile terminal addressbook as this mobile phone users; By that analogy, obtain the relationship among persons n-th layer level of this mobile phone users, wherein N be greater than 2 integer, set up many relation paths direct or indirect between each mobile phone users and object contact person accordingly.
Second acquisition device, couple with described receiving trap and described first acquisition device, for calculating the relationship among persons distance in every bar relation path between mobile phone users and object contact person according to described relationship among persons level and described log, described log comprises the frequency and duration that contact between telephone number, described contact comprises note contact and call contact, and the number of relationship among persons level that described relation path is crossed over is more, described relationship among persons distance is larger, the frequency contacted between contact person in described relation path is more frequent, the duration of contact is longer, described relationship among persons distance is less.
As the optional embodiment of one, described second acquisition device is by following formulae discovery relationship among persons distance:
Between the All Contacts being in adjacent relationship among persons level comprised in relationship among persons distance=relation path distance value add and, the duration contacted between the frequency+b/ contact person contacted between wherein distance value=a/ contact person, a, b are positive number.
As the optional embodiment of one, also comprise feedback assembly, it specifically comprises:
Inquire-receive unit, for the inquiry human connection relationship gap request that mobile terminal receive sends.
Feedback unit, for inquiring about the relationship among persons distance of mobile phone users and the object contact person sent request, and generate corresponding relation path figure according to described relationship among persons distance, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal.
As one preferred embodiment, also comprise collator, couple with described second acquisition device, for the size according to the relationship among persons distance in every bar relation path between mobile phone users and object contact person, described relation path is sorted.
As one preferred embodiment, described feedback unit is also for according to mobile phone users demand, front M bar relation path is chosen apart from ascending sequence according to relationship among persons, and generate corresponding relation path figure according to mobile phone users in front M bar relation path to the relationship among persons distance of object contact person, afterwards described relation path figure and described relationship among persons distance are fed back to this mobile terminal, M is positive integer.
Relationship among persons distance described in the present embodiment obtains system, the telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers can be got according to the telephone number in each mobile terminal addressbook, progressive, all contact persons having directly with this mobile phone users or comprise in the mobile terminal addressbook of indirect association are extended to apart from the contact person that the contact person corresponding to the telephone number calculated is comprised by the mobile terminal addressbook sending inquiry request by being used for relationship among persons, ensure that comprehensive accuracy of the phone number calculated for relationship among persons distance, and in relationship among persons distance computation process, consider the factor such as frequency and duration of relationship among persons level and call, accurately can draw real relationship among persons distance between user's (object contact person) of any one phone number and mobile phone users, for user provides comprehensive and accurate human connection management service.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.