WO2015135408A1 - Peer-to-peer network conference accessing method, client, and system - Google Patents

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

Info

Publication number
WO2015135408A1
WO2015135408A1 PCT/CN2015/072828 CN2015072828W WO2015135408A1 WO 2015135408 A1 WO2015135408 A1 WO 2015135408A1 CN 2015072828 W CN2015072828 W CN 2015072828W WO 2015135408 A1 WO2015135408 A1 WO 2015135408A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
peer
peer network
media
conference
Prior art date
Application number
PCT/CN2015/072828
Other languages
French (fr)
Chinese (zh)
Inventor
徐明远
陈鑫
胡彬
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015135408A1 publication Critical patent/WO2015135408A1/en

Links

Images

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a peer-to-peer network conference access method, client, and system.
  • P2P (Peer to Peer) conference is a concept proposed corresponding to the server mode conference.
  • the conference control and media stream processing are all in the MCU (Media Control Unit).
  • the P2P conference refers to the coordinated control between the clients when the multiple clients are in the conference, so that the media channels are established between the clients.
  • 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. At present, most clients do not support media establishment between two clients at the same time.
  • a channel such as a SIP (Session Initiation Protocol) phone.
  • a P2P conference can be switched to a server mode conference, or the media stream can be mixed and forwarded through a mixing server and a super node.
  • Clients that support P2P conferences access peer-to-peer network conferences.
  • the client that does not support the P2P conference accesses the P2P conference. If a client that does not support the P2P conference requests to access the P2P conference, the MCU can The P2P conference is switched to the server mode conference. The client that does not support the P2P conference accesses the conference in the switched server mode through the MCU.
  • the prior art requires the MCU support and the switch conference mode, and the system is complicated.
  • the mixing and forwarding of the media stream by the mixing server and the super node enable the client to access the P2P conference in the existing technology that does not support the P2P conference.
  • the super node can access the P2P conference. Multiple media streams are sent to the mixing server, and the mixing server mixes the multiple media streams. Synthesize one media stream and send the one media stream to the client that does not support P2P conference.
  • the client that does not support P2P conference can send its own media stream to the super node through the mixing server.
  • the super node will not support The media stream of the client of the P2P conference is separately sent to other clients, and the client that does not support the P2P conference accesses the P2P conference.
  • the prior art requires the support of the mixing server and the super node, and the cost is high and the process is complicated.
  • the technical problem to be solved by the present invention is to provide a peer-to-peer network conference access method, a client, and a system, which can implement a peer-to-peer network conference for a client that does not support a peer-to-peer network, and has a low cost and a simple process.
  • the first aspect of the present invention provides a peer-to-peer network conference access method, where the method includes:
  • the proxy peer-to-peer network client sends the received media stream to the corresponding peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
  • the proxy peer-to-peer network client receives the received The media stream and the media stream collected by the local end are mixed and processed to obtain a media stream that has undergone mixing processing;
  • the proxy peer-to-peer network client sends the received media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, respectively;
  • the proxy peer-to-peer network client sends the obtained one-way media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
  • the establishing a media channel between the proxy peer-to-peer network client and the first client includes:
  • a media channel is established between the proxy peer network client and the first client.
  • a second aspect of the present invention provides a proxy peer-to-peer network client, including:
  • a media channel establishing unit configured to establish a media channel with the first client, where the first client does not support a peer-to-peer network conference;
  • a media stream receiving unit configured to receive a media stream that is sent by the media channel between the first client and the first client established by the media channel establishing unit
  • the media stream sending unit is configured to send the media streams received by the media stream receiving unit to the corresponding peer network clients participating in the peer network conference by using the peer network conference channel.
  • the proxy peer-to-peer network client further includes:
  • a mixing processing unit configured to perform a mixing process on the media stream received by the media stream receiving unit and the media stream collected by the local end to obtain a media stream that has been subjected to the mixing process
  • the media stream sending unit is further configured to send the one media stream obtained by the mixing processing unit to the corresponding peer network client participating in the peer network conference through the peer network conference channel.
  • the media channel establishing 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 media attribute information of the proxy peer 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 will use the proxy
  • the media attribute information of the peer network client is sent to the first client, and the media attribute information of the first client sent by the first client is received;
  • a media attribute receiving module configured to receive 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.
  • a third aspect of the present invention provides a peer-to-peer network conference access system, the system comprising a first client, a second client, and a proxy peer network client, the first client does not support peer-to-peer network conference ,among them:
  • the proxy peer-to-peer network client is configured to establish a media channel with the first client
  • the first client is configured to send a media stream to the proxy peer network client by using 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 a media stream sent by the proxy peer network client.
  • the proxy peer-to-peer network client is further configured to perform mixing processing on the received media stream and the media stream collected by the local end to obtain a sound-mixed process. And the one-way media stream is sent to the second client through the peer-to-peer network conference channel.
  • 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 peer network client;
  • the proxy peer-to-peer network client is further configured to send media attribute information of the proxy peer-to-peer 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 peer network client to the first client;
  • the first client is further configured to send media attribute information of the first client to the conference control server according to the received media attribute information of the proxy peer network client;
  • the conference control server is further configured to send the received media attribute information of the first client to the proxy peer network client;
  • the proxy peer-to-peer network client is further configured to receive the first part sent by the conference control server a media attribute information of a client and establishing a media channel with the first client.
  • a media channel is established between the proxy peer-to-peer network client and the first client, wherein the first client does not support the peer-to-peer network conference, and the first client is received.
  • the media stream sent by the media channel sends the received media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, and the embodiment of the present invention can be independent of the middle.
  • the client that does not support the peer-to-peer network accesses the peer-to-peer network conference, and the cost is low and the process is simple.
  • FIG. 1 is a schematic flowchart of a peer-to-peer network conference access method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a peer-to-peer network conference access method according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a proxy peer-to-peer network client according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a media channel establishing unit of FIG. 3 according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a proxy peer-to-peer network client according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a peer-to-peer network conference access system according to an embodiment of the present invention.
  • the peer-to-peer network conference access method in the embodiment of the present invention may implement establishing a media channel with the first client in the proxy peer-to-peer network client, and receiving the media sent by the first client through the media channel.
  • the body stream is sent to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, and the peer-to-peer network can be implemented without relying on the intermediate node.
  • the client accesses peer-to-peer network conferences with low cost and simple process.
  • the proxy peer-to-peer network client mentioned in the embodiment of the present invention is selected according to a preset proxy selection algorithm among all peer-to-peer network clients participating in the peer-to-peer network conference, wherein the first client does not support peer-to-peer online meeting.
  • FIG. 1 is a schematic flowchart of a method for accessing a peer-to-peer network conference according to 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, such as As shown in the figure, the peer-to-peer network conference access method may include the following steps:
  • Step S101 Establish a media channel with the first client.
  • a media channel is established between the proxy 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 may receive the call request information sent by the conference control server for the first client, where the call request information may be request information that the information body is empty.
  • the call request information may also be The conference control server forwards the access request information sent by the client that is the conference initiator to the proxy peer network client, and the proxy peer network client sends the proxy pair to the conference control server according to the received call request information.
  • the media attribute information of the network client is sent to the conference control server to send the media attribute information of the proxy 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 pair
  • the network client receives the media attribute information of the first client sent by the conference control server.
  • the proxy peer network client establishes a media channel with the first client, where the media attribute information may include a coding technology supported by the client. And decoding technology and client Port number.
  • the proxy peer-to-peer network client may further receive the notification information sent by the conference control server, where the notification information is used to indicate The first client will access the peer-to-peer network conference and instruct the proxy peer network client to determine the proxy client as the first client.
  • the exemplary notification information may be as shown above, and the proxy peer-to-peer network client may know that the proxy peer-to-peer network client is determined to be the first client D according to " ⁇ cmd>5005 ⁇ /cmd>" in the notification information.
  • SIP Session Initiation Protocol
  • Step S102 Receive a media stream that is sent by the first client by using the media channel.
  • the proxy peer-to-peer network client may receive the media stream sent by the first client through the media channel, where the media stream may include the first client sending Audio and / or video.
  • the proxy peer-to-peer network client may also receive media streams sent by other peer-to-peer network clients participating in the peer-to-peer network conference.
  • Step S103 The received media streams are respectively sent to the corresponding peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
  • the proxy peer-to-peer network client can send the received media streams to the corresponding peer-to-peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
  • the proxy peer network client may perform a mixing process on the received media stream and the media stream collected by the local end to obtain a mixed processing method.
  • the proxy peer-to-peer network client can send the obtained one-way media stream to the peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
  • the proxy peer-to-peer network client may also receive a media stream sent by one of the other peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. And sending the received media stream to the first client through the media channel.
  • the proxy peer-to-peer network client may receive other peer-to-peer networks that participate in the peer-to-peer network conference. The media stream sent by the at least two clients in the client is mixed to obtain a media stream, and the obtained media stream is sent to the first client through the media channel.
  • the proxy peer-to-peer network client may mix the media stream sent by the at least one client of the other peer network clients participating in the peer-to-peer network conference with the media stream collected by the local end.
  • the sound processing is performed to obtain a media stream, and the obtained media stream is sent to the first client through the media channel.
  • a proxy peer network client establishes a media channel with the first client, and receives a media stream sent by the first client through the media channel, and receives the received
  • the media streams are respectively 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 peer-to-peer network that does not support the peer-to-peer network can be implemented without relying on the intermediate node. Meetings, low cost and simple process.
  • FIG. 2 is a schematic flowchart of a peer-to-peer network conference access method according to another embodiment of the present invention, where a proxy peer-to-peer network client and a second client support peer-to-peer network conference, first The client does not support peer-to-peer network conference.
  • the peer-to-peer network conference access method may include the following steps:
  • step S201 the conference control server sends the notification information to the proxy peer network client.
  • the conference control server receives the access request information sent by the client that is the conference initiator, where the client that is the conference initiator may be the proxy peer network client or the second client, and the conference control server receives the connection. After the request information is entered, it may be determined according to the conference attribute corresponding to the conference attended by the client that is the initiator of the conference and the number of clients participating in the conference, whether the conference is a peer-to-peer network conference, and if the conference control server determines that the conference is a peer-to-peer network.
  • the conference further determines, according to the received access request information, whether the first client supports the peer-to-peer network conference; if the conference control server determines that the conference is not a peer-to-peer network conference, it refuses to determine whether the first client supports the peer-to-peer network conference. If the conference control server determines, according to the received access request information, that the first client does not support the peer-to-peer network conference, determining the proxy peer-to-peer network client among all clients participating in the peer-to-peer network conference; The server determines the first client according to the received access request information. Supports peer to peer network meetings, refused to determine the agent peer network clients in all clients involved in the peer network meeting.
  • the conference control server determines that the first client does not support the peer-to-peer network conference, compares the processor capability, the memory capacity, and the bandwidth of each client participating in the peer-to-peer network conference according to the preset proxy selection algorithm, and participates in the peer-to-peer Determining the proxy peer network client among all the clients of the web conference, and further sending the notification information to the proxy peer network client, the notification information is used to indicate that the first client will access the peer network conference, and indicate the The proxy peer-to-peer network client determines as the proxy client of the first client, and after receiving the notification information, the proxy peer-to-peer network client may display, on the screen of the proxy peer-to-peer network client, that the first client will access the peer. online meeting.
  • the exemplary notification information may be as shown above, and the proxy peer-to-peer network client may know that the proxy peer-to-peer network client is determined to be the first client D according to " ⁇ cmd>5005 ⁇ /cmd>" in the notification information.
  • Session Initiation Protocol Session Initiation Protocol
  • Step S202 The conference control server sends the description information to the second client.
  • the conference information may be sent to the second client, where the description information is used to indicate that the first client accesses the peer network conference, and the second client receives After the description information, the second client may display that the first client will access the peer-to-peer network conference.
  • Step S203 The conference control server sends the call request information to the proxy peer network client.
  • the conference request information may be sent to the proxy peer network client, where the call request information may be sent by the conference control server as the client of the conference initiator.
  • the access request information is forwarded to the proxy peer network client.
  • the call request information may also be request information that the information body is empty.
  • Step S204 The proxy peer network client sends call response information to the conference control server, where the call response information carries media attribute information of the proxy peer network client.
  • the proxy peer network client may send call response information to the conference control server, where the call response information carries media attribute information of the proxy peer network client, where 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 network client.
  • Step S205 the conference control server sends a call to the first client according to the call response information. should.
  • the conference control server After receiving the call response information sent by the proxy peer network client, the conference control server sends a call response to the first client according to the call response information, where the call response may include media attribute information of the proxy peer network client.
  • Step S206 the first client sends a reply confirmation message to the conference control server.
  • the first client may determine whether the media attribute information of the proxy peer network client matches the media attribute information of the first client, for example, The first client may determine whether at least one encoding technology supported by the proxy 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 network client and the first Whether at least one encoding technology supported by the client matches, and whether the port number of the proxy peer network client matches the port number of the first client, etc., if the first client determines the media attribute information of the proxy peer network client and the first If the media attribute information of the client matches, the acknowledgment information is sent to the conference control server, where the acknowledgment information carries the media attribute information of the first client, where the media attribute information may include the coding technology and decoding technology supported by the first client, and the The port number of a client, etc.
  • Step S207 The conference control server sends a reply confirmation to the proxy peer network client according to the reply confirmation information.
  • the conference control server may send a reply confirmation to the proxy peer network client according to the reply confirmation information, where the reply confirmation may include the media attribute information of the first client.
  • Step S208 establishing a media channel between the proxy peer network client and the first client.
  • the proxy peer network client may determine whether the media attribute information of the proxy peer network client matches the media attribute information of the first client, for example, proxy peer network client.
  • the terminal may determine whether at least one coding technology supported by the proxy 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 network client and the first client support Whether at least one of the encoding technologies matches, and whether the port number of the proxy peer network client matches the port number of the first client, etc., if the proxy peer network client determines the media attribute information of the proxy peer network client and the first client When the media attribute information of the terminal matches, a media channel is established with the first client.
  • Step S209 The first client sends the media stream to the proxy peer network client through the media channel.
  • the first client may send the media stream to the proxy peer network client through the media channel, where the media stream may include the first client sending Audio and / or video.
  • Step S210 The proxy peer-to-peer network client performs a mixing process on the media stream sent by the first client and the media stream collected by the local end to obtain a media stream.
  • Step S211 the proxy peer-to-peer network client sends the obtained one-way media stream to the second client through the peer-to-peer network conference channel.
  • Step S212 the second client sends the media stream to the proxy peer network client through the peer-to-peer network conference channel.
  • Step S213 The proxy peer network client performs a mixing process on the media stream sent by the second client and the media stream collected by the local end to obtain one media stream.
  • Step S214 The proxy peer-to-peer network client sends the obtained one-way media stream to the first client through the media channel.
  • a media channel is established between the proxy peer-to-peer network client and the first client, and the first client sends the media stream to the proxy peer network client through the media channel.
  • the proxy peer-to-peer network client mixes the received media stream with the media stream collected by the local end to obtain one media stream, and sends the obtained one-way media stream to the second client through the peer-to-peer network conference channel.
  • the proxy peer-to-peer network client mixes the media stream sent by the second client through the peer-to-peer network conference channel with the media stream collected by the local end to obtain a media stream and obtains the obtained
  • the one-way 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.
  • FIG. 3 is a schematic structural diagram of a proxy peer-to-peer network client according to an embodiment of the present invention.
  • the proxy peer-to-peer network client in the embodiment of the present invention may include at least a media channel establishing unit 301.
  • the media channel establishing unit 301 is configured to establish a media channel with the first client, where the first client does not support the peer-to-peer network conference.
  • the media stream receiving unit 302 is configured to receive a media stream sent by the media channel between the first client and the first client established by the media channel establishing unit 301, where the media stream may include audio sent by the first client. / or video.
  • the media stream receiving unit 302 may also receive media streams sent by other peer network clients participating in the peer-to-peer network conference.
  • the media stream sending unit 303 is configured to send the media streams received by the media stream receiving unit 302 to the corresponding peer network clients participating in the peer network conference by using the peer network conference channel.
  • the media stream sending unit 303 may further send, by using the media channel, the media stream sent by the other peer network client that participates in the peer network conference to the first client.
  • the proxy peer-to-peer network client may further include:
  • the mixing processing unit 304 is configured to perform a mixing process on the media stream received by the media stream receiving unit 302 and the media stream collected by the local end to obtain a media stream that has been subjected to the mixing process.
  • the mixing processing unit 304 may further perform a mixing process on the media stream sent by the at least two clients of the other peer-to-peer network clients that are received by the media stream receiving unit 302 to obtain the media stream.
  • the mixing processing unit 304 may further send, by the media stream receiving unit 302, the media stream sent by at least one of the other peer network clients participating in the peer-to-peer network conference and the media stream collected by the local end. Mixing is performed to obtain a media stream that has undergone mixing processing.
  • the media stream sending unit 303 is further configured to send the one media stream obtained by the mixing processing unit 304 to the corresponding peer network client participating in the peer network conference through the peer network conference channel.
  • the media stream sending unit 303 may further send the one media stream that is obtained by the mixing processing unit 304 to the first client by using the media channel.
  • the media channel establishing unit 301 in the embodiment of the present invention may further include:
  • the call request receiving module 401 is configured to receive call request information sent by the conference control server for the first client.
  • the call request information may be request information that the information body is empty.
  • the call request information may be that the conference control server forwards the received access request information sent by the client that is the conference initiator to the proxy peer. Network client.
  • the media attribute sending module 402 is configured to send, according to the call request information received by the call request receiving module 401, the media attribute information to the conference control server, where the media attribute information may be Including its own supported encoding technology and decoding technology as well as its own port number.
  • 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 to the first client, and the first client can determine the location.
  • the first client may determine whether the at least one encoding technology supported by the first client matches at least one decoding technology supported by the first client, Whether the at least one decoding technology supported by the first type matches the at least one encoding technology supported by the first client, and whether the port number of the first client matches the port number of the first client, etc., if the first client determines the location
  • 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.
  • the media attribute receiving module 403 is configured to receive media attribute information of the first client sent by the conference control server, where the media attribute information of the first client may include an encoding technology and a decoding technology supported by the first client, and a port number of the first client. Wait.
  • the media attribute receiving module 403 can determine whether the media attribute information of the first client matches the media attribute information of the first client. For example, the media attribute receiving module 403 can determine the support of the media attribute.
  • the media attribute receiving module 403 determines that the media attribute information of the client matches the media attribute information of the first client, the media channel establishing module 404 is triggered to establish a media channel with the first client.
  • 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.
  • 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 stream received by the media stream receiving unit 302 to the corresponding peer network client participating in the peer network conference through the peer network conference channel, respectively, without relying on the intermediate node.
  • a client that does not support peer-to-peer network access to peer-to-peer network conferences has lower cost and simpler process.
  • FIG. 5 is a schematic structural diagram of a proxy peer-to-peer network client according to another embodiment of the present invention, which is used to perform a peer-to-peer network conference access method provided by an embodiment of the present invention.
  • the proxy peer-to-peer network client includes: at least one processor 501, such as a CPU, 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. Among them, the communication bus 502 is used to implement connection communication between these components.
  • the first network interface 503 and the second network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
  • the first network interface 503 is for communicating with the first client
  • the second network interface 504 is for communicating with the second client.
  • the memory 505 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the memory 505 can optionally include at least one storage device located remotely from the aforementioned processor 501. As shown in FIG. 5, a set of program codes is stored in the memory 505, and the processor 501 is configured to call the program code stored in the memory 505 for performing the following operations:
  • the received media stream is sent through the peer network conference channel to the second client participating in the peer-to-peer network conference via the second network interface 504.
  • the processor 501 after receiving the media stream sent by the first client through the media channel, the processor 501 performs a mixing process on the received media stream and the media stream collected by the local end to obtain the media stream. a media stream that has been mixed and processed;
  • the processor 501 sends the received media stream to the second client participating in the peer-to-peer network conference through the peer network conference channel through the second network interface 504, specifically:
  • the acquired one-way 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.
  • the processor 501 establishes a media channel with the first client, specifically:
  • the call request information may be request information that the information body is empty.
  • the call request information may be that the conference control server forwards the received access request information sent by the client that is the conference initiator to the proxy peer.
  • Media attribute information Sending the media attribute information of the device to the conference control server according to the received call request information, so that the conference control server sends the media attribute information of the user to the first client, and receives the first client sent by the first client.
  • Media attribute information may include a coding technology and a decoding technology supported by the client, and a port number of the client;
  • the proxy peer-to-peer network client introduced in the embodiment of the present invention can implement peer-to-peer network conferences for clients that do not support peer-to-peer networks without relying on intermediate nodes, and the cost is low and the flow is simple.
  • FIG. 6 is a schematic structural diagram of a peer-to-peer network conference access system according to an embodiment of the present invention.
  • the peer-to-peer network conference access system in the embodiment of the present invention may at least include a proxy pair.
  • the network client 601, the first client 602, and the second client 603, the proxy peer-to-peer client 601 can be combined with the proxy peer-to-peer client shown in FIG. 3, FIG. 4, and FIG. 5, the first client 602.
  • Peer-to-peer web conferencing is not supported, where:
  • the proxy peer network client 601 is configured to establish a media channel with the first client 602.
  • the first client 602 is configured to send a media stream to the proxy peer network client 601 through the media channel, where the media stream may include audio and/or video sent by the first client.
  • the proxy peer-to-peer 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.
  • the proxy peer-to-peer network client 601 can 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 media channel through the media channel.
  • the second client 603 is configured to receive the media stream sent by the proxy peer network client 601.
  • the proxy peer-to-peer network client 601 is further configured to perform a mixing process on the received media stream and the media stream collected by the local end to obtain a media stream that is subjected to the mixing process. And the obtained one-way media stream is sent to the second client 603 through the peer-to-peer network conference channel.
  • the proxy peer-to-peer network client 601 may further perform a mixing process on the media stream sent by the second client 603 and the media stream collected by the local end to obtain a media stream that is subjected to the mixing process, and The incoming media stream is sent to the first client 602 through the media channel.
  • the peer-to-peer network conference access system may further include a conference control server 604, where:
  • the conference control server 604 is configured to send, to the proxy peer network client 601, call request information for the first client 602, where the call request information may be request information that the information body is empty, and optionally, the call request information is also The conference control server 604 may forward the received access request information sent by the client as the conference initiator to the proxy peer network client 601.
  • the conference control server 604 is configured to receive the access request information sent by the client that is the conference initiator, where the client that is the conference initiator may be the proxy peer network client 601 or the second client 603. After receiving the access request information, the control server 604 may determine whether the conference is a peer-to-peer network conference according to the conference attribute corresponding to the conference that the client that is the conference initiator participates in, and the number of clients participating in the conference, if the conference control server 604 Determining whether the conference is a peer-to-peer network conference, determining whether the first client 602 supports the peer-to-peer network conference according to the received access request information; and if the conference control server 604 determines that the conference is not a peer-to-peer network conference, rejecting the first judgment Whether the client 602 supports the peer-to-peer network conference; if the conference control server 604 determines that the conference is a peer-to-peer network conference, and determines that the first client 602 supports the peer--peer network conference
  • the conference control server 604 determines that the conference is a peer-to-peer network conference, and determines, according to the received access request information, that the first client 602 does not support the peer-to-peer network conference, and determines in all clients participating in the peer-to-peer network conference.
  • the proxy peer network client 601 is sent and the call request information is sent to the proxy peer network client 601.
  • the proxy peer-to-peer network client 601 is further configured to send the media attribute information of the proxy peer-to-peer network client 601 to the conference control server 604 according to the received call request information, where the media attribute information may include the proxy peer-to-peer network client 601.
  • the conference control server 604 is further configured to send the received media attribute information of the proxy peer network client 601 to the first client 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 media attribute information of the received proxy peer network client 601.
  • the first client 602 receives the proxy peer sent by the conference control server 604. After the media attribute information of the network client 601, it can be determined whether the media attribute information of the proxy peer network client 601 matches the media attribute information of the first client 602. For example, the first client 602 can determine the proxy peer network client.
  • the terminal 601 matches at least one decoding technology supported by the first client 602, and at least one decoding technology supported by the proxy peer network client 601 and at least one supported by the first client 602 Whether the encoding technology matches, and whether the port number of the proxy peer network client 601 matches the port number of the first client 602, etc., if the first client 602 determines the media attribute information of the proxy peer network client 601 and the first If the media attribute information of the client 602 matches, the media attribute information of the first client 602 is sent to the conference control server 604.
  • the conference control server 604 is further configured to send the received media attribute information of the first client 602 to the proxy peer network client 601, where the media attribute information of the first client 602 may include the code supported by the first client 602. Technology and decoding techniques, as well as the port number of the first client 602, and the like.
  • the proxy peer-to-peer 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.
  • the proxy peer network client 601 may determine the media attribute information of the proxy peer network client 601 and 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 technology supported by the proxy peer network client 601 matches at least one decoding technology supported by the first client 602, proxy peering 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 network client 601 matches the port number of the first client 602, etc. If the proxy peer network client 601 determines that the media attribute information of the proxy peer network client 601 matches the media attribute information of the first client 602, a media channel is established with the first client 602.
  • the first client 602 sends media to the proxy peer network client 601 through a media channel established between the proxy peer-to-peer client 601 and the first client 602.
  • 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, and can implement peer-to-peer support without relying on the intermediate node.
  • the client of the network accesses peer-to-peer network conferences with low cost and simple process.
  • the readable storage medium when executed, may include the flow of an embodiment of the methods as described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the unit or module in the client in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the unit or module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).

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

Disclosed are a peer-to-peer network conference accessing method, a client, and a system. The peer-to-peer network conference accessing method comprises: a proxy peer-to-peer network client establishing a media channel with a first client, wherein the first client does not support a peer-to-peer network conference; the proxy peer-to-peer network client receiving a media stream transmitted by the first client through the media channel; and the proxy peer-to-peer network client transmitting the received media stream respectively through peer-to-peer network conference channels to other corresponding peer-to-peer network clients that participate in the peer-to-peer network conference. By using the present invention, a client that does not support a peer-to-peer network can access a peer-to-peer network conference without depending on an intermediate node, so that the cost is lower and a procedure is simple.

Description

一种对等网络会议接入方法、客户端及系统Peer-to-peer network conference access method, client and system
本申请要求于2014年3月10日提交中国专利局、申请号为201410086604.2、发明名称为“一种对等网络会议接入方法、客户端及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on March 10, 2014, the Chinese Patent Office, the application number is 201410086604.2, and the invention name is “a peer-to-peer network conference access method, client and system”. This is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种对等网络会议接入方法、客户端及系统。The present invention relates to the field of communications technologies, and in particular, to a peer-to-peer network conference access method, client, and system.
背景技术Background technique
P2P(Peer to Peer,对等网络)会议是对应于服务器模式的会议而提出来的一个概念,在服务器模式的会议中,会议控制和媒体流处理都在MCU(Media Control Unit,媒体控制单元)等中间节点上完成,否则将无法进行会议,而P2P会议是指多个客户端之间进行会议时,通过各个客户端之间的协调控制,使各个客户端之间两两建立媒体通道,以使每个客户端都能接收到其他客户端发送的媒体流,实现多人会议功能。P2P会议的核心是各个客户端和其他客户端之间同时两两建立媒体通道,实现同时和多个客户端通信的目的,目前大多数客户端不支持和其他客户端之间同时两两建立媒体通道,例如SIP(Session Initiation Protocol,会话初始化协议)话机,现有技术中可以通过将P2P会议切换成服务器模式的会议,或者通过混音服务器和超级节点对媒体流进行混音和转发,使不支持P2P会议的客户端接入对等网络会议。P2P (Peer to Peer) conference is a concept proposed corresponding to the server mode conference. In the server mode conference, the conference control and media stream processing are all in the MCU (Media Control Unit). If the intermediate node is completed, otherwise the conference will not be possible, and the P2P conference refers to the coordinated control between the clients when the multiple clients are in the conference, so that the media channels are established between the clients. Enable each client to receive media streams sent by other clients to implement multi-person conferencing. 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. At present, most clients do not support media establishment between two clients at the same time. A channel, such as a SIP (Session Initiation Protocol) phone. In the prior art, a P2P conference can be switched to a server mode conference, or the media stream can be mixed and forwarded through a mixing server and a super node. Clients that support P2P conferences access peer-to-peer network conferences.
通过将P2P会议切换成服务器模式的会议,使不支持P2P会议的客户端接入P2P会议的现有技术中,若存在不支持P2P会议的客户端请求接入该P2P会议时,可以通过MCU将P2P会议切换成服务器模式的会议,不支持P2P会议的客户端通过MCU接入经过切换的服务器模式的会议,该现有技术需要MCU的支持和切换会议模式,系统复杂。If the P2P conference is switched to the server mode, the client that does not support the P2P conference accesses the P2P conference. If a client that does not support the P2P conference requests to access the P2P conference, the MCU can The P2P conference is switched to the server mode conference. The client that does not support the P2P conference accesses the conference in the switched server mode through the MCU. The prior art requires the MCU support and the switch conference mode, and the system is complicated.
通过混音服务器和超级节点对媒体流进行混音和转发,使不支持P2P会议的客户端接入P2P会议的现有技术中,将超级节点接入P2P会议,超级节点可以将P2P会议中的多路媒体流发给混音服务器,混音服务器将多路媒体流混 合成一路媒体流,并将该一路媒体流发送给不支持P2P会议的客户端,另外,不支持P2P会议的客户端可以将自身的媒体流通过混音服务器发送给超级节点,超级节点将不支持P2P会议的客户端的媒体流分别发送给其他客户端,实现不支持P2P会议的客户端接入P2P会议,该现有技术需要混音服务器和超级节点的支持,成本较高,流程复杂。The mixing and forwarding of the media stream by the mixing server and the super node enable the client to access the P2P conference in the existing technology that does not support the P2P conference. The super node can access the P2P conference. Multiple media streams are sent to the mixing server, and the mixing server mixes the multiple media streams. Synthesize one media stream and send the one media stream to the client that does not support P2P conference. In addition, the client that does not support P2P conference can send its own media stream to the super node through the mixing server. The super node will not support The media stream of the client of the P2P conference is separately sent to other clients, and the client that does not support the P2P conference accesses the P2P conference. The prior art requires the support of the mixing server and the super node, and the cost is high and the process is complicated.
发明内容Summary of the invention
本发明所要解决的技术问题在于,提供一种对等网络会议接入方法、客户端及系统,可实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。The technical problem to be solved by the present invention is to provide a peer-to-peer network conference access method, a client, and a system, which can implement a peer-to-peer network conference for a client that does not support a peer-to-peer network, and has a low cost and a simple process.
为了解决上述技术问题,本发明第一方面提供了一种对等网络会议接入方法,所述方法包括:In order to solve the above technical problem, the first aspect of the present invention provides a peer-to-peer network conference access method, where the method includes:
代理对等网络客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;Establishing a media channel between the proxy peer network client and the first client, wherein the first client does not support peer-to-peer network conference;
所述代理对等网络客户端接收所述第一客户端通过所述媒体通道发送的媒体流;Receiving, by the proxy peer-to-peer network client, the media stream sent by the first client through the media channel;
所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the received media stream to the corresponding peer network client 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 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 receives the received The media stream and the media stream collected by the local end are mixed and processed to obtain a media stream that has undergone mixing processing;
所述代理对等网络客户端将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端包括;The proxy peer-to-peer network client sends the received media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, respectively;
所述代理对等网络客户端将所述获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client sends the obtained one-way media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
结合第一方面可能的实现方式,在第二种可能的实现方式中,所述代理对等网络客户端与第一客户端之间建立媒体通道包括;In conjunction with the possible implementation of the first aspect, in a second possible implementation, the establishing a media channel between the proxy peer-to-peer network client and the first client includes:
所述代理对等网络客户端接收会议控制服务器发送的针对所述第一客户 端的呼叫请求信息;Receiving, by the proxy peer-to-peer network client, the first client sent by the conference control server End call request information;
所述代理对等网络客户端根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息,以使所述会议控制服务器将所述代理对等网络客户端的媒体属性信息发送给所述第一客户端,并接收所述第一客户端发送的所述第一客户端的媒体属性信息;Sending, by the proxy peer-to-peer network client, media attribute information of the proxy peer network client to the conference control server according to the received call request information, so that the conference control server will use the proxy peer-to-peer network The media attribute information of the client is sent to the first client, and the media attribute information of the first client sent by the first client is received;
所述代理对等网络客户端接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;Receiving, by the proxy peer-to-peer network client, media attribute information of the first client sent by the conference control server;
所述代理对等网络客户端与所述第一客户端之间建立媒体通道。A media channel is established between the proxy peer network client and the first client.
本发明第二方面提供了一种代理对等网络客户端,包括:A second aspect of the present invention provides a proxy peer-to-peer network client, including:
媒体通道建立单元,用于与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议;a media channel establishing unit, configured to establish a media channel with the first client, where the first client does not support a peer-to-peer network conference;
媒体流接收单元,用于接收所述第一客户端通过所述媒体通道建立单元建立的与所述第一客户端之间的媒体通道发送的媒体流;a media stream receiving unit, configured to receive a media stream that is sent by the media channel between the first client and the first client established by the media channel establishing unit;
媒体流发送单元,用于将所述媒体流接收单元接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The media stream sending unit is configured to send the media streams received by the media stream receiving unit to the corresponding peer network clients participating in the peer network conference by using the peer network conference channel.
在第一种可能的实现方式中,所述代理对等网络客户端还包括;In a first possible implementation manner, the proxy peer-to-peer network client further includes:
混音处理单元,用于将所述媒体流接收单元接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;a mixing processing unit, configured to perform a mixing process on the media stream received by the media stream receiving unit and the media stream collected by the local end to obtain a media stream that has been subjected to the mixing process;
所述媒体流发送单元,还用于将所述混音处理单元获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。The media stream sending unit is further configured to send the one media stream obtained by the mixing processing unit to the corresponding peer network client participating in the peer network conference through the peer network conference channel.
结合第二方面可能的实现方式,在第二种可能的实现方式中,所述媒体通道建立单元包括;In conjunction with the possible implementation of the second aspect, in a second possible implementation, the media channel establishing 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 media attribute information of the proxy peer 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 will use the proxy The media attribute information of the peer network client is sent to the first client, and the media attribute information of the first client sent by the first client is received;
媒体属性接收模块,用于接收所述会议控制服务器发送的所述第一客户端的媒体属性信息;a media attribute receiving module, configured to receive 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.
本发明第三方面提供了一种对等网络会议接入系统,所述系统包括第一客户端、第二客户端以及代理对等网络客户端,所述第一客户端不支持对等网络会议,其中:A third aspect of the present invention provides a peer-to-peer network conference access system, the system comprising a first client, a second client, and a proxy peer network client, the first client does not support peer-to-peer network conference ,among them:
所述代理对等网络客户端,用于与所述第一客户端之间建立媒体通道;The proxy peer-to-peer network client is configured to establish a media channel with the first client;
所述第一客户端,用于通过所述媒体通道向所述代理对等网络客户端发送媒体流;The first client is configured to send a media stream to the proxy peer network client by using 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 a media stream sent by the proxy peer network client.
在第一种可能的实现方式中,所述代理对等网络客户端,还用于将所述接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将所述获取到的一路媒体流通过所述对等网络会议通道发送给所述第二客户端。In a first possible implementation manner, the proxy peer-to-peer network client is further configured to perform mixing processing on the received media stream and the media stream collected by the local end to obtain a sound-mixed process. And the one-way media stream is sent 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 peer network client;
所述代理对等网络客户端,还用于根据所述接收到的呼叫请求信息向所述会议控制服务器发送所述代理对等网络客户端的媒体属性信息;The proxy peer-to-peer network client is further configured to send media attribute information of the proxy peer-to-peer 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 peer network client to the first client;
所述第一客户端,还用于根据所述接收到的所述代理对等网络客户端的媒体属性信息向所述会议控制服务器发送所述第一客户端的媒体属性信息;The first client is further configured to send media attribute information of the first client to the conference control server according to the received media attribute information of the proxy peer network client;
所述会议控制服务器,还用于将所述接收到的所述第一客户端的媒体属性信息发送给所述代理对等网络客户端;The conference control server is further configured to send the received media attribute information of the first client to the proxy peer network client;
所述代理对等网络客户端,还用于接收所述会议控制服务器发送的所述第 一客户端的媒体属性信息,并与所述第一客户端之间建立媒体通道。The proxy peer-to-peer network client is further configured to receive the first part sent by the conference control server a media attribute information of a client and establishing a media channel with the first client.
实施本发明实施例,具有如下有益效果:代理对等网络客户端与第一客户端之间建立媒体通道,其中所述第一客户端不支持对等网络会议,接收所述第一客户端通过所述媒体通道发送的媒体流,将所述接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,本发明实施例可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。The implementation of 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 the peer-to-peer network conference, and the first client is received. The media stream sent by the media channel sends the received media stream to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, and the embodiment of the present invention can be independent of the middle. In the case of a node, the client that does not support the peer-to-peer network accesses the peer-to-peer network conference, and the cost is low and the process is simple.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例中提供的一种对等网络会议接入方法的流程示意图;1 is a schematic flowchart of a peer-to-peer network conference access method according to an embodiment of the present invention;
图2是本发明另一实施例中提供的一种对等网络会议接入方法的流程示意图;2 is a schematic flowchart of a peer-to-peer network conference access method according to another embodiment of the present invention;
图3是本发明实施例中提供的一种代理对等网络客户端的结构示意图;3 is a schematic structural diagram of a proxy peer-to-peer network client according to an embodiment of the present invention;
图4是本发明实施例中图3的媒体通道建立单元的结构示意图;4 is a schematic structural diagram of a media channel establishing unit of FIG. 3 according to an embodiment of the present invention;
图5是本发明另一实施例中提供的一种代理对等网络客户端的结构示意图;FIG. 5 is a schematic structural diagram of a proxy peer-to-peer network client according to another embodiment of the present invention; FIG.
图6是本发明实施例中提供的一种对等网络会议接入系统的结构示意图。FIG. 6 is a schematic structural diagram of a peer-to-peer network conference access system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中的对等网络会议接入方法可以在代理对等网络客户端中实现与第一客户端之间建立媒体通道,接收第一客户端通过媒体通道发送的媒 体流,并将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。本发明实施例所提及的代理对等网络客户端是根据预设的代理选取算法在参与对等网络会议的所有对等网络客户端中选取的,其中所述第一客户端不支持对等网络会议。The peer-to-peer network conference access method in the embodiment of the present invention may implement establishing a media channel with the first client in the proxy peer-to-peer network client, and receiving the media sent by the first client through the media channel. The body stream is sent to the corresponding peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel, and the peer-to-peer network can be implemented without relying on the intermediate node. The client accesses peer-to-peer network conferences with low cost and simple process. The proxy peer-to-peer network client mentioned in the embodiment of the present invention is selected according to a preset proxy selection algorithm among all peer-to-peer network clients participating in the peer-to-peer network conference, wherein the first client does not support peer-to-peer online meeting.
请参见图1,图1是本发明实施例中提供的一种对等网络会议接入方法的流程示意图,该对等网络会议接入方法是从代理对等网络客户端的角度进行描述的,如图所示,该对等网络会议接入方法可以包括以下步骤:Referring to FIG. 1, FIG. 1 is a schematic flowchart of a method for accessing a peer-to-peer network conference according to 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, such as As shown in the figure, the peer-to-peer network conference access method may include the following steps:
步骤S101,与第一客户端之间建立媒体通道。Step S101: Establish a media channel with the first client.
代理对等网络客户端与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议。A media channel is established between the proxy peer network client and the first client, wherein the first client does not support peer-to-peer network conference.
具体实现中,代理对等网络客户端可以接收会议控制服务器发送的针对第一客户端的呼叫请求信息,该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的,代理对等网络客户端根据接收到的呼叫请求信息向会议控制服务器发送代理对等网络客户端的媒体属性信息,以使会议控制服务器将代理对等网络客户端的媒体属性信息发送给第一客户端,第一客户端将第一客户端的媒体属性信息发送给会议控制服务器,代理对等网络客户端接收会议控制服务器发送的第一客户端的媒体属性信息,进一步的,代理对等网络客户端与第一客户端之间建立媒体通道,其中媒体属性信息可以包括客户端支持的编码技术和解码技术以及客户端的端口号等。In a specific implementation, the proxy peer-to-peer network client may receive the call request information sent by the conference control server for the first client, where the call request information may be request information that the information body is empty. Optionally, the call request information may also be The conference control server forwards the access request information sent by the client that is the conference initiator to the proxy peer network client, and the proxy peer network client sends the proxy pair to the conference control server according to the received call request information. The media attribute information of the network client is sent to the conference control server to send the media attribute information of the proxy 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 pair The network client receives the media attribute information of the first client sent by the conference control server. Further, the proxy peer network client establishes a media channel with the first client, where the media attribute information may include a coding technology supported by the client. And decoding technology and client Port number.
作为一种可选的实施方式,代理对等网络客户端与第一客户端之间建立媒体通道之前,代理对等网络客户端还可以接收会议控制服务器发送的通知信息,该通知信息用于指示第一客户端将接入所述对等网络会议,并指示该代理对等网络客户端确定为第一客户端的代理客户端。As an optional implementation manner, before the proxy peer-to-peer network client establishes a media channel with the first client, the proxy peer-to-peer network client may further receive the notification information sent by the conference control server, where the notification information is used to indicate The first client will access the peer-to-peer network conference and instruct the proxy peer network client to determine the proxy client as the first client.
Figure PCTCN2015072828-appb-000001
Figure PCTCN2015072828-appb-000001
Figure PCTCN2015072828-appb-000002
Figure PCTCN2015072828-appb-000002
示例性的通知信息可以如上所示,代理对等网络客户端可以根据该通知信息中的“<cmd>5005</cmd>”,知悉该代理对等网络客户端确定为第一客户端D的代理客户端,该代理对等网络客户端还可以根据该通知信息中的“<attendee type=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP(Session Initiation Protocol,会话初始化协议)的终端,其中第一客户端D将接入所述对等网络会议。The exemplary notification information may be as shown above, and the proxy peer-to-peer network client may know that the proxy peer-to-peer network client is determined to be the first client D according to "<cmd>5005</cmd>" in the notification information. The proxy client, the peer-to-peer network client can also know that the type of the first client D is based on SIP (Session Initiation Protocol) according to "<attendee type='sip'>D</attendee>" in the notification information. , Session Initiation Protocol), where the first client D will access the peer-to-peer network conference.
步骤S102,接收第一客户端通过所述媒体通道发送的媒体流。Step S102: Receive a media stream that is sent by the first client by using the media channel.
代理对等网络客户端和第一客户端之间建立媒体通道后,代理对等网络客户端可以接收第一客户端通过该媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。After establishing a media channel between the proxy peer-to-peer network client and the first client, the proxy peer-to-peer network client may receive the media stream sent by the first client through the media channel, where the media stream may include the first client sending Audio and / or video.
作为一种可选的实施方式,代理对等网络客户端还可以接收参与所述对等网络会议的其他对等网络客户端发送的媒体流。As an optional implementation manner, the proxy peer-to-peer network client may also receive media streams sent by other peer-to-peer network clients participating in the peer-to-peer network conference.
步骤S103,将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。Step S103: The received media streams are respectively sent to the corresponding peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
代理对等网络客户端可以将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端。The proxy peer-to-peer network client can send the received media streams 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 a specific implementation, after receiving the media stream sent by the first client, the proxy peer network client may perform a mixing process on the received media stream and the media stream collected by the local end to obtain a mixed processing method. Media stream, further, the proxy peer-to-peer network client can send the obtained one-way media stream to the peer-to-peer network client participating in the peer-to-peer network conference through the peer-to-peer network conference channel.
作为一种可选的实施方式,代理对等网络客户端还可以接收参与所述对等网络会议的其他对等网络客户端中的一个客户端通过所述对等网络会议通道发送的媒体流,并将接收到的媒体流通过媒体通道发送给第一客户端。可选的,代理对等网络客户端可以将接收到的参与所述对等网络会议的其他对等网络 客户端中的至少两个客户端发送的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端。进一步可选的,代理对等网络客户端可以将接收到的参与所述对等网络会议的其他对等网络客户端中的至少一个客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端。As an optional implementation manner, the proxy peer-to-peer network client may also receive a media stream sent by one of the other peer network clients participating in the peer-to-peer network conference through the peer-to-peer network conference channel. And sending the received media stream to the first client through the media channel. Optionally, the proxy peer-to-peer network client may receive other peer-to-peer networks that participate in the peer-to-peer network conference. The media stream sent by the at least two clients in the client is mixed to obtain a media stream, and the obtained media stream is sent to the first client through the media channel. Further optionally, the proxy peer-to-peer network client may mix the media stream sent by the at least one client of the other peer network clients participating in the peer-to-peer network conference with the media stream collected by the local end. The sound processing is performed to obtain a media stream, and the obtained media stream is sent to the first client through the media channel.
在图1所示的对等网络会议接入方法中,代理对等网络客户端与第一客户端之间建立媒体通道,接收第一客户端通过媒体通道发送的媒体流,并将接收到的媒体流分别通过对等网络会议通道发送给对应的参与对等网络会议的其他对等网络客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the peer-to-peer network conference access method shown in FIG. 1, a proxy peer network client establishes a media channel with the first client, and receives a media stream sent by the first client through the media channel, and receives the received The media streams are respectively 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 peer-to-peer network that does not support the peer-to-peer network can be implemented without relying on the intermediate node. Meetings, low cost and simple process.
请参见图2,图2是本发明另一实施例中提供的一种对等网络会议接入方法的流程示意图,其中代理对等网络客户端和第二客户端支持对等网络会议,第一客户端不支持对等网络会议,如图所示,该对等网络会议接入方法可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a peer-to-peer network conference access method according to another embodiment of the present invention, where a proxy peer-to-peer network client and a second client support peer-to-peer network conference, first The client does not support peer-to-peer network conference. As shown in the figure, the peer-to-peer network conference access method may include the following steps:
步骤S201,会议控制服务器向代理对等网络客户端发送通知信息。In step S201, the conference control server sends the notification information to the proxy peer network client.
具体实现中,会议控制服务器接收作为会议发起方的客户端发送的接入请求信息,其中作为会议发起方的客户端可以是代理对等网络客户端或第二客户端,会议控制服务器接收到接入请求信息后,可以根据作为会议发起方的客户端参与的会议对应的会议属性以及参与该会议的客户端数量判断该会议是否是对等网络会议,若会议控制服务器判断该会议是对等网络会议,则进一步根据接收到的接入请求信息判断第一客户端是否支持对等网络会议;若会议控制服务器判断该会议不是对等网络会议,则拒绝判断第一客户端是否支持对等网络会议;若会议控制服务器根据接收到的接入请求信息判断第一客户端不支持对等网络会议,则在参与所述对等网络会议的所有客户端中确定代理对等网络客户端;若会议控制服务器根据接收到的接入请求信息判断第一客户端支持对等网络会议,则拒绝在参与所述对等网络会议的所有客户端中确定代理对等网络客户端。 In a specific implementation, the conference control server receives the access request information sent by the client that is the conference initiator, where the client that is the conference initiator may be the proxy peer network client or the second client, and the conference control server receives the connection. After the request information is entered, it may be determined according to the conference attribute corresponding to the conference attended by the client that is the initiator of the conference and the number of clients participating in the conference, whether the conference is a peer-to-peer network conference, and if the conference control server determines that the conference is a peer-to-peer network. The conference further determines, according to the received access request information, whether the first client supports the peer-to-peer network conference; if the conference control server determines that the conference is not a peer-to-peer network conference, it refuses to determine whether the first client supports the peer-to-peer network conference. If the conference control server determines, according to the received access request information, that the first client does not support the peer-to-peer network conference, determining the proxy peer-to-peer network client among all clients participating in the peer-to-peer network conference; The server determines the first client according to the received access request information. Supports peer to peer network meetings, refused to determine the agent peer network clients in all clients involved in the peer network meeting.
Figure PCTCN2015072828-appb-000003
Figure PCTCN2015072828-appb-000003
示例性的接入请求信息可以如上所示,会议控制服务器可以根据该接入请求信息中的“<attendee type=’sip’>D</attendee>”,判断第一客户端D的类型是基于SIP的终端,第一客户端D不支持对等网络会议。The exemplary access request information may be as shown above, and the conference control server may determine, according to "<attendee type='sip'>D</attendee>" in the access request information, that the type of the first client D is based on For SIP terminals, the first client D does not support peer-to-peer network conferences.
若会议控制服务器判断第一客户端不支持对等网络会议,则根据预设代理选取算法比较参与该对等网络会议的各个客户端的处理器能力、内存容量以及带宽大小,并在参与该对等网络会议的所有客户端中确定代理对等网络客户端,进一步的向代理对等网络客户端发送通知信息,该通知信息用于指示第一客户端将接入该对等网络会议,并指示该代理对等网络客户端确定为第一客户端的代理客户端,代理对等网络客户端接收到该通知信息后,可以在代理对等网络客户端的屏幕中显示第一客户端将接入该对等网络会议。If the conference control server determines that the first client does not support the peer-to-peer network conference, compares the processor capability, the memory capacity, and the bandwidth of each client participating in the peer-to-peer network conference according to the preset proxy selection algorithm, and participates in the peer-to-peer Determining the proxy peer network client among all the clients of the web conference, and further sending the notification information to the proxy peer network client, the notification information is used to indicate that the first client will access the peer network conference, and indicate the The proxy peer-to-peer network client determines as the proxy client of the first client, and after receiving the notification information, the proxy peer-to-peer network client may display, on the screen of the proxy peer-to-peer network client, that the first client will access the peer. online meeting.
Figure PCTCN2015072828-appb-000004
Figure PCTCN2015072828-appb-000004
示例性的通知信息可以如上所示,代理对等网络客户端可以根据该通知信息中的“<cmd>5005</cmd>”,知悉该代理对等网络客户端确定为第一客户端D的代理客户端,该代理对等网络客户端还可以根据该通知信息中的“<attendee type=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP (Session Initiation Protocol,会话初始化协议)的终端,其中第一客户端D将接入所述对等网络会议。The exemplary notification information may be as shown above, and the proxy peer-to-peer network client may know that the proxy peer-to-peer network client is determined to be the first client D according to "<cmd>5005</cmd>" in the notification information. The proxy client, the peer-to-peer network client can also know that the type of the first client D is based on SIP according to "<attendee type='sip'>D</attendee>" in the notification information. (Session Initiation Protocol), where the first client D will access the peer-to-peer network conference.
步骤S202,会议控制服务器向第二客户端发送描述信息。Step S202: The conference control server sends the description information to the second client.
会议控制服务器判断第一客户端不支持对等网络会议后,可以向第二客户端发送描述信息,该描述信息用于指示第一客户端将接入该对等网络会议,第二客户端接收到该描述信息后,可以在第二客户端的屏幕中显示第一客户端将接入该对等网络会议。After the conference control server determines that the first client does not support the peer network conference, the conference information may be sent to the second client, where the description information is used to indicate that the first client accesses the peer network conference, and the second client receives After the description information, the second client may display that the first client will access the peer-to-peer network conference.
Figure PCTCN2015072828-appb-000005
Figure PCTCN2015072828-appb-000005
示例性的描述信息可以如上所示,第二客户端可以根据该描述信息中的“<attendee type=’sip’>D</attendee>”,知悉第一客户端D的类型是基于SIP的终端,其中第一客户端D将接入所述对等网络会议。The 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. Where the first client D will access the peer-to-peer network conference.
步骤S203,会议控制服务器向代理对等网络客户端发送呼叫请求信息。Step S203: The conference control server sends the call request information to the proxy peer network client.
会议控制服务器向代理对等网络客户端发送通知信息后,可以向代理对等网络客户端发送呼叫请求信息,该呼叫请求信息可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的,可选的,该呼叫请求信息也可以是信息体为空的请求信息。After the conference control server sends the notification information to the proxy peer network client, the conference request information may be sent to the proxy peer network client, where the call request information may be sent by the conference control server as the client of the conference initiator. The access request information is forwarded to the proxy peer network client. Optionally, the call request information may also be request information that the information body is empty.
步骤S204,代理对等网络客户端向会议控制服务器发送呼叫响应信息,该呼叫响应信息携带代理对等网络客户端的媒体属性信息。Step S204: The proxy peer network client sends call response information to the conference control server, where the call response information carries media attribute information of the proxy peer network client.
代理对等网络客户端接收到会议控制服务器发送的呼叫请求信息后,可以向会议控制服务器发送呼叫响应信息,该呼叫响应信息携带代理对等网络客户端的媒体属性信息,其中该媒体属性信息可以包括代理对等网络客户端支持的编码技术和解码技术以及代理对等网络客户端的端口号等。After receiving the call request information sent by the conference control server, the proxy peer network client may send call response information to the conference control server, where the call response information carries media attribute information of the proxy peer network client, where 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 network client.
步骤S205,会议控制服务器根据呼叫响应信息向第一客户端发送呼叫响 应。Step S205, the conference control server sends a call to the first client according to the call response information. should.
会议控制服务器接收到代理对等网络客户端发送的呼叫响应信息后,根据所述呼叫响应信息向第一客户端发送呼叫响应,其中该呼叫响应可以包括代理对等网络客户端的媒体属性信息。After receiving the call response information sent by the proxy peer network client, the conference control server sends a call response to the first client according to the call response information, where the call response may include media attribute information of the proxy peer network client.
步骤S206,第一客户端向会议控制服务器发送答复确认信息。Step S206, the first client sends a reply confirmation message to the conference control server.
具体实现中,第一客户端接收到会议控制服务器发送的代理对等网络客户端的媒体属性信息后,可以判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息是否匹配,例如,第一客户端可以判断代理对等网络客户端支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,代理对等网络客户端支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及代理对等网络客户端的端口号与第一客户端的端口号是否匹配等,若第一客户端判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息匹配,则向会议控制服务器发送答复确认信息,该答复确认信息携带第一客户端的媒体属性信息,其中该媒体属性信息可以包括第一客户端支持的编码技术和解码技术以及第一客户端的端口号等。In a specific implementation, after receiving the media attribute information of the proxy peer network client sent by the conference control server, the first client may determine whether the media attribute information of the proxy peer network client matches the media attribute information of the first client, for example, The first client may determine whether at least one encoding technology supported by the proxy 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 network client and the first Whether at least one encoding technology supported by the client matches, and whether the port number of the proxy peer network client matches the port number of the first client, etc., if the first client determines the media attribute information of the proxy peer network client and the first If the media attribute information of the client matches, the acknowledgment information is sent to the conference control server, where the acknowledgment information carries the media attribute information of the first client, where the media attribute information may include the coding technology and decoding technology supported by the first client, and the The port number of a client, etc.
步骤S207,会议控制服务器根据答复确认信息向代理对等网络客户端发送答复确认。Step S207: The conference control server sends a reply confirmation to the proxy peer 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 peer network client according to the reply confirmation information, where the reply confirmation may include the media attribute information of the first client.
步骤S208,代理对等网络客户端与第一客户端之间建立媒体通道。Step S208, establishing a media channel between the proxy peer network client and the first client.
具体实现中,代理对等网络客户端接收到会议控制服务器发送的答复确认后,可以判断代理对等网络客户端的媒体属性信息和第一客户端的媒体属性信息是否匹配,例如,代理对等网络客户端可以判断代理对等网络客户端支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,代理对等网络客户端支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及代理对等网络客户端的端口号与第一客户端的端口号是否匹配等,若代理对等网络客户端判断代理对等网络客户端的媒体属性信息与第一客户端的媒体属性信息匹配,则与第一客户端之间建立媒体通道。 In a specific implementation, after receiving the reply confirmation sent by the conference control server, the proxy peer network client may determine whether the media attribute information of the proxy peer network client matches the media attribute information of the first client, for example, proxy peer network client. The terminal may determine whether at least one coding technology supported by the proxy 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 network client and the first client support Whether at least one of the encoding technologies matches, and whether the port number of the proxy peer network client matches the port number of the first client, etc., if the proxy peer network client determines the media attribute information of the proxy peer network client and the first client When 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 peer network client through the media channel.
代理对等网络客户端与第一客户端之间建立媒体通道后,第一客户端可以通过所述媒体通道向代理对等网络客户端发送媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。After the proxy peer network client establishes a media channel with the first client, the first client may send the media stream to the proxy peer network client through the media channel, where the media stream may include the first client sending Audio and / or video.
步骤S210,代理对等网络客户端将第一客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流。Step S210: The proxy peer-to-peer network client performs a mixing process on the media stream sent by the first client and the media stream collected by the local end to obtain a media stream.
步骤S211,代理对等网络客户端将获取到的一路媒体流通过对等网络会议通道发送给第二客户端。Step S211, the proxy peer-to-peer network client sends the obtained one-way media stream to the second client through the peer-to-peer network conference channel.
步骤S212,第二客户端通过对等网络会议通道向代理对等网络客户端发送媒体流。Step S212, the second client sends the media stream to the proxy peer network client through the peer-to-peer network conference channel.
步骤S213,代理对等网络客户端将第二客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流。Step S213: The proxy peer network client performs a mixing process on the media stream sent by the second client and the media stream collected by the local end to obtain one media stream.
步骤S214,代理对等网络客户端将获取到的一路媒体流通过媒体通道发送给第一客户端。Step S214: The proxy peer-to-peer network client sends the obtained one-way media stream to the first client through the media channel.
在图2所示的对等网络会议接入方法中,代理对等网络客户端与第一客户端之间建立媒体通道,第一客户端通过媒体通道向代理对等网络客户端发送媒体流,代理对等网络客户端将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过对等网络会议通道发送给第二客户端,进一步的,代理对等网络客户端将第二客户端通过对等网络会议通道发送的媒体流和本端采集到的媒体流进行混音处理,以获取一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端,可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。In the peer-to-peer network conference access method shown in FIG. 2, a media channel is established between the proxy peer-to-peer network client and the first client, and the first client sends the media stream to the proxy peer network client through the media channel. The proxy peer-to-peer network client mixes the received media stream with the media stream collected by the local end to obtain one media stream, and sends the obtained one-way media stream to the second client through the peer-to-peer network conference channel. Further, the proxy peer-to-peer network client mixes the media stream sent by the second client through the peer-to-peer network conference channel with the media stream collected by the local end to obtain a media stream and obtains the obtained The one-way 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。Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a proxy peer-to-peer network client according to an embodiment of the present invention. As shown, the proxy peer-to-peer network client in the embodiment of the present invention may include at least a media channel establishing unit 301. The media stream receiving unit 302 and the media stream transmitting unit 303.
媒体通道建立单元301,用于与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议。 The media channel establishing unit 301 is configured to establish a media channel with the first client, where the first client does not support the peer-to-peer network conference.
媒体流接收单元302,用于接收第一客户端通过媒体通道建立单元301建立的与第一客户端之间的媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频。可选的,媒体流接收单元302还可以接收参与所述对等网络会议的其他对等网络客户端发送的媒体流。The media stream receiving unit 302 is configured to receive a media stream sent by the media channel between the first client and the first client established by the media channel establishing unit 301, where the media stream may include audio sent by the first client. / or video. Optionally, the media stream receiving unit 302 may also receive media streams sent by other 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 the corresponding peer network clients participating in the peer network conference by using the peer network conference channel. Optionally, the media stream sending unit 303 may further send, by using the media channel, the media stream sent by the other peer network client that participates in the peer network conference to the first client.
作为一种可选的实施方式,所述代理对等网络客户端还可以包括:As an optional implementation manner, the proxy peer-to-peer network client may further include:
混音处理单元304,用于将媒体流接收单元302接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流。可选的,混音处理单元304还可以将媒体流接收单元302接收到的参与对等网络会议的其他对等网络客户端中的至少两个客户端发送的媒体流进行混音处理,以获取经过混音处理的一路媒体流。可选的,混音处理单元304还可以将媒体流接收单元302接收到的参与对等网络会议的其他对等网络客户端中的至少一个客户端发送的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流。The mixing processing unit 304 is configured to perform a mixing process on the media stream received by the media stream receiving unit 302 and the media stream collected by the local end to obtain a media stream that has been subjected to the mixing process. Optionally, the mixing processing unit 304 may further perform a mixing process on the media stream sent by the at least two clients of the other peer-to-peer network clients that are received by the media stream receiving unit 302 to obtain the media stream. A media stream that has been mixed and processed. Optionally, the mixing processing unit 304 may further send, by the media stream receiving unit 302, the media stream sent by at least one of the other peer network clients participating in the peer-to-peer network conference and the media stream collected by the local end. Mixing is performed to obtain a media stream that has undergone mixing processing.
所述媒体流发送单元303,还用于将混音处理单元304获取到的一路媒体流分别通过对等网络会议通道发送给对应的参与所述对等网络会议的其他对等网络客户端。可选的,媒体流发送单元303还可以将混音处理单元304获取到的一路媒体流通过媒体通道发送给第一客户端。The media stream sending unit 303 is further configured to send the one media stream obtained by the mixing processing unit 304 to the corresponding peer network client participating in the peer network conference through the peer network conference channel. Optionally, the media stream sending unit 303 may further send the one media stream that is obtained by the mixing processing unit 304 to the first client by using the media channel.
作为一种可选的实施方式,本发明实施例中的媒体通道建立单元301可以如图4所示,进一步包括:As an optional implementation manner, the media channel establishing unit 301 in the embodiment of the present invention may further include:
呼叫请求接收模块401,用于接收会议控制服务器发送的针对第一客户端的呼叫请求信息。该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的。The call request receiving module 401 is configured to receive call request information sent by the conference control server for the first client. The call request information may be request information that the information body is empty. Optionally, the call request information may be that the conference control server forwards the received access request information sent by the client that is the conference initiator to the proxy peer. Network client.
媒体属性发送模块402,用于根据呼叫请求接收模块401接收到的呼叫请求信息向会议控制服务器发送自身的媒体属性信息,其中该媒体属性信息可以 包括自身支持的编码技术和解码技术以及自身的端口号等。The media attribute sending module 402 is configured to send, according to the call request information received by the call request receiving module 401, the media attribute information to the conference control server, where the media attribute information may be Including its own supported encoding technology and decoding technology as well as its own port number.
具体实现中,媒体属性发送模块402向会议控制服务器发送自身的媒体属性信息,以使会议控制服务器将接收到的所述自身的媒体属性信息发送给第一客户端,第一客户端可以判断所述自身的媒体属性信息和第一客户端的媒体属性信息是否匹配,例如,第一客户端可以判断所述自身支持的至少一种编码技术与第一客户端支持的至少一种解码技术是否匹配,所述自身支持的至少一种解码技术与第一客户端支持的至少一种编码技术是否匹配,以及所述自身的端口号与第一客户端的端口号是否匹配等,若第一客户端判断所述自身的媒体属性信息与第一客户端的媒体属性信息匹配,则向会议控制服务器发送第一客户端的媒体属性信息。In a 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 to the first client, and the first client can determine the location. Whether the media attribute information of the first client 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 the first client matches at least one decoding technology supported by the first client, Whether the at least one decoding technology supported by the first type matches the at least one encoding technology supported by the first client, and whether the port number of the first client matches the port number of the first client, etc., if the first client determines the location When 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 media attribute information of the first client sent by the conference control server, where the media attribute information of the first client may include an encoding technology and a decoding technology supported by the first client, and a port number of the first client. Wait. In a specific implementation, after receiving the media attribute information of the first client, the media attribute receiving module 403 can determine whether the media attribute information of the first client matches the media attribute information of the first client. For example, the media attribute receiving module 403 can determine the support of the media attribute. Whether at least one encoding technique matches at least one decoding technology supported by the first client, whether at least one decoding technology supported by itself matches at least one encoding technology supported by the first client, and its own port number and number Whether the port number of a client matches, etc., if the media attribute receiving module 403 determines that the media attribute information of the client matches the media attribute information of the first client, the media channel establishing module 404 is triggered 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 client shown in FIG. 3 and FIG. 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 stream received by the media stream receiving unit 302 to the corresponding peer network client participating in the peer network conference through the peer network conference channel, respectively, without relying on the intermediate node. A client that does not support peer-to-peer network access to peer-to-peer network conferences has lower cost and simpler process.
请参见图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中存储的程序代码,用于执行以下操作:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a proxy peer-to-peer network client according to another embodiment of the present invention, which is used to perform a peer-to-peer network conference access method provided by an embodiment of the present invention. As shown in FIG. 5, the proxy peer-to-peer network client includes: at least one processor 501, such as a CPU, 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. Among them, the communication bus 502 is used to implement connection communication between these components. The first network interface 503 and the second network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The first network interface 503 is for communicating with the first client, and the second network interface 504 is for communicating with the second client. The memory 505 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory. The memory 505 can optionally include at least one storage device located remotely from the aforementioned processor 501. As shown in FIG. 5, a set of program codes is stored in the memory 505, and the processor 501 is configured to call the program code stored in the memory 505 for performing the following operations:
与第一客户端之间建立媒体通道,其中第一客户端不支持对等网络会议;Establishing a media channel with the first client, where the first client does not support peer-to-peer network conference;
通过第一网络接口503接收第一客户端通过所述媒体通道发送的媒体流,其中该媒体流可以包括第一客户端发送的音频和/或视频;Receiving, by the first network interface 503, a media stream that is sent by the first client by using the media channel, where the media stream may include audio and/or video sent by the first client;
通过第二网络接口504将接收到的媒体流通过对等网络会议通道发送给参与对等网络会议的第二客户端。The received media stream is sent through the peer network conference channel to the second client participating in the peer-to-peer network conference via the second network interface 504.
在一个实施例中,处理器501通过第一网络接口503接收第一客户端通过媒体通道发送的媒体流之后,将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流;In an embodiment, after receiving the media stream sent by the first client through the media channel, the processor 501 performs a mixing process on the received media stream and the media stream collected by the local end to obtain the media stream. a media stream that has been mixed and processed;
处理器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 network conference channel through the second network interface 504, specifically:
通过第二网络接口504将获取到的一路媒体流通过对等网络会议通道发送给参与所述对等网络会议的第二客户端。The acquired one-way 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与第一客户端之间建立媒体通道,具体为:In an embodiment, the processor 501 establishes a media channel with the first client, specifically:
接收会议控制服务器发送的针对第一客户端的呼叫请求信息。该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端的; Receiving call request information sent by the conference control server for the first client. The call request information may be request information that the information body is empty. Optionally, the call request information may be that the conference control server forwards the received access request information sent by the client that is the conference initiator to the proxy peer. Network client
根据接收到的呼叫请求信息向会议控制服务器发送自身的媒体属性信息,以使会议控制服务器将所述自身的媒体属性信息发送给第一客户端,并接收第一客户端发送的第一客户端的媒体属性信息,其中媒体属性信息可以包括客户端支持的编码技术和解码技术以及客户端的端口号等;Sending the media attribute information of the device to the conference control server according to the received call request information, so that the conference control server sends the media attribute information of the user to the first client, and receives the first client sent by the first client. Media attribute information, where the media attribute information may include a coding technology and a decoding technology supported by the client, and a port number of the client;
接收会议控制服务器发送的第一客户端的媒体属性信息;Receiving media attribute information of the first client sent by the conference control server;
与第一客户端之间建立媒体通道。Establish a media channel with the first client.
具体的,本发明实施例介绍的代理对等网络客户端可在不依赖中间节点的情况下,实现不支持对等网络的客户端接入对等网络会议,成本较低,流程简单。Specifically, the proxy peer-to-peer network client introduced in the embodiment of the present invention can implement peer-to-peer network conferences for clients that do not support peer-to-peer networks without relying on intermediate nodes, and the cost is low and the flow is simple.
请参见图6,图6是本发明实施例中提供的一种对等网络会议接入系统的结构示意图,如图所示本发明实施例中的对等网络会议接入系统至少可以包括代理对等网络客户端601、第一客户端602以及第二客户端603,代理对等网络客户端601可以结合图3、图4以及图5所示的代理对等网络客户端,第一客户端602不支持对等网络会议,其中:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a peer-to-peer network conference access system according to 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 network client 601, the first client 602, and the second client 603, the proxy peer-to-peer client 601 can be combined with the proxy peer-to-peer client shown in FIG. 3, FIG. 4, and FIG. 5, the first client 602. Peer-to-peer web conferencing is not supported, where:
代理对等网络客户端601,用于与第一客户端602之间建立媒体通道。The proxy 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 peer 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 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 can 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 media channel through the media channel. A client 602.
第二客户端603,用于接收代理对等网络客户端601发送的媒体流。The second client 603 is configured to receive the media stream sent by the proxy peer network client 601.
作为一种可选的实施方式,代理对等网络客户端601,还用于将接收到的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将获取到的一路媒体流通过对等网络会议通道发送给第二客户端603。可选的,代理对等网络客户端601还可以将第二客户端603发送的媒体流和本端采集到的媒体流进行混音处理,以获取经过混音处理的一路媒体流,并将获取到的一路媒体流通过媒体通道发送给第一客户端602。 As an optional implementation, the proxy peer-to-peer network client 601 is further configured to perform a mixing process on the received media stream and the media stream collected by the local end to obtain a media stream that is subjected to the mixing process. And the obtained one-way media stream is sent to the second client 603 through the peer-to-peer network conference channel. Optionally, the proxy peer-to-peer network client 601 may further perform a mixing process on the media stream sent by the second client 603 and the media stream collected by the local end to obtain a media stream that is subjected to the mixing process, and The incoming 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 further include a conference control server 604, where:
会议控制服务器604,用于向代理对等网络客户端601发送针对第一客户端602的呼叫请求信息,该呼叫请求信息可以是信息体为空的请求信息,可选的,该呼叫请求信息也可以是会议控制服务器604将接收到的作为会议发起方的客户端发送的接入请求信息转发给代理对等网络客户端601的。The conference control server 604 is configured to send, to the proxy peer network client 601, call request information for the first client 602, where the call request information may be request information that the information body is empty, and optionally, the call request information is also The conference control server 604 may forward the received access request information sent by the client as the conference initiator to the proxy peer 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 configured to receive the access request information sent by the client that is the conference initiator, where the client that is the conference initiator may be the proxy peer network client 601 or the second client 603. After receiving the access request information, the control server 604 may determine whether the conference is a peer-to-peer network conference according to the conference attribute corresponding to the conference that the client that is the conference initiator participates in, and the number of clients participating in the conference, if the conference control server 604 Determining whether the conference is a peer-to-peer network conference, determining whether the first client 602 supports the peer-to-peer network conference according to the received access request information; and if the conference control server 604 determines that the conference is not a peer-to-peer network conference, rejecting the first judgment Whether the client 602 supports the peer-to-peer network conference; if the conference control server 604 determines that the conference is a peer-to-peer network conference, and determines that the first client 602 supports the peer-to-peer network conference according to the received access request information, the conference is rejected. Determining the proxy peer-to-peer network client 601 among all clients of the peer-to-peer network conference; The conference control server 604 determines that the conference is a peer-to-peer network conference, and determines, according to the received access request information, that the first client 602 does not support the peer-to-peer network conference, and determines in all clients participating in the peer-to-peer network conference. The proxy peer network client 601 is sent and the call request information is sent to the proxy peer network client 601.
代理对等网络客户端601,还用于根据接收到的呼叫请求信息向会议控制服务器604发送代理对等网络客户端601的媒体属性信息,该媒体属性信息可以包括代理对等网络客户端601支持的编码技术和解码技术以及代理对等网络客户端601的端口号等。The proxy peer-to-peer network client 601 is further configured to send the media attribute information of the proxy peer-to-peer network client 601 to the conference control server 604 according to the received call request information, where the media attribute information may include the proxy peer-to-peer network client 601. The encoding technology and decoding technology and the port number of the proxy peer network client 601, and the like.
会议控制服务器604,还用于将接收到的代理对等网络客户端601的媒体属性信息发送给第一客户端602。The conference control server 604 is further configured to send the received media attribute information of the proxy peer network 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 media attribute information of the received proxy peer network client 601.
具体实现中,第一客户端602接收到会议控制服务器604发送的代理对等 网络客户端601的媒体属性信息后,可以判断代理对等网络客户端601的媒体属性信息与第一客户端602的媒体属性信息是否匹配,例如,第一客户端602可以判断代理对等网络客户端601支持的至少一种编码技术与第一客户端602支持的至少一种解码技术是否匹配,代理对等网络客户端601支持的至少一种解码技术与第一客户端602支持的至少一种编码技术是否匹配,以及代理对等网络客户端601的端口号与第一客户端602的端口号是否匹配等,若第一客户端602判断代理对等网络客户端601的媒体属性信息与第一客户端602的媒体属性信息匹配,则向会议控制服务器604发送第一客户端602的媒体属性信息。In a specific implementation, the first client 602 receives the proxy peer sent by the conference control server 604. After the media attribute information of the network client 601, it can be determined whether the media attribute information of the proxy peer network client 601 matches the media attribute information of the first client 602. For example, the first client 602 can determine the proxy peer network client. Whether at least one encoding technology supported by the terminal 601 matches at least one decoding technology supported by the first client 602, and at least one decoding technology supported by the proxy peer network client 601 and at least one supported by the first client 602 Whether the encoding technology matches, and whether the port number of the proxy peer network client 601 matches the port number of the first client 602, etc., if the first client 602 determines the media attribute information of the proxy peer network client 601 and the first If the media attribute information of the client 602 matches, the media attribute information of the first client 602 is sent 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 network client 601, where the media attribute information of the first client 602 may include the code supported by the first client 602. Technology and decoding techniques, as well as the port number of the first client 602, and the like.
代理对等网络客户端601,还用于接收会议控制服务器604发送的第一客户端602的媒体属性信息,并与第一客户端602之间建立媒体通道。The proxy peer-to-peer 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 receiving the media attribute information of the first client 602 sent by the conference control server 604, the proxy peer network client 601 may determine the media attribute information of the proxy peer network client 601 and 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 technology supported by the proxy peer network client 601 matches at least one decoding technology supported by the first client 602, proxy peering 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 network client 601 matches the port number of the first client 602, etc. If the proxy peer network client 601 determines that the media attribute information of the proxy peer network client 601 matches the media attribute information of the first client 602, a media channel is established 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 network client 601 through a media channel established between the proxy peer-to-peer client 601 and the first client 602. 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, and can implement peer-to-peer support without relying on the intermediate node. The client of the network accesses peer-to-peer network conferences with low cost and simple process.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机 可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer. The readable storage medium, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例客户端中的单元或模块可以根据实际需要进行合并、划分和删减。The unit or module in the client in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本发明实施例中所述单元或模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The unit or module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (9)

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

Applications Claiming Priority (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
CN201410086604.2 2014-03-10

Publications (1)

Publication Number Publication Date
WO2015135408A1 true WO2015135408A1 (en) 2015-09-17

Family

ID=54070911

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018189337A1 (en) * 2017-04-13 2018-10-18 Unify Patente Gmbh & Co. Kg Method for conducting an audio and/or video conference

Families Citing this family (3)

* 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
US11349780B2 (en) * 2020-09-03 2022-05-31 Mellanox Technologies, Ltd. Enhancing port link-up time

Citations (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
US20090132717A1 (en) * 2007-11-20 2009-05-21 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

Patent Citations (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
US20090132717A1 (en) * 2007-11-20 2009-05-21 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018189337A1 (en) * 2017-04-13 2018-10-18 Unify Patente Gmbh & Co. Kg Method for conducting an audio and/or video conference
US11444821B2 (en) 2017-04-13 2022-09-13 Ringcentral, Inc. Method for conducting an audio and/or video conference

Also Published As

Publication number Publication date
CN104917620A (en) 2015-09-16

Similar Documents

Publication Publication Date Title
KR100752038B1 (en) A Method of RTP Element Selection for Multimedia Conference in Dynamic Multicast Tree
US10009389B2 (en) Scalable conference bridge
US9332583B2 (en) Multipoint communication device and method of performing switching from multipoint communication to point-to-point communication
US10887359B2 (en) Parallel peer to peer connection establishment in webRTC conferencing
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
US20150188928A1 (en) Private-public chat functionality
CA2892271A1 (en) Methods and systems for peer-to-peer discovery and connection from a collaborative application session
WO2008004879A2 (en) Method and system for establishing a conference call between a remote and a local endpoint
JP2007329582A (en) Group communication server
WO2015135408A1 (en) Peer-to-peer network conference accessing method, client, and system
WO2015131750A1 (en) Method, device and system for establishing multi-party call based on web rtc
WO2012163075A1 (en) Video conferencing processing method, apparatus and communication system
CN106549978B (en) Session mode switching method and proxy server
US8994782B2 (en) Local media rendering
US9438857B2 (en) Video conferencing system and multi-way video conference switching method
US9264662B2 (en) Chat preauthorization
US20190253666A1 (en) Call Processing Method and Gateway
US9912623B2 (en) Systems and methods for adaptive context-aware control of multimedia communication sessions
US20170034227A1 (en) System and methods for an online conference session
US9936164B2 (en) Media control method and device
JP4573333B2 (en) Service switching method, server, terminal, and program in group communication
US20180343292A1 (en) Method and server for real-time data streaming in a media session
Saveliev et al. Architecture of data exchange with minimal client-server interaction at multipoint video conferencing
CN114915748A (en) Method, system and related device for dynamically switching audio and video communication modes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15760940

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15760940

Country of ref document: EP

Kind code of ref document: A1