Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, describes the technical solution in the embodiment of the present invention.
Referring to Fig. 1, being a kind of configuration diagram of data processing system provided in an embodiment of the present invention.It is shown in FIG. 1
System includes at least terminal 10, server 20.Terminal 10 can be communicated with server 20.Wherein, terminal 10 can be platform
Formula computer, tablet computer, smart phone, multimedia player, etc. with image display function equipment.The server 20 can be with
An individual server or server cluster in internet.
Terminal user can send the relation map inquiry request about target user to server 20 by terminal 10, take
Business device 20 can return after the relation map inquiry request about the target user for receiving the terminal 10 transmission including this
The instruction information of data structure to terminal 10, terminal 10 can be shown according to the instruction of the instruction information using the data structure
Relation map is checked so as to the terminal user.
The data structure, which can be, identifies corresponding target user's information, related to target user's mark according to target user
First between the corresponding association user information of the first association user mark of connection, target user and the first association user is associated with
What mode generated.It is closed alternatively, the data structure can also be according to target user's information, the first association user information, first
What the second interrelational form between connection mode, each first association user mark generated.Or the data structure can also be
Associated second association user corresponding first is identified according to target user's information, association user information, with the first association user
Third interrelational form between information, the first interrelational form, the second interrelational form, the first association user and the second association user is raw
At.
The server 30 can store the corresponding information record sheet of at least one user identifier, in order to which server 20 exists
When receiving the relation map inquiry request about target user, user's mark associated with target user mark is inquired
Know.Wherein, the corresponding user information of each user identifier (is uploaded including at least terminal 10 at least one user identifier
The information of the user A) it can recorde in corresponding information record sheet, or the user information of multiple users can also be remembered
Record is in an information record sheet.In one embodiment, which can be the registered use of server
Family mark.The user identifier includes but is not limited to name, identification card number, cell-phone number, the mailbox of at least one user.
The corresponding information record sheet of each user identifier, in addition to can recorde user information corresponding to the mark of oneself
Except, Associate to Contact's information can also be recorded, which can be the partial information of other users, such as other
The information such as the mark of user.For example, it can recorde relevant contact information in the information record sheet of user A: user B's
Name, contact method (such as cell-phone number, mailbox).
Referring to Fig. 2, being a kind of flow diagram of data processing method provided in an embodiment of the present invention.This method can be with
Applied in framework shown in FIG. 1.Specifically, this method may comprise steps of:
If S101, terminal detect the relation map inquiry operation for target user, sends and marked about target user
The relation map inquiry request of knowledge is to server.
In the embodiment of the present invention, the identification card number, cell-phone number of the target user mark including but not limited to target user,
Mailbox, distribution or setting are used for the number (such as QQ number, WeChat ID) of login service device.
In one embodiment, in order to facilitate the map query process of user, terminal by log-on webpage or can be answered
Relation map query interface is entered with program to execute inquiry operation.
Referring to Fig. 3, being a kind of query interface schematic diagram of relation map provided in an embodiment of the present invention.It is shown in Fig. 3
Query interface may include querying condition setting option.The querying condition setting option may include that query categories option, keyword are defeated
Enter frame, inquiry button.The query categories option can be used for obtaining the query categories of terminal user's selection.The query categories include
But it is not limited to identity card, cell-phone number, subscriber mailbox.The keyword input frame can be used for obtaining the identity letter of terminal user's input
Breath, the identity information are corresponding with the query categories of selection.For example, if the query categories selected are identity card, the input
Identity information is ID card No..
In an application scenarios, by taking Fig. 3 as an example, user can click query categories options and select identity card
Afterwards, the identification card number inquired is needed in the input of keyword input frame and click inquiry button, to execute the pass for being directed to target user
It is the inquiry operation of map.Terminal can detect terminal user to the clicking operation of inquiry button and get terminal use
Family selection query type: identity card, input identification card number after, confirmly detect for input identification card number relational graph
Inquiry operation is composed, and relation map inquiry request for the identification card number of the input can be sent to server.
S102, server are looked into the relation map inquiry request about target user's mark for receiving terminal transmission
Ask out the first association user mark associated with target user mark.
In the embodiment of the present invention, server can be in the relation map about target user's mark for receiving terminal transmission
When inquiry request, association user mark associated with target user mark is inquired.Wherein, association user mark refers to
It is the user identifier that direct correlation relationship and/or indirect association relationship are identified with the target user.Association user mark can
Think one or more.
Specifically, association user mark associated with target user mark at least may include: to mark with target user
Sensible associated first association user mark and/or the second association user associated with the first association user mark mark.
Wherein, first association user mark is identified with direct correlation relationship with the target user, which identifies and should
Target association user identifier has indirect association relationship and has direct correlation relationship with first user identifier.
And so on, user identifier associated with target user mark can also include identifying with the second association user
Associated third association user mark, the 4th association user associated with third association user mark mark etc., this Shen
Please embodiment to it with no restrictions.Accordingly, the third association user mark with target user be identified with indirect association relationship and
Direct correlation relationship is identified with the second association user.4th association user mark is identified with indirect association pass with target user
It is and is identified with direct correlation relationship with third association user.
In one embodiment, server inquires user identifier associated with target user mark, can be logical
It crosses and inquires the information record sheet of each user stored in the server database to obtain.Each user may include mesh
Mark user and/or the other users in addition to target user.
In the embodiment of the present invention, this inquires associated with target user mark the first association user mark, can be with
It include: to identify in corresponding information record sheet to determine Associate to Contact's information from the target user, according to the Associate to Contact
Information determines the first association user mark associated with target user mark.Wherein, which can be with
It including the information identified for determining the first association user, or also may include first association user mark.
For example, if having recorded contact person in the corresponding information record sheet of the identification card number of target user A: user B's
Cell-phone number, then Associate to Contact's information that the server is determined from the information record sheet can be the cell-phone number of user B, this
When the user B cell-phone number can for the first association user identify.
In one embodiment, this inquires the first association user mark associated with target user mark, may be used also
If with include: from inquired in server database the first association user identify recorded in corresponding information record sheet association connection
It is the information that people's information includes the target user, then determines to identify phase with the target user according to first association user mark
Associated first association user mark.Wherein, first association user mark includes but is not limited to the surname of first association user
Name, identification card number, contact method etc..The information of the target user includes but is not limited to target user mark, such as name, identity
Card number, contact method.
As an example it is assumed that user A is target user, if target user is identified as the identification card number of user A.If user A
The corresponding information record sheet of identification card number in do not record the information of user C, user C is identified to be recorded in corresponding information record sheet
The cell-phone number of user A, then user C mark can be associated with target user mark the first association user mark.
S103, server obtain the target user and identify corresponding target user's information, and obtain first association
The corresponding association user information of user identifier.
Target user's information includes but is not limited to following any one or more: the user images of the target user are (such as
User's head portrait), the name of the target user, the pet name and other information.There may be not according to application scenarios for the other information
Together.Such as consumer finance industry, the other information may include the target user identify corresponding target user whether be by means of
Borrow user or the by stages information such as user.
Similarly, first association user identify corresponding association user information include but is not limited to following any one or
It is multinomial: name, user images (such as user's head portrait), the pet name, contact method and the other information of the association user.Other letters
There may also be differences according to application scenarios for breath.Such as consumer finance industry, which may include first association
Whether corresponding first association user of user identifier is the information such as debt-credit user.It is used by obtaining target user's information and association
Family information can be conducive to hold the relation chain of the target user, and more fully master goal user and association user is relevant
Information.
S104, server determine the first interrelational form between the target user and first association user.
In the embodiment of the present application, which may include for indicating that the target user first is associated with use with this
There are the connection types of incidence relation between family, such as connection relationship line.
In one embodiment, which can also include between target user and first association user
Character relation.Wherein, which includes working as to be not limited to classmate, friend, household.It according to the actual situation, can also be to personage
Relationship is finely divided, and is such as finely divided to classmate, including primary school classmate, junior middle school classmate, senior middle school classmate, university classmate.The personage
Relationship can also be divided according to the difference of application scenarios, such as applied under serial scene, the character relation is also
Loaning bill side, beneficiary can be divided into.
The character relation can be obtained from the database of server.The character relation may be embodied in target user's mark
In corresponding information record sheet or other lists, and/or first association user can also be included in and identify corresponding information
In record sheet or other lists.The target user identifies the target recorded in corresponding information record sheet or other lists and uses
Character relation between family and first association user, can information record sheet corresponding with the first association user mark or its
Character relation between the target user of its list records and first association user is different.For example, the identification card number of user A
Corresponding information record sheet record is classmate with the character relation of user B, and the corresponding information record sheet of the cell-phone number of user B
Record is friend with the character relation of user A.
S105, server are generated according to target user's information, the association user information, first interrelational form
Data structure about the target user.
In the embodiment of the present application, which may include multiple fields.
In one embodiment, it may include source user information field, target user's information field in the data structure, go back
It may include relationship field.Can be respectively written into the source user information field and target user's information field two it is associated
The corresponding user information of user identifier.The relationship field can be used for storing the interrelational form between source user and target user,
Such as connection type (such as connection relationship line), character relation.
For example, the source user information field may include that target user's information, target user's information field may include
First association user information, the connection type of the relationship field may include between the target user and first association user
First interrelational form.
In one embodiment, aforementioned connection relationship line connection relationship line include but is not limited to solid line, dotted line, double solid line,
The connecting lines such as connecting line with the arrow., wherein different connection relationship lines can be used for identifying different interrelational forms.For example,
Solid line can indicate target user and the first interrelational form between the first user.Dotted line can be more with being identified as first
When a, for indicating the second association identification between each first user.Double solid line can be used to indicate that and first user's phase
Third interrelational form between associated second user.For connecting line with the arrow, the direction of the arrow can indicate each
The record side of character relation in inter-related user.If the corresponding connection relationship line of two user identifiers includes that single is two-way
The connecting line of arrow, then it represents that the character relation about other side recorded in the information record sheet of two user identifiers is consistent.Its
In, the above-mentioned character relation can there are many zoned format, such as classmate, friend, household, colleague, the embodiment of the present application to it not
It is limited.
S106, server respond the relation map inquiry request, generate the instruction information including the data structure and send out
Give the terminal.
Wherein, which is used to indicate the terminal and shows relation map according to the data structure.
In one embodiment, which can also respond the relation map inquiry request, send the data structure extremely
The terminal shows relation map according to the data structure for triggering the terminal.
In one embodiment, data structure is tampered in order to prevent, which, which can also be, is encrypted
, server can respond the relation map inquiry request, send the data structure of the encryption to the terminal, be used for
After the terminal is triggered to the data structure decryption of the encryption, relation map is shown according to the data structure.
S107, terminal receive the server and respond the finger including data structure that the relation map inquiry request returns
Show information.
S108, terminal show relation map according to the data structure according to the instruction of the instruction information.
In the embodiment of the present invention, terminal can read each field according to the instruction of the instruction information from the data structure
In include data content, to be generated according to the data content of reading and show relation map.
In one embodiment, this shows relation map according to the data structure, may include: to read respectively from data structure
The user information for taking source user information field of a data, the user information of target user's information field, relationship field include
Interrelational form;According to the user information of the ownership goal user information field of the source user information field of the reading, relationship word
The interrelational form that section includes generates and shows relation map.
In one embodiment, the ownership goal user information field of the source user information field according to the reading
The customer relationship that user information, relationship field include generates after being handled and shows relation map.The processing includes but unlimited
In graphical treatment.
Referring to Fig. 4, being a kind of interface schematic diagram of inclusion relation map provided in an embodiment of the present invention.The target user
For the corresponding user of identification card number of inquiry: Xiao Wang.The relation map includes user node 11, user node 12, user node
13, user node 14, user node 15.The nodal information that user node 11 includes is that (blue circle region, can be with for user images
For indicating that the user node is the corresponding user of identification card number of inquiry) and user's name: Xiao Wang, user node 12 include
Nodal information is user images and user's name: the nodal information that little Deng, user node 13 include is user images and user name
: the nodal information that little Yan, user node 14 include is referred to as user images and user's name: the use that Xiao Zhao, user node 15 include
Family information is user images and user's name: Xiao Zhang.
Wherein, relation map shown in Fig. 4 further includes the first interrelational form between multiple nodes: between Xiao Wang and little Deng
Connection relationship line: the character relation between solid line, Xiao Wang and little Deng: spouse, the connection relationship line between Xiao Wang and little Yan: real
Character relation between line, Xiao Wang and little Yan: the connection relationship line between spouse, Xiao Wang and Xiao Zhao: solid line, Xiao Wang and Xiao Zhao it
Between character relation: the connection relationship line between friend, Xiao Wang and Xiao Zhang: the character relation between solid line, Xiao Wang and Xiao Zhang: parent
Belong to.
As it can be seen that terminal can be sent extremely to be used about the relation map inquiry request of target user in embodiment shown in Fig. 2
Family terminal, server are available after the relation map inquiry request about target user's mark for receiving terminal transmission
Target user's information and association user information simultaneously can determine the first affiliated party between the target user and the first association user
Formula, to generate the number about the target user according to target user's information, the association user information, first interrelational form
According to structure, and the relation map inquiry request is responded, generates the instruction information including the data structure and be sent to the end
It holds so that terminal shows relation map using the data structure, allow terminal more intuitive according to the instruction of instruction information
Ground shows the other information such as the user of inquiry and the information of other users relevant to the user of the inquiry.
Referring to Fig. 5, for the flow diagram of another data processing method provided in an embodiment of the present invention.Fig. 5 is implemented
On the basis of example mainly embodiment shown in Fig. 2, multiple situations is identified as to the first association user and is further retouched
It states.Also, in the case where the first association user mark includes multiple, second introduced between each association user is closed
Connection mode is to generate data structure, compared to Fig. 2 embodiment, so that the content for the relation map that terminal is shown more horn of plenty, dimension
It spends wider.Specifically, this method may include:
If S201, terminal detect the relation map inquiry operation for target user, sends and marked about target user
The relation map inquiry request of knowledge is to server.
S202, server are looked into the relation map inquiry request about target user's mark for receiving terminal transmission
Ask out the first association user mark associated with target user mark.
S203, server obtain the target user and identify corresponding target user's information, and obtain first association
The corresponding association user information of user identifier.
S204, server determine the first interrelational form between the target user and first association user.
It should be noted that the description for step S201-S204 may refer to the step S101- in Fig. 2 embodiment
S104, this will not be repeated here for the embodiment of the present invention.
S205, server determine the second interrelational form between each first association user.
It should be noted that step S204 is it is confirmed that the first affiliated party between target user and the first association user
Formula.When first association user is identified as multiple, which is also multiple.Each first association user and mesh
It marks and corresponds to first interrelational form between user.First between each first association user and target user is associated with
Mode can be identical or different.
When the first association user is identified as multiple, which may include for indicating that first association is used
There are the connection types of incidence relation between family, such as connection relationship line.
In one embodiment, which can also include that the personage between each first association user is closed
System.Wherein, which includes working as to be not limited to classmate, friend, household.According to the actual situation, can also to character relation into
Row subdivision, is such as finely divided classmate, including primary school classmate, junior middle school classmate, senior middle school classmate, university classmate.According to application scenarios
Difference, the character relation also may include loaning bill side, beneficiary etc..
The character relation can be obtained from the database of server.For example, the character relation may include each
One association user identifies in corresponding information record sheet or other lists.The corresponding information note of each first association user
The character relation recorded between each other in record table or other lists can be identical or different.For example, the first association user mark
Know the cell-phone number including the cell-phone number of user B, user C, recorded in the corresponding information record sheet of the cell-phone number of the user B with
The character relation of family C is classmate, the character relation with user B recorded in the corresponding information record sheet of the cell-phone number of the user C
For friend.
S206, server identify corresponding association user according to target user's information, each first association user
Information, first interrelational form, second interrelational form generate the data structure about the target user.
It may include multiple fields in the data structure in the embodiment of the present invention.
In one embodiment, it may include source user information field, target user's information field in the data structure, go back
It may include relationship field.Can be respectively written into the source user information field and target user's information field two it is associated
The corresponding user information of user identifier.The relationship field can be used for storing the interrelational form between source user and target user,
Such as connection type (such as connection relationship line), character relation.
For example, the source user information field may include that target user's information, target user's information field may include
First association user information, the character relation of the relationship field may include between the target user and first association user
The second interrelational form between first interrelational form or the first association user.
S207, server respond the relation map inquiry request, generate the instruction information including the data structure and send out
Give the terminal.
Wherein, which is used to indicate the terminal and shows relation map according to the data structure.
In one embodiment, which can also respond the relation map inquiry request, send the data structure extremely
The terminal shows relation map according to the data structure for triggering the terminal.
In one embodiment, data structure is tampered in order to prevent, which, which can also be, is encrypted
, server can respond the relation map inquiry request, send the data structure to the terminal, for triggering the terminal pair
After the data structure decryption of the encryption, relation map is shown according to the data structure.
S208, terminal receive the server and respond the finger including data structure that the relation map inquiry request returns
Show information.
S209, terminal show relation map according to the data structure according to the instruction of the instruction information.
In the embodiment of the present invention, terminal can read each field according to the instruction of the instruction information from the data structure
In include data content, to be generated according to the data content of reading and show relation map.
In one embodiment, this shows relation map according to the data structure, may include: to read from data structure
The user information for taking source user information field of each data, the user information of target user's information field, relationship field include
Interrelational form;According to user information, the relationship of the ownership goal user information field of the source user information field of the reading
The interrelational form that field includes generates and shows relation map.
In one embodiment, the ownership goal user information field of the source user information field according to the reading
The customer relationship that user information, relationship field include generates after being handled and shows relation map.The processing includes but unlimited
In graphical treatment.
Referring to Fig. 6, for the interface schematic diagram of another inclusion relation map provided in an embodiment of the present invention.Compared to figure
4, the second interrelational form between multiple nodes is increased in relation map shown in fig. 6: as the connection between little Deng and little Yan is closed
Anchor line (string): the character relation of dotted line, little Deng and little Yan: same phone.
As it can be seen that terminal can be sent asks about the relation map inquiry of target user's mark in embodiment shown in fig. 5
It asks, server responds the relation map inquiry request and returns comprising according to target user's information, association user information, the first association
For the instruction information of the data structure for the target user that mode, the second interrelational form generate to terminal, terminal can be according to the instruction
The instruction of information shows relation map according to the data structure, so that the content for the relation map that terminal is shown is more rich
Richness, dimension is wider, and terminal allows terminal more intuitively to show the user of inquiry and relevant to the user of the inquiry
The other information such as the information of other users.
Referring to Fig. 7, for the flow diagram of another data processing method provided in an embodiment of the present invention.Fig. 7 is implemented
On the basis of example mainly embodiment shown in Fig. 5, server inquires the second association associated with the first user identifier and uses
Family mark, and introducing and the third interrelational form between the first association user and the second association user are to generate data structure, phase
Compared with Fig. 5 embodiment, so that the content for the relation map that terminal is shown more horn of plenty, dimension are wider.Specifically, this method can be with
Include:
If S301, terminal detect the relation map inquiry operation for target user, sends and marked about target user
The relation map inquiry request of knowledge is to server.
S302, server are looked into the relation map inquiry request about target user's mark for receiving terminal transmission
Ask out the first association user mark associated with target user mark.
S303, server obtain the target user and identify corresponding target user's information, and obtain first association
The corresponding association user information of user identifier.
S304, server determine the first interrelational form between the target user and first association user.
It should be noted that step S301-S304 may refer to step S201-S204.In one embodiment, server
Step S303 and step S305 can also be executed side by side after executing step S302.
S305, server inquire the second association user mark associated with the first association user mark.
In the embodiment of the present invention, this inquires the second association user mark associated with the first association user mark,
If including: to identify the Associate to Contact recorded in corresponding information record sheet from inquiring second user in the server database
Information includes the information of first association user, then determines to identify phase with first association user according to second user mark
Associated second association user mark;Wherein, which identifies in corresponding information record sheet and does not record the target user
Information.
S306, server obtain two association user and identify the corresponding first information.
S307, server determine the third interrelational form between first association user and second association user.
In the embodiment of the present application, which may include for indicating first association user and second pass
There are the connection types of incidence relation between combination family, such as connection relationship line.
In one embodiment, which can also include the first association user and second association user
Character relation.Wherein, which includes working as to be not limited to classmate, friend, household.It according to the actual situation, can also be to personage
Relationship is finely divided, and is such as finely divided to classmate, including primary school classmate, junior middle school classmate, senior middle school classmate, university classmate.The personage
Relationship can also be divided according to the difference of application scenarios, such as applied under serial scene, the character relation is also
Loaning bill side, beneficiary can be divided into.
The character relation can be obtained from the database of server.The character relation may be embodied in the first association user
Identify in corresponding information record sheet or other lists, and/or can also be included in second association user mark it is corresponding
In information record sheet or other lists.First association user, which identifies, to be recorded in corresponding information record sheet or other lists
Character relation between first association user and second association user, can letter corresponding with the second association user mark
First association user for ceasing record sheet or other list records is different from the character relation between second association user.Example
Such as, the identification card number of user A corresponding information record sheet record is classmate with the character relation of user B, and the mobile phone of user B
Number corresponding information record sheet record is friend with the character relation of user A.
S308, server identify corresponding association according to target user's information, each described first association user
User information, the first information, first interrelational form, second interrelational form, the third interrelational form generate
Data structure about the target user.
It may include multiple fields in the data structure in the embodiment of the present invention.
In one embodiment, it may include source user information field, target user's information field in the data structure, go back
It may include relationship field.Can be respectively written into the source user information field and target user's information field two it is associated
The corresponding user information of user identifier.The relationship field can be used for storing the interrelational form between source user and target user,
Such as connection type (such as connection relationship line), character relation.The character relation of the relationship field may include first interrelational form,
Second interrelational form, the third interrelational form.
S309, server respond the relation map inquiry request, generate the instruction information including the data structure and send out
Give the terminal.
Wherein, which is used to indicate the terminal and shows relation map according to the data structure.
In one embodiment, which can also respond the relation map inquiry request, send the data structure extremely
The terminal shows relation map according to the data structure for triggering the terminal.
In one embodiment, data structure is tampered in order to prevent, which, which can also be, is encrypted
, server can respond the relation map inquiry request, send the data structure to the terminal, for triggering the terminal pair
After the data structure decryption of the encryption, relation map is shown according to the data structure.
S310, terminal receive the server and respond the finger including data structure that the relation map inquiry request returns
Show information.
S311, terminal show relation map according to the data structure according to the instruction of the instruction information.
In the embodiment of the present invention, terminal can read each field according to the instruction of the instruction information from the data structure
In include data content, to be generated according to the data content of reading and show relation map.
In one embodiment, this shows relation map according to the data structure, may include: to read respectively from data structure
The user information for taking source user information field of a data, the user information of target user's information field, relationship field include
Interrelational form;According to the user information of the ownership goal user information field of the source user information field of the reading, relationship word
The interrelational form that section includes generates and shows relation map.
In one embodiment, the ownership goal user information field of the source user information field according to the reading
The customer relationship that user information, relationship field include generates after being handled and shows relation map.The processing includes but unlimited
In graphical treatment.
Referring to Fig. 8, for the interface schematic diagram of another inclusion relation map provided in an embodiment of the present invention.Compared to figure
6, two user nodes: user node 16 and user node 17 are increased in relation map shown in Fig. 8.User node 16 includes
User information be user images and user's name: the user information that little Xu, user node 17 include is user images and user
Title: little Chen.Wherein, relation map shown in Fig. 8 further includes the third interrelational form between multiple nodes: little Deng and little Xu it
Between connection relationship line: the character relation between double solid line, little Deng and little Xu: the connection relationship between relatives, little Deng and little Chen
Line: the character relation between double solid line, little Deng and little Chen: friend.
As it can be seen that terminal can be sent asks about the relation map inquiry of target user's mark in embodiment shown in Fig. 7
It asks, server responds the relation map inquiry request and returns comprising according to target user's information, association user information, the first letter
The instruction information of the data structure for the target user that breath, the first interrelational form, the second interrelational form, third interrelational form generate is extremely
Terminal, terminal can show relation map according to the data structure according to the instruction of the instruction information, so that terminal can be with
More intuitively show the other information such as the user of inquiry and the information of other users relevant to the user of the inquiry.
Referring to Fig. 9, being a kind of structural schematic diagram of data processing equipment provided in an embodiment of the present invention.The device can be with
It is arranged in the server referred in Fig. 2, Fig. 5, Fig. 7 embodiment.Specifically, which may include:
Enquiry module 10, in the relation map inquiry request about target user's mark for receiving terminal transmission
When, inquire the first association user mark associated with target user mark.
Module 11 is obtained, identifies corresponding target user's information for obtaining the target user, and obtain described first
Association user identifies corresponding association user information.
Determining module 12, for determining the first interrelational form between the target user and first association user.
Generation module 13, for according to target user's information, the association user information, first interrelational form
Generate the data structure about the target user.
Sending module 14, for responding the relation map inquiry request, being generated by the generation module 13 includes institute
The instruction information for stating data structure is sent to the terminal;The instruction information is used to indicate the terminal according to the data knot
Structure shows relation map.
In an optional embodiment, the first association user mark includes at least two.
In a kind of optional embodiment, the determining module 12, be also used to determine each first association user it
Between the second interrelational form;
In a kind of optional embodiment, the generation module 13 is specifically used for according to target user's information, often
One the first association user identifies corresponding association user information, first interrelational form, second interrelational form and generates
Data structure about the target user.
In a kind of optional embodiment, the enquiry module 10 is also used to inquire and first association user
Identify associated second association user mark.
In a kind of optional embodiment, the acquisition module 11 is also used to obtain the two association users mark pair
The first information answered.
In a kind of optional embodiment, the determining module 12 is also used to determine first association user and institute
State the third interrelational form between the second association user.
In a kind of optional embodiment, the generation module 13 is specifically used for according to target user's information, institute
It states each first association user and identifies the corresponding association user information, first information, first interrelational form, described
Second interrelational form, the third interrelational form generate the data structure about the target user.
In a kind of optional embodiment, the enquiry module 10 inquires associated with target user mark
First association user mark specially identifies from the target user and determines that the first association contacts in corresponding information record sheet
People's information determines the first association user associated with target user mark according to the first Associate to Contact information
Mark;And/or if from the association connection recorded in the corresponding information record sheet of the first user identifier is inquired in server database
It is the information that people's information includes the target user, then determines to identify with the target user according to first user identifier
Associated first association user mark;
In a kind of optional embodiment, the enquiry module 10 inquires related to the first association user mark
The second association user mark of connection, if specially inquiring second user from the server database identifies corresponding information
The Associate to Contact's information recorded in record sheet includes the information of first association user, then is identified according to the second user
Determine the second association user mark associated with the first association user mark;Wherein, the second user mark pair
The information of the target user is not recorded in the information record sheet answered.
In a kind of optional embodiment, the data structure includes at least source user information field, target user believes
Cease field and relationship field.
As it can be seen that server is in the relationship about target user's mark for receiving terminal transmission in embodiment shown in Fig. 9
After map inquiry request, available target user's information and association user information simultaneously can determine that the target user is closed with first
The first interrelational form being combined between family, thus according to target user's information, the association user information, first interrelational form
The data structure about the target user is generated, and responds the relation map inquiry request, generating includes the data structure
Instruction information be sent to the terminal so that terminal according to instruction information instruction, utilize the data structure show relational graph
Spectrum, allows terminal more intuitively to show the user of inquiry and the information of other users relevant to the user of the inquiry
Equal other information.
Referring to Fig. 10, being a kind of structural schematic diagram of data processing equipment provided in an embodiment of the present invention.The device can
To be arranged in the terminal referred in Fig. 2, Fig. 5, Fig. 7 embodiment.Specifically, which may include:
Sending module 21, if sending for detecting the relation map inquiry operation for target user about target
The relation map inquiry request of user identifier is to server;
Receiving module 22 includes data knot for receive that the server responds that the relation map inquiry request returns
The instruction information of structure;
Display module 23 shows relation map according to the data structure for the instruction according to the instruction information.
In a kind of optional embodiment, the display module 23 shows relation map, tool according to the data structure
Body is user information, the use of target user's information field that the source user information field of each data is read from the data structure
The interrelational form of family information and relationship field;According to the user information of the source user information field of reading, target user
The user information of information field and the interrelational form of relationship field, generate and show relation map.
As it can be seen that terminal can detect the relation map inquiry behaviour for target user in embodiment shown in Fig. 10
After work, the relation map inquiry request that identify about target user is sent to server, and can receive and this is responded by server
The instruction information comprising data structure that relation map inquiry request returns, according to the instruction of the instruction information, according to the data
Structure shows relation map, so that terminal more can intuitively show the user of inquiry and user's phase with the inquiry
The information such as the information of associated user are conducive to terminal user and more fully grasp information relevant to the user of the inquiry.
Figure 11 is please referred to, is a kind of structural schematic diagram of server provided in an embodiment of the present invention.Clothes in the present embodiment
Business device may include: one or more processors 1101;One or more communication interfaces 1102 and memory 1103.Above-mentioned processing
Device 1101, communication interface 1102 and memory 1103 are connected by bus 1104.Memory 1103 is used to store computer program,
The computer program includes program instruction, and processor 1101 is used to execute the program instruction of the storage of memory 1103.
It should be appreciated that in embodiments of the present invention, alleged processor 1101 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
The communication interface 1102 may include the wired communication interface of standard, wireless communication interface.The memory 1103 can
To include read-only memory and random access memory, and instruction and data is provided to processor 1101.The one of memory 1103
Part can also include nonvolatile RAM.
In embodiments of the present invention, it is loaded by processor 1101 and executes one or one stored in computer storage medium
Above instructions, to realize the corresponding steps of method flow shown in above-mentioned Fig. 2, Fig. 5, Fig. 7;In the specific implementation, computer stores
One in medium or one or more instruction are loaded by processor 1101 and execute following steps:
In the relation map inquiry request about target user's mark for receiving terminal transmission, inquire and the mesh
Mark the associated first association user mark of user identifier;
It obtains the target user and identifies corresponding target user's information, and obtain the first association user mark and correspond to
Association user information;
Determine the first interrelational form between the target user and first association user;
It is generated according to target user's information, the association user information, first interrelational form about the mesh
Mark the data structure of user;
The relation map inquiry request is responded, the instruction information including the data structure is generated and is sent to the end
End;The instruction information is used to indicate the terminal and shows relation map according to the data structure.
In a kind of optional embodiment, the first association user mark includes at least two, and the computer is deposited
One in storage media or one or more instruction are loaded by processor 1101, are also executed the following steps:
Determine the second interrelational form between each first association user.
One in the computer storage medium or one or more instruction are loaded by processor 1101 and are executed according to institute
State the data knot of target user's information, the association user information, first interrelational form generation about the target user
Structure specifically executes following steps:
Corresponding association user information, described the are identified according to target user's information, each first association user
One interrelational form, second interrelational form generate the data structure about the target user.
In a kind of optional embodiment, one in the computer storage medium or one or more instruction are by handling
Device 1101 loads, and also executes the following steps:
Inquire the second association user mark associated with the first association user mark;
It obtains two association user and identifies the corresponding first information;
Determine the third interrelational form between first association user and second association user;
One in the computer storage medium or one or more instruction are loaded by processor 1101 and execute described
The number about the target user is generated according to target user's information, the association user information, first interrelational form
According to structure, following steps are specifically executed.
Corresponding association user information, institute are identified according to target user's information, each described first association user
The first information, first interrelational form, second interrelational form, the third interrelational form is stated to generate about the target
The data structure of user.
In a kind of optional embodiment, one in the computer storage medium or one or more instruction are by handling
Device 1101, which is loaded and executed, inquires the first association user mark associated with target user mark, and specific execution is as follows
Step:
It is identified in corresponding information record sheet from the target user and determines first Associate to Contact's information, according to described
First Associate to Contact's information determines the first association user mark associated with target user mark;And/or
If from the association connection recorded in the corresponding information record sheet of the first user identifier is inquired in server database
People's information includes the information of the target user, then is determined to identify phase with the target user according to first user identifier
Associated first association user mark;
One in the computer storage medium or one or more instruction are loaded and are executed by processor 1101 and inquired
The second association user mark associated with the first association user mark, specifically executes following steps:
If identifying the association recorded in corresponding information record sheet from second user is inquired in the server database
Contact information includes the information of first association user, then determines to close with described first according to second user mark
Join the associated second association user mark of user identifier;
Wherein, the second user identifies the information for not recording the target user in corresponding information record sheet.
In one embodiment, the data structure include at least source user information field, target user's information field and
Relationship field.
As it can be seen that server can receive the pass about target user's mark of terminal transmission in embodiment shown in Figure 11
It is map inquiry request, terminal at least can identify corresponding target user's information and the first association user according to target user
The first interrelational form identified between corresponding association user information, the target user and first association user generates the target
The data structure of user, and the relation map inquiry request can be responded, the instruction information comprising the data structure is generated to refer to
Show that terminal shows that relation map is conducive to end so that the relation map that terminal is shown more intuitively is enriched according to the data structure
End subscriber more comprehensively grasps the data of the user about inquiry.
Figure 12 is please referred to, is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.The terminal may include: one
A or multiple processors 1201;One or more input equipments 1202, one or more output equipments 1203 and memory 1204.
Above-mentioned processor 1201, input equipment 1202, output equipment 1203 and memory 1204 are connected by bus 1205.Memory
1204 for storing computer program, and the computer program includes program instruction, and processor 1201 is for executing memory
The program instruction of 1204 storages.
It should be appreciated that in embodiments of the present invention, alleged processor 1201 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 1202 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone etc., output equipment 1203 may include display (LCD etc.), loudspeaker etc..The input equipment
1202 and output equipment 1203 can also include standard wired and wireless communication interface.
The memory 1204 may include read-only memory and random access memory, and provide instruction to processor 1201
And data.The a part of of memory 1204 can also include nonvolatile RAM.
In embodiments of the present invention, it is loaded by processor 1201 and executes one stored in computer storage medium or more
Bar program instruction, to realize the corresponding steps of method flow shown in above-mentioned Fig. 2, Fig. 5, Fig. 7;In the specific implementation, computer stores
One in medium or one or more instruction are loaded by processor 1201 and for executing following steps:
If detecting the relation map inquiry operation for target user, the relational graph identified about target user is sent
Inquiry request is composed to server;
It receives the server and responds the instruction information including data structure that the relation map inquiry request returns;
According to the instruction of the instruction information, relation map is shown according to the data structure.
In a kind of optional embodiment, one in computer storage medium or one or more instruction are by processor
1201 load and execute according to data structure display relation map, specifically execute following steps:
User information, the target user's information field of the source user information field of each data are read from the data structure
User information and relationship field interrelational form;
According to the user information of the source user information field of reading, the user information of target user's information field and
The interrelational form of relationship field generates and shows relation map.
As it can be seen that terminal can detect the relation map inquiry behaviour for target user in embodiment shown in Figure 12
After work, the relation map inquiry request that identify about target user is sent to server, and can receive and this is responded by server
The instruction information comprising data structure that relation map inquiry request returns, according to the instruction of the instruction information, according to the data
Structure shows relation map, so that terminal more can intuitively show the user of inquiry and user's phase with the inquiry
The information such as the information of associated user are conducive to terminal user and more fully grasp information relevant to the user of the inquiry.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only section Example of the invention, cannot limit the right of the present invention with this certainly
Range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to right of the present invention
Equivalent variations made by it is required that, still belongs to the scope covered by the invention.