[go: up one dir, main page]

CN112822089A - Method and device for adding friends - Google Patents

Method and device for adding friends Download PDF

Info

Publication number
CN112822089A
CN112822089A CN201911120621.2A CN201911120621A CN112822089A CN 112822089 A CN112822089 A CN 112822089A CN 201911120621 A CN201911120621 A CN 201911120621A CN 112822089 A CN112822089 A CN 112822089A
Authority
CN
China
Prior art keywords
account
friend
friend application
chat session
session list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911120621.2A
Other languages
Chinese (zh)
Other versions
CN112822089B (en
Inventor
陈大年
熊振宇
朱聪
龚正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Group Co.,Ltd.
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201911120621.2A priority Critical patent/CN112822089B/en
Publication of CN112822089A publication Critical patent/CN112822089A/en
Application granted granted Critical
Publication of CN112822089B publication Critical patent/CN112822089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开了用于添加好友的方法和设备。用于添加好友的方法的一具体实施方式包括:接收服务端设备推送的好友申请消息,好友申请消息包括第二账户的用户数据,其中,第一账户和第二账户为同一社交应用的账户;在社交应用的聊天会话列表界面展现包括第二账户的用户数据的好友申请信息,聊天会话列表界面还展现有第一账户参与的至少一个聊天会话的会话列表。该实施方式缩短了添加好友的耗时,提高了添加好友的概率。

Figure 201911120621

The embodiments of the present application disclose methods and devices for adding friends. A specific embodiment of the method for adding friends includes: receiving a friend application message pushed by a server device, where the friend application message includes user data of a second account, wherein the first account and the second account are accounts of the same social application; Friend application information including user data of the second account is displayed on the chat session list interface of the social application, and the chat session list interface also displays a session list of at least one chat session in which the first account participates. This embodiment shortens the time-consuming of adding friends, and increases the probability of adding friends.

Figure 201911120621

Description

Method and device for adding friends
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and equipment for adding friends.
Background
With the development of mobile networking, many social applications are emerging. The social application comprises a plurality of tools for online chatting and exchanging realized by communication technology. Currently, friend application information in social applications is usually configured with a special interface to be displayed; moreover, since the interfaces are used less frequently, the access paths are usually deeper. For example, a common path entering a display interface of a friend application in the prior art is as follows: enter contact list → new friend → friend recommend. This has become a design inertia in the art.
Disclosure of Invention
The embodiment of the application provides a method and equipment for adding friends.
In a first aspect, an embodiment of the present application provides a method for adding a friend, which is applied to a terminal device, where the terminal device logs in a first account, and the method includes: receiving a friend application message pushed by server equipment, wherein the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application; and presenting friend application information comprising user data of the second account on a chat session list interface of the social application, and presenting a session list of at least one chat session in which the first account participates.
In a second aspect, an embodiment of the present application provides an apparatus for adding a friend, which is applied to a terminal device, and includes: the server side equipment comprises a receiving unit and a sending unit, wherein the receiving unit is configured to receive a friend application message pushed by the server side equipment, the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application; the presentation unit is configured to present friend application information including user data of the second account on a chat session list interface of the social application, and the chat session list interface further presents a session list of at least one chat session in which the first account participates.
In a third aspect, an embodiment of the present application provides a method for adding a friend, which is applied to a server device, and includes: generating a friend application message aiming at a first account, wherein the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application; and pushing a friend application message to the terminal equipment logged with the first account so that the terminal equipment can display friend application information comprising user data of the second account on a chat session list interface of the social application, wherein the chat session list interface also displays a session list of at least one chat session participated by the first account.
In a fourth aspect, an embodiment of the present application provides an apparatus for adding a friend, which is applied to a server device, and includes: the friend application message comprises user data of a second account, wherein the first account and the second account are accounts of the same social application; the pushing unit is configured to push a friend application message to the terminal device logged with the first account, so that the terminal device presents friend application information including user data of the second account on a chat session list interface of the social application, and the chat session list interface further presents a session list of at least one chat session in which the first account participates.
In a fifth aspect, an embodiment of the present application provides a computer device, including: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect or the third aspect.
In a sixth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which, when executed by a processor, implements the method as described in any implementation manner of the first aspect or the third aspect.
According to the method and the device for adding the friends provided by the embodiment of the application, the friend application information including the user data of the second account is displayed on the chat session list interface of the social application by receiving the friend application information pushed by the server side device; the embodiment of the application breaks through the design inertia in the field, the friend application message is displayed on the chat session list page which cannot be used for displaying the friend application message originally, time consumption for adding friends is shortened, and the probability of adding friends is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
fig. 2 is a flowchart of an embodiment of a method for adding a buddy applied to a terminal according to the present application;
fig. 3 is a flowchart of yet another embodiment of a method for adding a buddy applied to a terminal according to the present application;
FIG. 4 is a flow diagram of one embodiment of a method for adding buddies as applied to a server in accordance with the present application;
FIG. 5 is a schematic block diagram of a computer system suitable for use with the computer device of some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which the method for adding buddies of the present application may be applied.
As shown in fig. 1, system architecture 100 may include devices 101, 102 and network 103. Network 103 is the medium used to provide communication links between devices 101 and 102. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The devices 101, 102 may be hardware devices or software that support network connectivity to provide various network services. When the device is hardware, it can be a variety of electronic devices including, but not limited to, smart phones, tablets, laptop portable computers, desktop computers, servers, and the like. In this case, the hardware device may be implemented as a distributed device group including a plurality of devices, or may be implemented as a single device. When the device is software, the software can be installed in the electronic devices listed above. At this time, as software, it may be implemented as a plurality of software or software modules for providing a distributed service, for example, or as a single software or software module. And is not particularly limited herein.
In practice, a device may provide a respective network service by installing a respective client application or server application. After the device has installed the client application, it may be embodied as a client in network communications. Accordingly, after the server application is installed, it may be embodied as a server in network communications.
As an example, in fig. 1, device 101 is embodied as a client and device 102 is embodied as a server. For example, device 101 may be a client installed with a social application and device 102 may be a server of the social application.
It should be noted that the method for adding a friend, which is applied to the terminal device and is provided by the embodiment of the present application, may be executed by the device 101, and the method for adding a friend, which is applied to the server device and is provided by the device 102.
It should be understood that the number of networks and devices in fig. 1 is merely illustrative. There may be any number of networks and devices, as desired for implementation.
With continuing reference to fig. 2, a flow 200 of one embodiment of a method for adding buddies as applied to a terminal device in accordance with the present application is shown. The method for adding friends comprises the following steps:
step 201, receiving a friend application message pushed by a server device.
In this embodiment, an executing entity (for example, the device 101 shown in fig. 1) of the method for adding a friend may receive a friend application message pushed by a server device, where the friend application message includes user data of a second account, and the first account and the second account are accounts of the same social application.
Here, the friend application message may be generated by the server device in response to receiving a message for applying for adding the first account as a friend, which is sent by the terminal logged in the second account, or may be automatically generated by the server device according to a condition for generating the friend application message, which is established in advance. The user data may include a user avatar, a user name, a user introduction, and the content of the user's call, etc.
In some embodiments, the method further comprises: and sending the address book of the user of the first account to the server side equipment, so that the server side equipment sends a friend application message comprising user data of the first account to a third account associated with the mobile phone number contained in the address book. In addition, when the first account includes a newly registered account, the friend application message may be generated by the server device in response to determining that the mobile phone address book of the second account includes the mobile phone number associated with the first account. Therefore, the server side automatically generates and sends the friend application without the operation of the user terminal, and the efficiency of adding friends is further improved.
Step 202, displaying friend application information including user data of the second account on a chat session list interface of the social application.
In this embodiment, the executive agent may present, in a chat session list interface of the social application, friend application information including user data of the second account, and the chat session list interface further presents a session list of at least one chat session in which the first account participates. In some embodiments, the chat session list interface is typically the default interface for when the user opens the social application, and the user will typically return to the chat session list interface from a particular conversation page after completing a chat with other users. In the prior art, a chat session list page usually shows at least one chat session column. For example, the chat session list page may be presented with a first chat session column, a second chat session column, and a third chat session column. The local user is a user A, the first chat session bar is a one-to-one session between the user A and the user B, and after the first chat session bar is clicked, a one-to-one session chat interface between the user A and the user B can be accessed; the second chat session bar is a group chat session between the user A and the users C and D, and after the second chat session bar is clicked, a chat interface between the user A and the group chat sessions between the user C and the user D can be accessed; and the third chat session column is a one-to-one session between the user A and the user E, and after the third chat session column is clicked, a one-to-one session chat interface between the user A and the user E can be accessed. In some embodiments, the chat session bar may be displayed side by side in a list format. Those skilled in the art will appreciate that the above example is one of the existing chat session list pages, and is not intended to be limiting.
In some embodiments, the received friend application information may be presented at the top of the interface, i.e., on all chat session bars; in some embodiments, the received buddy application information may overlay a portion of the at least one chat session bar when presented. Those skilled in the art will appreciate that the display of the buddy application message may be configured as desired.
In some embodiments, presenting the buddy application information including the user data of the second account in the chat session list interface may include displaying a floating window in the chat session list interface, displaying the buddy application information including the user data of the second account in the floating window. Wherein the floating window may be configured to disappear after a display period is exceeded, and/or the transparency gradually increases over time.
In some embodiments, presenting, in the chat session list interface, the friend application information including the user data of the second account includes: and in response to determining that the second account meets the preset conditions, displaying friend application information including user data of the second account on a chat session list interface, wherein the preset conditions comprise: the address book of the second account comprises the address number associated with the first account; and/or the address book of the first account comprises the address number associated with the second account. The preset conditions may also include other conditions indicating that the first account has a greater possibility of agreeing with the friend application of the second account, for example, the number of common friends of the first account and the second account or the number of participating same groups is greater than a preset threshold, and the degree of heat of the user of the first account or the second account communicating through the communication tool other than the social application is greater than the preset threshold. After the second account meets the preset condition, the friend application information including the user data of the second account is displayed on the chat session list interface, so that the number of the friend application information displayed on the chat session list interface can be reduced, and the quality of the friend application information displayed on the chat session list interface is improved.
In some embodiments, the friend application message includes an identifier indicating that the friend application information is displayed on the chat session list interface, where the identifier includes an identifier added by the server device after determining that the second account satisfies the preset condition. Compared with the terminal device, the server device stores richer user data, and the quality of the friend application information displayed on the chat session list interface can be further improved through the identification added by the server.
In some embodiments, after the chat session list interface presents the buddy application information including the user data of the second account, the method further comprises: and in response to the detection of a first preset operation in the area showing the friend application information, sending information representing that the first account agrees to establish a friend relationship with the second account to the server-side equipment so that the server-side equipment can establish the friend relationship between the first account and the second account. The first preset operation may be set according to actual needs, for example, the first preset operation may be clicking, re-pressing, or pressing a virtual key indicating that the friend agrees to apply.
In some embodiments, the method further comprises: and displaying a chat conversation interface with the second account in response to receiving notification information which is returned by the server side equipment and successfully establishes a friend relationship with the second account. Therefore, the user does not need to go to the address book of the social application to search for the second account, so that a conversation interface with the user is opened, and the communication efficiency is further improved.
In some embodiments, after the chat session list interface presents the buddy application information including the user data of the second account, the method further comprises: and stopping showing the friend application information in response to detecting a second preset operation in the area showing the friend application information. The second preset operation may be set according to actual needs, for example, the second preset operation may be sliding or pressing a virtual key indicating to ignore the friend application.
In some embodiments, after the chat session list interface presents the buddy application information including the user data of the second account, the method further comprises: in response to detecting a third preset operation in the area for displaying the friend application information, displaying a conversation interface with the second account, wherein the conversation interface comprises an operation area configured to determine whether to accept the friend application of the second account; and determining whether to send information representing that the first account agrees to establish a friend relationship with the second account to the server-side equipment or not according to the operation detected in the operation area. The first preset operation may be set according to actual needs, for example, the first preset operation may be clicking, re-pressing, or pressing a virtual key indicating to view a friend application.
According to the method and the device for adding the friends, the friend application information including the user data of the second account is displayed on the chat session list interface of the social application by receiving the friend application information pushed by the server device, time consumption for adding the friends is shortened, and the probability of adding the friends is improved.
With further reference to fig. 3, a flow 300 of yet another embodiment of a method for adding buddies according to the application applied to a terminal device is shown. The method for adding friends comprises the following steps:
step 301, at least two friend application messages pushed by a server device are received.
In this embodiment, an executing entity (for example, the device 101 shown in fig. 1) of the method for adding a buddy receives at least two buddy application messages pushed by a server device, where each buddy application message includes user data of a second account.
Step 302, displaying friend application information including user data of the second account on a chat session list interface of the social application.
In this embodiment, the executive agent may present, in a chat session list interface of the social application, friend application information including user data of at least two second accounts.
In some embodiments, presenting, in the chat session list interface, the friend application information including the user data of the second account includes: at least two display modules respectively corresponding to at least two friend application messages are displayed in a chat session list interface in an overlapping mode, wherein an overlapping area formed by overlapping display does not include an area for displaying key information included in the at least two friend application messages, and the key information includes at least one of the following items: user name, user head portrait and friend application content. Therefore, the display space can be saved, and the influence on the use of the chat session list interface is reduced. Here, the display module may be presented through a floating window or in a form of referring to a chat session.
In some embodiments, the chat session list interface further includes a first virtual key, and in response to the first virtual key being pressed, the terminal device sends, to the server device, information representing that the first account agrees to establish a buddy relationship with a sending account of the at least two buddy application messages. In addition, the chat session list interface may further include a second virtual key, and in response to the second virtual key being pressed, the terminal device stops displaying the display modules corresponding to the at least two friend application messages. The operation efficiency of the user can be further improved through the setting of the virtual keys.
In some embodiments, presenting, in the chat session list interface, the friend application information including the user data of the second account may also include: displaying summary information of user data of at least one second account in a display module of the chat session list interface; and in response to detecting a fourth preset operation in the area of the display module, presenting detailed information of the user data of the at least one second account. As an example, the summary information of the user data may include a user name and a user avatar, and the fourth preset operation may include clicking, sliding, re-pressing, and the like. The detailed information of the user data may include user introduction, a manner of sending a friend application, introduction information in the friend application, and the like.
In some embodiments, presenting, in the chat session list interface, the friend application information including the user data of the second account may further include: one or more friend application messages are selected from the at least two friend application messages, and the selected friend application information is displayed on a chat session list interface. The number of the selected friend application messages can be set according to actual needs, so that the influence of displaying excessive friend application messages on the normal use of a chat session list interface is avoided.
In practice, the execution main body may select one or more recently received friend application messages from the at least two friend application messages according to the time when the friend application messages are received, may further obtain a plurality of degrees of popularity that the user corresponding to the first account communicates with the at least two users corresponding to the at least two second accounts of the at least two friend application messages through communication tools other than social applications, and selects one or more friend application messages from the at least two friend application messages according to the plurality of degrees of popularity. The heat can be determined according to the communication time length and/or the communication frequency, and the communication time length and/or the communication frequency can be obtained from a system or other social software.
Selecting one or more friend application messages from the at least two friend application messages, and the method further comprises the following steps: and randomly selecting or selecting the friend application messages with high priority or with the top N in sequence according to the priority/sequence indicated by the server equipment. The server device may determine the priority or rank according to the popularity of communication between users or the intimacy between users and other users. The intimacy degree can be determined according to the number of participating same groups, the number of shared friends and the like.
In addition, the execution main body can also select one or more friend application messages which are not shown from at least two friend application messages in response to the displayed friend application messages being browsed or closed, and display the friend application messages on a chat session list interface. The execution subject may make the selection randomly, based on the time of receiving the friend application message, the communication heat between users, or the indication of the server device, as described above.
In this embodiment, some specific operations of step 301 and step 302 have been described in detail in step 201 and step 202 in the embodiment shown in fig. 2, and are not described herein again.
The method and the device for adding the friends provided by the embodiment of the application provide a scheme for displaying the friend application information including the user data of the second account on a chat session list interface of the social application when receiving at least two friend application messages pushed by the server device, so that the method for adding the friends is further enriched, and the efficiency for adding the friends is improved.
With continuing reference to fig. 4, a flow 400 of one embodiment of a method for adding buddies as applied to a server device in accordance with the present application is illustrated. The method for adding friends comprises the following steps:
step 401, a friend application message for a first account is generated.
In this embodiment, an executing entity (for example, the device 102 shown in fig. 1) of the method for adding a friend may generate a friend application message for a first account, where the friend application message includes user data of a second account, and the first account and the second account are accounts of the same social application. The friend application message may be generated in response to receiving a message for applying for adding the first account as a friend, which is sent by the terminal logged in the second account, or may be automatically generated according to a condition for generating the friend application message, which is established in advance.
In some embodiments, the buddy application message includes an identification indicating that the buddy application information is presented in the chat session list interface; and generating a friend application message aiming at the first account, wherein the friend application message comprises: and in response to determining that the second account meets a preset condition, adding an identifier in the friend application message, wherein the preset condition comprises: the address book of the second account comprises the address number associated with the first account; and/or the address book of the first account comprises the address number associated with the second account. The quality of the friend application information displayed on the chat session list interface can be further improved by adding the identifier.
Step 402, pushing a friend application message to a terminal device logged in with a first account, so that the terminal device presents friend application information including user data of a second account on a chat session list interface of a social application.
In this embodiment, the executing agent may push a friend application message to the terminal device logged in with the first account, so that the terminal device presents friend application information including user data of the second account in a chat session list interface of the social application, and the chat session list interface further presents a session list of at least one chat session in which the first account participates.
In some embodiments, the first account comprises a newly registered account; and generating a friend application message aiming at the first account, wherein the friend application message comprises: acquiring a communication number associated with a first account; determining a second account corresponding to the address book comprising the communication number associated with the first account; and generating a friend application message according to the user data of the second account. Therefore, the automatic generation of the friend application message is realized, and the friend application efficiency is further improved.
Optionally, if at least two second accounts are determined, generating a friend application message for the first account may include: selecting one or more second accounts from the at least two second accounts; and generating one or more friend application messages respectively corresponding to the one or more second accounts. The server device may select the second account at random according to the selection of the terminal device for the friend application message in step 302, and based on the time of receiving the friend application message, the popularity or intimacy of communication between users.
For example, the server device may obtain a plurality of degrees of popularity of the user corresponding to the first account communicating with at least two users corresponding to the at least two second accounts through communication tools other than the social application, respectively, and select one or more second accounts from the at least two second accounts according to the plurality of degrees of popularity. The method for determining the heat degree may refer to step 302.
In addition, the server device may further select, in response to receiving a notification message sent by the terminal device and used to indicate that one or more messages have been browsed or closed, one or more second accounts that have not generated a friend application message for the first account from among the at least two second accounts, generate corresponding one or more friend application messages, and send the corresponding one or more friend application messages to the terminal device. Browsed or closed may include the case of being added as a friend, being clicked to browse but not being added as a friend or clicking to ignore the friend application message, etc.
According to the method and the device for adding the friend, the friend application message aiming at the first account is generated, and then the friend application message is pushed to the terminal device logged with the first account, so that the terminal device can display the friend application message comprising the user data of the second account on a chat session list interface of the social application, time consumption for adding the friend is shortened, and the probability for adding the friend is improved.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use in implementing a computing device (e.g., devices 101, 102 shown in FIG. 1) of an embodiment of the present application is shown. The computer device shown in fig. 5 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or electronic device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit and a presentation unit. The names of these units do not form a limitation to the unit itself in this case, for example, the receiving unit may also be described as a "unit receiving a friend application message pushed by the server device".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the computer device described in the above embodiments; or may exist separately and not be incorporated into the computer device. The computer readable medium carries one or more programs which, when executed by the computing device, cause the computing device to: receiving a friend application message pushed by server equipment, wherein the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application; and presenting friend application information comprising user data of the second account on a chat session list interface of the social application, and presenting a session list of at least one chat session in which the first account participates.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (24)

1. A method for adding friends is applied to terminal equipment, the terminal equipment logs in a first account, and the method comprises the following steps:
receiving a friend application message pushed by server equipment, wherein the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application;
and presenting friend application information comprising the user data of the second account on a chat session list interface of the social application, wherein the chat session list interface also presents a session list of at least one chat session in which the first account participates.
2. The method of claim 1, wherein the presenting, in a chat session list interface, buddy application information including user data for the second account comprises:
in response to determining that the second account meets a preset condition, displaying friend application information including user data of the second account on a chat session list interface, wherein the preset condition comprises:
the address book of the second account comprises the address number associated with the first account; and/or
The address book of the first account comprises the address number associated with the second account.
3. The method of claim 1, wherein the method further comprises:
and sending the address book of the user of the first account to the server side equipment, so that the server side equipment sends a friend application message comprising the user data of the first account to a third account associated with the mobile phone number contained in the address book.
4. The method of claim 1, wherein the friend application message includes an identifier indicating that the friend application information is presented on a chat session list interface, and the identifier includes an identifier added by the server device after determining that the second account meets a preset condition.
5. The method of claim 1, wherein the first account comprises a newly registered account; and
and the friend application message is generated by the server side equipment in response to the fact that the mobile phone address book of the second account comprises the mobile phone number associated with the first account.
6. The method of claim 1, wherein after the chat session list interface presents the buddy application information including the user data for the second account, the method further comprises:
and responding to a first preset operation detected in an area showing the friend application information, and sending information representing that the first account agrees to establish a friend relationship with the second account to a server-side device so that the server-side device can establish the friend relationship between the first account and the second account.
7. The method of claim 6, wherein the method further comprises:
and displaying a chat conversation interface with the second account in response to receiving notification information which is returned by the server side equipment and successfully establishes a friend relationship with the second account.
8. The method of claim 1, wherein after the chat session list interface presents the buddy application information including the user data for the second account, the method further comprises:
and stopping presenting the friend application information in response to detecting a second preset operation in the area presenting the friend application information.
9. The method of claim 1, wherein after the chat session list interface presents the buddy application information including the user data for the second account, the method further comprises:
in response to detecting a third preset operation in the area for displaying the friend application information, displaying a conversation interface with the second account, wherein the conversation interface comprises an operation area configured to determine whether to accept the friend application of the second account;
and determining whether to send information representing that the first account agrees to establish a friend relationship with the second account to server equipment or not according to the operation detected in the operation area.
10. The method of claim 1, wherein the presenting, in a chat session list interface, buddy application information including user data for the second account comprises:
and displaying a floating window in the chat session list interface, and displaying friend application information comprising the user data of the second account in the floating window.
11. The method of claim 1, wherein the terminal device receives at least two buddy application messages; and
the displaying of the friend application information including the user data of the second account on the chat session list interface includes:
at least two display modules respectively corresponding to the at least two friend application messages are displayed in the chat session list interface in an overlapping mode, wherein an overlapping area formed by overlapping display does not include an area for displaying key information included in the at least two friend application messages, and the key information includes at least one of the following items: user name, user head portrait and friend application content.
12. The method of claim 11, wherein the chat session list interface further comprises a first virtual button, and in response to the first virtual button being pressed, the terminal device sends, to a server device, information indicating that the first account agrees to establish a buddy relationship with the sending account of the at least two buddy application messages.
13. The method of claim 1, wherein the terminal device receives at least two friend application messages, each friend application message comprising user data of a second account; and
the displaying of the friend application information including the user data of the second account on the chat session list interface includes:
displaying summary information of user data of at least one second account in a display module of the chat session list interface;
and in response to detecting a fourth preset operation in the area of the display module, presenting detailed information of the user data of at least one second account.
14. The method of claim 1, wherein the terminal device receives at least two friend application messages, each friend application message comprising user data of a second account; and
the displaying of the friend application information including the user data of the second account on the chat session list interface includes:
and selecting one or more friend application messages from at least two friend application messages, and displaying the selected friend application information on the chat session list interface.
15. The method of claim 14, wherein selecting one or more buddy application messages from the at least two buddy application messages comprises:
and acquiring a plurality of degrees of popularity of the communication between the user corresponding to the first account and at least two users corresponding to at least two second accounts of the at least two friend application messages through communication tools except the social application, and selecting one or more friend application messages from the at least two friend application messages according to the degrees of popularity.
16. The method of claim 14, wherein the method further comprises:
and responding to the displayed friend application information being browsed or closed, selecting one or more friend application messages which are not displayed from the at least two friend application messages, and displaying the friend application messages on the chat session list interface.
17. A method for adding friends is applied to server-side equipment and comprises the following steps:
generating a friend application message aiming at a first account, wherein the friend application message comprises user data of a second account, and the first account and the second account are accounts of the same social application;
and pushing the friend application message to the terminal equipment logged with the first account so that the terminal equipment displays friend application information including user data of the second account on a chat session list interface of the social application, wherein the chat session list interface also displays a session list of at least one chat session participated by the first account.
18. The method of claim 17, wherein the buddy application message includes an identification indicating that buddy application information is presented in a chat session list interface; and
the generating of the friend application message for the first account includes:
in response to determining that the second account meets a preset condition, adding the identifier to the friend application message, wherein the preset condition includes:
the address book of the second account comprises the address number associated with the first account; and/or
The address book of the first account comprises the address number associated with the second account.
19. The method of claim 17, wherein the first account comprises a newly registered account; and
the generating of the friend application message for the first account includes:
acquiring a communication number associated with the first account;
determining the second account corresponding to the address book comprising the communication number associated with the first account;
and generating the friend application message according to the user data of the second account.
20. The method of claim 19, wherein the determined number of the second accounts is at least two, and the generating of the friend application message for the first account comprises:
selecting one or more second accounts from the at least two second accounts;
and generating one or more friend application messages respectively corresponding to the one or more second accounts.
21. The method of claim 20, wherein selecting one or more second accounts from the at least two second accounts comprises:
and acquiring a plurality of degrees of popularity of communication between the user corresponding to the first account and at least two users corresponding to the at least two second accounts through communication tools except the social application, and selecting one or more second accounts from the at least two second accounts according to the degrees of popularity.
22. The method of claim 20, wherein the method further comprises:
and in response to receiving a notification message which is sent by the terminal device and used for indicating that the one or more messages are browsed or closed, selecting one or more second accounts which do not generate friend application messages for the first account from the at least two second accounts, generating corresponding one or more friend application messages and sending the corresponding one or more friend application messages to the terminal device.
23. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement a method as recited in any one of claims 1-16 or 17-22.
24. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any of claims 1-16 or 17-22.
CN201911120621.2A 2019-11-15 2019-11-15 Method and device for adding friends Active CN112822089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911120621.2A CN112822089B (en) 2019-11-15 2019-11-15 Method and device for adding friends

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911120621.2A CN112822089B (en) 2019-11-15 2019-11-15 Method and device for adding friends

Publications (2)

Publication Number Publication Date
CN112822089A true CN112822089A (en) 2021-05-18
CN112822089B CN112822089B (en) 2023-06-30

Family

ID=75852881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911120621.2A Active CN112822089B (en) 2019-11-15 2019-11-15 Method and device for adding friends

Country Status (1)

Country Link
CN (1) CN112822089B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844851A (en) * 2022-05-07 2022-08-02 广东有线广播电视网络有限公司 Information display method, apparatus, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024688A (en) * 2011-09-22 2013-04-03 北京神州泰岳软件股份有限公司 Method and system for adding good friends in instant messaging platform
CN103516764A (en) * 2012-06-28 2014-01-15 北京新媒传信科技有限公司 Method and system for adding friends into social tool
CN105227431A (en) * 2014-06-30 2016-01-06 腾讯科技(深圳)有限公司 The method and apparatus of good friend or group is fast added in instant messaging
EP3190561A1 (en) * 2016-01-08 2017-07-12 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sending information
CN107508746A (en) * 2017-08-28 2017-12-22 武汉斗鱼网络科技有限公司 Good friend's adding method, device and electronic equipment
CN107733786A (en) * 2017-11-01 2018-02-23 上海掌门科技有限公司 A kind of method and apparatus of friend recommendation
CN107888487A (en) * 2017-12-28 2018-04-06 江苏神州信源系统工程有限公司 A kind of good friend's adding method across instantaneous communication system
CN108011990A (en) * 2017-11-30 2018-05-08 北京小米移动软件有限公司 Contact management method and device
US20190155488A1 (en) * 2012-11-23 2019-05-23 Tencent Technology (Shenzhen) Company Limited Buddy list presentation control method and system, and computer storage medium
CN110149269A (en) * 2019-05-30 2019-08-20 华为技术有限公司 A kind of communication means, server and communication system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024688A (en) * 2011-09-22 2013-04-03 北京神州泰岳软件股份有限公司 Method and system for adding good friends in instant messaging platform
CN103516764A (en) * 2012-06-28 2014-01-15 北京新媒传信科技有限公司 Method and system for adding friends into social tool
US20190155488A1 (en) * 2012-11-23 2019-05-23 Tencent Technology (Shenzhen) Company Limited Buddy list presentation control method and system, and computer storage medium
CN105227431A (en) * 2014-06-30 2016-01-06 腾讯科技(深圳)有限公司 The method and apparatus of good friend or group is fast added in instant messaging
EP3190561A1 (en) * 2016-01-08 2017-07-12 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sending information
CN107508746A (en) * 2017-08-28 2017-12-22 武汉斗鱼网络科技有限公司 Good friend's adding method, device and electronic equipment
CN107733786A (en) * 2017-11-01 2018-02-23 上海掌门科技有限公司 A kind of method and apparatus of friend recommendation
CN108011990A (en) * 2017-11-30 2018-05-08 北京小米移动软件有限公司 Contact management method and device
CN107888487A (en) * 2017-12-28 2018-04-06 江苏神州信源系统工程有限公司 A kind of good friend's adding method across instantaneous communication system
CN110149269A (en) * 2019-05-30 2019-08-20 华为技术有限公司 A kind of communication means, server and communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QQ: "QQ技巧宝典几则", 《计算机与网络》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844851A (en) * 2022-05-07 2022-08-02 广东有线广播电视网络有限公司 Information display method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112822089B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US20180287984A1 (en) System and method for tracking ongoing group chat sessions
US9047644B1 (en) Providing context for a social graph addition
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
WO2020207454A1 (en) Information pushing method and device
CN110807710A (en) Method and system for managing invitation data of user inviting friends
US20100306659A1 (en) Progressively discovering and integrating services
CN110634220B (en) Information processing method and device
CN111162993B (en) Information fusion method and device
CN109743245B (en) Method and device for creating a group
CN112311841A (en) Information pushing method and device, electronic equipment and computer readable medium
CN110098998B (en) Method and apparatus for processing information
CN112187488A (en) Network communication method and equipment
US11212282B2 (en) Connected [i.e. linked] accounts of a user keeps signed state in alive of other connected [i.e. linked] accounts
CN109241409B (en) Method and device for sending and receiving information
CN108616443A (en) Associated person information methods of exhibiting and device
CN109947528B (en) Information processing method and device
US12395455B2 (en) Method, apparatus and device for processing instant message
US9313283B2 (en) Dynamic social networking content
CN112363782A (en) Chat interface display method and device, electronic equipment and computer readable medium
CN112822089A (en) Method and device for adding friends
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
CN107526827A (en) Method, equipment and computer-readable recording medium for question and answer displaying
CN110704151A (en) Information processing method and device and electronic equipment
CN116954433A (en) A content publishing method, device, electronic equipment and storage medium
CN112650912A (en) Information processing method and device and electronic equipment

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Patentee after: Shanghai Lianshang Network Technology Group Co.,Ltd.

Country or region after: China

Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China