A kind of relationship among persons are apart from acquisition methods and system
Technical field
The present invention relates to areas of information technology.A kind of relationship among persons are related in particular to apart from acquisition methods and system.
Background technology
Human connection typically refers to interpersonal relationships, or refers to the network by connecting each other and forming between men, crisscross, warp
It is usually used in the field of politics or business, no matter but what industry done in fact, everybody can use human connection.If blood vessels are people
If physiological vital support system, then human connection is then that the social life of people supports system.Human connection is a kind of resource and capital, is
The intangible asset and potential wealth of constant feast!Human connection management makes human connection court as the term suggests being exactly effectively to be managed human connection
It is anticipated that direction develop, in favor of reaching for life goal.Therefore, human connection management is increasingly subject to the common concern of modern
And attention, and further developed the Software tool of human connection management aspect.And human connection is effectively managed, just too busy to get away pair
The assessment of relationship among persons distance, comprehensive and accurate relationship among persons distance is only got, can just provide the user with out reference price
The preference relation path of value, so that user enjoys high-quality human connection management service.
Publication No. CN103390244A, a kind of entitled " user's friend relation polymerization with operator's characteristic
The patent document of method and aggregation platform ", a kind of relationship among persons are disclosed apart from acquisition methods, are noted by gathering logged-in user
The phone number carried in volume information, and then obtain in operator's platform has message registration, short message to record with this phone number
Phone number, the phone number in the address list in mobile terminal internal memory is gathered afterwards, by the phone number and address list of collection
In phone number match, the cell-phone number that the match is successful as can knowable people carry out data preparation and store, and according to
Rule set in advance and the data such as described cell-phone number of storage calculate the intimate angle value of friend relation (such as by weight and contact
The frequency is as preset value), and relationship among persons distance is calculated according to intimate angle value.But the patent document only relies on movement
Phone number in terminal user's address list obtains its corresponding relationship among persons distance, and the mobile phone in sole user its address list
Number quantity is limited so that the phone number for calculating relationship among persons distance is not comprehensive enough, can not accurately draw any
Real relationship among persons distance between the user and user of one phone number, ultimately result in human connection and manage not comprehensive enough standard
Really.
The content of the invention
Therefore, the technical problems to be solved by the invention are that the management of human connection in the prior art is not comprehensive enough accurate, so as to
A kind of relationship among persons of human connection management that can accurately carry out comprehensively are provided apart from acquisition methods and system.
In order to solve the above technical problems, technical scheme is as follows:
The invention provides a kind of relationship among persons apart from acquisition methods, comprise the following steps:
Receive the telephone number and log in one or more mobile terminal addressbooks;
The relationship among persons level distribution of each mobile terminal user is calculated, specially by some mobile terminal addressbook
Telephone number corresponding to relationship among persons first level of the contact person as the mobile terminal user;By the relationship among persons
The contact person corresponding to telephone number in each mobile terminal addressbook corresponding to one level is as the mobile terminal user's
The level of relationship among persons second;By that analogy, the relationship among persons n-th layer level of the mobile terminal user is obtained, wherein N is more than 2
Integer, a plurality of relation path direct or indirect between each mobile terminal user and object contact person is established accordingly;
Mobile terminal user and mesh in every relation path are calculated according to the relationship among persons level and the log
The relationship among persons distance between contact person is marked, the log includes frequency and the duration contacted between telephone number, described
System includes short message contact and call contacts, and the number of relationship among persons level that the relation path is crossed over is more, the people
Arteries and veins relationship gap is bigger, and the frequency contacted in the relation path between contact person is more frequent, and the duration of contact is longer, the people
Arteries and veins relationship gap is smaller.
Relationship among persons of the present invention are calculated apart from acquisition methods, the relationship among persons distance by equation below:
The spacing of the All Contacts in adjacent relationship among persons level included in relationship among persons distance=relation path
From value plus and, the duration contacted between the frequency+b/ contact persons wherein contacted between distance value=a/ contact persons, a, b are
Positive number.
Relationship among persons of the present invention calculate mobile terminal user and target in every relation path apart from acquisition methods
After relationship among persons distance between contact person, also comprise the following steps:
Receive the inquiry human connection relationship gap request that mobile terminal is sent;
Inquiry sends the mobile terminal user of request and the relationship among persons distance of object contact person, and is closed according to the human connection
System's distance generates corresponding relation path figure, and the relation path figure and the relationship among persons distance are fed back into the movement afterwards
Terminal.
Relationship among persons of the present invention calculate mobile terminal user and target in every relation path apart from acquisition methods
After relationship among persons distance between contact person, also comprise the following steps:
It is right according to the size of the relationship among persons distance in every relation path between mobile terminal user and object contact person
The relation path is ranked up.
Relationship among persons of the present invention are apart from acquisition methods, after being ranked up to the relation path, in addition to it is as follows
Step:
According to mobile terminal user's demand, according to relationship among persons apart from ascending sequence choose before M bar relation paths,
And the relationship among persons distance corresponding relation path of generation according to mobile terminal user in preceding M bars relation path with object contact person
Figure, feeds back to the mobile terminal, M is positive integer by the relation path figure and the relationship among persons distance afterwards.
Present invention also offers a kind of relationship among persons distance to obtain system, including:
Reception device, for receiving telephone number and log in one or more mobile terminal addressbooks;
First acquisition device, coupled with the reception device, for calculating the relationship among persons layer of each mobile terminal user
Level distribution, is specially used the contact person corresponding to the telephone number in some mobile terminal addressbook as the mobile terminal
The level of relationship among persons first at family;By the phone number in each mobile terminal addressbook corresponding to the level of relationship among persons first
Relationship among persons second level of the contact person as the mobile terminal user corresponding to code;By that analogy, the mobile terminal is obtained
The relationship among persons n-th layer level of user, wherein N are the integer more than 2, establish each mobile terminal user and object contact person accordingly
Between direct or indirect a plurality of relation path;
Second acquisition device, coupled with the reception device and first acquisition device, for being closed according to the human connection
It is level and the log calculates relationship among persons in every relation path between mobile terminal user and object contact person
Distance, the log include frequency and the duration contacted between telephone number, and the contact includes short message contact and call connection
System, and the number of relationship among persons level that the relation path is crossed over is more, bigger, the relation of the relationship among persons distance
The frequency contacted in path between contact person is more frequent, and the duration of contact is longer, and the relationship among persons are apart from smaller.
Relationship among persons distance of the present invention obtains system, and second acquisition device calculates human connection by equation below
Relationship gap:
The spacing of the All Contacts in adjacent relationship among persons level included in relationship among persons distance=relation path
From value plus and, the duration contacted between the frequency+b/ contact persons wherein contacted between distance value=a/ contact persons, a, b are
Positive number.
Relationship among persons distance of the present invention obtains system, in addition to feedback device, and it is specifically included:
Inquire-receive unit, for receiving the inquiry human connection relationship gap request of mobile terminal transmission;
Feedback unit, the mobile terminal user of request and the relationship among persons distance of object contact person are sent for inquiring about, and
Corresponding relation path figure is generated according to relationship among persons distance, afterwards by the relation path figure and the relationship among persons away from
From feeding back to the mobile terminal.
Relationship among persons distance of the present invention obtains system, in addition to collator, with the second acquisition device coupling
Connect, it is right for the size according to the relationship among persons distance in every relation path between mobile terminal user and object contact person
The relation path is ranked up.
Relationship among persons distance of the present invention obtains system, and the feedback unit is additionally operable to according to mobile terminal user's need
Ask, according to relationship among persons apart from ascending sequence choose before M bar relation paths, and moved according in preceding M bars relation path
The corresponding relation path figure of the relationship among persons distance generation of terminal user and object contact person, afterwards by the relation path figure with
The relationship among persons distance feeds back to the mobile terminal, and M is positive integer.
The above-mentioned technical proposal of the present invention has advantages below compared with prior art:
Relationship among persons of the present invention are apart from acquisition methods and system, by the phone in some mobile terminal addressbook
Relationship among persons first level of the contact person as the mobile terminal user corresponding to number, by the level of relationship among persons first
Human connection of the contact person corresponding to telephone number as the mobile terminal user in corresponding each mobile terminal addressbook
The level of relation second, by that analogy, until obtaining the relationship among persons n-th layer level of the mobile terminal user, and establish accordingly each
Direct or indirect a plurality of relation path between mobile terminal user and object contact person, afterwards according to the relationship among persons level
And the log of mobile terminal calculates the relationship among persons in every relation path between mobile terminal user and object contact person
Distance, and the number of relationship among persons level that the relation path is crossed over is more, bigger, the pass of relationship among persons distance
It is that the frequency contacted in path between contact person is more frequent, the duration of contact is longer, and the relationship among persons are apart from smaller.Therefore,
Relationship among persons of the present invention, can be according to the telephone number in each mobile terminal addressbook apart from acquisition methods and system
The telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers is got, it is progressive, people will be used for
The connection that the contact person corresponding to telephone number that arteries and veins relationship gap calculates is included by the mobile terminal addressbook of transmission inquiry request
It is that people extends to and all has what is included in the mobile terminal addressbook directly or indirectly contacted to contact with the mobile terminal user
People, it is ensured that comprehensive accuracy of the phone number calculated for relationship among persons distance, and in relationship among persons apart from calculating process
In, consider the factors such as frequency and the duration of relationship among persons level and call, can accurately draw any one cell-phone number
Real relationship among persons distance, is provided the user comprehensive and accurate between object contact person and mobile terminal user corresponding to code
Human connection management service.
Brief description of the drawings
In order that present disclosure is more likely to be clearly understood, specific embodiment and combination below according to the present invention
Accompanying drawing, the present invention is further detailed explanation, wherein
Fig. 1 is flow chart of the relationship among persons of the present invention apart from acquisition methods;
Fig. 2 is the schematic diagram of the relation path figure generated in the specific embodiment of the invention;
Fig. 3 is the structured flowchart that relationship among persons distance of the present invention obtains system.
Embodiment
Embodiment 1
A kind of relationship among persons are present embodiments provided apart from acquisition methods, as shown in figure 1, comprising the following steps:
Receive the telephone number and log in one or more mobile terminal addressbooks.
The relationship among persons level distribution of each mobile terminal user is calculated, specially by some mobile terminal addressbook
Telephone number corresponding to relationship among persons first level of the contact person as the mobile terminal user;By the relationship among persons
The contact person corresponding to telephone number in each mobile terminal addressbook corresponding to one level is as the mobile terminal user's
The level of relationship among persons second;By that analogy, the relationship among persons n-th layer level of the mobile terminal user is obtained, wherein N is more than 2
Integer, a plurality of relation path direct or indirect between each mobile terminal user and object contact person is established accordingly.
Mobile terminal user and mesh in every relation path are calculated according to the relationship among persons level and the log
The relationship among persons distance between contact person is marked, the log includes frequency and the duration contacted between telephone number, described
System includes short message contact and call contacts, and the number of relationship among persons level that the relation path is crossed over is more, the people
Arteries and veins relationship gap is bigger, and the frequency contacted in the relation path between contact person is more frequent, and the duration of contact is longer, the people
Arteries and veins relationship gap is smaller.
, can to perform aforesaid operations, (the human connection management service be put down by human connection management service platform in concrete application
Platform can be erected in a stationary nodes (IP address is fixed or the domain name of server is fixed) for Internet), having needs
Will the human connection management service platform provide relevant people arteries and veins management service mobile terminal user, can by mobile terminal (such as
Mobile phone) on installation can receive the software of the human connection management service to enjoy corresponding service.Equipped with the human connection management software
Mobile terminal, the telephone number in itself address list and the log of mobile terminal can be sent to above-mentioned human connection management take
Business platform, human connection management service platform receive one or more of mobile terminals hairs for being provided with the human connection management software
After the telephone number and log that send, the relationship among persons level distribution of each mobile terminal user can be calculated, and according to described
The human connection that relationship among persons level is distributed and the log of mobile terminal is calculated between mobile terminal user and object contact person is closed
It is distance.Object contact person namely mobile terminal user want to establish the people of contact therewith, even if mobile terminal user and the mesh
Mark contact person does not contact directly, but can also be passed through by the relationship among persons level promoted layer by layer, object contact person
The indirect association with the object contact person is established positioned at the contact person of each relationship among persons level, and the relation path established has
Possible more than one, and the relation path of relationship among persons distance minimum is undoubtedly highly preferred relation path, mobile terminal is used
Family can expend fewer manpower according to the preferable relation path, it is established that communication is contacted between object contact person,
Develop direction expected from human connection towards user, be advantageous to help user to reach target.Interpersonal relationship among persons distance, often
One contact link of increase, namely more one layer of relationship among persons level, relationship among persons distance will be bigger, and is contacted in relation path
The frequency conversed between people is higher, and the duration of call is longer, then illustrates to contact closer, then relationship among persons distance between the two
Will be smaller, the value of the relationship among persons distance between people and people is bigger, illustrates that the relation between people and people is more become estranged, conversely, people
Relation between people is closer.
Relationship among persons described in the present embodiment, can be according to the phone in each mobile terminal addressbook apart from acquisition methods
Number gets the telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers, progressive, will use
Included in the contact person corresponding to the telephone number that relationship among persons distance calculates by the mobile terminal addressbook of transmission inquiry request
Contact person extend to and all have what is included in the mobile terminal addressbook directly or indirectly contacted with the mobile terminal user
Contact person, it is ensured that comprehensive accuracy of the phone number calculated for relationship among persons distance, and calculated in relationship among persons distance
During, consider the factors such as frequency and the duration of relationship among persons level and call, can accurately draw any one hand
User's (object contact person) of machine number real relationship among persons distance between mobile terminal user, provide the user comprehensively
Accurate human connection management service.
As an alternative embodiment, the relationship among persons distance is calculated by equation below:
The spacing of the All Contacts in adjacent relationship among persons level included in relationship among persons distance=relation path
From value plus and, the duration contacted between the frequency+b/ contact persons wherein contacted between distance value=a/ contact persons, a, b are
Positive number.
In a particular application, coefficient a, b can be selected according to the actual requirements, if the user thinks that relation path institute across
The number (mobile terminal user establishes the number for contacting the contact person being separated by with object contact person) of relationship among persons level more exists
Determine to play a leading role during relationship among persons distance, and the frequency and duration contacted between the contact person in relation path,
Namely if distance value plays auxiliary reference, can be by the slightly smaller of coefficient coefficient a, b value setting, for example set respectively
For 0.3 and 0.2;If the user thinks that the distance value of the contact person in relation path is it is determined that relationship among persons institute during
Role is also very big, then can set coefficient a, b value larger.The frequency can unite according to the number of contact
Meter, contact once, are recorded as 1, contact twice, is recorded as 2, the duration can be accurate to the second according to the duration of call to count.
Contacted as shown in Fig. 2 mobile terminal user wants to establish between object contact person Liu eight, human connection management service platform
The telephone number and log being mounted with by analysis in the address list that the mobile terminal of human connection management service software sends,
Two relation paths between the mobile terminal user and object contact person are established, a relation path is used for mobile terminal
--- Liu eight by Li Si --- king five ---, namely the Li Si by the level of relationship among persons first positioned at the mobile terminal user at family
Establish with positioned at the mobile terminal user the level of relationship among persons second king five indirect association, afterwards by king five establish with
The indirect association of object contact person Liu eight;Another relation path is that Liu eight, Ye Jitong by mobile terminal user --- grandson three ---
Cross the foundation of grandson three and the indirect association of object contact person Liu eight of the level of relationship among persons first positioned at the mobile terminal user.Not
Mediocre to doubt, Article 2 relation path is optimal, and mobile terminal user need to only pass through middle this link of grandson contact person three, so that it may
Contacted with setting up with object contact person Liu eight.Above-mentioned two relation paths relationship among persons in calculating process, with
, it is necessary to first calculate the distance value of mobile terminal user and grandson three and the distance of grandson three and Liu eight exemplified by Article 2 relation path
Value, then by described two distance values add and can obtain in the relation path mobile terminal user and object contact person Liu eight it
Between relationship among persons distance.When the relation that human connection management service platform can not be established between mobile terminal user and object contact person
During path, it is believed that the relationship among persons distance infinity between mobile terminal user and object contact person, shifting as shown in Figure 2
Move between terminal user and object contact person Zhu nine, it is possible to think that relationship among persons distance is infinitely great.
As an alternative embodiment, calculate in every relation path between mobile terminal user and object contact person
Relationship among persons distance after, also comprise the following steps:
Receive the inquiry human connection relationship gap request that mobile terminal is sent.
Inquiry sends the mobile terminal user of request and the relationship among persons distance of object contact person, and is closed according to the human connection
System's distance generates corresponding relation path figure, and the relation path figure and the relationship among persons distance are fed back into the movement afterwards
Terminal.
In concrete application, query interface can be provided by being provided with the mobile terminal of the human connection management software, be easy to the shifting
Dynamic terminal user can send inquiry relationship among persons by the query interface when there is query demand to human connection management service platform
The request of distance., can be from it after human connection management service platform receives the inquiry human connection relationship gap request of mobile terminal transmission
The mobile end for sending inquiry request is searched in relationship among persons distance between the mobile terminal user of preceding acquisition and any contact person
The relationship among persons distance of end subscriber and object contact person, and corresponding relation path is generated according to the relationship among persons distance inquired
Figure, and the mobile terminal is fed back to, mobile terminal user is presented to by the display screen or speech ciphering equipment of mobile terminal, with
Meets the needs of user's human connection management aspect.
As a preferred mode, the people in every relation path between mobile terminal user and object contact person is calculated
After arteries and veins relationship gap, also comprise the following steps:
It is right according to the size of the relationship among persons distance in every relation path between mobile terminal user and object contact person
The relation path is ranked up.
As a preferred mode, after being ranked up to the relation path, also comprise the following steps:
According to mobile terminal user's demand, according to relationship among persons apart from ascending sequence choose before M bar relation paths,
And the relationship among persons distance corresponding relation path of generation according to mobile terminal user in preceding M bars relation path with object contact person
Figure, feeds back to the mobile terminal, M is positive integer by the relation path figure and the relationship among persons distance afterwards.
In concrete application, because human connection management service platform is carrying out the cell-phone number employed in relationship among persons distance calculating
Code is most commonly used, therefore the relation path between a certain mobile terminal user obtained and object contact person sometimes has
Many bars, the relation path figure accordingly generated also can be a lot, it is possible to so that the information content for feeding back to mobile terminal is too big, in order to
The Experience Degree of mobile terminal user is further lifted, human connection management service platform can be according to each mobile terminal user and target
The size of relationship among persons distance between contact person, the relation path is ranked up (descending arrange or ascending order arrangement all
Can be with), when mobile terminal user does not need substantial amounts of relationship among persons distance and relation path figure information, inquiry can be passed through
Interface, which is chosen, only obtains M bar relation paths.Such as when mobile terminal user only needs to obtain highly preferred relation path (human connection
Relationship gap is minimum) when, the relationship among persons distance request for only inquiring about 1 relation path, human connection management service platform can be chosen
, will be by the minimum relation path of relationship among persons distance between mobile terminal user and object contact person after receiving above-mentioned request
(preference relation path) is screened, and accordingly generates relation path figure, and above- mentioned information is fed back into the mobile terminal afterwards, raw
Into relation path figure may refer to Fig. 2, mobile terminal user can obtain with object contact person in visual in image acquisition accordingly
The relation path of contact.
Embodiment 2
A kind of relationship among persons are present embodiments provided apart from acquisition system, as shown in figure 3, including:
Reception device, for receiving telephone number and log in one or more mobile terminal addressbooks.
First acquisition device, coupled with the reception device, for calculating the relationship among persons layer of each mobile terminal user
Level distribution, is specially used the contact person corresponding to the telephone number in some mobile terminal addressbook as the mobile terminal
The level of relationship among persons first at family;By the phone number in each mobile terminal addressbook corresponding to the level of relationship among persons first
Relationship among persons second level of the contact person as the mobile terminal user corresponding to code;By that analogy, the mobile terminal is obtained
The relationship among persons n-th layer level of user, wherein N are the integer more than 2, establish each mobile terminal user and object contact person accordingly
Between direct or indirect a plurality of relation path.
Second acquisition device, coupled with the reception device and first acquisition device, for being closed according to the human connection
It is level and the log calculates relationship among persons in every relation path between mobile terminal user and object contact person
Distance, the log include frequency and the duration contacted between telephone number, and the contact includes short message contact and call connection
System, and the number of relationship among persons level that the relation path is crossed over is more, bigger, the relation of the relationship among persons distance
The frequency contacted in path between contact person is more frequent, and the duration of contact is longer, and the relationship among persons are apart from smaller.
As an alternative embodiment, second acquisition device calculates relationship among persons distance by equation below:
The spacing of the All Contacts in adjacent relationship among persons level included in relationship among persons distance=relation path
From value plus and, the duration contacted between the frequency+b/ contact persons wherein contacted between distance value=a/ contact persons, a, b are
Positive number.
As an alternative embodiment, also including feedback device, it is specifically included:
Inquire-receive unit, for receiving the inquiry human connection relationship gap request of mobile terminal transmission.
Feedback unit, the mobile terminal user of request and the relationship among persons distance of object contact person are sent for inquiring about, and
Corresponding relation path figure is generated according to relationship among persons distance, afterwards by the relation path figure and the relationship among persons away from
From feeding back to the mobile terminal.
As a preferred embodiment, also include collator, coupled with second acquisition device, for according to
The size of relationship among persons distance in every relation path between mobile terminal user and object contact person, to the relation path
It is ranked up.
As a preferred embodiment, the feedback unit is additionally operable to according to mobile terminal user's demand, according to people
M bar relation paths before the ascending sequence of arteries and veins relationship gap is chosen, and according to mobile terminal user in preceding M bars relation path with
The relationship among persons distance of object contact person generates corresponding relation path figure, afterwards closes the relation path figure and the human connection
It is that distance feeds back to the mobile terminal, M is positive integer.
Relationship among persons distance described in the present embodiment obtains system, can be according to the phone in each mobile terminal addressbook
Number gets the telephone number in each mobile terminal addressbook corresponding to above-mentioned all telephone numbers, progressive, will use
Included in the contact person corresponding to the telephone number that relationship among persons distance calculates by the mobile terminal addressbook of transmission inquiry request
Contact person extend to and all have what is included in the mobile terminal addressbook directly or indirectly contacted with the mobile terminal user
Contact person, it is ensured that comprehensive accuracy of the phone number calculated for relationship among persons distance, and calculated in relationship among persons distance
During, consider the factors such as frequency and the duration of relationship among persons level and call, can accurately draw any one hand
User's (object contact person) of machine number real relationship among persons distance between mobile terminal user, provide the user comprehensively
Accurate human connection management service.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.