CN108965107A - Good friend's adding method, device, system, client and server - Google Patents

Good friend's adding method, device, system, client and server Download PDF

Info

Publication number
CN108965107A
CN108965107A CN201810649399.4A CN201810649399A CN108965107A CN 108965107 A CN108965107 A CN 108965107A CN 201810649399 A CN201810649399 A CN 201810649399A CN 108965107 A CN108965107 A CN 108965107A
Authority
CN
China
Prior art keywords
user
client
adds
server
request
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
CN201810649399.4A
Other languages
Chinese (zh)
Other versions
CN108965107B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810649399.4A priority Critical patent/CN108965107B/en
Publication of CN108965107A publication Critical patent/CN108965107A/en
Application granted granted Critical
Publication of CN108965107B publication Critical patent/CN108965107B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of good friend's adding method, device, systems, client and server, the described method includes: the first client, which is based on external relation people serviced component, sends external relation people addition legitimate verification request to first server, which includes that second user corresponding to the first user identifier of the first user corresponding to the first client and the second user of request addition identifies;First user is the user in different groups from second user;First server carries out external relation people and adds legitimate verification;It is verified, is verified message to the transmission of the first client;First client is based on external relation people serviced component and sends external relation people addition request to first server;First server sends good friend to the second client based on the external relation people serviced component of the second corresponding client of second user mark and adds request, it receives the second client end response and agrees to that good friend adds the agreement response message that instruction is sent in second user, send good friend to the first client and add success message.

Description

Good friend's adding method, device, system, client and server
Technical field
The present invention relates to Internet communication technology field more particularly to a kind of good friend's adding method, device, systems, client End and server.
Background technique
With the emergence of mobile interchange, occur many immediate communication tools gradually.Immediate communication tool is by instant Mechanics of communication realizes the tool of online chatting, exchange, such as: microblogging, wechat, wechat enterprise, nail nail etc..Immediate communication tool It cannot be only used for the daily communication in life between good friend, important channeling also played in enterprise process.
Currently, being applied to the various instant message applications of enterprise, such as Slack, needs to carry out good friend in user and add behaviour When making, can only often add user in same group of enterprise is good friend, for be not good friend in same group of enterprise then without Method is added.Existing application can only carry out mutual plusing good friend in same group of enterprise with this of the instant message applications of enterprise Good friend's addition manner, need to add in other groups of enterprise except group of enterprise where user in customer care management etc. and use When family is good friend, it is also necessary to not be to establish a new group between user in same group of enterprise, then, carry out good friend Addition operation, when leading to user of the user in the group of enterprise other than group of enterprise where add oneself for good friend, Hao Youtian Add operation complexity, low efficiency, poor user experience.Accordingly, it is desirable to provide more convenient or more efficient scheme.
Summary of the invention
The present invention provides a kind of good friend's adding method, device, systems, client and server, can fast implement and work as The good friend between user other than preceding user and active user's group adds, and improves user experience.
In a first aspect, the present invention provides a kind of good friend's adding methods, which comprises
First client is based on external relation people serviced component and sends external relation people addition legitimacy to first server Checking request, it includes first of the first user corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to user identifier and the second user of request addition;
Wherein, first user is the user in different groups from the second user;
The first server based on the external relation people add legitimate verification request in the first user identifier and Second user mark carries out external relation people and adds legitimate verification;
When being verified, the first server is verified message to first client transmission;
First client is based on external relation people serviced component and adds to first server transmission external relation people Add request;
External relation people service of the first server based on the second corresponding client of second user mark Component sends good friend to second client and adds request;
First server receives the second client end response and agrees to that good friend adds the agreement that instruction is sent and rings in second user Answer message;
The first server sends good friend to first client and adds success message.
Second aspect provides another good friend's adding method, which comprises
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, institute State external relation people add legitimate verification request include the first client corresponding to the first user the first user identifier and The mark of second user corresponding to the second user of addition is requested, so that the first server is based on the external relation people and adds Add the first user identifier and the second user mark in legitimacy checking request to carry out external relation people and adds legitimate verification;
Wherein, first user is the user in different groups from the second user;
Receive that the first server sends when being verified is verified message;
External relation people is sent to the first server based on external relation people serviced component and adds request, so that described External relation people serviced component of the first server based on the second corresponding client of second user mark is to described the Two clients send good friend and add request;And it receives the second client end response and adds instruction hair in the agreement good friend of second user The agreement response message sent;
It receives the good friend that the first server is sent and adds success message.
The third aspect provides another good friend's adding method, which comprises
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, The external relation people adds the first user identifier that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to second user with request addition;
Wherein, first user is the user in different groups from the second user;
Based on the external relation people add legitimate verification request in the first user identifier and second user identify into Row external relation people adds legitimate verification;
When being verified, message is verified to first client transmission;
It receives first client and request is added based on the external relation people that external relation people's serviced component is sent;
External relation people serviced component based on the second corresponding client of second user mark is to described second Client sends good friend and adds request;
It receives the second client end response and agrees to that good friend adds the agreement response message that instruction is sent in second user;
Good friend, which is sent, to first client adds success message.
Fourth aspect provides another good friend's adding method, which comprises
First client is based on external relation people serviced component and sends external relation people addition legitimacy to first server Checking request, it includes first of the first user corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to user identifier and the second user of request addition;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
The first server is based on the external relation people and adds the first user identifier and second user mark in request It carries out external relation people and adds Authority Verification;
When being verified, the first server is verified message to first client transmission;
First client is based on external relation people serviced component asks to first server transmission external relation people addition It asks;
The first server sends good friend to the corresponding second server of second application and adds request;
The first server receives the second visitor corresponding to the second user mark that the second server is sent Agree to that good friend adds the agreement response message of instruction feedback in response to second user in family end;
The first server sends good friend to first client and adds success message.
5th aspect provides another good friend's adding method, which comprises
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, institute State external relation people add legitimate verification request include the first client corresponding to the first user the first user identifier and The mark of second user corresponding to the second user of addition is requested, so that the first server is based on the external relation people and adds The first user identifier and second user mark in request is added to carry out external relation people addition Authority Verification;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Receive that the first server sends when being verified is verified message;
External relation people is sent to first server based on external relation people serviced component and adds request, so that described first Server sends good friend to the corresponding second server of second application and adds request;And the first server receives The second corresponding client end response of the second user mark that the second server is sent in second user agreement well The agreement response message of friend's addition instruction feedback;
It receives the good friend that the first server is sent and adds success message.
6th aspect provides another good friend's adding method, which comprises
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, The external relation people adds the first user identifier that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to second user with request addition;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
The first user identifier and second user mark in request, which are added, based on the external relation people carries out external relation people Add Authority Verification;
When being verified, message is verified to first client transmission;
It receives first client and request is added based on the external relation people that external relation people's serviced component is sent;
The second server corresponding to second application sends good friend and adds request;
The second client end response corresponding to the second user mark that the second server is sent is received in second User's agrees to that good friend adds the agreement response message of instruction feedback;
Good friend, which is sent, to first client adds success message.
7th aspect provides a kind of good friend's add-on system, the system comprises:
First client adds for sending external relation people to first server based on external relation people serviced component Add legitimacy checking request, it includes the first use corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier at family and the second user of request addition;And it is used for first client End group sends external relation people to the first server in external relation people serviced component and adds request;
Wherein, first user is the user in different groups from the second user;
The first server, for adding the first user mark in legitimate verification request based on the external relation people Know and second user mark carries out external relation people and adds legitimate verification;And for when being verified, to described first Client transmission is verified message;And for the external connection based on the second corresponding client of second user mark It is that people's serviced component is requested to second client transmission good friend's addition;And for receiving the second client end response in second User's agrees to that good friend adds the agreement response message that instruction is sent;And for sending good friend's addition to first client Success message.
Eighth aspect provides another good friend's add-on system, the system comprises:
First client adds for sending external relation people to first server based on external relation people serviced component Add legitimacy checking request, it includes the first use corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier at family and the second user of request addition;And for being based on external relation People's serviced component sends external relation people to first server and adds request;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
The first server, for adding the first user identifier and second user in request based on the external relation people Mark carries out external relation people and adds Authority Verification;And for sending and verifying to first client when being verified Pass through message;And request is added for sending good friend to the corresponding second server of second application;And for connecing The second client end response corresponding to the second user mark that the second server is sent is received in the agreement of second user The agreement response message of good friend's addition instruction feedback;And success message is added for sending good friend to first client.
9th aspect provides a kind of good friend and adds client, and the client includes processor and memory, described to deposit Be stored at least one instruction, at least one section of program, code set or instruction set in reservoir, at least one instruction, it is described extremely Few one section of program, the code set or instruction set are loaded as the processor and are executed to realize the good friend as described in second aspect Adding method.
Tenth aspect provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or Instruction set is loaded as processor and is executed to realize good friend's adding method as described in second aspect.
Tenth one side provides a kind of good friend and adds server, and the server includes processor and memory, described At least one instruction, at least one section of program, code set or instruction set are stored in memory, described at least one instructs, is described At least one section of program, the code set or instruction set is loaded as the processor and is executed good as described in the third aspect to realize Friendly adding method.
12nd aspect provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or Instruction set is loaded as processor and is executed to realize good friend's adding method as described in the third aspect.
13rd aspect provides a kind of good friend and adds client, and the client includes processor and memory, described At least one instruction, at least one section of program, code set or instruction set are stored in memory, described at least one instructs, is described At least one section of program, the code set or instruction set are as the processor loads and executes to realize good as described in terms of the 5th Friendly adding method.
Fourteenth aspect provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or Instruction set is as processor loads and executes to realize such as good friend's adding method as described in terms of the 5th.
15th aspect provides another good friend and adds server, and the server includes processor and memory, institute It states and is stored at least one instruction, at least one section of program, code set or instruction set in memory, at least one instruction, institute At least one section of program, the code set or instruction set is stated as the processor loads and executes to realize as described in terms of the 6th Good friend's adding method.
16th aspect provides another computer readable storage medium, is stored at least one in the storage medium Instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set Or instruction set is as processor loads and executes to realize such as good friend's adding method as described in terms of the 6th.
17th aspect provides a kind of friend addition device, and described device includes:
First legitimate verification request sending module, for being sent based on external relation people serviced component to first server External relation people adds legitimate verification request, and it includes the first client institute that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of corresponding first user and the second user of request addition, so that described First server adds the first user identifier and second user mark in legitimate verification request based on the external relation people It carries out external relation people and adds legitimate verification;
Wherein, first user is the user in different groups from the second user;
First is verified message reception module, the verifying sent for receiving the first server when being verified Pass through message;
First addition request sending module, for being based on external relation people serviced component to outside first server transmission Portion contact person adds request, so that the first server is based on the outer of the second corresponding client of second user mark Portion's contact person's serviced component sends good friend to second client and adds request;And the second client end response is received in second User's agrees to that good friend adds the agreement response message that instruction is sent;
First success message receiving module adds success message for receiving the good friend that the first server is sent.
18th aspect provides another friend addition device, and described device includes:
First legitimate verification request receiving module is sent out for receiving the first client based on external relation people serviced component The external relation people sent adds legitimate verification and asks, and it includes the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first corresponding user and the second user of request addition;
Wherein, first user is the user in different groups from the second user;
First legitimate verification module is used for adding first in legitimate verification request based on the external relation people Family mark and second user mark carry out external relation people and add legitimate verification;
First is verified message transmission module, for when the first legitimate verification module verification passes through, to institute It states the transmission of the first client and is verified message;
First addition request receiving module, is sent for receiving first client based on external relation people serviced component External relation people add request;
Second addition request sending module, for adding request second client corresponding based on second user mark The external relation people serviced component at end sends good friend to second client and adds request;
First agrees to response message receiving module, adds for receiving the second client end response in the agreement good friend of second user The agreement response message for adding instruction to send;
Second success message receiving module adds success message for sending good friend to first client.
19th aspect provides another friend addition device, and described device includes:
Second legitimate verification request sending module, for being sent based on external relation people serviced component to first server External relation people adds legitimate verification request, and it includes the first client institute that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of corresponding first user and the second user of request addition, so that described First server is based on the external relation people and adds the first user identifier and second user mark progress external relation in request People adds Authority Verification;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Second is verified message reception module, the verifying sent for receiving the first server when being verified Pass through message;
Third adds request sending module, for sending external connection to first server based on external relation people serviced component It is that people adds request, is asked so that the first server sends good friend's addition to the corresponding second server of second application It asks;And the first server receives the second client corresponding to the second user mark that the second server is sent It holds and agrees to that good friend adds the agreement response message of instruction feedback in response to second user;
Third success message receiving module adds success message for receiving the good friend that the first server is sent.
20th aspect provides another friend addition device, and described device includes:
Second legitimate verification request receiving module is sent out for receiving the first client based on external relation people serviced component The external relation people sent adds legitimate verification and asks, and it includes the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first corresponding user and the second user of request addition;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Second legitimate verification module, for adding the first user identifier and second in request based on the external relation people User identifier carries out external relation people and adds Authority Verification;
Second is verified message transmission module, for when the second legitimate verification module verification passes through, to institute It states the transmission of the first client and is verified message;
Second addition request receiving module, is sent for receiving first client based on external relation people serviced component External relation people add request;
4th addition request sending module, for sending good friend's addition to the corresponding second server of second application Request;
Second agrees to response message receiving module, the second user mark sent for receiving the second server The second corresponding client end response agrees to that good friend adds the agreement response message of instruction feedback in second user;
4th success message receiving module adds success message for sending good friend to first client.
Good friend's adding method provided by the invention, device, system, client and server, have the following technical effect that
The present invention realizes the visitor of application by the external relation people's serviced component being arranged in the corresponding client-side of application The good friend carried out between the user other than active user and active user's group between family end and the server of application adds The related communication of business;And before the first client sends good friend's addition, external relation is carried out by the server in application People adds legitimate verification, guarantees the legitimacy for carrying out the external good friend addition that good friend adds between the user of operation, is verifying Pass through good friend's addition between the user in different groups in rear completion same application.It is provided using above-mentioned this specification embodiment Technical solution may be implemented directly to carry out good friend's addition between the user other than active user and active user's group, greatly The big good friend improved not between the user in same group adds the efficiency of operation, effectively improves user experience.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology and advantage, below will be to implementation Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only It is only some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of schematic diagram of application environment provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of embodiment of good friend's adding method provided by the invention;
Fig. 3 is a kind of flow diagram of embodiment of good friend's adding method provided by the invention;
Fig. 4 is the schematic diagram of another application environment provided in an embodiment of the present invention;
Fig. 5 is another embodiment flow diagram of good friend's adding method provided by the invention;
Fig. 6 is another embodiment flow diagram of good friend's adding method provided by the invention;
Fig. 7 is a kind of structural schematic diagram of friend addition device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another friend addition device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another friend addition device provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another friend addition device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification 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 the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, product or server need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of application environment provided in an embodiment of the present invention, as shown in Figure 1, this is answered It may include the first client 01, the second client 02 and first server 03 with environment.
Specifically, the first client 01 and the second client 02 may include smart phone, desktop computer, tablet computer, The entity device of the types such as laptop, digital assistants, intelligent wearable device, also may include running in entity device Software, such as service provider is supplied to the Webpage of user, also may include that those service providers are supplied to application of user etc.. The operating system run in the first client 01 and the second client 02 in the embodiment of the present invention can include but is not limited to Android System, IOS system, linux, windows etc..
The first server 01 may include an independently operated server or distributed server, Huo Zheyou The server cluster of multiple server compositions.
In practical applications, it is assumed that the first client 01 and the second client 02 are followed successively by first and apply the first upper user With the client of second user.The first server 03 is the server of the first application.Assuming that first user is described User in first application in the first group, the second user is the user in first application in the second group, described First group is different groups from second group.
In the present embodiment, described first applies corresponding client, including first client 01 and described second Client 02, is provided with external relation people's serviced component, external relation people's serviced component can be used for handling active user with Good friend between user other than active user's group adds business, specifically, here other than active user's group User can include but is not limited to the users of the different groups from active user in same application, external relation people service Component can be communicated with the backstage (first server) of the first application, carry out active user and active user's group with Related data between outer user sends and receives.In addition, being additionally provided with operation contact person's interface (OperateContact Interface).In conjunction with the application scenarios of Fig. 1, described first can pass through operation contact person's interface tune using corresponding client With said external contact person's serviced component, operation is added to carry out the good friend between the user in the first application in different groups.
Based on the application environment of above-mentioned Fig. 1, the user other than active user's group introduced below is and active user A kind of embodiment of good friend's adding method of the user of different groups in same application, Fig. 2 are good friends provided by the invention A kind of flow diagram of embodiment of adding method, present description provides the method operations as described in embodiment or flow chart Step, but based on routine or may include more or less operating procedure without creative labor.It is enumerated in embodiment The step of sequence be only one of numerous step execution sequence mode, do not represent and unique execute sequence.In practice When system or server product execute, it can execute according to embodiment or method shown in the drawings sequence or execute parallel (such as environment of parallel processor or multiple threads).It is specific as shown in Fig. 2, the method may include:
S201: the first client is based on external relation people serviced component and sends external relation people addition conjunction to first server Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition.
In this specification embodiment, when user's needs addition in a certain application is currently located the user other than group preferably When friendly, external relation people first can be sent to the application backstage (first server) and add legitimate verification request, after guaranteeing Continuous external relation people adds the legitimacy of request.Specifically, the first client can use operation contact person's interface call it is above-mentioned External relation people's serviced component in the embodiment of Fig. 1 sends external relation people to first server and adds legitimate verification Request.
Specifically, first user identifier can for the first user first application in user identifier, described second User identifier can be user identifier of the second user in the first application.User identifier may include in this specification embodiment But it is not limited to User ID.
S203: the first server adds the first user mark in legitimate verification request based on the external relation people Know and second user mark carries out external relation people and adds legitimate verification.
In this specification embodiment, when the external relation people that first server receives the transmission of the first client adds request Later, external relation people can be carried out and add legitimate verification.In this specification embodiment, the external relation people addition is legal Property may include needing to meet between the user for carrying out good friend's addition external relation relationship, can also include activly request add The good friend of the user of good friend adds legitimacy, can also include good friend's addition legitimacy of the user of request addition.Specifically, institute State the user and the master for needing to meet between the user for carrying out good friend's addition that external relation relationship may include request addition The user of dynamic request addition good friend is not in same group.The good friend of the user of activly request addition good friend, which adds legitimacy, can wrap The legitimacy of user itself is included, such as this group of user is certification group.Request good friend's addition of the user of addition legal Property may include request addition user have external relation people add permission, can also include request addition user setting Good friend is allowed to add.
Specifically, progress external relation people addition legitimate verification can include at least following in this specification embodiment One of:
1) based on the external relation people add request in the first user identifier to the first user group whether Certification is verified.
Specifically, first server can based on the external relation people add request in the first user identifier come search with The letter whether enterprise (group) where the relevant information of corresponding first user of the first user identifier, such as the first user authenticates Breath.Verify whether first user's group authenticates, it is ensured that carry out initiating external relation people to add the user of request to be one The user of a enterprise for having already passed through certification or collective can go to add external to avoid one suitcase enterprise of someone's creation in this way It is people the behaviors such as to swindle.
2) based on second user mark in external relation people addition request to the external relation people of the second user Addition permission is verified.
In this specification embodiment, first server can add second user mark in request based on the external relation people Know to search the relevant information for identifying corresponding second user with second user, such as the external relation people addition of second user Permission.In this implementation embodiment, add to add operating with external relation people with good friend between the user of permission, correspondingly, The external relation people of second user, which is added permission and verified, can guarantee that subsequent first user can successfully add the second use Family.
In addition, it should be noted that, can actively initiate the use that external relation people adds request in this specification embodiment There is external relation people to add permission at family (the first user).
3) based on second user mark in external relation people addition request to the external relation people of the second user Legitimacy verified.
In this specification embodiment, first server can add second user mark in request based on the external relation people Know to search the relevant information for identifying corresponding second user with second user, for example, second user external relation people conjunction Method, specifically, the legitimacy of the external relation people of the second user may include that the second user and described first are used Family belongs to different groups and the second user and first user is non-friend state.
In this specification embodiment, the legitimacy for verifying the external relation people of second user can guarantee first user's needs The second user of addition be and the contact person of the first user non-good friend in different groups.
4) second user mark in request is added based on the external relation people to set good friend's addition of the second user It sets and is verified.
In this specification embodiment, first server can add second user mark in request based on the external relation people Know to search the relevant information for identifying corresponding second user with second user, such as good friend adds setting, specifically, second The good friend of user add setting may include second user whether setting allows good friend to add;Here the good of second user is verified Friend's addition setting can consider to avoid second user for privacy etc., provided with not allowing good friend to add, guarantee that subsequent first uses Family can successfully add second user.
S205: when being verified, the first server is verified message to first client transmission.
In this specification embodiment, when being verified, the first server can be sent to first client It is verified message.Specifically, being tested when whether external relation people addition legitimate verification authenticates including first user's group Card, second user external relation people add Authority Verification, the legitimacy of external relation people of second user is verified and the When the good friend of two users adds setting verifying, described be verified may include that first user's group has authenticated, second uses The legal and second user for the external relation people that there is external relation people to add permission, second user at family, which is provided with, to be allowed Friend's addition.
S207: first client is based on external relation people serviced component and sends external relation to the first server People adds request;
In this specification embodiment, after the first client, which receives, is verified request, i.e. the first client institute is right The first user answered and oneself good friend not between the second user (external relation people) in same group add meet it is external Contact person adds legitimacy, correspondingly, can send external relation people to first server adds request, specifically, the first visitor Family end can use operation contact person's interface and call external relation people's serviced component in the embodiment of above-mentioned Fig. 1, to the first clothes Business device sends external relation people and adds request.
Specifically, the first client can be through but not limited to triggering in the following ways in this specification embodiment One server sends to add with the external relation people of second user and request: personal business card of the scanning second user in the first application (graphic forms such as two dimensional code, bar code), user name, phone number etc. of the search second user in the first application are answered first Identification information in.
Specifically, in this specification embodiment, as of first client by scanning second user in the first application Name piece come trigger sent to first server added with the external relation people of second user request when, can to scan this second The access address that user obtains after the personal business card in the first application carries out legitimate verification, such as URL (unified resource positioning Symbol, Uniform Resource Locator).Correspondingly, sending external relation people after being verified to first server and adding Add request.
S209: external relation people of the first server based on the second corresponding client of second user mark Serviced component sends good friend to second client and adds request.
Specifically, it may include the first user identifier that the good friend, which adds request, it in this way can be in order to the second client institute Corresponding second user knows the relevant information for needing to add the external relation people of oneself, to decide whether to add.
S211: the second client end response adds instruction in the agreement good friend of second user, sends to the first server Agree to response message.
It, can be by being clicked in the second client after second user agrees to good friend's addition in this specification embodiment Button etc. is agreed to trigger and agree to that good friend adds instruction, correspondingly, the second client end response adds in the agreement good friend of second user Add instruction, can be sent to the first server and agree to response message.
S213: the first server sends good friend to first client and adds success message.
It, can after first server receives the agreement response message of the second client transmission in this specification embodiment Success message is added to send good friend to first client.
In addition, in this specification embodiment, in order to guarantee to carry out good friend's addition user authenticity, this specification implemented In example, before step S207, the method can also include:
The first server carries out real-name authentication to first user and the second user;
When real-name authentication passes through, the message that real-name authentication passes through is sent to first client;
It is sent out based on external relation people serviced component to the first server correspondingly, first client can be executed The operation for sending external relation people to add request.
Further, in some embodiments, the method can also include:
The first server saves the friend relation data of first user Yu the second user, by the good friend Relation data updates the buddy list to first user and the second user.
The buddy list of updated first user is sent to the first client by the first server, so as to described One client updates the first user's described in first client based on the buddy list of updated first user Buddy list.
The buddy list of updated second user is sent to the second client by the first server, so as to described Two clients update second user described in second client based on the buddy list of the updated second user Buddy list.
It, can after first server receives the agreement response message of the second client transmission in this specification embodiment To save the friend relation data of first user Yu the second user, and the friend relation data are updated to described The buddy list of first user and the second user.
Further, in further embodiments, when external relation people add legitimate verification it is obstructed out-of-date, the method Can also include:
Obstructed out-of-date when verifying, first server sends authentication failed message to first client.
Further, in further embodiments, when second user refusal good friend's addition, the method can also be wrapped It includes:
Second client end response adds instruction in the refusal good friend of second user, refuses to first server transmission Exhausted response message.
First server sends good friend to first client and adds failed message.
The technical solution provided by above this specification embodiment is as it can be seen that in same application in this specification embodiment It, can be by joining in the outside that the corresponding client-side of application is arranged when carrying out good friend's addition between the user in different groups It is people's serviced component, realizes that the good friend between the user for carrying out different groups between client and application backstage (server) adds The related communication of business;And before the first client sends good friend's addition, added by carrying out external relation people on application backstage Add legitimate verification, guarantees the legitimacy of the external good friend addition between the user in different groups, completed after being verified Good friend's addition between user in same application in different groups.The technical solution provided using above-mentioned this specification embodiment It may be implemented directly carrying out good friend's addition operation in two different groups between the client of user, greatly improve same application The good friend between user in middle difference group adds the efficiency of operation, effectively improves user experience.
Based on the application environment of above-mentioned Fig. 1, this is introduced by executing subject of the client and server of a certain application below A kind of embodiment for good friend's adding method that specification provides, Fig. 3 is a kind of implementation of good friend's adding method provided by the invention Example flow diagram, present description provides the method operating procedures as described in embodiment or flow chart, but based on routinely or Person may include more or less operating procedure without creative labor.The step of enumerating in embodiment sequence is only crowd One of multi-step execution sequence mode does not represent and unique executes sequence.System or server product in practice is held When row, can be executed according to embodiment or method shown in the drawings sequence or it is parallel execute (such as parallel processor or The environment of multiple threads).It is specific as shown in figure 3, the method may include:
S301: the first client is based on external relation people serviced component and sends external relation people addition conjunction to first server Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition.
Specifically, first user is the user in different groups from the second user.
S303: the first server adds the first user mark in legitimate verification request based on the external relation people Know and second user mark carries out external relation people and adds legitimate verification.
Specifically, here external relation people add legitimate verification specific steps may refer to it is above-mentioned shown in Fig. 2 good Associated description in the embodiment of friendly adding method, details are not described herein.
S305: when being verified, the first server is verified message to first client transmission.
S307: first client is based on external relation people serviced component and sends external relation to the first server People adds request.
S309: external relation people of the first server based on the second corresponding client of second user mark Serviced component sends good friend to second client and adds request.
S311: first server receives the second client end response and agrees to that good friend adds the same of instruction transmission in second user Meaning response message.
S313: the first server sends good friend to first client and adds success message.
In another embodiment, the method can also include:
Obstructed out-of-date when verifying, the first server sends authentication failed message to first client.
In another embodiment, the method also includes:
The first server receives second client end response and adds instruction transmission in the refusal good friend of second user Refuse to respond message;
The first server sends good friend to first client and adds failed message.
The technical solution that above this specification embodiment provides passes through in the outside that the corresponding client-side of application is arranged Contact person's serviced component is realized between the user for carrying out different groups between the client of application and application backstage (server) The related communication of good friend's addition business;And before the first client sends good friend's addition, by outside application backstage carries out Contact person adds legitimate verification, guarantees the legitimacy of the external good friend addition between the user in different groups, logical in verifying Later good friend's addition between the user in same application in different groups is completed.It is provided using above-mentioned this specification embodiment Technical solution may be implemented directly carrying out good friend addition behaviour in two different groups between the client of user in same application Make, greatly improves the efficiency that the good friend between the user in same application in different groups adds operation, effectively improve user Experience.
Based on the application environment of above-mentioned Fig. 1, this is introduced by executing subject of the client and server of a certain application below A kind of embodiment for good friend's add-on system method that specification provides, the system may include:
First client and and first server;
First client adds for sending external relation people to first server based on external relation people serviced component Add legitimacy checking request, it includes the first use corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier at family and the second user of request addition;And it is used for first client End group sends external relation people to the first server in external relation people serviced component and adds request;
Wherein, first user is the user in different groups from the second user;
The first server, for adding the first user mark in legitimate verification request based on the external relation people Know and second user mark carries out external relation people and adds legitimate verification;And for when being verified, to described first Client transmission is verified message;And for the external connection based on the second corresponding client of second user mark It is that people's serviced component is requested to second client transmission good friend's addition;And for receiving the second client end response in second User's agrees to that good friend adds the agreement response message that instruction is sent;And for sending good friend's addition to first client Success message.
Based on the application environment of above-mentioned Fig. 1, it is good that one kind that this specification provides is introduced using client as executing subject below The embodiment of friendly adding method, specifically, may include:
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, institute State external relation people add legitimate verification request include the first client corresponding to the first user the first user identifier and The mark of second user corresponding to the second user of addition is requested, so that the first server is based on the external relation people and adds Add the first user identifier and the second user mark in legitimacy checking request to carry out external relation people and adds legitimate verification;
Wherein, first user is the user in different groups from the second user;
Receive that the first server sends when being verified is verified message;
External relation people is sent to the first server based on external relation people serviced component and adds request, so that described External relation people serviced component of the first server based on the second corresponding client of second user mark is to described the Two clients send good friend and add request;And it receives the second client end response and adds instruction hair in the agreement good friend of second user The agreement response message sent;
It receives the good friend that the first server is sent and adds success message.
The same or similar parts between the embodiments can be referred to each other for this specification, what each embodiment stressed It is the difference from other embodiments.For above-mentioned client embodiment, implement since it is substantially similar to method Example, so being described relatively simple, the part explanation of embodiment of the method corresponding referring to fig. 2 in place of correlation.
The present invention also provides the embodiments that another good friend adds client, and the client includes processor and storage Device is stored at least one instruction, at least one section of program, code set or instruction set in the memory, and described at least one refers to It enables, at least one section of program, the code set or the instruction set are loaded by the processor and executed to realize such as the above method Good friend's adding method provided by embodiment.
Based on the application environment of above-mentioned Fig. 1, it is good that one kind that this specification provides is introduced using server as executing subject below The embodiment of friendly adding method, specifically, may include:
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, The external relation people adds the first user identifier that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to second user with request addition;
Wherein, first user is the user in different groups from the second user;
Based on the external relation people add legitimate verification request in the first user identifier and second user identify into Row external relation people adds legitimate verification;
When being verified, message is verified to first client transmission;
It receives first client and request is added based on the external relation people that external relation people's serviced component is sent;
External relation people serviced component based on the second corresponding client of second user mark is to described second Client sends good friend and adds request;
It receives the second client end response and agrees to that good friend adds the agreement response message that instruction is sent in second user;
Good friend, which is sent, to first client adds success message.
In specific embodiment, the first user mark added based on the external relation people in legitimate verification request Know and second user mark carry out external relation people to add legitimate verification at least may include one of the following:
Adding the first user identifier in request based on the external relation people is to deny to the first user group Card is verified;
Second user mark in request is added based on the external relation people to add the external relation people of the second user Weighting limit is verified;
Second user in request is added based on the external relation people to identify to the external relation people's of the second user Legitimacy is verified;
Second user mark in request is added based on the external relation people, and setting is added to the good friend of the second user It is verified.
In specific embodiment, the method can also include:
The friend relation data for saving first user Yu the second user arrive friend relation data update The buddy list of first user and the second user;
The buddy list of updated first user is sent to the first client, so that first client is based on institute The buddy list for stating updated first user updates the buddy list of the first user described in first client;
The buddy list of updated second user is sent to the second client, so that second client is based on institute The buddy list for stating updated second user updates the buddy list of second user described in second client.
In specific embodiment, the method can also include:
It is obstructed out-of-date when verifying, authentication failed message is sent to first client.
In specific embodiment, the method can also include:
It receives second client end response and refuses to respond message in what the refusal good friend addition instruction of second user was sent;
Good friend, which is sent, to first client adds failed message.
The same or similar parts between the embodiments can be referred to each other for this specification, what each embodiment stressed It is the difference from other embodiments.For above-mentioned server example, implement since it is substantially similar to method Example, so being described relatively simple, the part explanation of embodiment of the method corresponding referring to fig. 2 in place of correlation.
The present invention also provides the embodiments that another good friend adds server, and the server includes processor and storage Device is stored at least one instruction, at least one section of program, code set or instruction set in the memory, and described at least one refers to It enables, at least one section of program, the code set or the instruction set are loaded by the processor and executed to realize such as the above method Good friend's adding method provided by embodiment.
Referring to Fig. 4, Fig. 4 is the schematic diagram of another application environment provided in an embodiment of the present invention, as shown in figure 4, should Application environment may include the first client 410, the second client 420, first server 430 and second server 440.
Specifically, the first client 410 and the second client 420 may include smart phone, desktop computer, plate electricity The entity device of the types such as brain, laptop, digital assistants, intelligent wearable device, also may include running on entity to set Software in standby, such as service provider are supplied to the Webpage of user, also may include that those service providers are supplied to answering for user With etc..The operating system run in the first client 410 and the second client 420 in the embodiment of the present invention may include but unlimited In Android system, IOS system, linux, windows etc..
The first server 430 and second server 440 may include an independently operated server, or distribution Formula server, or the server cluster being made of multiple servers.
Specifically, first client 410 is the client of first the first upper user of application.Second client 420 be the client of the second upper second user of application, and first application is different applications from the second application;Described first Server 430 is the server of the first application, and the second server 440 is the server of the second application.
In the present embodiment, described first applies corresponding client, including first client 410, can be set There is external relation people's serviced component, external relation people's serviced component can be used for handling group where active user and active user Good friend between user other than group adds business, and the user other than active user's group can include but is not limited to here With user of the active user in different application.External relation people serviced component can be with backstage (the first clothes of the first application Business device) it is communicated, carry out the phase that the good friend between active user and the user other than active user's group adds business Close sending and receiving for data.In addition, being additionally provided with operation contact person's interface (OperateContact interface).In conjunction with Fig. 4's Application scenarios, the corresponding client of first application can call said external connection by operation contact person's interface People's serviced component, to realize the user in the first user in the first application and the second application other than first user's group Between carry out good friend add operation.
Based on the application environment of above-mentioned Fig. 4, the user other than active user's group introduced below is and active user A kind of embodiment of good friend's adding method of user in different application, Fig. 5 are good friend's adding methods provided by the invention Another embodiment flow diagram, present description provides the method operating procedure as described in embodiment or flow chart, but base It may include more or less operating procedure in routine or without creative labor.The step of being enumerated in embodiment sequence Only one of numerous step execution sequence mode does not represent and unique executes sequence.System or service in practice When device product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as parallel place Manage the environment of device or multiple threads).It is specific as shown in figure 5, the method may include:
S501: the first client is based on external relation people serviced component and sends external relation people addition conjunction to first server Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition.
In this specification embodiment, when user's needs addition in a certain application is currently located the user other than group preferably When friendly, external relation people first can be sent to the application backstage (first server) and add legitimate verification request, after guaranteeing Continuous external relation people adds the legitimacy of request.Specifically, the first client can use operation contact person's interface call it is above-mentioned External relation people's serviced component in the embodiment of Fig. 1 sends external relation people to first server and adds legitimate verification Request.
Specifically, first user identifier is user identifier of first user in the first application, institute in the present embodiment It states second user and is identified as user identifier of the second user in the second application.User identifier can wrap in this specification embodiment It includes but is not limited to User ID.
S503: the first server is based on the external relation people and adds the first user identifier and second user in request Mark carries out external relation people and adds Authority Verification.
In this specification embodiment, when the external relation people that first server receives the transmission of the first client adds request Later, external relation people can be carried out and add legitimate verification.In this specification embodiment, the external relation people addition is legal Property may include activly request addition good friend user good friend add legitimacy, can also include request addition user it is good Friend's addition legitimacy.Specifically, it may include user's itself that the good friend of the user of activly request addition good friend, which adds legitimacy, Legitimacy, such as this group of user are certification group.Requesting the good friend of the user of addition to add legitimacy may include asking The user setting of addition permission good friend is asked to add.
Specifically, progress external relation people addition legitimate verification can include at least following in this specification embodiment One of:
1) based on the external relation people add request in the first user identifier to the first user group whether Certification is verified.
Specifically, first server can based on the external relation people add request in the first user identifier come search with The relevant information of corresponding first user of first user identifier, such as the enterprise where the first user described in the first application The information whether (group) authenticates.Verify whether first user's group authenticates, it is ensured that carry out initiating external relation people The user of addition request is the user of an enterprise for having already passed through certification or collective, can create a skin in this way to avoid someone Packet enterprise goes addition external relation people the behaviors such as to swindle.
2) second user mark in request is added based on the external relation people to set good friend's addition of the second user It sets and is verified.
In this specification embodiment, first server can add second user mark in request based on the external relation people Know to search the relevant information for identifying corresponding second user with second user, such as good friend adds setting, specifically, here The relevant information of second user can be obtained from the corresponding second server of the second application.Specifically, the good friend of second user Addition setting may include whether second user is arranged permission good friend's addition in the second application;Here the good of second user is verified Friend's addition setting can consider to avoid second user for privacy etc., provided with not allowing good friend to add, guarantee that subsequent first uses Family can successfully add second user.
S505: when being verified, the first server is verified message to first client transmission.
In this specification embodiment, when being verified, first server can send to first client and verify Pass through message.Specifically, when external relation people add legitimate verification include first user's group whether authentication verification and When the good friend of second user adds setting verifying, described be verified may include first user's group in the first application It has authenticated and second user is provided with permission good friend in the second application and adds.
S507: first client is based on external relation people serviced component and adds to first server transmission external relation people Add request.
In this specification embodiment, when the first user in the first application needs to add the second user in the second application, Receive first server transmission be verified message after, the first user the first client corresponding in the first application External relation people can be sent to first server add request.It is connect specifically, the first client can use operation contact person Mouth calls external relation people's serviced component in the embodiment of above-mentioned Fig. 4, sends external relation people addition to first server Request.
Specifically, the external relation people add request may include the first user identifier corresponding to the first client and The mark of second user corresponding to second client.Specifically, first user identifier can answer for the first user first User identifier in, the second user mark can be user identifier of the second user in the second application.
Specifically, the first client can be through but not limited to triggering in the following ways in this specification embodiment One server sends to add with the external relation people of second user in the second application and request: scanning second user is in the second application Personal business card (graphic forms such as two dimensional code, bar code), search second user second application in user name, phone number Deng the identification information in the second application.
Specifically, in this specification embodiment, as of first client by scanning second user in the second application It, can be right when name piece adds request to first server transmission and the external relation people of second user in the second application to trigger It scans the access address that the second user obtains after the personal business card in the second application and carries out legitimate verification, such as URL (system One Resource Locator, Uniform Resource Locator).Correspondingly, after being verified, to outside first server transmission Portion contact person adds request.
S509: the first server sends good friend to the corresponding second server of second application and adds request.
In specific embodiment, first server can be by user identifier of first user in the first application here It is converted into user identifier of first user in the second application, first server can obtain first from second server and use here User identifier of the family in the second application.In addition, when the first user register account number in the second application, second server User identifier of first user in the second application directly can be sent to first server;When the first user answers second In when unregistered account, second server can be after first user completes registration operation in the second application, by first User's user identifier in the second application is sent to first server.Correspondingly, it may include the first user that good friend, which adds request, In the user identifier of user identifier and second user in the second application in the second application.
Specifically, it may include that user identifier and second of first user in the second application are used that good friend, which adds request, here User identifier (second user mark) of the family in the second application, so that the good friend is added request by subsequent second server When being sent to the second client corresponding to second user mark, second user can be based on first user in the second application User identifier check need to add oneself be good friend the first user relevant information, to decide whether to add.
S511: the second server sends the good friend to second client and adds request.
S513: the second client end response adds instruction in the agreement good friend of second user, sends to the second server Agree to response message.
It, can be by being clicked in the second client after second user agrees to good friend's addition in this specification embodiment Button etc. is agreed to trigger and agree to that good friend adds instruction, correspondingly, the second client end response adds in the agreement good friend of second user Add instruction, can be sent to the second server and agree to response message.
S515: the second server sends the agreement response message to the first server.
S517: the first server sends good friend to first client and adds success message.
It, can after first server receives the agreement response message of second server transmission in this specification embodiment Success message is added to send good friend to first client.
In addition, in this specification embodiment, in order to guarantee to carry out good friend's addition user authenticity, this specification implemented In example, before step S507, the method can also include:
The first server carries out real-name authentication to first user and the second user;
When real-name authentication passes through, in specific embodiment, first server can be by first user here User identifier in one application is converted into user identifier of first user in the second application, and first server can be from the here Two servers obtain user identifier of first user in the second application.In addition, when the first user has infused in the second application When volume account, user identifier of first user in the second application directly can be sent to first service by second server Device;When the first user unregistered account in the second application, second server can be in first user in the second application After completing registration operation, by the first user, user identifier is sent to first server in the second application.Correspondingly, good friend adds Request may include the first user in the user identifier of user identifier and second user in the second application in the second application.
Specifically, it may include that user identifier and second of first user in the second application are used that good friend, which adds request, here User identifier (second user mark) of the family in the second application, so that the good friend is added request by subsequent second server When being sent to the second client corresponding to second user mark, second user can be based on first user in the second application User identifier check need to add oneself be good friend the first user relevant information, to decide whether to add.
Further, in some embodiments, the method can also include:
The first server saves registration information and described second of the second user in first application and uses The friend relation data at family and first user.
The first server updates the friend relation data to the good of first user and the second user Friendly list.
The buddy list of updated first user is sent to the first client by the first server, so as to described One client updates the first user's described in first client based on the buddy list of updated first user Buddy list.
Registration information and updated second of the first server by the second user in first application The buddy list of user is sent to second user third client corresponding in the first application, so as to the third visitor Family end group updates the application interface of the third client in the registration information and is based on the updated second user Buddy list update the buddy list of second user described in the third client.
Further, in further embodiments, when external relation people add legitimate verification it is obstructed out-of-date, the method Can also include:
Obstructed out-of-date when verifying, first server sends authentication failed message to first client.
Further, in further embodiments, when second user refusal good friend's addition,
Second client end response adds instruction in the refusal good friend of second user, sends refusal to the second server and rings Answer message.
The second server refuses to respond message to first server transmission.
The first server sends good friend to first client and adds failed message.
The technical solution provided by above this specification embodiment is as it can be seen that in the first application in this specification embodiment User needs to add the user in the other application (such as second application) except first application when being good friend, can be by the External relation people's serviced component that the corresponding client-side of one application is arranged realizes the client and the first application of the first application Server between carry out different application user between good friend add business related communication;And it is sent in the first client Before good friend's addition, legitimate verification is added by carrying out external relation people in the server side of the first application, guarantee carries out The legitimacy of external good friend addition between the user of friend's addition;After being verified, good friend is added into request and is answered by first Be sent to second with corresponding server and apply corresponding server, and by the second corresponding server of application with Second is communicated using the second corresponding client, is completed between the user in the user and the second application in the first application Good friend add operation.User in two different applications may be implemented using the technical solution that above-mentioned this specification embodiment provides Client between directly carry out good friend and add operation, greatly improve group where the first user in the first application and the first user The efficiency that good friend adds operation is carried out between the user in the second application other than group, effectively improves user experience.
Based on the application environment of above-mentioned Fig. 4, this is introduced by executing subject of the client and server of a certain application below A kind of embodiment for good friend's adding method that specification provides, Fig. 6 are that the another kind of good friend's adding method provided by the invention is real The flow diagram for applying example, present description provides the method operating procedures as described in embodiment or flow chart, but based on conventional It may include either more or less operating procedure without creative labor.The step of being enumerated in embodiment sequence be only One of numerous step execution sequence mode does not represent and unique executes sequence.System or server product in practice When execution, can be executed according to embodiment or method shown in the drawings sequence or it is parallel execute (such as parallel processor or The environment of person's multiple threads).It is specific as shown in fig. 6, the method may include:
S601: the first client is based on external relation people serviced component and sends external relation people addition conjunction to first server Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition.
Specifically, wherein user identifier of first user identifier for the first user in the first application, described second User identifier is user identifier of the second user in the second application.
S603: the first server is based on the external relation people and adds the first user identifier and second user in request Mark carries out external relation people and adds Authority Verification.
Specifically, here external relation people add legitimate verification specific steps may refer to it is above-mentioned shown in fig. 5 good Associated description in the embodiment of friendly adding method, details are not described herein.
S605: when being verified, the first server is verified message to first client transmission.
S607: first client is based on external relation people serviced component and adds to first server transmission external relation people Add request.
S609: the first server sends good friend to the corresponding second server of second application and adds request.
S611: the first server receives corresponding the of second user mark that the second server is sent Two client end responses agree to that good friend adds the agreement response message of instruction feedback in second user.
S613: the first server sends good friend to first client and adds success message.
In another embodiment, the method can also include:
The first server saves registration information and described second of the second user in first application and uses The friend relation data at family and first user;
The first server updates the friend relation data to the good of first user and the second user Friendly list;
The buddy list of updated first user is sent to the first client by the first server, so as to described One client updates the first user's described in first client based on the buddy list of updated first user Buddy list;
Registration information and updated second of the first server by the second user in first application The buddy list of user is sent to second user third client corresponding in the first application, so as to the third visitor Family end group updates the application interface of the third client in the registration information and is based on the updated second user Buddy list update the buddy list of second user described in the third client.
In another embodiment, the method can also include:
Obstructed out-of-date when verifying, the first server sends authentication failed message to first client.
In another embodiment, the method can also include:
The second server receives second client end response that the second server is sent and uses in described second The refusal good friend addition instruction feedback at family refuses to respond message;
The first server sends good friend to first client and adds failed message.
By the technical solution of above this specification embodiment offer as it can be seen that this specification embodiment is by applying institute first External relation people's serviced component of corresponding client-side setting realizes the client and the server of the first application of the first application Between carry out different application user between good friend add business related communication;And good friend's addition is sent in the first client Before, legitimate verification is added by carrying out external relation people in the server side of the first application, guarantees to carry out good friend's addition The legitimacy of external good friend addition between user;After being verified, good friend is added into request and is passed through corresponding to the first application Server be sent to second apply corresponding server, and by this second application corresponding server with second application The second corresponding client is communicated, and the good friend completed between the user in the user in the first application and the second application adds Add operation.The client of user in two different applications may be implemented using the technical solution that above-mentioned this specification embodiment provides Between directly carry out good friend and add operation, greatly improve other than the first user in the first application and first user's group The efficiency that good friend adds operation is carried out between user in second application, effectively improves user experience.
Based on the application environment of above-mentioned Fig. 4, this is introduced by executing subject of the client and server of a certain application below A kind of good friend that specification provides adds the embodiment of message, which may include: the first client and and first server;
First client adds for sending external relation people to first server based on external relation people serviced component Add legitimacy checking request, it includes the first use corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier at family and the second user of request addition;And for being based on external relation People's serviced component sends external relation people to first server and adds request;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
The first server, for adding the first user identifier and second user in request based on the external relation people Mark carries out external relation people and adds Authority Verification;And for sending and verifying to first client when being verified Pass through message;And request is added for sending good friend to the corresponding second server of second application;And for connecing The second client end response corresponding to the second user mark that the second server is sent is received in the agreement of second user The agreement response message of good friend's addition instruction feedback;And success message is added for sending good friend to first client.
Based on the application environment of above-mentioned Fig. 4, this specification is introduced as executing subject using the client of the first application below and is mentioned The embodiment of a kind of good friend's adding method supplied, specifically, may include:
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, institute State external relation people add legitimate verification request include the first client corresponding to the first user the first user identifier and The mark of second user corresponding to the second user of addition is requested, so that the first server is based on the external relation people and adds The first user identifier and second user mark in request is added to carry out external relation people addition Authority Verification;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Receive that the first server sends when being verified is verified message;
External relation people is sent to first server based on external relation people serviced component and adds request, so that described first Server sends good friend to the corresponding second server of second application and adds request;And the first server receives The second corresponding client end response of the second user mark that the second server is sent in second user agreement well The agreement response message of friend's addition instruction feedback;
It receives the good friend that the first server is sent and adds success message.
The same or similar parts between the embodiments can be referred to each other for this specification, what each embodiment stressed It is the difference from other embodiments.For above-mentioned client embodiment, implement since it is substantially similar to method Example, so being described relatively simple, related place illustrates referring to the part of embodiment of the method corresponding to Fig. 5.
The present invention also provides the embodiments that a kind of good friend adds client, and the client includes processor and memory, It is stored at least one instruction, at least one section of program, code set or instruction set in the memory, at least one instruction, At least one section of program, the code set or the instruction set are loaded by the processor and are executed to realize that the above method such as is implemented Good friend's adding method provided by example.
Based on the application environment of above-mentioned Fig. 4, this specification is introduced as executing subject using the server of the first application below and is mentioned The embodiment of a kind of good friend's adding method supplied, specifically, may include:
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, The external relation people adds the first user identifier that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to second user with request addition;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
The first user identifier and second user mark in request, which are added, based on the external relation people carries out external relation people Add Authority Verification;
When being verified, message is verified to first client transmission;
It receives first client and request is added based on the external relation people that external relation people's serviced component is sent;
The second server corresponding to second application sends good friend and adds request;
The second client end response corresponding to the second user mark that the second server is sent is received in second User's agrees to that good friend adds the agreement response message of instruction feedback;
Good friend, which is sent, to first client adds success message.
It is described that first user identifier and second user in request are added based on the external relation people in specific embodiment Mark carries out external relation people and adds Authority Verification including at least one of the following:
Adding the first user identifier in request based on the external relation people is to deny to the first user group Card is verified;
Second user mark in request is added based on the external relation people, and setting is added to the good friend of the second user It is verified.
In specific embodiment, the method also includes:
Registration information and the second user and described first of the second user in first application is saved to use The friend relation data at family;
The friend relation data are updated into the buddy list to first user and the second user;
The buddy list of updated first user is sent to the first client, so that first client is based on institute The buddy list for stating updated first user updates the buddy list of the first user described in first client;
By the buddy list of registration information and updated second user of the second user in first application It is sent to second user third client corresponding in the first application, so that the third client is based on the note The application interface of third client described in volume information update and the buddy list based on the updated second user update The buddy list of second user described in the third client.
In specific embodiment, the method also includes:
It is obstructed out-of-date when verifying, authentication failed message is sent to first client.
In specific embodiment, the method also includes:
Second client end response that the second server is sent is received to add in the refusal good friend of the second user Add instruction feedback refuses to respond message;
Good friend, which is sent, to first client adds failed message.
The same or similar parts between the embodiments can be referred to each other for this specification, what each embodiment stressed It is the difference from other embodiments.For above-mentioned server example, implement since it is substantially similar to method Example, so being described relatively simple, related place illustrates referring to the part of embodiment of the method corresponding to Fig. 5.
The present invention also provides the embodiments that a kind of good friend adds server, and the server includes processor and memory, It is stored at least one instruction, at least one section of program, code set or instruction set in the memory, at least one instruction, At least one section of program, the code set or the instruction set are loaded by the processor and are executed to realize that the above method such as is implemented Good friend's adding method provided by example.
The embodiment of the invention also provides a kind of friend addition devices, as shown in fig. 7, the apparatus may include:
First legitimate verification request sending module 710, for being based on external relation people serviced component to first server It sends external relation people and adds legitimate verification request, it includes the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first corresponding user of end and the second user of request addition, so that The first server adds the first user identifier and second user in legitimate verification request based on the external relation people Mark carries out external relation people and adds legitimate verification;
Wherein, first user is the user in different groups from the second user;
First is verified message reception module 720, is sent when being verified for receiving the first server It is verified message;
First addition request sending module 730, for being sent out based on external relation people serviced component to the first server External relation people is sent to add request, so that the second client that the first server is corresponding based on second user mark External relation people serviced component to second client send good friend add request;And receive the second client end response in Second user agrees to that good friend adds the agreement response message that instruction is sent;
First success message receiving module 740 adds success message for receiving the good friend that the first server is sent.
Apparatus and method embodiment in the Installation practice is based on similarly inventive concept.
The embodiment of the invention also provides another friend addition devices, as shown in figure 8, the apparatus may include:
First legitimate verification request receiving module 810 is based on external relation people service group for receiving the first client The external relation people that part is sent adds legitimate verification and asks, and it includes the first visitor that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of first user corresponding to the end of family and the second user of request addition;
Wherein, first user is the user in different groups from the second user;
First legitimate verification module 820, for adding the in legitimate verification request based on the external relation people One user identifier and second user mark carry out external relation people and add legitimate verification;
First is verified message transmission module 830, for when the first legitimate verification module verification passes through, to The first client transmission is verified message;
First addition request receiving module 840 is based on external relation people serviced component for receiving first client The external relation people sent to the first server adds request;
Second addition request sending module 850, for adding request based on second corresponding to second user mark The external relation people serviced component of client sends good friend to second client and adds request;
First agree to response message receiving module 860, for receive the second client end response in second user agreement well The agreement response message that friend's addition instruction is sent;
Second success message receiving module 870 adds success message for sending good friend to first client.
In another embodiment, the first legitimate verification module 820 at least may include one of following units:
First group's authentication unit can be used for based on the first user identifier in external relation people addition request to institute It states first user's group and whether authenticates and verify;
Authority Verification unit can be used for adding in request second user mark based on the external relation people to described the The external relation people of two users adds permission and verifies;
Legitimate verification unit can be used for being added second user in request based on the external relation people and identify to described The legitimacy of the external relation people of second user is verified;
First good friend adds setting authentication unit, can be used for adding second user in request based on the external relation people It identifies that the good friend of the second user is added to be arranged and verifies.
In another embodiment, described device can also include:
First data storage module can be used to save the friend relation number of first user Yu the second user According to;
First buddy list update module can be used for updating the friend relation data to first user and institute State the buddy list of second user;
First buddy list sending module can be used for for the buddy list of updated first user being sent to the first visitor Family end, so that first client is updated in first client based on the buddy list of updated first user The buddy list of first user;
Second buddy list sending module can be used for for the buddy list of updated second user being sent to the second visitor Family end, so that second client is updated in second client based on the buddy list of the updated second user The buddy list of the second user.
In another embodiment, described device can also include:
First failed message sending module, can be used for when the first legitimate verification module verification it is obstructed out-of-date, to First client sends authentication failed message.
In another embodiment, described device can also include:
First refuses to respond message reception module, can be used for receiving second client end response and refuses in second user What perfect friend's addition instruction was sent refuses to respond message;
Second failed message sending module adds failed message for sending good friend to first client.
Apparatus and method embodiment in the Installation practice is based on similarly inventive concept.
The embodiment of the invention also provides another friend addition devices, as shown in figure 9, the apparatus may include:
Second legitimate verification request sending module 910, for being based on external relation people serviced component to first server It sends external relation people and adds legitimate verification request, it includes the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first corresponding user of end and the second user of request addition, so that It is external that the first server is based on the first user identifier and second user mark progress in external relation people addition request Contact person adds Authority Verification;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Second is verified message reception module 920, is sent when being verified for receiving the first server It is verified message;
Third adds request sending module 930, for being based on external relation people serviced component to outside first server transmission Portion contact person adds request, adds so that the first server sends good friend to the corresponding second server of second application Add request;And the first server receives second corresponding to the second user mark that the second server is sent Client end response agrees to that good friend adds the agreement response message of instruction feedback in second user;
Third success message receiving module 940 adds success message for receiving the good friend that the first server is sent.
Apparatus and method embodiment in the Installation practice is based on similarly inventive concept.
The embodiment of the invention also provides another friend addition devices, as shown in Figure 10, the apparatus may include:
Second legitimate verification request receiving module 1010 is based on external relation people service group for receiving the first client The external relation people that part is sent adds legitimate verification and asks, and it includes the first visitor that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of first user corresponding to the end of family and the second user of request addition;
Wherein, first user identifier is user identifier of first user in the first application, the second user mark Know the user identifier for being second user in the second application;
Second legitimate verification module 1020, for based on the external relation people add request in the first user identifier and Second user mark carries out external relation people and adds Authority Verification;
Second is verified message transmission module 1030, for when the second legitimate verification module verification passes through, Message is verified to first client transmission;
Second addition request receiving module 1040 is based on external relation people serviced component for receiving first client The external relation people of transmission adds request;
4th addition request sending module 1050, for sending good friend to the corresponding second server of second application Addition request;
Second agrees to response message receiving module 1060, the second user sent for receiving the second server The second corresponding client end response of mark agrees to that good friend adds the agreement response message of instruction feedback in second user;
4th success message receiving module 1070 adds success message for sending good friend to first client.
In another embodiment, described device can also include:
Second data storage module, can be used to save the second user it is described first application in registration information and The friend relation data of the second user and first user;
Second good friend's list update module can be used for updating the friend relation data to first user and institute State the buddy list of second user;
Third buddy list sending module can be used for for the buddy list of updated first user being sent to the first visitor Family end, so that first client is updated in first client based on the buddy list of updated first user The buddy list of first user;
Data transmission blocks can be used for the second user after the registration information and update in first application The buddy list of second user be sent to second user third client corresponding in the first application, so as to described Third client based on the registration information updates the application interface of the third client and based on described updated the The buddy list of two users updates the buddy list of second user described in the third client.
In another embodiment, described device can also include:
Third failed message sending module, can be used for when the second legitimate verification module verification it is obstructed out-of-date, to First client sends authentication failed message.
In another embodiment, described device can also include:
Second refuses to respond message reception module, can be used for receiving second client that the second server is sent The refusal good friend addition instruction feedback in response to the second user is held to refuse to respond message;
4th failed message sending module adds failed message for sending good friend to first client.
Apparatus and method embodiment in the Installation practice is based on similarly inventive concept.
The present invention also provides a kind of embodiments of good friend's add-on system, specifically, the system may include: the first client End and and first server;
First client can be used for sending external relation to first server based on external relation people serviced component People adds request, and it includes the first user identifier and the second client corresponding to the first client that the external relation people, which adds request, The corresponding second user mark in end;Wherein, corresponding to the first user corresponding to the first client and second client Second user be different groups in user, the second user be request add user;
The first server, can be used for being added based on the external relation people in legitimate verification request first are used Family mark and second user mark carry out external relation people and add legitimate verification;And it can be used for when being verified, base It is sent in the external relation people serviced component of the second corresponding client of second user mark to second client Good friend adds request;And it can be used for receiving the second client end response and agree to that good friend adds what instruction was sent in second user Agree to response message;And it can be used for sending good friend to first client and add success message.
The present invention also provides the embodiments of another good friend's add-on system, specifically, the system may include: the first visitor Family end and and first server;
First client can be used for sending external relation to first server based on external relation people serviced component People adds request, and it includes the first user identifier and the second client corresponding to the first client that the external relation people, which adds request, The corresponding second user mark in end;Wherein, corresponding first application of first client, second client corresponding second Using first application is different applications from second application, and user corresponding to second client is request The user of addition;
The first server can be used for adding the first user identifier and second in request based on the external relation people User identifier carries out external relation people and adds Authority Verification;And for when being verified, to corresponding to second application Second server send good friend add request;And it is rung for receiving second client that the second server is sent It should agree to that good friend adds the agreement response message of instruction feedback in second user;And for being sent to first client Good friend adds success message.
Memory described in this specification embodiment can be used for storing software program and module, and processor passes through operation storage In the software program and module of memory, thereby executing various function application and data processing.Memory can mainly include Storing program area and storage data area, wherein storing program area can application program needed for storage program area, function etc.;It deposits Storage data field, which can be stored, uses created data etc. according to the equipment.In addition, memory may include that high speed is deposited at random Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other easily The property lost solid-state memory.Correspondingly, memory can also include Memory Controller, to provide visit of the processor to memory It asks.
Good friend's adding method for being there is provided by aforementioned present invention, device, system, the embodiment of client or server as it can be seen that By the external relation people's serviced component being arranged in the corresponding client-side of application in the present invention, realize the client of application with Add using the good friend between the user carried out between backstage (server) other than processing active user and active user's group Add the related communication of business;And before the first client sends good friend's addition, by carrying out external relation people on application backstage Legitimate verification is added, guarantees the legitimacy for carrying out the external good friend addition that good friend adds between the user of operation, it is logical in verifying Later the good friend completed between the user other than active user and active user's group adds.It is real using above-mentioned this specification The technical solution for applying example offer may be implemented directly to carry out between user other than active user and active user's group Friend's addition greatly improves the efficiency that the good friend not between the user in same group adds operation, effectively improves user's body It tests.
It should be understood that embodiments of the present invention sequencing is for illustration only, do not represent the advantages or disadvantages of the embodiments. And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.One In a little situations, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment and Still desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or company Continuous sequence is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or It may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For system, client and server embodiment, since it is substantially similar to the method embodiment, so be described relatively simple, The relevent part can refer to the partial explaination of embodiments of method.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (24)

1. a kind of good friend's adding method, which is characterized in that the described method includes:
First client is based on external relation people serviced component and sends external relation people addition legitimate verification to first server Request, the external relation people add the first user that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to mark and the second user of request addition;
Wherein, first user is the user in different groups from the second user;
The first server adds the first user identifier and second in legitimate verification request based on the external relation people User identifier carries out external relation people and adds legitimate verification;
When being verified, the first server is verified message to first client transmission;
First client is based on external relation people serviced component asks to first server transmission external relation people addition It asks;
External relation people serviced component of the first server based on the second corresponding client of second user mark Good friend, which is sent, to second client adds request;
First server, which receives the second client end response and adds the agreement that instruction is sent in the agreement good friend of second user and respond, to disappear Breath;
The first server sends good friend to first client and adds success message.
2. a kind of good friend's adding method, which is characterized in that the described method includes:
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, it is described outer Portion contact person adds the first user identifier and request that legitimate verification request includes the first user corresponding to the first client The mark of second user corresponding to the second user of addition, so that the first server is based on the external relation people and adds conjunction The first user identifier and second user mark in method checking request carry out external relation people and add legitimate verification;
Wherein, first user is the user in different groups from the second user;
Receive that the first server sends when being verified is verified message;
External relation people is sent to the first server based on external relation people serviced component and adds request, so that described first External relation people serviced component of the server based on the second corresponding client of second user mark is objective to described second Family end sends good friend and adds request;And it receives the second client end response and agrees to that good friend adds what instruction was sent in second user Agree to response message;
It receives the good friend that the first server is sent and adds success message.
3. a kind of good friend's adding method, which is characterized in that the described method includes:
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, it is described External relation people adds legitimate verification request and includes the first user identifier of the first user corresponding to the first client and ask Second user corresponding to the second user of addition is asked to identify;
Wherein, first user is the user in different groups from the second user;
It is added outside the first user identifier and second user mark progress in legitimate verification request based on the external relation people Portion contact person adds legitimate verification;
When being verified, message is verified to first client transmission;
It receives the first client and request is added based on the external relation people that external relation people's serviced component is sent;
External relation people serviced component based on the second corresponding client of second user mark is to second client End sends good friend and adds request;
It receives the second client end response and agrees to that good friend adds the agreement response message that instruction is sent in second user;
Good friend, which is sent, to first client adds success message.
4. according to the method described in claim 3, it is characterized in that, described add legitimate verification based on the external relation people The first user identifier in request and second user mark carry out external relation people add legitimate verification include at least it is following it One:
Based on the external relation people add request in the first user identifier to the first user group whether authenticate into Row verifying;
Second user mark in request is added based on the external relation people, and power is added to the external relation people of the second user Limit is verified;
Second user in request is added based on the external relation people to identify to the legal of the external relation people of the second user Property is verified;
Second user mark in request is added based on the external relation people to carry out good friend's addition setting of the second user Verifying.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
The friend relation data for saving first user Yu the second user update the friend relation data to described The buddy list of first user and the second user;
The buddy list of updated first user is sent to the first client, so as to first client be based on it is described more The buddy list of the first user after new updates the buddy list of the first user described in first client;
The buddy list of updated second user is sent to the second client, so as to second client be based on it is described more The buddy list of second user after new updates the buddy list of second user described in second client.
6. according to the method described in claim 3, it is characterized in that, the method also includes:
It is obstructed out-of-date when verifying, authentication failed message is sent to first client.
7. according to the method described in claim 3, it is characterized in that, the method also includes:
It receives second client end response and refuses to respond message in what the refusal good friend addition instruction of second user was sent;
Good friend, which is sent, to first client adds failed message.
8. a kind of good friend's account adding method, which is characterized in that the described method includes:
First client is based on external relation people serviced component and sends external relation people addition legitimate verification to first server Request, the external relation people add the first user that legitimate verification request includes the first user corresponding to the first client Second user mark corresponding to mark and the second user of request addition;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
The first server is based on the external relation people and adds the first user identifier and second user mark progress in request External relation people adds Authority Verification;
When being verified, the first server is verified message to first client transmission;
First client is based on external relation people serviced component and sends external relation people addition request to first server;
The first server sends good friend to the corresponding second server of second application and adds request;
The first server receives the second client corresponding to the second user mark that the second server is sent Agree to that good friend adds the agreement response message of instruction feedback in response to second user;
The first server sends good friend to first client and adds success message.
9. a kind of good friend's account adding method, which is characterized in that the described method includes:
External relation people, which is sent, to first server based on external relation people serviced component adds legitimate verification request, it is described outer Portion contact person adds the first user identifier and request that legitimate verification request includes the first user corresponding to the first client The mark of second user corresponding to the second user of addition, so that the first server is based on external relation people addition and asks The first user identifier and second user mark carry out external relation people and add Authority Verification in asking;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
Receive that the first server sends when being verified is verified message;
External relation people is sent to first server based on external relation people serviced component and adds request, so that the first service Device sends good friend to the corresponding second server of second application and adds request;And described in the first server reception The second corresponding client end response of the second user mark that second server is sent adds in the agreement good friend of second user Add the agreement response message of instruction feedback;
It receives the good friend that the first server is sent and adds success message.
10. a kind of good friend's account adding method, which is characterized in that the described method includes:
The first client is received to ask based on the external relation people addition legitimate verification that external relation people's serviced component is sent, it is described External relation people adds legitimate verification request and includes the first user identifier of the first user corresponding to the first client and ask Second user corresponding to the second user of addition is asked to identify;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
The first user identifier and second user mark in request, which are added, based on the external relation people carries out external relation people addition Authority Verification;
When being verified, message is verified to first client transmission;
It receives first client and request is added based on the external relation people that external relation people's serviced component is sent;
The second server corresponding to second application sends good friend and adds request;
The second client end response corresponding to the second user mark that the second server is sent is received in second user Agree to good friend add instruction feedback agreement response message;
Good friend, which is sent, to first client adds success message.
11. according to the method described in claim 10, it is characterized in that, described added the in request based on the external relation people One user identifier and second user mark carry out external relation people and add Authority Verification including at least one of the following:
Based on the external relation people add request in the first user identifier to the first user group whether authenticate into Row verifying;
Second user mark in request is added based on the external relation people to carry out good friend's addition setting of the second user Verifying.
12. according to the method described in claim 10, it is characterized in that, the method also includes:
Save registration information and the second user and first user of the second user in first application Friend relation data;
The friend relation data are updated into the buddy list to first user and the second user;
The buddy list of updated first user is sent to the first client, so as to first client be based on it is described more The buddy list of the first user after new updates the buddy list of the first user described in first client;
The buddy list of registration information and updated second user of the second user in first application is sent The third client corresponding in the first application to the second user, so that the third client is believed based on the registration Described in the application interface of the breath update third client and the buddy list based on the updated second user update The buddy list of second user described in third client.
13. according to the method described in claim 10, it is characterized in that, the method also includes:
It is obstructed out-of-date when verifying, authentication failed message is sent to first client.
14. according to the method described in claim 10, it is characterized in that, the method also includes:
Second client end response that the second server is sent is received to refer in the refusal good friend addition of the second user Enable feedback refuses to respond message;
Good friend, which is sent, to first client adds failed message.
15. a kind of friend addition device, which is characterized in that described device includes:
First legitimate verification request sending module, it is external for being sent based on external relation people serviced component to first server Contact person adds legitimate verification request, and it includes corresponding to the first client that the external relation people, which adds legitimate verification request, The first user the first user identifier and request addition second user corresponding to second user mark so that described first Server adds the first user identifier and second user mark progress in legitimate verification request based on the external relation people External relation people adds legitimate verification;
Wherein, first user is the user in different groups from the second user;
First is verified message reception module, is verified for receive that the first server sends when being verified Message;
First addition request sending module, for sending external connection to the first server based on external relation people serviced component It is that people adds request, so that external connection of the first server based on the second corresponding client of second user mark It is that people's serviced component is requested to second client transmission good friend's addition;And the second client end response is received in second user Agree to good friend add instruction send agreement response message;
First success message receiving module adds success message for receiving the good friend that the first server is sent.
16. a kind of friend addition device, which is characterized in that described device includes:
First legitimate verification request receiving module is sent based on external relation people's serviced component for receiving the first client External relation people adds legitimate verification and asks, and it includes that the first client institute is right that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first user answered and the second user of request addition;
Wherein, first user is the user in different groups from the second user;
First legitimate verification module, for adding the first user mark in legitimate verification request based on the external relation people Know and second user mark carries out external relation people and adds legitimate verification;
First is verified message transmission module, for when the first legitimate verification module verification passes through, to described The transmission of one client is verified message;
First addition request receiving module, for receive first client based on external relation people's serviced component sends outside Portion contact person adds request;
Second addition request sending module, for adding request based on the second corresponding client of second user mark External relation people serviced component sends good friend to second client and adds request;
First agrees to response message receiving module, refers to for receiving the second client end response in the agreement good friend addition of second user Enable the agreement response message sent;
Second success message receiving module adds success message for sending good friend to first client.
17. a kind of good friend's account adding set, which is characterized in that described device includes:
Second legitimate verification request sending module, it is external for being sent based on external relation people serviced component to first server Contact person adds legitimate verification request, and it includes corresponding to the first client that the external relation people, which adds legitimate verification request, The first user the first user identifier and request addition second user corresponding to second user mark so that described first Server is based on the first user identifier and second user mark progress external relation people in external relation people addition request and adds Add Authority Verification;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
Second is verified message reception module, is verified for receive that the first server sends when being verified Message;
Third adds request sending module, for sending external relation people to first server based on external relation people serviced component Addition request, so that the first server, which sends good friend to the corresponding second server of second application, adds request; And the first server receives the second client corresponding to the second user mark that the second server is sent Agree to that good friend adds the agreement response message of instruction feedback in response to second user;
Third success message receiving module adds success message for receiving the good friend that the first server is sent.
18. a kind of good friend's account adding set, which is characterized in that described device includes:
Second legitimate verification request receiving module is sent based on external relation people's serviced component for receiving the first client External relation people adds legitimate verification and asks, and it includes that the first client institute is right that the external relation people, which adds legitimate verification request, Second user mark corresponding to the first user identifier of the first user answered and the second user of request addition;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
Second legitimate verification module, for adding the first user identifier and second user in request based on the external relation people Mark carries out external relation people and adds Authority Verification;
Second is verified message transmission module, for when the second legitimate verification module verification passes through, to described The transmission of one client is verified message;
Second addition request receiving module, for receive first client based on external relation people's serviced component sends outside Portion contact person adds request;
4th addition request sending module is asked for sending good friend's addition to the corresponding second server of second application It asks;
Second agrees to response message receiving module, right for receiving the second user mark institute that the second server is sent The second client end response answered agrees to that good friend adds the agreement response message of instruction feedback in second user;
4th success message receiving module adds success message for sending good friend to first client.
19. a kind of good friend's add-on system, which is characterized in that the system comprises: the first client and and first server;
First client adds conjunction for sending external relation people to first server based on external relation people serviced component Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition;And it is used for the first client end group External relation people, which is sent, to the first server in external relation people serviced component adds request;
Wherein, first user is the user in different groups from the second user;
The first server, for based on the external relation people add legitimate verification request in the first user identifier and Second user mark carries out external relation people and adds legitimate verification;And for when being verified, to first client End sends and is verified message;And for the external relation people based on the second corresponding client of second user mark Serviced component sends good friend to second client and adds request;And for receiving the second client end response in second user Agree to good friend add instruction send agreement response message;And it is added successfully for sending good friend to first client Message.
20. a kind of good friend's add-on system, which is characterized in that the system comprises: the first client and and first server;
First client adds conjunction for sending external relation people to first server based on external relation people serviced component Method checking request, it includes the first user's corresponding to the first client that the external relation people, which adds legitimate verification request, Second user mark corresponding to first user identifier and the second user of request addition;And for being taken based on external relation people Business component sends external relation people to first server and adds request;
Wherein, first user identifier is user identifier of first user in the first application, and the second user is identified as User identifier of the second user in the second application;
The first server, for adding the first user identifier and second user mark in request based on the external relation people It carries out external relation people and adds Authority Verification;And for being verified to first client transmission when being verified Message;And request is added for sending good friend to the corresponding second server of second application;And for receiving The second client end response corresponding to the second user mark of second server transmission is stated in the agreement good friend of second user Add the agreement response message of instruction feedback;And success message is added for sending good friend to first client.
21. a kind of good friend adds client, which is characterized in that the client includes processor and memory, the memory In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize that good friend as claimed in claim 2 adds Adding method.
22. a kind of good friend adds server, which is characterized in that the server includes processor and memory, the memory In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as described in claim 3 to 7 is any Good friend's adding method.
23. a kind of good friend adds client, which is characterized in that the client includes processor and memory, the memory In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize that good friend as claimed in claim 9 adds Adding method.
24. a kind of good friend adds server, which is characterized in that the server includes processor and memory, the memory In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as described in claim 10 to 14 is any Good friend's adding method.
CN201810649399.4A 2018-06-22 2018-06-22 Friend adding method, device, system, client and server Active CN108965107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810649399.4A CN108965107B (en) 2018-06-22 2018-06-22 Friend adding method, device, system, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810649399.4A CN108965107B (en) 2018-06-22 2018-06-22 Friend adding method, device, system, client and server

Publications (2)

Publication Number Publication Date
CN108965107A true CN108965107A (en) 2018-12-07
CN108965107B CN108965107B (en) 2021-03-16

Family

ID=64491862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810649399.4A Active CN108965107B (en) 2018-06-22 2018-06-22 Friend adding method, device, system, client and server

Country Status (1)

Country Link
CN (1) CN108965107B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495283A (en) * 2018-12-29 2019-03-19 论客科技(广州)有限公司 A kind of method and device of automatic marking instant messaging discussion group contact person
CN110399706A (en) * 2019-07-26 2019-11-01 中国工商银行股份有限公司 Authorization and authentication method, device and computer system
CN112187993A (en) * 2020-09-25 2021-01-05 腾讯科技(深圳)有限公司 Cross-application relationship chain extension method, device, equipment and storage medium
CN112235229A (en) * 2019-06-28 2021-01-15 腾讯科技(深圳)有限公司 Method for inviting user, related device, server and storage medium
CN112749217A (en) * 2019-10-30 2021-05-04 腾讯科技(深圳)有限公司 Method, system and storage medium for determining target object adding channel

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7299304B2 (en) * 2001-11-20 2007-11-20 Intel Corporation Method and architecture to support interaction between a host computer and remote devices
CN101582859A (en) * 2009-04-23 2009-11-18 腾讯科技(北京)有限公司 Instant messaging tool adding friends processing method, instant messaging device and system
CN102340458A (en) * 2010-07-26 2012-02-01 腾讯科技(深圳)有限公司 Friend addition system and addition method for instant messaging tool
CN103166828A (en) * 2011-12-12 2013-06-19 中兴通讯股份有限公司 Interoperate method and system of social networking services
CN103248555A (en) * 2012-02-08 2013-08-14 腾讯科技(深圳)有限公司 Method and device for adding friends
CN103428069A (en) * 2012-05-15 2013-12-04 腾讯科技(深圳)有限公司 Method and device for adding friends in social network
CN105049319A (en) * 2015-05-25 2015-11-11 腾讯科技(深圳)有限公司 Friend adding method and system, client, and server
CN107888487A (en) * 2017-12-28 2018-04-06 江苏神州信源系统工程有限公司 A kind of good friend's adding method across instantaneous communication system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7299304B2 (en) * 2001-11-20 2007-11-20 Intel Corporation Method and architecture to support interaction between a host computer and remote devices
CN101582859A (en) * 2009-04-23 2009-11-18 腾讯科技(北京)有限公司 Instant messaging tool adding friends processing method, instant messaging device and system
CN102340458A (en) * 2010-07-26 2012-02-01 腾讯科技(深圳)有限公司 Friend addition system and addition method for instant messaging tool
CN103166828A (en) * 2011-12-12 2013-06-19 中兴通讯股份有限公司 Interoperate method and system of social networking services
CN103248555A (en) * 2012-02-08 2013-08-14 腾讯科技(深圳)有限公司 Method and device for adding friends
CN103428069A (en) * 2012-05-15 2013-12-04 腾讯科技(深圳)有限公司 Method and device for adding friends in social network
CN105049319A (en) * 2015-05-25 2015-11-11 腾讯科技(深圳)有限公司 Friend adding method and system, client, and server
CN107888487A (en) * 2017-12-28 2018-04-06 江苏神州信源系统工程有限公司 A kind of good friend's adding method across instantaneous communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HI-YIY: "《企业微信最新功能!用外部联系人实现企业微信与微信消息互通》", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/35174762》 *
佚名: "《企业微信如何添加外部联系人?》", 《HTTPS://WENWEN.SOGOU.COM/Z/Q870611115.HTM》 *
佚名: "《企业微信添加外部联系人》", 《HTTPS://V.QQ.COM/X/PAGE/B1339FFXV8X.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495283A (en) * 2018-12-29 2019-03-19 论客科技(广州)有限公司 A kind of method and device of automatic marking instant messaging discussion group contact person
CN112235229A (en) * 2019-06-28 2021-01-15 腾讯科技(深圳)有限公司 Method for inviting user, related device, server and storage medium
CN110399706A (en) * 2019-07-26 2019-11-01 中国工商银行股份有限公司 Authorization and authentication method, device and computer system
CN112749217A (en) * 2019-10-30 2021-05-04 腾讯科技(深圳)有限公司 Method, system and storage medium for determining target object adding channel
CN112749217B (en) * 2019-10-30 2024-07-02 腾讯科技(深圳)有限公司 Determination method, system and storage medium of target object adding channel
CN112187993A (en) * 2020-09-25 2021-01-05 腾讯科技(深圳)有限公司 Cross-application relationship chain extension method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108965107B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN108965107A (en) Good friend's adding method, device, system, client and server
CN102299954B (en) For the context-specific network resource addressing system and method for Distributed Services
CN109413096B (en) A kind of login method and device more applied
CN105450581B (en) The method and apparatus of permission control
CN103916244B (en) Verification method and device
CN108833521A (en) Message pushing method, device, system, computer equipment and storage medium
CN109040279A (en) Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN103703767B (en) A kind of implementation method of video conference, service management device and video meeting system
US20130007864A1 (en) System and method for location-aware social networking authentication
CN110278187A (en) Multiple terminals single-point logging method, system, sync server and medium
CN110636057B (en) Application access method and device and computer readable storage medium
CN105407041A (en) Method for adding group or friend, server, client and system
CN106453349B (en) Account login method and device
CN115175170B (en) USIM data autonomous uplink implementation method, terminal, USIM and system
CN109769249A (en) A kind of authentication method, system and its apparatus
CN110222280A (en) Data processing method and device for sharing
CN105743922B (en) The method, apparatus and system of inter-domain communication
CN105224541A (en) The uniqueness control method of data, information storage means and device
CN109558710A (en) User login method, device, system and storage medium
Phiri et al. Modelling and information fusion in digital identity management systems
CN109388923B (en) Program execution method and device
CN103069741A (en) Credential authentication method and single sign-on server
CN109104472B (en) Block chain network networking method, device, equipment and computer readable storage medium
WO2019119962A1 (en) Information processing method, system, terminal, and computer readable storage medium
CN103348628A (en) Conference control method and device

Legal Events

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