The content of the invention
In view of this, the main purpose of the embodiment of the present invention is to provide a kind of WebRTC communication means, relevant device and is
System, to ensure the real-time of WebRTC communications.
To solve the above problems, technical solution provided by the invention is as follows:
In a first aspect, the present invention provides a kind of WebRTC communication means, including:
WebRTC servers receive the call request that calling terminal is sent, and the call request is Web signalings;
Obtain the telecommunications account information of called terminal according to the call request, and according to carrying in the call request
Calling terminal information, caller routing iinformation, call type, established on the WebRTC servers calling terminal with
The Session Resources of called terminal connection;
WebRTC connection requests are generated, the WebRTC connection requests include the WebRTC server address and described
The Session Resources parameter of Session Resources;
The telecommunications account information of the WebRTC connection requests and the called terminal is sent to telecommunications gateway, so that institute
State telecommunications gateway and forward the WebRTC connection requests to the called terminal;
Connection of the called terminal to the Session Resources is established, so as to establish the calling terminal and the called end
The connection at end, wherein the connection of the called terminal to the Session Resources is the called terminal according to the WebRTC connections
What request was initiated.
It is described that called terminal is obtained according to the call request in the first possible implementation of first aspect
Telecommunications account information, including:
If the call request includes the telecommunications account information of the called terminal, the called terminal is directly obtained
Telecommunications account information;
If alternatively, the call request includes the WebRTC account informations of the called terminal, the called end is searched
The mapping relations of the WebRTC account informations at end and the telecommunications account information of the called terminal, obtain the electricity of the called terminal
Believe account information.
With reference to first aspect or first aspect the first possible implementation, in second of possible implementation
In, WebRTC connection requests are generated, the WebRTC connection requests include the WebRTC server address and the session
The Session Resources parameter of resource, including:
Generating includes the WebRTC connection requests of uniform resource position mark URL address, described in the URL addresses representative
The Session Resources parameter of WebRTC server address and the Session Resources.
Either second of the first possible implementation or first aspect of first aspect can with reference to first aspect
The implementation of energy, in the third possible implementation, further includes:
Receive the WebRTC initialization informations of the calling terminal and be sent to the called terminal, receive the called end
The WebRTC initialization informations at end are simultaneously sent to the calling terminal, so that the calling terminal and the called terminal are according to institute
State WebRTC initialization informations and complete WebRTC communications.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation, in the quilt
When crying terminal selection by telecommunication network foundation connection, the WebRTC initialization informations for receiving the calling terminal are simultaneously sent
To the called terminal, receive the WebRTC initialization informations of the called terminal and be sent to the calling terminal, so that institute
State calling terminal to be communicated according to WebRTC initialization informations completion WebRTC with the called terminal, be specially:
Receive the WebRTC initialization informations of the calling terminal and the called end is sent to by the telecommunications gateway
End, receives the WebRTC initialization informations of the called terminal by the telecommunications gateway and is sent to the calling terminal, with
The calling terminal is set to be completed with the called terminal according to the WebRTC initialization informations by the telecommunications gateway
WebRTC communicates.
Second aspect, the present invention provides a kind of WebRTC communication means, including:
Called terminal receives the WebRTC connection requests that telecommunications gateway is sent;The WebRTC connection requests are WebRTC clothes
The call request for the Web signalling formats that business device is sent according to calling terminal is generated and sent to the telecommunications gateway, including institute
State WebRTC server address and Session Resources parameter;
Session Resources in the WebRTC servers are connected to according to the WebRTC connection requests, are established and the master
Cry the connection of terminal;The Session Resources are that the WebRTC servers according to the call request that the calling terminal is sent are institute
State calling terminal and called terminal distribution.
In the first possible implementation of second aspect, the WebRTC connection requests are positioned including unified resource
URL addresses are accorded with, the URL addresses represent the Session Resources parameter of the WebRTC server address and the Session Resources,
Alternatively, the WebRTC connection requests include telephone number, the telephone number is that the telecommunications gateway compiles the URL addresses
What code obtained.
With reference to the first possible implementation of second aspect, in second of possible implementation, further include:
When the WebRTC connection requests include telephone number, the telephone number is decoded, is obtained with including URL
The WebRTC connection requests of location, the URL addresses represent the session of the WebRTC server address and the Session Resources
Resource parameters.
With reference to second of possible implementation of the first possible implementation or second aspect of second aspect,
In the third possible implementation, the session in the WebRTC servers is connected to according to the WebRTC connection requests
Resource, establishes the connection with calling terminal, including:
When selection is by WebRTC connections, the URL addresses are opened, the session money being connected in the WebRTC servers
Source, establishes the connection with calling terminal.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation, according to described
WebRTC connection requests are connected to the Session Resources in the WebRTC servers, establish the connection with the calling terminal, bag
Include:
When selection establishes connection by telecommunication network, the connection with the telecommunications gateway is established, so that the telecommunications gateway
Session Resources in the WebRTC servers are connected to according to the WebRTC connection requests;By the telecommunications gateway, build
The vertical connection with calling terminal.
Second with reference to second aspect either the first possible implementation or second aspect of second aspect can
Can implementation either the third possible implementation or second aspect of second aspect the 4th kind of possible realization
Mode, in the 5th kind of possible implementation, further includes:
When selection establishes connection by WebRTC, WebRTC initialization informations are sent to the WebRTC servers, are received
The WebRTC initialization informations for the calling terminal that the WebRTC servers are sent, complete WebRTC with the calling terminal and lead to
Letter;
Alternatively, selection is established by telecommunication network when connecting, WebRTC initialization informations are sent to the telecommunications gateway, are connect
The WebRTC initialization informations for the calling terminal that the telecommunications gateway is sent are received, completing WebRTC with the calling terminal communicates.
The third aspect, the present invention provides a kind of WebRTC servers, including:
Receiving unit, for receiving the call request of calling terminal transmission, the call request is Web signalings;
Unit is established, the call request for being received according to the receiving unit obtains the telecommunications account of called terminal
Information, and carried in the call request received according to the receiving unit calling terminal information, caller routing iinformation, exhale
Type information is, the Session Resources that the calling terminal is connected with called terminal are established on the WebRTC servers;
Generation unit, generate WebRTC connection requests, the WebRTC connection requests include WebRTC server address with
And the Session Resources parameter of the Session Resources for establishing unit foundation;
Transmitting element, for sending the WebRTC connection requests and the institute of the generation unit generation to telecommunications gateway
The telecommunications account information for the called terminal for establishing unit foundation is stated, so that described in the telecommunications gateway to called terminal forwarding
WebRTC connection requests;
Connection unit, establishes connection of the called terminal to the Session Resources, thus establish the calling terminal with
The connection of the called terminal, wherein the connection of the called terminal to the Session Resources is the called terminal according to
What the WebRTC connection requests that transmitting element is sent were initiated.
In the first possible implementation of the third aspect, the unit of establishing is specifically used for:
If the call request that the receiving unit receives includes the telecommunications account information of the called terminal, directly
The telecommunications account information of the called terminal is obtained, establishes the Session Resources that the calling terminal is connected with called terminal;
If alternatively, the WebRTC accounts that the call request that the receiving unit receives includes the called terminal are believed
Breath, searches the mapping relations of the WebRTC account informations of the called terminal and the telecommunications account information of the called terminal, obtains
The telecommunications account information of the called terminal is obtained, establishes the Session Resources that the calling terminal is connected with called terminal.
With reference to the possible implementation of the first of the third aspect or the third aspect, in second of possible implementation
In, the generation unit is specifically used for:
Generating includes the WebRTC connection requests of uniform resource position mark URL address, described in the URL addresses representative
The Session Resources parameter of WebRTC server address and the Session Resources for establishing unit foundation.
Second with reference to the third aspect either the first possible implementation or the third aspect of the third aspect can
The implementation of energy, in the third possible implementation, further includes:
Initialization unit, receives the WebRTC initialization informations of the calling terminal and is sent to the called terminal, connect
Receive the WebRTC initialization informations of the called terminal and be sent to the calling terminal, so that the calling terminal and the quilt
Terminal is made to complete WebRTC communications according to the WebRTC initialization informations.
With reference to the third possible implementation of the third aspect, in the 4th kind of possible implementation, in the quilt
When crying terminal selection by telecommunication network foundation connection, the initialization unit is specifically used for:
Receive the WebRTC initialization informations of the calling terminal and the called end is sent to by the telecommunications gateway
End, receives the WebRTC initialization informations of the called terminal by the telecommunications gateway and is sent to the calling terminal, with
The calling terminal is set to be completed with the called terminal according to the WebRTC initialization informations by the telecommunications gateway
WebRTC communicates.
Fourth aspect, the present invention provides a kind of terminal, including:
Receiving unit, for receiving the WebRTC connection requests of telecommunications gateway transmission;The WebRTC connection requests are
The call request for the Web signalling formats that WebRTC servers are sent according to calling terminal is generated and sent to the telecommunications gateway
, including the WebRTC server address and Session Resources parameter;
Connection unit, the WebRTC connection requests for being received according to the receiving unit are connected to the WebRTC
Session Resources in server, establish the connection with the calling terminal;The Session Resources are the WebRTC servers roots
The call request sent according to the calling terminal is the calling terminal and called terminal distribution.
In the first possible implementation of fourth aspect, the WebRTC connection requests are positioned including unified resource
URL addresses are accorded with, the URL addresses represent the Session Resources parameter of the WebRTC server address and the Session Resources,
Alternatively, the WebRTC connection requests include telephone number, the telephone number is that the telecommunications gateway compiles the URL addresses
What code obtained.
With reference to the first possible implementation of fourth aspect, in second of possible implementation, further include:
Decoding unit, for including telephone number when the WebRTC connection requests, decodes the telephone number,
Obtaining includes the WebRTC connection requests of URL addresses, and the URL addresses represent the WebRTC server address and the meeting
Talk about the Session Resources parameter of resource.
With reference to second of possible implementation of the first possible implementation or fourth aspect of fourth aspect,
In the third possible implementation, the connection unit is specifically used for:
When selection is by WebRTC connections, it is decoded described to open decoding unit that the receiving unit receives or described
URL addresses, the Session Resources being connected in the WebRTC servers, establish the connection with calling terminal.
With reference to the third possible implementation of fourth aspect, in the 4th kind of possible implementation, the connection
Unit is specifically used for:
When selection establishes connection by telecommunication network, the connection with the telecommunications gateway is established, so that the telecommunications gateway
Session Resources in the WebRTC servers are connected to according to the WebRTC connection requests;By the telecommunications gateway, build
The vertical connection with calling terminal.
Second with reference to fourth aspect either the first possible implementation or fourth aspect of fourth aspect can
Can implementation either the third possible implementation or fourth aspect of fourth aspect the 4th kind of possible realization
Mode, in the 5th kind of possible implementation, further includes:
Initialization unit, when being connected for selecting to establish by WebRTC, WebRTC is sent to the WebRTC servers
Initialization information, receives the WebRTC initialization informations for the calling terminal that the WebRTC servers are sent, whole with the caller
Complete WebRTC communications in end;Alternatively, selection is established by telecommunication network when connecting, it is initial to send WebRTC to the telecommunications gateway
Change information, receive the WebRTC initialization informations for the calling terminal that the telecommunications gateway is sent, completed with the calling terminal
WebRTC communicates.
5th aspect, the present invention provides a kind of WebRTC communication systems, including:
Calling terminal, WebRTC servers, telecommunications gateway and called terminal;
The WebRTC servers are a kind of WebRTC servers that the invention described above provides;
The called terminal is a kind of terminal that the invention described above provides;
The telecommunications gateway, for receiving WebRTC connection requests that the WebRTC servers send and described called
The telecommunications account information of terminal, the WebRTC connection requests are forwarded to the called terminal.
It can be seen from the above that the embodiment of the present invention has the advantages that:
WebRTC connection requests are passed through telecommunications network by the embodiment of the present invention by WebRTC and the converged communication of telecommunication network
Pass is sent to called terminal, realizes that information pushes using telecommunications gateway, makes user terminal not have to be always maintained at servicing with WebRTC
The connection of device can also receive WebRTC connection requests, to establish WebRTC communications, so as to ensure that the real-time of WebRTC communications.
Embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real
Mode is applied to be described in further detail the embodiment of the present invention.
WebRTC communication means, relevant device and the system of the embodiment of the present invention can be used for WebRTC communications.WebRTC
It is a new technology in HTML5 standards, the core that WebRTC changes is media standard, and signaling is denormalized.Exist
In WebRTC standards, specific definition is after two client browsers establish connection, the form of the business datum of transmission, and
The method of processing business data.But do not have to define the signaling format that two client browsers set up connection in WebRTC.
WebRTC pays close attention to transmission of the client to the audio-video frequency media stream of client, and real-time causes WebRTC to signaling
It is required that it is very high, and highly overlapped with traditional telecommunication service in the WebRTC business forms.WebRTC is combined with telephone signaling, is formed
Complete business, is technically a selection well.Therefore, WebRTC and telecommunication network have a demand of fusion, and how
Realize WebRTC and telecommunication network intercommunication, to ensure the real-time Communication for Power of WebRTC, an embodiment of the present invention provides following for this
WebRTC communication means.
It is shown in Figure 1, it is the flow chart of WebRTC communication means embodiment 1 in the embodiment of the present invention, the present embodiment can
To realize this method by WebRTC servers, may comprise steps of:
Step 101:WebRTC servers receive the call request that calling terminal is sent, which is Web signalings.
Calling terminal is that the WebRTC clients for initiating caller can initiate WebRTC connections calling, can pass through internet
Call request is sent to WebRTC servers.Calling terminal can be mobile phone, computer or other be provided with support WebRTC
The terminal device of browser.
WebRTC servers receive the call request that calling terminal is sent, which is web signalings.In this way, caller
Terminal can establish a kind of two-way communication link kept for a long time, such as websocket connections with WebRTC servers, for believing
The transmission of order.Meanwhile the calling terminal carried in call request can be carried in the call request that receives of WebRTC servers
Information, caller routing iinformation, call type, the related identification information of calling terminal information such as calling terminal, for example, caller
The WebRTC account informations of terminal, the related network information of caller routing iinformation such as calling terminal, call type is for example originally
Secondary calling represents WebRTC call requests;It can also include the related identification information of called terminal in call request, for example, it is called
The telecommunications account information of terminal or the WebRTC account informations of called terminal.
The WebRTC account informations of calling terminal, the WebRTC account informations of called terminal can be in WebRTC servers
Registered in advance, so that WebRTC servers can know the identity information for the both sides for needing to carry out WebRTC communications.
Step 102:Obtain the telecommunications account information of called terminal according to call request, and according to being carried in call request
Calling terminal information, caller routing iinformation, call type, calling terminal and called terminal are established on WebRTC servers
The Session Resources of connection.
The telecommunications account information that WebRTC servers can obtain called terminal according to call request is used for called terminal
Telecommunications account information notice telecommunications gateway so that telecommunications gateway can call called terminal.
Specifically, in some embodiments of the invention, the telecommunications account information of called terminal is obtained according to call request
Realize that process can include:
If call request includes the telecommunications account information of called terminal, the telecommunications account letter of called terminal is directly obtained
Breath;Alternatively, if call request includes the WebRTC account informations of called terminal, the WebRTC account informations of called terminal are searched
With the mapping relations of the telecommunications account information of called terminal, the telecommunications account information of called terminal is obtained.
I.e. WebRTC servers judge that the telecommunications account for wherein whether directly containing called terminal is believed according to call request
Breath, if it is not, then needing by pre-saving WebRTC account informations and telecommunications account information MAP relation, lookup is called
The telecommunications account information of terminal.For example, WebRTC servers can be carried out by enterprise directory or other communication management modules
Mapping between different account informations.
It should be noted that the mapping block of different account informations is an optional module in WebRTC servers, when
WebRTC servers are not supported to search the mapping of the WebRTC account informations of called terminal and the telecommunications account information of called terminal
During relation, then the telecommunications account information for directly including called terminal is needed in call request.
WebRTC servers can be according to the calling terminal information, caller routing iinformation, calling class carried in call request
Type information, distributes Session Resources for the connection of calling terminal and called terminal on WebRTC servers, i.e., is serviced in WebRTC
One is established on device and is used for the Session Resources that calling terminal is connected with called terminal.The Session Resources can include Session Resources
Session Resources parameter, such as the Session Resources are the 5th Session Resources in the WebRTC servers, so that calling terminal and quilt
In the Session Resources for making terminal be connectable to for its distribution.
Step 103:WebRTC connection requests are generated, WebRTC connection requests include WebRTC server address and session
The Session Resources parameter of resource.
In some embodiments of the invention, WebRTC connection requests are generated, WebRTC connection requests take including WebRTC
The Session Resources parameter of business device address and Session Resources realizes that process can include:Generation includes the WebRTC of URL addresses
Connection request, URL addresses represent the Session Resources parameter of WebRTC server address and Session Resources.
I.e. WebRTC servers can be represent calling terminal be connected with called terminal distribution Session Resources specify URL
(Uniform Resource Locator, universal resource locator)Address, wherein contain WebRTC server address and
The URL addresses can be put into WebRTC connection requests by the Session Resources parameter of Session Resources, such WebRTC servers.
Step 104:The telecommunications account information of WebRTC connection requests and called terminal is sent to telecommunications gateway, so that electric
Believe that gateway forwards WebRTC connection requests to called terminal.
WebRTC server calls telecommunications gateways, called terminal, i.e. WebRTC services are sent to by WebRTC connection requests
Device calls telecommunications gateway to be forwarded the Session Resources parameter of WebRTC server address and Session Resources as calling party information
To called terminal.
It should be noted that WebRTC server calls telecommunications gateway is to the WebRTC connection requests that called terminal is sent
Telephony signaling, telephony signaling have the characteristics that real-time, and called terminal, can also without being connected in real time with WebRTC servers
WebRTC connection requests are received by WebRTC server calls telecommunications gateway in real time, so as to fulfill the connection with calling terminal,
It ensure that the real-time of WebRTC communications.
Step 105:Connection of the called terminal to Session Resources is established, so as to establish the company of calling terminal and called terminal
Connect, the connection of wherein called terminal to Session Resources is that called terminal is initiated according to WebRTC connection requests.
If called terminal is agreed to establish communication, WebRTC server address can be obtained according to WebRTC connection requests
And the Session Resources parameter of Session Resources, can be by way of opening local browser, in the WebRTC servers of connection
In corresponding Session Resources, it is connected so that calling terminal can be established with called terminal.
This method embodiment is by WebRTC and the converged communication of telecommunication network, by WebRTC server calls telecommunications gateways
WebRTC connection requests are sent to called terminal, make called terminal not have to be always maintained at also with the connection of WebRTC servers
WebRTC connection requests are received, to establish the connection of calling terminal and called terminal, so as to ensure that the real-time of WebRTC communications
Property.
In some embodiments of the invention, WebRTC of embodiment of the present invention communication means may further include:Receive
The WebRTC initialization informations of calling terminal are simultaneously sent to called terminal, and the WebRTC initialization informations for receiving called terminal are concurrent
Calling terminal is given, is communicated so that calling terminal completes WebRTC with called terminal according to WebRTC initialization informations.
In some embodiments of the invention, the WebRTC initialization informations of calling terminal are received and are sent to called whole
End, receives the WebRTC initialization informations of called terminal and is sent to calling terminal so that calling terminal and called terminal according to
WebRTC initialization informations complete WebRTC communications:Established and connected by telecommunication network in called terminal selection
When, receive the WebRTC initialization informations of calling terminal and called terminal is sent to by telecommunications gateway, connect by telecommunications gateway
Receive the WebRTC initialization informations of called terminal and be sent to calling terminal, so that calling terminal and called terminal are according to WebRTC
Initialization information completes WebRTC communications by telecommunications gateway.
I.e. when called terminal is selected to establish by WebRTC and connected, WebRTC servers directly can receive and forward master
It is the WebRTC initialization informations of terminal and called terminal;And when called terminal selection is established by telecommunication network and connected,
WebRTC servers can be received and be forwarded the WebRTC initialization informations of calling terminal and called terminal by telecommunications gateway.
It is shown in Figure 2, it is the flow chart of WebRTC communication means embodiment 2 in the embodiment of the present invention, the present embodiment can
To realize this method by WebRTC servers, may comprise steps of:
Step 201:WebRTC servers receive the call request that calling terminal is sent, which is Web signalings.
Step 202:Judge whether to include the telecommunications account information of called terminal in call request, if so, entering step
203, if not, entering step 204.
Step 203:Directly obtain the telecommunications account information of called terminal.
Step 204:The mapping for searching the WebRTC account informations of called terminal and the telecommunications account information of called terminal is closed
System, obtains the telecommunications account information of called terminal.
Step 205:According to the calling terminal information, caller routing iinformation, call type carried in call request,
The Session Resources that calling terminal is connected with called terminal are established on WebRTC servers.
Step 206:WebRTC connection requests are generated, WebRTC connection requests include WebRTC server address and session
The Session Resources parameter of resource.
Step 207:The telecommunications account information of WebRTC connection requests and called terminal is sent to telecommunications gateway, so that electric
Believe that gateway forwards WebRTC connection requests to called terminal.
Step 208:Connection of the called terminal to Session Resources is established, so as to establish the company of calling terminal and called terminal
Connect, the connection of wherein called terminal to Session Resources is that called terminal is initiated according to WebRTC connection requests.
Step 209:When called terminal selection is established by WebRTC and connected, the WebRTC initialization of calling terminal is received
Information is simultaneously sent to called terminal, receives the WebRTC initialization informations of called terminal and is sent to calling terminal, so that caller
Terminal completes WebRTC according to WebRTC initialization informations with called terminal and communicates.
Calling terminal can complete WebRTC by WebRTC servers with called terminal and be connected required initialization flow
And information exchange, the SDP for exchanging calling terminal and called terminal can be included(Session Description Protocol,
Session Description Protocol)License(Or other are similar to signaling), calling terminal and called terminal ip addresses, participate in the equipment row that communicates
Table(Such as video, audio), media formats, network penetrate agreement(Such as ice)Server info is penetrated with network(Such as google-
ice)Etc. information.Calling terminal and called terminal by the SDP information that exchanges, WebRTC audio and video or data can be completed
Communication.
During call, WebRTC servers can also control call, such as reach an agreement on again media information, or on-hook etc..I.e.
, can be with facilitating communications when WebRTC servers are establishing connection in calling terminal and called terminal, and in communication process
Both sides transmit signaling information, and the connection license of such as both sides, agreement media information, on-hook signaling, these signalings can be by
WebRTC servers help to transmit.
Step 210:When called terminal selection is established by telecommunication network and connected, the WebRTC for receiving calling terminal is initial
Change information and called terminal is sent to by telecommunications gateway, the WebRTC initialization informations of called terminal are received by telecommunications gateway
And calling terminal is sent to, so that calling terminal is completed with called terminal according to WebRTC initialization informations by telecommunications gateway
WebRTC communicates.
When called terminal does not support WebRTC functions, telecommunications gateway can set WebRTC Client Agent modules,
What WebRTC servers were still completed is that the required initialization flow of WebRTC connections and information exchange functions, difference are
WebRTC servers do not carry out information exchange directly with called terminal, but pass through the WebRTC Client Agents in telecommunications gateway
Module forwards directly carry out information exchange with called terminal.So that calling terminal is completed with called terminal by telecommunications gateway
WebRTC communicates.
It is initial to further comprise WebRTC servers progress WebRTC compared with embodiment of the method 1 for this method embodiment
Change the process of information exchange, communicate so that calling terminal completes WebRTC with called terminal, that is, complete calling terminal with being called eventually
The transmission of audio and video or data between end.
It is shown in Figure 3, it is the flow chart of WebRTC communication means embodiment 3 in the embodiment of the present invention, the present embodiment can
To realize this method by telecommunications gateway, may comprise steps of:
Step 301:Telecommunications gateway receives the WebRTC connection requests of WebRTC servers transmission and the electricity of called terminal
Believe account information, the telecommunications account information of called terminal is that the call request that WebRTC servers are sent according to calling terminal obtains
, WebRTC connection requests are the call request generations for the Web signalling formats that WebRTC servers are sent according to calling terminal,
Including WebRTC server address and Session Resources parameter.
The open interface that WebRTC servers pass through telecommunications gateway(Such as SIP interface)Telecommunications gateway, telecommunications network can be called
Close the telecommunications account information of the WebRTC connection requests and called terminal that can receive the transmission of WebRTC servers.
In some embodiments of the invention, WebRTC connection requests include representing WebRTC server address and session
The uniform resource position mark URL address of the Session Resources parameter of resource.The generation of WebRTC connection requests can be taken by WebRTC
Business device is completed, and may refer to the appropriate section of WebRTC communication means embodiment 1 of the present invention, details are not described herein again.
Step 302:WebRTC connection requests are sent to called terminal, so that called terminal is connected in WebRTC servers
Session Resources, so as to establish the connection of calling terminal and called terminal, the connection of wherein called terminal to Session Resources be by
Cry what terminal was initiated according to WebRTC connection requests, Session Resources are WebRTC servers according to the caller carried in call request
End message, caller routing iinformation, call type, are connected point on WebRTC servers for calling terminal with called terminal
Match somebody with somebody.
Telecommunications gateway can complete certification, authentication, please by WebRTC connections by the signaling management passage in telecommunication network
Ask and be pushed to called terminal, i.e., WebRTC connection requests are telephony signaling.
This method embodiment, please by WebRTC connections using telecommunications gateway by WebRTC and the converged communication of telecommunication network
Ask and be sent to called terminal, make called terminal not have to be always maintained at also receiving WebRTC connections with the connection of WebRTC servers
Request, to establish the connection of calling terminal and called terminal, so as to ensure that the real-time of WebRTC communications.
Telecommunications gateway has the function of similar caller identification, can be by the WebRTC connection requests including URL addresses
(The WebRTC server address and Session Resources parameter of WebRTC servers)It is sent to by signaling management passage called whole
End.Incoming call display function refers to the method for all transmission of calling party information in signalling path, such as BELL202 standards, it is allowed to pass
Calling party information within defeated 255 characters.
But the incoming call display function of telecommunications gateway can only transmit the phone number for representing calling party information in some cases
Code, and multiple characters cannot be transmitted(Such as include the WebRTC connection requests of URL addresses), therefore, telecommunications gateway can be used and compiled
The mode of code is mapped telephone number and the WebRTC connection requests including URL addresses.
In this way, in some embodiments of the invention, WebRTC communication means of the embodiment of the present invention may further include:
It is telephone number by URL geocodings;WebRTC connection requests then are sent to called terminal, including:Send and wrap to called terminal
Include the WebRTC connection requests of telephone number.I.e. telecommunications gateway can push WebRTC connection requests, WebRTC to called terminal
Connection request can have two kinds of multi-forms, and a kind of is the WebRTC connection requests for including URL addresses, and another kind is to include phone
The WebRTC connection requests of number.
Further, since called terminal may not support WebRTC functions, then WebRTC client can be set in telecommunications gateway
Hold proxy module.In this way, in some embodiments of the invention, WebRTC of embodiment of the present invention communication means can be wrapped further
Include:When called terminal selection completes WebRTC communications by telecommunication network, foundation and the connection of called terminal, and according to
WebRTC connection requests are connected to the Session Resources in WebRTC servers, so that called terminal is connected in WebRTC servers
Session Resources;Receive the WebRTC initialization informations for the calling terminal that WebRTC servers are sent and be sent to called terminal,
Receive the WebRTC initialization informations of called terminal and calling terminal is sent to by WebRTC servers;To calling terminal and quilt
The data sent between terminal are made to carry out protocol conversion, so that calling terminal is complete according to WebRTC initialization informations with called terminal
Communicate into WebRTC.
I.e. telecommunications gateway starts a simulation WebRTC client, completes the company with the WebRTC clients of calling terminal
Connect, start an analog telecommunications client, complete the connection with the telecom client end of called terminal.Calling terminal is sent to called
The data of terminal are received by the simulation WebRTC clients of telecommunications gateway, after protocol conversion, by the simulation electricity of telecommunications gateway
Letter gateway is sent to called terminal.Likewise, the data that called terminal is sent to calling terminal are turned also by telecommunications gateway
Hair, telecommunications gateway can complete the conversion of WebRTC agreements and telecom agreement.
It is shown in Figure 4, it is the flow chart of WebRTC communication means embodiment 4 in the embodiment of the present invention, the present embodiment can
To realize this method by telecommunications gateway, may comprise steps of:
Step 401:Telecommunications gateway receives the WebRTC connection requests of WebRTC servers transmission and the electricity of called terminal
Believe account information.
Step 402:WebRTC connection requests are sent to called terminal.
Step 403:When called terminal completes WebRTC communications by telecommunication network, the connection with called terminal is established,
And the Session Resources in WebRTC servers are connected to according to WebRTC connection requests.
Step 404:Receive the WebRTC initialization informations for the calling terminal that WebRTC servers are sent and be sent to called
Terminal, receives the WebRTC initialization informations of called terminal and is sent to calling terminal by WebRTC servers.
Step 405:Protocol conversion is carried out to the data that are sent between calling terminal and called terminal so that calling terminal with
Called terminal completes WebRTC communications according to WebRTC initialization informations.
This method embodiment further comprises the process of WebRTC initialization informations exchange compared with embodiment of the method 3,
Particularly called terminal selection is completed when WebRTC communicates by telecommunication network, it is necessary to which telecommunications gateway is by called terminal and WebRTC
Data, information between server are forwarded to, and are communicated so that calling terminal completes WebRTC with called terminal, so as to complete to lead
Cry the transmission of the audio and video or data between terminal and called terminal.
It is shown in Figure 5, it is the flow chart of WebRTC communication means embodiment 5 in the embodiment of the present invention, the present embodiment can
To realize this method by called terminal, may comprise steps of:
Step 501:Called terminal receives the WebRTC connection requests that telecommunications gateway is sent;WebRTC connection requests are
The call request for the Web signalling formats that WebRTC servers are sent according to calling terminal is generated and sent to telecommunications gateway, bag
Include WebRTC server address and Session Resources parameter.
In some embodiments of the invention, WebRTC connection requests include uniform resource position mark URL address, URL
Location represents the Session Resources parameter of WebRTC server address and Session Resources, alternatively, WebRTC connection requests include phone
Number, telephone number are that telecommunications gateway obtains URL geocodings.
When WebRTC connection requests include telephone number, represent telecommunications gateway and WebRTC connection requests encoded,
Need to decode the telephone number, the correspondence of telephone number and URL addresses can be preserved in called terminal, this is right
Should be related to can be carried by the telecom client end of called terminal, can also be updated manually by user.
In this way, in some embodiments of the invention, WebRTC of embodiment of the present invention communication means can further include:
When WebRTC connection requests include telephone number, telephone number is decoded, obtaining, which includes the WebRTC connections of URL addresses, asks
Ask, URL addresses represent the Session Resources parameter of WebRTC server address and Session Resources.
Step 502:Session Resources in WebRTC servers are connected to according to WebRTC connection requests, are established whole with caller
The connection at end;Session Resources are that the call request that WebRTC servers are sent according to calling terminal is calling terminal and called terminal
Distribution.
WebRTC connection requests are passed through telecommunications network by the embodiment of the present invention by WebRTC and the converged communication of telecommunication network
Pass is sent to called terminal, realizes that information pushes using telecommunications gateway, makes user terminal not have to be always maintained at servicing with WebRTC
The connection of device can also receive WebRTC connection requests, to establish WebRTC communications, so as to ensure that the real-time of WebRTC communications.
In some embodiments of the invention, the session being connected to according to WebRTC connection requests in WebRTC servers provides
Source, what foundation was connected with calling terminal realizes that process can include:When selection is by WebRTC connections, URL addresses are opened, even
The Session Resources being connected in WebRTC servers, establish the connection with calling terminal.
In some embodiments of the invention, the session being connected to according to WebRTC connection requests in WebRTC servers provides
Source, what foundation was connected with calling terminal realizes that process can also include:Selection by telecommunication network establish connection when, establish and
The connection of telecommunications gateway, so that telecommunications gateway is connected to the Session Resources in WebRTC servers according to WebRTC connection requests,
The Session Resources being connected in WebRTC servers;By telecommunications gateway, the connection with calling terminal is established.
In some embodiments of the invention, WebRTC of embodiment of the present invention communication means can further include:Selection
When establishing connection by WebRTC, WebRTC initialization informations are sent to WebRTC servers, WebRTC servers is received and sends
Calling terminal WebRTC initialization informations, with calling terminal complete WebRTC communicate;Alternatively, selection is built by telecommunication network
During vertical connection, WebRTC initialization informations are sent to telecommunications gateway, at the beginning of the WebRTC for receiving the calling terminal that telecommunications gateway is sent
Beginningization information, completes WebRTC with calling terminal and communicates.
Call management software i.e. in called terminal can be sentenced when receiving WebRTC connection requests by calling party information
Break this be a WebRTC connection request or common telephone call request.If during WebRTC connection requests, Yong Huke
To choose whether directly to be attached with calling terminal, if it is, URL addresses, connection can be opened by opening browser
To the Session Resources in WebRTC servers, establish the connection with calling terminal, and can directly by WebRTC servers with
Calling terminal carries out the exchange of initialization information, and completion communicates with the WebRTC of calling terminal;If it is not, then can be with telecommunications network
Connection connects, and the Session Resources in WebRTC servers are connected to by telecommunications gateway, by telecommunications gateway, foundation and calling terminal
Connection, calling terminal is carried out by telecommunications gateway and WebRTC servers and is exchanged with the initialization information of called terminal, is passed through
Telecommunications gateway is completed to communicate with the WebRTC of calling terminal.
That is, when called terminal selection is directly attached with calling terminal, exchanged in WebRTC initialization informations
Afterwards, called terminal selection and calling terminal direct communication, are real communication modes end to end;And called terminal selection is not straight
Connect when being attached with calling terminal, after the exchange of WebRTC initialization informations, called terminal selection passes through electricity with calling terminal
The forwarding of letter gateway communicates, and is not belonging to proper end-to-end communication.In this way, the embodiment of the present invention is in called terminal
When being fitted without the browser for supporting WebRTC, real-time Communication for Power can also be completed with calling terminal.
It is shown in Figure 6, it is the flow chart of WebRTC communication means embodiment 6 in the embodiment of the present invention, the present embodiment can
To realize this method by called terminal, may comprise steps of:
Step 601:Called terminal receives the WebRTC connection requests that telecommunications gateway is sent.
Step 602:Identify WebRTC connection request contents.
Step 603:When WebRTC connection requests content includes representing WebRTC server address and Session Resources parameter
URL addresses, obtain the URL addresses.
Step 604:When WebRTC connection requests include telephone number, telephone number is decoded, acquisition includes representative
The URL addresses of WebRTC server address and Session Resources parameter.
Step 605:Judge whether directly to be attached with calling terminal, if so, 606 are entered step, if not, into
Step 608.
Step 606:URL addresses are opened by browser, the Session Resources being connected in WebRTC servers, are established and main
Cry the connection of terminal.
Step 607:WebRTC initialization informations are sent to WebRTC servers, receive the caller that WebRTC servers are sent
The WebRTC initialization informations of terminal, complete WebRTC with calling terminal and communicate.
Step 608:The connection with telecommunications gateway is established, so that telecommunications gateway is connected to according to WebRTC connection requests
Session Resources in WebRTC servers;By telecommunications gateway, the connection with calling terminal is established.
Step 609:WebRTC initialization informations are sent to telecommunications gateway, receive the calling terminal that telecommunications gateway is sent
WebRTC initialization informations, complete WebRTC with calling terminal by telecommunications gateway and communicate.
This method embodiment further comprises called terminal directly or by decoded side compared with embodiment of the method 5
Formula, which obtains WebRTC connection requests, to be included representing the process of the URL addresses of WebRTC server address and Session Resources parameter
And selection establishes connection by telecommunication network by WebRTC connections or selection and WebRTC initialization is exchanged with calling terminal
Information, completes the process of WebRTC communications.This method embodiment illustrates that called terminal is whole with caller from the angle of called terminal
The process of Real-Time Web RTC communications is established at end.
Corresponding with above-mentioned each WebRTC communication means embodiment, shown in Figure 7, the embodiment of the present invention also provides
A kind of WebRTC communications system embodiments, including calling terminal 701, WebRTC servers 702, telecommunications gateway 703 and called
Terminal 704.
Calling terminal 701, for sending call request to WebRTC servers, can include called terminal in call request
Telecommunications account information;Be connected to WebRTC be calling terminal be connected with called terminal establish Session Resources in, with foundation and
The connection of called terminal.
In some embodiments of the invention, calling terminal is additionally operable to:Calling terminal is sent to WebRTC servers
WebRTC initialization informations, receive the WebRTC initialization informations for the called terminal that WebRTC servers are sent, and complete and called
The WebRTC communications of terminal.
WebRTC servers 702, for receiving the call request of calling terminal transmission, call request is Web signalings;According to
Call request obtain called terminal telecommunications account information, and according to carried in call request calling terminal information, caller road
By information, call type, the Session Resources that calling terminal is connected with called terminal are established on WebRTC servers;Generation
WebRTC connection requests, WebRTC connection requests include the Session Resources parameter of WebRTC server address and Session Resources;
The telecommunications account information of WebRTC connection requests and called terminal is sent to telecommunications gateway, so that telecommunications gateway is to called terminal
Forward WebRTC connection requests;Connection of the called terminal to Session Resources is established, so as to establish calling terminal and called terminal
Connection, the connection of wherein called terminal to Session Resources is that called terminal is initiated according to WebRTC connection requests.
In some embodiments of the invention, the telecommunications account information of called terminal is obtained according to call request, including:Such as
Fruit call request includes the telecommunications account information of called terminal, directly obtains the telecommunications account information of called terminal;If alternatively,
Call request includes the WebRTC account informations of called terminal, searches the WebRTC account informations and called terminal of called terminal
The mapping relations of telecommunications account information, obtain the telecommunications account information of called terminal.
In some embodiments of the invention, WebRTC connection requests are generated, WebRTC connection requests take including WebRTC
Business device address and the Session Resources parameter of Session Resources, including:Generation includes the WebRTC of uniform resource position mark URL address
Connection request, URL addresses represent the Session Resources parameter of WebRTC server address and Session Resources.
In some embodiments of the invention, WebRTC servers are additionally operable to:Receive the WebRTC initialization of calling terminal
Information is simultaneously sent to called terminal, receives the WebRTC initialization informations of called terminal and is sent to calling terminal, so that caller
Terminal completes WebRTC according to WebRTC initialization informations with called terminal and communicates,
In some embodiments of the invention, when called terminal is selected to establish by telecommunication network and connected, caller is received
The WebRTC initialization informations of terminal are simultaneously sent to called terminal, receive the WebRTC initialization informations of called terminal and are sent to
Calling terminal so that calling terminal and called terminal WebRTC completed according to WebRTC initialization informations communicate be specially:Receive
The WebRTC initialization informations of calling terminal are simultaneously sent to called terminal by telecommunications gateway, are received by telecommunications gateway called whole
The WebRTC initialization informations at end are simultaneously sent to calling terminal, believe so that calling terminal is initialized with called terminal according to WebRTC
Breath completes WebRTC communications by telecommunications gateway.
Telecommunications gateway 703, for receiving the WebRTC connection requests of WebRTC servers transmission and the electricity of called terminal
Believe account information, the telecommunications account information of called terminal is that the call request that WebRTC servers are sent according to calling terminal obtains
, WebRTC connection requests are the call request generations for the Web signalling formats that WebRTC servers are sent according to calling terminal,
Including WebRTC server address and Session Resources parameter;WebRTC connection requests are sent to called terminal, so that called whole
End is connected to the Session Resources in WebRTC servers, so that the connection of calling terminal and called terminal is established, wherein called whole
The connection for holding Session Resources is that called terminal is initiated according to WebRTC connection requests, and Session Resources are WebRTC server roots
According to the calling terminal information, caller routing iinformation, call type carried in call request, on WebRTC servers based on
Terminal is made to be connected distribution with called terminal.
In some real-time examples of the present invention, WebRTC connection requests include representing WebRTC server address and session
The uniform resource position mark URL address of the Session Resources parameter of resource.
In some embodiments of the invention, telecommunications gateway is additionally operable to:It is telephone number by URL geocodings;To called
Terminal sends WebRTC connection requests, including:Being sent to called terminal includes the WebRTC connection requests of telephone number.
In some embodiments of the invention, telecommunications gateway is additionally operable to:Completed in called terminal selection by telecommunication network
When WebRTC communicates, the connection with called terminal is established, and be connected in WebRTC servers according to WebRTC connection requests
Session Resources, so that called terminal is connected to the Session Resources in WebRTC servers;Receive the master that WebRTC servers are sent
It is the WebRTC initialization informations of terminal and is sent to called terminal, receives the WebRTC initialization informations of called terminal and pass through
WebRTC servers are sent to calling terminal;Protocol conversion is carried out to the data sent between calling terminal and called terminal, with
Make calling terminal complete WebRTC according to WebRTC initialization informations with called terminal to communicate.
Called terminal 704, for receiving the WebRTC connection requests of telecommunications gateway transmission;WebRTC connection requests are
The call request for the Web signalling formats that WebRTC servers are sent according to calling terminal is generated and sent to telecommunications gateway, bag
Include WebRTC server address and Session Resources parameter;Meeting in WebRTC servers is connected to according to WebRTC connection requests
Resource is talked about, establishes the connection with calling terminal;Session Resources are the call requests that WebRTC servers are sent according to calling terminal
Distributed for calling terminal and called terminal.
In some embodiments of the invention, WebRTC connection requests include uniform resource position mark URL address, URL
Location represents the Session Resources parameter of WebRTC server address and Session Resources, alternatively, WebRTC connection requests include phone
Number, telephone number are that telecommunications gateway obtains URL geocodings.
In some embodiments of the invention, called terminal is additionally operable to:It is right when WebRTC connection requests include telephone number
Telephone number is decoded, and obtains the WebRTC connection requests for including URL addresses, URL addresses represent WebRTC server address
And the Session Resources parameter of Session Resources.
In some embodiments of the invention, the session being connected to according to WebRTC connection requests in WebRTC servers provides
Source, establishes the connection with calling terminal, including:When selection is by WebRTC connections, URL addresses are opened, are connected to WebRTC clothes
The Session Resources being engaged in device, establish the connection with calling terminal.
In some embodiments of the invention, the session being connected to according to WebRTC connection requests in WebRTC servers provides
Source, establishes the connection with calling terminal, including:When selection establishes connection by telecommunication network, the connection with telecommunications gateway is established,
So that telecommunications gateway is connected to the Session Resources in WebRTC servers according to WebRTC connection requests;By telecommunications gateway, build
The vertical connection with calling terminal.
In some embodiments of the invention, called terminal is additionally operable to:When selection establishes connection by WebRTC, to
WebRTC servers send WebRTC initialization informations, receive the WebRTC initialization for the calling terminal that WebRTC servers are sent
Information, completes WebRTC with calling terminal and communicates;Alternatively, selection is established by telecommunication network when connecting, sent to telecommunications gateway
WebRTC initialization informations, receive the WebRTC initialization informations for the calling terminal that telecommunications gateway is sent, and are completed with calling terminal
WebRTC communicates.
Signalling exchange schematic diagram with reference to shown in Fig. 8, the information above-mentioned various pieces role and each several part
Interaction is simply introduced.
Step 801:Calling terminal sends call request to WebRTC servers, which is Web signalings.
Step 802:WebRTC servers obtain the telecommunications account information of called terminal according to call request.
Step 803:WebRTC servers according to the calling terminal information carried in call request, caller routing iinformation, exhale
Type information is, the Session Resources that calling terminal is connected with called terminal are established on WebRTC servers.
Step 804:WebRTC servers generate WebRTC connection requests, call telecommunications gateway, are sent to telecommunications gateway
The telecommunications account information of WebRTC connection requests and called terminal.
Step 805:Telecommunications gateway is prepared calling called terminal, is connected WebRTC by signalling path by certification, authentication
Connect request and be pushed to called terminal.
Step 806:Called terminal receives WebRTC connection requests, according to WebRTC connection requests, judge whether directly with
Calling terminal is attached, if so, i.e. selection establishes connection by WebRTC, enters step 807, if not, selecting logical
Cross telecommunication network and establish connection, enter step 809.
Step 807:Called terminal is by browser opening URL addresses, the Session Resources being connected in WebRTC servers,
Establish the connection with calling terminal.
Step 808:The WebRTC initialization informations of WebRTC server exchanges calling terminal and called terminal, complete caller
Terminal communicates with the WebRTC of called terminal.
Step 809:Called terminal establishes the connection with telecommunications gateway, and telecommunications gateway is connected to according to WebRTC connection requests
Session Resources in WebRTC servers;The connection of called terminal and calling terminal is established by telecommunications gateway.
Step 810:The WebRTC that WebRTC servers exchange calling terminal and called terminal by telecommunications gateway is initialized
Information, completes calling terminal by telecommunications gateway and communicates with the WebRTC of called terminal.
It is shown in Figure 9, it is the schematic diagram of WebRTC server examples in the embodiment of the present invention, can includes:
Receiving unit 901, the call request of calling terminal transmission, call request Web are received for WebRTC servers
Signaling;
Unit 902 is established, for obtaining the telecommunications account information of called terminal according to call request, and according to call request
Calling terminal information, caller routing iinformation, the call type of middle carrying, established on WebRTC servers calling terminal with
The Session Resources of called terminal connection;
Generation unit 903, for generating WebRTC connection requests, WebRTC connection requests include WebRTC server address
And the Session Resources parameter of Session Resources;
Transmitting element 904, for sending the WebRTC connection requests of generation unit generation to telecommunications gateway and establishing single
The telecommunications account information for the called terminal that member is established, so that telecommunications gateway forwards WebRTC connection requests to called terminal;
Connection unit 905, establishes connection of the called terminal to Session Resources, so as to establish calling terminal and called terminal
Connection, the connection of wherein called terminal to Session Resources is that the WebRTC connection requests that called terminal is sent according to transmitting element are sent out
Rise.
In some embodiments of the invention, establishing unit can be specifically used for:
If the call request that receiving unit receives includes the telecommunications account information of called terminal, called terminal is directly obtained
Telecommunications account information, establish the Session Resources that calling terminal is connected with called terminal;
Alternatively, if the call request that receiving unit receives includes the WebRTC account informations of called terminal, search called
The mapping relations of the WebRTC account informations of terminal and the telecommunications account information of called terminal, obtain the telecommunications account of called terminal
Information, establishes the Session Resources that calling terminal is connected with called terminal.
In some embodiments of the invention, generation unit can be specifically used for:
Generation includes the WebRTC connection requests of uniform resource position mark URL address, and URL addresses represent WebRTC servers
Address and the Session Resources parameter for establishing the Session Resources that unit is established.
In some embodiments of the invention, WebRTC of embodiment of the present invention servers can also include:
Initialization unit, receives the WebRTC initialization informations of calling terminal and is sent to called terminal, receives called whole
The WebRTC initialization informations at end are simultaneously sent to calling terminal, believe so that calling terminal is initialized with called terminal according to WebRTC
Breath completes WebRTC communications.
In some embodiments of the invention, when called terminal is selected to establish by telecommunication network and connected, initialization is single
Member is specifically used for:When called terminal selection is established by telecommunication network and connected, the WebRTC initialization letters of calling terminal are received
Cease and called terminal is sent to by telecommunications gateway, the WebRTC initialization informations that called terminal is received by telecommunications gateway are concurrent
Calling terminal is given, so that calling terminal completes WebRTC according to WebRTC initialization informations with called terminal by telecommunications gateway
Communication.
It is shown in Figure 10, it is the schematic diagram of telecommunications gateway embodiment in the embodiment of the present invention, can includes:
Receiving unit 1001, for receiving the WebRTC connection requests of WebRTC servers transmission and the electricity of called terminal
Believe account information, the telecommunications account information of called terminal is that the call request that WebRTC servers are sent according to calling terminal obtains
, WebRTC connection requests are the call request generations for the Web signalling formats that WebRTC servers are sent according to calling terminal,
Including WebRTC server address and Session Resources parameter;
Transmitting element 1002, for sending the WebRTC connection requests of receiving unit reception to called terminal, so that called
Terminal is connected to the Session Resources in WebRTC servers, so that the connection of calling terminal and called terminal is established, wherein called
The connection of terminal to Session Resources is that called terminal is initiated according to WebRTC connection requests, and Session Resources are WebRTC servers
According to the calling terminal information, caller routing iinformation, call type carried in call request, it is on WebRTC servers
Calling terminal is connected distribution with called terminal.
In some embodiments of the invention, WebRTC connection requests can include represent WebRTC server address and
The uniform resource position mark URL address of Session Resources parameter.
In some embodiments of the invention, telecommunications gateway can also include in the embodiment of the present invention:
Coding unit, for being telephone number by URL geocodings;
Transmitting element can be specifically used for:The WebRTC for including telephone number of coding unit coding is sent to called terminal
Connection request.
In some embodiments of the invention, telecommunications gateway can also include in the embodiment of the present invention:
Agent unit, for when called terminal selection is by telecommunication network completion WebRTC communications, establishing and called whole
The connection at end, and the Session Resources in WebRTC servers are connected to according to WebRTC connection requests, so that called terminal connects
To the Session Resources in WebRTC servers;
Initialization unit, the WebRTC initialization informations of the calling terminal sent for receiving WebRTC servers are simultaneously sent
To called terminal, receive the WebRTC initialization informations of called terminal and calling terminal is sent to by WebRTC servers;
Agent unit, can be also used for carrying out protocol conversion to the data sent between calling terminal and called terminal, with
Make calling terminal complete WebRTC according to WebRTC initialization informations with called terminal to communicate.
It is shown in Figure 11, it is the schematic diagram of terminal embodiment in the embodiment of the present invention, which can be called terminal,
It can include:
Receiving unit 1101, for receiving the WebRTC connection requests of telecommunications gateway transmission;WebRTC connection requests are
The call request for the Web signalling formats that WebRTC servers are sent according to calling terminal is generated and sent to telecommunications gateway, bag
Include WebRTC server address and Session Resources parameter;
Connection unit 1102, the WebRTC connection requests for being received according to receiving unit are connected in WebRTC servers
Session Resources, establish and the connection of calling terminal;Session Resources are the callings that WebRTC servers are sent according to calling terminal
Ask what is distributed for calling terminal and called terminal.
In some embodiments of the invention, WebRTC connection requests can include uniform resource position mark URL address,
URL addresses represent the Session Resources parameter of WebRTC server address and Session Resources, alternatively, WebRTC connection requests include
Telephone number, telephone number are that telecommunications gateway obtains URL geocodings.
In some embodiments of the invention, terminal can also include in the embodiment of the present invention:
Decoding unit, for including telephone number when WebRTC connection requests, decodes telephone number, including
The WebRTC connection requests of URL addresses, URL addresses represent the Session Resources ginseng of WebRTC server address and Session Resources
Number.
In some embodiments of the invention, connection unit can be specifically used for:
When selection is by WebRTC connections, receiving unit the receives or decoded URL addresses of decoding unit are opened, are connected to
Session Resources in WebRTC servers, establish the connection with calling terminal.
In some embodiments of the invention, connection unit can be specifically used for:
Selection by telecommunication network establish connection when, establish and telecommunications gateway connection so that telecommunications gateway according to
WebRTC connection requests are connected to the Session Resources in WebRTC servers;By telecommunications gateway, the company with calling terminal is established
Connect.
In some embodiments of the invention, terminal can also include in the embodiment of the present invention:
Initialization unit, when being connected for selecting to establish by WebRTC, it is initial to send WebRTC to WebRTC servers
Change information, receive the WebRTC initialization informations for the calling terminal that WebRTC servers are sent, WebRTC is completed with calling terminal
Communication;Alternatively, selection is established by telecommunication network when connecting, WebRTC initialization informations are sent to telecommunications gateway, receive telecommunications
The WebRTC initialization informations for the calling terminal that gateway is sent, complete WebRTC with calling terminal and communicate.
Further, the embodiment of the present invention also each provides the hardware structure of WebRTC servers, telecommunications gateway and terminal
Into.It may include at least one processor(Such as CPU), at least one network interface or other communication interfaces, memory, and extremely
A few communication bus, the connection communication being used for realization between these devices.Processor be used for perform stored in memory can
Execution module, such as computer program.Memory may include high-speed random access memory(RAM:Random Access
Memory), it is also possible to further include non-labile memory(non-volatile memory), a for example, at least disk deposits
Reservoir.Pass through at least one network interface(Can be wired or wireless)Realize the system gateway and at least one other network element
Between communication connection, internet, wide area network, local network, Metropolitan Area Network (MAN) etc. can be used.
It is shown in Figure 12 for WebRTC servers, in some embodiments, program is stored in memory
Instruction, programmed instruction can be executed by processor, wherein, programmed instruction may include receiving unit 901, establish unit 902, generation
Unit 903, transmitting element 904, connection unit 905, or programmed instruction can also include initialization unit.Each unit it is specific
Realize and can be found in the revealed corresponding units of Fig. 9, which is not described herein again.
It is shown in Figure 13 for telecommunications gateway, store program in some embodiments, in memory and refer to
Order, programmed instruction can be executed by processor, wherein, programmed instruction may include receiving unit 1001, transmitting element 1002, or
Programmed instruction can also include coding unit, agent unit, initialization unit.The specific implementation of each unit can be found in Figure 10 and be taken off
The corresponding units shown, which is not described herein again.
It is shown in Figure 14 for terminal, in some embodiments, programmed instruction, journey are stored in memory
Sequence instruction can be executed by processor, wherein, programmed instruction may include receiving unit 1101, connection unit 1102, or program
Instruction can also include decoding unit, initialization unit.The specific implementation of each unit can be found in the revealed corresponding units of Figure 11,
Which is not described herein again.
It should be noted that each embodiment is described by the way of progressive in this specification, each embodiment emphasis is said
Bright is all the difference with other embodiment, between each embodiment identical similar portion mutually referring to.For reality
For applying system disclosed in example or device, since it is corresponded to the methods disclosed in the examples, so fairly simple, the phase of description
Part is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
Can directly it be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory(RAM), memory, read-only deposit
Reservoir(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.