CN116055441A - Bidirectional friend relation establishing method, device, computer equipment and storage medium - Google Patents
Bidirectional friend relation establishing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN116055441A CN116055441A CN202111261051.6A CN202111261051A CN116055441A CN 116055441 A CN116055441 A CN 116055441A CN 202111261051 A CN202111261051 A CN 202111261051A CN 116055441 A CN116055441 A CN 116055441A
- Authority
- CN
- China
- Prior art keywords
- friend
- social application
- social
- target object
- bidirectional
- 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
Links
- 230000002457 bidirectional effect Effects 0.000 title claims abstract description 266
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000006870 function Effects 0.000 claims description 93
- 238000012795 verification Methods 0.000 claims description 87
- 238000004590 computer program Methods 0.000 claims description 23
- 230000000977 initiatory effect Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 12
- 239000000284 extract Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a method, a device, computer equipment and a storage medium for establishing a bidirectional friend relation. The method can be applied to scenes of travel sharing, information transmission, video and audio information transmission and the like, and comprises the following steps: receiving a friend adding request from a first social application; when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends is established according to the friend adding request; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is built locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server builds a second unidirectional friend relation. By adopting the method, the establishment efficiency of the bidirectional friend relationship can be improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for establishing a bidirectional friend, a computer device, and a storage medium.
Background
With the development of computer technology, more and more users use networks to engage in social activities, such as chat interactions or resource sharing interactions through social applications, where the premise of the interaction chat interactions or resource sharing interactions is that the two communication parties are in a two-way friend relationship. The current method for establishing the bidirectional friend relationship is that a friend adding request is initiated to a target object from a friend adding direction, the target object verifies the received friend adding request, and after the received friend adding request passes the verification, the bidirectional friend relationship between the friend adding party and the target object can be established.
However, the above-mentioned two-way friend relation establishment process is complex, and when the target receiving object fails to verify the friend adding request in time, the two-way friend relation cannot be established, resulting in lower efficiency of two-way friend relation establishment.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a bidirectional friend relationship establishing method, apparatus, computer device, and storage medium capable of improving the efficiency of bidirectional friend relationship establishment.
A method of bi-directional buddy relationship establishment, the method comprising:
receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request;
when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation;
the first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
A bi-directional buddy relationship establishment device, the device comprising:
the request receiving module is used for receiving a friend adding request from the first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
the first bidirectional friend relation establishing module is used for establishing a bidirectional friend relation for indicating that the target object and a friend adding party are bidirectional friends according to the friend adding request when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application;
the second bidirectional friend relation establishing module is used for locally establishing a first unidirectional friend relation and initiating an asynchronous adding request to a social server corresponding to the first social application when the first social application and the second social application are different types of applications and a bidirectional friend verification-free function is started in the second social application, so that the social server establishes a second unidirectional friend relation;
the first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request;
when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation;
the first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request;
when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation;
the first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
A computer program comprising computer instructions stored in a computer readable storage medium, the computer instructions being read from the computer readable storage medium by a processor of a computer device, the processor executing the computer instructions causing the computer device to perform the steps of:
receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request;
when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation;
The first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
According to the method, the device, the computer equipment and the storage medium for establishing the bidirectional friend relation, the friend adding request from the first social application is received, wherein the friend adding request is a request for adding a target object in the second social application as a friend, and when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, the bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends is directly established according to the friend adding request; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application so that the social server establishes a second unidirectional friend relation, wherein the first unidirectional friend relation is used for indicating that a target object is a friend of a friend adding party; the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object, so that the target object only needs to start the bidirectional friend verification-free function in the second social application in advance, and when a friend adding request is received, the establishment of the bidirectional friend relation can be realized without verifying the friend adding request, and the efficiency of establishing the bidirectional friend relation is improved.
Drawings
FIG. 1 is an application environment diagram of a method for establishing a bi-directional friend relationship in one embodiment;
FIG. 2 is a flow chart of a method for establishing a bi-directional friend relationship in one embodiment;
FIG. 3 is a diagram of a buddy information page in one embodiment;
FIG. 4 is a schematic diagram of a buddy addition page in one embodiment;
FIG. 5 is a schematic diagram of a two-way buddy authentication function adjustment page in one embodiment;
FIG. 6 is a schematic diagram of a two-way buddy authentication function adjustment page in another embodiment;
FIG. 7 is a flow chart of a method for establishing a bi-directional friend relationship in another embodiment;
FIG. 8 is a flow chart of a method for establishing a bi-directional friend relationship in another embodiment;
FIG. 9 is a flowchart of a method for establishing a bi-directional friend relationship in another embodiment;
FIG. 10 is a block diagram of a two-way friendship establishing means in one embodiment;
FIG. 11 is a block diagram of a device for establishing a bi-directional friend relationship in another embodiment;
FIG. 12 is an internal block diagram of a computer device in one embodiment;
fig. 13 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for establishing the bidirectional friend relation can be applied to an application environment shown in fig. 1. The first terminal 102 communicates with the first social server 104 through a network, the second terminal 108 communicates with the second social server 106 through a network, the first terminal 102 is provided with a first social application, the second terminal 108 is provided with a second social application, when the first social application and the second social application are the same type of application, the first social server 104 and the second social server 106 can be the same social server, when the first social application and the second social application are different types of application, the first social server 104 and the second social server are different social servers, and the first social server 104 and the second social server 106 communicate through the network.
It may be appreciated that, when the first social application and the second social application are the same type of application, the above method for establishing a bidirectional friend relationship may be performed on the first social server 104 or the second social server 106; the above-described two-way friend relationship establishment method may be performed on the second social server 106 when the first social application and the second social application are different types of applications. Taking the example that the above-mentioned method for establishing the bidirectional friend relationship is performed on the second social server 106, the second social server 106 receives a friend adding request from the first social application; the friend adding request is a request for adding a target object in the second social application as a friend; when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends is established according to the friend adding request; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a first social server corresponding to the first social application, so that the first social server establishes a second unidirectional friend relation; the first unidirectional friend relation is used for indicating that the target object is a friend of a friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
The terminals 102 and 108 may be, but are not limited To, mobile phones, computers, intelligent voice interaction devices, intelligent home appliances, vehicle terminals, etc., and the first social server 104 and the second social server 106 may be independent physical servers, or may be a server cluster formed by a plurality of service nodes in a blockchain system, where each service node forms a Peer-To-Peer (P2P, peer To Peer) network, and the P2P protocol is an application layer protocol running on top of a transmission control protocol (TCP, transmission Control Protocol) protocol.
In addition, the first social server 104 and the second social server 106 may be a server cluster formed by a plurality of physical servers, and may be cloud servers for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
In one embodiment, as shown in fig. 2, a method for establishing a bidirectional friend relationship is provided, and the method is applied to the second social server 106 in fig. 1 for illustration, and includes the following steps:
S202, receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend.
The social application refers to an application program for performing social activities through a network, and comprises an instant messaging application mainly used for chat, a content sharing application mainly used for attention sharing, a friend making application mainly used for friend making, and the like. It can be understood that the application types of the instant messaging application are various, the application types of the content sharing application are also various, and the application types of the stranger friend making type are also various.
The first social application and the second social application may be the same type of application, or may be different types of applications, for example, the first social application and the second social application are both WeChat, i.e., the first social application and the second social application are the same type of application; the first social application is WeChat, the second social application is Enterprise WeChat, and the first social application and the second social application are different types of applications.
The target object is an object to be added as a friend by a friend adding party of a friend adding request, for example, a user A is a user of a first social application, a user B is a user of a second social application, a user A is to be added with a user B as a friend, namely, the user A is the friend adding party, the user B is the target object, the user A sends a friend adding request to a second social server corresponding to the second social application through the first social application, and the friend adding request is a request for adding the user B of the second social application as a friend.
In one embodiment, the first social application and the second social application are the same type of application, the first social application is operated on the first terminal, the first social application logs in with a friend adding party, the first terminal responds to a friend adding operation on a friend adding page of the first social application, generates a friend adding request, sends the generated friend adding request to social servers corresponding to the first social application and the second social application, and the social server receives the friend adding request from the first social application.
The friend adding request carries a user identifier of a friend adding party belonging to the first social application and a user identifier of a target object belonging to the second social application.
Specifically, a first terminal responds to a friend adding operation of a friend adding page of a first social application, obtains a user identification of a friend adding party belonging to the first social application and a user identification of a target object corresponding to the friend adding page, generates a friend adding request based on the user identification of the friend adding party and the user identification of the target object, and sends the generated friend adding request to social servers corresponding to the first social application and a second social application.
Fig. 3 is a friend information page in a first social application in an embodiment, in which an avatar, a user name and a first friend adding control 302 of a target object are displayed, a first terminal responds to a triggering operation of the friend adding control, and enters a friend adding page shown in fig. 4, a second friend adding control 402 is displayed in the friend adding page, and the first terminal responds to the triggering operation of the second friend adding control, obtains a user identifier of a friend adding party and a user identifier of the target object, generates a friend adding request based on the user identifier of the friend adding party and the user identifier of the target object, and sends the generated friend adding request to social servers corresponding to the first social application and the second social application.
In one embodiment, the first social application and the second social application are different types of applications, the first social application is operated on the first terminal, the first social application logs in with a friend adding party, the first terminal responds to a friend adding operation on a friend adding page of the first social application, generates a friend adding instruction, sends the generated friend adding instruction to a first social server corresponding to the first social application, generates a friend adding request based on the friend adding instruction after receiving the friend adding instruction, and sends the generated friend adding request to a second social server corresponding to the second social application, and the second social server receives the friend adding request from the first social application.
Specifically, a first terminal responds to a friend adding operation of a friend adding page of a first social application, generates a friend adding instruction, sends the generated friend adding instruction to a first social server corresponding to the first social application, acquires a user identification of a friend adding party logged in by the first social application and a user identification of a target object corresponding to the friend adding page, generates a friend adding request based on the user identification of the friend adding party and the user identification of the target object, and sends the generated friend adding request to a second social server corresponding to a second social application, and the second social server receives the friend adding request from the first social application.
S204, when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends is established according to the friend adding request.
The bidirectional friend verification-free function refers to a function of directly determining that a friend adding request passes verification without user verification for the received friend adding request.
It can be understood that when the bidirectional friend verification-free function is in the starting state, the second social server does not need to display a friend addition confirmation page through the second social application of the second terminal after receiving the friend addition request, so that the user can verify the friend addition request, but can directly determine that the friend addition request passes the verification; when the bidirectional friend verification-free function is in a non-started state, the second server needs to display a friend adding confirmation page after receiving the friend adding request, and the second social server displays the friend adding confirmation page of the second social application through the second terminal so that the target object can verify the friend adding request.
In one embodiment, after receiving the friend adding request, the second social server determines whether the first social application and the second social application are the same type of application based on the received friend adding request, determines whether the second social application corresponding to the target object has started a bidirectional friend verification-free function based on the received friend adding request, and if the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishes a bidirectional friend relationship for identifying that the target object and the friend adding party are bidirectional friends according to the friend adding request.
Specifically, the second social server may obtain the user identifier of the friend adding party and the user identifier of the target object according to the friend adding request, and establish a bidirectional friend relationship for indicating that the target object and the friend adding party are bidirectional friends based on the user identifier of the friend adding party and the user identifier of the target object.
S206, when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is built locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server builds a second unidirectional friend relation.
The first unidirectional friend relation is used for indicating that the target object is a friend of a friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object. For example, if the friend adding party is user a and the target object is user B, the first unidirectional friend relationship indicates that user B is a friend of user a, and user B is a friend of user a, which indicates that user a can actively initiate chat to user B, but user B cannot actively initiate chat to user a; the second one-way buddy relationship indicates that user A is a buddy of user B, and that user A is a buddy of user B, indicating that user B may be actively initiating chat with user A, but user A may not be actively initiating chat with user B. It can be understood that when the first unidirectional friend relationship and the second unidirectional friend relationship exist between the user a and the user B at the same time, it is indicated that the user a and the user B are bidirectional friend relationships, that is, the user a and the user B are friends with each other, that is, the user a can actively initiate chat to the user B, and the user B can also actively initiate chat to the user a.
The bidirectional friend verification-free function is a function of directly determining that the friend addition request passes verification without user verification for the received friend addition request. It can be understood that when the bidirectional friend verification-free function is in a starting state, after receiving the friend adding request, the second social server does not need to display a friend adding confirmation page of the second social application through the second terminal to verify the friend adding request by the user, but directly determines that the friend adding request passes the verification; when the bidirectional friend verification-free function is in a non-started state, the second social server needs to display a friend adding confirmation page after receiving the friend adding request, and displays the friend adding confirmation page of the second social application through the second terminal so that the target object can verify the friend adding request.
In one embodiment, after receiving the friend adding request, the second social server determines whether the first social application and the second social application are the same type of application based on the received friend adding request, determines whether the second social application corresponding to the target object has started a bidirectional friend authentication function based on the received friend adding request, if the first social application and the second social application are different types of applications and the bidirectional friend authentication function has been started in the second social application, a first unidirectional friend relationship is locally established, and an asynchronous adding request is initiated to the first social server corresponding to the first social application, so that the first social server establishes a second unidirectional friend relationship.
Specifically, the second social server may obtain the user identifier of the friend adding party and the user identifier of the target object according to the friend adding request, locally establish a first unidirectional friend relationship based on the user identifier of the friend adding party and the user identifier of the target object, generate an asynchronous adding request according to the user identifier of the friend adding party and the user identifier of the target object, and initiate the asynchronous adding request to the first social server corresponding to the first social application, so that the first social server establishes a second unidirectional friend relationship.
In the above embodiment, the second social server receives a friend adding request from the first social application, where the friend adding request is a request for adding a target object in the second social application as a friend, and when the first social application and the second social application are the same type of application and a bidirectional friend verification-free function is started in the second social application, a bidirectional friend relationship for indicating that the target object and the friend adding party are bidirectional friends is directly established according to the friend adding request; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application so that the social server establishes a second unidirectional friend relation, wherein the first unidirectional friend relation is used for indicating that a target object is a friend of a friend adding party; the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object, so that the target object only needs to pre-start the bidirectional friend verification-free function in the second social application, and when a friend adding request is received, the establishment of the bidirectional friend relation can be realized without verifying the friend adding request, and the efficiency of establishing the bidirectional friend relation is improved.
In one embodiment, the method for establishing a bidirectional friend relationship further includes a process of determining whether the first social application and the second social application are the same type of application, and specifically includes the following steps: determining a type of the first social application based on the friend addition request; determining the type of the second social application according to the account information of the target object; the type of the first social application is compared with the type of the second social application to determine whether the first social application and the second social application are the same type of application.
The friend adding request also carries a type identifier of the first social application corresponding to the friend adding party.
Specifically, after receiving a friend adding request, the second social server extracts a type identifier of a first social application and a user identifier of a target object from the friend adding request, determines the type of the first social application based on the type identifier of the first social application, determines whether the user identifier of the target object belongs to a second social application, if yes, acquires account information of the target object based on the user identifier of the target object, wherein the account information comprises a head portrait of the target object, a user name, the type identifier of the second social application and the like, and determines the type of the second social application based on the type identifier of the second social application, and further compares the type of the first social application with the type of the second social application to determine whether the first social application and the second social application are the same type of application.
For example, the type identifier of the first social application carried in the friend adding request is "01", the user identifier of the carried target object is "10235", the second social application extracts the type identifier "01" of the first social application and the user identifier "10235" of the target object from the friend adding request after receiving the friend adding request, determines that the social application corresponding to the type identifier "01" is social application a, acquires account information corresponding to the user identifier "10235", and determines that the social application corresponding to the type identifier "01" is social application a if the type identifier corresponding to the second social application is extracted from the account information, and determines that the social application corresponding to the type identifier "01" is social application a; if the type identifier corresponding to the second social application is extracted from the account information and is determined to be "02", and the social application corresponding to the type identifier "02" is determined to be the social application B, the first social application and the second social application are determined to be social applications of different types.
In the above embodiment, the second social server determines the type of the first social application and the type of the second social application, and compares the type of the first social application with the type of the second social application, so as to determine the corresponding bidirectional friend relationship establishment mode for different comparison results, thereby realizing the establishment of the bidirectional friend relationship, and improving the efficiency of the establishment of the bidirectional friend relationship.
In one embodiment, the method for establishing a bidirectional friend relationship further includes a process of determining whether a bidirectional friend verification-free function is started in the second social application, and specifically includes the following steps: acquiring a verification state identifier corresponding to a target object in the second social application; and when the verification state identifier is the target verification state identifier, determining that the bidirectional friend verification-free function is started in the second social application.
The verification state identifier is used for identifying whether the bidirectional friend verification-free function is started or not, and the target verification state identifier is used for identifying that the bidirectional friend verification-free function is started.
Specifically, after receiving the friend adding request, the second social server extracts the user identifier of the target object from the friend adding request, searches the verification state identifier corresponding to the target object based on the user identifier of the target object, and determines whether the bidirectional friend verification-free function is started in the second social application based on the verification state identifier. When the verification state identifier is a target verification state identifier, determining that a bidirectional friend verification-free function is started in the second social application; and when the verification state identifier is a non-target verification state identifier, determining that the bidirectional friend verification-free function is not started in the second social application.
For example, if the user identifier of the carried target object in the friend adding request is 10235, the second social application extracts the user identifier of the target object 10235 from the friend adding request after receiving the friend adding request, searches for the verification status identifier corresponding to the user identifier 10235, and if the obtained verification status identifier is the target verification status identifier "on", determines that the bidirectional friend verification-free function is started in the second social application; and if the acquired verification state identifier is a non-target verification state identifier 'off', determining that the bidirectional friend verification-free function is not started in the second social application.
In one embodiment, the bidirectional friend relationship includes a bidirectional relationship chain, and the process of establishing, by the second social server, the bidirectional friend relationship for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request includes the following steps: extracting a user identifier of a target object and a user identifier of a friend adding party from a friend adding request; the friend adding party is a requesting party for sending a friend adding request to add a target object as a friend; a bi-directional relationship chain is established for the user identification of the target object and the user identification of the friend adding party. The bidirectional relationship chain is a relationship chain indicating that the target object and the friend adding party are bidirectional friends.
In an embodiment, the bidirectional relationship chain includes a friend relationship chain of a target object corresponding to the second social application and a friend relationship chain of a friend adding party, where the friend relationship chain may be a unidirectional chain or a bidirectional chain, and it may be understood that a friend relationship recorded in the unidirectional chain is a unidirectional friend relationship, and a friend relationship stored in the bidirectional chain is a bidirectional friend relationship.
As shown in table 1 below, the buddy relationship chains of the user a in one embodiment are shown in table 2, the buddy relationship chains of the user B are shown in table 2, the buddy relationship chains shown in table 1 and table 2 are unidirectional chains, it can be seen from table 1 that the user 1, the user 2, the user 3, the user 4 and the user 5 are all friends of the user a, and it can be seen from table 2 that the user 4, the user 5, the user 6 and the user 7 are all friends of the user B, the user a is not friends of the user B, and the user B is not friends of the user a.
TABLE 1
TABLE 2
In another embodiment, the following table 3 shows a friend relationship chain of the user a, the table 4 shows a friend relationship chain of the user B, the friend relationship chains shown in the tables 3 and 4 are both bidirectional chains, it can be seen from the table 3 that the user a is bidirectional friends with the user 1, the user 2, the user 3, the user 4 and the user 5, and it can be seen from the table 4 that the user B is bidirectional friends with the user 4, the user 5, the user 6 and the user 7.
TABLE 3 Table 3
TABLE 4 Table 4
It will be appreciated that when the first social application and the second social application are the same type of application, the user a, the user B, the user 1, the user 2, the user 3, the user 4, the user 5, the user 6, and the user 7 described above all belong to the user in the first social application or the second social application.
In one embodiment, the bidirectional relationship chain includes a friend relationship chain of the target object and a friend relationship chain of the friend-adding party, and then the second social server searches the friend relationship chain of the friend-adding party based on the user identification of the friend-adding party after obtaining the user identification of the target object and the user identification of the friend-adding party, searches the friend relationship chain of the target object based on the user identification of the target object, adds the user identification of the target object to the friend relationship chain of the friend-adding party, and adds the user identification of the friend-adding party to the friend relationship chain of the target object, thereby obtaining the bidirectional relationship chain between the user identification of the target object and the user identification of the friend-adding party.
Table 5 below shows the friend relationship chain of the user a obtained after adding the user identifier of the user B to the friend relationship chain of the user a shown in table 1; table 6 below shows the friend relationship chain of the user B obtained after adding the user identifier of the user a to the friend relationship chain of the user B shown in table 2.
TABLE 5
TABLE 6
In one embodiment, the bi-directional relationship chain includes a bi-directional friend relationship chain for each user in the second social application, where it may be appreciated that all bi-directional friend relationships in the second social application are stored in the bi-directional friend relationship chain.
Table 7 below shows a portion of a bi-directional buddy relationship chain for a second social application in one embodiment, and it can be seen from Table 7 that user A is bi-directional buddy with user 1, user 2, user 3, user 4, and user 5, user B is bi-directional buddy with user 4, user 5, user 6, and user 7, user C is bi-directional buddy with user 1 and user 4, and user A, user B, and user C are not bi-directional buddies with each other.
TABLE 7
Sequence number | Bidirectional friend | Sequence number | Bidirectional friend | Sequence number | Bidirectional friend |
1 | User A, user 1 | 6 | User B, user 4 | 11 | User C, user 5 |
2 | User A, user 2 | 7 | User B, user 5 | 12 | User C, user 6 |
3 | User A, user 3 | 8 | User B, user 6 | ||
4 | User A, user 4 | 9 | User B, user 7 | ||
5 | User A, user 5 | 10 | User C, user 1 |
In one embodiment, the bidirectional relationship chain includes a bidirectional friend relationship chain of each user in the second social application, and after obtaining the user identifier of the target object and the user identifier of the friend adding party, the second social server obtains a prestored bidirectional friend relationship chain of the second social application, and adds the user identifier of the friend adding party and the user identifier of the target object to the bidirectional friend relationship chain correspondingly, so as to obtain the bidirectional relationship chain between the user identifier of the target object and the user identifier of the friend adding party.
Table 8 below shows the obtained bi-directional friend relationship chain after adding the user identifier of user a and the user identifier of user B to the bi-directional friend relationship chain of the second social application shown in table 7.
TABLE 8
Sequence number | Bidirectional friend | Sequence number | Bidirectional friend | Sequence number | Bidirectional friend |
1 | User A, user 1 | 6 | User B, user 4 | 11 | User C, user 5 |
2 | User A, user 2 | 7 | User B, user 5 | 12 | User C, user 6 |
3 | User A, user 3 | 8 | User B, user 6 | 13 | User A, user B |
4 | User A, user 4 | 9 | User B, user 7 | ||
5 | User A, user 5 | 10 | User C, user 1 |
In the above embodiment, when the first social application and the second social application are the same type of application and the bidirectional friend authentication-free function is started in the second social application, the second social server extracts the user identifier of the target object and the user identifier of the friend adding party from the friend adding request, and establishes the bidirectional relationship chain for the user identifier of the target object and the user identifier of the friend adding party, so that the establishment of the bidirectional friend relationship can be realized without authenticating the friend adding request, and the efficiency of establishing the bidirectional friend relationship is improved.
In one embodiment, the second social server may further store a bi-directional relationship chain between the target object and the friend adding party after establishing the bi-directional relationship chain for the user identification of the target object and the user identification of the friend adding party; sending a notice that the added target object is a bidirectional friend to the first social application and the second social application; and the sent notification is used for indicating the first social application and the second social application to update the friend list of each of the first social application and the second social application.
Specifically, after establishing a bidirectional relationship chain for a user identifier of a target object and a user identifier of a friend adding party, the second social server stores the established bidirectional relationship chain, sends a friend adding notification that the added target object is a bidirectional friend to a first social application where the friend adding party is located, sends a friend adding notification that the added friend adding party is a bidirectional friend to a second social application where the target object is located, the first social application acquires the stored bidirectional relationship chain from the second social server based on the friend adding notification after receiving the friend adding notification, updates a friend list of the first social application according to the acquired bidirectional relationship chain, and the second social application acquires the stored bidirectional relationship chain from the second social server based on the friend adding notification after receiving the friend adding notification, and updates a friend list of the second social application according to the acquired bidirectional relationship chain.
In the above embodiment, the second social server stores the bidirectional relationship chain between the target object and the friend adding party; and sending the notification that the added target object is the bidirectional friend to the first social application and the second social application, so that the first social application and the second social application can update the friend list respectively based on the received notification, and the update efficiency of the bidirectional friend relation in the friend list is improved.
In one embodiment, the method for establishing a bidirectional friend relationship further includes a process of determining whether a bidirectional friend verification-free function is started in the second social application, and the process specifically includes the following steps: extracting a user identification of a target object from a friend adding request; acquiring a control state of a bidirectional friend verification function in the second social application based on the user identification of the target object; and determining whether the second social application starts a bidirectional friend verification function according to the control state.
Specifically, after receiving the friend adding request, the second social server extracts the user identifier of the target object from the friend adding request, searches the control state of the bidirectional friend verifying function in the corresponding second social application according to the user identifier of the target object, determines that the second social application has started the bidirectional friend verifying function if the control state is in an on state, and determines that the second social application has not started the bidirectional friend verifying function if the control state is in an off state.
It may be appreciated that, before the server of the second social application receives the friend adding request, the second social application corresponding to the target object may adjust the control state on the bidirectional friend verification function adjustment page, and specifically may adjust the control state to be an on state or an off state.
Fig. 5 shows a bidirectional friend verification function adjustment page in an embodiment, where a control 502 of the bidirectional friend verification function is displayed, and the second terminal may adjust a control state of the bidirectional friend verification function in response to a triggering operation of the control in the bidirectional friend verification function adjustment page. For example, in fig. 6, the control state is an off state, and when the control is triggered, the control enters the state shown in fig. 6, and the corresponding control state is an on state.
In the above embodiment, the second social server extracts the user identifier of the target object from the friend adding request; acquiring a control state of a bidirectional friend verification function in the second social application based on the user identification of the target object; according to the control state, whether the second social application starts the bidirectional friend verification function is determined, so that when the second social application starts the bidirectional friend verification function, the establishment of the bidirectional friend relation can be realized without verifying a received friend adding request, and the efficiency of establishing the bidirectional friend relation is improved.
In one embodiment, the method for establishing a bidirectional friend relationship further includes a process of verifying validity of the friend adding request, and specifically includes the following steps: and verifying the friend adding party and the target object, and executing the step of determining whether the second social application starts the bidirectional friend verification function according to the control state when the verification is passed.
The verification of the friend adding party and the target object is specifically validity verification, and the verification is passed, namely that the friend adding party and the target object are legal, so that the friend adding party and the target object are allowed to carry out friend adding. The verification specifically comprises identity verification and relationship verification, wherein the identity verification is used for verifying the identity of the friend adding party and the identity of the target object, and the relationship verification is used for verifying the relationship between the friend adding party and the target object.
In the above embodiment, the second social server performs validity verification on the friend adding party and the target object, so as to ensure validity of friend adding between the friend adding party and the target object, and establish a bidirectional friend relationship between the friend adding party and the target object only on the premise of meeting validity of friend adding.
In one embodiment, the process of verifying the friend adding party and the target object by the second social server specifically includes the following steps: based on the user identification of the friend adding party in the friend adding request, carrying out identity verification on the friend adding party; based on the user identification about the target object in the friend adding request, carrying out identity verification on the target object; and verifying the relationship between the friend adding party and the target object based on the user identification of the friend adding party and the user identification of the target object.
The identity verification comprises at least one of identity information verification and identity authority verification, wherein the identity information verification can be at least one of verification of whether a friend adding party and/or a target object is authenticated in real name, verification of whether a group or an enterprise in which the friend adding party and/or the target object are located is authenticated, and verification of whether the friend adding party and/or the target object is marked to a blacklist; the authentication of the identity authority may specifically be at least one of authentication of whether the friend adding party and/or the target object has the external contact adding authority, and authentication of whether the number of friends of the friend adding party and/or the target object reaches an upper limit value. And verifying the relationship between the friend adding party and the target object, namely verifying whether the friend adding party and the target object are bidirectional friends.
Specifically, after receiving the friend adding request, the second social server extracts the user identification of the friend adding party and the user identification of the target object from the friend adding request, searches the identity information and the identity authority information of the friend adding party based on the user identification of the friend adding party, verifies the identity information of the friend adding party according to the identity information of the friend adding party, verifies the identity authority of the friend adding party according to the identity authority information of the friend adding party, searches the identity information and the identity authority information of the target object based on the user identification of the target object, verifies the identity information of the target object according to the identity information of the target object, and verifies the identity authority of the target object according to the identity authority information of the target object; and determining whether a bidirectional relationship chain exists between the friend adding party and the target object according to the user identification of the friend adding party and the user identification of the target object, if the bidirectional relationship chain exists, the verification is failed, and if the bidirectional relationship chain does not exist, the verification is passed, the friend adding party and the target object are not bidirectional friends.
In the above embodiment, the second social server performs validity verification on the friend adding party and the target object, so as to ensure validity of friend adding between the friend adding party and the target object, and establish a bidirectional friend relationship between the friend adding party and the target object only on the premise of meeting validity of friend adding.
In one embodiment, the first one-way friend relationship comprises a first one-way relationship chain, and the process of locally establishing the first one-way friend relationship by the second social server comprises the following steps: extracting a user identifier of a target object and a user identifier of a friend adding party from a friend adding request; a first one-way relationship chain is established for the user identification of the target object and the user identification of the friend adding party.
The first unidirectional relationship chain refers to a relationship chain that a user in the second social application is a unidirectional friend of the user in the first social application. It is appreciated that the first social application has a first one-way relationship chain stored in both the social server and the second social server.
Table 9 below shows a first one-way relationship chain for one embodiment, where user A and user C are users in a first application, user 1, user 2, user 3, user 4, and user 5 are users in a second social application, and from the first one-way relationship chain, it can be seen that user 1, user 2, user 3, user 4, and user 5 are one-way friends of user A, and user 4 and user 5 are one-way friends of user C.
TABLE 9
Table 10 below is a first friend relationship chain obtained after adding the user identifier of user a and the user identifier of user B to the first friend relationship chain of the second social application shown in table 9.
Table 10
Sequence number | Unidirectional friend | Sequence number | Bidirectional friend |
1 | User A, user 1 | 6 | User C, user 4 |
2 | User A, user 2 | 7 | User C, user 5 |
3 | User A, user 3 | 8 | User A, user B |
4 | User A, user 4 | 9 | |
5 | User A, user 5 | 10 |
In the above embodiment, when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, the second social server does not need to extract the user identifier of the target object and the user identifier of the friend adding party from the friend adding request; the first unidirectional relation chain is established for the user identification of the target object and the user identification of the friend adding party, and further the second unidirectional relation chain can be obtained based on the first unidirectional relation chain, so that the establishment of the bidirectional friend relation can be realized without verifying a friend adding request, and the efficiency of establishing the bidirectional friend relation is improved.
In one embodiment, after the second social server locally establishes the first unidirectional friend relationship, the second social server may further send the first unidirectional relationship chain to a social server corresponding to the first social application, so that the social server stores the first unidirectional relationship chain; the first one-way relation chain is sent to the social server and is used for indicating the social server to send a notification that the target object is added as a friend to the first social application.
Specifically, after the second social server establishes the first unidirectional relation chain for the user identifier of the target object and the user identifier of the friend adding party, a notification of successful friend adding can be returned to the social server of the first social application, meanwhile, the first unidirectional relation chain is sent to the social server corresponding to the first social application, the social server of the first social application stores the first unidirectional relation chain based on the received notification of successful friend adding, so that the social server of the first social application and the second social server both store the first unidirectional relation chain of the user identifier of the target object and the user identifier of the friend adding party, and a notification that the target object is a friend is added to the first social application is sent to the first social application.
In the above embodiment, the second social server sends the first unidirectional relationship chain to the social server corresponding to the first social application, so that the first social server stores the first unidirectional relationship chain, and sends the notification that the target object is added as the friend to the first social application, so that the first social application updates the friend list based on the received notification, and the update efficiency of the friend relationship in the friend list is improved.
In one embodiment, the second unidirectional friend relationship includes a second unidirectional friend relationship chain, and the social service of the second social application initiates an asynchronous addition request to the social server corresponding to the first social application, so that the process of establishing the second unidirectional friend relationship by the social server includes the following steps: generating an asynchronous adding request for requesting to add a friend adding party as a friend; sending the asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second one-way relationship chain; and the second one-way relation chain is used for triggering the social server and sending a notification that the target object is added with the friend adding party as the friend to the first social application so that the first social application updates the friend list of the friend adding party.
The second unidirectional relationship chain refers to a relationship chain of unidirectional friends of the user in the first social application. It is appreciated that the social server of the first social application and the second social server each have a second one-way relationship chain stored therein.
The following table 11 shows a second one-way relationship chain in one embodiment, where user a, user C, and user D are users in the first application, user 1, user 2, user 3, user 4, user 5, user 6, and user 7 are users in the second social application, and from the second one-way relationship chain, it can be seen that user a is a one-way friend of user 1, user 3, and user 4, and a one-way friend of user 4 and user 5, respectively, and user C is a one-way friend of user 6 and user 7, respectively.
TABLE 11
Table 12 below shows the second friend relationship chain obtained after adding the user identifier of the user a and the user identifier of the user B to the second friend relationship chain of the first social application shown in table 11.
Table 12
Sequence number | Unidirectional friend | Sequence number | Bidirectional friend |
1 | User 1, user A | 6 | User 6, user D |
2 | User 3, user A | 7 | User 7, user D |
3 | User 4, user A | 8 | User B, user A |
4 | User 4, user C | 9 | |
5 | User 5, user C | 10 |
Specifically, after the social server of the first social application establishes the second one-way relationship chain with the user identifier of the target object and the user identifier of the friend-adding party, a notification that the target object has added the friend-adding party as a friend may be further sent to the first social application, the first social application obtains the second one-way relationship chain from the social server of the first social application based on the received notification, and updates the friend list of the friend-adding party based on the obtained second one-way relationship chain.
In the above embodiment, the second social server generates an asynchronous adding request for requesting to add the friend adding party as the friend; and sending the asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second unidirectional relation chain, and the establishment of the bidirectional friend relation can be realized without verifying the friend adding request, thereby improving the efficiency of establishing the bidirectional friend relation.
In one embodiment, after establishing the second one-way relationship chain for the user identifier of the target object and the user identifier of the friend adding party, the social server of the first social application may further send the second one-way relationship chain to the social server corresponding to the second social application, so that the second social server stores the second one-way relationship chain; the second one-way relationship chain is sent to the second social server and is used for indicating the second social server to send a notification that the added target object is a friend to the second social application.
Specifically, after a second one-way relation chain is established for the user identification of the target object and the user identification of the friend adding party, the social server of the first social application returns a prompt message of successful friend adding to the second social server, and simultaneously sends the second one-way relation chain to the social server corresponding to the second social application, and the second social server stores the second one-way relation chain based on the received notification of successful friend adding, so that the social server of the first social application and the second social server both store the second one-way relation chain of the user identification of the target object and the user identification of the friend adding party, and send the notification of the added target object as a friend to the second social application through the second social server, so that the second social application updates the list of the target object based on the friend list update notification.
In the above embodiment, the second social server sends the second unidirectional relationship chain to the social server corresponding to the second social application, so that the second social server stores the second unidirectional relationship chain, and sends the notification that the target object is the friend to the second social application, so that the second social application updates the friend list based on the received notification, and the update efficiency of the friend relationship in the friend list is improved.
In an embodiment, the method for establishing a bidirectional friend relationship is applied to an enterprise social server, the second unidirectional relationship chain is further used for triggering the social server of the first social application to send a prompt message that friend addition is successful to the enterprise social server, and the method for establishing a bidirectional friend relationship further comprises: and after receiving the prompt message sent by the social server, sending a friend list update notification to the second social application, so that the second social application updates the friend list of the target object based on the friend list update notification.
Specifically, after a second one-way relation chain is established for the user identification of the target object and the user identification of the friend adding party, the social server of the first social application returns a prompt message of successful friend adding to the enterprise social server, and simultaneously sends the second one-way relation chain to the social server corresponding to the second social application, and the enterprise social server stores the second one-way relation chain based on the received notification of successful friend adding, so that the social server of the first social application and the enterprise social server both store the second one-way relation chain of the user identification of the target object and the user identification of the friend adding party, and send the notification of the added target object as a friend to the second social application through the enterprise social server, so that the second social application updates a friend list of the target object based on the friend list update notification.
In the above embodiment, after receiving the prompt message sent by the social server, the enterprise social server sends the friend list update notification to the second social application, so that the second social application updates the friend list of the target object based on the friend list update notification, thereby improving the efficiency of updating the bidirectional friend relationship in the friend list of the target object.
In one embodiment, the method for establishing the bidirectional friend relation further includes the following steps: acquiring an identity category identifier of a target object; determining the identity class of the target object based on the identity class identification of the target object; if the identity class of the target object is the target identity class, when the first social application and the second social application are the same type of application, a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends is established according to the friend adding request; when the first social application and the second social application are different types of applications, a first unidirectional friend relation is established locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation.
The identity class identifier is used for identifying an identity class of a target object, the identity class refers to a class of a role to which a target user belongs, for example, the identity class comprises a common user class, a customer service user class and an intelligent robot user class, the customer service user class and the intelligent robot class are target identity classes, and the common user class is a non-target identity class.
Specifically, after receiving the friend adding request, the second server extracts the user identifier of the target object from the friend adding request, searches the identity category identifier corresponding to the target object based on the user identifier of the target object, determines the identity category of the target object based on the identity category identifier, and determines whether the first social application and the second social application are the same type of application, wherein:
if the identity class of the target object is a preset target identity class and the first social application and the second social application are the same type of application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request, wherein the process of establishing the bidirectional friend relation corresponding to S204 can be referred to specifically; if the identity class of the target object is a target identity class preset, but the first social application and the second social application are applications of different types, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation, wherein the first unidirectional friend relation is used for indicating that the target object is a friend of a friend adding party, the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object, and the process of establishing the first unidirectional friend relation and the second unidirectional friend relation corresponding to the S206 can be specifically referred to.
If the identity class of the target object is not the preset target identity class, further determining whether a bidirectional friend verification-free function is started in the second social application, and establishing a bidirectional friend relation for representing that the target object and the friend adding party are bidirectional friends according to a friend adding request when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is built locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server builds a second unidirectional friend relation.
For example, the identity categories include a general user category, a customer service user category and an intelligent robot user category, the identity category corresponding to the general user category is identified as P001, the identity category corresponding to the customer service user category is identified as K001, the identity category corresponding to the intelligent robot user category is identified as K002, the preset target identity category is the customer service user category and the intelligent robot category, if the user identification of the target object carried in the friend adding request is 10235, the second social application extracts the user identification of the target object from the friend adding request after receiving the friend adding request, and searches the identity category identification corresponding to the user identification 10235, if the identity category identification is identified as K001, the identity category of the target user is identified as the customer service user category, namely, the identity category of the target object is identified as the target identity category, and when the first social application and the second social application are the same type of application, a bidirectional friend relation for representing the target object and the adding party is established according to the friend adding request; when the first social application and the second social application are different types of applications, a first unidirectional friend relation is established locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation. If the identity class identifier is P001, it is determined that the identity class of the target user is a general user class, it is further determined whether the bidirectional friend authentication function is started in the second social application, and when the bidirectional friend authentication function is started in the second social application, step S204 or step S206 is executed.
In the above embodiment, for the target object whose identity class belongs to the target identity class, the second social server does not need to verify the friend adding request when receiving the friend adding request for the target object, and can establish the bidirectional friend relationship without starting the bidirectional friend verification-free function in advance in the second social application, thereby further improving the efficiency of establishing the bidirectional friend relationship.
In one embodiment, as shown in fig. 7, a method for establishing a bidirectional friend relationship is provided, and the method is applied to the second social server 106 in fig. 1 for illustration, and includes the following steps:
s702, a friend adding request from a first social application is received.
The friend adding request is a request for adding a target object in the second social application as a friend.
S704, determining the type of the first social application based on the friend adding request.
S706, determining the type of the second social application according to the account information of the target object.
S708, comparing the type of the first social application with the type of the second social application to determine whether the first social application and the second social application are the same type of application.
S710, verifying the validity of the friend adding party and the target object.
S712, extracting the user identification of the target object from the friend adding request.
S714, based on the user identification of the target object, the control state of the bidirectional friend verification function in the second social application is acquired.
S716, determining whether the second social application starts a bidirectional friend verification function according to the control state.
S718, when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, the user identification of the target object and the user identification of the friend adding party are extracted from the friend adding request.
The friend adding party is a requesting party for sending a friend adding request to add a target object as a friend.
S720, establishing a two-way relation chain for the user identification of the target object and the user identification of the friendly adding party.
The bidirectional relationship chain is a relationship chain indicating that the target object and the friend adding party are bidirectional friends.
S722, a bi-directional relation chain between the target object and the friend adding party is stored.
And S724, sending a notice that the added target object is the bidirectional friend to the first social application and the second social application.
And the sent notification is used for indicating the first social application and the second social application to update the friend list of each of the first social application and the second social application.
S726, when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is built locally, and a first unidirectional relation chain is sent to a social server corresponding to the first social application, so that the social server stores the first unidirectional relation chain.
The first one-way relation chain is sent to the social server and is used for indicating the social server to send a notification that the target object is added as a friend to the first social application.
S728, generating an asynchronous adding request for requesting to add the friend adding party as a friend.
And S730, sending the asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second one-way relationship chain. And the second one-way relation chain is used for triggering the social server and sending a notification that the target object is added with the friend adding party as the friend to the first social application so that the first social application updates the friend list of the friend adding party.
The second unidirectional relation chain is further used for triggering the social server to send a prompt message that the friend addition is successful to the enterprise social server.
S732, after receiving the prompt message sent by the social server, sending a friend list update notification to the second social application, so that the second social application updates the friend list of the target object based on the friend list update notification.
The application scenario also provides an application scenario in which the first social application and the second social application are the same type of application, and the application scenario applies the method for establishing the bidirectional friend relationship. Assuming that the first social application and the second social application are enterprise social applications, referring to fig. 8, the application of the bidirectional friend relationship establishing method in the application scenario specifically includes the following steps:
and step 1, the enterprise social application user A initiates a friend adding request for adding the enterprise social application user B to the enterprise social application background.
And 2, the background of the enterprise social application confirms the validity of the friend adding request, and whether the user B opens the bidirectional friend verification-free function.
And step 3, if the validity verification is passed and the user B has started the bidirectional friend verification-free function, writing friend storage data of the two parties in a background storage by the enterprise social application background.
And 4, after the friend storage data of the two parties are written in the background storage, the enterprise social application background informs the enterprise social application user A and the enterprise social application user B of updating the friend list at the client side.
The application scenario further provides an application scenario in which the first social application and the second social application are different types of applications, and the application scenario applies the method for establishing the bidirectional friend relationship. Assuming that the first social application is a personal social application and the second social application is an enterprise social application, referring to fig. 9, the application of the bidirectional friend relationship establishing method in the application scenario is as follows:
step 1, a personal social application user A initiates a friend adding instruction for adding an enterprise social application user B to a personal social application background, and the personal social application background initiates a friend adding request for adding the enterprise social application user B to the enterprise social application background based on the friend adding instruction.
And 2, the background of the enterprise social application confirms the validity of the friend adding request, and whether the user B opens the bidirectional friend verification-free function.
And step 3, if the validity verification is passed and the user B has started the bidirectional friend verification-free function, the enterprise social application background returns a notice of successful addition to the personal social application background, so that the personal social application background writes unidirectional friend data and returns a notice of successful addition to the client of the personal social application.
Step 4, if the validity verification is passed and the user B has opened the bidirectional friend verification-free function, writing unidirectional friend storage data in the background storage by the enterprise social application background; and asynchronously initiate an asynchronous add request that requires the addition of personal social application user a as a friend.
And 5, after receiving the notice of successful addition returned by the personal social application background, the enterprise social application background updates the unidirectional friend storage data to obtain bidirectional friend storage data.
And 6, after the enterprise social application background and the personal social application background respectively write the friend storage data of the two parties, the personal social application background informs the personal social application user A of updating the friend list at the client, and the enterprise social application background informs the enterprise social application user B of updating the friend list at the client.
The application scenario is further provided, in which after the user a and the user B establish the bidirectional friend relationship through the method for establishing the bidirectional friend relationship, the user a and the user B can perform route sharing, information transmission of messages, videos, audios and the like. Taking a travel sharing scene as an example, a user A runs a first social application on a vehicle-mounted terminal, when an automobile corresponding to the user A runs according to a preset travel, the user A can share the preset travel to a user B through the vehicle-mounted terminal installed on the automobile, and the user B can know the travel state of the user A in real time based on the received travel.
It should be understood that, although the steps in the flowcharts of fig. 2, 7-9 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of FIGS. 2, 7-9 may include steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
In one embodiment, as shown in fig. 10, a bidirectional friend relationship establishing apparatus is provided, where the apparatus may use a software module or a hardware module, or a combination of the two may be a part of a computer device, and the apparatus specifically includes: a request receiving module 1002, a first bidirectional friendship establishing module 1004, and a second bidirectional friendship establishing module 1006, wherein:
A request receiving module 1002, configured to receive a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
the first bidirectional friend relation establishing module 1004 is configured to establish, according to a friend adding request, a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application;
a second bidirectional friend relationship establishing module 1006, configured to, when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, locally establish a first unidirectional friend relationship, and initiate an asynchronous addition request to a social server corresponding to the first social application, so that the social server establishes the second unidirectional friend relationship;
the first unidirectional friend relation is used for indicating that the target object is a friend of a friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
In the above embodiment, a friend adding request from a first social application is received, where the friend adding request is a request for adding a target object in a second social application as a friend, and when the first social application and the second social application are the same type of application and a bidirectional friend verification-free function is started in the second social application, a bidirectional friend relationship for indicating that the target object and a friend adding party are bidirectional friends is directly established according to the friend adding request; when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application so that the social server establishes a second unidirectional friend relation, wherein the first unidirectional friend relation is used for indicating that a target object is a friend of a friend adding party; the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object, so that the target object only needs to pre-start the bidirectional friend verification-free function in the second social application, and when a friend adding request is received, the establishment of the bidirectional friend relation can be realized without verifying the friend adding request, and the efficiency of establishing the bidirectional friend relation is improved.
In one embodiment, as shown in fig. 11, the apparatus further includes an application type determining module 1008, the application type determining module 1008 being configured to: determining a type of the first social application based on the friend addition request; determining the type of the second social application according to the account information of the target object; the type of the first social application is compared with the type of the second social application to determine whether the first social application and the second social application are the same type of application.
In one embodiment, as shown in fig. 11, the apparatus further comprises a verification module 1010, the verification module 1010 being configured to: acquiring a verification state identifier corresponding to a target object in the second social application; when the verification state identifier is a target verification state identifier, determining that a bidirectional friend verification-free function is started in the second social application; the bidirectional friend relationship comprises a bidirectional relationship chain; the first bidirectional friend relationship establishment module 1004 is further configured to: extracting a user identifier of a target object and a user identifier of a friend adding party from a friend adding request; the friend adding party is a requesting party for sending a friend adding request to add a target object as a friend; establishing a two-way relation chain for the user identification of the target object and the user identification of the friend adding party; the bidirectional relationship chain is a relationship chain indicating that the target object and the friend adding party are bidirectional friends.
In one embodiment, the first bidirectional friendship establishing module 1004 is further configured to: storing a bidirectional relation chain between the target object and the friend adding party; sending a notice that the added target object is a bidirectional friend to the first social application and the second social application; and the sent notification is used for indicating the first social application and the second social application to update the friend list of each of the first social application and the second social application.
In one embodiment, as shown in fig. 11, the apparatus further comprises a verification module 1010, the verification module 1010 being configured to: extracting a user identification of a target object from a friend adding request; acquiring a control state of a bidirectional friend verification function in the second social application based on the user identification of the target object; and determining whether the second social application starts a bidirectional friend verification function according to the control state.
In one embodiment, the verification module 1010 is further to: verifying the friend adding party and the target object; and when the verification passes, executing the step of determining whether the second social application starts the bidirectional friend verification function according to the control state.
In one embodiment, the verification module 1010 is further to: based on the user identification of the friend adding party in the friend adding request, carrying out identity verification on the friend adding party; based on the user identification about the target object in the friend adding request, carrying out identity verification on the target object; and verifying the relationship between the friend adding party and the target object based on the user identification of the friend adding party and the user identification of the target object.
In one embodiment, the first one-way friend relationship comprises a first one-way relationship chain; the second bi-friendly relationship establishment module 1006 is also configured to: sending the first unidirectional relation chain to a social server corresponding to the first social application, so that the social server stores the first unidirectional relation chain; the first one-way relation chain is sent to the social server and is used for indicating the social server to send a notification that the target object is added as a friend to the first social application.
In one embodiment, the second one-way friend relationship comprises a second one-way relationship chain; the second bi-friendly relationship establishment module 1006 is also configured to: generating an asynchronous adding request for requesting to add a friend adding party as a friend; sending the asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second one-way relationship chain; and the second one-way relation chain is used for triggering the social server and sending a notification that the target object is added with the friend adding party as the friend to the first social application so that the first social application updates the friend list of the friend adding party.
In one embodiment, the method is applied to an enterprise social server; the second unidirectional relation chain is also used for triggering the social server to send a prompt message of successful friend addition to the enterprise social server; the second bi-friendly relationship establishment module 1006 is also configured to: and after receiving the prompt message sent by the social server, sending a friend list update notification to the second social application, so that the second social application updates the friend list of the target object based on the friend list update notification.
In one embodiment, the apparatus further comprises a verification module 1010, the verification module 1010 configured to: acquiring an identity category identifier of a target object; determining the identity class of the target object based on the identity class identification of the target object; when the identity class of the target object is the target identity class, executing a step of establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to a friend adding request when the first social application and the second social application are the same type of application through the first bidirectional friend relation establishing module 1004; and executing, by the first bidirectional friend relationship establishing module 1006, the step of locally establishing a first unidirectional friend relationship when the first social application and the second social application are different types of applications, and initiating an asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes the second unidirectional friend relationship.
The specific limitation of the bidirectional friend relation establishing device can be referred to the limitation of the bidirectional friend relation establishing method, and the description is omitted here. The modules in the bidirectional friend relation establishing device can be realized by all or part of software, hardware and combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing buddy data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method for establishing a bi-directional buddy relationship.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 13. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a method for establishing a bi-directional buddy relationship. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 12 or 13 are merely block diagrams of portions of structures related to the aspects of the present application and are not intended to limit the computer devices to which the aspects of the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (15)
1. A method for establishing a bi-directional friend relationship, the method comprising:
receiving a friend adding request from a first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application, establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request;
when the first social application and the second social application are different types of applications and the bidirectional friend verification-free function is started in the second social application, a first unidirectional friend relation is locally established, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation;
The first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
2. The method according to claim 1, wherein the method further comprises:
determining a type of the first social application based on the friend addition request;
determining the type of the second social application according to the account information of the target object;
the type of the first social application is compared with the type of the second social application to determine whether the first social application and the second social application are the same type of application.
3. The method according to claim 1, wherein the method further comprises:
acquiring a verification state identifier corresponding to the target object in the second social application;
when the verification state identifier is a target verification state identifier, determining that a bidirectional friend verification-free function is started in the second social application;
the bidirectional friend relationship comprises a bidirectional relationship chain; the establishing a bidirectional friend relation for indicating that the target object and the friend adding party are bidirectional friends according to the friend adding request comprises:
Extracting the user identification of the target object and the user identification of the friend adding party from the friend adding request; the friend adding party is a requesting party for sending the friend adding request to add the target object as a friend;
establishing a bidirectional relationship chain for the user identification of the target object and the user identification of the friend adding party; the bidirectional relationship chain is a relationship chain indicating that the target object and the friend adding party are bidirectional friends.
4. A method according to claim 3, wherein after establishing a bi-directional relationship chain for the user identification of the target object and the user identification of the friend-adding party, the method further comprises:
storing a bidirectional relationship chain between the target object and the friend adding party;
sending a notification that the target object is added as a bidirectional friend to the first social application and the second social application; and the sent notification is used for indicating the first social application and the second social application to update the friend list of each of the first social application and the second social application respectively.
5. The method according to claim 1, wherein the method further comprises:
extracting the user identification of the target object from the friend adding request;
Acquiring a control state of a bidirectional friend verification function in the second social application based on the user identification of the target object;
and determining whether the second social application starts the bidirectional friend verification function according to the control state.
6. The method of claim 5, wherein the method further comprises:
verifying the friend adding party and the target object;
and when the verification is passed, executing the step of determining whether the second social application starts the bidirectional friend verification function according to the control state.
7. The method of claim 6, wherein said verifying the friend-adder and the target object comprises:
based on the user identification of the friend adding party in the friend adding request, carrying out identity verification on the friend adding party;
based on the user identification about the target object in the friend adding request, carrying out identity verification on the target object;
and verifying the relation between the friend adding party and the target object based on the user identification of the friend adding party and the user identification of the target object.
8. The method of claim 1, wherein the first one-way buddy relationship comprises a first one-way relationship chain;
after the local establishment of the first unidirectional friend relationship, the method further comprises:
sending the first unidirectional relation chain to a social server corresponding to the first social application, so that the social server stores the first unidirectional relation chain;
the first one-way relation chain is sent to the social server and is used for indicating the social server to send a notification to the first social application that the target object is added as a friend.
9. The method of claim 8, wherein the second one-way friendship relationship comprises a second one-way relationship chain;
the step of initiating an asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation comprises:
generating an asynchronous adding request for requesting to add the friend adding party as a friend;
sending the asynchronous adding request to a social server corresponding to the first social application, so that the social server establishes a second one-way relationship chain; and the second unidirectional relation chain is used for triggering the social server and sending a notification that the target object is added with the friend adding party as a friend to the first social application so that the first social application updates a friend list of the friend adding party.
10. The method of claim 9, wherein the method is applied to a corporate social server; the second unidirectional relation chain is further used for triggering the social server to send a prompt message that the friend addition is successful to the enterprise social server; the method further comprises the steps of:
and after receiving the prompt message sent by the social server, sending a friend list update notification to the second social application, so that the second social application updates the friend list of the target object based on the friend list update notification.
11. The method according to any one of claims 1 to 10, further comprising:
acquiring an identity category identifier of the target object;
determining the identity category of the target object based on the identity category identification of the target object;
if the identity class of the target object is the target identity class, establishing a bidirectional friend relation for indicating that the target object and a friend adding party are bidirectional friends according to the friend adding request when the first social application and the second social application are the same type of application; when the first social application and the second social application are different types of applications, a first unidirectional friend relation is established locally, and an asynchronous adding request is initiated to a social server corresponding to the first social application, so that the social server establishes a second unidirectional friend relation.
12. A bi-directional buddy relationship establishment device, said device comprising:
the request receiving module is used for receiving a friend adding request from the first social application; the friend adding request is a request for adding a target object in the second social application as a friend;
the first bidirectional friend relation establishing module is used for establishing a bidirectional friend relation for indicating that the target object and a friend adding party are bidirectional friends according to the friend adding request when the first social application and the second social application are the same type of application and the bidirectional friend verification-free function is started in the second social application;
the second bidirectional friend relation establishing module is used for locally establishing a first unidirectional friend relation and initiating an asynchronous adding request to a social server corresponding to the first social application when the first social application and the second social application are different types of applications and a bidirectional friend verification-free function is started in the second social application, so that the social server establishes a second unidirectional friend relation;
the first unidirectional friend relation is used for indicating that the target object is a friend of the friend adding party; and the second unidirectional friend relation is used for indicating that the friend adding party is a friend of the target object.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 11 when the computer program is executed.
14. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111261051.6A CN116055441B (en) | 2021-10-28 | 2021-10-28 | Bidirectional friend relation establishing method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111261051.6A CN116055441B (en) | 2021-10-28 | 2021-10-28 | Bidirectional friend relation establishing method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116055441A true CN116055441A (en) | 2023-05-02 |
CN116055441B CN116055441B (en) | 2024-08-27 |
Family
ID=86126032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111261051.6A Active CN116055441B (en) | 2021-10-28 | 2021-10-28 | Bidirectional friend relation establishing method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116055441B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079790A (en) * | 2007-02-13 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Method and system for adding friends in entertainment platform |
CN108540524A (en) * | 2018-02-12 | 2018-09-14 | 上海掌门科技有限公司 | A kind of method, equipment and readable medium for establishing social networks |
CN109033898A (en) * | 2018-07-09 | 2018-12-18 | 维沃移动通信有限公司 | A kind of data inputting method and mobile terminal |
-
2021
- 2021-10-28 CN CN202111261051.6A patent/CN116055441B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079790A (en) * | 2007-02-13 | 2007-11-28 | 腾讯科技(深圳)有限公司 | Method and system for adding friends in entertainment platform |
CN108540524A (en) * | 2018-02-12 | 2018-09-14 | 上海掌门科技有限公司 | A kind of method, equipment and readable medium for establishing social networks |
CN109033898A (en) * | 2018-07-09 | 2018-12-18 | 维沃移动通信有限公司 | A kind of data inputting method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN116055441B (en) | 2024-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10063547B2 (en) | Authorization authentication method and apparatus | |
CN108881354B (en) | Push information storage method and device, server and computer storage medium | |
CN111489256A (en) | Cross-chain processing method, equipment and system for multi-chain block chain system | |
CN105100071B (en) | A kind of login method, apparatus and system | |
US11412026B2 (en) | Method for communication among a plurality of users provided with communication terminals, via a virtual communication space | |
CN108833521A (en) | Message pushing method, device, system, computer equipment and storage medium | |
CN103209247B (en) | Method and system that a kind of information shows and terminal and server | |
WO2009074037A1 (en) | An instant communication method, device and system | |
WO2014172881A1 (en) | Preventing identity fraud for instant messaging | |
CN112769684B (en) | Method and device for adding friends | |
CN106470145B (en) | Instant messaging method and device | |
CN110247758B (en) | Password management method and device and password manager | |
WO2014172909A1 (en) | Managing private information in instant messaging | |
US20150244664A1 (en) | Enterprise messaging platform | |
CN106411713B (en) | State notification method and server | |
US20180212921A1 (en) | Method and system for transmitting text messages | |
CN116055441B (en) | Bidirectional friend relation establishing method, device, computer equipment and storage medium | |
CN100362799C (en) | Method for realizing social network | |
CN112651044B (en) | Business transaction method, system and storage medium based on block chain technology | |
CN114095463B (en) | Data processing method, device, equipment and medium based on instant messaging | |
CN106534234B (en) | Relationship chain processing system, method and device | |
CN113784277A (en) | System, method and apparatus for storing location information | |
US20160057223A1 (en) | Method for processing data of a social network user | |
CN113225247B (en) | Group chat processing method and system, electronic device and computer readable storage medium | |
CN115442804B (en) | Authentication method, apparatus, and computer-readable medium |
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 |