CN110460578A - Establish the method, apparatus and computer readable storage medium of incidence relation - Google Patents

Establish the method, apparatus and computer readable storage medium of incidence relation Download PDF

Info

Publication number
CN110460578A
CN110460578A CN201910615978.1A CN201910615978A CN110460578A CN 110460578 A CN110460578 A CN 110460578A CN 201910615978 A CN201910615978 A CN 201910615978A CN 110460578 A CN110460578 A CN 110460578A
Authority
CN
China
Prior art keywords
information
account
client
sharing
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910615978.1A
Other languages
Chinese (zh)
Other versions
CN110460578B (en
Inventor
陈昊
任会斌
刘正阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910615978.1A priority Critical patent/CN110460578B/en
Publication of CN110460578A publication Critical patent/CN110460578A/en
Application granted granted Critical
Publication of CN110460578B publication Critical patent/CN110460578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure can be applied to server about a kind of method, apparatus for establishing incidence relation and computer readable storage medium, the method, comprising: receive the solicited message that the second client installed in terminal is sent;Wherein, the solicited message includes the sharing information for target object to be shared;The sharing information carries the first account for logging in the first client;Information in response to the request obtains the information of the target object, and, first account is read from the sharing information;Generate the associated account relating information of the second account currently logged in first account and the second client;The information of the account relating information and the target object is sent to the second client.The disclosure establishes incidence relation by the splitting glass opaque actually occurred between user, and one side user, which can choose, fills in succinct personal information, optimizes user experience;On the other hand, the incidence relation of foundation and the matching degree of actual conditions can be improved.

Description

Establish the method, apparatus and computer readable storage medium of incidence relation
Technical field
This disclosure relates to Internet technical field more particularly to a kind of method, apparatus for establishing incidence relation and computer Readable storage medium storing program for executing.
Background technique
With the development of internet technology, by user identifier be can knowable people in the related technology, it is usually logical Cross the disclosed personal information filled in of analysis user, it would be possible to have an intersection, such as same age and graduate from institute, same institute The user identifier in school is can knowable people.But since the information integrity of most of user is very low, so that mark is quasi- Exactness is low, poor reliability.
Summary of the invention
The disclosure provides a kind of method, apparatus for establishing incidence relation and computer readable storage medium, at least to solve Above-mentioned technical problem.The technical solution of the disclosure is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method for establishing incidence relation is provided, server, institute are applied to The method of stating includes:
Receive the solicited message that the second client installed in terminal is sent;Wherein, the solicited message is by the terminal The generation when detecting start-up operation of the user for second client in the terminal, and including for be shared The sharing information of target object;The sharing information is sent to the terminal by the first client, and carries first client The first account currently logged on end;
Information in response to the request obtains the information of the target object, and, the institute for including from the solicited message It states and reads first account in sharing information;
Generate the associated account relating of the second account currently logged in first account and second client Information;
The information of the account relating information and the target object is sent to second client.
Optionally, the server prestores the corresponding account list of second account, the use in the account list Family account is associated with second account;It is currently logged in generation first account and second client After the step of second account associated account relating information, the method also includes:
The account list transmission that first account is added in the account list, and will include first account To second client.
Optionally, the method also includes:
In the information of the target object include first account in the case where, judge first account whether be Account associated with second account;
The information by the target object is sent to second client, comprising:
In first account situation associated with second account, to include in the information of the target object First account add correlation tag;
The information of target object added with the correlation tag is sent to second client.
Optionally, the method also includes:
The first location information for installing the terminal of first client is obtained, and obtains installation second client The second location information of terminal;
According to the first location information and the second location information, the relation object of the account relating information is identified Not;
The account relating information is sent to second client, comprising:
The account relating information and identified relationship classification are sent to second client.
Optionally, described according to the first location information and the second location information, identify the account relating letter The other step of the relation object of breath, comprising:
According to the first location information and the second location information, determine install the terminal of first client with The distance between the terminal of second client difference is installed;
According to the relationship of the relationship and the range difference and pre-determined distance threshold value of current time and preset time period, institute is identified State the relationship classification of account relating information.
Optionally, the second account currently logged in the generation first account and second client is related After the step of account relating information of connection, the method also includes:
The information posting request that first client is sent is received, the information posting request carries content to be released;
In response to the information posting request, the account relating information is added for the content to be released;
The content to be released for carrying the account relating information is sent to second client.
According to the second aspect of an embodiment of the present disclosure, a kind of method for establishing incidence relation is provided, terminal is applied to, it is described Second client is installed in terminal and information shares client;The described method includes:
Share client by the information and receives the sharing for target object to be shared that the first client is sent Information, the sharing information carry the first account currently logged in first client;
When detecting that user is directed to the operation of the sharing information, the sharing information is stored;
When detecting that user is directed to the start-up operation of second client, the request for being directed to the target object is generated Information, and the sharing information of storage is added in the solicited message;
The solicited message for carrying the sharing information is sent to server, so that the server returns to the target pair The information and account relating information of elephant;Wherein, the account relating information is the described for characterizing of the server generation The associated information of the second account currently logged in first account and second client.
Optionally, first client is also equipped in the terminal;Client is shared by the information described Receive the first client transmission for target object to be shared sharing information the step of before, the method also includes:
When detecting sharing operation of the user for the target object in first client, by described first Account is added in the corresponding original sharing information of the sharing operation, to generate the sharing information;
The sharing information is sent to the information and shares client.
Optionally, the method includes at least one following steps:
First page in second client shows the information and account relating information of the target object;
The account list including first account that the server is sent is received by second client, and Second page in second client shows the account list including first account, and, in second client The information and account relating information of target object described in third page presentation on end;
The information of target object of the 4th page presentation added with correlation tag in second client;The pass First account that connection label is used to be characterized in the information of the target object is associated with second account.
Optionally, the sharing information is the sharing password for carrying the title of first client, passes through institute described State that information shares that client receives that the first client sends for after wait the sharing information for the target object shared the step of, institute State method further include:
Share sharing password of the client to user's displaying carrying title by the information, to prompt user to be directed to The sharing password makes predetermined registration operation, and prompt user passes through third party's client or the title with first client Identical second client requests the information of the target object to the server
According to the third aspect of an embodiment of the present disclosure, a kind of device for establishing incidence relation is provided, described device is applied to Server, comprising:
Receiving unit is configured as receiving the solicited message that the second client installed in terminal is sent;Wherein, described to ask Ask information by terminal generation when detecting start-up operation of the user for second client in the terminal, and Sharing information including being directed to target object to be shared;The sharing information is sent to the terminal by the first client, and Carry the first account currently logged in first client;
Response unit is configured to respond to the solicited message, obtains the information of the target object, and, from institute It states and reads first account in the sharing information that solicited message includes;
Related information generation unit is configurable to generate and currently logs in first account and second client The associated account relating information of second account;
Transmission unit is configured as the information of the account relating information and the target object being sent to described second Client.
Optionally, the server prestores the corresponding account list of second account, the use in the account list Family account is associated with second account;Described device further include:
Account adding unit is configured as first account being added in the account list, and will include described The account list of first account is sent to second client.
Optionally, the information of the target object includes at least first account;Described device further include:
Judging unit is configured as judging whether first account is account associated with second account;
The transmission unit is additionally configured in first account situation associated with second account, is First account addition correlation tag for including in the information of the target object;And the mesh that the correlation tag will be added with The information of mark object is sent to second client.
Optionally, described device further include:
Position acquisition unit is configured as obtaining the first location information for the terminal for installing first client, and obtains Take the second location information for installing the terminal of second client;
Relationship classification logotype unit is configured as according to the first location information and the second location information, mark The relationship classification of the account relating information;
The transmission unit is additionally configured to for the account relating information and identified relationship classification being sent to described Second client.
Optionally, the position acquisition unit includes:
Range difference computation subunit is configured as being determined according to the first location information and the second location information Terminal and the distance between the terminal for installing second client for installing first client are poor;
The relationship classification logotype unit is specifically configured to relationship according to current time and preset time period and described The relationship of range difference and pre-determined distance threshold value identifies the relationship classification of the account relating information.
According to a fourth aspect of embodiments of the present disclosure, a kind of device for establishing incidence relation is provided, described device is applied to Terminal, the second client is equipped in the terminal and information shares client;Include:
Information receiving unit, be configured as by the information share client receive the first client send for The sharing information of the target object of sharing, the sharing information carry the first account currently logged in first client;
Storage unit is configured as when detecting that user is directed to the operation of the sharing information, stores the sharing letter Breath;
Solicited message generation unit, it is raw when being configured in the start-up operation for detecting user for second client At the solicited message for being directed to the target object, the solicited message includes the sharing information;
Solicited message transmission unit is configured as the solicited message being sent to server, so that the server returns Return the information and account relating information of the target object;Wherein, the account relating information is that the server generates For characterizing the associated information of the second account for currently logging in first account and second client.
Optionally, first client is also equipped in the terminal;Described device further include:
Sharing information generation unit is configured as detecting user for the target pair in first client When the sharing operation of elephant, first account is added in the corresponding original sharing information of the sharing operation, to generate State sharing information;
Sharing information transmission unit is configured as the sharing information being sent to the information sharing client.
Optionally, described device includes at least one following unit:
First display unit is configured as the letter that the first page in second client shows the target object Breath and account relating information;
List reception and display unit, are configured as receiving that the server sends includes by second client The account list of first account, and the second page in second client shows the account including first account Number list, and, information and the account relating letter of the target object described in the third page presentation in second client Breath;
Second display unit is configured as the 4th page presentation in second client added with correlation tag The information of target object;The correlation tag be used for first account that is characterized in the information of the target object with it is described Second account is associated.
Optionally, the sharing information is the sharing password for carrying the title of first client, and described device is also wrapped It includes:
Password display unit is configured as sharing point that client shows the carrying title to user by the information Enjoy password, to prompt user to make predetermined registration operation for the sharings password, and prompt user pass through third party's client or Second client identical with the title of first client requests the information of the target object to the server
According to a fifth aspect of the embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of server, enable the server to execute embodiment of the present disclosure first aspect The method for establishing incidence relation provided.
According to a sixth aspect of an embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of terminal, enable the terminal to execute the offer of embodiment of the present disclosure second aspect The method for establishing incidence relation.
The technical scheme provided by this disclosed embodiment at least bring it is following the utility model has the advantages that
In disclosed embodiments, due to including the account of sender when sending sharing information, in sharing information Number, then when receiving the sharing information in recipient, and sending the target object for requesting the sharing information to be directed to server, clothes Business device can establish the account account relating information associated with the account of recipient of sender, and by account relating information and The information of the target object got is sent to the second client.On the one hand, server can be by means of the sharing between user Incidence relation is established in behavior, since the splitting glass opaque between user is more bonded actual conditions, it is thus possible to improve the association established The matching degree of relationship and actual conditions, to improve the accuracy for establishing incidence relation.On the other hand, due to establishing association pass When being, server can be by the splitting glass opaque actually occurred between user, therefore, when having widened server and establishing incidence relation The data source needed to refer to, so that the scope of application for establishing incidence relation of the application is wider.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure, do not constitute the improper restriction to the disclosure.
Fig. 1 is a kind of application environment schematic diagram of method for establishing incidence relation shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of method for establishing incidence relation shown according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of method for establishing incidence relation shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of method for establishing incidence relation shown according to an exemplary embodiment;
Fig. 5 is a kind of schematic diagram of method for establishing incidence relation shown according to an exemplary embodiment;
Fig. 6 is a kind of device block diagram for establishing incidence relation shown according to an exemplary embodiment;
Fig. 7 is a kind of device block diagram for establishing incidence relation shown according to an exemplary embodiment;
Fig. 8 is shown according to an exemplary embodiment a kind of for establishing the structural block diagram of the server of incidence relation;
Fig. 9 is shown according to an exemplary embodiment a kind of for establishing the structural block diagram of the terminal of incidence relation.
Specific embodiment
In order to make ordinary people in the field more fully understand the technical solution of the disclosure, below in conjunction with attached drawing, to this public affairs The technical solution opened in embodiment is clearly and completely described.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or Sequence other than those of description is implemented.Embodiment described in following exemplary embodiment does not represent and disclosure phase Consistent all embodiments.On the contrary, they are only and as detailed in the attached claim, the disclosure some aspects The example of consistent device and method.
Fig. 1 shows the application environment schematic diagram of the method for establishing incidence relation of the embodiment of the present application, as shown in Figure 1, In internet, server can be communicated to connect with multiple terminals, and the first client is installed on terminal A, is installed on terminal B Second client.
Fig. 2 is to combine above-mentioned application environment, a kind of method for establishing incidence relation shown according to an exemplary embodiment Flow chart, as shown in Fig. 2, this establishes method of incidence relation in server, which can be in internet Same class client provides background service, which can specifically include following steps:
In the step s 21, the solicited message that the second client installed in terminal is sent is received.
Wherein, the solicited message is detecting user for second client in the terminal by the terminal Start-up operation when generate, and including be directed to target object to be shared sharing information;The sharing information is by the first client End is sent to the terminal, and carries the first account currently logged in first client.
In the present embodiment, terminal can be smart machine (such as smart phone), computer, tablet computer, and the present embodiment is not right Terminal makes concrete restriction, the second client for installing at the terminal can refer to it is corresponding with the server in the present embodiment, The program of local service is provided for client, which may include following service: issuing and browse the service of merchandise news (e.g., Taobao, Jingdone district, only product meeting), the service issued and browse works information (such as microblogging is known).In practice, user can be with By log in the second client carry out goods browse, works browsing, publishing commodity information and works information, share merchandise news and Works information etc..
The first signified client and the second client in the present embodiment, the two with the server phase in the present embodiment It is corresponding, identical local service is provided for client, wherein the login user that the second client is directed to is different from the first client needle Pair login user.
In the present embodiment, when in order to realize the information for sharing target object among different users, the first visitor can establish Association between the user (hereinafter referred to as the first user) at family end and user's (hereinafter referred to as second user) of the second client is closed System includes the first use in the sharing information that the first client is generated according to sharing operation of first user to target object First account at family, so that the terminal of the second client of installation is receiving the sharing information, and should based on second user operation When sharing information is with to server request target object, carrying point that server can be sent from the terminal of the second client of installation It enjoys and gets the first above-mentioned account in the solicited message of information.
In step S22, information, obtains the information of the target object in response to the request, and, from the request First account is read in the sharing information that information includes.
In the present embodiment, when server receives the solicited message, solicited message can be parsed, and then obtained The second account logged on on to the second client, and, the information of target object;And the letter of the sharing entrained by the solicited message The first account of carrying is read out in breath.
In step S23, it is related to generate the second account currently logged in first account and second client The account relating information of connection.
In the present embodiment, for the incidence relation established between the first user and second user, so that second user can be with Associated with which account according to the account for knowing that itself is logged in, server is in the information for returning to target object to the second client Before, can establish the incidence relation of the second account of the first account and second user, specifically, by generate the first account with The associated account relating information of second account is associated with the second account to characterize the first account.
Wherein, account relating information can be text information, such as: the first account is 1234, and the second account is 2345, then account Number related information may is that 1234 be 2345 can knowable people;Be also possible to: 1234 be you can knowable people, such Two clients can show text information;In practice, account relating information is also possible to be set as the information of iconic format, In It may include the text such as " 1234 be 2345 can knowable people " on icon.
In step s 24, the information of the account relating information and the target object is sent to second client End.
The information of account relating information and target object is sent to the second client by server, can make second user It is associated with which account that itself is known according to account relating information, and then answering belonging to the first client and the second client In, the incidence relation between user is established to the sharing of information according to user.
In the embodiment of the present application, low for the personal information integrity degree that avoids user from filling in, and cause mark accuracy it is low, The problem of poor reliability, the embodiment of the present application propose to share the practical splitting glass opaque of target object by sending by means of user First user of information and the second user of request sharing information are associated.Specifically, server is to received The solicited message that two clients are sent is parsed, to obtain the of the first user entrained by the sharing information in solicited message One account regenerates the first account account relating information associated with the second account of second user, finally by account relating The information for the target object that information and sharing information are directed to returns to the second client together, so that logging in the of the second client Two users can know the information of other accounts associated with itself.
By adopting the above technical scheme, user adds the account of user in sharing information when sending sharing information, into And the sharing information is seen in other users, and when to server request target object, server can will send sharing information The account of user and the account of request target object be associated so that user is the case where filling in simple personal information Under, server also can establish the incidence relation between user, optimize by means of user to the practical splitting glass opaque of target object User experience.Also, since server is to establish incidence relation by means of the practical splitting glass opaque between user, on the one hand, mention The high matching degree of the incidence relation established and actual conditions, the personal information integrity degree filled in so as to avoid user is low, and Caused by poor reliability, the low problem of accuracy when establishing association.On the other hand, when having widened server and establishing incidence relation The data source needed to refer to, so that the scope of application for establishing incidence relation of the application is wider.
In conjunction with above embodiments, in one embodiment, it is corresponding that second account can be prestored in the server Account list, the user account in the account list is associated with second account;Server execute step S23 it Afterwards, following steps can also be performed:
The account list transmission that first account is added in the account list, and will include first account To second client.
In present embodiment, the first account can be added to account list by server, direct in a manner of account list The first account associated with the second account is shown, so that the user for logging in the second client can be direct by account list Get the information of the second account.In practice, server can also also add other user accounts associated with the second account Add in the account list, specifically, server receive again the second client transmission for other target objects When other solicited messages, other sharing informations can be parsed from other solicited messages, and then read out other sharing informations Then other users account is also added to the account list by the other users account of middle carrying.
In the embodiment of the present application, it is contemplated that when generating an account relating information for each splitting glass opaque, user is only Some account associated with oneself in single sharing operation can be got.For this purpose, server can be built for each account Stand a corresponding account list, in this way, can it is same request multiple sharing informations with user orientation server when, server can be with The whole accounts read out from multiple sharing informations are all added to the account list, so that user can not only get Account associated with itself in current request operation, moreover it is possible to get other multiple accounts associated with itself.
In conjunction with above embodiments, in one embodiment, server after executing the step S24, can also be performed as Lower step:
In the information of the target object include first account in the case where, judge first account whether be Account associated with second account.
In practice, whether it includes the first account that server can be searched in the information of target object, if finding the first account Number, then server can according to the account relating information or the above-mentioned account list prestored of generation, judge the first account whether with Second account is associated.Such as, when being judged according to account relating information, if in the account relating information generated including the first account Number, then it represents that the first account is account associated with the second account.When being judged according to account list, if having in account list First account, then it represents that the first account is account associated with the second account.
Correspondingly, server execute the information of the target object is sent to the step of second client when, Can specifically the following contents be executed:
In first account situation associated with second account, to include in the information of the target object First account add correlation tag.
The information of target object added with the correlation tag is sent to second client.
In present embodiment, correlation tag can be used for the first account as a whole clearly to characterize the first account It is account associated with the second account.The correlation tag of addition can make the second client in the information for showing target object When, correlation tag may be displayed at the position of the first account, to prompt corresponding first user of second user first account It is that it can knowable people.When it is implemented, correlation tag can be set according to actual needs, text information can be, it can also To be icon, the application is herein with no restrictions.
Such as, the information of target object is the information of some commodity, include in merchandise news the first account and with The corresponding comment information of first account, it is however generally that, comment information is shown in the below or above of the first account, and correlation tag can To be " can knowable people ", then " can knowable people " can be added to the upper right corner or the upper left corner of the first account, then existed After second client gets the information of the commodity, second user can lead to when checking the comment information for the commodity The label for being shown in " can knowable people " in the first account upper left corner or the upper right corner is crossed, determines that the first account corresponding first is used Family be oneself can knowable people, in this way, can also be improved user to the confidence level of comment on commodity information.
Such as, the information of target object is multiple works informations, include in multiple works informations the first account and with The corresponding A works information of first account, correlation tag can be two humanoid icons, then two humanoid icons are added to first The upper left corner of account, then after the second client gets multiple works information, second user is can be by being shown in Two humanoid icons in the upper left corner at first account, determine A works information be oneself can knowable people created, or can also To say that the creation people of A works information is that oneself can knowable people.
It is that can to use after the first account addition correlation tag in the information of target object in the embodiment of the present application Family is immediately seen the account with itself associated other users, optimizes user experience in the information of target object.
In conjunction with above embodiments, in one embodiment, server after executing the step S23, can also be performed with Lower step:
The first location information for installing the terminal of first client is obtained, and obtains installation second client The second location information of terminal.
In practice, server can also obtain terminal (the following letter of the first client of installation by GPS satellite positioning system Claim first terminal) position, and obtain installation the second client terminal (hereinafter referred to as second terminal) position.First Confidence ceases the latitude and longitude coordinates that can be first terminal, and second location information can be the latitude and longitude coordinates of second terminal.
According to the first location information and the second location information, the relation object of the account relating information is identified Not.
Wherein, relationship classification can be used for characterizing the first user and second user with incidence relation, should The classification of social networks belonging to incidence relation, such as the classification of social networks have colleague, household, friend, neighbours, then the relationship Classification also may include colleague, household, friend, neighbours etc..
When it is implemented, server can confirm the administrative region where first terminal according to first location information, with And the administrative region where second terminal can be confirmed according to second location information.And according to the above-mentioned two administration confirmed Region whether belong to same administrative jurisdiction region as a result, identifying the relationship classification of the account relating information.Specifically, if The administrative region of administrative region and second terminal where one terminal belongs to same administrative jurisdiction region, then can identify account pass The relationship classification for joining information is neighbours;Conversely, the relationship classification that can then identify account relating information is preferably friendly.
Such as, server determines that the administrative region where first terminal be Beijing, south, Chaoyang Men according to first location information Side street, the administrative region where second terminal are Shanghai City Jing'an District, then the two is not belonging to same administrative jurisdiction region, then relationship Classification can be identified as good friend.
Such as, server determines that the administrative region where first terminal be Chengdu high and new technology industrial development zone according to first location information, Administrative region where second terminal is Chengdu Wu Hou District, then the two belongs to same administrative jurisdiction region Chengdu, then relation object Same city good friend can be identified as;If the administrative region of second terminal is also Chengdu high and new technology industrial development zone, first terminal and second is eventually End belongs to the administration of Chengdu high and new technology industrial development zone, then relationship classification can be identified as same district good friend;If where further determining that first terminal Administrative region be the Chengdu high and new technology industrial development zone street Zhong He, the administrative region where second terminal is also the Chengdu high and new technology industrial development zone street Zhong He Road, then relationship classification can be identified as neighbours.
Correspondingly, server can incite somebody to action in the step of account relating information is sent to second client The account relating information and identified relationship classification are sent to second client.
Using the embodiment above, after the relationship classification for identifying account relating information, can according to actual location information, The practical social networks between associated two users are further refined, and then improve the accuracy of the incidence relation of foundation, User experience is advanced optimized.
In conjunction with above embodiments, in another embodiment, according to the first location information and the second position Information identifies the other step of relation object of the account relating information, can specifically include following sub-step:
According to the first location information and the second location information, determine install the terminal of first client with The distance between the terminal of second client difference is installed.
In practice, first location information and second location information may each be latitude and longitude coordinates, then can be according to longitude and latitude It is poor to calculate the distance between first terminal and second terminal for coordinate.
According to the relationship of the relationship and the range difference and pre-determined distance threshold value of current time and preset time period, institute is identified State the relationship classification of account relating information.
In practice, current time refers to that server obtains the time of first location information and second location information, when presetting Between section can be set according to actual needs as working time section, for example, it may be weekly 8 points of the morning of Mon-Fri under 6 points of noon.Pre-determined distance threshold value can also be configured according to actual needs, for example, can be set to 800 meters or 1.2 kms.
Specifically, if current time is in working time section, it can indicate that the location of first terminal is the first use The job site at family, the location of second terminal are the job sites of second user, in such cases, if range difference is less than in advance If threshold value, then relationship classification can be identified as colleague, if range difference is greater than preset threshold, relationship classification can be identified preferably Friend.
If current time is in working time section, it can indicate that the location of first terminal is the life of the first user Place, the location of second terminal are the life places of second user, in such cases, if range difference is less than preset threshold, Then relationship classification can be identified as neighbours, if range difference is greater than preset threshold, relationship classification can be identified as good friend.
Using the embodiment above, when identifying the relationship classification of account relating information, can with further reference to it is current when Between, it is reference with current time, the accurate positioning to incidence relation can be improved when establishing user-association relationship.
In conjunction with above embodiments, in one embodiment, server after executing step S23, can also be performed with Lower step:
The information posting request that first client is sent is received, the information posting request carries content to be released.
In response to the information posting request, the account relating information is added for the content to be released;
The content to be released for carrying the account relating information is sent to second client.
In present embodiment, after server generates the first account account relating information associated with the second account, In When first user wants publication content, information posting request can be issued to server, server can be sent out in response to the information Cloth request gives content push to be released to the second client.Wherein, content to be released can be the works letter that the first user edits Breath, comment information, pictorial information, video information etc..
When it is implemented, server is when giving content push to be released to the second client, server can be closed account Connection information is added in the content to be released, in practice, can be added account relating information in the form of label or suspended window In content to be released, in this way, the second client is when getting the content to be released, and showing the content to be released, second User can be people associated with oneself according to the author of account relating acquisition of information to the content to be released of addition.
Illustratively, by taking works to be released are A merchandise news as an example, the first user (corresponding first account is 1234) passes through First client uploads A merchandise news, server by the A merchandise news be pushed to the second client (corresponding second user, the It, can " 1234 be by the first account account relating information associated with the second account when the second account of two users is 2345) 2345 can knowable people " it adds in A merchandise news in the form of a label, or a suspended window is set in A merchandise news, " 1234 be 2345 can knowable people " be added on the suspended window.In this way, the second client is when showing A merchandise news, Second user can see account relating information " 1234 be 2345 can knowable people " by label or suspended window, to know The author of the A merchandise news is people associated with oneself.
Correspondingly, in another embodiment, following steps can also be performed after executing step S23 in server:
Receive the information posting request that second client is sent, the information posting request that second client is sent It is middle to carry information to be released.
In response to the information posting request that second client is sent, the account is added for the information to be released and is closed Join information.
The information to be released for carrying the account relating information is sent to first client.
Using the embodiment above, after establishing the incidence relation between user, in a wherein user issues again Rong Shi, server, can also be by the account relating information of the two when the content push is given the associated user of the user It is added in content, facilitates associated user when checking the content, can also learns that the user for issuing the content is and oneself Oneself is associated user, to optimize user experience.
In conjunction with above embodiments, in one embodiment, when generating account relating information, server is available to be arrived Corresponding first pet name of first account, and get corresponding second pet name of the second account, and then generate first pet name and the The associated account relating information of two pet names.
Correspondingly, in step s 24, server can be by first pet name account relating information associated with second pet name The second client being sent in terminal.
Using the embodiment above, it is contemplated that the client in internet was generally shown is all the nickname information of user and Non- account information, therefore, the account relating information of generation can be into first pet name information associated with second pet name, so that It is close can directly to learn that the first account associated with itself uses when seeing the account relating information for second user Claim, to optimize user experience.
The implementation process of the method provided by the embodiments of the present application for establishing incidence relation is illustrated below with one.
As shown in figure 3, Fig. 3 is a kind of signal of method for establishing incidence relation shown according to an exemplary embodiment Figure.As shown in figure 3, in the embodiment of the present application, the implementation process that server establishes incidence relation is as follows:
Firstly, Taobao's server receives the solicited message that sends by Taobao's client of Android mobile phone, in the solicited message The sharing information for being directed to an articles for babies " H board milk powder " is carried, includes logging in Taobao on iPhone in sharing information The first account 123 of the user A of client.
Secondly, Taobao's server responds the solicited message, the merchandise news of " H board milk powder " is got, and from sharing information In read out the first account 123 of user A, and, the available user B that Taobao's client is logged in above-mentioned Android mobile phone The second account 234.
Again, " 123 may Taobao's server generation the first account account relating information associated with the second account with you Understanding ", and the merchandise news of the account relating information for being somebody's turn to do " 123 may recognize with you " and " H board milk powder " is returned into peace together Taobao's client on Zhuo Shouji.In this way, user B just can see the account of " 123 may recognize with you " in Taobao's client Number related information.
Optionally, Taobao's server can also obtain the position of Android mobile phone before generating above-mentioned account relating information It with the position of iPhone, and records and gets time of above-mentioned position, if the position of the position of Android mobile phone and iPhone The distance between difference less than 1.2 kms, and current time is working time section, then the relationship classification of account relating information can be with It is " colleague " that the account relating information of " 123 may recognize with you " can returned to washing in a pan for Android mobile phone by Taobao's server When precious client, the relationship classification of " colleague " can be returned together.
Optionally, Taobao's server, can be in the commodity of " H board milk powder " after the merchandise news for getting " H board milk powder " The addition of the first account 123 included by the comment information of user A correlation tag " recognizing with you ", then, retells addition in information The merchandise news of " the H board milk powder " of correlation tag returns to Taobao's client of Android mobile phone.
Optionally, Taobao's server is receiving user after the account relating information of generation " 123 may recognize with you " It, can when the request of publication " G board baby bottles " merchandise news that A is sent as businessman by Taobao's client on iPhone To add the account relating of above-mentioned " 123 may recognize with you " in tag form in the merchandise news of " G board baby bottles " Information, and the merchandise news for being added to " G board baby bottles " after account relating information is sent to the Taobao in Android mobile phone Client, user B, can bases when Taobao's client in Android mobile phone sees the merchandise news of " G board baby bottles " The account relating information of " 123 may recognize with you ", or being somebody's turn to do the businessman of " G board baby bottles " may be the people of oneself understanding.
Based on the same inventive concept, the embodiment of the present application also provides a kind of methods for establishing incidence relation, such as Fig. 4 institute Show, which is applied in terminal, and the second client is equipped in the terminal and information shares client End, wherein terminal can be smart machine (e.g., smart phone), computer, tablet computer etc., and the second client can be installation Various applications (e.g., Taobao, Jingdone district) at the terminal, information, which shares client, can be mounted in terminal for providing social activity The application (e.g., wechat, QQ, SMS) of communication service.The method for establishing incidence relation can specifically include following steps:
In step S41, mesh to be shared is directed to by what information sharing client the first client of reception was sent Mark the sharing information of object.
Wherein, the sharing information carries the first account currently logged in first client.
In the present embodiment, the first client can be mounted in same terminal with the second client, also may be mounted at not With in terminal, the two can provide identical local service by identical server for client, wherein the second client needle Pair login user be different from the login user that is directed to of the first client.Terminal can get the first client by wechat or QQ The sharing information that end is sent by wechat or QQ, the sharing information can detect user for wait share by the first client Target object sharing operation when generate, and carry the user (hereinafter referred to as the first user) logged in the first client First account.
In step S42, when detecting that user is directed to the operation of the sharing information, the sharing information is stored.
In the present embodiment, the user's (hereinafter referred to as second user) logged on a second client shares client in information When seeing the sharing information, the sharing information can be clicked, terminal when detecting the user's operation sharing information, can then incite somebody to action Sharing information is stored.
In step S43, when detecting that user is directed to the start-up operation of second client, generates and be directed to the mesh The solicited message of object is marked, and the sharing information of storage is added in the solicited message.
It, can be according to the second client for including in sharing information when second user sees the sharing information in the present embodiment The mark at end starts the second client to check target object in the second client, and terminal is detecting second user starting When the second client, solicited message is generated, and the sharing information stored in step S42 is added in the solicited message, in this way, The above-mentioned sharing information of solicited message Portable belt.In practice, solicited message can also carry logs on a second client Second account of second user.
In step S44, the solicited message for carrying the sharing information is sent to server.
Solicited message can be sent to server by the second client by terminal, so that the server returns to the mesh Mark the information and account relating information of object;Wherein, the account relating information is the server generation for characterizing The associated information of the second account currently logged in first account and second client.Terminal is receiving service When the information and account relating information of the target object that device returns, the target pair can be shown by the second client The information and account relating information of elephant.
In the present embodiment, the personal information low for the integrity degree for avoiding server from being filled according to user goes mark may The people of understanding, and the problem of identifying low accuracy, poor reliability is caused, the embodiment of the present application is proposed by means of user to target pair The user for sending sharing information and the user of request sharing information are associated by the splitting glass opaque of elephant.Specifically, When one client sends sharing information, the first account for logging in the user of the first client can be added in sharing information, the For the user of two clients when operating sharing information and opening the second client, terminal can be by the request including the sharing information Information is sent to server so that server establish the first account and log in the second client second user the second account it Between incidence relation, in this way, terminal receive server return account relating information and target object information when, can be with The information of above-mentioned account relating information and target object is shown by the second client.
By adopting the above technical scheme, since user is when sharing target object, the account of user in addition, in turn The sharing information is seen in other users, and when to server request target object, server will send the user's of sharing information Account and the account of request target object are associated.By establishing association thus according to the splitting glass opaque actually occurred between user Relationship improves the incidence relation of foundation and the matching degree of actual conditions, therefore, it is low to avoid the integrity degree filled according to user Personal information when removing to establish incidence relation caused by the problem of accuracy is low, poor reliability;Due to by means of actually sending Splitting glass opaque, therefore user optimizes user experience without cumbersome personal information is filled in;And it also widens and has established association When relationship by data source so that the scope of application for establishing incidence relation of the application is wider.
In conjunction with above embodiments, in another embodiment, first client is also equipped in the terminal;
Before before terminal executes step S41, following steps can also be performed:
When detecting sharing operation of the user for the target object in first client, by described first Account is added in the corresponding original sharing information of the sharing operation, to generate the sharing information;
The sharing information is sent to the information and shares client.
In this embodiment, the first client and the second client can be installed on same terminal, the first client with Second client provides identical local service by identical server for user, just when the first user is in terminal login Referred to as the first client, second user are just known as the second client when terminal logs in.First user sends out in the first client When playing the sharing to target object, terminal can first generate the original sharing information for the target object, then again by first Account is added in original sharing information, and to obtain sharing information, sharing information is finally sent to the information installed in terminal Share client, e.g., the wechat group of wechat or the QQ group of QQ.It is obtained in this way, second user can share client by information To sharing information.
Using the embodiment above, terminal can be made in the sharing operation for detecting user, can will log in first The first account of user is added in original sharing information, to realize that second user is getting sharing information and to server When request target object, server can get the first account, and then establish incidence relation.
In conjunction with above embodiments, in another embodiment, terminal can also be performed after executing the step S44 An at least following steps:
First page in second client shows the information and account relating information of the target object.
In practice, the second client can the target object described in same page presentation information and account relating letter Breath, to facilitate user to check the account relating information while information for checking target object.
The account list including first account that the server is sent is received by second client, and Second page in second client shows the account list including first account, and, in second client The information and account relating information of target object described in third page presentation on end.
In practice, the second client can show received account list in a page, by the letter of the target object Breath and account relating information are shown in another page, e.g., can open up the individual account relating page in the second client, will Account list shows that, in the account relating page, user can enter when needing to check with itself associated account information The account relating page is checked.
The information of target object of the 4th page presentation added with correlation tag in second client;The pass First account that connection label is used to be characterized in the information of the target object is associated with second account.
In practice, the first account can be included at least in the information of target object, in the information of the target object received In include the first account on can have correlation tag, in such cases, the second client can also open up on the same page Show the information and above-mentioned account relating information of the target object added with correlation tag.
Using the embodiment above, since the second client at least can receive account list, and in individual page exhibition Show account list, user can be made to check other accounts associated with itself on the individual page, optimize user's body It tests.
In conjunction with above embodiments, in another embodiment, the sharing information is to carry first client Following steps can also be performed after executing step S41 in the sharing password of title, correspondingly, terminal:
Share sharing password of the client to user's displaying carrying title by the information, to prompt user to be directed to The sharing password makes predetermined registration operation, and prompt user passes through third party's client or the title with first client Identical second client requests the information of the target object to the server.
In practice, sharing information can be sharing password, and the title of the first client can be the first client and interconnect Trade name used in net, in this way, the terminal of the second client of installation is used when showing sharing password by wechat or QQ Family can by share password in title, prompt user's sharing password it is targeted be the second client, and prompt use How family operates to open the second client to get the information of target object.Specifically, which can prompt to use Family can be by clicking the link information shared in password, and then opens third party's client, with third party's client triggering the Two clients request the information of the target object to the server, alternatively, user can be prompted to share password by duplication Mode, directly initiate the second client to request the information of the target object to server.Wherein, third party's client can To be browser.
By adopting the above technical scheme, allow sharing information in the form of sharing password, prompt the user on how operation with It can be requested via the second user end to server of third party's client terminal start-up to the information of server request target object, and both The information of target object can also directly initiate the information of the second user end to server request target object, open because having widened The channel of dynamic second client so that directly initiate the second client terminal start-up it is unsuccessful when, can also be by third party client Therefore end the second client of starting so that the scope of application for establishing incidence relation of the application is further expanded, optimizes User experience.
As shown in figure 5, Fig. 5 is an exemplary embodiment, in server side and on terminal side fully illustrates State the flow diagram of the method for establishing incidence relation of embodiment.As shown in figure 5, in the embodiment of the present application, establishing association The implementation process of relationship is as follows:
Firstly, user A logs in Taobao on iPhone, when " H board milk powder " in seeing Taobao in a shop, hair The sharing to " H board milk powder " is played, iPhone generates the sharing password for being directed to " H board milk powder " according to this sharing, wherein point Enjoy Taobao's account " 123 " that information includes user A.The sharing password is sent in the wechat of user A selection by iPhone Good friend B, and the sharing password of " H board milk powder " is sent to by good friend B by wechat client.
Then, the Android mobile phone that good friend B is used by wechat client receive should " H board milk powder " sharing password, and The sharing password is shown in wechat client, to prompt good friend B that can pacify in sharing password starting Android mobile phone by replicating The Taobao of dress is to request the information of " H board milk powder " to server.
Then, good friend B starts the Taobao installed in Android mobile phone after replicating the sharing password, and is stepped on the identity of user B Taobao is recorded, Android mobile phone can will share password and store when detecting that the operation of password is shared in duplication.Detect Taobao When being activated, then the solicited message for being directed to " H board milk powder " is generated, and the sharing password of storage is added in solicited message.
Then, Android mobile phone is sent to Taobao's server for the solicited message for sharing password is carried.
Later, when Taobao's server receives the solicited message, it can parse the solicited message, to get " H board milk The information of powder ", and Taobao's account " 234 " of user B is obtained, and Taobao's account of user A is read out from sharing password “123”。
Then, Taobao's server generates account " 234 " account relating information associated with account " 123 ", such as " account 123 be that you can knowable people ", alternatively, " little Bai be you can knowable people ", wherein little Bai is that user A is used in Taobao The pet name.
Finally, the information of account relating information and " H board milk powder " is returned to washing in a pan in Android mobile phone by Taobao's server Treasured, the Taobao in Android mobile phone can be in same page presentation account relating information and the information of " H board milk powder ".
Using the above exemplary embodiments, user A and user B are being established in the incidence relation of Taobao's client, it can be with The account for sharing user A entrained in password generated according to Taobao's client of user A, directly generates the account of user A Account relating information associated with the account of user B, so that the personal letter that user A and user B are filled in Taobao's client It ceases in incomplete situation, also can set up accurate incidence relation according to the practical splitting glass opaque of the two, and then can satisfy User A and user B fill in the demand of succinct personal information in Taobao's client, and then optimize user experience.
Further, because of the friend relation that user A and user B are wechat platforms, in this way, by between user A and user B For the splitting glass opaque of commodity in Taobao, and then it can establish the incidence relation of user A and user B in Taobao's client, Not only accuracy is high, but also user can by the friend relation automatic transposing to Taobao's client in wechat client, into One-step optimization user experience.
In practice, the embodiment of the present application is not limited only to Taobao's client shown in Fig. 4, and can be applied to that hair can be provided Cloth and browse the service (e.g., Taobao, Jingdone district, only product meeting) of merchandise news, the service issuing and browse works information (such as microblogging, Know) etc. multiple client in, can also be according to user so that in some clients for not having social good friend's attribute Between splitting glass opaque establish incidence relation, optimize user experience;And because the transmission of the sharing information between user can lead to It crosses established information and shares client realization, therefore, the embodiment of the present application may be implemented to share client in information according to user The social networks that have built up are held, establish the incidence relation of user in other clients (such as Taobao, only product can), and then improve The accuracy that incidence relation is established.
Fig. 6 is a kind of device block diagram for establishing incidence relation shown according to an exemplary embodiment.It is described referring to Fig. 6 Device is applied to server, including receiving unit 601, response unit 602, related information generation unit 603 and transmission unit 604。
The receiving unit is configured as receiving the solicited message that the second client installed in terminal is sent;Wherein, described Solicited message by terminal generation when detecting start-up operation of the user for second client in the terminal, And the sharing information including being directed to target object to be shared;The sharing information is sent to the terminal by the first client, And carry the first account currently logged in first client;
The response unit is configured to respond to the solicited message, obtains the information of the target object, and, from First account is read in the sharing information that the solicited message includes;
The related information generation unit is configurable to generate in first account and second client and currently logs in The associated account relating information of the second account;
The transmission unit is configured as the information of the account relating information and the target object being sent to described Two clients.
In conjunction with above embodiments, in one embodiment, the server prestores the corresponding account of second account Number list, the user account in the account list are associated with second account;Described device further include:
Account adding unit is configured as first account being added in the account list, and will include described The account list of first account is sent to second client.
In conjunction with above embodiments, in one embodiment, the information of the target object includes at least first account Number;Described device further include:
Judging unit is configured as judging whether first account is account associated with second account;
The transmission unit is additionally configured in first account situation associated with second account, is First account addition correlation tag for including in the information of the target object;And the mesh that the correlation tag will be added with The information of mark object is sent to second client.
In conjunction with above embodiments, in one embodiment, described device further include:
Position acquisition unit is configured as obtaining the first location information for the terminal for installing first client, and obtains Take the second location information for installing the terminal of second client;
Relationship classification logotype unit is configured as according to the first location information and the second location information, mark The relationship classification of the account relating information;
The transmission unit is additionally configured to for the account relating information and identified relationship classification being sent to described Second client.
In conjunction with above embodiments, in one embodiment, the position acquisition unit includes:
Range difference computation subunit is configured as being determined according to the first location information and the second location information Terminal and the distance between the terminal for installing second client for installing first client are poor;
The relationship classification logotype unit is specifically configured to relationship according to current time and preset time period and described The relationship of range difference and pre-determined distance threshold value identifies the relationship classification of the account relating information.
In conjunction with above embodiments, in one embodiment, described device be may further include the following units:
Information posting request receiving unit, the information posting request sent for receiving first client, the letter It ceases posting request and carries content to be released;
Information posting request response unit, for being added for the content to be released in response to the information posting request The account relating information;
Content sending unit is issued, for the content to be released for carrying the account relating information to be sent to described second Client.
A kind of Fig. 7 device block diagram for establishing incidence relation shown according to an exemplary embodiment, referring to shown in Fig. 7, institute It states device and is applied to terminal, the second client is installed in the terminal and information shares client;Described device includes information Receiving unit 701, storage unit 702, solicited message generation unit 703 and solicited message transmission unit 704.
The information receiving unit is configured as sharing being directed to for client reception the first client transmission by the information The sharing information of target object to be shared, the sharing information carry the first account currently logged in first client Number;
The storage unit is configured as storing the sharing when detecting that user is directed to the operation of the sharing information Information;
The solicited message generation unit, when being configured in the start-up operation for detecting user for second client, The solicited message for being directed to the target object is generated, and the sharing information of storage is added in the solicited message;
The solicited message transmission unit is configured as the solicited message for carrying the sharing information being sent to server, So that the server returns to the information and account relating information of the target object;Wherein, the account relating information is The server generates related for characterizing the second account currently logged in first account and second client The information of connection.
In conjunction with above embodiments, in one embodiment, first client is also equipped in the terminal;It is described Device further include:
Sharing information generation unit is configured as detecting user for the target pair in first client When the sharing operation of elephant, first account is added in the corresponding original sharing information of the sharing operation, to generate State sharing information;
Sharing information transmission unit is configured as the sharing information being sent to the information sharing client.
In conjunction with above embodiments, in one embodiment, described device includes at least one following unit:
First display unit is configured as the letter that the first page in second client shows the target object Breath and account relating information;
List reception and display unit, are configured as receiving that the server sends includes by second client The account list of first account, and the second page in second client shows the account including first account Number list, and, information and the account relating letter of the target object described in the third page presentation in second client Breath;
Second display unit is configured as the 4th page presentation in second client added with correlation tag The information of target object;The correlation tag be used for first account that is characterized in the information of the target object with it is described Second account is associated.
In conjunction with above embodiments, in one embodiment, the sharing information is the name for carrying first client The sharing password of title, described device further include:
Password display unit is configured as sharing point that client shows the carrying title to user by the information Enjoy password, to prompt user to make predetermined registration operation for the sharings password, and prompt user pass through third party's client or Second client identical with the title of first client requests the information of the target object to the server.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Referring to shown in Fig. 8, Fig. 8 is shown according to an exemplary embodiment a kind of for establishing the server of incidence relation Structural block diagram, server 800 may include processor 801, power supply module 802, network interface 803, memory 804 and input Output interface 805, wherein non-transitorycomputer readable storage medium 8041, the readable storage medium are configured on memory 804 Be stored with the instruction for executing the above-mentioned method for establishing incidence relation in matter 8041, memory 804 can with processor 801 into Row communication, when the instruction in the storage medium 840 is executed by processor 801, so that server 800 is able to carry out above-mentioned build The method of vertical incidence relation.Wherein, server 800 can be connected in network by network interface 803, and power supply module 802 can be with The power management of execute server 800.
Optionally, readable storage medium storing program for executing 840 can be non-transitorycomputer readable storage medium, non-face for example, described When property computer readable storage medium 840 can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light number According to storage equipment etc..
Referring to shown in Fig. 9, Fig. 9 shows a kind of for establishing the terminal of incidence relation shown in an exemplary embodiment Structural block diagram, for example, terminal 900 may include following one or more components: processing component 902, memory 904, electric power group Part 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, Yi Jitong Believe component 916.Non-transitorycomputer readable storage medium 940, optionally, readable storage medium storing program for executing are stored in memory 904 940 can be non-transitorycomputer readable storage medium, for example, the non-transitorycomputer readable storage medium 940 can To be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The integrated operation of the usual controlling terminal 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 902 may include that one or more processors 920 are readable to execute The instruction of storage medium 940, so that terminal 900 can complete all or part of the steps of the above-mentioned method for establishing incidence relation.This Outside, processing component 902 may include one or more modules, convenient for the interaction between processing component 902 and other assemblies.Example Such as, processing component 902 may include multi-media module, to facilitate the interaction between multimedia component 1006 and processing component 902.
Multimedia component 908 is configured as storing various types of data to support the operation in terminal 900.These data Example include any application or method for being operated in terminal 900 instruction, contact data, telephone directory number According to, message, picture, video etc..Multimedia component 908 can by any kind of volatibility or non-volatile memory device or Their combination realizes that, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) can Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, Flash memory, disk or CD.
Electric power assembly 906 provides electric power for the various assemblies of terminal 900.Electric power assembly 906 may include power management system System, one or more power supplys and other with for terminal 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between the terminal 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When terminal 900 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when terminal 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in multimedia component 908 or via logical Believe that component 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for terminal 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of terminal 900, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 900, and sensor module 914 can also detect 900 1 components of terminal 900 or terminal Position change, the existence or non-existence that user contacts with terminal 900,900 orientation of terminal or acceleration/deceleration and terminal 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between terminal 900 and other equipment.Terminal 900 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G) or them Combination.In one exemplary embodiment, communication component 916 is received via broadcast channel from the wide of external broadcasting management system Broadcast signal or broadcast related information.In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) Module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) can be based in NFC module Technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 900 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned incidence relation of establishing Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of method for establishing incidence relation, which is characterized in that the method is applied to server, which comprises
Receive the solicited message that the second client installed in terminal is sent;Wherein, the solicited message is being examined by the terminal Generation when measuring start-up operation of the user for second client in the terminal, and including being directed to target to be shared The sharing information of object;The sharing information is sent to the terminal by the first client, and carries in first client The first account currently logged in;
Information in response to the request obtains the information of the target object, and, from the solicited message include described in point It enjoys and reads first account in information;
Generate the associated account relating information of the second account currently logged in first account and second client;
The information of the account relating information and the target object is sent to second client.
2. the method according to claim 1, wherein the server prestores the corresponding account of second account Number list, the user account in the account list are associated with second account;It is described generate first account with After the step of the second account currently logged in second client associated account relating information, the method is also wrapped It includes:
First account is added in the account list, and the account list including first account is sent to institute State the second client.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
In the information of the target object include first account in the case where, judge first account whether be and institute State the associated account of the second account;
The information by the target object is sent to second client, comprising:
In first account situation associated with second account, the institute that includes in the information for the target object State the first account addition correlation tag;
The information of target object added with the correlation tag is sent to second client.
4. the method according to claim 1, wherein the method also includes:
The first location information for installing the terminal of first client is obtained, and obtains the terminal for installing second client Second location information;
According to the first location information and the second location information, the relationship classification of the account relating information is identified;
The account relating information is sent to second client, comprising:
The account relating information and identified relationship classification are sent to second client.
5. according to the method described in claim 4, it is characterized in that, described according to the first location information and the second Confidence breath, identifies the other step of relation object of the account relating information, comprising:
According to the first location information and the second location information, the terminal and installation for installing first client are determined The distance between the terminal of second client difference;
According to the relationship of the relationship and the range difference and pre-determined distance threshold value of current time and preset time period, the account is identified The relationship classification of number related information.
6. according to right want 1 described in method, which is characterized in that generate first account and second client described On the second account for currently logging in associated account relating information the step of after, the method also includes:
The information posting request that first client is sent is received, the information posting request carries content to be released;
In response to the information posting request, the account relating information is added for the content to be released;
The content to be released for carrying the account relating information is sent to second client.
7. a kind of method for establishing incidence relation, which is characterized in that the method is applied to terminal, and the is equipped in the terminal Two clients and information share client;The described method includes:
Share client by the information and receive the sharing information for target object to be shared that the first client is sent, The sharing information carries the first account currently logged in first client;
When detecting that user is directed to the operation of the sharing information, the sharing information is stored;
When detecting that user is directed to the start-up operation of second client, the request generated for the target object is believed Breath, and the sharing information of storage is added in the solicited message;
The solicited message for carrying the sharing information is sent to server, so that the server returns to the target pair The information and account relating information of elephant;Wherein, the account relating information is the described for characterizing of the server generation The associated information of the second account currently logged in first account and second client.
8. the method according to the description of claim 7 is characterized in that being also equipped with first client in the terminal;In It is described to share the sharing information for target object to be shared that client receives the transmission of the first client by the information The step of before, the method also includes:
When detecting sharing operation of the user for the target object in first client, by first account It is added in the corresponding original sharing information of the sharing operation, to generate the sharing information;
The sharing information is sent to the information and shares client.
9. the method according to the description of claim 7 is characterized in that the method includes at least one following steps:
First page in second client shows the information and account relating information of the target object;
The account list including first account that the server is sent is received by second client, and described Second page in second client shows the account list including first account, and, in second client Third page presentation described in target object information and account relating information;
The information of target object of the 4th page presentation added with correlation tag in second client;The association mark First account signed in the information for being characterized in the target object is associated with second account.
10. the method according to the description of claim 7 is characterized in that the sharing information is to carry first client The sharing password of title is directed to mesh to be shared by what information sharing client the first client of reception was sent described After the step of marking the sharing information of object, the method also includes:
Share sharing password of the client to user's displaying carrying title by the information, to prompt user for described Share password and make predetermined registration operation, and prompt user passes through third party's client or identical as the title of first client Second client information of the target object is requested to the server.
CN201910615978.1A 2019-07-09 2019-07-09 Method and device for establishing association relationship and computer readable storage medium Active CN110460578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910615978.1A CN110460578B (en) 2019-07-09 2019-07-09 Method and device for establishing association relationship and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910615978.1A CN110460578B (en) 2019-07-09 2019-07-09 Method and device for establishing association relationship and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110460578A true CN110460578A (en) 2019-11-15
CN110460578B CN110460578B (en) 2022-02-22

Family

ID=68482505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910615978.1A Active CN110460578B (en) 2019-07-09 2019-07-09 Method and device for establishing association relationship and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110460578B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460049A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 Content sharing method and device, electronic equipment and computer readable storage medium
CN112019422A (en) * 2020-08-24 2020-12-01 北京达佳互联信息技术有限公司 Information sharing method, information processing method, related device and equipment
CN113536103A (en) * 2020-04-21 2021-10-22 北京达佳互联信息技术有限公司 Information recommendation method and device, electronic equipment and storage medium
WO2022052838A1 (en) * 2020-09-09 2022-03-17 北京字跳网络技术有限公司 Video file processing method and apparatus, electronic device, and computer storage medium
CN114697045A (en) * 2022-03-25 2022-07-01 北京字跳网络技术有限公司 Data processing method, system, device, equipment and storage medium
CN114826610A (en) * 2022-04-14 2022-07-29 函谷数巢品牌管理(广州)有限公司 Method and device for account binding demonstration based on multimedia
CN115002183A (en) * 2022-05-31 2022-09-02 北京达佳互联信息技术有限公司 Information generation method, information generation device, electronic equipment, information generation medium and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347963A (en) * 2010-07-30 2012-02-08 阿里巴巴集团控股有限公司 Method and device of recommending friends
CN106254218A (en) * 2016-08-11 2016-12-21 成都高合盛科技有限责任公司 Instant messaging account correlating method and device
CN106547904A (en) * 2016-11-08 2017-03-29 北京小米移动软件有限公司 Across account information sharing method and device
CN106789589A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 One kind shares processing method, device and terminal
CN107592256A (en) * 2017-09-21 2018-01-16 北京小米移动软件有限公司 Add the method, apparatus and system of good friend
US20180078851A1 (en) * 2015-09-23 2018-03-22 Tencent Technology (Shenzhen) Company Limited Intelligent hardware interaction method and system
CN107920019A (en) * 2017-12-05 2018-04-17 广州酷狗计算机科技有限公司 Pay close attention to method and device, computer equipment and the storage medium of good friend

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347963A (en) * 2010-07-30 2012-02-08 阿里巴巴集团控股有限公司 Method and device of recommending friends
US20180078851A1 (en) * 2015-09-23 2018-03-22 Tencent Technology (Shenzhen) Company Limited Intelligent hardware interaction method and system
CN106254218A (en) * 2016-08-11 2016-12-21 成都高合盛科技有限责任公司 Instant messaging account correlating method and device
CN106547904A (en) * 2016-11-08 2017-03-29 北京小米移动软件有限公司 Across account information sharing method and device
CN106789589A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 One kind shares processing method, device and terminal
CN107592256A (en) * 2017-09-21 2018-01-16 北京小米移动软件有限公司 Add the method, apparatus and system of good friend
CN107920019A (en) * 2017-12-05 2018-04-17 广州酷狗计算机科技有限公司 Pay close attention to method and device, computer equipment and the storage medium of good friend

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460049A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 Content sharing method and device, electronic equipment and computer readable storage medium
CN113536103A (en) * 2020-04-21 2021-10-22 北京达佳互联信息技术有限公司 Information recommendation method and device, electronic equipment and storage medium
CN113536103B (en) * 2020-04-21 2023-11-28 北京达佳互联信息技术有限公司 Information recommendation method and device, electronic equipment and storage medium
CN112019422A (en) * 2020-08-24 2020-12-01 北京达佳互联信息技术有限公司 Information sharing method, information processing method, related device and equipment
WO2022052838A1 (en) * 2020-09-09 2022-03-17 北京字跳网络技术有限公司 Video file processing method and apparatus, electronic device, and computer storage medium
US11889143B2 (en) 2020-09-09 2024-01-30 Beijing Zitiao Network Technology Co., Ltd. Video file processing method and apparatus, electronic device, and computer storage medium
CN114697045A (en) * 2022-03-25 2022-07-01 北京字跳网络技术有限公司 Data processing method, system, device, equipment and storage medium
WO2023179399A1 (en) * 2022-03-25 2023-09-28 北京字跳网络技术有限公司 Data processing method, system, apparatus and device, and storage medium
CN114826610A (en) * 2022-04-14 2022-07-29 函谷数巢品牌管理(广州)有限公司 Method and device for account binding demonstration based on multimedia
CN115002183A (en) * 2022-05-31 2022-09-02 北京达佳互联信息技术有限公司 Information generation method, information generation device, electronic equipment, information generation medium and program product

Also Published As

Publication number Publication date
CN110460578B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN110460578A (en) Establish the method, apparatus and computer readable storage medium of incidence relation
US20200125218A1 (en) Method of reporting a live incident in real time
CN104469714B (en) Note transmission method and device
CN105072178B (en) Cell-phone number binding information acquisition methods and device
KR102282544B1 (en) Product display method and device
CN106528617B (en) A kind of method and device that Web page picture is shown
JP6077231B2 (en) Information acquisition method and apparatus for user terminal in communication system
CN105975540A (en) Information display method and device
CN111597455A (en) Social relationship establishing method and device, electronic equipment and storage medium
CN102932733A (en) Mobile terminal as well as tracking method and tracking system thereof
US10015630B2 (en) Tracking people
US10390212B2 (en) Tracking system having an option of not being trackable
CN106131133A (en) Browsing history information inspection method, Apparatus and system
TW201442534A (en) Method for instant communication, terminal and system
WO2018149306A1 (en) Event processing method and apparatus
CN106453774B (en) Contact information methods of exhibiting and device
CN105848287A (en) Method, device and system for processing terminal positioning and router
CN105407160A (en) Interface display method and device
CN109525652A (en) Information sharing method, device, equipment and storage medium
WO2017166297A1 (en) Wifi hotpot portal authentication method and device
CN105975501A (en) Method and device for displaying message content
CN109842543A (en) The store method and device of instant communicating method and device, instant communication message
CN104113589B (en) The method and apparatus for obtaining user information
CN106572003A (en) User information recommendation method and device
CN106599231A (en) Page display method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant