[go: up one dir, main page]

CN104917620A - Peer-to-peer network conference access method and system, and peer-to-peer network client - Google Patents

Peer-to-peer network conference access method and system, and peer-to-peer network client Download PDF

Info

Publication number
CN104917620A
CN104917620A CN201410086604.2A CN201410086604A CN104917620A CN 104917620 A CN104917620 A CN 104917620A CN 201410086604 A CN201410086604 A CN 201410086604A CN 104917620 A CN104917620 A CN 104917620A
Authority
CN
China
Prior art keywords
peer
client
proxy
network
media
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.)
Withdrawn
Application number
CN201410086604.2A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410086604.2A priority Critical patent/CN104917620A/en
Priority to PCT/CN2015/072828 priority patent/WO2015135408A1/en
Publication of CN104917620A publication Critical patent/CN104917620A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1818Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种对等网络会议接入方法、客户端及系统,其中所述对等网络会议接入方法包括:代理对等网络客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流;所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。采用本发明,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。

The embodiment of the present invention discloses a peer-to-peer network conference access method, client and system, wherein the peer-to-peer network conference access method includes: establishing a media channel between the proxy peer-to-peer network client and the first client, Wherein the first client does not support peer-to-peer network conference; the proxy peer-to-peer network client receives the media stream sent by the first client through the media channel; the proxy peer-to-peer network client sends the The received media streams are respectively sent to other corresponding peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. By adopting the present invention, the client that does not support the peer-to-peer network can access the peer-to-peer network meeting without relying on the intermediate node, and the cost is low and the process is simple.

Description

一种对等网络会议接入方法、客户端及系统A peer-to-peer network conference access method, client and system

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种对等网络会议接入方法、客户端及系统。The invention relates to the field of communication technology, in particular to a peer-to-peer network conference access method, client and system.

背景技术Background technique

P2P(Peer to Peer,对等网络)会议是对应于服务器模式的会议而提出来的一个概念,在服务器模式的会议中,会议控制和媒体流处理都在MCU(MediaControl Unit,媒体控制单元)等中间节点上完成,否则将无法进行会议,而P2P会议是指多个客户端之间进行会议时,通过各个客户端之间的协调控制,使各个客户端之间两两建立媒体通道,以使每个客户端都能接收到其他客户端发送的媒体流,实现多人会议功能。P2P会议的核心是各个客户端和其他客户端之间同时两两建立媒体通道,实现同时和多个客户端通信的目的,目前大多数客户端不支持和其他客户端之间同时两两建立媒体通道,例如SIP(Session InitiationProtocol,会话初始化协议)话机,现有技术中可以通过将P2P会议切换成服务器模式的会议,或者通过混音服务器和超级节点对媒体流进行混音和转发,使不支持P2P会议的客户端接入对等网络会议。P2P (Peer to Peer, peer-to-peer network) conference is a concept proposed corresponding to the server-mode conference. In the server-mode conference, conference control and media stream processing are all in the MCU (MediaControl Unit, media control unit) If it is completed on the intermediate node, otherwise the conference will not be possible, and the P2P conference refers to the coordination and control between the various clients when the conference is held between multiple clients, so that the media channels between the clients are established in pairs, so that Each client can receive media streams sent by other clients to realize multi-person conference function. The core of the P2P conference is to establish media channels between each client and other clients at the same time to achieve the purpose of communicating with multiple clients at the same time. Currently, most clients do not support the simultaneous establishment of media with other clients. Channels, such as SIP (Session Initiation Protocol, Session Initiation Protocol) phones, in the prior art, the P2P conference can be switched to a server-mode conference, or the media stream can be mixed and forwarded through the mixing server and super nodes, so that it does not support The client of the P2P conference accesses the peer-to-peer network conference.

通过将P2P会议切换成服务器模式的会议,使不支持P2P会议的客户端接入P2P会议的现有技术中,若存在不支持P2P会议的客户端请求接入该P2P会议时,可以通过MCU将P2P会议切换成服务器模式的会议,不支持P2P会议的客户端通过MCU接入经过切换的服务器模式的会议,该现有技术需要MCU的支持和切换会议模式,系统复杂。In the prior art of switching the P2P conference to a server-mode conference, clients that do not support P2P conferences can access the P2P conference. If there is a client that does not support P2P conferences and requests to access the P2P conference, the The P2P conference is switched to the server mode conference, and the client that does not support the P2P conference accesses the switched server mode conference through the MCU. This prior art requires the support of the MCU and the switching of the conference mode, and the system is complicated.

通过混音服务器和超级节点对媒体流进行混音和转发,使不支持P2P会议的客户端接入P2P会议的现有技术中,将超级节点接入P2P会议,超级节点可以将P2P会议中的多路媒体流发给混音服务器,混音服务器将多路媒体流混合成一路媒体流,并将该一路媒体流发送给不支持P2P会议的客户端,另外,不支持P2P会议的客户端可以将自身的媒体流通过混音服务器发送给超级节点,超级节点将不支持P2P会议的客户端的媒体流分别发送给其他客户端,实现不支持P2P会议的客户端接入P2P会议,该现有技术需要混音服务器和超级节点的支持,成本较高,流程复杂。Mix and forward the media stream through the mixing server and the super node, so that the client that does not support the P2P conference can access the P2P conference. Multiple media streams are sent to the mixing server, and the mixing server mixes multiple media streams into one media stream, and sends the one media stream to clients that do not support P2P conferences. In addition, clients that do not support P2P conferences can Send its own media stream to the super node through the mixing server, and the super node sends the media stream of the client that does not support the P2P conference to other clients respectively, so that the client that does not support the P2P conference can access the P2P conference. This prior art It requires the support of mixing servers and super nodes, which is costly and complicated.

发明内容Contents of the invention

本发明所要解决的技术问题在于,提供一种对等网络会议接入方法、客户端及系统,可实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。The technical problem to be solved by the present invention is to provide a peer-to-peer network conference access method, client and system, which can realize the access of a client that does not support a peer-to-peer network to a peer-to-peer network conference, with low cost and simple process.

为了解决上述技术问题,本发明第一方面提供了一种对等网络会议接入方法,所述方法包括:In order to solve the above technical problems, the first aspect of the present invention provides a peer-to-peer network conference access method, the method comprising:

代理对等网络客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;Establishing a media channel between the agent peer-to-peer network client and the first client, wherein the first client does not support peer-to-peer network meetings;

所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流;The proxy peer-to-peer network client receives the media stream sent by the first client through the media channel;

所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the received media streams to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.

在第一种可能的实现方式中,所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流之后,所述代理对等网络客户端将所述接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;In a first possible implementation manner, after the proxy P2P network client receives the media stream sent by the first client through the media channel, the proxy P2P network client sends the received Perform audio mixing processing on the media stream and the media stream collected at the local end to obtain a mixed media stream;

所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端包括;The proxy P2P network client sending the received media streams to corresponding other P2P network clients participating in the P2P network conference through the P2P network conference channel includes;

所述代理对等网络客户端将所述获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the acquired media stream to other corresponding peer-to-peer network clients participating in the peer-to-peer network conference through a peer-to-peer network conference channel.

结合第一方面可能的实现方式,在第二种可能的实现方式中,所述代理对等网络客户端与第一客户端之间建立媒体通道包括;With reference to the possible implementation manner of the first aspect, in a second possible implementation manner, establishing a media channel between the proxy P2P network client and the first client includes;

所述代理对等网络客户端接收会议控制服务器发送的针对所述第一客户端的呼叫请求信息;The proxy P2P network client receives the call request information sent by the conference control server for the first client;

所述代理对等网络客户端根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息,以使所述会议控制服务器将所述代理对等网络客户端的媒体属性信息发送给所述第一客户端,并接收所述第一客户端发送的所述第一客户端的媒体属性信息;The proxy P2P network client sends the media attribute information of the proxy P2P network client to the conference control server according to the received call request information, so that the conference control server transfers the proxy P2P network client to the conference control server. sending the media attribute information of the client to the first client, and receiving the media attribute information of the first client sent by the first client;

所述代理对等网络客户端接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;The proxy P2P network client receives the media attribute information of the first client sent by the conference control server;

所述代理对等网络客户端与所述第一客户端之间建立媒体通道。A media channel is established between the proxy P2P network client and the first client.

本发明第二方面提供了一种代理对等网络客户端,包括:The second aspect of the present invention provides a proxy peer-to-peer network client, including:

媒体通道建立单元,用于与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;a media channel establishment unit, configured to establish a media channel with the first client, wherein the first client does not support peer-to-peer network meetings;

媒体流接收单元,用于接收所述第一客户端通过所述媒体通道建立单元建立的与所述第一客户端之间的媒体通道发送的媒体流;a media stream receiving unit, configured to receive the media stream sent by the first client through the media channel established by the media channel establishing unit and the first client;

媒体流发送单元,用于将所述媒体流接收单元接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The media stream sending unit is configured to send the media streams received by the media stream receiving unit to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.

在第一种可能的实现方式中,所述代理对等网络客户端还包括;In a first possible implementation manner, the proxy peer-to-peer network client further includes;

混音处理单元,用于将所述媒体流接收单元接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;A sound mixing processing unit, configured to perform sound mixing processing on the media stream received by the media stream receiving unit and the media stream collected at the local end, so as to obtain a mixed media stream;

所述媒体流发送单元,还用于将所述混音处理单元获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The media stream sending unit is further configured to send one media stream acquired by the audio mixing processing unit to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.

结合第二方面可能的实现方式,在第二种可能的实现方式中,所述媒体通道建立单元包括;With reference to the possible implementation manner of the second aspect, in a second possible implementation manner, the media channel establishment unit includes;

呼叫请求接收模块,用于接收会议控制服务器发送的针对所述第一客户端的呼叫请求信息;A call request receiving module, configured to receive call request information sent by the conference control server for the first client;

媒体属性发送模块,用于根据所述呼叫请求接收模块接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息,以使所述会议控制服务器将所述代理对等网络客户端的媒体属性信息发送给所述第一客户端,并接收所述第一客户端发送的所述第一客户端的媒体属性信息;A media attribute sending module, configured to send the media attribute information of the proxy P2P network client to the conference control server according to the call request information received by the call request receiving module, so that the conference control server sends the proxy sending the media attribute information of the peer-to-peer network client to the first client, and receiving the media attribute information of the first client sent by the first client;

媒体属性接收模块,用于接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;a media attribute receiving module, configured to receive the media attribute information of the first client sent by the conference control server;

媒体通道建立模块,用于与所述第一客户端之间建立媒体通道。A media channel establishing module, configured to establish a media channel with the first client.

本发明第三方面提供了一种对等网络会议接入系统,所述系统包括第一客户端、第二客户端以及代理对等网络客户端,所述第一客户端不支持对等网络会议,其中:The third aspect of the present invention provides a peer-to-peer network conference access system, the system includes a first client, a second client and a proxy peer-to-peer network client, the first client does not support peer-to-peer network conferences ,in:

所述代理对等网络客户端,用于与所述第一客户端之间建立媒体通道;The proxy peer-to-peer network client is used to establish a media channel with the first client;

所述第一客户端,用于通过所述媒体通道向所述代理对等网络客户端发送媒体流;The first client is configured to send a media stream to the proxy peer-to-peer network client through the media channel;

所述代理对等网络客户端,还用于将所述接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的所述第二客户端;The proxy peer-to-peer network client is further configured to send the received media stream to the second client participating in the peer-to-peer network conference through a peer-to-peer network conference channel;

所述第二客户端,用于接收所述代理对等网络客户端发送的媒体流。The second client is configured to receive the media stream sent by the proxy P2P network client.

在第一种可能的实现方式中,所述代理对等网络客户端,还用于将所述接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将所述获取到的一路媒体流通过所述对等网络会议通道发送给所述第二客户端。In a first possible implementation manner, the proxy peer-to-peer network client is further configured to perform audio mixing processing on the received media stream and the media stream collected at the local end, so as to obtain the audio-mixed a media stream, and send the acquired media stream to the second client through the peer-to-peer network conference channel.

结合第三方面可能的实现方式,在第二种可能的实现方式中,所述对等网络会议接入系统还包括会议控制服务器;With reference to the possible implementation manner of the third aspect, in a second possible implementation manner, the peer-to-peer network conference access system further includes a conference control server;

所述会议控制服务器,用于向所述代理对等网络客户端发送针对所述第一客户端的呼叫请求信息;The conference control server is configured to send call request information for the first client to the proxy P2P network client;

所述代理对等网络客户端,还用于根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息;The proxy P2P network client is further configured to send the media attribute information of the proxy P2P network client to the conference control server according to the received call request information;

所述会议控制服务器,还用于将所述接收到的所述代理对等网络客户端的媒体属性信息发送给所述第一客户端;The conference control server is further configured to send the received media attribute information of the proxy P2P network client to the first client;

所述第一客户端,还用于根据所述接收到的所述代理对等网络客户端的媒体属性信息向所述会议控制服务器发送所述第一客户端的媒体属性信息;The first client is further configured to send the media attribute information of the first client to the conference control server according to the received media attribute information of the proxy P2P network client;

所述会议控制服务器,还用于将所述接收到的所述第一客户端的媒体属性信息发送给所述代理对等网络客户端;The conference control server is further configured to send the received media attribute information of the first client to the proxy P2P network client;

所述代理对等网络客户端,还用于接收所述会议控制服务器发送的所述第一客户端的媒体属性信息,并与所述第一客户端之间建立媒体通道。The proxy P2P network client is further configured to receive the media attribute information of the first client sent by the conference control server, and establish a media channel with the first client.

实施本发明实施例,具有如下有益效果:代理对等网络客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议,接收所述第一客户端通过所述媒体通道发送的媒体流,将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,本发明实施例可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。Implementing the embodiment of the present invention has the following beneficial effects: a media channel is established between the proxy peer-to-peer network client and the first client, wherein the first client does not support peer-to-peer network conferences, and receives the first client through The media stream sent by the media channel sends the received media stream to the corresponding peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. In the case of a peer-to-peer node, the client that does not support the peer-to-peer network can access the peer-to-peer network conference, with low cost and simple process.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例中提供的一种对等网络会议接入方法的流程示意图;FIG. 1 is a schematic flowchart of a peer-to-peer network conference access method provided in an embodiment of the present invention;

图2是本发明另一实施例中提供的一种对等网络会议接入方法的流程示意图;Fig. 2 is a schematic flowchart of a peer-to-peer network conference access method provided in another embodiment of the present invention;

图3是本发明实施例中提供的一种代理对等网络客户端的结构示意图;Fig. 3 is a schematic structural diagram of a proxy peer-to-peer network client provided in an embodiment of the present invention;

图4是本发明实施例中图3的媒体通道建立单元的结构示意图;FIG. 4 is a schematic structural diagram of the media channel establishment unit in FIG. 3 in an embodiment of the present invention;

图5是本发明另一实施例中提供的一种代理对等网络客户端的结构示意图;Fig. 5 is a schematic structural diagram of a proxy peer-to-peer network client provided in another embodiment of the present invention;

图6是本发明实施例中提供的一种对等网络会议接入系统的结构示意图。Fig. 6 is a schematic structural diagram of a peer-to-peer network conference access system provided in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例中的对等网络会议接入方法可以在代理对等网络客户端中实现与第一客户端之间建立媒体通道,接收第一客户端通过媒体通道发送的媒体流,并将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。本发明实施例所提及的代理对等网络客户端是根据预设的代理选取算法在参与对等网络会议的所有对等网络客户端中选取的,其中所述第一客户端不支持对等网络会议。The method for accessing a peer-to-peer network conference in the embodiment of the present invention can realize establishing a media channel with the first client in the proxy peer-to-peer network client, receive the media stream sent by the first client through the media channel, and receive The received media streams are sent to the corresponding peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel, and the client that does not support the peer-to-peer network can access the peer-to-peer network without relying on the intermediate node. And other online meetings, the cost is low, and the process is simple. The proxy peer-to-peer network client mentioned in the embodiment of the present invention is selected from all peer-to-peer network clients participating in the peer-to-peer network conference according to a preset proxy selection algorithm, wherein the first client does not support peer-to-peer online meeting.

请参见图1,图1是本发明实施例中提供的一种对等网络会议接入方法的流程示意图,该对等网络会议接入方法是从代理对等网络客户端的角度进行描述的,如图所示,该对等网络会议接入方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a peer-to-peer network conference access method provided in an embodiment of the present invention. The peer-to-peer network conference access method is described from the perspective of a proxy peer-to-peer network client, as shown in As shown in the figure, the peer-to-peer network conference access method may include the following steps:

步骤S101,与第一客户端之间建立媒体通道。Step S101, establishing a media channel with a first client.

代理对等网络客户端与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议。A media channel is established between the proxy peer-to-peer network client and the first client, where the first client does not support peer-to-peer network conferences.

具体实现中,代理对等网络客户端可以接收会议控制服务器发送的针对第一客户端的呼叫请求信息,该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的,代理对等网络客户端根据接收到的呼叫请求信息向会议控制服务器发送代理对等网络客户端的媒体属性信息,以使会议控制服务器将代理对等网络客户端的媒体属性信息发送给第一客户端,第一客户端将第一客户端的媒体属性信息发送给会议控制服务器,代理对等网络客户端接收会议控制服务器发送的第一客户端的媒体属性信息,进一步的,代理对等网络客户端与第一客户端之间建立媒体通道,其中媒体属性信息可以包括客户端支持的编码技术和解码技术以及客户端的端口号等。In a specific implementation, the proxy peer-to-peer network client may receive call request information for the first client sent by the conference control server. The call request information may be request information with an empty message body. Optionally, the call request information may also be It is the conference control server that forwards the received access request information sent by the client as the conference initiator to the proxy peer-to-peer network client, and the proxy peer-to-peer network client sends the proxy pair to the conference control server according to the received call request information. Waiting for the media attribute information of the network client, so that the conference control server sends the media attribute information of the proxy peer-to-peer network client to the first client, and the first client sends the media attribute information of the first client to the conference control server, and the proxy pairs The peer-to-peer network client receives the media attribute information of the first client sent by the conference control server, and further establishes a media channel between the proxy peer-to-peer network client and the first client, wherein the media attribute information may include the encoding technology supported by the client and decoding technology, as well as the port number of the client, etc.

作为一种可选的实施方式,代理对等网络客户端与第一客户端之间建立媒体通道之前,代理对等网络客户端还可以接收会议控制服务器发送的通知信息,该通知信息用于指示第一客户端将接入所述对等网络会议,并指示该代理对等网络客户端确定为第一客户端的代理客户端。As an optional implementation manner, before the media channel is established between the proxy P2P client and the first client, the proxy P2P client may also receive notification information sent by the conference control server, the notification information is used to indicate The first client will access the peer-to-peer network conference and instruct the proxy peer-to-peer network client to be determined as the proxy client of the first client.

示例性的通知信息可以如上所示,代理对等网络客户端可以根据该通知信息中的“<cmd>5005</cmd>”,知悉该代理对等网络客户端确定为第一客户端D的代理客户端,该代理对等网络客户端还可以根据该通知信息中的“<attendeetype=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP(Session InitiationProtocol,会话初始化协议)的终端,其中第一客户端D将接入所述对等网络会议。Exemplary notification information may be as shown above, and the proxy P2P network client may know that the proxy P2P network client is determined to be the first client D according to "<cmd>5005</cmd>" in the notification information. The proxy client, the proxy peer-to-peer network client can also know that the type of the first client D is based on the SIP (Session Initiation Protocol, session initialization protocol), wherein the first client D will access the peer-to-peer network conference.

步骤S102,接收第一客户端通过所述媒体通道发送的媒体流。Step S102, receiving a media stream sent by the first client through the media channel.

代理对等网络客户端和第一客户端之间建立媒体通道后,代理对等网络客户端可以接收第一客户端通过该媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。After the media channel is established between the proxy peer-to-peer network client and the first client, the proxy peer-to-peer network client can receive the media stream sent by the first client through the media channel, wherein the media stream can include the media stream sent by the first client audio and/or video.

作为一种可选的实施方式,代理对等网络客户端还可以接收参与所述对等网络会议的其他对等网络客户端发送的媒体流。As an optional implementation manner, the proxy P2P network client may also receive media streams sent by other P2P network clients participating in the P2P network conference.

步骤S103,将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。Step S103, sending the received media streams to corresponding other P2P network clients participating in the P2P network conference through the P2P network conference channel.

代理对等网络客户端可以将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The proxy P2P network client can respectively send the received media streams to corresponding other P2P network clients participating in the P2P network conference through the P2P network conference channel.

具体实现中,代理对等网络客户端接收到第一客户端发送的媒体流之后,可以将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,进一步的,代理对等网络客户端可以将获取到的一路媒体流分别通过对等网络会议通道发送给参与该对等网络会议的其他对等网络客户端。In a specific implementation, after the proxy peer-to-peer network client receives the media stream sent by the first client, it can perform mixing processing on the received media stream and the media stream collected by the local end, so as to obtain a mixed For media streams, further, the proxy P2P network client can send the acquired media stream to other P2P network clients participating in the P2P network conference through the P2P network conference channel.

作为一种可选的实施方式,代理对等网络客户端还可以接收参与所述对等网络会议的其他对等网络客户端中的一个客户端通过所述对等网络会议通道发送的媒体流,并将接收到的媒体流通过媒体通道发送给第一客户端。可选的,代理对等网络客户端可以将接收到的参与所述对等网络会议的其他对等网络客户端中的至少两个客户端发送的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端。进一步可选的,代理对等网络客户端可以将接收到的参与所述对等网络会议的其他对等网络客户端中的至少一个客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端。As an optional implementation manner, the proxy P2P network client may also receive a media stream sent by one of the other P2P network clients participating in the P2P network conference through the P2P network conference channel, And send the received media stream to the first client through the media channel. Optionally, the proxy peer-to-peer network client may perform audio mixing processing on the received media streams sent by at least two of the other peer-to-peer network clients participating in the peer-to-peer network conference, so as to obtain one media stream , and send the acquired media stream to the first client through the media channel. Further optionally, the proxy peer-to-peer network client may mix the received media stream sent by at least one of the other peer-to-peer network clients participating in the peer-to-peer network conference with the media stream collected by the local end. audio processing to obtain one media stream, and send the obtained one media stream to the first client through the media channel.

在图1所示的对等网络会议接入方法中,代理对等网络客户端与第一客户端之间建立媒体通道,接收第一客户端通过媒体通道发送的媒体流,并将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the peer-to-peer network conference access method shown in Figure 1, a media channel is established between the proxy peer-to-peer network client and the first client, receives the media stream sent by the first client through the media channel, and sends the received The media streams are sent to the corresponding peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel, so that clients that do not support the peer-to-peer network can access the peer-to-peer network without relying on intermediate nodes Conference, low cost, simple process.

请参见图2,图2是本发明另一实施例中提供的一种对等网络会议接入方法的流程示意图,其中代理对等网络客户端和第二客户端支持对等网络会议,第一客户端不支持对等网络会议,如图所示,该对等网络会议接入方法可以包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a peer-to-peer network conference access method provided in another embodiment of the present invention, wherein the proxy peer-to-peer network client and the second client support peer-to-peer network conferences, and the first The client does not support peer-to-peer network conferences. As shown in the figure, the method for accessing peer-to-peer network conferences may include the following steps:

步骤S201,会议控制服务器向代理对等网络客户端发送通知信息。In step S201, the conference control server sends notification information to the proxy P2P network client.

具体实现中,会议控制服务器接收作为会议发起方的客户端发送的接入请求信息,其中作为会议发起方的客户端可以是代理对等网络客户端或第二客户端,会议控制服务器接收到接入请求信息后,可以根据作为会议发起方的客户端参与的会议对应的会议属性以及参与该会议的客户端数量判断该会议是否是对等网络会议,若会议控制服务器判断该会议是对等网络会议,则进一步根据接收到的接入请求信息判断第一客户端是否支持对等网络会议;若会议控制服务器判断该会议不是对等网络会议,则拒绝判断第一客户端是否支持对等网络会议;若会议控制服务器根据接收到的接入请求信息判断第一客户端不支持对等网络会议,则在参与所述对等网络会议的所有客户端中确定代理对等网络客户端;若会议控制服务器根据接收到的接入请求信息判断第一客户端支持对等网络会议,则拒绝在参与所述对等网络会议的所有客户端中确定代理对等网络客户端。In a specific implementation, the conference control server receives the access request information sent by the client as the conference initiator, where the client as the conference initiator may be a proxy peer-to-peer network client or a second client, and the conference control server receives the access request information. After entering the request information, you can judge whether the conference is a peer-to-peer network conference according to the conference attributes corresponding to the conference that the client as the initiator of the conference participates in and the number of clients participating in the conference. If the conference control server judges that the conference is a peer-to-peer network Conference, then further judge whether the first client supports peer-to-peer network conference according to the received access request information; if the conference control server judges that the conference is not a peer-to-peer network conference, then refuse to judge whether the first client supports peer-to-peer network conference ; If the conference control server judges that the first client does not support the peer-to-peer network conference according to the received access request information, then determine the proxy peer-to-peer network client among all the clients participating in the peer-to-peer network conference; if the conference control The server judges that the first client supports the peer-to-peer network conference according to the received access request information, and then refuses to determine the proxy peer-to-peer network client among all the clients participating in the peer-to-peer network conference.

示例性的接入请求信息可以如上所示,会议控制服务器可以根据该接入请求信息中的“<attendee type=’sip’>D</attendee>”,判断第一客户端D的类型是基于SIP的终端,第一客户端D不支持对等网络会议。Exemplary access request information may be as shown above, and the conference control server may determine that the type of the first client D is based on "<attendee type='sip'>D</attendee>" in the access request information. A SIP terminal, the first client D does not support peer-to-peer network conferences.

若会议控制服务器判断第一客户端不支持对等网络会议,则根据预设代理选取算法比较参与该对等网络会议的各个客户端的处理器能力、内存容量以及带宽大小,并在参与该对等网络会议的所有客户端中确定代理对等网络客户端,进一步的向代理对等网络客户端发送通知信息,该通知信息用于指示第一客户端将接入该对等网络会议,并指示该代理对等网络客户端确定为第一客户端的代理客户端,代理对等网络客户端接收到该通知信息后,可以在代理对等网络客户端的屏幕中显示第一客户端将接入该对等网络会议。If the conference control server judges that the first client does not support the peer-to-peer network conference, it compares the processor capability, memory capacity and bandwidth of each client participating in the peer-to-peer network conference according to the preset agent selection algorithm, and participates in the peer-to-peer network conference. Determining the proxy peer-to-peer network client among all the clients of the network conference, further sending notification information to the proxy peer-to-peer network client, the notification information is used to indicate that the first client will access the peer-to-peer network conference, and indicate the The proxy peer-to-peer network client is determined to be the proxy client of the first client. After receiving the notification information, the proxy peer-to-peer network client can display on the screen of the proxy peer-to-peer network client that the first client will access the peer-to-peer network client. online meeting.

示例性的通知信息可以如上所示,代理对等网络客户端可以根据该通知信息中的“<cmd>5005</cmd>”,知悉该代理对等网络客户端确定为第一客户端D的代理客户端,该代理对等网络客户端还可以根据该通知信息中的“<attendeetype=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP(Session InitiationProtocol,会话初始化协议)的终端,其中第一客户端D将接入所述对等网络会议。Exemplary notification information may be as shown above, and the proxy P2P network client may know that the proxy P2P network client is determined to be the first client D according to "<cmd>5005</cmd>" in the notification information. The proxy client, the proxy peer-to-peer network client can also know that the type of the first client D is based on the SIP (Session Initiation Protocol, session initialization protocol), wherein the first client D will access the peer-to-peer network conference.

步骤S202,会议控制服务器向第二客户端发送描述信息。In step S202, the conference control server sends description information to the second client.

会议控制服务器判断第一客户端不支持对等网络会议后,可以向第二客户端发送描述信息,该描述信息用于指示第一客户端将接入该对等网络会议,第二客户端接收到该描述信息后,可以在第二客户端的屏幕中显示第一客户端将接入该对等网络会议。After the conference control server judges that the first client does not support the peer-to-peer network conference, it may send description information to the second client, the description information is used to indicate that the first client will access the peer-to-peer network conference, and the second client receives After obtaining the description information, it may be displayed on the screen of the second client that the first client will access the peer-to-peer network conference.

示例性的描述信息可以如上所示,第二客户端可以根据该描述信息中的“<attendee type=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP的终端,其中第一客户端D将接入所述对等网络会议。Exemplary description information may be as shown above, and the second client may know that the type of the first client D is a SIP-based terminal according to "<attendee type='sip'>D</attendee>" in the description information , wherein the first client D will access the peer-to-peer network conference.

步骤S203,会议控制服务器向代理对等网络客户端发送呼叫请求信息。Step S203, the conference control server sends call request information to the proxy P2P network client.

会议控制服务器向代理对等网络客户端发送通知信息后,可以向代理对等网络客户端发送呼叫请求信息,该呼叫请求信息可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的,可选的,该呼叫请求信息也可以是信息体为空的请求信息。After the conference control server sends notification information to the proxy peer-to-peer network client, it can send call request information to the proxy peer-to-peer network client. The access request information is forwarded to the proxy peer-to-peer network client. Optionally, the call request information may also be request information whose information body is empty.

步骤S204,代理对等网络客户端向会议控制服务器发送呼叫响应信息,该呼叫响应信息携带代理对等网络客户端的媒体属性信息。Step S204, the proxy P2P network client sends call response information to the conference control server, and the call response information carries media attribute information of the proxy P2P network client.

代理对等网络客户端接收到会议控制服务器发送的呼叫请求信息后,可以向会议控制服务器发送呼叫响应信息,该呼叫响应信息携带代理对等网络客户端的媒体属性信息,其中该媒体属性信息可以包括代理对等网络客户端支持的编码技术和解码技术以及代理对等网络客户端的端口号等。After receiving the call request information sent by the conference control server, the proxy P2P network client may send call response information to the conference control server. The call response information carries media attribute information of the proxy P2P network client, wherein the media attribute information may include The encoding technology and decoding technology supported by the proxy peer-to-peer network client and the port number of the proxy peer-to-peer network client.

步骤S205,会议控制服务器根据呼叫响应信息向第一客户端发送呼叫响应。Step S205, the conference control server sends a call response to the first client according to the call response information.

会议控制服务器接收到代理对等网络客户端发送的呼叫响应信息后,根据所述呼叫响应信息向第一客户端发送呼叫响应,其中该呼叫响应可以包括代理对等网络客户端的媒体属性信息。After receiving the call response information sent by the proxy P2P network client, the conference control server sends a call response to the first client according to the call response information, wherein the call response may include media attribute information of the proxy P2P network client.

步骤S206,第一客户端向会议控制服务器发送答复确认信息。Step S206, the first client sends reply confirmation information to the conference control server.

具体实现中,第一客户端接收到会议控制服务器发送的代理对等网络客户端的媒体属性信息后,可以判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息是否匹配,例如,第一客户端可以判断代理对等网络客户端支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,代理对等网络客户端支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及代理对等网络客户端的端口号与第一客户端的端口号是否匹配等,若第一客户端判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息匹配,则向会议控制服务器发送答复确认信息,该答复确认信息携带第一客户端的媒体属性信息,其中该媒体属性信息可以包括第一客户端支持的编码技术和解码技术以及第一客户端的端口号等。In a specific implementation, after the first client receives the media attribute information of the proxy P2P network client sent by the conference control server, it can determine whether the media attribute information of the proxy P2P network client matches the media attribute information of the first client, for example, The first client may determine whether at least one encoding technique supported by the proxy P2P network client matches at least one decoding technique supported by the first client, and the at least one decoding technique supported by the proxy P2P network client is consistent with the first encoding technique supported by the first client. Whether at least one encoding technology supported by the client matches, and whether the port number of the proxy peer-to-peer network client matches the port number of the first client, etc., if the first client judges that the media attribute information of the proxy peer-to-peer network client is consistent with the first If the media attribute information of the client matches, then the reply confirmation information is sent to the conference control server, and the reply confirmation information carries the media attribute information of the first client, wherein the media attribute information may include the encoding technology and decoding technology supported by the first client and the second A port number of a client, etc.

步骤S207,会议控制服务器根据答复确认信息向代理对等网络客户端发送答复确认。Step S207, the conference control server sends a reply confirmation to the proxy P2P network client according to the reply confirmation information.

会议控制服务器接收到第一客户端发送的答复确认信息后,可以根据答复确认信息向代理对等网络客户端发送答复确认,其中该答复确认可以包括第一客户端的媒体属性信息。After receiving the reply confirmation information sent by the first client, the conference control server may send a reply confirmation to the proxy P2P network client according to the reply confirmation information, wherein the reply confirmation may include the media attribute information of the first client.

步骤S208,代理对等网络客户端与第一客户端之间建立媒体通道。In step S208, a media channel is established between the proxy P2P network client and the first client.

具体实现中,代理对等网络客户端接收到会议控制服务器发送的答复确认后,可以判断代理对等网络客户端的媒体属性信息和第一客户端的媒体属性信息是否匹配,例如,代理对等网络客户端可以判断代理对等网络客户端支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,代理对等网络客户端支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及代理对等网络客户端的端口号与第一客户端的端口号是否匹配等,若代理对等网络客户端判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息匹配,则与第一客户端之间建立媒体通道。In specific implementation, after receiving the reply confirmation sent by the conference control server, the proxy P2P network client can judge whether the media attribute information of the proxy P2P network client matches the media attribute information of the first client, for example, the proxy P2P network client The terminal can determine whether at least one encoding technology supported by the proxy peer-to-peer network client matches at least one decoding technology supported by the first client, and at least one decoding technology supported by the proxy peer-to-peer network client matches the at least one decoding technology supported by the first client. Whether at least one encoding technology of the agent matches, and whether the port number of the proxy peer-to-peer network client matches the port number of the first client, etc., if the proxy peer-to-peer network client judges that the media attribute information of the proxy peer-to-peer network client is consistent with the first client If the media attribute information of the terminal matches, a media channel is established with the first client.

步骤S209,第一客户端通过媒体通道向代理对等网络客户端发送媒体流。Step S209, the first client sends the media stream to the proxy P2P network client through the media channel.

代理对等网络客户端与第一客户端之间建立媒体通道后,第一客户端可以通过所述媒体通道向代理对等网络客户端发送媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。After the media channel is established between the proxy peer-to-peer network client and the first client, the first client can send a media stream to the proxy peer-to-peer network client through the media channel, wherein the media stream can include the media stream sent by the first client audio and/or video.

步骤S210,代理对等网络客户端将第一客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流。In step S210, the proxy peer-to-peer network client performs audio mixing processing on the media stream sent by the first client and the media stream collected by the local end, so as to obtain one media stream.

步骤S211,代理对等网络客户端将获取到的一路媒体流通过对等网络会议通道发送给第二客户端。In step S211, the proxy P2P network client sends the acquired media stream to the second client through the P2P network conference channel.

步骤S212,第二客户端通过对等网络会议通道向代理对等网络客户端发送媒体流。Step S212, the second client sends the media stream to the proxy P2P network client through the P2P network conference channel.

步骤S213,代理对等网络客户端将第二客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流。In step S213, the proxy peer-to-peer network client performs audio mixing processing on the media stream sent by the second client and the media stream collected by the local end, so as to obtain one media stream.

步骤S214,代理对等网络客户端将获取到的一路媒体流通过媒体通道发送给第一客户端。Step S214, the proxy peer-to-peer network client sends the acquired media stream to the first client through the media channel.

在图2所示的对等网络会议接入方法中,代理对等网络客户端与第一客户端之间建立媒体通道,第一客户端通过媒体通道向代理对等网络客户端发送媒体流,代理对等网络客户端将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过对等网络会议通道发送给第二客户端,进一步的,代理对等网络客户端将第二客户端通过对等网络会议通道发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the peer-to-peer network conference access method shown in Figure 2, a media channel is established between the proxy peer-to-peer network client and the first client, and the first client sends a media stream to the proxy peer-to-peer network client through the media channel, The proxy peer-to-peer network client mixes the received media stream and the media stream collected by the local end to obtain one media stream, and sends the obtained media stream to the second client through the peer-to-peer network conference channel Further, the proxy peer-to-peer network client performs mixing processing on the media stream sent by the second client through the peer-to-peer network conference channel and the media stream collected by the local end to obtain one media stream, and the obtained A media stream is sent to the first client through the media channel, and the client that does not support the peer-to-peer network can access the peer-to-peer network conference without relying on the intermediate node, and the cost is low and the process is simple.

请参见图3,图3是本发明实施例中提供的一种代理对等网络客户端的结构示意图,如图所示本发明实施例中的代理对等网络客户端至少可以包括媒体通道建立单元301、媒体流接收单元302以及媒体流发送单元303。Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a proxy peer-to-peer network client provided in an embodiment of the present invention. As shown in the figure, the proxy peer-to-peer network client in the embodiment of the present invention may at least include a media channel establishment unit 301 , a media stream receiving unit 302 and a media stream sending unit 303 .

媒体通道建立单元301,用于与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议。The media channel establishment unit 301 is configured to establish a media channel with the first client, where the first client does not support peer-to-peer network conferences.

媒体流接收单元302,用于接收第一客户端通过媒体通道建立单元301建立的与第一客户端之间的媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。可选的,媒体流接收单元302还可以接收参与所述对等网络会议的其他对等网络客户端发送的媒体流。The media stream receiving unit 302 is configured to receive the media stream sent by the first client through the media channel established by the media channel establishing unit 301 and the first client, wherein the media stream may include the audio and audio sent by the first client and/or video. Optionally, the media stream receiving unit 302 may also receive media streams sent by other peer-to-peer network clients participating in the peer-to-peer network conference.

媒体流发送单元303,用于将媒体流接收单元302接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。可选的,媒体流发送单元303还可以将接收到的参与所述对等网络会议的其他对等网络客户端发送的媒体流通过媒体通道发送给第一客户端。The media stream sending unit 303 is configured to send the media streams received by the media stream receiving unit 302 to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. Optionally, the media stream sending unit 303 may also send received media streams sent by other peer-to-peer network clients participating in the peer-to-peer network conference to the first client through a media channel.

作为一种可选的实施方式,所述代理对等网络客户端还可以包括:As an optional implementation manner, the proxy peer-to-peer network client may also include:

混音处理单元304,用于将媒体流接收单元302接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流。可选的,混音处理单元304还可以将媒体流接收单元302接收到的参与对等网络会议的其他对等网络客户端中的至少两个客户端发送的媒体流进行混音处理,以获取经过混音处理的一路媒体流。可选的,混音处理单元304还可以将媒体流接收单元302接收到的参与对等网络会议的其他对等网络客户端中的至少一个客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流。The audio mixing processing unit 304 is configured to perform audio mixing processing on the media stream received by the media stream receiving unit 302 and the media stream collected at the local end, so as to obtain a mixed media stream. Optionally, the audio mixing processing unit 304 may also perform audio mixing processing on the media streams sent by at least two clients among other peer-to-peer network clients participating in the peer-to-peer network conference received by the media stream receiving unit 302, to obtain A stream of media that has been mixed. Optionally, the audio mixing processing unit 304 may also combine the media stream received by the media stream receiving unit 302 from at least one of the other peer-to-peer network clients participating in the peer-to-peer network conference and the media stream collected by the local end Perform audio mixing processing to obtain a media stream that has undergone audio mixing processing.

所述媒体流发送单元303,还用于将混音处理单元304获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。可选的,媒体流发送单元303还可以将混音处理单元304获取到的一路媒体流通过媒体通道发送给第一客户端。The media stream sending unit 303 is further configured to send one media stream obtained by the audio mixing processing unit 304 to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. Optionally, the media stream sending unit 303 may also send one media stream obtained by the audio mixing processing unit 304 to the first client through a media channel.

作为一种可选的实施方式,本发明实施例中的媒体通道建立单元301可以如图4所示,进一步包括:As an optional implementation manner, the media channel establishment unit 301 in the embodiment of the present invention may be shown in FIG. 4, further comprising:

呼叫请求接收模块401,用于接收会议控制服务器发送的针对第一客户端的呼叫请求信息。该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的。The call request receiving module 401 is configured to receive call request information for the first client sent by the conference control server. The call request information may be a request information whose information body is empty. Optionally, the call request information may also be that the conference control server forwards the received access request information sent by the client as the conference initiator to the proxy peer web client.

媒体属性发送模块402,用于根据呼叫请求接收模块401接收到的呼叫请求信息向会议控制服务器发送自身的媒体属性信息,其中该媒体属性信息可以包括自身支持的编码技术和解码技术以及自身的端口号等。The media attribute sending module 402 is configured to send its own media attribute information to the conference control server according to the call request information received by the call request receiving module 401, wherein the media attribute information may include its own supported encoding technology and decoding technology and its own port No. etc.

具体实现中,媒体属性发送模块402向会议控制服务器发送自身的媒体属性信息,以使会议控制服务器将接收到的所述自身的媒体属性信息发送给第一客户端,第一客户端可以判断所述自身的媒体属性信息和第一客户端的媒体属性信息是否匹配,例如,第一客户端可以判断所述自身支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,所述自身支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及所述自身的端口号与第一客户端的端口号是否匹配等,若第一客户端判断所述自身的媒体属性信息与第一客户端的媒体属性信息匹配,则向会议控制服务器发送第一客户端的媒体属性信息。In specific implementation, the media attribute sending module 402 sends its own media attribute information to the conference control server, so that the conference control server sends the received media attribute information of itself to the first client, and the first client can determine the Describe whether its own media attribute information matches the media attribute information of the first client, for example, the first client may determine whether the at least one encoding technology supported by itself matches the at least one decoding technology supported by the first client, Whether the at least one decoding technology supported by itself matches the at least one encoding technology supported by the first client, and whether the port number of itself matches the port number of the first client, etc., if the first client judges that the If the media attribute information of the first client matches the media attribute information of the first client, the media attribute information of the first client is sent to the conference control server.

媒体属性接收模块403,用于接收会议控制服务器发送的第一客户端的媒体属性信息,其中第一客户端的媒体属性信息可以包括第一客户端支持的编码技术和解码技术以及第一客户端的端口号等。具体实现中,媒体属性接收模块403接收到第一客户端的媒体属性信息后,可以判断自身的媒体属性信息和第一客户端的媒体属性信息是否匹配,例如,媒体属性接收模块403可以判断自身支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,自身支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及自身的端口号与第一客户端的端口号是否匹配等,若媒体属性接收模块403判断自身的媒体属性信息与第一客户端的媒体属性信息匹配,则触发媒体通道建立模块404与第一客户端之间建立媒体通道。The media attribute receiving module 403 is configured to receive the media attribute information of the first client sent by the conference control server, wherein the media attribute information of the first client may include the encoding technology and decoding technology supported by the first client and the port number of the first client wait. In specific implementation, after the media attribute receiving module 403 receives the media attribute information of the first client, it can judge whether its own media attribute information matches the media attribute information of the first client. For example, the media attribute receiving module 403 can judge whether the media attribute information supported by itself Whether at least one encoding technique matches at least one decoding technique supported by the first client, whether at least one decoding technique supported by itself matches at least one encoding technique supported by the first client, and whether its own port number matches that of the first client Whether the port number of a client matches, etc., if the media attribute receiving module 403 judges that its own media attribute information matches the media attribute information of the first client, it will trigger the media channel establishment module 404 to establish a media channel with the first client.

媒体通道建立模块404,用于在媒体属性接收模块403接收到第一客户端的媒体属性信息后,与第一客户端之间建立媒体通道。The media channel establishing module 404 is configured to establish a media channel with the first client after the media attribute receiving module 403 receives the media attribute information of the first client.

在图3和图4所示的代理对等网络客户端中,媒体流接收单元302接收第一客户端通过媒体通道建立单元301建立的与第一客户端之间的媒体通道发送的媒体流,媒体流发送单元303将媒体流接收单元302接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the proxy peer-to-peer network clients shown in FIGS. 3 and 4 , the media stream receiving unit 302 receives the media stream sent by the first client through the media channel established by the media channel establishing unit 301 and the first client, The media stream sending unit 303 sends the media streams received by the media stream receiving unit 302 to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel, without relying on the intermediate node, The client that does not support the peer-to-peer network can access the peer-to-peer network conference, the cost is low, and the process is simple.

请参见图5,图5是本发明另一实施例中提供的一种代理对等网络客户端的结构示意图,用于执行本发明实施例提供的对等网络会议接入方法。如图5所示,该代理对等网络客户端包括:至少一个处理器501,例如CPU,至少两个网络接口,其中所述至少两个网络接口可以包括第一网络接口503和第二网络接口504,存储器505,至少一个通信总线502。其中,通信总线502用于实现这些组件之间的连接通信。第一网络接口503和第二网络接口504可选的可以包括标准的有线接口或无线接口(如Wi-Fi接口)。第一网络接口503用于和第一客户端进行通信,第二网络接口504用于和第二客户端进行通信。存储器505可能包含高速RAM存储器,也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器505可选的可以包含至少一个位于远离前述处理器501的存储装置。如图5所示,存储器505中存储一组程序代码,且处理器501用于调用存储器505中存储的程序代码,用于执行以下操作:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a proxy P2P network client provided in another embodiment of the present invention, which is used to implement the method for accessing a P2P network conference provided by the embodiment of the present invention. As shown in Figure 5, the proxy peer-to-peer network client includes: at least one processor 501, such as a CPU, and at least two network interfaces, wherein the at least two network interfaces may include a first network interface 503 and a second network interface 504, memory 505, at least one communication bus 502. Wherein, the communication bus 502 is used to realize connection and communication between these components. Optionally, the first network interface 503 and the second network interface 504 may include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The first network interface 503 is used for communicating with the first client, and the second network interface 504 is used for communicating with the second client. The memory 505 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 505 may optionally include at least one storage device located far away from the aforementioned processor 501 . As shown in Figure 5, a set of program codes are stored in the memory 505, and the processor 501 is used to call the program codes stored in the memory 505 to perform the following operations:

与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议;Establishing a media channel with the first client, wherein the first client does not support peer-to-peer network meetings;

通过第一网络接口503接收第一客户端通过所述媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频;receiving a media stream sent by the first client through the media channel through the first network interface 503, where the media stream may include audio and/or video sent by the first client;

通过第二网络接口504将接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的第二客户端。The received media stream is sent to the second client participating in the peer-to-peer network conference through the peer-to-peer network conference channel through the second network interface 504 .

在一个实施例中,处理器501通过第一网络接口503接收第一客户端通过媒体通道发送的媒体流之后,将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;In one embodiment, after receiving the media stream sent by the first client through the media channel through the first network interface 503, the processor 501 performs audio mixing processing on the received media stream and the media stream collected at the local end, so as to obtain A media stream processed by audio mixing;

处理器501通过第二网络接口504将接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的第二客户端,具体为:The processor 501 sends the received media stream to the second client participating in the peer-to-peer network conference through the peer-to-peer network conference channel through the second network interface 504, specifically:

通过第二网络接口504将获取到的一路媒体流通过对等网络会议通道发送给参与所述对等网络会议的第二客户端。Using the second network interface 504, the acquired media stream is sent to the second client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.

在一个实施例中,处理器501与第一客户端之间建立媒体通道,具体为:In one embodiment, a media channel is established between the processor 501 and the first client, specifically:

接收会议控制服务器发送的针对第一客户端的呼叫请求信息。该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的;The call request information for the first client sent by the conference control server is received. The call request information may be a request information whose information body is empty. Optionally, the call request information may also be that the conference control server forwards the received access request information sent by the client as the conference initiator to the proxy peer web client;

根据接收到的呼叫请求信息向会议控制服务器发送自身的媒体属性信息,以使会议控制服务器将所述自身的媒体属性信息发送给第一客户端,并接收第一客户端发送的第一客户端的媒体属性信息,其中媒体属性信息可以包括客户端支持的编码技术和解码技术以及客户端的端口号等;Send its own media attribute information to the conference control server according to the received call request information, so that the conference control server sends the self media attribute information to the first client, and receives the first client's information sent by the first client. Media attribute information, where the media attribute information may include the encoding technology and decoding technology supported by the client, as well as the port number of the client, etc.;

接收会议控制服务器发送的第一客户端的媒体属性信息;receiving the media attribute information of the first client sent by the conference control server;

与第一客户端之间建立媒体通道。A media channel is established with the first client.

具体的,本发明实施例介绍的代理对等网络客户端可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。Specifically, the proxy peer-to-peer network client introduced in the embodiment of the present invention can realize the client that does not support the peer-to-peer network to access the peer-to-peer network conference without relying on the intermediate node, with low cost and simple process.

请参见图6,图6是本发明实施例中提供的一种对等网络会议接入系统的结构示意图,如图所示本发明实施例中的对等网络会议接入系统至少可以包括代理对等网络客户端601、第一客户端602以及第二客户端603,代理对等网络客户端601可以结合图3、图4以及图5所示的代理对等网络客户端,第一客户端602不支持对等网络会议,其中:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a peer-to-peer network conference access system provided in an embodiment of the present invention. As shown in the figure, the peer-to-peer network conference access system in the embodiment of the present invention may at least include a proxy pair The peer-to-peer network client 601, the first client 602 and the second client 603, the proxy peer-to-peer network client 601 can be combined with the proxy peer-to-peer network client shown in Figure 3, Figure 4 and Figure 5, the first client 602 Peer-to-peer web conferencing is not supported where:

代理对等网络客户端601,用于与第一客户端602之间建立媒体通道。The proxy peer-to-peer network client 601 is configured to establish a media channel with the first client 602 .

第一客户端602,用于通过所述媒体通道向代理对等网络客户端601发送媒体流,该媒体流可以包括第一客户端发送的音频和/或视频。The first client 602 is configured to send a media stream to the proxy P2P network client 601 through the media channel, where the media stream may include audio and/or video sent by the first client.

代理对等网络客户端601,还用于将接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的第二客户端603。可选的,代理对等网络客户端601还可以接收第二客户端603通过对等网络会议通道发送的媒体流,并将接收到的第二客户端603发送的媒体流通过媒体通道发送给第一客户端602。The proxy peer-to-peer network client 601 is further configured to send the received media stream to the second client 603 participating in the peer-to-peer network conference through the peer-to-peer network conference channel. Optionally, the proxy peer-to-peer network client 601 may also receive the media stream sent by the second client 603 through the peer-to-peer network conference channel, and send the received media stream sent by the second client 603 to the second client through the media channel. A client 602.

第二客户端603,用于接收代理对等网络客户端601发送的媒体流。The second client 603 is configured to receive the media stream sent by the proxy P2P client 601 .

作为一种可选的实施方式,代理对等网络客户端601,还用于将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将获取到的一路媒体流通过对等网络会议通道发送给第二客户端603。可选的,代理对等网络客户端601还可以将第二客户端603发送的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端602。As an optional implementation manner, the proxy peer-to-peer network client 601 is also configured to perform mixing processing on the received media stream and the media stream collected at the local end, so as to obtain a mixed media stream, And send the acquired media stream to the second client 603 through the peer-to-peer network conference channel. Optionally, the proxy peer-to-peer network client 601 can also perform audio mixing processing on the media stream sent by the second client 603 and the media stream collected by the local end, so as to obtain a mixed media stream, and obtain The received media stream is sent to the first client 602 through the media channel.

作为一种可选的实施方式,对等网络会议接入系统还可以包括会议控制服务器604,其中:As an optional implementation manner, the peer-to-peer network conference access system may also include a conference control server 604, where:

会议控制服务器604,用于向代理对等网络客户端601发送针对第一客户端602的呼叫请求信息,该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器604将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端601的。The conference control server 604 is configured to send call request information for the first client 602 to the proxy peer-to-peer network client 601. The call request information may be request information with an empty message body. Optionally, the call request information may also be It may be that the conference control server 604 forwards the received access request information sent by the client serving as the conference initiator to the proxy P2P network client 601 .

具体实现中,会议控制服务器604用于接收作为会议发起方的客户端发送的接入请求信息,其中作为会议发起方的客户端可以是代理对等网络客户端601或第二客户端603,会议控制服务器604接收到接入请求信息后,可以根据作为会议发起方的客户端参与的会议对应的会议属性以及参与该会议的客户端数量判断该会议是否是对等网络会议,若会议控制服务器604判断该会议是对等网络会议,则根据接收到的接入请求信息判断第一客户端602是否支持对等网络会议;若会议控制服务器604判断该会议不是对等网络会议,则拒绝判断第一客户端602是否支持对等网络会议;若会议控制服务器604判断该会议是对等网络会议,并根据接收到的接入请求信息判断第一客户端602支持对等网络会议,则拒绝在参与所述对等网络会议的所有客户端中确定代理对等网络客户端601;若会议控制服务器604判断该会议是对等网络会议,并根据接收到的接入请求信息判断第一客户端602不支持对等网络会议,则在参与所述对等网络会议的所有客户端中确定代理对等网络客户端601,并向代理对等网络客户端601发送呼叫请求信息。In a specific implementation, the conference control server 604 is used to receive the access request information sent by the client as the conference initiator, where the client as the conference initiator may be the proxy peer-to-peer network client 601 or the second client 603, and the conference After the control server 604 receives the access request information, it can judge whether the conference is a peer-to-peer network conference according to the conference attribute corresponding to the conference participated by the client as the conference initiator and the number of clients participating in the conference. If the conference control server 604 Judging that the conference is a peer-to-peer network conference, then judging whether the first client 602 supports a peer-to-peer network conference according to the received access request information; Whether the client 602 supports a peer-to-peer network conference; if the conference control server 604 judges that the conference is a peer-to-peer network conference, and judges that the first client 602 supports a peer-to-peer network conference according to the received access request information, then refuse to participate in the peer-to-peer network conference. Determine the proxy P2P network client 601 among all the clients of the above-mentioned P2P network conference; if the conference control server 604 judges that the conference is a P2P network conference, and judges according to the received access request information that the first client 602 does not support For a peer-to-peer network conference, determine the proxy P2P network client 601 among all clients participating in the peer-to-peer network conference, and send call request information to the proxy P2P network client 601.

代理对等网络客户端601,还用于根据接收到的呼叫请求信息向会议控制服务器604发送代理对等网络客户端601的媒体属性信息,该媒体属性信息可以包括代理对等网络客户端601支持的编码技术和解码技术以及代理对等网络客户端601的端口号等。The proxy P2P network client 601 is further configured to send the media attribute information of the proxy P2P network client 601 to the conference control server 604 according to the received call request information, and the media attribute information may include the proxy P2P network client 601 support The encoding technology and decoding technology and the port number of the proxy peer-to-peer network client 601, etc.

会议控制服务器604,还用于将接收到的代理对等网络客户端601的媒体属性信息发送给第一客户端602。The conference control server 604 is further configured to send the received media attribute information of the proxy P2P client 601 to the first client 602 .

第一客户端602,还用于根据接收到的代理对等网络客户端601的媒体属性信息向会议控制服务器604发送第一客户端602的媒体属性信息。The first client 602 is further configured to send the media attribute information of the first client 602 to the conference control server 604 according to the received media attribute information of the proxy P2P client 601 .

具体实现中,第一客户端602接收到会议控制服务器604发送的代理对等网络客户端601的媒体属性信息后,可以判断代理对等网络客户端601的媒体属性信息与第一客户端602的媒体属性信息是否匹配,例如,第一客户端602可以判断代理对等网络客户端601支持的至少一种编码技术与第一客户端602支持的至少一种解码技术是否匹配,代理对等网络客户端601支持的至少一种解码技术与第一客户端602支持的至少一种编码技术是否匹配,以及代理对等网络客户端601的端口号与第一客户端602的端口号是否匹配等,若第一客户端602判断代理对等网络客户端601的媒体属性信息与第一客户端602的媒体属性信息匹配,则向会议控制服务器604发送第一客户端602的媒体属性信息。In a specific implementation, after the first client 602 receives the media attribute information of the proxy P2P network client 601 sent by the conference control server 604, it can determine that the media attribute information of the proxy P2P network client 601 is different from that of the first client 602. Whether the media attribute information matches, for example, the first client 602 can determine whether at least one encoding technology supported by the proxy P2P network client 601 matches at least one decoding technology supported by the first client 602, and the proxy P2P network client Whether the at least one decoding technology supported by the terminal 601 matches the at least one encoding technology supported by the first client 602, and whether the port number of the proxy peer-to-peer network client 601 matches the port number of the first client 602, etc., if The first client 602 judges that the media attribute information of the proxy P2P network client 601 matches the media attribute information of the first client 602 , and sends the media attribute information of the first client 602 to the conference control server 604 .

会议控制服务器604,还用于将接收到的第一客户端602的媒体属性信息发送给代理对等网络客户端601,第一客户端602的媒体属性信息可以包括第一客户端602支持的编码技术和解码技术以及第一客户端602的端口号等。The conference control server 604 is further configured to send the received media attribute information of the first client 602 to the proxy peer-to-peer network client 601, and the media attribute information of the first client 602 may include encoding supported by the first client 602 technology and decoding technology and the port number of the first client 602, etc.

代理对等网络客户端601,还用于接收会议控制服务器604发送的第一客户端602的媒体属性信息,并与第一客户端602之间建立媒体通道。The proxy P2P network client 601 is further configured to receive the media attribute information of the first client 602 sent by the conference control server 604 , and establish a media channel with the first client 602 .

具体实现中,代理对等网络客户端601接收到会议控制服务器604发送的第一客户端602的媒体属性信息后,可以判断代理对等网络客户端601的媒体属性信息和第一客户端602的媒体属性信息是否匹配,例如,代理对等网络客户端601可以判断代理对等网络客户端601支持的至少一种编码技术与第一客户端602支持的至少一种解码技术是否匹配,代理对等网络客户端601支持的至少一种解码技术与第一客户端602支持的至少一种编码技术是否匹配,以及代理对等网络客户端601的端口号与第一客户端602的端口号是否匹配等,若代理对等网络客户端601判断代理对等网络客户端601的媒体属性信息与第一客户端602的媒体属性信息匹配,则与第一客户端602之间建立媒体通道。In a specific implementation, after the proxy P2P network client 601 receives the media attribute information of the first client 602 sent by the conference control server 604, it can determine the media attribute information of the proxy P2P network client 601 and the media attribute information of the first client 602. Whether the media attribute information matches, for example, the proxy peer-to-peer network client 601 can determine whether at least one encoding technique supported by the proxy peer-to-peer network client 601 matches at least one decoding technique supported by the first client 602, and the proxy peer-to-peer Whether at least one decoding technology supported by the network client 601 matches at least one encoding technology supported by the first client 602, and whether the port number of the proxy peer-to-peer network client 601 matches the port number of the first client 602, etc. , if the proxy P2P network client 601 judges that the media attribute information of the proxy P2P network client 601 matches the media attribute information of the first client 602 , then establish a media channel with the first client 602 .

在图6所示的对等网络会议接入系统中,第一客户端602通过代理对等网络客户端601与第一客户端602之间建立的媒体通道向代理对等网络客户端601发送媒体流,代理对等网络客户端601将接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的第二客户端603,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the peer-to-peer network conference access system shown in FIG. 6, the first client 602 sends media to the proxy peer-to-peer network client 601 through the media channel established between the proxy peer-to-peer network client 601 and the first client 602. stream, the proxy peer-to-peer network client 601 sends the received media stream to the second client 603 participating in the peer-to-peer network conference through the peer-to-peer network conference channel, which can realize non-peer-to-peer support without relying on intermediate nodes The client of the network accesses the peer-to-peer network conference, which has low cost and simple process.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and units involved are not necessarily required by the present invention.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例客户端中的单元或模块可以根据实际需要进行合并、划分和删减。The units or modules in the client in the embodiment of the present invention can be combined, divided and deleted according to actual needs.

本发明实施例中所述单元或模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application SpecificIntegrated Circuit,专用集成电路)来实现。The units or modules described in the embodiments of the present invention can be realized by a general-purpose integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit).

以上对本发明实施例所提供的对等网络会议接入方法、客户端及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above has introduced the peer-to-peer network conference access method, client and system provided by the embodiment of the present invention in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, this specification The content should not be construed as a limitation of the invention.

Claims (9)

1.一种对等网络会议接入方法,其特征在于,所述方法包括:1. A peer-to-peer network conference access method, characterized in that the method comprises: 代理对等网络(Peer to Peer,P2P)客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;Establishing a media channel between a proxy peer-to-peer network (Peer to Peer, P2P) client and the first client, wherein the first client does not support peer-to-peer network meetings; 所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流;The proxy peer-to-peer network client receives the media stream sent by the first client through the media channel; 所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the received media streams to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. 2.如权利要求1所述的方法,其特征在于,所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流之后,所述方法还包括:2. The method according to claim 1, wherein, after the proxy peer-to-peer network client receives the media stream sent by the first client through the media channel, the method further comprises: 所述代理对等网络客户端将所述接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;The proxy peer-to-peer network client performs mixing processing on the received media stream and the media stream collected at the local end, so as to obtain a mixed media stream; 所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端包括:The proxy P2P network client sending the received media streams to corresponding other P2P network clients participating in the P2P network conference through the P2P conference channel includes: 所述代理对等网络客户端将所述获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the acquired media stream to other corresponding peer-to-peer network clients participating in the peer-to-peer network conference through a peer-to-peer network conference channel. 3.如权利要求1所述的方法,其特征在于,所述代理对等网络客户端与第一客户端之间建立媒体通道包括:3. The method according to claim 1, wherein establishing a media channel between the agent peer-to-peer network client and the first client comprises: 所述代理对等网络客户端接收会议控制服务器发送的针对所述第一客户端的呼叫请求信息;The proxy P2P network client receives the call request information sent by the conference control server for the first client; 所述代理对等网络客户端根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息,以使所述会议控制服务器将所述代理对等网络客户端的媒体属性信息发送给所述第一客户端,并接收所述第一客户端发送的所述第一客户端的媒体属性信息;The proxy P2P network client sends the media attribute information of the proxy P2P network client to the conference control server according to the received call request information, so that the conference control server transfers the proxy P2P network client to the conference control server. sending the media attribute information of the client to the first client, and receiving the media attribute information of the first client sent by the first client; 所述代理对等网络客户端接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;The proxy P2P network client receives the media attribute information of the first client sent by the conference control server; 所述代理对等网络客户端与所述第一客户端之间建立媒体通道。A media channel is established between the proxy P2P network client and the first client. 4.一种代理对等网络客户端,其特征在于,所述代理对等网络客户端包括:4. A proxy peer-to-peer network client, characterized in that, the proxy peer-to-peer network client includes: 媒体通道建立单元,用于与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;a media channel establishment unit, configured to establish a media channel with the first client, wherein the first client does not support peer-to-peer network meetings; 媒体流接收单元,用于接收所述第一客户端通过所述媒体通道建立单元建立的与所述第一客户端之间的媒体通道发送的媒体流;a media stream receiving unit, configured to receive the media stream sent by the first client through the media channel established by the media channel establishing unit and the first client; 媒体流发送单元,用于将所述媒体流接收单元接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The media stream sending unit is configured to send the media streams received by the media stream receiving unit to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. 5.如权利要求4所述的代理对等网络客户端,其特征在于,所述代理对等网络客户端还包括:5. the proxy peer-to-peer network client as claimed in claim 4, is characterized in that, described proxy peer-to-peer network client also comprises: 混音处理单元,用于将所述媒体流接收单元接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;A sound mixing processing unit, configured to perform sound mixing processing on the media stream received by the media stream receiving unit and the media stream collected at the local end, so as to obtain a mixed media stream; 所述媒体流发送单元,还用于将所述混音处理单元获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The media stream sending unit is further configured to send one media stream acquired by the audio mixing processing unit to corresponding other peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. 6.如权利要求4所述的代理对等网络客户端,其特征在于,所述媒体通道建立单元包括:6. proxy peer-to-peer network client as claimed in claim 4, is characterized in that, described media channel establishment unit comprises: 呼叫请求接收模块,用于接收会议控制服务器发送的针对所述第一客户端的呼叫请求信息;A call request receiving module, configured to receive call request information sent by the conference control server for the first client; 媒体属性发送模块,用于根据所述呼叫请求接收模块接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息,以使所述会议控制服务器将所述代理对等网络客户端的媒体属性信息发送给所述第一客户端,并接收所述第一客户端发送的所述第一客户端的媒体属性信息;A media attribute sending module, configured to send the media attribute information of the proxy P2P network client to the conference control server according to the call request information received by the call request receiving module, so that the conference control server sends the proxy sending the media attribute information of the peer-to-peer network client to the first client, and receiving the media attribute information of the first client sent by the first client; 媒体属性接收模块,用于接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;a media attribute receiving module, configured to receive the media attribute information of the first client sent by the conference control server; 媒体通道建立模块,用于与所述第一客户端之间建立媒体通道。A media channel establishing module, configured to establish a media channel with the first client. 7.一种对等网络会议接入系统,其特征在于,所述系统包括代理对等网络客户端、第一客户端以及第二客户端,所述第一客户端不支持对等网络会议,其中:7. A peer-to-peer network conference access system, characterized in that the system includes a proxy peer-to-peer network client, a first client and a second client, and the first client does not support a peer-to-peer network conference, in: 所述代理对等网络客户端,用于与所述第一客户端之间建立媒体通道;The proxy peer-to-peer network client is used to establish a media channel with the first client; 所述第一客户端,用于通过所述媒体通道向所述代理对等网络客户端发送媒体流;The first client is configured to send a media stream to the proxy peer-to-peer network client through the media channel; 所述代理对等网络客户端,还用于将所述接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的所述第二客户端;The proxy peer-to-peer network client is further configured to send the received media stream to the second client participating in the peer-to-peer network conference through a peer-to-peer network conference channel; 所述第二客户端,用于接收所述代理对等网络客户端发送的媒体流。The second client is configured to receive the media stream sent by the proxy P2P network client. 8.如权利要求7所述的系统,其特征在于,8. The system of claim 7, wherein: 所述代理对等网络客户端,还用于将所述接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将所述获取到的一路媒体流通过所述对等网络会议通道发送给所述第二客户端。The proxy peer-to-peer network client is also used to perform mixing processing on the received media stream and the media stream collected at the local end, so as to obtain a mixed media stream, and obtain the obtained One channel of media stream is sent to the second client through the peer-to-peer network conference channel. 9.如权利要求7所述的系统,其特征在于,所述系统还包括会议控制服务器;9. The system according to claim 7, further comprising a conference control server; 所述会议控制服务器,用于向所述代理对等网络客户端发送针对所述第一客户端的呼叫请求信息;The conference control server is configured to send call request information for the first client to the proxy P2P network client; 所述代理对等网络客户端,还用于根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息;The proxy P2P network client is further configured to send the media attribute information of the proxy P2P network client to the conference control server according to the received call request information; 所述会议控制服务器,还用于将所述接收到的所述代理对等网络客户端的媒体属性信息发送给所述第一客户端;The conference control server is further configured to send the received media attribute information of the proxy P2P network client to the first client; 所述第一客户端,还用于根据所述接收到的所述代理对等网络客户端的媒体属性信息向所述会议控制服务器发送所述第一客户端的媒体属性信息;The first client is further configured to send the media attribute information of the first client to the conference control server according to the received media attribute information of the proxy P2P network client; 所述会议控制服务器,还用于将所述接收到的所述第一客户端的媒体属性信息发送给所述代理对等网络客户端;The conference control server is further configured to send the received media attribute information of the first client to the proxy P2P network client; 所述代理对等网络客户端,还用于接收所述会议控制服务器发送的所述第一客户端的媒体属性信息,并与所述第一客户端之间建立媒体通道。The proxy P2P network client is further configured to receive the media attribute information of the first client sent by the conference control server, and establish a media channel with the first client.
CN201410086604.2A 2014-03-10 2014-03-10 Peer-to-peer network conference access method and system, and peer-to-peer network client Withdrawn CN104917620A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410086604.2A CN104917620A (en) 2014-03-10 2014-03-10 Peer-to-peer network conference access method and system, and peer-to-peer network client
PCT/CN2015/072828 WO2015135408A1 (en) 2014-03-10 2015-02-12 Peer-to-peer network conference accessing method, client, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410086604.2A CN104917620A (en) 2014-03-10 2014-03-10 Peer-to-peer network conference access method and system, and peer-to-peer network client

Publications (1)

Publication Number Publication Date
CN104917620A true CN104917620A (en) 2015-09-16

Family

ID=54070911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410086604.2A Withdrawn CN104917620A (en) 2014-03-10 2014-03-10 Peer-to-peer network conference access method and system, and peer-to-peer network client

Country Status (2)

Country Link
CN (1) CN104917620A (en)
WO (1) WO2015135408A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657109A (en) * 2016-12-30 2017-05-10 北京奇虎科技有限公司 Flow data transmission method and device
CN106791985A (en) * 2016-12-30 2017-05-31 北京奇虎科技有限公司 The transmission method and device of a kind of flow data
CN110546947A (en) * 2017-04-13 2019-12-06 统一专利有限责任两合公司 Method for conducting audio and/or video conferencing
CN114221868A (en) * 2020-09-03 2022-03-22 迈络思科技有限公司 Improving port connection time

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110811A (en) * 2006-07-18 2008-01-23 北京华纬讯电信技术有限公司 Method for controlling media data transmission of video system
US8161171B2 (en) * 2007-11-20 2012-04-17 Oracle International Corporation Session initiation protocol-based internet protocol television
CN102984186A (en) * 2011-09-05 2013-03-20 中兴通讯股份有限公司 A method and an apparatus for establishing a session

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657109A (en) * 2016-12-30 2017-05-10 北京奇虎科技有限公司 Flow data transmission method and device
CN106791985A (en) * 2016-12-30 2017-05-31 北京奇虎科技有限公司 The transmission method and device of a kind of flow data
WO2018121405A1 (en) * 2016-12-30 2018-07-05 北京奇虎科技有限公司 Method and device for transmitting stream data
CN110546947A (en) * 2017-04-13 2019-12-06 统一专利有限责任两合公司 Method for conducting audio and/or video conferencing
CN114221868A (en) * 2020-09-03 2022-03-22 迈络思科技有限公司 Improving port connection time

Also Published As

Publication number Publication date
WO2015135408A1 (en) 2015-09-17

Similar Documents

Publication Publication Date Title
US10887359B2 (en) Parallel peer to peer connection establishment in webRTC conferencing
CN104125540B (en) Multi-party call terminal and the method that one-to-one call is converted to from multi-party call
KR100752038B1 (en) A Method of RTP Element Selection for Multimedia Conference in Dynamic Multicast Tree
JP6325105B2 (en) Wireless media sharing from multiple sources to a single sink
KR102140609B1 (en) Multimedia conference endpoint transfer system
US9716731B2 (en) Consolidated peer-to-peer media sessions for audio and/or video communications
JP4901878B2 (en) Method for converting between unicast and multicast sessions
US8630208B1 (en) Muting of communication session participants
US8407288B2 (en) Efficient network routing to reduce bandwidth usage and latency
JP2015080210A (en) System and method for real-time adaptation of conferencing system to current conditions of conference session
KR20120102769A (en) System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices
WO2015131750A1 (en) Method, device and system for establishing multi-party call based on web rtc
CN112398845B (en) Data transmission method, data transmission device, data transmission system and electronic equipment
CN104683121A (en) A method and device for initiating a network conference
CN106549978B (en) Session mode switching method and proxy server
CN104917620A (en) Peer-to-peer network conference access method and system, and peer-to-peer network client
US20170359187A1 (en) Scalable real-time videoconferencing over WebRTC
CN113949596A (en) Equipment connection method, device, equipment and storage medium
WO2018024200A1 (en) Virtual desktop multicast control method, terminal, proxy terminal, and cloud desktop server
JP2023521507A (en) SESSION CREATION METHODS, ELECTRONICS, AND READABLE STORAGE MEDIA
US20130080513A1 (en) Multi-party communication sessions via broadcast notification network
CN108616759A (en) A kind of video broadcasting method and relevant device
US20170034227A1 (en) System and methods for an online conference session
CN112532579B (en) Communication Systems
CN114915748A (en) Method, system and related device for dynamically switching audio and video communication modes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20150916

WW01 Invention patent application withdrawn after publication