CN107770141B - Communication method and device of video conference system - Google Patents

Communication method and device of video conference system Download PDF

Info

Publication number
CN107770141B
CN107770141B CN201610708194.XA CN201610708194A CN107770141B CN 107770141 B CN107770141 B CN 107770141B CN 201610708194 A CN201610708194 A CN 201610708194A CN 107770141 B CN107770141 B CN 107770141B
Authority
CN
China
Prior art keywords
ims
webrtc
terminal
identifier
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610708194.XA
Other languages
Chinese (zh)
Other versions
CN107770141A (en
Inventor
巫妍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610708194.XA priority Critical patent/CN107770141B/en
Publication of CN107770141A publication Critical patent/CN107770141A/en
Application granted granted Critical
Publication of CN107770141B publication Critical patent/CN107770141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/103Media gateways in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The invention discloses a communication method and a device of a video conference system, comprising the following steps: the method comprises the steps that a gateway receives a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal; the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain; the gateway searches a second IMS identifier corresponding to a second WebRTC identifier for the second terminal according to the mapping relation database; and the gateway sends the first communication message to the second terminal through an IMS domain according to the first IMS identifier and the second IMS identifier.

Description

Communication method and device of video conference system
Technical Field
The invention relates to the field of video network communication and the field of internet, in particular to a communication method and a communication device of a video conference system.
Background
With the development of the world wide web and the mobile internet, hypertext Markup Language 5(HTML5, Hyper Text Markup Language) is becoming a hot spot for marketing and standard pursuits. As a development direction of new network technology, an important core technology content of HTML5 is Web Real-Time Communication (WebRTC). WebRTC realizes a web-based video conference, and aims to achieve real-time communication capability by providing simple java scripts (javascript) through a browser. In recent years, the WebRTC standard is effectively promoted by the Internet Engineering Task Force (IETF) and the world wide web consortium (W3C), and more browsers start to support the WebRTC technology, so that a cheap and convenient audio-video communication mode is realized by a user directly through the browser. The multimedia video conference system has the advantages that the WebRTC technology is utilized to directly carry out the multimedia video conference on the browser, and other HTML5 technologies are combined to realize screen sharing, instant communication and the like on the browser, so that the system is a powerful supplement to the traditional multimedia conference system, and brings great convenience to government and enterprise offices, enterprise-to-user (B2C) customer service, online education and the like based on the public cloud of an operator.
In lightweight video call services and call center agent (agent) services, the WebRTC technology will continuously penetrate into various enterprise applications.
The final purpose of the WebRTC project is mainly to enable a Web developer to easily and quickly develop rich real-time multimedia applications based on a browser (such as Chrome, FireFox and the like), without downloading and installing any plug-in, and the Web developer does not need to pay attention to the digital signal processing process of multimedia and can realize the rich real-time multimedia applications only by writing a simple Javascript program. Organizations such as W3C are responsible for making Javascript standard API, and in addition, WebRTC also hopes to establish a robust real-time communication platform among multiple Internet browsers to form a good ecological environment between developers and browser manufacturers.
Various applications based on the WebRTC technology are also gradually appearing in the market in recent years. These applications are characterized by being developed using WEB page (WEB) technology, and because browser manufacturers have gradually supported WebRTC technology, applications developed using WebRTC technology can also be run on notebook (PC) terminals or cell phone terminals of various browsers supporting WebRTC.
For a traditional IP Multimedia Subsystem (IMS) network, an IMS conference system is already mature, and when WebRTC is developed as a new technology, a scheme for WebRTC to access IMS or IMS to access WebRTC also provides requirements for the docking of new and old systems.
The development difficulty can be reduced by using the WebRTC architecture, so that a developer can develop Web application with audio and video communication by using javascript, and the development difficulty is reduced, therefore, the IMS access is added in the WebRTC audio and video system, and the development tendency and the requirement of the technical development that the developer can complete the interconnection and the intercommunication with the IMS by using the WebRTC architecture and the development method are met. Based on the above, how to effectively realize the IMS access to the WebRTC audio/video system is an urgent problem to be solved.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention provide a communication method and apparatus for a video conference system, which can effectively implement that an IMS terminal accesses a WebRTC audio/video system.
The communication method of the video conference system provided by the embodiment of the invention comprises the following steps:
the method comprises the steps that a gateway receives a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal;
the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain;
the gateway searches a second IMS identifier corresponding to a second WebRTC identifier for the second terminal according to the mapping relation database;
and the gateway sends the first communication message to the second terminal through an IMS domain according to the first IMS identifier and the second IMS identifier.
In the embodiment of the present invention, the method further includes:
an IMS connection pool is added in the gateway in advance;
when the gateway is started or initialized, the gateway registers N IMS identifications in an IMS domain, wherein N is a positive integer, and the N IMS identifications are stored in an IMS connection pool;
in the operation process of the gateway, the gateway maintains the N IMS identifications in an active state in an IMS domain, wherein the IMS identifications in the active state can communicate in the IMS domain.
In this embodiment of the present invention, the matching, by the gateway, a first IMS identifier corresponding to a first WebRTC identifier for the first terminal according to the IMS connection pool includes:
the gateway determines, according to the first communication message, that the transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
searching whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists in a mapping relation database; and when the first WebRTC identifier is not found out, the gateway allocates a first IMS identifier for the first terminal in an IMS connection pool, and stores the corresponding relation between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relation database.
In this embodiment of the present invention, after the matching of the first IMS identifier corresponding to the first WebRTC identifier for the first terminal, the method further includes:
the gateway converts a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
accordingly, the sending the first communication message to the second terminal via the IMS domain includes:
and sending the first communication message in the second protocol format to the second terminal through the IMS domain.
In the embodiment of the present invention, the method further includes:
before a first terminal communicates with a second terminal, the gateway receives a registration request message which is sent by the second terminal and used for registering to a WebRTC domain through an IMS domain;
the gateway converts the second protocol format of the registration request message in the IMS domain into the first protocol format in the WebRTC domain and then sends the first protocol format to the WebRTC server;
the gateway receives a registration success message sent by the WebRTC server, and stores a corresponding relation between a second WebRTC identifier distributed by the WebRTC server for the second terminal and a second IMS identifier of the second terminal into the mapping relation database;
and the gateway converts the first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain and then sends the second protocol format to the second terminal through the IMS domain.
In the embodiment of the present invention, the method further includes:
the gateway receives a second communication message sent by a second terminal through an IMS domain, wherein the sending side corresponding to the second communication message is the second terminal, and the receiving side corresponding to the second communication message is the first terminal;
the gateway searches a second WebRTC identifier corresponding to a second IMS identifier for the second terminal according to the mapping relation database;
the gateway searches a first WebRTC identifier corresponding to the first IMS identifier for the first terminal according to the mapping relation database;
and the gateway sends the second communication message to the first terminal through a WebRTC server according to the second WebRTC identification and the first WebRTC identification.
In this embodiment of the present invention, after the first WebRTC identifier corresponding to the first IMS identifier is found for the first terminal, the method further includes:
the gateway converts the second protocol format of the second communication message in the IMS domain into the first protocol format in the WebRTC domain;
correspondingly, the sending the second communication message to the first terminal via the WebRTC server includes:
and sending the second communication message in the first protocol format to the first terminal through the WebRTC server.
The communication device of the video conference system provided by the embodiment of the invention comprises:
the receiving unit is used for receiving a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal;
the matching unit is used for matching a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain;
the searching unit is used for searching a second IMS identifier corresponding to the second WebRTC identifier for the second terminal according to the mapping relation database;
and the sending unit is used for sending the first communication message to the second terminal through an IMS domain according to the first IMS identification and the second IMS identification.
In the embodiment of the present invention, the apparatus further includes:
the setting unit is used for adding an IMS connection pool in advance;
a registration unit, configured to register N IMS identifiers in an IMS domain when a gateway is started or initialized, where N is a positive integer, and store the N IMS identifiers in the IMS connection pool;
and a maintaining unit, configured to maintain, in an IMS domain, the N IMS identifiers in an active state during an operation of the gateway, where the IMS identifiers in the active state can perform communication in the IMS domain.
In an embodiment of the present invention, the matching unit includes:
a direction determining subunit, configured to determine, according to the first communication message, that a transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
a searching subunit, configured to search, in a mapping relationship database, whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists;
the allocation subunit is used for allocating a first IMS identifier to the first terminal in an IMS connection pool when the first IMS identifier is not found out;
and the storage subunit is configured to store the correspondence between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relationship database.
In the embodiment of the present invention, the apparatus further includes:
the protocol conversion unit is used for converting a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit is further configured to send the first communication message in the second protocol format to the second terminal through the IMS domain.
In this embodiment of the present invention, the receiving unit is further configured to receive, via an IMS domain, a registration request message sent by a second terminal and used for registering to a WebRTC domain before the first terminal communicates with the second terminal;
the device further comprises: the protocol conversion unit is used for converting a second protocol format of the registration request message in the IMS domain into a first protocol format in the WebRTC domain;
the sending unit is further configured to send a registration request message in a first protocol format to the WebRTC server;
the receiving unit is further configured to receive a registration success message sent by the WebRTC server;
the device further comprises: a storage unit, configured to store, in the mapping relationship database, a correspondence between a second WebRTC identifier allocated by the WebRTC server to the second terminal and a second IMS identifier of the second terminal;
the protocol conversion unit is further configured to convert a first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit is further configured to send a registration success message in a second protocol format to the second terminal.
In this embodiment of the present invention, the receiving unit is further configured to receive, via an IMS domain, a second communication message sent by a second terminal, where a sending side corresponding to the second communication message is the second terminal, and a receiving side corresponding to the second communication message is the first terminal;
the searching unit is further configured to search for a second WebRTC identifier corresponding to a second IMS identifier for the second terminal according to the mapping relationship database; according to the mapping relation database, searching a first WebRTC identifier corresponding to a first IMS identifier for the first terminal;
the sending unit is further configured to send the second communication message to the first terminal through a WebRTC server according to the second WebRTC identifier and the first WebRTC identifier.
In the embodiment of the present invention, the apparatus further includes:
the protocol conversion unit is used for converting a second protocol format of the second communication message in the IMS domain into a first protocol format in the WebRTC domain;
the sending unit is further configured to send the second communication message in the first protocol format to the first terminal through the WebRTC server.
In the technical scheme of the embodiment of the invention, an IMS connection pool is added in a gateway in advance; the method comprises the steps that a gateway receives a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal; the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain; the gateway searches a second IMS identifier corresponding to a second WebRTC identifier for the second terminal according to the mapping relation database; and the gateway sends the first communication message to the second terminal through an IMS domain according to the first IMS identifier and the second IMS identifier. Therefore, the gateway converts the WebRTC identifier and the IMS identifier, so that the IMS terminal can be identified as a WebRTC terminal in the WebRTC domain, and the WebRTC terminal can also be regarded as an IMS terminal in the IMS domain. The efficiency of accessing the IMS terminal to the WebRTC domain is improved, and the efficiency of using the WebRTC domain to carry out other related services such as audio and video calls or audio and video conferences and the like is improved.
Drawings
The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a general architecture diagram of a WebRTC server and an IMS domain connected according to an embodiment of the present invention;
FIG. 2 is a functional architecture diagram of a WEBRTC/IMS gateway in an embodiment of the present invention;
fig. 3 is a schematic flowchart of a WebRTC terminal calling an IMS terminal according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an IMS terminal registering to a WebRTC domain according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a WebRTC terminal registering an IMS domain according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of an IMS terminal calling a WebRTC terminal according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a WebRTC terminal a calling an IMS terminal B according to an embodiment of the present invention;
fig. 8 is a WebRTC multiparty conference signaling and media channel connection diagram according to an embodiment of the present invention;
fig. 9 is a flowchart of an IMS user being invited to join a WebRTC audio-video conference according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a communication method of a video conference system according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a communication device of a video conference system according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
WebRTC is an important component of HTML5 standard, realizes real-time communication between browsers, and more browsers support the WebRTC standard. Typical application scenarios of the WebRTC technology and the standard are point-to-point call, multiparty video conference, customer service center and remote education. That is to say, the browser application developed by using the WebRTC technology can realize the functions of microphone acquisition, screen sharing, camera acquisition, streaming media transmission and the like in real-time communication, so that a user can perform real-time communication in the browser.
Related services such as multiparty video conference, customer service center and the like exist in the traditional IMS network, WebRTC is taken as an implementation scheme of a browser, the butt joint requirement with the original video conference system gradually becomes a wide requirement along with the popularization of WebRTC, and after the interconnection and intercommunication between the IMS video conference system and the WebRTC video conference system are established, the use scenes of the original IMS terminal and the original WebRTC terminal can be expanded.
In the embodiment of the invention, the WebRTC terminal is also called as a first terminal, and is a terminal running in a WebRTC video conference system; the IMS terminal, which is a terminal operating in an IMS video conferencing system, is also referred to as a second terminal.
In order to enable a terminal in a WebRTC video conference system and a terminal in an IMS video conference system to communicate with each other, the embodiment of the invention provides a communication method of the video conference system, and provides an improvement method for accessing the IMS terminal to the WebRTC video conference system.
In the technical scheme of the embodiment of the invention, an IMS connection pool is created in a WebRTC/IMS gateway in advance, N IMS identifications are maintained and configured in the IMS connection pool, N is a positive integer, the IMS identifications are also called IMS identifications, one terminal corresponds to one IMS identification representing the terminal in an IMS domain, and the terminal can communicate in the IMS domain by utilizing the IMS identifications. Similarly, a terminal corresponds to a WebRTC identifier representing the terminal in a WebRTC domain, and the terminal can communicate in the WebRTC domain by using the WebRTC identifier.
When the WebRTC terminal and the IMS terminal are interconnected and intercommunicated to carry out audio and video call, the IMS terminal can be used as a WebRTC terminal to identify, and the WebRTC terminal can also be used as an IMS terminal to identify. In this way, the IMS terminal in the WebRTC domain can use the functions in the WebRTC domain like the WebRTC terminal, and likewise, the WebRTC terminal in the IMS domain can use the functions in the IMS domain like the IMS terminal. And when the IMS terminal is in the WebRTC domain, the delay is greatly reduced because the matching of the IMS terminal and the WebRTC account number is processed in advance in the invention, and the user hardly feels the difference between the WebRTC terminal and the IMS terminal. (IMS/WebRTC connection pool is a gateway in WebRTC domain, which can only improve the connection efficiency of IMS terminal in WebRTC domain, but cannot be improved by the design when WebRTC terminal is in IMS domain).
Fig. 10 is a schematic flowchart of a communication method of a video conference system according to an embodiment of the present invention, and as shown in fig. 10, the communication method of the video conference system includes the following steps:
step 1001: the gateway receives a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal.
In the embodiment of the invention, the session in the WebRTC domain uses the ROAP protocol, and the session in the IMS domain uses the SIP protocol. If an IMS terminal needs to be accessed in a WebRTC domain, a WebRTC/IMS gateway is needed to be added to complete the conversion between the ROAP protocol and the SIP protocol, and the WebRTC/IMS gateway is a main functional module for realizing the interconnection and intercommunication of the WebRTC terminal and the IMS terminal.
In the embodiment of the invention, the gateway integrates the functions of the WebRTC gateway and the IMS gateway, and is called as the WebRTC/IMS gateway. The first terminal is a WebRTC terminal, and the second terminal is an IMS terminal.
In the embodiment of the invention, before step 101, an IMS connection pool is added in the gateway in advance; when the gateway is started or initialized, the gateway registers N IMS identifications in an IMS domain, wherein N is a positive integer, and the N IMS identifications are stored in an IMS connection pool; in the operation process of the gateway, the gateway maintains the N IMS identifications in an active state in an IMS domain, wherein the IMS identifications in the active state can communicate in the IMS domain.
Step 1002: the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; wherein the IMS connection pool has a plurality of activated IMS identities registered to an IMS domain after initialization.
In the embodiment of the invention, the identifier is also called a number, and the identifier can uniquely represent the terminal.
In the embodiment of the invention, in order to improve the efficiency of cross-domain calling between the WebRTC terminal and the IMS terminal, an IMS identifier maintenance module is added in the WebRTC/IMS gateway. The IMS identification maintenance module can maintain N IMS connection pools containing IMS identifications in the gateway, and the gateway actively registers all the IMS identifications in the IMS connection pools to an IMS domain and is in an activated state on the IMS domain for IMS identification maintenance.
In this embodiment of the present invention, the matching, by the gateway, a first IMS identifier corresponding to a first WebRTC identifier for the first terminal according to the IMS connection pool includes:
the gateway determines, according to the first communication message, that a transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
searching whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists in a mapping relation database; and when the first WebRTC identifier is not found out, the gateway allocates a first IMS identifier for the first terminal in an IMS connection pool, and stores the corresponding relation between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relation database.
In this embodiment of the present invention, after the matching of the first IMS identifier corresponding to the first WebRTC identifier for the first terminal, the method further includes:
the gateway converts a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
step 1003: and the gateway searches a second IMS identifier corresponding to the second WebRTC identifier for the second terminal according to the mapping relation database.
In the embodiment of the invention, before a first terminal communicates with a second terminal, a gateway receives a registration request message which is sent by the second terminal and used for registering to a WebRTC domain through an IMS domain;
the gateway converts the second protocol format of the registration request message in the IMS domain into the first protocol format in the WebRTC domain and then sends the first protocol format to the WebRTC server;
the gateway receives a registration success message sent by the WebRTC server, and stores a corresponding relation between a second WebRTC identifier distributed by the WebRTC server for the second terminal and a second IMS identifier of the second terminal into the mapping relation database;
and the gateway converts the first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain and then sends the second protocol format to the second terminal through the IMS domain.
Step 1004: and the gateway sends the first communication message to the second terminal through an IMS domain according to the first IMS identifier and the second IMS identifier.
In this embodiment of the present invention, the sending the first communication message to the second terminal via the IMS domain includes:
and sending the first communication message in the second protocol format to the second terminal through the IMS domain.
Furthermore, the method further comprises:
the gateway receives a second communication message sent by a second terminal through an IMS domain, wherein the sending side corresponding to the second communication message is the second terminal, and the receiving side corresponding to the second communication message is the first terminal;
the gateway searches a second WebRTC identifier corresponding to a second IMS identifier for the second terminal according to the mapping relation database;
the gateway searches a first WebRTC identifier corresponding to the first IMS identifier for the first terminal according to the mapping relation database;
and the gateway sends the second communication message to the first terminal through a WebRTC server according to the second WebRTC identification and the first WebRTC identification.
In the foregoing solution, after the first WebRTC identifier corresponding to the first IMS identifier is found for the first terminal, the method further includes:
the gateway converts the second protocol format of the second communication message in the IMS domain into the first protocol format in the WebRTC domain;
correspondingly, the sending the second communication message to the first terminal via the WebRTC server includes:
and sending the second communication message in the first protocol format to the first terminal through the WebRTC server.
In the embodiment of the present invention, the first protocol format and the second protocol format are related to a specific network application scenario, and in an embodiment, the first protocol format is an ROAP protocol and the second protocol format is an SIP protocol. Accordingly, messages based on the first protocol format may be referred to as ROAP messages and messages based on the second protocol format may be referred to as SIP messages. For example: the message is called from a terminal of a WebRTC domain to an IMS domain terminal, when the gateway receives the message, the WebRTC number of the WebRTC domain is translated into an IMS number of the IMS domain, and at this time, an IMS number is searched in an IMS connection pool for a WebRTC calling party, and then the message is translated into an SIP message and sent to the IMS domain. Similarly, when a return message of the call reaches the IMS gateway, the source calling number in the SIP message only needs to be matched with the original WebRTC number, the IMS number is matched with the corresponding WebRTC number, the SIP message is translated into the ROAP message, and the ROAP message is returned to the WebRTC domain.
In the embodiment of the invention, when a communication message (such as a calling message) of the WebRTC terminal arrives, the gateway replaces the WebRTC identifier of the calling party with an idle number in the IMS connection pool and forwards the idle number to the IMS terminal. In addition, the communication message (which is a SIP message) returned by the IMS terminal will also replace the IMS identity with the original WebRTC identity. From the IMS domain perspective, this is only an intra-domain call; when the IMS terminal calls the proxy IMS identification, the WebRTC server replaces the called proxy IMS identification with the WebRTC identification and then forwards the webRTC identification to the WebRTC terminal. When the ROAP message returned by the WebRTC terminal is converted into the SIP message, the WebRTC identifier is replaced by the original IMS identifier, so that cross-domain calling is realized.
The method for maintaining the IMS connection pool in the WEBRTC/IMS gateway greatly enhances the efficiency and speed of cross-domain calling between the IMS domain and the WEBRTC domain and improves the waiting time of the original cross-domain calling. The user experience is enhanced, and seamless docking between the IMS domain and the WebRTC domain is realized.
Fig. 1 is a general architecture diagram of a WebRTC server and an IMS domain connected according to an embodiment of the present invention. Wherein:
the main functions of the WebRTC server are to complete signaling interaction of the WebRTC, firewall traversal and other basic functions, and the WebRTC server is a core module of the WebRTC standard.
The main functions of the WebRTC media server are to complete media communication, mixed screen management and conference management during a WebRTC conference.
The WebRTC/IMS gateway has the main function of completing the conversion between the ROAP protocol and the SIP protocol, and for the message sent to the IMS domain, the WebRTC/IMS gateway translates the message of the ROAP protocol into the SIP message and sends the SIP message to the IMS domain, and the ROAP protocol and the SIP message both conform to the SDP protocol. And the interconnection and intercommunication of the WebRTC terminal and the IMS terminal are realized.
The media server in the IMS domain is responsible for the media communication management of the IMS terminal and the IMS conference management, and in the embodiment of the present invention, the media server may be any functional module that performs similar functions in the IMS implementation.
In the WEBRTC/IMS gateway, in the original function of interconnecting with the IMS, the WEBRTC/IMS gateway is only responsible for the conversion and translation of the ROAP protocol and the SIP protocol, when the WebRTC terminal calls the IMS terminal, the gateway translates the ROAP protocol of the WebRTC standard into the SIP protocol, and when receiving the message of the SIP protocol returned by the IMS terminal, the WEBRTC/IMS gateway converts the SIP protocol into the ROAP protocol. In the original implementation, an IMS terminal calls a WebRTC terminal, and first needs to register on a WebRTC server through a WebRTC/IMS gateway. A WebRTC terminal calls an IMS terminal and needs to register to an IMS domain through a WEBRTC/IMS gateway first. The registration process usually consumes a certain amount of time when the IMS terminal and the WebRTC terminal are connected for the first time, so that the interconnection between the WebRTC terminal and the IMS terminal is delayed to a certain extent with respect to the connection inside the WebRTC. The embodiment of the invention improves the function of the WEBRTC/IMS gateway, an IMS connection pool module is added in the WEBRTC/IMS gateway, the main function of the IMS connection pool module is to maintain an IMS connection pool, when the WEBRTC/IMS gateway is started and initialized, the WEBRTC/IMS gateway actively registers N IMS identifications (also called identifications) in an IMS domain, and the N is configurable. The WEBRTC/IMS gateway regularly keeps the IMS domain alive for the N IMS identifications so as to ensure that the IMS identifications can communicate in the IMS domain at any time. Therefore, when the WebRTC terminal and the IMS terminal need to communicate with each other, the experience of mutual communication with the WebRTC domain can be realized in real-time communication only by matching the WebRTC identifier with the IMS identifier in the IMS connection pool through the WEBRTC/IMS gateway, similar to non-delay communication, and unnecessary time for waiting for registration is reduced.
Fig. 2 is a functional architecture diagram of a WEBRTC/IMS gateway in an embodiment of the present invention. The improved WEBRTC/IMS gateway comprises three main functional modules: the system comprises an IMS connection pool module, a protocol conversion module and an account matching module. Wherein:
an IMS connection pool module: the IMS identifier (also called IMS temporary number) for maintaining the corresponding configuration number is responsible for registering N IMS temporary numbers to the IMS domain when the gateway is turned on or initialized, and periodically keeping the IMS identifiers alive.
A protocol conversion module: the method is used for performing protocol conversion when signaling interaction is performed between the WebRTC domain and the IMS domain, wherein the WebRTC domain uses a ROAP protocol, and the IMS domain uses a SIP protocol.
An account matching module: according to the corresponding application process, after an IMS identifier is allocated to a WebRTC user (also called a WebRTC terminal), or a WebRTC identifier is allocated to an IMS user (also called an IMS terminal), the account matching module records the matching relationship, when signaling interaction is carried out between an IMS domain and a WebRTC domain, the account matching module needs to inquire the account corresponding relationship, and carries out number conversion on signaling of both parties according to the existing corresponding relationship and then carries out protocol conversion.
The WebRTC audio-video conference/audio-video call realized by the WEBRTC/IMS gateway enables the WebRTC terminal to realize cross-domain call and cross-domain audio-video conference with the IMS terminal. The response speed of the original IMS terminal access is accelerated, the waiting time consumed by the registration of the IMS terminal before calling or audio and video conference is greatly improved, and the efficiency and the user experience of the cross-domain calling are accelerated.
Each detail of the communication method of the video conference system according to the embodiment of the present invention is described in detail below with reference to a specific embodiment.
Example one
In this embodiment, when the WebRTC terminal calls the IMS terminal number, the WebRTC/IMS gateway performs number matching and protocol conversion. Firstly, when a WEBRTC/IMS gateway is started, an IMS connection pool module initializes an IMS connection pool, namely N numbers are registered in an IMS domain according to the configuration of a system, and in the running process of the gateway, the IMS domain is removed on time to keep alive for the N IMS identifications. When the gateway receives a request of calling an IMS terminal from a WebRTC domain, the number matching module searches whether the WebRTC identification has a corresponding IMS identification, if not, the number matching module distributes an IMS identification for the WebRTC identification and then forwards the message to the protocol conversion module, and if so, the number matching module directly forwards the message to the protocol conversion module. And the protocol conversion module carries out protocol conversion on the call request according to the corresponding relation between the WebRTC identifier and the IMS identifier and then sends the call request to the IMS domain.
The message from the WebRTC domain to the IMS domain is to convert the ROAP protocol into the SIP protocol, and the message from the IMS domain to the WebRTC domain is to convert the SIP protocol into the ROAP protocol. And processing signaling according to the flow for all the dialogue messages processed by the WEBRTC/IMS gateway. In the conversation between the WebRTC terminal and the IMS terminal, the WebRTC terminal and the IMS terminal complete protocol translation in signaling interaction through a WEBRTC/IMS gateway, and the media channel passes through a point-to-point protocol of a WebRTC standard. After the IMS terminal responds to the call of the WebRTC terminal, the WebRTC terminal establishes a media channel with a media gateway of an IMS domain, and the IMS terminal completes the establishment of a point-to-point media channel through the media gateway of the IMS and the WebRTC terminal.
Fig. 3 is a schematic flowchart of a WebRTC terminal calling an IMS terminal according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes:
step 301: the WEBRTC/IMS gateway is initially started, an IMS connection pool module initializes an IMS connection pool, the number of the system configuration connection pools is 100, the gateway initiates a message to an IMS domain, registers 100 numbers in the IMS domain and keeps keeping alive for the 100 numbers.
Step 302: the WEBRTC/IMS gateway receives a request from the WebRTC terminal to call the IMS terminal.
Step 303: and the number matching module searches whether the WebRTC identification has a corresponding IMS identification, if not, an IMS identification is allocated and then the next step is carried out, and if so, the next step is directly carried out.
Step 304: after the number matching is completed, the protocol conversion module performs protocol conversion on the call message, and the number conversion and protocol translation are performed on the message by using the number corresponding rule in the subsequent dialogue between the WebRTC terminal and the IMS terminal.
Step 305: the called IMS terminal receives the call corresponding to the IMS calling number from the calling WebRTC terminal and responds, and the calling WebRTC terminal and the media gateway of the called IMS terminal establish a point-to-point media channel.
The method comprises the steps that an IMS terminal is accessed in other WebRTC applications such as a point-to-point calling process or a conference, all signaling interaction between the IMS terminal and an IMS domain needs to be carried out through a WEBRTC/IMS gateway for number matching and protocol translation, an IMS connection pool improves the efficiency of the connection between the WebRTC terminal and the IMS terminal and reduces the waiting time of registering the IMS domain, after the IMS connection pool function is used, the connection between the WebRTC terminal and the IMS terminal is close to the connection between the WebRTC terminals in delay, and therefore user experience is greatly improved.
Example two
When the IMS terminal wants to call the WebRTC terminal, unlike the case where the WebRTC terminal calls the IMS terminal, the IMS terminal needs to register in the WebRTC domain before calling.
Fig. 4 is a schematic flowchart of a process of registering an IMS terminal to a WebRTC domain according to an embodiment of the present invention, where as shown in fig. 4, the process includes:
step 401: the IMS terminal initiates a request for registering to the WebRTC domain to the IMS domain.
Step 402: the IMS domain forwards the registration request from the IMS terminal to the WEBRTC/IMS gateway.
Step 403: and the WEBRTC/IMS gateway translates the registration request of the IMS terminal according to the conversion from the SIP protocol to the ROAP protocol, and sends the registration request to the WebRTC server.
Step 404: and the WebRTC server receives the registration request, allocates a WebRTC identifier to the user and sends the registration success message to the WEBRTC/IMS gateway.
Step 405: the WEBRTC/IMS gateway records the matching relation between the WebRTC identification and the IMS identification of the registration request in the number matching module, converts the successful registration message into an SIP protocol and returns the SIP protocol to the IMS domain.
Step 406: and the IMS terminal receives the registration success message.
After the IMS terminal is successfully registered in the WebRTC domain, the IMS terminal can use other functions in the WebRTC system through the WEBRTC/IMS gateway and the corresponding WebRTC identification, wherein the functions comprise functions of acquiring an online list, a friend relationship, calling and the like.
When the WebRTC terminal wants to use the function of the IMS domain to obtain an IMS buddy and make an IMS call, the WebRTC terminal may also register the IMS domain.
EXAMPLE III
Fig. 5 is a schematic flowchart of a WebRTC terminal registering an IMS domain according to an embodiment of the present invention, where in this example, the precondition is: the WEBRTC/IMS gateway has already configured a certain amount of IMS identity according to the system at start-up. The WebRTC terminal requests a registration process of registering to an IMS domain, and actually, the WebRTC terminal sends a registration message to a WEBRTC/IMS gateway, and the WEBRTC/IMS gateway distributes an IMS identifier in an IMS connection pool maintained by the WebRTC/IMS gateway to the WebRTC terminal requesting to register. As shown in fig. 5, the process includes:
step 501: the WebRTC terminal sends a registration request message requesting registration to the IMS domain to the WebRTC server.
Step 502: the WebRTC server sends a registration request message to the webbrtc/IMS gateway.
Step 503: and the WEBRTC/IMS gateway allocates an IMS identifier in an IMS connection pool for the WebRTC terminal and records the matching relation.
Step 504: and the WEBRTC/IMS gateway returns a registration success message to the WebRTC server.
Step 505: and the WebRTC server returns a registration success message to the WebRTC terminal.
Therefore, the WebRTC/IMS gateway maintains an IMS connection pool when starting, and keeps alive for the IMS temporary number in the connection pool at regular time, so that the process of registering the WebRTC terminal to the IMS domain is very quick. The registration process is very fast, and only the number in the WebRTC domain is matched, so that a WebRTC application can merge the WebRTC registration process into the application, for example, registration is performed when the WebRTC terminal requests a call, the call delay is not affected, and the efficiency of the WebRTC application is greatly improved.
Example four
Fig. 6 is a flowchart illustrating that an IMS terminal calls a WebRTC terminal according to an embodiment of the present invention. In this example, the preconditions are: the IMS identity is already registered in the WebRTC domain. As shown in fig. 6, the process includes:
step 601: IMS user B sends the message of calling WebRTC user A to IMS domain, and carries the relative information of media server for processing media message in the call request. For the IMS domain, if the media of the IMS terminal itself matches the media format or protocol required by WebRTC, the IMS terminal only needs to carry the media connection information of itself, and if the media format or protocol does not match, a media server used by the IMS terminal needs to be provided for media format conversion. In this embodiment, the case of uniformly processing media connection by the IMS media gateway is described, and details of the case where the IMS terminal supports the WebRTC media format and protocol are not described again.
Step 602: and the IMS domain sends the call request to a WEBRTC/IMS gateway.
Step 603: the WEBRTC/IMS gateway finds a corresponding WebRTC identifier B of the IMS user B in the matching relationship, converts a protocol of a call request from SIP into ROAP, replaces the call request with the WebRTC identifier B, converts the call request from the IMS user B into the call request from the WebRTC identifier B, and forwards the WebRTC call request to the WebRTC server.
Step 604: the WebRTC server sends the call request to WebRTC user A, and user A receives the call request and looks like coming from another WebRTC user B in the system, that is to say IMS user B uses WebRTC user B account to perform signaling interaction in WebRTC domain.
Step 605: the WebRTC user A receives the call receiving request, sends a response message and carries the relevant information of the WebRTC user A to the WebRTC server.
Step 606: and the WebRTC server sends the response message of the WebRTC user A to the WebRTC/IMS gateway.
Step 607: and after the WebRTC/IMS gateway converts the ROAP message conversion number and the translation protocol returned by the WebRTC user A to the WebRTC user B, the ROAP message conversion number and the translation protocol are translated into an SIP message returned by the WebRTC user A to the IMS user B, and the SIP message is sent to the IMS domain.
Step 608: the IMS domain sends the call response message to an IMS terminal user B, and the user B establishes a point-to-point media channel/data channel with the WebRTC user A through a media gateway of the IMS according to parameters carried in the message returned by the signaling interactive response call. Thus, IMS user B completes a signaling flow of a collapse point-to-point call with WebRTC user A. After the media channel/data channel is established, the user A and the user B can carry out audio-video call/data interaction.
EXAMPLE five
Fig. 7 is a schematic flowchart of a WebRTC terminal a calling an IMS terminal B according to an embodiment of the present invention, where in this example, the precondition is: the IMS terminal user is registered in the WebRTC domain, so that the WebRTC terminal can discover the IMS terminal and carry out calling operation on the terminal. In the WebRTC/IMS gateway, the corresponding number of IMS terminal user B in the WebRTC domain is WebRTC B. As shown in fig. 7, the process includes:
step 701: and the WebRTC terminal initiates a call request for a corresponding WebRTC identifier B of the IMS user B to the WebRTC server.
Step 702: the WebRTC server sends the call request to the WebRTC gateway.
Step 703: the WebRTC gateway finds a corresponding IMS identifier for the called B in the number matching relation, replaces the WebRTC identifier with the IMS identifier in the request, converts the ROAP message of the call request into an SIP message, and sends the SIP message to an IMS domain after the WebRTC converts the call message.
Step 704: the IMS domain sends a call request to IMS subscriber B.
Step 705: the IMS user B puts the relevant information of the user B into a call response message and sends the call response message to the IMS domain.
Step 706: the IMS domain returns a call response message to the WEBRTC/IMS gateway.
Step 707: and the WEBRTC/IMS gateway performs matching from the IMS identifier to the WebRTC identifier, and returns a call response message to the WebRTC server after the protocol is converted.
Step 708: the WebRTC server returns the call response message to the WebRTC user A, and the user A establishes a point-to-point media channel/data channel with the user B through the media server used by the IMS user B according to the relevant information carried in the response. Therefore, the WebRTC user A and the IMS user B perform signaling interaction through the gateway, and a point-to-point data channel or a media channel is established through the media server after information is exchanged. After the media channel and the data channel are established, the A and the B can carry out point-to-point audio and video conversation and can also transmit data through the data channel.
EXAMPLE six
In this example, the IMS terminal is added to a WebRTC audio/video conference to perform a conference.
Generally, audio and video conferences based on the WebRTC technology have two implementation modes, one is point-to-point audio and video conferences, and the other is audio and video conferences in which a media server is used for media negotiation. The mode of accessing the point-to-point audio and video conference by the IMS terminal is similar to the mode of performing point-to-point audio and video call by the IMS, and the IMS identifier needs to be matched as the WebRTC identifier in a WEBRTC/IMS gateway.
The embodiment describes a signaling flow of an audio and video conference in which the IMS accesses the WebRTC conference using the media server. Fig. 8 depicts the signaling and media channels of a three-way WebRTC audio-video conference using a media server. When a WebRTC is established, WebRTC user A, user B and user C interact with the signaling machine through the interface of the WebRTC server, and use the point-to-media channel/data channel between the WebRTC media server to perform media communication and data communication. An IMS terminal is required to be invited to participate in the conference in the WebRTC conference, the established conference is used as a precondition, an IMS user D is registered in the WebRTC domain, and the number of the user in the WebRTC domain is WEBRTC D. Fig. 9 is used to describe a signaling flow of an IMS terminal accessing an audio-video WebRTC conference, and as shown in fig. 9, the signaling flow includes:
step 901: WebRTC user A in the WebRTC conference member initiates invitation to IMS user D in WebRTC domain number WebRTC D to enter conference room, and the invitation message carries the related information of the media server and conference room.
Step 902: the WebRTC server sends the meeting invitation request to the webbrtc/IMS gateway.
Step 903: the WebRTC gateway performs number conversion and protocol translation on the conference request message, converts the number of the WebRTC D into the corresponding IMS identification code of the user D, converts the ROAP message into an SIP message and sends the SIP message to the IMS domain.
Step 904: the IMS domain sends a conference request message of WebRTC to IMS user D.
Step 905: the IMS user responds to the meeting invitation message, returns a meeting joining response message to the IMS domain, carries the relevant information of the media server of the user, and requests to establish a media channel/data channel with the IMS media server in the IMS domain.
Step 906: the IMS domain sends a conference answer message to the WEBRTC/IMS gateway.
Step 907: the WEBRTC/IMS gateway performs number conversion and protocol translation on the conference response message, converts the IMS identification code of the user D into a WebRTC identification code D, translates the SIP message into a ROAP message, and sends the translated message to a WebRTC server.
Step 908: the WebRTC server returns a conference response message to user a.
Step 909: the WebRTC server sends the conference response message to a media server of the WebRTC, and the media server establishes a media channel/data channel with the media server where the IMS user D is located according to the relevant information of the relevant established media channel/data channel from the user D in the response message. For the IMS domain, if the media of the IMS terminal is matched with the media format or protocol required by WebRTC, the IMS terminal can directly establish a media channel with the WebRTC media server in the WebRTC conference without performing media transfer through the IMS media server as long as the IMS terminal carries the media connection information of the IMS terminal itself. However, if the media formats or protocols supported by WebRTC and IMS terminals do not match, then the media server used by the IMS terminal needs to be provided in the reply message for media format conversion. In this embodiment, the case of uniformly processing media connection by the IMS media gateway is described, and details of the case where the IMS terminal supports the WebRTC media format and protocol are not described again.
After the WebRTC media server and the IMS media server establish a media channel/data channel, the user A, B, C, D completes a signaling interaction procedure for the audio/video conference. For WebRTC user A, B, C, IMS user D is displayed in the conference room as WebRTC user D. Specific applications may label users from the IMS, but do not affect the specific user experience.
Fig. 11 is a schematic structural composition diagram of a communication device of a video conference system according to an embodiment of the present invention, where the device includes:
a receiving unit 1101, configured to receive a first communication message sent by a first terminal through a WebRTC server, where a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal;
a matching unit 1102, configured to match a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain;
a searching unit 1103, configured to search, for the second terminal, a second IMS identifier corresponding to the second WebRTC identifier according to the mapping relationship database;
a sending unit 1104, configured to send the first communication message to the second terminal via an IMS domain according to the first IMS identifier and the second IMS identifier.
The device further comprises:
a setting unit 1105, configured to add an IMS connection pool in advance;
a registering unit 1106, configured to register N IMS identifiers in an IMS domain when a gateway is started or initialized, where N is a positive integer, and store the N IMS identifiers in the IMS connection pool;
a maintaining unit 1107, configured to maintain, in the course of the gateway operation, the N IMS identifiers in an active state in the IMS domain, where the IMS identifiers in the active state can perform communication in the IMS domain.
The matching unit 1102 includes:
a direction determining subunit, configured to determine, according to the first communication message, that a transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
a searching subunit, configured to search, in a mapping relationship database, whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists;
the allocation subunit is used for allocating a first IMS identifier to the first terminal in an IMS connection pool when the first IMS identifier is not found out;
and the storage subunit is configured to store the correspondence between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relationship database.
The device further comprises:
a protocol converting unit 1108, configured to convert a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit 1104 is further configured to send the first communication message in the second protocol format to the second terminal through the IMS domain.
The receiving unit 1101 is further configured to receive, via the IMS domain, a registration request message sent by the second terminal and used for registering to the WebRTC domain before the first terminal communicates with the second terminal;
the protocol converting unit 1108 is configured to convert the second protocol format of the registration request message in the IMS domain into the first protocol format in the WebRTC domain;
the sending unit 1104 is further configured to send a registration request message in a first protocol format to the WebRTC server;
the receiving unit 1101 is further configured to receive a registration success message sent by the WebRTC server;
the device further comprises: a storage unit 1109, configured to store, in the mapping relationship database, a correspondence between a second WebRTC identifier allocated by the WebRTC server to the second terminal and a second IMS identifier of the second terminal;
the protocol converting unit 1108 is further configured to convert a first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit 1104 is further configured to send a registration success message in a second protocol format to the second terminal.
The receiving unit 1101 is further configured to receive a second communication message sent by a second terminal through an IMS domain, where a sending side corresponding to the second communication message is the second terminal, and a receiving side corresponding to the second communication message is the first terminal;
the searching unit 1103 is further configured to search, for the second terminal, a second WebRTC identifier corresponding to the second IMS identifier according to the mapping relationship database; according to the mapping relation database, searching a first WebRTC identifier corresponding to a first IMS identifier for the first terminal;
the sending unit 1104 is further configured to send the second communication message to the first terminal through the WebRTC server according to the second WebRTC identifier and the first WebRTC identifier.
The protocol conversion unit 1108 is configured to convert the second protocol format of the second communication message in the IMS domain into the first protocol format in the WebRTC domain;
the sending unit 1104 is further configured to send the second communication message in the first protocol format to the first terminal via the WebRTC server.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (12)

1. A method of communicating in a video conferencing system, the method comprising:
the method comprises the steps that a gateway receives a first communication message sent by a first terminal through a webpage real-time communication WebRTC server, wherein the sending side corresponding to the first communication message is the first terminal, and the receiving side corresponding to the first communication message is a second terminal;
the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to an IP multimedia subsystem IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain;
the gateway searches a second IMS identifier corresponding to a second WebRTC identifier for the second terminal according to the mapping relation database;
the gateway sends the first communication message to the second terminal through an IMS domain according to the first IMS identifier and the second IMS identifier;
the gateway matches a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool, and the method comprises the following steps:
the gateway determines, according to the first communication message, that the transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
searching whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists in a mapping relation database; and when the first WebRTC identifier is not found out, the gateway allocates a first IMS identifier for the first terminal in an IMS connection pool, and stores the corresponding relation between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relation database.
2. The communication method of the video conference system according to claim 1, wherein the method further comprises:
an IMS connection pool is added in the gateway in advance;
when the gateway is started or initialized, the gateway registers N IMS identifications in an IMS domain, wherein N is a positive integer, and the N IMS identifications are stored in an IMS connection pool;
in the operation process of the gateway, the gateway maintains the N IMS identifications in an active state in an IMS domain, wherein the IMS identifications in the active state can communicate in the IMS domain.
3. The communication method of the video conference system according to claim 1, wherein after matching the first IMS identifier corresponding to the first WebRTC identifier for the first terminal, the method further comprises:
the gateway converts a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
accordingly, the sending the first communication message to the second terminal via the IMS domain includes:
and sending the first communication message in the second protocol format to the second terminal through the IMS domain.
4. The communication method of the video conference system according to claim 1, wherein the method further comprises:
before a first terminal communicates with a second terminal, the gateway receives a registration request message which is sent by the second terminal and used for registering to a WebRTC domain through an IMS domain;
the gateway converts the second protocol format of the registration request message in the IMS domain into the first protocol format in the WebRTC domain and then sends the first protocol format to the WebRTC server;
the gateway receives a registration success message sent by the WebRTC server, and stores a corresponding relation between a second WebRTC identifier distributed by the WebRTC server for the second terminal and a second IMS identifier of the second terminal into the mapping relation database;
and the gateway converts the first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain and then sends the second protocol format to the second terminal through the IMS domain.
5. The communication method of the video conference system according to claim 1, wherein the method further comprises:
the gateway receives a second communication message sent by a second terminal through an IMS domain, wherein the sending side corresponding to the second communication message is the second terminal, and the receiving side corresponding to the second communication message is the first terminal;
the gateway searches a second WebRTC identifier corresponding to a second IMS identifier for the second terminal according to the mapping relation database;
the gateway searches a first WebRTC identifier corresponding to the first IMS identifier for the first terminal according to the mapping relation database;
and the gateway sends the second communication message to the first terminal through a WebRTC server according to the second WebRTC identification and the first WebRTC identification.
6. The communication method of the video conference system according to claim 5, wherein after finding the first WebRTC identifier corresponding to the first IMS identifier for the first terminal, the method further comprises:
the gateway converts the second protocol format of the second communication message in the IMS domain into the first protocol format in the WebRTC domain;
correspondingly, the sending the second communication message to the first terminal via the WebRTC server includes:
and sending the second communication message in the first protocol format to the first terminal through the WebRTC server.
7. A communication apparatus of a video conference system, the apparatus comprising:
the receiving unit is used for receiving a first communication message sent by a first terminal through a WebRTC server, wherein a sending side corresponding to the first communication message is the first terminal, and a receiving side corresponding to the first communication message is a second terminal;
the matching unit is used for matching a first IMS identifier corresponding to the first WebRTC identifier for the first terminal according to the IMS connection pool; the IMS connection pool is provided with a plurality of IMS identifications registered to an IMS domain;
the searching unit is used for searching a second IMS identifier corresponding to the second WebRTC identifier for the second terminal according to the mapping relation database;
a sending unit, configured to send the first communication message to the second terminal via an IMS domain according to the first IMS identifier and the second IMS identifier;
characterized in that the matching unit comprises:
a direction determining subunit, configured to determine, according to the first communication message, that a transmission direction of the first communication message is: the method comprises the steps that a sending side is a first terminal in a WebRTC domain, and a receiving side is a second terminal in an IMS domain;
a searching subunit, configured to search, in a mapping relationship database, whether a first IMS identifier corresponding to a first WebRTC identifier of the first terminal exists;
the allocation subunit is used for allocating a first IMS identifier to the first terminal in an IMS connection pool when the first IMS identifier is not found out;
and the storage subunit is configured to store the correspondence between the first WebRTC identifier of the first terminal and the allocated first IMS identifier in the mapping relationship database.
8. The communication device of the video conference system according to claim 7, wherein said device further comprises:
the setting unit is used for adding an IMS connection pool in advance;
a registration unit, configured to register N IMS identifiers in an IMS domain when a gateway is started or initialized, where N is a positive integer, and store the N IMS identifiers in the IMS connection pool;
and a maintaining unit, configured to maintain, in an IMS domain, the N IMS identifiers in an active state during an operation of the gateway, where the IMS identifiers in the active state can perform communication in the IMS domain.
9. The communication device of the video conference system according to claim 7, wherein said device further comprises:
the protocol conversion unit is used for converting a first protocol format of the first communication message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit is further configured to send the first communication message in the second protocol format to the second terminal through the IMS domain.
10. The communication device of the video conference system according to claim 7,
the receiving unit is further configured to receive, via the IMS domain, a registration request message sent by the second terminal for registering to the WebRTC domain before the first terminal communicates with the second terminal;
the device further comprises: the protocol conversion unit is used for converting a second protocol format of the registration request message in the IMS domain into a first protocol format in the WebRTC domain;
the sending unit is further configured to send a registration request message in a first protocol format to the WebRTC server;
the receiving unit is further configured to receive a registration success message sent by the WebRTC server;
the device further comprises: a storage unit, configured to store, in the mapping relationship database, a correspondence between a second WebRTC identifier allocated by the WebRTC server to the second terminal and a second IMS identifier of the second terminal;
the protocol conversion unit is further configured to convert a first protocol format of the registration success message in the WebRTC domain into a second protocol format in the IMS domain;
the sending unit is further configured to send a registration success message in a second protocol format to the second terminal.
11. The communication device of the video conference system according to claim 7,
the receiving unit is further configured to receive a second communication message sent by a second terminal through the IMS domain, where a sending side corresponding to the second communication message is the second terminal, and a receiving side corresponding to the second communication message is the first terminal;
the searching unit is further configured to search for a second WebRTC identifier corresponding to a second IMS identifier for the second terminal according to the mapping relationship database; according to the mapping relation database, searching a first WebRTC identifier corresponding to a first IMS identifier for the first terminal;
the sending unit is further configured to send the second communication message to the first terminal through a WebRTC server according to the second WebRTC identifier and the first WebRTC identifier.
12. The communication device of the video conference system according to claim 11, wherein said device further comprises:
the protocol conversion unit is used for converting a second protocol format of the second communication message in the IMS domain into a first protocol format in the WebRTC domain;
the sending unit is further configured to send the second communication message in the first protocol format to the first terminal through the WebRTC server.
CN201610708194.XA 2016-08-23 2016-08-23 Communication method and device of video conference system Active CN107770141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610708194.XA CN107770141B (en) 2016-08-23 2016-08-23 Communication method and device of video conference system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610708194.XA CN107770141B (en) 2016-08-23 2016-08-23 Communication method and device of video conference system

Publications (2)

Publication Number Publication Date
CN107770141A CN107770141A (en) 2018-03-06
CN107770141B true CN107770141B (en) 2022-04-19

Family

ID=61264686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610708194.XA Active CN107770141B (en) 2016-08-23 2016-08-23 Communication method and device of video conference system

Country Status (1)

Country Link
CN (1) CN107770141B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688364A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Video-meeting method, device, server and storage medium
CN110266902B (en) * 2019-05-27 2021-04-02 国家计算机网络与信息安全管理中心 VoIP signaling and media data association system and method
CN112565234B (en) * 2020-11-30 2022-10-14 武汉烽火众智数字技术有限责任公司 Cross-network transmission system and method based on WebRTC
CN115801738A (en) * 2021-09-10 2023-03-14 中兴通讯股份有限公司 Customer service implementation method and device, computer equipment and readable medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553676A (en) * 2003-06-06 2004-12-08 华为技术有限公司 Method for holding common audio-video meeting via various protocol terminals
CN1937517A (en) * 2006-10-08 2007-03-28 华为技术有限公司 Video conference system and its data transmission method and device
CN103227788A (en) * 2013-04-17 2013-07-31 广州市和声信息技术有限公司 Method and system realizing communication between web-based application and SIP equipment
WO2014176089A1 (en) * 2013-04-26 2014-10-30 Intel IP Corporation Architecture for web-based real-time communications (webrtc) to access internet protocol multimedia subsystem (ims)
CN104580137A (en) * 2013-03-15 2015-04-29 阿瓦亚公司 Application programming interface enabling communication features for different communication protocols
CN104735034A (en) * 2013-12-24 2015-06-24 中国移动通信集团公司 Media stream transmission method, device and system
CN104980395A (en) * 2014-04-04 2015-10-14 中国电信股份有限公司 Method and system for intercommunication between first system and second system, and media gateway
CN104980398A (en) * 2014-04-04 2015-10-14 中国电信股份有限公司 Message distribution method between browser and IP multimedia subsystem (IMS), message distribution system between browser and IMS and signaling relay device
CN105099897A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Method of communication between browser and telecommunication network and gateway
CN105227525A (en) * 2014-06-17 2016-01-06 阿尔卡特朗讯 For IP communication means and the equipment of the internet of things equipment based on signaling
CN105554029A (en) * 2016-01-27 2016-05-04 北京邮电大学 Method for realizing media intercommunication between WebRTC terminal and SIP terminal and media gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9414225B2 (en) * 2013-07-23 2016-08-09 Broadcom Corporation User equipment having web real time communication architecture

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553676A (en) * 2003-06-06 2004-12-08 华为技术有限公司 Method for holding common audio-video meeting via various protocol terminals
CN1937517A (en) * 2006-10-08 2007-03-28 华为技术有限公司 Video conference system and its data transmission method and device
CN104580137A (en) * 2013-03-15 2015-04-29 阿瓦亚公司 Application programming interface enabling communication features for different communication protocols
CN103227788A (en) * 2013-04-17 2013-07-31 广州市和声信息技术有限公司 Method and system realizing communication between web-based application and SIP equipment
WO2014176089A1 (en) * 2013-04-26 2014-10-30 Intel IP Corporation Architecture for web-based real-time communications (webrtc) to access internet protocol multimedia subsystem (ims)
CN104735034A (en) * 2013-12-24 2015-06-24 中国移动通信集团公司 Media stream transmission method, device and system
CN104980395A (en) * 2014-04-04 2015-10-14 中国电信股份有限公司 Method and system for intercommunication between first system and second system, and media gateway
CN104980398A (en) * 2014-04-04 2015-10-14 中国电信股份有限公司 Message distribution method between browser and IP multimedia subsystem (IMS), message distribution system between browser and IMS and signaling relay device
CN105099897A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Method of communication between browser and telecommunication network and gateway
CN105227525A (en) * 2014-06-17 2016-01-06 阿尔卡特朗讯 For IP communication means and the equipment of the internet of things equipment based on signaling
CN105554029A (en) * 2016-01-27 2016-05-04 北京邮电大学 Method for realizing media intercommunication between WebRTC terminal and SIP terminal and media gateway

Also Published As

Publication number Publication date
CN107770141A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107682657B (en) WebRTC-based multi-user voice video call method and system
RU2532729C2 (en) Method and service node for accessing video part of voice and video call and method of adding video part to voice call
EP3926917B1 (en) Data transmission method, device and computer storage medium
CN111479121B (en) Live broadcasting method and system based on streaming media server
CN107770141B (en) Communication method and device of video conference system
EP2909970B1 (en) Notification of communication events
CN103227788A (en) Method and system realizing communication between web-based application and SIP equipment
KR20120102769A (en) System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices
WO2015131750A1 (en) Method, device and system for establishing multi-party call based on web rtc
JP2017510116A (en) Method and server for enabling a first user to automatically detect a second user's social network identifier and the respective status of this second user in those social networks
CN103107983A (en) Data management method of network system and related system thereof
CN103379096A (en) Internet and operator network service sharing method, service side and webpage gateway
EP2862343B1 (en) Notification of communication events
CN101834730A (en) Multimedia conferencing control method and system
US9473316B2 (en) Resource consumption reduction via meeting affinity
CN108989364B (en) Data information pushing method, device and system based on cloud conference and terminal equipment
CN105556980A (en) A method and system for integrating content viewing and communication in immersive social centre session
US10148710B2 (en) Method, computer-readable storage device and apparatus for establishing persistent messaging sessions
EP2187584A1 (en) A message association method, user terminal and server
CN110650254A (en) Information transmission method, information reception method, terminal, and storage medium
CN113099152B (en) Method and device for call among multiple systems
CN107846382B (en) Multi-screen sharing method, server, terminal and system in converged communication
US20140211788A1 (en) Method and a system to discover and establish an enriched communication channel in a voice call
Davies et al. Evaluating two approaches for browser-based real-time multimedia communication
CN112019791A (en) Multi-party audio and video call method and system based on education examination

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant