[go: up one dir, main page]

CN111818013B - Method and device for adding friends - Google Patents

Method and device for adding friends Download PDF

Info

Publication number
CN111818013B
CN111818013B CN202010500576.XA CN202010500576A CN111818013B CN 111818013 B CN111818013 B CN 111818013B CN 202010500576 A CN202010500576 A CN 202010500576A CN 111818013 B CN111818013 B CN 111818013B
Authority
CN
China
Prior art keywords
user
verification
information
request
audio
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.)
Active
Application number
CN202010500576.XA
Other languages
Chinese (zh)
Other versions
CN111818013A (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 Zongzhang Technology Group Co.,Ltd.
Original Assignee
Shanghai Zhangmen Science and 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 Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202010500576.XA priority Critical patent/CN111818013B/en
Publication of CN111818013A publication Critical patent/CN111818013A/en
Application granted granted Critical
Publication of CN111818013B publication Critical patent/CN111818013B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application aims to provide a method and equipment for adding friends, and the method and equipment comprise the following steps: receiving a first verification request and a second verification request sent by a first terminal in response to friend expansion operation of a first user in social application; if receiving the confirmation permission information which is returned by the second terminal based on the second verification request and is about to carry out the audio/video call, establishing the call connection between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal; and receiving verification feedback information returned by the second terminal based on the first verification request in the call connection maintaining process or after the call connection is finished, and sending the verification feedback information to the first terminal. The method and the device can enrich the form of adding friends.

Description

一种用于添加好友的方法与设备A method and device for adding friends

技术领域technical field

本申请涉及通信领域,尤其涉及一种用于添加好友的技术。The present application relates to the field of communications, and in particular, to a technology for adding friends.

背景技术Background technique

随着移动互联网的快速发展,人们的社交生活发生了翻天覆地的变化。智能手机的普及,使得社交应用满足了人们新的社交需求,并迅速成为人们生活中不可或缺的一部分。通过社交应用,用户可以添加认识的人或者陌生人在自己的社交应用通讯录中,这一项加好友功能已经成为常用功能。目前,用户发送好友申请信息通常只能发送一段文字信息以验证自己的身份。With the rapid development of the mobile Internet, people's social life has undergone tremendous changes. The popularity of smart phones makes social applications meet people's new social needs and quickly become an indispensable part of people's lives. Through social applications, users can add acquaintances or strangers to their social application address book, and this function of adding friends has become a common function. At present, users can only send a text message to verify their identity when sending friend application information.

发明内容SUMMARY OF THE INVENTION

本申请的一个目的是提供一种用于添加好友的方法与设备。An object of the present application is to provide a method and device for adding friends.

根据本申请的一个方面,提供了一种在网络设备端用于添加好友的方法,该方法包括:According to an aspect of the present application, a method for adding friends at a network device side is provided, the method comprising:

接收第一终端响应于第一用户在社交应用中的好友拓展操作发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;Receive the first verification request and the second verification request sent by the first terminal in response to the first user's friend extension operation in the social application, wherein the first verification request includes the first user identification information of the first user and the second verification request. The second user identification information of the user, the second verification request is used to obtain the permission to conduct an audio/video call with the second user;

根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;Send the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information;

若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,则基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;If receiving confirmation permission information about the audio/video call that is returned by the second terminal based on the second verification request, send the message based on the confirmation permission information and the first terminal or the second terminal the audio/video call request to establish a call connection between the first user and the second user;

在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。During the hold process of the call connection or after the call connection ends, receive the verification feedback information returned by the second terminal based on the first verification request, and send the verification feedback information to the first terminal , wherein the verification feedback information includes verification pass information or verification failure information.

根据本申请的另一个方面,提供了一种在第一终端用于添加好友的方法,该方法包括:According to another aspect of the present application, a method for adding friends at a first terminal is provided, the method comprising:

响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend extension operation in the social application, send a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user of the first user identification information and second user identification information of the second user, the second verification request is used to obtain permission to conduct an audio/video call with the second user;

接收所述网络设备基于所述第二验证请求返回的进行所述音/视频通话的确认许可信息;receiving confirmation permission information for the audio/video call returned by the network device based on the second verification request;

建立所述第一用户与所述第二用户的通话连接;establishing a call connection between the first user and the second user;

在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述网络设备基于所述第一验证请求返回的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。During the hold process of the call connection or after the call connection ends, the verification feedback information returned by the network device based on the first verification request is received, wherein the verification feedback information includes verification pass information or verification failure information.

根据本申请的又一个方面,提供了一种在第二终端用于添加好友的方法,该方法包括:According to yet another aspect of the present application, a method for adding friends at a second terminal is provided, the method comprising:

接收网络设备发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二终端所属的第二用户进行音/视频通话的许可;Receive a first verification request and a second verification request sent by a network device, wherein the first verification request includes first user identification information of a first user and second user identification information of a second user, and the second verification request for obtaining permission to conduct an audio/video call with a second user to which the second terminal belongs;

响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息,并建立所述第一用户与所述第二用户的通话连接;In response to the second user confirming the second verification request, send confirmation permission information for the audio/video call to the network device, and establish a relationship between the first user and the second user. call connection;

在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。During the hold process of the call connection or after the call connection ends, the verification feedback information of the first verification request is returned to the network device according to the verification result of the call connection, wherein the verification feedback information Including verification pass information or verification failure information.

根据本申请的再一个方面,提供了一种用于添加好友的方法,该方法包括:According to yet another aspect of the present application, a method for adding a friend is provided, the method comprising:

响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend expansion operation in the social application, the first terminal sends a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user's The first user identification information and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user;

所述网络设备接收所述第一验证请求以及第二验证请求,并根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;The network device receives the first verification request and the second verification request, and sends the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information;

所述第二终端接收所述第一验证请求以及第二验证请求,并响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息;The second terminal receives the first verification request and the second verification request, and in response to the second user confirming the second verification request, sends the audio/video call to the network device confirmation license information;

所述网络设备接收所述确认许可信息,并基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;The network device receives the confirmation permission information, and establishes a communication between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal. call connection;

在所述通话连接的保持过程中或者在所述通话连接结束后,所述第二终端根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息;During the hold process of the call connection or after the call connection ends, the second terminal returns the verification feedback information of the first verification request to the network device according to the verification result of the call connection, wherein, The verification feedback information includes verification pass information or verification failure information;

所述网络设备接收所述验证反馈信息,并向所述第一终端发送所述验证反馈信息;receiving, by the network device, the verification feedback information, and sending the verification feedback information to the first terminal;

所述第一终端接收所述网络设备返回的所述验证反馈信息。The first terminal receives the verification feedback information returned by the network device.

根据本申请的一个方面,提供了一种用于添加好友的网络设备,该设备包括:According to an aspect of the present application, a network device for adding friends is provided, the device comprising:

一一模块,用于接收第一终端响应于第一用户在社交应用中的好友拓展操作发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;A module for receiving a first verification request and a second verification request sent by the first terminal in response to the first user's friend extension operation in the social application, wherein the first verification request includes the first verification request of the first user. User identification information and second user identification information of the second user, the second verification request is used to obtain permission to conduct an audio/video call with the second user;

一二模块,用于根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;One or two modules, configured to send the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information;

一三模块,用于若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,则基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;Module 13 is configured to, if receiving confirmation permission information about conducting the audio/video call returned by the second terminal based on the second verification request, based on the confirmation permission information and the first terminal or The audio/video call request sent by the second terminal establishes a call connection between the first user and the second user;

一四模块,用于在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。Module 14, configured to receive the verification feedback information returned by the second terminal based on the first verification request during the hold process of the call connection or after the call connection ends, and send the verification feedback information to the first terminal to the first terminal. The verification feedback information is sent, wherein the verification feedback information includes verification pass information or verification failure information.

根据本申请的另一个方面,提供了一种用于添加好友的第一终端,该设备包括:According to another aspect of the present application, a first terminal for adding friends is provided, and the device includes:

二一模块,用于响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;The second module is configured to send a first verification request and a second verification request to the network device corresponding to the social application in response to the first user's friend expansion operation in the social application, wherein the first verification request includes the first verification request. The first user identification information of a user and the second user identification information of a second user, the second verification request is used to obtain permission to conduct an audio/video call with the second user;

二二模块,用于接收所述网络设备基于所述第二验证请求返回的进行所述音/视频通话的确认许可信息;A second module, configured to receive confirmation permission information for the audio/video call returned by the network device based on the second verification request;

二三模块,用于建立所述第一用户与所述第二用户的通话连接;The second and third modules are used to establish a call connection between the first user and the second user;

二四模块,用于在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述网络设备基于所述第一验证请求返回的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。The second and fourth modules are configured to receive the verification feedback information returned by the network device based on the first verification request during the hold process of the call connection or after the call connection ends, wherein the verification feedback information includes Verification pass information or verification failure information.

根据本申请的又一个方面,提供了一种用于添加好友的第二终端,该设备包括:According to yet another aspect of the present application, a second terminal for adding friends is provided, the device comprising:

三一模块,用于接收网络设备发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二终端所属的第二用户进行音/视频通话的许可;The 31 module is configured to receive the first verification request and the second verification request sent by the network device, wherein the first verification request includes the first user identification information of the first user and the second user identification information of the second user, The second verification request is used to obtain a permission to conduct an audio/video call with a second user to which the second terminal belongs;

三二模块,用于响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息,,并建立所述第一用户与所述第二用户的通话连接;The third and second module is configured to send confirmation permission information for the audio/video call to the network device in response to the confirmation operation of the second user for the second verification request, and establish the first user a call connection with the second user;

三三模块,用于在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。The third and third modules are configured to return the verification feedback information of the first verification request to the network device according to the verification result of the call connection during the hold process of the call connection or after the call connection ends, wherein , the verification feedback information includes verification pass information or verification failure information.

根据本申请的一个方面,提供了一种用于添加好友的设备,该设备包括:According to an aspect of the present application, a device for adding friends is provided, the device comprising:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述任一方法的操作。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the operations of any of the methods described above.

根据本申请的另一个方面,提供了存储指令的计算机可读介质,所述指令在被执行时使得系统进行如上所述任一方法的操作。According to another aspect of the present application, there is provided a computer-readable medium storing instructions that, when executed, cause a system to operate any of the methods described above.

与现有技术相比,本申请中第一用户的第一终端在向社交应用的网络设备发送第一验证请求的同时还发送了第二验证请求,其中,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可,在这一前提下,在网络设备后续建立第一用户与所述第二用户的通话连接后,被加好友方(例如,第二用户)可以基于该通话连接结果确定是否添加第一用户为好友,本申请丰富了添加好友的形式,同时在另一方面可以在添加好友前通过音/视频通话谨慎识别陌生用户的好友请求,从而达到预防诈骗,降低社交风险的效果。Compared with the prior art, in this application, the first terminal of the first user sends a second verification request while sending the first verification request to the network device of the social application, wherein the second verification request is used to obtain Permission to make an audio/video call with the second user, on this premise, after the network device subsequently establishes a call connection between the first user and the second user, the friend (for example, the second user) Whether to add the first user as a friend can be determined based on the call connection result. This application enriches the form of adding friends. On the other hand, the friend requests of unfamiliar users can be discreetly identified through audio/video calls before adding friends, so as to prevent Fraud, the effect of reducing social risk.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1示出根据本申请的一个系统拓扑图;Fig. 1 shows a system topology diagram according to the present application;

图2示出根据本申请一个实施例的一种用于添加好友的系统方法图;Fig. 2 shows a system method diagram for adding friends according to an embodiment of the present application;

图3示出根据本申请另一个实施例的一种在网络设备端用于添加好友的方法流程图;3 shows a flowchart of a method for adding friends at a network device end according to another embodiment of the present application;

图4示出根据本申请又一个实施例的一种在第一终端用于添加好友的方法流程图;FIG. 4 shows a flowchart of a method for adding a friend at a first terminal according to yet another embodiment of the present application;

图5示出根据本申请再一个实施例的一种在第二终端用于添加好友的方法流程图;FIG. 5 shows a flowchart of a method for adding friends at a second terminal according to yet another embodiment of the present application;

图6示出根据本申请一个实施例的一种用于添加好友的方法流程图;6 shows a flowchart of a method for adding friends according to an embodiment of the present application;

图7示出根据本申请另一个实施例的一种用于添加好友的方法流程图;FIG. 7 shows a flowchart of a method for adding friends according to another embodiment of the present application;

图8示出根据本申请一个实施例的一种用于添加好友的网络设备的设备示意图;8 shows a schematic diagram of a network device for adding friends according to an embodiment of the present application;

图9示出根据本申请又一个实施例的一种用于添加好友的第一终端的设备示意图;FIG. 9 shows a schematic diagram of a device of a first terminal for adding a friend according to yet another embodiment of the present application;

图10示出根据本申请另一个实施例的一种用于添加好友的第二终端的设备示意图;FIG. 10 shows a schematic diagram of a device of a second terminal for adding friends according to another embodiment of the present application;

图11示出根据本申请一个实施例的一种用于添加好友的系统的设备示意图;11 shows a schematic diagram of a device of a system for adding friends according to an embodiment of the present application;

图12示出可被用于实施本发明中所述各个实施例的示例性系统。Figure 12 illustrates an exemplary system that may be used to implement the various embodiments described in the present invention.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numbers in the drawings represent the same or similar parts.

具体实施方式Detailed ways

下面结合附图对本申请作进一步详细描述。The present application will be described in further detail below with reference to the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(例如,中央处理器(Central Processing Unit,CPU))、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), an input/output interface, a network interface, and Memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RandomAccess Memory,RAM)和/或非易失性内存等形式,如只读存储器(Read Only Memory,ROM)或闪存(Flash Memory)。内存是计算机可读介质的示例。The memory may include non-persistent memory in computer readable media, random access memory (Random Access Memory, RAM) and/or non-volatile memory, such as read only memory (Read Only Memory, ROM) or flash memory (Flash). Memory). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Memory,PCM)、可编程随机存取存储器(Programmable Random Access Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random AccessMemory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Versatile Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (Phase-Change Memory, PCM), programmable random access memory (Programmable Random Access Memory, PRAM), static random access memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically-Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read- Only Memory (EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

本申请所指设备包括但不限于终端、网络设备、或终端与网络设备通过网络相集成所构成的设备。所述终端包括但不限于任何一种可与用户进行人机交互(例如通过触摸板进行人机交互)的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如Android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field ProgrammableGate Array,FPGA)、数字信号处理器(Digital Signal Processor,DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,所述设备还可以是运行于所述终端、网络设备、或终端与网络设备、网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的设备上的程序。The devices referred to in this application include but are not limited to terminals, network devices, or devices formed by integrating terminals and network devices through a network. The terminal includes but is not limited to any mobile electronic product that can perform human-computer interaction with the user (for example, human-computer interaction through a touchpad), such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operating system. , such as Android operating system, iOS operating system, etc. The network device includes an electronic device that can automatically perform numerical calculation and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs) ), Programmable Logic Device (PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Digital Signal Processor (Digital Signal Processor, DSP), embedded devices, etc. The network device includes, but is not limited to, a computer, a network host, a single network server, multiple network server sets, or a cloud composed of multiple servers; here, a cloud is composed of a large number of computers or network servers based on cloud computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device may also be a program running on the terminal, a network device, or a device formed by a terminal and a network device, a network device, a touch terminal, or a network device and a touch terminal integrated through a network.

当然,本领域技术人员应能理解上述设备仅为举例,其他现有的或今后可能出现的设备如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or possible devices that may appear in the future, if applicable to this application, should also be included within the protection scope of this application, and are included in this application by reference. this.

在本申请的描述中,“多个”的含义是两个或者更多,除非另有明确具体的限定。In the description of this application, "plurality" means two or more, unless expressly and specifically defined otherwise.

图1示出了本申请的一个典型场景,第一用户持有第一终端,第一终端中安装有社交应用,其中,所述社交应用包括可以与通讯录中的好友进行通信,并且具有添加好友功能的应用。第一终端与所述社交应用对应的网络设备通过无线或者有线的方式建立通信连接,基于该通信连接,网络设备接收所述第一终端发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括指向第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可。在所述网络设备和第二用户的第二终端建立通信连接的基础上,第二终端接收所述第一验证请求以及第二验证请求,其中,所述第二终端中安装有该社交应用,在第二用户许可该音/视频通话的基础上,网络设备基于第一终端或者第二终端发起的音/视频通话请求建立所述第一用户与所述第二用户的通话连接,所述第二用户根据该音/视频通话连接对所述第一用户进行身份验证,并基于第一验证请求返回同意或者拒绝的验证反馈信息,若所述验证反馈信息包括验证通过信息,网络设备确认第一用户和第二用户添加好友成功,其中,所述第一终端和第二终端包括但不限于手机、平板以及电脑等具有触摸屏幕的计算设备。Fig. 1 shows a typical scenario of the present application, the first user holds a first terminal, and a social application is installed in the first terminal, wherein the social application includes the ability to communicate with friends in the address book, and has the ability to add Friends function application. The first terminal establishes a communication connection with the network device corresponding to the social application in a wireless or wired manner, and based on the communication connection, the network device receives the first verification request and the second verification request sent by the first terminal, wherein the The first verification request includes second user identification information directed to the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. On the basis of establishing a communication connection between the network device and the second terminal of the second user, the second terminal receives the first verification request and the second verification request, wherein the social application is installed in the second terminal, On the basis that the second user allows the audio/video call, the network device establishes a call connection between the first user and the second user based on the audio/video call request initiated by the first terminal or the second terminal. The second user authenticates the first user according to the audio/video call connection, and returns the verification feedback information of approval or rejection based on the first verification request. If the verification feedback information includes verification pass information, the network device confirms the first user. The user and the second user successfully add friends, wherein the first terminal and the second terminal include but are not limited to computing devices with touch screens such as mobile phones, tablets, and computers.

参考图1所示的系统,图2示出根据本申请一个实施例的一种用于添加好友的系统方法,该方法包括:Referring to the system shown in FIG. 1, FIG. 2 shows a system method for adding friends according to an embodiment of the present application, the method includes:

响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend expansion operation in the social application, the first terminal sends a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user's The first user identification information and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user;

所述网络设备接收所述第一验证请求以及第二验证请求,并根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;The network device receives the first verification request and the second verification request, and sends the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information;

所述第二终端接收所述第一验证请求以及第二验证请求,并响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息;The second terminal receives the first verification request and the second verification request, and in response to the second user confirming the second verification request, sends the audio/video call to the network device confirmation license information;

所述网络设备接收所述确认许可信息,并基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;The network device receives the confirmation permission information, and establishes a communication between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal. call connection;

在所述通话连接的保持过程中或者在所述通话连接结束后,所述第二终端根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息;During the hold process of the call connection or after the call connection ends, the second terminal returns the verification feedback information of the first verification request to the network device according to the verification result of the call connection, wherein, The verification feedback information includes verification pass information or verification failure information;

所述网络设备接收所述验证反馈信息,并向所述第一终端发送所述验证反馈信息;receiving, by the network device, the verification feedback information, and sending the verification feedback information to the first terminal;

所述第一终端接收所述网络设备返回的所述验证反馈信息。The first terminal receives the verification feedback information returned by the network device.

图3示出根据本申请一个实施例的一种在网络设备端用于添加好友的方法,所述方法包括步骤S101、步骤S102、步骤S103和步骤S104。FIG. 3 shows a method for adding friends on a network device side according to an embodiment of the present application, and the method includes step S101 , step S102 , step S103 and step S104 .

具体地,在步骤S101中,网络设备接收第一终端响应于第一用户在社交应用中的好友拓展操作发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可。其中,所述好友拓展操作包括所述第一用户在社交应用中选取第二用户后进行的用于好友添加的点击操作,例如,在对所述第二用户的好友请求页面中,第一用户启用用于发送第二验证请求的设置,响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求用于向第二用户请求添加好友,第二验证请求用于向第二用户请求许可与所述第一用户进行音/视频通话。Specifically, in step S101, the network device receives the first verification request and the second verification request sent by the first terminal in response to the first user's friend extension operation in the social application, wherein the first verification request includes the first verification request. The first user identification information of the user and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. Wherein, the friend extension operation includes a click operation for adding friends after the first user selects the second user in the social application. For example, in the friend request page for the second user, the first user The setting for sending the second verification request is enabled, and in response to the first user's friend extension operation in the social application, the first terminal sends the first verification request and the second verification request to the network device corresponding to the social application, wherein, The first verification request is used to request the second user to add a friend, and the second verification request is used to request the second user for permission to conduct an audio/video call with the first user.

在步骤S102中,网络设备根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求。例如,所述第一验证请求以及第二验证请求中都包括所述第二用户的第二用户标识信息,网络设备基于所述第二终端标识信息将所述第一验证请求以及第二验证请求发送至所述第二用户的第二终端。In step S102, the network device sends the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information. For example, both the first verification request and the second verification request include the second user identification information of the second user, and the network device sends the first verification request and the second verification request based on the second terminal identification information sent to the second terminal of the second user.

在步骤S103中,若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,网络设备则基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接。在一些实施例中,所述基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接,包括:将关于所述音/视频通话的确认许可信息返回至所述第一终端;接收所述第一终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第二用户的第二用户标识信息,向所述第二终端发送该音/视频通话请求以及接收所述第二终端发送的关于该音/视频通话请求的确认信息;或者,接收所述第二终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第一用户的第一标识信息,向所述第一终端发送所述音/视频通话请求以及接收所述第一终端发送的关于该音/视频通话请求的确认信息;基于所述确认信息建立所述第一用户与所述第二用户的通话连接。例如,第二终端接收所述第一验证请求以及第二验证请求后呈现是否允许音/视频通话的提示界面,响应于第二用户对该提示界面的点击操作,第二终端向所述网络设备发送进行所述音/视频通话的确认许可信息,在网络设备收到进行所述音/视频通话的确认许可信息的前提下,网络设备接收所述第一终端或所述第二终端发送的音/视频通话请求,并基于第一用户或第二用户的确认信息建立所述第一用户与所述第二用户的通话连接。在建立通话连接的基础上为后续第二用户基于通话过程确定是否添加第一用户为好友提供基础。In step S103, if receiving the confirmation permission information about the audio/video call returned by the second terminal based on the second verification request, the network device will, based on the confirmation permission information and the first terminal, Or an audio/video call request sent by the second terminal to establish a call connection between the first user and the second user. In some embodiments, the establishing a call connection between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal, including : return confirmation permission information about the audio/video call to the first terminal; receive an audio/video call request sent by the first terminal based on the confirmation permission information, where the audio/video call request includes the the second user identification information of the second user, send the audio/video call request to the second terminal and receive confirmation information about the audio/video call request sent by the second terminal; or, receive the second terminal Based on the audio/video call request sent by the terminal based on the confirmation permission information, the audio/video call request includes the first identification information of the first user, the audio/video call request is sent to the first terminal and the received confirming information about the audio/video call request sent by the first terminal; establishing a call connection between the first user and the second user based on the confirmation information. For example, after receiving the first verification request and the second verification request, the second terminal presents a prompt interface for whether to allow the audio/video call, and in response to the second user's click operation on the prompt interface, the second terminal sends a notification to the network device. Send the confirmation permission information for the audio/video call, and on the premise that the network device receives the confirmation permission information for the audio/video call, the network device receives the audio message sent by the first terminal or the second terminal. /Video call request, and establish a call connection between the first user and the second user based on the confirmation information of the first user or the second user. On the basis of establishing the call connection, a basis is provided for the subsequent second user to determine whether to add the first user as a friend based on the call process.

在步骤S104中,在所述通话连接的保持过程中或者在所述通话连接结束后,网络设备接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。例如,在所述第一用户与所述第二用户的通话连接建立的前提下,第二用户设备中呈现与所述第一验证请求对应的添加好友提示信息,第二用户基于所述第一用户在通话过程中的表现向所述网络设备发送与所述第一验证请求对应的添加好友提示信息的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。若所述验证反馈信息包括验证通过信息,网络设备将所述验证通过信息作为所述第一验证请求的响应信息返回至所述第一终端,并确定将第一用户与第二用户互相添加为好友;否则,网络设备将所述验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端,并确定所述第一用户添加好友失败。In step S104, during the hold process of the call connection or after the call connection ends, the network device receives the verification feedback information returned by the second terminal based on the first verification request, and sends the verification feedback to the first terminal. The terminal sends the verification feedback information, wherein the verification feedback information includes verification pass information or verification failure information. For example, on the premise that the call connection between the first user and the second user is established, the second user equipment presents the friend adding prompt information corresponding to the first verification request, and the second user is based on the first verification request. The user's performance during the call sends verification feedback information corresponding to the first verification request for adding friend prompt information to the network device, where the verification feedback information includes verification pass information or verification failure information. If the verification feedback information includes verification pass information, the network device returns the verification pass information as response information to the first verification request to the first terminal, and determines to add the first user and the second user to each other as friend; otherwise, the network device returns the verification failure information as response information of the first verification request to the first terminal, and determines that the first user fails to add a friend.

例如,用户A持有第一终端,第一终端中安装有社交应用,用户A从社交应用中获取用户B的用户标识信息,响应于用户A在用户B的好友添加页面的好友添加操作,第一终端向网络设备发送第一验证请求以及第二验证请求,网络设备将第一验证请求以及第二验证请求发送至用户B的第二终端,待用户B接收第二验证请求对应的音/视频通话的请求许可并确认许可后,用户A与用户B基于用户A发起的通话连接进行通话,通话结束后,响应于用户B对第一验证请求的拒绝操作,网络设备向用户A发送添加好友失败信息。For example, user A holds a first terminal, a social application is installed in the first terminal, user A obtains user B's user identification information from the social application, and in response to user A's friend adding operation on user B's friend adding page, the A terminal sends the first verification request and the second verification request to the network device, the network device sends the first verification request and the second verification request to the second terminal of user B, and waits for user B to receive the audio/video corresponding to the second verification request After requesting permission for the call and confirming the permission, user A and user B conduct a call based on the call connection initiated by user A, and after the call ends, in response to user B's rejection of the first verification request, the network device sends user A a message that adding a friend failed information.

在一些实施例中,所述方法还包括步骤S105(未示出),在步骤S105中,若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的拒绝许可信息;网络设备将所述拒绝许可信息作为所述第二验证请求的响应信息返回至所述第一终端;忽略所述第一终端发送的音/视频通话请求,其中,所述音/视频通话请求包括所述第一用户的第一标识信息;接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。例如,第二终端接收所述第一验证请求以及第二验证请求后呈现是否允许音/视频通话的提示界面,响应于第二用户对该提示界面的点击操作(例如,点击拒绝按钮)或者忽略操作,第二终端向所述网络设备发送进行所述音/视频通话的拒绝许可信息,在所述第二终端发送拒绝许可信息的前提下,第一用户将无法与第二用户在该社交应用中进行音/视频通话,在这一前提下,取决于第二用户对第一验证请求的操作,若所述第二用户拒绝第一验证请求对应的好友添加操作,第二终端向网络设备返回验证失败信息,网络设备将该验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端,在这种情况下,第一用户添加好友失败;若所述第二用户接收第一验证请求对应的好友添加操作,网络设备接收第二终端发送的验证通过信息,并将所述验证通过信息作为所述第一验证请求的响应信息返回至所述第一终端,在这种情况下,第一用户添加好友成功。使得第一用户与第二用户成功建立社交连接。In some embodiments, the method further includes step S105 (not shown), in step S105, if receiving the information about making the audio/video call returned by the second terminal based on the second verification request Deny permission information; the network device returns the denial permission information as response information of the second verification request to the first terminal; ignores the audio/video call request sent by the first terminal, wherein the audio/video call request is ignored. The video call request includes the first identification information of the first user; receiving the verification feedback information returned by the second terminal based on the first verification request, and sending the verification feedback information to the first terminal, wherein, The verification feedback information includes verification pass information or verification failure information. For example, after receiving the first verification request and the second verification request, the second terminal presents a prompt interface for whether to allow the audio/video call, and responds to the second user's click operation on the prompt interface (for example, clicking the reject button) or ignores it. operation, the second terminal sends the refusal permission information for the audio/video call to the network device, and on the premise that the second terminal sends the refusal permission information, the first user will not be able to communicate with the second user in the social application On this premise, depending on the operation of the second user on the first verification request, if the second user rejects the friend adding operation corresponding to the first verification request, the second terminal returns to the network device Verification failure information, the network device returns the verification failure information as the response information of the first verification request to the first terminal, in this case, the first user fails to add friends; if the second user receives the first A friend adding operation corresponding to a verification request, the network device receives the verification pass information sent by the second terminal, and returns the verification pass information to the first terminal as the response information of the first verification request. In this case Next, the first user added friends successfully. The first user and the second user are made to successfully establish a social connection.

在一些实施例中,所述方法还包括步骤S106(未示出),在步骤S106中,若未在预设时间内接收到所述第二终端基于所述第一验证请求返回的响应信息,网络设备忽略所述第一验证请求。例如,第一验证请求具有时效性(例如,超过一周未收到响应则失效),若在预设时间内,网络设备未接收到所述第二终端基于所述第一验证请求返回的信息,网络设备确认该第一验证请求无效,并忽略所述第一验证请求,从而无需网络设备端进行等待。In some embodiments, the method further includes step S106 (not shown). In step S106, if the response information returned by the second terminal based on the first verification request is not received within a preset time, The network device ignores the first authentication request. For example, the first verification request is time-sensitive (for example, it will be invalid if no response is received for more than one week). If the network device does not receive the information returned by the second terminal based on the first verification request within a preset time, The network device confirms that the first verification request is invalid, and ignores the first verification request, so that the network device does not need to wait.

在一些实施例中,所述方法还包括步骤S107(未示出),在步骤S107中,若在所述通话连接的保持过程中,接收到所述第二终端响应于所述第二用户在所述通话连接的界面中的挂断操作发送的挂断请求,基于所述挂断请求终止所述通话连接,其中,所述挂断请求包括验证失败信息;将该验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端。例如,第一用户和第二用户正在进行通话,在该通话过程中,若所述第二用户对第一用户的验证表现不满意,响应于所述第二用户在所述通话连接的界面中的挂断操作(例如,点击通话界面中的挂断按钮),第二终端向网络设备发送挂断请求,其中,所述挂断请求包括验证失败信息,在网络设备收到该挂断请求后,将所述验证失败信息返回至所述第一终端,在这种情况下,基于第二用户的音/视频挂断操作可以同时响应第一验证请求,简化用户操作的同时可以更有效率的处理好友申请事项,提升了用户的使用体验。In some embodiments, the method further includes step S107 (not shown). In step S107, if during the hold process of the call connection, the second terminal receives a response from the second user in The hang-up request sent by the hang-up operation in the interface of the call connection terminates the call connection based on the hang-up request, wherein the hang-up request includes verification failure information; the verification failure information is used as the first A response message of the verification request is returned to the first terminal. For example, the first user and the second user are on a call. During the call, if the second user is not satisfied with the verification of the first user, in response to the second user being in the call connection interface (for example, clicking the hang-up button in the call interface), the second terminal sends a hang-up request to the network device, wherein the hang-up request includes verification failure information, after the network device receives the hang-up request , and return the verification failure information to the first terminal. In this case, based on the audio/video hang-up operation of the second user, the first verification request can be simultaneously responded to, which can simplify user operations and more efficiently. Handle friend application matters and improve the user experience.

在一些实施例中,所述方法在步骤S104之前还包括步骤S108(未示出),在步骤S108中,网络设备获取所述通话连接的保持过程中的验证辅助信息;向所述第二终端发送所述验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户存在虚假信息。在网络设备获取所述通话连接的保持过程中的验证辅助信息的前提下,可以为后续第二用户判断是否对第一用户验证通过有较高的参考价值,从而避免第一终端出现虚假信息欺骗第二用户,提升了第二用户在所述社交应用中的社交安全性,从而增加用户对该社交应用的粘性和信任度。在一些实施例中,所述获取所述通话连接的保持过程中的验证辅助信息,包括:根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息。例如,在第一用户和第二用户的通话过程中,网络设备实时获取第一终端用户的音/视频信息,并检测所述音/视频信息中是否存在虚假信息,若存在,将该虚假信息作为验证辅助信息,为后续第二用户做出好友通过操作提供参考意见。在一些实施例中,所述根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息,包括:检测所述通话连接的保持过程中所述第一用户的音/视频信息是否满足虚假信息条件,若满足,生成并获取所述通话连接的保持过程中的验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户所述音/视频信息存在虚假信息。在一些实施例中,所述虚假信息条件包括以下至少任一项:In some embodiments, the method further includes step S108 (not shown) before step S104. In step S108, the network device obtains the verification assistance information during the hold process of the call connection; The verification auxiliary information is sent, wherein the verification auxiliary information is used to prompt the second user that false information exists. On the premise that the network device obtains the verification auxiliary information in the process of maintaining the call connection, it can judge for the subsequent second user whether there is a high reference value for the first user to pass the verification, so as to avoid false information deception on the first terminal. For the second user, the social security of the second user in the social application is improved, thereby increasing the user's stickiness and trust in the social application. In some embodiments, the acquiring the verification assistance information during the hold process of the call connection includes: acquiring the verification assistance information according to audio/video information of the first user during the hold process of the call connection. For example, during the call between the first user and the second user, the network device acquires the audio/video information of the first terminal user in real time, and detects whether there is false information in the audio/video information, and if so, the false information As the verification auxiliary information, it provides a reference opinion for the subsequent second user to make a friend pass operation. In some embodiments, the acquiring the verification assistance information according to the audio/video information of the first user during the hold process of the call connection includes: detecting the first user during the hold process of the call connection Whether the audio/video information satisfies the false information condition, and if so, generate and obtain the verification auxiliary information during the hold process of the call connection, wherein the verification auxiliary information is used to prompt the second user that the audio/video There is false information in the information. In some embodiments, the false information conditions include at least any of the following:

1)所述第一用户的音/视频信息中的语音信息包括合成语音;1) the voice information in the audio/video information of the first user includes synthetic voice;

2)所述第一用户的音/视频验证中的语音信息包括录音语音信息;2) the voice information in the audio/video verification of the first user includes recorded voice information;

例如,网络设备从所述第一用户的音/视频信息中获取语音信息,通过自动识别技术方法或者基于加噪训练的鲁棒合成语音检测算法识别所述语音信息是否是经过变声器的声音,在一些实施例中,通过自动识别技术方法以及人工通过语音学鉴定方法共同识别,以更加精确的识别出该语音信息是否为经过变声器的非人声的声音或者是录音中的声音,若是,网络设备根据该识别结果获取所述通话连接的保持过程中的验证辅助信息,其中,所述验证辅助信息包括用于提醒所述第二用户该音/视频信息中存在合成语音的信息。从而在一定程度上防止第二用户受到声音欺骗。For example, the network device obtains the voice information from the audio/video information of the first user, and identifies whether the voice information is the voice that has passed through a voice changer through an automatic identification technology method or a robust synthetic voice detection algorithm based on noise training, In some embodiments, the automatic identification technology method and the artificial phonetic identification method are used to identify together, so as to more accurately identify whether the voice information is a non-human voice through a voice changer or a voice in a recording, and if so, The network device obtains, according to the identification result, verification assistance information during the hold process of the call connection, wherein the verification assistance information includes information for reminding the second user that there is synthesized voice in the audio/video information. Thus, to a certain extent, the second user is prevented from being deceived by the voice.

3)所述第一用户的音/视频信息中的人像画面信息包括录像画面信息;3) the portrait picture information in the audio/video information of the first user includes video picture information;

例如,网络设备从所述第一用户的音/视频信息中获取人像画面信息,通过OCR技术先进行水印识别以查看所述人像画面信息中是否存在水印信息,若存在,网络设备确定所述人像画面信息存在虚假信息,所述人像画面信息包括录像画面信息,网络设备根据该识别结果获取所述通话连接的保持过程中的验证辅助信息,其中,所述验证辅助信息包括用于提醒所述第二用户该音/视频信息中存在录像画面的信息。从而在一定程度上防止第二用户受到画面欺骗。在一些实施例中,在第一用户和第二用户的通话过程中,第二用户可以向第一用户提出动作指令验证要求,例如,用手摆一个特定形状,当第一用户根据第二用户的要求做出验证动作,网络设备实时传输该验证动作,并将该验证动作作为验证辅助信息,第二用户可以通过该验证辅助信息自行判断第一终端的音/视频信息是否为虚假信息,第二用户可以自行判断第一终端的音/视频信息是否为虚假信息。For example, the network device obtains the portrait picture information from the audio/video information of the first user, and first performs watermark identification through the OCR technology to check whether there is watermark information in the portrait picture information. If so, the network device determines the portrait picture There is false information in the picture information, the portrait picture information includes video picture information, and the network device obtains the verification auxiliary information in the process of maintaining the call connection according to the identification result, wherein the verification auxiliary information includes a reminder for the first 2. The audio/video information of the user contains the information of the video recording screen. Thus, to a certain extent, the second user is prevented from being deceived by the picture. In some embodiments, during the conversation between the first user and the second user, the second user may request the first user for verification of action instructions, for example, posing a specific shape with his hand, when the first user responds to the second user The network device transmits the verification action in real time, and uses the verification action as verification auxiliary information, and the second user can judge whether the audio/video information of the first terminal is false information through the verification auxiliary information. Second, the user can judge by himself whether the audio/video information of the first terminal is false information.

图4示出根据本申请一个实施例的一种在第一终端用于添加好友的方法,所述方法包括步骤S201、步骤S202、步骤S203和步骤S204。FIG. 4 shows a method for adding a friend on a first terminal according to an embodiment of the present application, and the method includes step S201 , step S202 , step S203 and step S204 .

具体地,在步骤S201中,第一终端响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可。在一些实施例中,所述方法在步骤S201之前还包括步骤S205(未示出),在步骤S205中,第一终端在所述第一终端的社交应用中启用第二验证设置,其中,所述第二验证设置用于发起所述第二验证请求。例如,基于所述第一用户在社交应用中对第二用户的获取操作,其中,所述获取操作包括手动搜索第二用户的第二用户标识信息(例如,第二用户在社交应用中的ID或者用户名)或者从群组中获取第二用户的相关信息,例如,第一用户在对所述第二用户进行好友添加的添加界面中启用第二验证设置(例如,添加界面中包括第二验证设置的启用按钮),响应于第一用户对所述第二用户的好友拓展操作(例如,对第二用户发起请求添加好友的操作),第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求用于向第二用户请求添加好友,第二验证请求用于获取与所述第二用户进行音/视频通话的许可。在启用第二验证设置的前提下,为后续第一终端向网络设备发送第二验证请求提供基础。Specifically, in step S201, the first terminal sends a first verification request and a second verification request to the network device corresponding to the social application in response to the first user's friend expansion operation in the social application, wherein the first verification request is A verification request includes the first user identification information of the first user and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. In some embodiments, the method further includes step S205 (not shown) before step S201, in step S205, the first terminal enables the second verification setting in the social application of the first terminal, wherein all the The second verification setting is used to initiate the second verification request. For example, based on an acquisition operation of the second user in the social application by the first user, wherein the acquisition operation includes manually searching for the second user identification information of the second user (for example, the ID of the second user in the social application or user name) or obtain the relevant information of the second user from the group, for example, the first user enables the second verification setting in the add interface for adding friends to the second user (for example, the add interface includes the second user The activation button of the verification setting), in response to the first user's friend extension operation on the second user (for example, an operation of initiating a request to add a friend to the second user), the first terminal sends a message to the network device corresponding to the social application. A first verification request and a second verification request, wherein the first verification request is used to request to add a friend to the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. On the premise that the second verification setting is enabled, a basis is provided for the subsequent first terminal to send the second verification request to the network device.

在步骤S202中,第一终端接收所述网络设备基于所述第二验证请求返回的进行所述音/视频通话的确认许可信息。例如,所述第二验证请求包括第二用户的第二标识信息,网络设备接收所述第二验证请求后基于所述第二用户标识信息将所述第二验证请求发送至第二用户的第二用户终端,若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,将所述确认许可信息返回至所述第一终端。In step S202, the first terminal receives confirmation permission information for the audio/video call returned by the network device based on the second verification request. For example, the second verification request includes the second identification information of the second user. After receiving the second verification request, the network device sends the second verification request to the second verification request based on the second user identification information. The second user terminal returns the confirmation permission information to the first terminal if it receives confirmation permission information about the audio/video call that is returned by the second terminal based on the second verification request.

在步骤S203中,第一终端建立所述第一用户与所述第二用户的通话连接。In step S203, the first terminal establishes a call connection between the first user and the second user.

在一些实施例中,在步骤S203中,第一终端响应于所述第一用户在所述社交应用中的通话触发操作,基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息;或者,接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息。例如,在第一用户获取到进行所述音/视频通话的确认许可信息的前提下,响应于第一用户在所述社交应用中的通话触发操作,第一终端所述网络设备发送音/视频通话请求,网络设备将所述音/视频通话请求发送至所述音/视频通话请求对应的第二用户的第二终端,第二终端接收所述音/视频通话请求,其中,所述音/视频通话请求包括第一用户的第一用户标识信息,响应于第一用户对所述的确认操作,网络设备建立第一用户和第二用户的通话连接以便第一用户和第二用户可以实时通话。例如,在第二终端基于第二验证请求发送进行所述音/视频通话的确认许可信息后,第二终端主动发起音/视频通话请求,从而使得被加好友方(第二用户)处于主动地位,从而提升用户的使用体验。In some embodiments, in step S203, in response to the call triggering operation of the first user in the social application, the first terminal sends an audio/video call request to the network device based on the confirmation permission information, and perform a call connection with the second user according to the confirmation information returned by the network device based on the audio/video call request, wherein the audio/video call request includes the second user identification information of the second user Or, receive the audio/video call request sent by the network device based on the confirmation permission information, and send confirmation information to the network device based on the audio/video call request and perform a call connection with the second user , wherein the audio/video call request includes second user identification information of the second user. For example, on the premise that the first user obtains the confirmation permission information for the audio/video call, in response to the call triggering operation of the first user in the social application, the network device of the first terminal sends the audio/video call call request, the network device sends the audio/video call request to the second terminal of the second user corresponding to the audio/video call request, and the second terminal receives the audio/video call request, wherein the audio/video call request The video call request includes the first user identification information of the first user, and in response to the confirmation operation of the first user, the network device establishes a call connection between the first user and the second user so that the first user and the second user can talk in real time . For example, after the second terminal sends the confirmation permission information for the audio/video call based on the second verification request, the second terminal actively initiates the audio/video call request, so that the friended party (the second user) is in an active position , so as to improve the user experience.

在步骤S204中,第一终端在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述网络设备基于所述第一验证请求返回的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。例如,在第一用户和第二用户进行实时音/视频通话的过程中,第二用户可在通话过程中对第一验证请求进行反馈,或者在第一用户和第二用户的音/视频通话结束后对第一验证请求进行反馈,在第二终端将验证反馈信息发送至网络设备后,网络设备将所述第一验证请求对应的验证反馈信息返回至第一终端。In step S204, the first terminal receives the verification feedback information returned by the network device based on the first verification request during the hold process of the call connection or after the call connection ends, wherein the verification feedback The information includes verification pass information or verification failure information. For example, during the real-time audio/video call between the first user and the second user, the second user can give feedback on the first verification request during the call, or during the audio/video call between the first user and the second user After the end, the first verification request is fed back, and after the second terminal sends the verification feedback information to the network device, the network device returns the verification feedback information corresponding to the first verification request to the first terminal.

例如,用户A持有第一终端,第一终端中安装有社交应用,用户A从社交应用中获取用户B的用户标识信息,响应于用户A在用户B的好友添加页面的好友添加操作,第一终端向网络设备发送第一验证请求以及第二验证请求,网络设备将第一验证请求以及第二验证请求发送至用户B的第二终端,待用户B接收第二验证请求对应的音/视频通话的请求许可并确认许可后,用户A与用户B基于用户A发起的通话连接进行通话,通话结束后,响应于用户B对第一验证请求的接收操作,网络设备向用户A发送添加好友成功信息。For example, user A holds a first terminal, a social application is installed in the first terminal, user A obtains user B's user identification information from the social application, and in response to user A's friend adding operation on user B's friend adding page, the A terminal sends the first verification request and the second verification request to the network device, the network device sends the first verification request and the second verification request to the second terminal of user B, and waits for user B to receive the audio/video corresponding to the second verification request After requesting permission for the call and confirming the permission, user A and user B conduct a call based on the call connection initiated by user A. After the call ends, in response to user B's receiving operation for the first verification request, the network device sends user A a message that the friend was added successfully. information.

图5示出根据本申请一个实施例的一种在第二终端用于添加好友的方法,所述方法包括步骤S301、步骤S302和步骤S303。FIG. 5 shows a method for adding a friend on a second terminal according to an embodiment of the present application, and the method includes step S301 , step S302 and step S303 .

具体地,在步骤S301中,第二终端接收网络设备发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二终端所属的第二用户进行音/视频通话的许可。例如,响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,网络设备根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求。Specifically, in step S301, the second terminal receives the first verification request and the second verification request sent by the network device, wherein the first verification request includes the first user identification information of the first user and the first verification request of the second user. 2. User identification information, where the second verification request is used to obtain permission to conduct an audio/video call with a second user to which the second terminal belongs. For example, in response to the first user's friend extension operation in the social application, the first terminal sends the first verification request and the second verification request to the network device corresponding to the social application, and the network device sends the request to the network device according to the second user identification information. The second terminal corresponding to the second user sends the first verification request and the second verification request.

在步骤S302中,第二终端响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息,并建立所述第一用户与所述第二用户的通话连接。在一些实施例中,所述建立所述第一用户与所述第二用户的通话连接,包括:基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息;或者,接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息。例如,第二终端接收所述第二验证请求后呈现是否允许音/视频通话的确认界面,响应于第二用户对所述确认界面的确认操作,第二终端向所述网络设备发送进行所述音/视频通话的确认许可信息,在所述确认许可信息发送后主动向所述网络设备发起音/视频通话请求,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息,在网络设备将所述音/视频通话请求发送至第一终端并接收到所述第一终端的确认信息后,第二终端执行与所述第一用户的通话连接。In step S302, in response to the confirmation operation of the second user for the second verification request, the second terminal sends confirmation permission information for the audio/video call to the network device, and establishes the first A call connection between the user and the second user. In some embodiments, establishing a call connection between the first user and the second user includes: sending an audio/video call request to the network device based on the confirmation permission information, and sending an audio/video call request to the network device according to the confirmation permission information. Execute the call connection with the first user based on the confirmation information returned by the audio/video call request, wherein the audio/video call request includes the first user identification information of the first user; or, receive the The network device sends an audio/video call request based on the confirmation permission information, and sends confirmation information to the network device based on the audio/video call request to perform a call connection with the first user, wherein the audio/video call request /The video call request includes first user identification information of the first user. For example, after receiving the second verification request, the second terminal presents a confirmation interface for whether to allow audio/video calls, and in response to the second user's confirmation operation on the confirmation interface, the second terminal sends the network device to perform the above Confirmation permission information for audio/video calls, after the confirmation permission information is sent, actively initiates an audio/video call request to the network device, wherein the audio/video call request includes the first user ID of the first user information, after the network device sends the audio/video call request to the first terminal and receives confirmation information from the first terminal, the second terminal executes a call connection with the first user.

在步骤S303中,第二终端在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。例如,在第一用户和第二用户进行实时音/视频通话的过程中,第二用户可在通话过程中对第一验证请求进行反馈,或者在第一用户和第二用户的音/视频通话结束后对第一验证请求进行反馈,在第二终端将验证反馈信息发送至网络设备后,网络设备将所述第一验证请求对应的验证反馈信息返回至第一终端。在一些实施例中,所述方法还包括步骤S304(未示出),在步骤S304中,第二终端接收所述网络设备发送的所述通话连接的保持过程中的验证辅助信息;在步骤S303中,第二终端在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果以及所述验证辅助信息向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。其中,所述验证辅助信息用于提示所述第二用户所述音/视频信息存在虚假信息。例如,在第一用户和第二用户的通话过程中,网络设备实时获取第一终端用户的音/视频信息,并检测所述音/视频信息中是否存在虚假信息,若存在,将该虚假信息作为验证辅助信息,后续第二用户可参考该验证辅助信息做出是否通过好友的决定。在一些实施例中,在第一用户和第二用户的通话过程中,第二用户可以向第一用户提出动作指令验证要求,例如,用手摆一个特定形状,当第一用户根据第二用户的要求做出验证动作,网络设备实时传输该验证动作,并将该验证动作作为验证辅助信息,第二用户可以通过该验证辅助信息自行判断第一终端的音/视频信息是否为虚假信息。从而在一定程度上降低了受骗上当的可能性。从而提升用户对所述社交应用的可信度。In step S303, the second terminal returns the verification feedback information of the first verification request to the network device according to the verification result of the call connection during the hold process of the call connection or after the call connection ends , wherein the verification feedback information includes verification pass information or verification failure information. For example, during the real-time audio/video call between the first user and the second user, the second user can give feedback on the first verification request during the call, or during the audio/video call between the first user and the second user After the end, the first verification request is fed back, and after the second terminal sends the verification feedback information to the network device, the network device returns the verification feedback information corresponding to the first verification request to the first terminal. In some embodiments, the method further includes step S304 (not shown). In step S304, the second terminal receives the verification assistance information during the hold process of the call connection sent by the network device; in step S303 In the process of maintaining the call connection or after the call connection ends, the second terminal returns the first verification request to the network device according to the verification result of the call connection and the verification auxiliary information. Verification feedback information, wherein the verification feedback information includes verification pass information or verification failure information. The verification auxiliary information is used to prompt the second user that there is false information in the audio/video information. For example, during the call between the first user and the second user, the network device acquires the audio/video information of the first terminal user in real time, and detects whether there is false information in the audio/video information, and if so, the false information As the verification auxiliary information, the second user can subsequently refer to the verification auxiliary information to make a decision on whether to pass the friend. In some embodiments, during the conversation between the first user and the second user, the second user may ask the first user for verification of action instructions, for example, posing a specific shape with his hand, when the first user responds to the second user The network device transmits the verification action in real time and uses the verification action as verification auxiliary information, and the second user can judge whether the audio/video information of the first terminal is false information through the verification auxiliary information. This reduces the possibility of being deceived to a certain extent. Thus, the user's credibility of the social application is improved.

例如,用户A持有第一终端,第一终端中安装有社交应用,用户A从社交应用中获取用户B的用户标识信息,响应于用户A在用户B的好友添加页面的好友添加操作,第一终端向网络设备发送第一验证请求以及第二验证请求,网络设备将第一验证请求以及第二验证请求发送至用户B的第二终端,待用户B接收第二验证请求对应的音/视频通话的请求许可并确认许可后,用户A与用户B基于用户A发起的通话连接进行通话,通话过程中,响应于用户B对第一验证请求的接收操作,网络设备向用户A发送添加好友成功信息。For example, user A holds a first terminal, a social application is installed in the first terminal, user A obtains user B's user identification information from the social application, and in response to user A's friend adding operation on user B's friend adding page, the A terminal sends the first verification request and the second verification request to the network device, the network device sends the first verification request and the second verification request to the second terminal of user B, and waits for user B to receive the audio/video corresponding to the second verification request After requesting permission for the call and confirming the permission, user A and user B conduct a call based on the call connection initiated by user A. During the call, in response to user B's receiving operation of the first verification request, the network device sends user A a message that the friend was added successfully. information.

图6示出根据本申请一个实施例的一种用于添加好友的方法流程图,用户A持有第一终端,用户B持有第二终端,所述第一终端中安装有IM(Instance Message,即时通讯)社交应用客户端A,所述第二终端中安装有IM社交应用客户端B,响应于用户A在客户端A中的好友添加操作,客户端A向IM应用的服务器发送语音/视频请求以及添加好友请求,服务器将语音/视频请求以及添加好友请求发送至第二终端,响应于用户B对语音/视频请求的接收操作,第二终端执行与用户A的通话操作,随后,用户B对添加好友请求做出反馈操作,其中,所述反馈操作包括同意或者拒绝添加好友的反馈信息,第二终端将反馈信息返回给服务器,服务器将反馈信息返回至第一终端。FIG. 6 shows a flowchart of a method for adding friends according to an embodiment of the present application. User A holds a first terminal, and user B holds a second terminal, and the first terminal is installed with IM (Instance Message , instant messaging) social application client A, the second terminal is installed with IM social application client B, in response to user A's friend adding operation in client A, client A sends a voice/ The video request and the friend add request, the server sends the voice/video request and the friend add request to the second terminal, and in response to the user B's receiving operation of the voice/video request, the second terminal performs a call operation with the user A, and then the user B performs a feedback operation on the request for adding a friend, wherein the feedback operation includes feedback information of agreeing or rejecting adding a friend, the second terminal returns the feedback information to the server, and the server returns the feedback information to the first terminal.

图7示出根据本申请另一个实施例的一种用于添加好友的方法流程图,用户A持有第一终端,用户B持有第二终端,所述第一终端中安装有IM(Instance Message,即时通讯)社交应用客户端A,所述第二终端中安装有IM社交应用客户端B,响应于用户A在客户端A中的好友添加操作,客户端A向IM应用的服务器发送请求用户B允许语音/视频通话的信息以及添加好友请求,服务器将请求用户B允许语音/视频通话的信息以及添加好友请求发送至第二终端,响应于用户B对请求用户B允许语音/视频通话的信息的确认操作操作,用户B在第二终端中向网络设备发送语音/视频通话请求,网络设备将该通话请求发送至第一终端,在用户A在第一终端接听后,第一终端执行与用户B的通话操作,在通话过程中或者在通话结束后,用户B对添加好友请求做出反馈操作,其中,所述反馈操作包括同意或者拒绝添加好友的反馈信息,第二终端将反馈信息返回给服务器,服务器将反馈信息返回至第一终端。FIG. 7 shows a flowchart of a method for adding friends according to another embodiment of the present application. User A holds a first terminal, and user B holds a second terminal, and the first terminal is installed with IM (Instance Message, instant messaging) social application client A, an IM social application client B is installed in the second terminal, and in response to the user A's friend adding operation in client A, client A sends a request to the server of the IM application The information that user B allows the voice/video call and the request to add a friend, the server sends the information requesting user B to allow the voice/video call and the request to add a friend to the second terminal. Information confirmation operation, user B sends a voice/video call request to the network device in the second terminal, and the network device sends the call request to the first terminal. After user A answers the call on the first terminal, the first terminal executes the User B's call operation. During the call or after the call, user B makes a feedback operation on the request for adding a friend, wherein the feedback operation includes the feedback information of agreeing or refusing to add a friend, and the second terminal returns the feedback information to the server, and the server returns the feedback information to the first terminal.

图8示出根据本申请一个实施例的一种用于添加好友的网络设备,所述网络设备包括一一模块101、一二模块102、一三模块103和一四模块104。FIG. 8 shows a network device for adding friends according to an embodiment of the present application. The network device includes a first module 101 , a second module 102 , a third module 103 and a fourth module 104 .

具体地,一一模块101,用于接收第一终端响应于第一用户在社交应用中的好友拓展操作发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可。其中,所述好友拓展操作包括所述第一用户在社交应用中选取第二用户后进行的用于好友添加的点击操作,例如,在对所述第二用户的好友请求页面中,第一用户启用用于发送第二验证请求的设置,响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求用于向第二用户请求添加好友,第二验证请求用于向第二用户请求许可与所述第一用户进行音/视频通话。Specifically, a module 101 is configured to receive a first verification request and a second verification request sent by a first terminal in response to a first user's friend extension operation in a social application, wherein the first verification request includes the first verification request. The first user identification information of the user and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. Wherein, the friend extension operation includes a click operation for adding friends after the first user selects the second user in the social application. For example, in the friend request page for the second user, the first user The setting for sending the second verification request is enabled, and in response to the first user's friend extension operation in the social application, the first terminal sends the first verification request and the second verification request to the network device corresponding to the social application, wherein, The first verification request is used to request the second user to add a friend, and the second verification request is used to request the second user for permission to conduct an audio/video call with the first user.

一二模块102,用于根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求。例如,所述第一验证请求以及第二验证请求中都包括所述第二用户的第二用户标识信息,网络设备基于所述第二终端标识信息将所述第一验证请求以及第二验证请求发送至所述第二用户的第二终端。The first and second modules 102 are configured to send the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information. For example, both the first verification request and the second verification request include the second user identification information of the second user, and the network device sends the first verification request and the second verification request based on the second terminal identification information sent to the second terminal of the second user.

一三模块103,用于若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,则基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接。在一些实施例中,所述基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接,包括:将关于所述音/视频通话的确认许可信息返回至所述第一终端;接收所述第一终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第二用户的第二用户标识信息,向所述第二终端发送该音/视频通话请求以及接收所述第二终端发送的关于该音/视频通话请求的确认信息;或者,接收所述第二终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第一用户的第一标识信息,向所述第一终端发送所述音/视频通话请求以及接收所述第一终端发送的关于该音/视频通话请求的确认信息;基于所述确认信息建立所述第一用户与所述第二用户的通话连接。相关基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。A third module 103 is configured to, if receiving confirmation permission information about the audio/video call returned by the second terminal based on the second verification request, based on the confirmation permission information and the first terminal Or an audio/video call request sent by the second terminal to establish a call connection between the first user and the second user. In some embodiments, the establishing a call connection between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal, including : return confirmation permission information about the audio/video call to the first terminal; receive an audio/video call request sent by the first terminal based on the confirmation permission information, where the audio/video call request includes the the second user identification information of the second user, send the audio/video call request to the second terminal and receive confirmation information about the audio/video call request sent by the second terminal; or, receive the second terminal Based on the audio/video call request sent by the terminal based on the confirmation permission information, the audio/video call request includes the first identification information of the first user, the audio/video call request is sent to the first terminal and the received confirming information about the audio/video call request sent by the first terminal; establishing a call connection between the first user and the second user based on the confirmation information. The operation of establishing a call connection between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal is the same as the embodiment shown in FIG. 3 . They are the same or similar, so they are not repeated here, but are included here by way of reference.

一四模块104,用于在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。例如,在所述第一用户与所述第二用户的通话连接建立的前提下,第二用户设备中呈现与所述第一验证请求对应的添加好友提示信息,第二用户基于所述第一用户在通话连接的保持过程中的表现向所述网络设备发送与所述第一验证请求对应的添加好友提示信息的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。若所述验证反馈信息包括验证通过信息,网络设备将所述验证通过信息作为所述第一验证请求的响应信息返回至所述第一终端,并确定将第一用户与第二用户互相添加为好友;否则,网络设备将所述验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端,并确定所述第一用户添加好友失败。A fourth module 104, configured to receive the verification feedback information returned by the second terminal based on the first verification request during the hold process of the call connection or after the call connection ends, and send the verification feedback to the first terminal. The terminal sends the verification feedback information, wherein the verification feedback information includes verification pass information or verification failure information. For example, on the premise that the call connection between the first user and the second user is established, the second user equipment presents the friend adding prompt information corresponding to the first verification request, and the second user is based on the first verification request. The user's performance in the process of maintaining the call connection sends verification feedback information corresponding to the first verification request for adding friend prompt information to the network device, wherein the verification feedback information includes verification pass information or verification failure information. If the verification feedback information includes verification pass information, the network device returns the verification pass information as response information to the first verification request to the first terminal, and determines to add the first user and the second user to each other as friend; otherwise, the network device returns the verification failure information as response information of the first verification request to the first terminal, and determines that the first user fails to add a friend.

在此,有关上述一一模块101、一二模块102、一三模块103和一四模块104的具体实现方式的示例与图3中有关步骤S101、S102、S103和S104的实施例相同或相近,故不再赘述,在此以引用方式包含于此。Here, the specific implementation examples of the above-mentioned one-one module 101, one-two module 102, one-three module 103 and one-four module 104 are the same as or similar to the embodiment of steps S101, S102, S103 and S104 in FIG. 3 , Therefore, it is not repeated here, and is incorporated herein by reference.

在一些实施例中,所述网络设备还包括一五模块105(未示出),一五模块105,用于若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的拒绝许可信息;将所述拒绝许可信息作为所述第二验证请求的响应信息返回至所述第一终端;忽略所述第一终端发送的音/视频通话请求,其中,所述音/视频通话请求包括所述第一用户的第一标识信息;接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。所述一五模块105的具体实现方式与前述步骤S105的实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the network device further includes a fifth module 105 (not shown), and a fifth module 105 is configured to, if received from the second terminal based on the second verification request, return information about performing the audio/video call rejection permission information; return the rejection permission information to the first terminal as the response information for the second verification request; ignore the audio/video call request sent by the first terminal, wherein the The audio/video call request includes the first identification information of the first user; receiving the verification feedback information returned by the second terminal based on the first verification request, and sending the verification feedback information to the first terminal , wherein the verification feedback information includes verification pass information or verification failure information. The specific implementation of the one-fifth module 105 is the same as or similar to the embodiment of the aforementioned step S105 , so it is not repeated here, and is incorporated herein by reference.

在一些实施例中,所述网络设备还包括一六模块106(未示出),一六模块106,用于若未在预设时间内接收到所述第二终端基于所述第一验证请求返回的响应信息,忽略所述第一验证请求。所述一六模块106的具体实现方式与前述步骤S106的实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the network device further includes a six-module 106 (not shown), a six-module 106, for if the second terminal does not receive the first verification request within a preset time, based on the first verification request In the returned response information, the first verification request is ignored. The specific implementation manner of the one-six modules 106 is the same as or similar to the embodiment of the foregoing step S106 , and thus will not be repeated here, but is incorporated herein by reference.

在一些实施例中,所述网络设备还包括一七模块107(未示出),一七模块107,用于若在所述通话连接的保持过程中,接收到所述第二终端响应于所述第二用户在所述通话连接的界面中的挂断操作发送的挂断请求,基于所述挂断请求终止所述通话连接,其中,所述挂断请求包括验证失败信息;将该验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端。所述一七模块107的具体实现方式与前述步骤S107的实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the network device further includes a seventh module 107 (not shown), and the seventh module 107 is configured to receive a response from the second terminal to the A hang-up request sent by the second user through a hang-up operation in the call connection interface, and the call connection is terminated based on the hang-up request, wherein the hang-up request includes verification failure information; the verification failure The information is returned to the first terminal as response information to the first verification request. The specific implementation manner of the one-seven modules 107 is the same as or similar to the embodiment of the aforementioned step S107 , so it is not repeated here, and is incorporated herein by reference.

在一些实施例中,所述网络设备在一四模块104之前还包括一八模块108(未示出),一八模块108,用于获取所述通话连接的保持过程中的验证辅助信息;向所述第二终端发送所述验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户存在虚假信息。所述一八模块108的具体实现方式与前述步骤S108的实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述获取所述通话连接的保持过程中的验证辅助信息,包括:根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息。相关获取所述通话连接的保持过程中的验证辅助信息的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息,包括:检测所述通话连接的保持过程中所述第一用户的音/视频信息是否满足虚假信息条件,若满足,生成并获取所述通话连接的保持过程中的验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户所述音/视频信息存在虚假信息。相关根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述虚假信息条件包括以下至少任一项:In some embodiments, the network device further includes an eighth module 108 (not shown) before the one-fourth module 104, and the eighth module 108 is configured to obtain verification assistance information during the hold process of the call connection; The second terminal sends the verification assistance information, wherein the verification assistance information is used to prompt the second user that false information exists. The specific implementation manner of the eighteen modules 108 is the same as or similar to the embodiment of the foregoing step S108 , so it is not repeated here, and is incorporated herein by reference. In some embodiments, the acquiring the verification assistance information during the hold process of the call connection includes: acquiring the verification assistance information according to audio/video information of the first user during the hold process of the call connection. The operation of obtaining the verification auxiliary information during the hold process of the call connection is the same as or similar to that of the embodiment shown in FIG. 3 , so it is not repeated here, and is incorporated herein by reference. In some embodiments, the acquiring the verification assistance information according to the audio/video information of the first user during the hold process of the call connection includes: detecting the first user during the hold process of the call connection Whether the audio/video information satisfies the false information condition, and if so, generate and obtain the verification auxiliary information during the hold process of the call connection, wherein the verification auxiliary information is used to prompt the second user that the audio/video There is false information in the information. The operation of obtaining the verification auxiliary information according to the audio/video information of the first user in the process of maintaining the call connection is the same as or similar to the embodiment shown in FIG. here. In some embodiments, the false information conditions include at least any of the following:

1)所述第一用户的音/视频信息中的语音信息包括合成语音;1) the voice information in the audio/video information of the first user includes synthetic voice;

2)所述第一用户的音/视频验证中的语音信息包括录音语音信息;2) the voice information in the audio/video verification of the first user includes recorded voice information;

3)所述第一用户的音/视频信息中的人像画面信息包括录像画面信息;相关虚假信息条件的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。3) the portrait picture information in the audio/video information of the first user includes the video picture information; the operation of the relevant false information condition is identical or similar to the embodiment shown in Fig. 3, so it will not be repeated, and it is included by reference here. here.

图9示出根据本申请一个实施例的一种用于添加好友的第一终端,所述第一终端包括二一模块201、二二模块202、二三模块203和二四模块204。FIG. 9 shows a first terminal for adding friends according to an embodiment of the present application. The first terminal includes a two-one module 201 , a two-two module 202 , a two-third module 203 and a two-four module 204 .

具体地,二一模块201,用于响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可。在一些实施例中,所述第一终端在二一模块201之前还包括二五模块205(未示出),二五模块205,用于在所述第一终端的社交应用中启用第二验证设置,其中,所述第二验证设置用于发起所述第二验证请求。所述二五模块205的具体实现方式与前述步骤S205的实施例相同或相近,故不再赘述,在此以引用方式包含于此。Specifically, the two-one module 201 is configured to send a first verification request and a second verification request to a network device corresponding to the social application in response to the first user's friend expansion operation in the social application, wherein the first verification request is The verification request includes the first user identification information of the first user and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user. In some embodiments, the first terminal further includes a 25 module 205 (not shown) before the 21 module 201. The 25 module 205 is used to enable the second verification in the social application of the first terminal setting, wherein the second verification setting is used to initiate the second verification request. The specific implementation manner of the two-fifth module 205 is the same as or similar to the embodiment of the foregoing step S205 , so it is not repeated here, and is incorporated herein by reference.

二二模块202,用于接收所述网络设备基于所述第二验证请求返回的进行所述音/视频通话的确认许可信息。例如,所述第二验证请求包括第二用户的第二标识信息,网络设备接收所述第二验证请求后基于所述第二用户标识信息将所述第二验证请求发送至第二用户的第二用户终端,若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,将所述确认许可信息返回至所述第一终端。The second module 202 is configured to receive confirmation permission information for the audio/video call returned by the network device based on the second verification request. For example, the second verification request includes the second identification information of the second user. After receiving the second verification request, the network device sends the second verification request to the second verification request based on the second user identification information. The second user terminal returns the confirmation permission information to the first terminal if it receives confirmation permission information about the audio/video call that is returned by the second terminal based on the second verification request.

二三模块203,用于建立所述第一用户与所述第二用户的通话连接。例如,在第一用户获取到进行所述音/视频通话的确认许可信息的前提下,响应于第一用户在所述社交应用中的通话触发操作,第一终端所述网络设备发送音/视频通话请求,网络设备将所述音/视频通话请求发送至所述音/视频通话请求对应的第二用户的第二终端,第二终端接收所述音/视频通话请求,其中,所述音/视频通话请求包括第一用户的第一用户标识信息,响应于第一用户对所述的确认操作,网络设备建立第一用户和第二用户的通话连接以便第一用户和第二用户可以实时通话。在一些实施例中,二三模块203,用于响应于所述第一用户在所述社交应用中的通话触发操作,基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息;或者,接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息。相关建立所述第一用户与所述第二用户的通话连接的操作与图4所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。The second and third modules 203 are configured to establish a call connection between the first user and the second user. For example, on the premise that the first user obtains the confirmation permission information for the audio/video call, in response to the call triggering operation of the first user in the social application, the network device of the first terminal sends the audio/video call call request, the network device sends the audio/video call request to the second terminal of the second user corresponding to the audio/video call request, and the second terminal receives the audio/video call request, wherein the audio/video call request The video call request includes the first user identification information of the first user, and in response to the confirmation operation of the first user, the network device establishes a call connection between the first user and the second user so that the first user and the second user can talk in real time . In some embodiments, the second and third modules 203 are configured to send an audio/video call request to the network device based on the confirmation permission information in response to the call triggering operation of the first user in the social application, and Execute the call connection with the second user according to the confirmation information returned by the network device based on the audio/video call request, wherein the audio/video call request includes the second user identification information of the second user; Or, receiving an audio/video call request sent by the network device based on the confirmation permission information, and sending confirmation information to the network device based on the audio/video call request to perform a call connection with the second user, Wherein, the audio/video call request includes second user identification information of the second user. The related operation of establishing the call connection between the first user and the second user is the same as or similar to the embodiment shown in FIG.

二四模块204,用于在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述网络设备基于所述第一验证请求返回的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。例如,在第一用户和第二用户进行实时音/视频通话的过程中,第二用户可在通话过程中对第一验证请求进行反馈,或者在第一用户和第二用户的音/视频通话结束后对第一验证请求进行反馈,在第二终端将验证反馈信息发送至网络设备后,网络设备将所述第一验证请求对应的验证反馈信息返回至第一终端。The second and fourth module 204 is configured to receive the verification feedback information returned by the network device based on the first verification request during the hold process of the call connection or after the call connection ends, wherein the verification feedback information Including verification pass information or verification failure information. For example, during the real-time audio/video call between the first user and the second user, the second user can give feedback on the first verification request during the call, or during the audio/video call between the first user and the second user After the end, the first verification request is fed back, and after the second terminal sends the verification feedback information to the network device, the network device returns the verification feedback information corresponding to the first verification request to the first terminal.

在此,有关上述二一模块201、二二模块202、二三模块203和二四模块204的具体实现方式的示例与图4中有关步骤S201、S202、S203和S204的实施例相同或相近,故不再赘述,在此以引用方式包含于此。Here, the specific implementation examples of the above-mentioned 21 module 201, 22 module 202, 23 module 203 and 24 module 204 are the same as or similar to the embodiments of steps S201, S202, S203 and S204 in FIG. 4 , Therefore, it is not repeated here, and is incorporated herein by reference.

图10示出根据本申请一个实施例的一种用于添加好友的第二终端,所述第二终端包括三一模块301、三二模块302和三三模块303。FIG. 10 shows a second terminal for adding friends according to an embodiment of the present application, where the second terminal includes a three-one module 301 , a three-two module 302 and a three-third module 303 .

具体地,三一模块301,用于接收网络设备发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二终端所属的第二用户进行音/视频通话的许可。例如,响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,网络设备根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求。Specifically, the Sany module 301 is configured to receive a first verification request and a second verification request sent by a network device, wherein the first verification request includes the first user identification information of the first user and the second verification request of the second user. User identification information, where the second verification request is used to obtain permission to conduct an audio/video call with a second user to which the second terminal belongs. For example, in response to the first user's friend expansion operation in the social application, the first terminal sends the first verification request and the second verification request to the network device corresponding to the social application, and the network device sends the second verification request to the network device according to the second user identification information. The second terminal corresponding to the second user sends the first verification request and the second verification request.

三二模块302,用于响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息,并建立所述第一用户与所述第二用户的通话连接。在一些实施例中,所述建立所述第一用户与所述第二用户的通话连接,包括:基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息;或者,接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息。相关建立所述第一用户与所述第二用户的通话连接的操作与图5所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。例如,第二终端接收所述第二验证请求后呈现是否允许音/视频通话的确认界面,响应于第二用户对所述确认界面的确认操作,第二终端向所述网络设备发送进行所述音/视频通话的确认许可信息,在所述确认许可信息发送后主动向所述网络设备发起音/视频通话请求,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息,在网络设备将所述音/视频通话请求发送至第一终端并接收到所述第一终端的确认信息后,第二终端执行与所述第一用户的通话连接。The third and second module 302 is configured to, in response to the second user confirming the second verification request, send confirmation permission information for the audio/video call to the network device, and establish the first user A call connection with the second user. In some embodiments, establishing a call connection between the first user and the second user includes: sending an audio/video call request to the network device based on the confirmation permission information, and sending an audio/video call request to the network device according to the confirmation permission information. Execute the call connection with the first user based on the confirmation information returned by the audio/video call request, wherein the audio/video call request includes the first user identification information of the first user; or, receive the The network device sends an audio/video call request based on the confirmation permission information, and sends confirmation information to the network device based on the audio/video call request to perform a call connection with the first user, wherein the audio/video call request /The video call request includes first user identification information of the first user. The operations related to establishing the call connection between the first user and the second user are the same as or similar to the embodiment shown in FIG. For example, after receiving the second verification request, the second terminal presents a confirmation interface for whether to allow audio/video calls, and in response to the second user's confirmation operation on the confirmation interface, the second terminal sends the network device to perform the above Confirmation permission information for audio/video calls, after the confirmation permission information is sent, actively initiates an audio/video call request to the network device, wherein the audio/video call request includes the first user ID of the first user information, after the network device sends the audio/video call request to the first terminal and receives confirmation information from the first terminal, the second terminal executes a call connection with the first user.

三三模块303,用于在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。例如,在第一用户和第二用户进行实时音/视频通话的过程中,第二用户可在通话过程中对第一验证请求进行反馈,或者在第一用户和第二用户的音/视频通话结束后对第一验证请求进行反馈,在第二终端将验证反馈信息发送至网络设备后,网络设备将所述第一验证请求对应的验证反馈信息返回至第一终端。在一些实施例中,所述第二终端还包括三四模块304(未示出),三四模块304,用于接收所述网络设备发送的所述通话连接的保持过程中的验证辅助信息;三三模块303,用于在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果以及所述验证辅助信息向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。其中,所述验证辅助信息用于提示所述第二用户所述音/视频信息存在虚假信息。所述三四模块304的具体实现方式与前述步骤S304的实施例相同或相近,故不再赘述,在此以引用方式包含于此。The third and third module 303 is configured to return the verification feedback information of the first verification request to the network device according to the verification result of the call connection during the hold process of the call connection or after the call connection ends, Wherein, the verification feedback information includes verification pass information or verification failure information. For example, during the real-time audio/video call between the first user and the second user, the second user can give feedback on the first verification request during the call, or during the audio/video call between the first user and the second user After the end, the first verification request is fed back, and after the second terminal sends the verification feedback information to the network device, the network device returns the verification feedback information corresponding to the first verification request to the first terminal. In some embodiments, the second terminal further includes a third-fourth module 304 (not shown), the third-fourth module 304 is configured to receive verification assistance information during the hold process of the call connection sent by the network device; The third and third module 303 is configured to return the first verification to the network device according to the verification result of the call connection and the verification auxiliary information during the holding process of the call connection or after the call connection ends The requested verification feedback information, wherein the verification feedback information includes verification pass information or verification failure information. The verification auxiliary information is used to prompt the second user that there is false information in the audio/video information. The specific implementation manner of the third and fourth modules 304 is the same as or similar to the embodiment of the foregoing step S304, so it is not repeated here, and is incorporated herein by reference.

在此,有关上述三一模块301、三二模块302和三三模块303的具体实现方式的示例与图5中有关步骤S301、S302和S303的实施例相同或相近,故不再赘述,在此以引用方式包含于此。Here, the specific implementation examples of the above-mentioned three-one module 301, three-two module 302 and three-three module 303 are the same as or similar to the embodiment of steps S301, S302 and S303 in FIG. 5, so they will not be repeated here. Incorporated herein by reference.

图11示出根据本申请一个实施例的一种用于添加好友的系统设备,该系统包括:FIG. 11 shows a system device for adding friends according to an embodiment of the present application, and the system includes:

响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend expansion operation in the social application, the first terminal sends a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user's The first user identification information and the second user identification information of the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user;

所述网络设备接收所述第一验证请求以及第二验证请求,并根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;The network device receives the first verification request and the second verification request, and sends the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information;

所述第二终端接收所述第一验证请求以及第二验证请求,并响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息;The second terminal receives the first verification request and the second verification request, and in response to the second user confirming the second verification request, sends the audio/video call to the network device confirmation license information;

所述网络设备接收所述确认许可信息,并基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;The network device receives the confirmation permission information, and establishes a communication between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal. call connection;

在所述通话连接的保持过程中或者在所述通话连接结束后,所述第二终端根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息;During the hold process of the call connection or after the call connection ends, the second terminal returns the verification feedback information of the first verification request to the network device according to the verification result of the call connection, wherein, The verification feedback information includes verification pass information or verification failure information;

所述网络设备接收所述验证反馈信息,并向所述第一终端发送所述验证反馈信息;receiving, by the network device, the verification feedback information, and sending the verification feedback information to the first terminal;

所述第一终端接收所述网络设备返回的所述验证反馈信息。The first terminal receives the verification feedback information returned by the network device.

除上述各实施例介绍的方法和设备外,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。In addition to the methods and devices described in the above-mentioned embodiments, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer codes, when the computer codes are executed, as in any of the previous The described method is executed.

本申请还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。The present application also provides a computer program product, when the computer program product is executed by a computer device, the method according to any one of the preceding items is executed.

本申请还提供了一种计算机设备,所述计算机设备包括:The present application also provides a computer device, the computer device comprising:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个计算机程序;memory for storing one or more computer programs;

当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding item.

图12示出了可被用于实施本申请中所述的各个实施例的示例性系统;FIG. 12 illustrates an exemplary system that may be used to implement various embodiments described in this application;

如图12所示在一些实施例中,系统300能够作为各所述实施例中的任意一个设备。在一些实施例中,系统300可包括具有指令的一个或多个计算机可读介质(例如,系统存储器或NVM/存储设备320)以及与该一个或多个计算机可读介质耦合并被配置为执行指令以实现模块从而执行本申请中所述的动作的一个或多个处理器(例如,(一个或多个)处理器305)。As shown in FIG. 12, in some embodiments, the system 300 can function as any of the devices in each of the described embodiments. In some embodiments, system 300 may include one or more computer-readable media (eg, system memory or NVM/storage device 320 ) having instructions and be coupled to the one or more computer-readable media and configured to execute Instructions to implement a module to perform one or more processors (eg, processor(s) 305 ) to perform the actions described herein.

对于一个实施例,系统控制模块310可包括任意适当的接口控制器,以向(一个或多个)处理器305中的至少一个和/或与系统控制模块310通信的任意适当的设备或组件提供任意适当的接口。For one embodiment, the system control module 310 may include any suitable interface controller to provide at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310 any appropriate interface.

系统控制模块310可包括存储器控制器模块330,以向系统存储器315提供接口。存储器控制器模块330可以是硬件模块、软件模块和/或固件模块。The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315 . The memory controller module 330 may be a hardware module, a software module, and/or a firmware module.

系统存储器315可被用于例如为系统300加载和存储数据和/或指令。对于一个实施例,系统存储器315可包括任意适当的易失性存储器,例如,适当的DRAM。在一些实施例中,系统存储器315可包括双倍数据速率类型四同步动态随机存取存储器(DDR4SDRAM)。System memory 315 may be used, for example, to load and store data and/or instructions for system 300 . For one embodiment, system memory 315 may include any suitable volatile memory, eg, suitable DRAM. In some embodiments, system memory 315 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).

对于一个实施例,系统控制模块310可包括一个或多个输入/输出(I/O)控制器,以向NVM/存储设备320及(一个或多个)通信接口325提供接口。For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage device 320 and communication interface(s) 325 .

例如,NVM/存储设备320可被用于存储数据和/或指令。NVM/存储设备320可包括任意适当的非易失性存储器(例如,闪存)和/或可包括任意适当的(一个或多个)非易失性存储设备(例如,一个或多个硬盘驱动器(HDD)、一个或多个光盘(CD)驱动器和/或一个或多个数字通用光盘(DVD)驱动器)。For example, NVM/storage device 320 may be used to store data and/or instructions. NVM/storage device 320 may include any suitable non-volatile memory (eg, flash memory) and/or may include any suitable non-volatile storage device(s) (eg, one or more hard drives ( HDD), one or more compact disc (CD) drives and/or one or more digital versatile disc (DVD) drives).

NVM/存储设备320可包括在物理上作为系统300被安装在其上的设备的一部分的存储资源,或者其可被该设备访问而不必作为该设备的一部分。例如,NVM/存储设备320可通过网络经由(一个或多个)通信接口325进行访问。NVM/storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessed by the device without necessarily being part of the device. For example, the NVM/storage device 320 is accessible via the communication interface(s) 325 over a network.

(一个或多个)通信接口325可为系统300提供接口以通过一个或多个网络和/或与任意其他适当的设备通信。系统300可根据一个或多个无线网络标准和/或协议中的任意标准和/或协议来与无线网络的一个或多个组件进行无线通信。Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.

对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器(例如,存储器控制器模块330)的逻辑封装在一起。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑封装在一起以形成系统级封装(SiP)。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上以形成片上系统(SoC)。For one embodiment, at least one of the processor(s) 305 may be packaged with the logic of one or more controllers of the system control module 310 (eg, the memory controller module 330 ). For one embodiment, at least one of the processor(s) 305 may be packaged with logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 . For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic of one or more controllers of the system control module 310 to form a system on a chip (SoC).

在各个实施例中,系统300可以但不限于是:服务器、工作站、台式计算设备或移动计算设备(例如,膝上型计算设备、手持计算设备、平板电脑、上网本等)。在各个实施例中,系统300可具有更多或更少的组件和/或不同的架构。例如,在一些实施例中,系统300包括一个或多个摄像机、键盘、液晶显示器(LCD)屏幕(包括触屏显示器)、非易失性存储器端口、多个天线、图形芯片、专用集成电路(ASIC)和扬声器。In various embodiments, system 300 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (eg, laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, keyboards, liquid crystal display (LCD) screens (including touchscreen displays), non-volatile memory ports, multiple antennas, graphics chips, application specific integrated circuits ( ASIC) and speakers.

需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application may be implemented in software and/or a combination of software and hardware, eg, an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application. Those skilled in the art should understand that the existing forms of computer program instructions in computer-readable media include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include but are not limited to Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding post-installation program. program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by a computer.

通信介质包括藉此包含例如计算机可读指令、数据结构、程序模块或其他数据的通信信号被从一个系统传送到另一系统的介质。通信介质可包括有导的传输介质(诸如电缆和线(例如,光纤、同轴等))和能传播能量波的无线(未有导的传输)介质,诸如声音、电磁、RF、微波和红外。计算机可读指令、数据结构、程序模块或其他数据可被体现为例如无线介质(诸如载波或诸如被体现为扩展频谱技术的一部分的类似机制)中的已调制数据信号。术语“已调制数据信号”指的是其一个或多个特征以在信号中编码信息的方式被更改或设定的信号。调制可以是模拟的、数字的或混合调制技术。Communication media includes media by which communication signals containing, for example, computer readable instructions, data structures, program modules or other data are transmitted from one system to another. Communication media may include conducted transmission media such as cables and wires (eg, fiber optic, coaxial, etc.) and wireless (unconducted transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital or hybrid modulation techniques.

作为示例而非限制,计算机可读存储介质可包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据的信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动的介质。例如,计算机可读存储介质包括,但不限于,易失性存储器,诸如随机存储器(RAM,DRAM,SRAM);以及非易失性存储器,诸如闪存、各种只读存储器(ROM,PROM,EPROM,EEPROM)、磁性和铁磁/铁电存储器(MRAM,FeRAM);以及磁性和光学存储设备(硬盘、磁带、CD、DVD);或其它现在已知的介质或今后开发的能够存储供计算机系统使用的计算机可读信息/数据。By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, readable storage media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Removable and non-removable media. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing data for computer systems Computer readable information/data used.

在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, a trigger is The apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.

对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

Claims (18)

1.一种在网络设备端用于添加好友的方法,其中,该方法包括:1. A method for adding friends at a network device side, wherein the method comprises: 接收第一终端响应于第一用户在社交应用中的好友拓展操作发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第一验证请求用于向所述第二用户请求添加好友,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;Receive the first verification request and the second verification request sent by the first terminal in response to the first user's friend extension operation in the social application, wherein the first verification request includes the first user identification information of the first user and the second verification request. The second user identification information of the user, the first verification request is used to request to add a friend to the second user, and the second verification request is used to obtain permission to conduct an audio/video call with the second user; 根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;Send the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information; 若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的确认许可信息,则基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;If receiving confirmation permission information about the audio/video call that is returned by the second terminal based on the second verification request, send the message based on the confirmation permission information and the first terminal or the second terminal the audio/video call request to establish a call connection between the first user and the second user; 在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。During the hold process of the call connection or after the call connection ends, receive the verification feedback information returned by the second terminal based on the first verification request, and send the verification feedback information to the first terminal , wherein the verification feedback information includes verification pass information or verification failure information. 2.根据权利要求1所述的方法,其中,所述方法还包括:2. The method of claim 1, wherein the method further comprises: 若接收到所述第二终端基于所述第二验证请求返回的关于进行所述音/视频通话的拒绝许可信息;If receiving the information about the refusal permission for the audio/video call returned by the second terminal based on the second verification request; 将所述拒绝许可信息作为所述第二验证请求的响应信息返回至所述第一终端;returning the permission rejection information to the first terminal as response information of the second verification request; 忽略所述第一终端发送的音/视频通话请求,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息;Ignoring the audio/video call request sent by the first terminal, wherein the audio/video call request includes the first user identification information of the first user; 接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息。Receive verification feedback information returned by the second terminal based on the first verification request, and send the verification feedback information to the first terminal, where the verification feedback information includes verification pass information or verification failure information. 3.根据权利要求1或2所述的方法,其中,所述方法还包括:3. The method of claim 1 or 2, wherein the method further comprises: 若未在预设时间内接收到所述第二终端基于所述第一验证请求返回的响应信息,忽略所述第一验证请求。If the response information returned by the second terminal based on the first verification request is not received within a preset time, the first verification request is ignored. 4.根据权利要求1所述的方法,其中,所述基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接,包括:4. The method according to claim 1, wherein the establishment of the connection between the first user and the first user based on the confirmation permission information and an audio/video call request sent by the first terminal or the second terminal. Two-user call connection, including: 将关于所述音/视频通话的确认许可信息返回至所述第一终端;Returning confirmation permission information about the audio/video call to the first terminal; 接收所述第一终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第二用户的第二用户标识信息,向所述第二终端发送该音/视频通话请求以及接收所述第二终端发送的关于该音/视频通话请求的确认信息;Receive an audio/video call request sent by the first terminal based on the confirmation permission information, where the audio/video call request includes the second user identification information of the second user, and send the audio/video call to the second terminal a call request and receiving confirmation information about the audio/video call request sent by the second terminal; 或者,接收所述第二终端基于所述确认许可信息发送的音/视频通话请求,该音/视频通话请求包括所述第一用户的第一用户标识信息,向所述第一终端发送所述音/视频通话请求以及接收所述第一终端发送的关于该音/视频通话请求的确认信息;Or, receive an audio/video call request sent by the second terminal based on the confirmation permission information, where the audio/video call request includes the first user identification information of the first user, and send the audio/video call request to the first terminal an audio/video call request and receiving confirmation information about the audio/video call request sent by the first terminal; 基于所述确认信息建立所述第一用户与所述第二用户的通话连接。A call connection between the first user and the second user is established based on the confirmation information. 5.根据权利要求1所述的方法,其中,所述方法还包括:5. The method of claim 1, wherein the method further comprises: 若在所述通话连接的保持过程中,接收到所述第二终端响应于所述第二用户在所述通话连接的界面中的挂断操作发送的挂断请求,基于所述挂断请求终止所述通话连接,其中,所述挂断请求包括验证失败信息;If during the hold process of the call connection, a hang-up request sent by the second terminal in response to the hang-up operation of the second user in the call connection interface is received, the call is terminated based on the hang-up request. the call connection, wherein the hang-up request includes verification failure information; 将该验证失败信息作为所述第一验证请求的响应信息返回至所述第一终端。The verification failure information is returned to the first terminal as response information of the first verification request. 6.根据权利要求1所述的方法,其中,所述方法在在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述第二终端基于所述第一验证请求返回的验证反馈信息,以及向所述第一终端发送所述验证反馈信息,其中,所述验证反馈信息包括验证通过信息或验证失败信息之前还包括:6 . The method according to claim 1 , wherein, during the hold process of the call connection or after the call connection ends, the method receives the information returned by the second terminal based on the first verification request. 7 . Verification feedback information, and sending the verification feedback information to the first terminal, wherein before the verification feedback information includes the verification pass information or the verification failure information, it further includes: 获取所述通话连接的保持过程中的验证辅助信息;obtaining verification assistance information during the hold process of the call connection; 向所述第二终端发送所述验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户存在虚假信息。Sending the verification assistance information to the second terminal, wherein the verification assistance information is used to prompt the second user that false information exists. 7.根据权利要求6所述的方法,其中,所述获取所述通话连接的保持过程中的验证辅助信息,包括:7. The method according to claim 6, wherein the acquiring verification assistance information during the hold process of the call connection comprises: 根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息。The verification assistance information is acquired according to the audio/video information of the first user during the hold process of the call connection. 8.根据权利要求7所述的方法,其中,所述根据所述通话连接的保持过程中所述第一用户的音/视频信息获取所述验证辅助信息,包括:8. The method according to claim 7, wherein the obtaining the verification auxiliary information according to the audio/video information of the first user during the hold process of the call connection comprises: 检测所述通话连接的保持过程中所述第一用户的音/视频信息是否满足虚假信息条件,若满足,生成并获取所述通话连接的保持过程中的验证辅助信息,其中,所述验证辅助信息用于提示所述第二用户所述音/视频信息存在虚假信息。Detecting whether the audio/video information of the first user satisfies the false information condition during the hold process of the call connection, and if so, generating and acquiring verification assistance information during the hold process of the call connection, wherein the verification assistant The information is used to prompt the second user that there is false information in the audio/video information. 9.根据权利要求8所述的方法,其中,所述虚假信息条件包括以下至少任一项:9. The method of claim 8, wherein the false information condition comprises at least any of the following: 所述第一用户的音/视频信息中的语音信息包括合成语音;The voice information in the audio/video information of the first user includes synthesized voice; 所述第一用户的音/视频信息中的人像画面信息包括录像画面信息;The portrait picture information in the audio/video information of the first user includes video recording picture information; 所述第一用户的音/视频验证中的语音信息包括录音语音信息。The voice information in the audio/video verification of the first user includes recorded voice information. 10.一种在第一终端用于添加好友的方法,其中,该方法包括:10. A method for adding friends at a first terminal, wherein the method comprises: 响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第一验证请求用于向所述第二用户请求添加好友,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend extension operation in the social application, send a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user of the first user Identification information and second user identification information of the second user, the first verification request is used to request to add a friend to the second user, and the second verification request is used to obtain audio/video with the second user. permission to call; 接收所述网络设备基于所述第二验证请求返回的进行所述音/视频通话的确认许可信息;receiving confirmation permission information for the audio/video call returned by the network device based on the second verification request; 建立所述第一用户与所述第二用户的通话连接;establishing a call connection between the first user and the second user; 在所述通话连接的保持过程中或者在所述通话连接结束后,接收所述网络设备基于所述第一验证请求返回的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。During the hold process of the call connection or after the call connection ends, the verification feedback information returned by the network device based on the first verification request is received, wherein the verification feedback information includes verification pass information or verification failure information. 11.根据权利要求10所述的方法,其中,所述建立所述第一用户与所述第二用户的通话连接,包括:11. The method according to claim 10, wherein the establishing a call connection between the first user and the second user comprises: 响应于所述第一用户在所述社交应用中的通话触发操作,基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息;或者,In response to the call triggering operation of the first user in the social application, send an audio/video call request to the network device based on the confirmation permission information, and send an audio/video call request based on the network device based on the audio/video call request The returned confirmation information executes the call connection with the second user, wherein the audio/video call request includes the second user identification information of the second user; or, 接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第二用户的通话连接,其中,所述音/视频通话请求包括所述第二用户的第二用户标识信息。Receive the audio/video call request sent by the network device based on the confirmation permission information, and send confirmation information to the network device based on the audio/video call request to perform a call connection with the second user, wherein, The audio/video call request includes second user identification information of the second user. 12.根据权利要求10所述的方法,其中,所述方法在响应于第一用户在社交应用中的好友拓展操作,向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可之前还包括:12. The method according to claim 10, wherein in response to a first user's friend extension operation in a social application, the method sends a first verification request and a second verification request to a network device corresponding to the social application , wherein the first verification request includes the first user identification information of the first user and the second user identification information of the second user, and the second verification request is used to obtain an audio/video call with the second user The license also includes: 在所述第一终端的社交应用中启用第二验证设置,其中,所述第二验证设置用于发起所述第二验证请求。A second verification setting is enabled in the social application of the first terminal, wherein the second verification setting is used to initiate the second verification request. 13.一种在第二终端用于添加好友的方法,其中,该方法包括:13. A method for adding friends at a second terminal, wherein the method comprises: 接收网络设备发送的第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第一验证请求用于向所述第二用户请求添加好友,所述第二验证请求用于获取与所述第二终端所属的第二用户进行音/视频通话的许可;Receive a first verification request and a second verification request sent by a network device, wherein the first verification request includes first user identification information of a first user and second user identification information of a second user, and the first verification request for requesting to add a friend to the second user, and the second verification request is used for obtaining permission to conduct an audio/video call with the second user to which the second terminal belongs; 响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息,并建立所述第一用户与所述第二用户的通话连接;In response to the second user confirming the second verification request, send confirmation permission information for the audio/video call to the network device, and establish a relationship between the first user and the second user. call connection; 在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。During the hold process of the call connection or after the call connection ends, the verification feedback information of the first verification request is returned to the network device according to the verification result of the call connection, wherein the verification feedback information Including verification pass information or verification failure information. 14.根据权利要求13所述的方法,其中,所述建立所述第一用户与所述第二用户的通话连接,包括:14. The method according to claim 13, wherein the establishing a call connection between the first user and the second user comprises: 基于所述确认许可信息向所述网络设备发送音/视频通话请求,并根据所述网络设备基于所述音/视频通话请求返回的确认信息执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息;或者,Send an audio/video call request to the network device based on the confirmation permission information, and perform a call connection with the first user according to the confirmation information returned by the network device based on the audio/video call request, wherein the The audio/video call request includes the first user identification information of the first user; or, 接收所述网络设备基于所述确认许可信息发送的音/视频通话请求,并基于所述音/视频通话请求向所述网络设备发送确认信息后执行与所述第一用户的通话连接,其中,所述音/视频通话请求包括所述第一用户的第一用户标识信息。Receive an audio/video call request sent by the network device based on the confirmation permission information, and send confirmation information to the network device based on the audio/video call request to perform a call connection with the first user, wherein, The audio/video call request includes first user identification information of the first user. 15.根据权利要求13所述的方法,其中,所述方法还包括:15. The method of claim 13, wherein the method further comprises: 接收所述网络设备发送的所述通话连接的保持过程中的验证辅助信息;receiving verification assistance information during the hold process of the call connection sent by the network device; 所述在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息,包括:Returning the verification feedback information of the first verification request to the network device according to the verification result of the call connection during the hold process of the call connection or after the call connection ends, wherein the verification Feedback information includes verification pass information or verification failure information, including: 在所述通话连接的保持过程中或者在所述通话连接结束后,根据所述通话连接的验证结果以及所述验证辅助信息向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息。During the hold process of the call connection or after the call connection ends, the verification feedback information of the first verification request is returned to the network device according to the verification result of the call connection and the verification auxiliary information, wherein , the verification feedback information includes verification pass information or verification failure information. 16.一种用于添加好友的方法,该方法包括:16. A method for adding friends, the method comprising: 响应于第一用户在社交应用中的好友拓展操作,第一终端向所述社交应用对应的网络设备发送第一验证请求以及第二验证请求,其中,所述第一验证请求包括第一用户的第一用户标识信息以及第二用户的第二用户标识信息,所述第一验证请求用于向所述第二用户请求添加好友,所述第二验证请求用于获取与所述第二用户进行音/视频通话的许可;In response to the first user's friend expansion operation in the social application, the first terminal sends a first verification request and a second verification request to the network device corresponding to the social application, wherein the first verification request includes the first user's The first user identification information and the second user identification information of the second user, the first verification request is used to request the second user to add a friend, and the second verification request is used to obtain a Permission for audio/video calls; 所述网络设备接收所述第一验证请求以及第二验证请求,并根据所述第二用户标识信息向所述第二用户对应的第二终端发送所述第一验证请求以及第二验证请求;The network device receives the first verification request and the second verification request, and sends the first verification request and the second verification request to the second terminal corresponding to the second user according to the second user identification information; 所述第二终端接收所述第一验证请求以及第二验证请求,并响应于所述第二用户对所述第二验证请求的确认操作,向所述网络设备发送进行所述音/视频通话的确认许可信息;The second terminal receives the first verification request and the second verification request, and in response to the second user confirming the second verification request, sends the audio/video call to the network device confirmation license information; 所述网络设备接收所述确认许可信息,并基于所述确认许可信息以及所述第一终端或所述第二终端发送的音/视频通话请求建立所述第一用户与所述第二用户的通话连接;The network device receives the confirmation permission information, and establishes a communication between the first user and the second user based on the confirmation permission information and the audio/video call request sent by the first terminal or the second terminal. call connection; 在所述通话连接的保持过程中或者在所述通话连接结束后,所述第二终端根据所述通话连接的验证结果向所述网络设备返回所述第一验证请求的验证反馈信息,其中,所述验证反馈信息包括验证通过信息或者验证失败信息;During the hold process of the call connection or after the call connection ends, the second terminal returns the verification feedback information of the first verification request to the network device according to the verification result of the call connection, wherein, The verification feedback information includes verification pass information or verification failure information; 所述网络设备接收所述验证反馈信息,并向所述第一终端发送所述验证反馈信息;receiving, by the network device, the verification feedback information, and sending the verification feedback information to the first terminal; 所述第一终端接收所述网络设备返回的所述验证反馈信息。The first terminal receives the verification feedback information returned by the network device. 17.一种用于添加好友的设备,其特征在于,所述设备包括:17. A device for adding friends, wherein the device comprises: 处理器;以及processor; and 被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如权利要求1至15中任一项所述的方法。a memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method as claimed in any one of claims 1 to 15. 18.一种存储指令的计算机可读介质,所述指令在被计算机执行时使得所述计算机进行如权利要求1至15中任一项所述方法的操作。18. A computer readable medium storing instructions which, when executed by a computer, cause the computer to perform the operation of the method of any one of claims 1 to 15.
CN202010500576.XA 2020-06-04 2020-06-04 Method and device for adding friends Active CN111818013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010500576.XA CN111818013B (en) 2020-06-04 2020-06-04 Method and device for adding friends

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010500576.XA CN111818013B (en) 2020-06-04 2020-06-04 Method and device for adding friends

Publications (2)

Publication Number Publication Date
CN111818013A CN111818013A (en) 2020-10-23
CN111818013B true CN111818013B (en) 2022-06-21

Family

ID=72848249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010500576.XA Active CN111818013B (en) 2020-06-04 2020-06-04 Method and device for adding friends

Country Status (1)

Country Link
CN (1) CN111818013B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967553A (en) * 2015-04-30 2015-10-07 广东欧珀移动通信有限公司 Message interaction method and related device and communication system
CN105049319A (en) * 2015-05-25 2015-11-11 腾讯科技(深圳)有限公司 Friend adding method and system, client, and server
CN107508746A (en) * 2017-08-28 2017-12-22 武汉斗鱼网络科技有限公司 Good friend's adding method, device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2658056A1 (en) * 2006-07-13 2008-01-17 Mobivox Corporation Method and system for auto-login by calling line identification
CN101090404A (en) * 2007-05-31 2007-12-19 中国移动通信集团广东有限公司 A User Matching Method Based on Mobile Phone Address Entry

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967553A (en) * 2015-04-30 2015-10-07 广东欧珀移动通信有限公司 Message interaction method and related device and communication system
CN105049319A (en) * 2015-05-25 2015-11-11 腾讯科技(深圳)有限公司 Friend adding method and system, client, and server
CN107508746A (en) * 2017-08-28 2017-12-22 武汉斗鱼网络科技有限公司 Good friend's adding method, device and electronic equipment

Also Published As

Publication number Publication date
CN111818013A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN113347242B (en) Cross-device resource access method and device, storage medium and electronic device
CN102843421B (en) The implementation method of customer relationship and device in social networks application
TWI484367B (en) Synchronizing handles for user accounts across multiple electronic devices
CN107784221B (en) Authority control method, service providing method, device, system and electronic device
CN112199382A (en) Node group creating method and node group-based transaction method in alliance chain network
US9246949B2 (en) Secure capability negotiation between a client and server
CN112073578B (en) A method and device for using or restricting application functions in social applications
CN110336733B (en) A method and device for presenting emoticons
WO2018133767A1 (en) Call control method, terminal apparatus, and data storage medium
CN112822161A (en) Method and device for realizing conference message synchronization
CN115695012A (en) Login request processing method and device, electronic equipment and storage medium
CN112822430A (en) Conference group merging method and device
CN111932230A (en) Method and equipment for modifying red envelope
CN111818013B (en) Method and device for adding friends
CN104660480B (en) Method, device and system for processing account abnormity
CN110958315A (en) A method and device for presenting a message notification
CN111010400A (en) Portal authentication method and device
US10742802B2 (en) Methods and devices for verifying a communication number
CN112272213B (en) An event registration method and equipment
CN110460642B (en) A method and device for managing reading mode
CN115103053A (en) Call establishment method, device, terminal, system and readable storage medium
CN115082212A (en) Business start-up method, client, server, electronic device and storage medium
WO2016202045A1 (en) Card exchange method, device and system
CN112769676B (en) Method and equipment for providing information in group
CN115913804B (en) Method, device, medium and program product for joining a chat room

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

Address after: Room 80536, Shanghai

Patentee after: Shanghai Zongzhang Technology Group Co.,Ltd.

Country or region after: China

Address before: Room 80536, Shanghai

Patentee before: SHANGHAI ZHANGMEN SCIENCE AND TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address