WO2015124045A1 - 一种通道建立的方法和设备 - Google Patents

一种通道建立的方法和设备 Download PDF

Info

Publication number
WO2015124045A1
WO2015124045A1 PCT/CN2015/070523 CN2015070523W WO2015124045A1 WO 2015124045 A1 WO2015124045 A1 WO 2015124045A1 CN 2015070523 W CN2015070523 W CN 2015070523W WO 2015124045 A1 WO2015124045 A1 WO 2015124045A1
Authority
WO
WIPO (PCT)
Prior art keywords
called terminal
webrtc
gateway device
signaling gateway
terminal
Prior art date
Application number
PCT/CN2015/070523
Other languages
English (en)
French (fr)
Inventor
李靖
田振华
叶婉玲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15752241.8A priority Critical patent/EP3073705B1/en
Publication of WO2015124045A1 publication Critical patent/WO2015124045A1/zh
Priority to US15/242,244 priority patent/US10250646B2/en

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/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • 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/1033Signalling gateways
    • H04L65/104Signalling 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/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for establishing a channel.
  • WEBRTC Web Real-Time Communication
  • SRTP Secure Real-time Transport Protocol
  • ICE Interactive Connectivity Establishment
  • NAT Network Address Translation, network address translation
  • IMS IP Multimedia Subsystem
  • SIP Session Initiation Protocol
  • a device or a soft terminal is called a SIP terminal.
  • Most SIP terminals do not support ICE and do not support SRTP.
  • the process of establishing a media channel between the WEBRTC terminal and the called terminal based on the IMS network is: after the WEBRTC terminal successfully registers in the IMS network, sending a session request message to the WEBRTC signaling gateway device, the WEBRTC signaling gateway After receiving the session request message, the device applies for a media endpoint to the WEBRTC media gateway device, where the media endpoint is used to convert the format of the media data and terminate the ICE process, and the WEBRTC signaling gateway device modifies the SDP in the session request message (Session Description) Protocol, the session description protocol, is to modify the SRTP described by the SDP to the RTP, and delete the ICE, the WEBRTC signaling gateway device sends the modified session request message to the IMS signaling gateway device, where the IMS signaling gateway device is After the IMS media gateway device applies for the media endpoint, the network sends the modified session request message to the called terminal through the IMS network, and the called terminal replies to the WEBRTC terminal with a session
  • the media candidate address information of the media gateway device includes media candidate address information of the WEBRTC media gateway device or media candidate address information of the IMS media gateway device, and the WEBRTC media gateway device and the IMS media gateway device need to be in the process of data transmission. To complete the conversion of the data format, the WEBRTC media gateway device also needs to complete the termination of the ICE process.
  • the above process can obtain a good application effect, but when the called terminal is a WEBRTC terminal, the above data transmission process increases the path of data transmission, increasing Large network latency and load on media gateway devices.
  • the invention provides a channel establishing method and device, which can reduce the data transmission path and reduce the network delay when two WEBRTC terminals transmit data based on the IMS network, and reduce the load of the media gateway device.
  • a method of channel establishment including:
  • the first webpage real-time communication WEBRTC signaling gateway device receives a session request message sent by the calling terminal, including the called terminal identifier, where the calling terminal is a WEBRTC terminal;
  • the sending, by the WEBRTC signaling gateway device that is corresponding to the gateway identifier, the session request message to the called terminal includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is the first WEBRTC signaling gateway device, and sending the session request message to the called terminal.
  • the sending, by the WEBRTC signaling gateway device corresponding to the gateway identifier, the session request message to the called terminal includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is a second WEBRTC signaling gateway device, and sending the session request message to the second WEBRTC signaling gateway device, so that the Transmitting, by the second WEBRTC signaling gateway device, the session request message to the called terminal;
  • the receiving the session response message sent by the called terminal includes:
  • the session request message includes media candidate address information of the calling terminal, where The session response message includes media candidate address information of the called terminal;
  • the establishing, by the calling terminal, the end-to-end media channel between the called terminal and the called terminal according to the session response message includes:
  • the calling terminal establishes an end-to-end media channel with the called terminal according to its media candidate address information and media candidate address information of the called terminal.
  • Another method of channel establishment including:
  • the first WEBRTC signaling gateway device After receiving the session request message sent by the calling terminal, the first WEBRTC signaling gateway device receives the query request message including the called terminal identifier sent by the first WEBRTC signaling gateway device; wherein the calling party The terminal is a WEBRTC terminal;
  • the first WEBRTC signaling gateway device Sending, by the first WEBRTC signaling gateway device, an access mode of the called terminal accessing the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, so that the first The WEBRTC signaling gateway device determines, according to the access mode, that the called terminal is a WEBRTC terminal, and identifies a corresponding WEBRTC letter by using the gateway. And causing the gateway device to send the session request message to the called terminal, and send the received session response message to the calling terminal, so that the calling terminal establishes and End-to-end media channel between called terminals.
  • the determining, according to the called terminal identifier, the access mode of the called terminal to access the WEBRTC signaling gateway device and the WEBRTC accessed by the called terminal specifically includes:
  • the correspondence relationship includes the called terminal identifier, a gateway identifier of a WEBRTC signaling gateway device accessed by the called terminal, and an access mode of the called terminal accessing a WEBRTC signaling gateway device. Correspondence between them.
  • the method before the receiving the query request message sent by the first WEBRTC signaling gateway device, the method further includes:
  • the WEBRTC server Receiving, by the WEBRTC server, the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal;
  • the method further includes:
  • the corresponding relationship is that the other WEBRTC server receives the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal, and determines The access code is stored when the WEBRTC signaling gateway device accessed by the called terminal is allocated to the access code of the called terminal.
  • the method further includes:
  • a third aspect of the present invention provides a WEBRTC signaling gateway device, including:
  • a receiving unit configured to receive a session request message that is sent by the calling terminal, including the called terminal identifier, and a session response message that is sent by the called terminal, and is further configured to receive, by the WEBRTC server, the received message sent by the WEBRTC signaling gateway device
  • the access mode of the called terminal accessing the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal after the query request message of the terminal identifier is sent, wherein the calling party
  • the terminal is a WEBRTC terminal, and the access mode includes accessing through a WEB;
  • a determining unit configured to determine, according to the access manner received by the receiving unit, that the called terminal is a WEBRTC terminal;
  • a sending unit configured to send a query request message including the called terminal identifier to the WEBRTC server; after the determining unit determines that the called terminal is a WEBRTC terminal, the WEBRTC signaling gateway device corresponding to the gateway identifier Sending a session request message to the called terminal; transmitting the session response message to the calling terminal, so that the calling terminal establishes end-to-end media with the called terminal according to the session response message aisle.
  • the sending, by the WEBRTC signaling gateway device that is corresponding to the gateway identifier, the session request message to the called terminal includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is the first WEBRTC signaling gateway device, and sending the session request message to the called terminal.
  • the And the sending the session request message to the called terminal by the corresponding WEBRTC signaling gateway device includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is a second WEBRTC signaling gateway device, and sending the session request message to the second WEBRTC signaling gateway device, so that the Transmitting, by the second WEBRTC signaling gateway device, the session request message to the called terminal;
  • the receiving the session response message sent by the called terminal comprises: after the called terminal sends a session response message to the second WEBRTC signaling gateway device, receiving the second WEBRTC signaling gateway The session response message sent by the device.
  • the session request message includes media candidate address information of the calling terminal, where
  • the session response message includes media candidate address information of the called terminal;
  • the establishing, by the calling terminal, the end-to-end media channel between the called terminal and the called terminal according to the session response message includes:
  • the calling terminal establishes an end-to-end media channel with the called terminal according to its media candidate address information and media candidate address information of the called terminal.
  • a WEBRTC server including:
  • a receiving unit configured to receive, after the first WEBRTC signaling gateway device receives the session request message sent by the calling terminal, the query request message including the called terminal identifier sent by the first WEBRTC signaling gateway device; Said calling terminal is a WEBRTC terminal;
  • a determining unit configured to determine, according to the called terminal identifier received by the receiving unit, an access mode of the called terminal to access the WEBRTC signaling gateway device and a gateway of the WEBRTC signaling gateway device accessed by the called terminal Identifying, the access mode includes accessing through a WEB;
  • a sending unit configured to send, to the first WEBRTC signaling gateway device, an access mode of the called terminal to access the WEBRTC signaling gateway device determined by the determining unit, and WEBRTC signaling accessed by the called terminal a gateway identifier of the gateway device, so that the first signaling device determines that the called terminal is a WEBRTC terminal according to the access mode, and sends the session request message to the WEBRTC signaling gateway device corresponding to the gateway identifier to The called terminal sends a received session response message to the calling terminal, so that the calling terminal establishes end-to-end media with the called terminal according to the session response message. aisle.
  • the determining unit is specifically configured to determine, according to the corresponding relationship stored by the called terminal identifier query, the called terminal accessing the WEBRTC signaling gateway device.
  • the WEBRTC server further includes a storage unit, where the receiving unit is further configured to receive the first WEBRTC signaling Before receiving the query request message sent by the gateway device, receiving the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal;
  • the storage unit is configured to: when determining that an access code received by the receiving unit is an access code allocated by the WEBRTC signaling gateway device accessed by the called terminal to the called terminal, storing the The correspondence between the terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device.
  • the receiving unit is further configured to receive the Between the called terminal identifier sent by the other WEBRTC server, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device Correspondence relationship
  • the corresponding relationship is that the other WEBRTC server receives the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal, and determines that the access code is the called terminal access.
  • the WEBRTC signaling gateway device is stored when it is allocated to the access code of the called terminal.
  • the WEBRTC server further includes an update unit, and the receiving The unit is further configured to: after the called terminal disconnects from the corresponding WEBRTC signaling gateway device, receive an update request message sent by the WEBRTC signaling gateway device corresponding to the called terminal;
  • the updating unit is configured to change an access mode of the called terminal to access the WEBRTC signaling gateway device according to the update request message received by the receiving unit.
  • the calling terminal before the calling terminal establishes a media channel with the called terminal, it may be determined in advance whether the called terminal is a WEBRTC terminal, and when determining that the called terminal is a WEBRTC terminal, establishing the calling terminal and The end-to-end media channel between the called terminal, the data transmission between the calling terminal and the called terminal does not need to be converted by the media gateway device and the end of the ICE process, and the two WEBRTC terminals are reduced.
  • the path of data transmission while reducing network latency, reduces the load on the media gateway device.
  • FIG. 1 is a schematic flowchart diagram of a method for establishing a channel according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a system for data transmission of two WEBRTC terminals based on an IMS network according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of another method for establishing a channel according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of another method for establishing a channel according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart diagram of another method for establishing a channel according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a WEBRTC signaling gateway device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a WEBRTC server according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another WEBRTC signaling gateway device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another WEBRTC server according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for establishing a channel. As shown in FIG. 1 , the method includes:
  • the first WEBRTC signaling gateway device receives the terminal that is sent by the calling terminal, including the called terminal.
  • the session request message identified by the end.
  • the calling terminal is a WEBRTC terminal.
  • the calling terminal logs in to the WEBRTC server corresponding to the calling terminal by using a username and a password, and the WEBRTC server verifies the username and password. And after the authentication is passed, the access code and the IP address of the WEBRTC signaling gateway device are returned to the calling terminal.
  • the WEBRTC server may allocate a WEBRTC signaling gateway device to the calling terminal by using a load balancing and proximity principle.
  • the IP address of the WEBRTC signaling gateway device returned by the WEBRTC server may be one or a list, and the master may be a list.
  • the terminal is selected to access the WEBRTC signaling gateway device according to the local policy, and the calling terminal determines that the accessed WEBRTC signaling gateway device is the first WEBRTC signaling gateway device.
  • the calling terminal sends an IMS registration request message to the first WEBRTC signaling gateway device, where the registration request message carries the access code, and the first WEBRTC signaling gateway device receives the registration request message. Then, the access code is used to verify in the WEBRTC server to determine that the calling terminal has passed the identity verification of the WEBRTC server.
  • the first WEBRTC signaling gateway device sends a verification message carrying the access code to the WEBRTC server, so that the WEBRTC server determines whether the access code is allocated to the calling terminal by the WEBRTC server, and if so, Determining that the identity verification of the calling terminal is successful, the WEBRTC server stores the calling terminal identifier, the gateway identifier of the first WEBRTC signaling gateway device, and the WEB connection of the calling terminal accessing the first WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device Entering the correspondence between the three modes, and transmitting the IMPU (IP Multimedia Public Identity) of the calling terminal and the IMPI of the calling terminal to the first WEBRTC signaling gateway device (IP Multimedia) Private identity, IP multimedia private identity, the first WEBRTC signaling gateway device sends the IMS registration request message to the IMS signaling gateway device according to the IMPU and the IMPI, and the IMS signaling gateway device returns an IMS registration response message to The calling terminal completes registration of the calling terminal in the IMS network.
  • IP Multimedia Public Identity IP Multimedia Public Identity
  • IP Multimedia IP Multimedia Private identity
  • the WEBRTC server may store the calling terminal identifier, the gateway identifier of the first WEBRTC signaling gateway device, and the WEB access of the calling terminal accessing the first WEBRTC signaling gateway device by using a correspondence relationship table.
  • the correspondence between the three methods, The correspondence table may include a correspondence table between the calling terminal identifier and a gateway identifier of the first WEBRTC signaling gateway device, and the calling terminal identifier and the calling terminal accessing the first WEBRTC signaling gateway.
  • Correspondence table of the WEB access mode of the device is not limited in the present invention.
  • the calling terminal sends the session request message to the first WEBRTC signaling gateway device, where the session request message is used to establish a media channel with the called terminal.
  • the first WEBRTC signaling gateway device sends a query request message including the called terminal identifier to the WEBRTC server, and receives an access mode of the called terminal accessing the WEBRTC signaling gateway device sent by the WEBRTC server, and the called terminal.
  • the gateway identifier of the accessed WEBRTC signaling gateway device is not limited to the Wi-Fi protocol.
  • the access mode includes accessing through a WEB.
  • the WEBRTC server stores the calling terminal identifier and the first WEBRTC signaling gateway device after the calling terminal accesses the first WEBRTC signaling gateway device. Corresponding relationship between the gateway identifier and the WEB access mode of the first WEBRTC signaling gateway device of the calling terminal. Similarly, after the called terminal accesses the WEBRTC signaling gateway device, it corresponds to The WEBRTC server of the terminal stores the correspondence between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device. .
  • the WEBRTC server may be the same as the WEBRTC server connected to the called terminal. After receiving the query request message, the WEBRTC server queries the called terminal identifier to query the stored relationship, and determines the called terminal access. The access mode of the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and sending the access mode and the gateway identifier to the first WEBRTC signaling gateway device; The calling terminal and the called terminal are connected to different WEBRTC servers of the same carrier. Since the WEBRTC server in the same carrier network can perform data query or data synchronization, the WEBRTC server that receives the query request message is received.
  • the access mode of the called terminal accessing the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal may be determined according to the called terminal identifier, and the first WEBRTC signaling gateway is sent to the first WEBRTC signaling gateway.
  • the device sends the access mode and the gateway identifier.
  • the WEBRTC server to which the calling terminal and the called terminal are connected may also belong to different operators. If the WEBRTC server connected between the calling terminal and the called terminal belongs to different operators, the WEBRTC server can also perform data synchronization or data query between different operators, and the WEBRTC server that receives the query request message can also be based on the called terminal. Determining an access mode of the called terminal accessing the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and transmitting the access mode to the first WEBRTC signaling gateway device And the gateway identifier. Among them, the WEBRTC signaling gateway devices of different operators can communicate with each other through the Interconnection Border Gateway Function (IBGF).
  • IBGF Interconnection Border Gateway Function
  • the first WEBRTC signaling gateway device determines, according to the access mode, that the called terminal is a WEBRTC terminal, and sends a session request message to the called terminal by using a WEBRTC signaling gateway device corresponding to the gateway identifier.
  • the access mode of the WEBRTC terminal accessing the WEBRTC signaling gateway device is the WEB access mode, and the SIP terminal accesses.
  • the access mode of the WEBRTC signaling gateway device is the SIP access mode. Therefore, the first WEBRTC signaling gateway device can determine the terminal of the called terminal by using the access mode of the called terminal to access the WEBRTC signaling gateway device. Types of.
  • the first WEBRTC signaling gateway device determines, according to the gateway identifier of the WEBRTC signaling gateway device that the called terminal accesses, that the WEBRTC signaling gateway device accessed by the called terminal is the first WEBRTC signaling gateway device, That is, the calling terminal and the called terminal access the same WEBRTC signaling gateway device, and the first WEBRTC signaling gateway device directly sends the session request message to the called terminal.
  • the first WEBRTC signaling gateway device determines, according to the gateway identifier of the WEBRTC signaling gateway device that the called terminal accesses, that the WEBRTC signaling gateway device accessed by the called terminal is the second WEBRTC signaling gateway device, that is, the primary
  • the first WEBRTC signaling gateway device sends the session request message to the second WEBRTC signaling gateway device, so that the second WEBRTC signal is sent to the called terminal.
  • the gateway device is caused to send the session request message to the called terminal.
  • the step of applying for the media resource to the WEBRTC media gateway device by using the WEBRTC signaling gateway device in the prior art may be performed. Calling a terminal to forward a session When requesting a message, there is no need to modify the SDP description in the session request message.
  • the first WEBRTC signaling gateway device receives the session response message sent by the called terminal, and sends the session response message to the calling terminal, so that the calling terminal establishes with the called terminal according to the session response message. End-to-end media channel.
  • the first WEBRTC signaling gateway device directly receives the session sent by the called terminal. a response message; if the calling terminal and the called terminal access different WEBRTC signaling gateway devices, the called terminal sends a session response message to the second WEBRTC signaling gateway device, the first WEBRTC signaling The gateway device receives the session response message sent by the second WEBRTC signaling gateway device.
  • the session request message includes media candidate address information of the calling terminal, where the session response message includes media candidate address information of the called terminal, and the calling terminal according to its media candidate address information and the called party
  • the media candidate address information of the terminal establishes an end-to-end media channel with the called terminal.
  • the session request message received by the called terminal includes media candidate address information of the media gateway device, and the media gateway device separately establishes with the calling terminal and is Call the media channel between the terminals.
  • the calling terminal and the called terminal can directly transmit data.
  • the session request message is not modified, and the calling terminal establishes an end-to-end media channel with the called terminal according to the media candidate address information of the terminal and the media candidate address information of the called terminal.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the media gateway device.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the IMS media gateway device or the WEBRTC media gateway device.
  • FIG. 2 is a system structural diagram of an application of two WEBRTCs based on an IMS network for data transmission according to an embodiment of the present invention, including: a first WEBRTC server, a first WEBRTC signaling gateway device, and a second WEBRTC letter. Let the gateway device and the second WEBRTC server have the connection relationship as shown in the figure.
  • the WEBRTC server connected to the called terminal and the called terminal may be the same or different, that is, the first WEBRTC server and the second WEBRTC server in FIG. 2 may also be the same WEBRTC server; the calling terminal and the called terminal.
  • Access WEBRTC signaling The gateway devices may be the same or different, that is, the first WEBRTC signaling gateway device and the second WEBRTC signaling gateway device in FIG. 2 may also be the same WEBRTC signaling gateway device.
  • the system in a system in which two WEBRTC terminals transmit data to each other based on an IMS network, the system includes a WEBRTC server, a WEBRTC signaling gateway device, a WEBRTC media gateway device, an IMS signaling gateway device, and an IMS media gateway device, and then establishes
  • the media channel between the calling terminal and the called terminal needs to pass through the WEBRTC media gateway device and the IMS media gateway device, wherein the WEBRTC media gateway device is used to convert the SRTP into an RTP, and the IMS media gateway device is used to convert the RTP Convert to SRTP.
  • the signaling transmission between the calling terminal and the called terminal needs to pass through the IMS signaling gateway device, wherein the IMS signaling gateway device is configured to convert standard SIP signaling into WEBRTC signaling.
  • the first WEBRTC signaling gateway device sends a session request message to the called terminal through the second WEBRTC signaling gateway device, when the called terminal is determined to be a WEBRTC terminal. There is no need to modify the SDP in the session request message without going through the IMS signaling gateway device.
  • the called terminal After receiving the session request message, the called terminal sends a session response message to the calling terminal according to the unmodified SDP, and the calling terminal establishes end-to-end media with the called terminal according to the session response message.
  • the channel that is, the media channel does not pass through the media gateway device, avoids the conversion of the data format by the media gateway device (including the WEBRTC media gateway device and the IMS media gateway device) in the prior art.
  • the first WEBRTC signaling gateway device does not obtain the access mode of the called terminal in the WEBRTC server in step S102, or in step S103, the first WEBRTC signaling gateway device is in accordance with the connection. If the inbound mode determines that the called terminal is not a WEBRTC terminal, the first WEBRTC signaling gateway device needs to apply for the media resource to the first WEBRTC media gateway device according to the process of the prior art, and modify the session when forwarding the session request message. The SDP description in the request message finally establishes a media channel between the calling terminal and the called terminal through the IMS media gateway device.
  • the calling terminal before the calling terminal establishes a media channel with the called terminal, it may be determined in advance whether the called terminal is a WEBRTC terminal, and when the called terminal is determined to be a WEBRTC terminal, the calling terminal is established. With the end-to-end media channel between the called terminal, the data transmission between the calling terminal and the called terminal does not need to be converted by the media gateway device and the end of the ICE process, and the two WEBRTC terminals are reduced. The path of data transmission between them reduces the network delay and reduces the load on the media gateway device.
  • An embodiment of the present invention provides a method for establishing a channel. As shown in FIG. 3, the method includes:
  • the first WEBRTC signaling gateway device After receiving the session request message sent by the calling terminal, the first WEBRTC signaling gateway device receives the query request message including the called terminal identifier sent by the first WEBRTC signaling gateway device.
  • the calling terminal is a WEBRTC terminal.
  • the calling terminal logs in to the WEBRTC server by using a username and a password, and the WEBRTC server verifies the username and password, and passes the authentication.
  • the access code and the IP address of the WEBRTC signaling gateway device are returned to the calling terminal.
  • the WEBRTC server may allocate a WEBRTC signaling gateway device to the calling terminal by using a load balancing and proximity principle.
  • the IP address of the WEBRTC signaling gateway device returned by the WEBRTC server may be one or a list, and the master may be a list.
  • the terminal is selected to access the WEBRTC signaling gateway device according to the local policy, and the calling terminal determines that the accessed WEBRTC signaling gateway device is the first WEBRTC signaling gateway device.
  • the calling terminal sends an IMS registration request message to the first WEBRTC signaling gateway device, where the registration request message carries the access code, and the first WEBRTC signaling gateway device receives the registration request message. Then, the access code is used to verify in the WEBRTC server to determine that the calling terminal has passed the identity verification of the WEBRTC server.
  • the first WEBRTC signaling gateway device sends a verification message carrying the access code to the WEBRTC server, so that the WEBRTC server determines whether the access code is allocated to the calling terminal by the WEBRTC server, and if so, Determining that the identity verification of the calling terminal is successful, the WEBRTC server stores the calling terminal identifier, the gateway identifier of the first WEBRTC signaling gateway device, and the WEB connection of the calling terminal accessing the first WEBRTC signaling gateway device.
  • the WEBRTC server can store the calling party through the correspondence table. Correspondence between the terminal identifier, the gateway identifier of the first WEBRTC signaling gateway device, and the WEB access mode of the first WEBRTC signaling gateway device, where the correspondence table may include Corresponding relationship between the calling terminal identifier and the gateway identifier of the first WEBRTC signaling gateway device, and the correspondence between the calling terminal identifier and the WEB access mode of the calling terminal accessing the first WEBRTC signaling gateway device Relational tables.
  • the specific storage manner of the WEBRTC server is not limited in the present invention.
  • the WEBRTC server determines, according to the called terminal identifier, an access mode of the called terminal to access the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal.
  • the access mode includes accessing through a WEB.
  • the WEBRTC server stores the calling terminal identifier and the first WEBRTC signaling gateway device after the calling terminal accesses the first WEBRTC signaling gateway device. Corresponding relationship between the gateway identifier and the WEB access mode of the first WEBRTC signaling gateway device of the calling terminal. Similarly, after the called terminal accesses the WEBRTC signaling gateway device, it corresponds to The WEBRTC server of the terminal stores the correspondence between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device. .
  • the WEBRTC server determines, according to the corresponding relationship stored by the called terminal identifier, the access mode of the called terminal to access the WEBRTC signaling gateway device and the WEBRTC signaling gateway device accessed by the called terminal. a gateway identifier, the correspondence relationship between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device relationship.
  • the WEBRTC server accessed by the called terminal is the WEBRTC server, that is, the calling terminal and the called terminal access the same WEBRTC server
  • the WEBRTC server accesses the WEBRTC signaling gateway at the called terminal.
  • the corresponding relationship between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device is also stored.
  • the WEBRTC server may determine, according to the stored relationship of the called terminal, the access mode of the called terminal to access the WEBRTC signaling gateway device and the called terminal connection.
  • the gateway identifier of the incoming WEBRTC signaling gateway device may be determined, according to the stored relationship of the called terminal, the access mode of the called terminal to access the WEBRTC signaling gateway device and the called terminal connection.
  • the WEBRTC server sends the first WEBRTC signaling gateway device.
  • the received terminal identifier sent by the other WEBRTC server ie, the WEBRTC server connected to the called terminal
  • the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal and the called terminal access Corresponding relationship between the access modes of the WEBRTC signaling gateway device, so that after receiving the query request message, the WEBRTC server can also determine the called party according to the corresponding relationship stored by the called terminal identifier.
  • the access mode of the terminal accessing the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal.
  • the data query can be performed between the WEBRTC servers in the same carrier network.
  • the WEBRTC server can query the called terminal according to the called terminal identifier in other WEBRTC servers.
  • the WEBRTC server to which the calling terminal and the called terminal are connected may also belong to different operators. If the WEBRTC server connected between the calling terminal and the called terminal belongs to different operators, data synchronization or data query can also be performed between different operators WEBRTC servers. Therefore, the WEBRTC server can also determine, according to the called terminal identifier, the access mode of the called terminal from accessing the WEBRTC signaling gateway device and the WEBRTC signaling accessed by the called terminal from the WEBRTC server connected to the called terminal. The gateway ID of the gateway device. Among them, the WEBRTC signaling gateway devices of different operators can communicate with each other through the interconnection border gateway function IBGF.
  • the WEBRTC server receives an update request message sent by the WEBRTC signaling gateway device corresponding to the called terminal, and changes the update request message according to the update request message.
  • the called terminal accesses the access mode of the WEBRTC signaling gateway device.
  • the WEBRTC server sends, to the first WEBRTC signaling gateway device, an access mode of the called terminal accessing the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, so that the first Determining, by the signaling device, the called terminal is a WEBRTC terminal, and the corresponding WEBRTC signaling gateway device sends the session request message to the called terminal by using the gateway identifier, and the received session is received.
  • a response message is sent to the calling terminal, so that the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the manner in which the WEBRTC terminal and the SIP terminal access the WEBRTC signaling gateway device are different according to different signaling protocols.
  • the access mode of the WEBRTC terminal accessing the WEBRTC signaling gateway device is the WEB access mode
  • the SIP terminal accesses the WEBRTC signaling mode.
  • the access mode of the gateway device is the SIP access mode. Therefore, the first WEBRTC signaling gateway device can determine the terminal type of the called terminal by using the access mode of the called terminal to access the WEBRTC signaling gateway device.
  • the session request message received by the called terminal includes media candidate address information of the media gateway device, and the media gateway device separately establishes with the calling terminal and is Call the media channel between the terminals.
  • the first WEBRTC signaling gateway device determines that the called terminal is a WEBRTC terminal
  • the step of applying for the media resource to the WEBRTC media gateway device by using the WEBRTC signaling gateway device in the prior art may be performed on the called party.
  • the terminal forwards the session request message the SDP description in the session request message is not modified. Therefore, the calling terminal establishes a media channel that does not pass through the media gateway device according to the media candidate address information of the two terminals.
  • the calling terminal before the calling terminal establishes a media channel with the called terminal, it may be determined in advance whether the called terminal is a WEBRTC terminal, and when the called terminal is determined to be a WEBRTC terminal, the calling terminal is established. If the media channel does not pass through the media gateway device, the data transmission between the calling terminal and the called terminal does not need to be converted by the media gateway device and the ICE process is terminated, thereby reducing two The path of data transmission between WEBRTC terminals reduces network delay and reduces the load on the media gateway device.
  • the calling terminal logs in to the WEBRTC server, and downloads the WEBRTC related code logic from the WEBRTC server.
  • the calling terminal logs in to the WEBRTC server by using a username and a password, and the WEBRTC server verifies the username and password, and after the verification is passed, downloads WEBRTC related code logic, such as JS (Javascript script), from the WEBRTC server to The calling terminal then performs JS logic to initiate registration and session request messages to the WEBRTC signaling gateway device.
  • WEBRTC related code logic such as JS (Javascript script)
  • the WEBRTC server returns an access code and an IP address of the first WEBRTC signaling gateway device to the calling terminal.
  • the WEBRTC server may allocate a WEBRTC signaling gateway device to the calling terminal by using a load balancing and proximity principle.
  • the IP address of the WEBRTC signaling gateway device returned by the WEBRTC server may be one, or may be a list, by the calling terminal.
  • the WEBRTC signaling gateway device is selected according to the local policy, and the calling terminal determines that the accessed WEBRTC signaling gateway device is the first WEBRTC signaling gateway device.
  • the calling terminal sends a registration request message to the first WEBRTC signaling gateway device according to the IP address of the first WEBRTC signaling gateway device.
  • the registration request message carries the access code.
  • the first WEBRTC signaling gateway device sends an authentication message to the WEBRTC server.
  • the verification message carries the access code.
  • the WEBRTC server stores the calling terminal identifier, the gateway identifier of the first WEBRTC signaling gateway device, and the calling terminal when determining that the access code is an access code allocated by the WEBRTC server to the calling terminal. Correspondence between access modes of the first WEBRTC signaling gateway device.
  • the WEBRTC server sends the IMPU of the calling terminal and the IMPI of the calling terminal to the first WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device sends the registration request message to the IMS signaling gateway device according to the IMPU and the IMPI.
  • the IMS signaling gateway device sends a registration response message to the first WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device sends the registration response message to the calling terminal.
  • step S401 to the step S409 are the process of registering the IMS network with the called terminal, and the calling terminal establishes the media channel between the called terminal and the called terminal through the IMS network to perform steps S410 to S419.
  • the calling terminal sends a session request cancellation to the first WEBRTC signaling gateway device. interest.
  • the session request message includes a called terminal identifier.
  • the first WEBRTC signaling gateway device sends a query request message to the WEBRTC server.
  • the query request message includes the called terminal identifier.
  • the WEBRTC server determines, according to the identifier of the called terminal, an identifier of the WEBRTC signaling gateway device accessed by the called terminal and an access mode of the called terminal accessing the WEBRTC signaling gateway device.
  • the WEBRTC server stores the calling terminal identifier and the gateway identifier of the first WEBRTC signaling gateway device after the calling terminal accesses the first WEBRTC signaling gateway device. Corresponding relationship between the calling terminal and the WEB access mode of the first WEBRTC signaling gateway device. Similarly, after the called terminal accesses the WEBRTC signaling gateway device, the called terminal is corresponding to the called terminal.
  • the WEBRTC server stores the correspondence between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device.
  • the WEBRTC server may be the same as the WEBRTC server connected to the called terminal, and the WEBRTC server stores the called terminal identifier and the called terminal after the called terminal accesses the WEBRTC signaling gateway device.
  • the WEBRTC server may, according to the correspondence between the gateway identifier of the incoming WEBRTC signaling gateway device and the access mode of the called terminal accessing the WEBRTC signaling gateway device, The called terminal identifier determines the access mode of the called terminal to access the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal from the corresponding relationship stored by the called terminal.
  • the WEBRTC server sends the first WEBRTC signaling gateway device.
  • the called terminal identifier sent by the WEBRTC server connected to the called terminal the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the called terminal accessing the WEBRTC signaling gateway device Correspondence between the access modes, so that after receiving the query request message, the WEBRTC server can also identify the called terminal according to the The access relationship of the called terminal accessing the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal are determined in the corresponding relationship stored by the called terminal.
  • data queries can be performed between the WEBRTC servers in the same carrier network.
  • the WEBRTC server can query the called terminal in other WEBRTC servers according to the called terminal identifier.
  • the WEBRTC server to which the calling terminal and the called terminal are connected may also belong to different operators. If the WEBRTC server connected between the calling terminal and the called terminal belongs to different operators, data synchronization or data query can also be performed between different operators WEBRTC servers. Therefore, the WEBRTC server can also determine, according to the called terminal identifier, the access mode of the called terminal from accessing the WEBRTC signaling gateway device and the WEBRTC signaling accessed by the called terminal from the WEBRTC server connected to the called terminal. The gateway ID of the gateway device. Among them, the WEBRTC signaling gateway devices of different operators can communicate with each other through the interconnection border gateway function IBGF.
  • the WEBRTC server sends, to the first WEBRTC signaling gateway device, a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and an access mode of the called terminal accessing the WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device determines, according to the access mode of the called terminal accessing the WEBRTC signaling gateway device, that the called terminal is a WEBRTC terminal.
  • the first WEBRTC signaling gateway device determines, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is the first WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device sends the session request message to the called terminal.
  • the first WEBRTC signaling gateway device receives the session response message sent by the called terminal.
  • the first WEBRTC signaling gateway device sends the session response message to the calling terminal.
  • the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the session request message includes media candidate address information of the calling terminal, and the session is ringing
  • the response message includes the media candidate address information of the called terminal, and the calling terminal establishes an end-to-end media channel with the called terminal according to the media candidate address information of the terminal and the media candidate address information of the called terminal.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the media gateway device.
  • the media gateway device includes an IMS media gateway device or a WEBRTC media gateway device.
  • the session request message is directly sent to the called terminal, and the SDP in the session request message does not need to be modified. Pass the IMS signaling gateway device.
  • the called terminal After receiving the session request message, the called terminal sends a session response message to the calling terminal according to the unmodified SDP, and the calling terminal establishes end-to-end media with the called terminal according to the session response message.
  • the channel that is, the media channel does not pass through the media gateway device, avoids the conversion of the data format by the media gateway device (including the WEBRTC media gateway device and the IMS media gateway device) in the prior art, and reduces the data transmission between the two WEBRTC terminals.
  • the path reduces network latency and reduces the load on the media gateway device.
  • Steps S501 to S514 of the embodiment of the present invention are the same as steps S401 to S414 in the previous embodiment, and the specific description may refer to the above steps S401 to S414.
  • the first WEBRTC signaling gateway device determines, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is a second WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device sends the session request message to the second WEBRTC signaling gateway device.
  • the second WEBRTC signaling gateway device sends the session request message to the called terminal.
  • the second WEBRTC signaling gateway device receives the session sent by the called terminal. Should be the message.
  • the second WEBRTC signaling gateway device sends the session response message to the first WEBRTC signaling gateway device.
  • the first WEBRTC signaling gateway device sends the session response message to the calling terminal.
  • the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the session request message includes media candidate address information of the calling terminal, where the session response message includes media candidate address information of the called terminal, and the calling terminal according to its media candidate address information and the called party
  • the media candidate address information of the terminal establishes an end-to-end media channel with the called terminal.
  • the calling terminal if the session request message is not modified, the calling terminal establishes an end-to-end media channel with the called terminal according to the media candidate address information of the terminal and the media candidate address information of the called terminal.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the media gateway device.
  • the media gateway device includes an IMS media gateway device or a WEBRTC media gateway device.
  • the session request message is directly sent to the called terminal, and the SDP in the session request message does not need to be modified. Pass the IMS signaling gateway device.
  • the called terminal After receiving the session request message, the called terminal sends a session response message to the calling terminal according to the unmodified SDP, and the calling terminal establishes end-to-end media with the called terminal according to the session response message.
  • the channel that is, the media channel does not pass through the media gateway device, avoids the conversion of the data format by the media gateway device (including the WEBRTC media gateway device and the IMS media gateway device) in the prior art, and reduces the data transmission between the two WEBRTC terminals.
  • the path reduces network latency and reduces the load on the media gateway device.
  • the embodiment of the present invention provides a WEBRTC signaling gateway device 60.
  • the WEBRTC signaling gateway device 60 includes:
  • the receiving unit 61 is configured to receive a session request message that includes the called terminal identifier sent by the calling terminal, and a session response message that is sent by the called terminal, and is further configured to receive, by the WEBRTC server, the received message sent by the WEBRTC signaling gateway device.
  • the access mode of the called terminal accessing the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal after the query request message of the terminal is sent.
  • the calling terminal is a WEBRTC terminal, and the access mode includes accessing through a WEB.
  • the determining unit 62 is configured to determine, according to the access mode received by the receiving unit 61, that the called terminal is a WEBRTC terminal.
  • the sending unit 63 is configured to send a query request message including the called terminal identifier to the WEBRTC server.
  • the gateway After the determining unit 62 determines that the called terminal is a WEBRTC terminal, the gateway identifies the corresponding WEBRTC signaling gateway device to request the session. The message is sent to the called terminal; the session response message is sent to the calling terminal, so that the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the sending, by the gateway, the corresponding WEBRTC signaling gateway device, the session request message to the called terminal specifically, determining, according to the gateway identifier, the WEBRTC signaling gateway device accessed by the called terminal is the first
  • a WEBRTC signaling gateway device sends the session request message to the called terminal.
  • the WEBRTC signaling gateway device that sends the session request message to the called terminal by using the gateway identifier includes: determining, according to the gateway identifier, the WEBRTC signaling gateway device accessed by the called terminal as the second WEBRTC The signaling gateway device sends the session request message to the second WEBRTC signaling gateway device, so that the second WEBRTC signaling gateway device sends the session request message to the called terminal, and correspondingly, the receiving the called party
  • the session response message sent by the terminal specifically includes: after the called terminal sends a session response message to the second WEBRTC signaling gateway device, receiving the session response message sent by the second WEBRTC signaling gateway device.
  • the WEBRTC signaling gateway device accessed by the called terminal is the WEBRTC signaling gateway device according to the gateway identifier, that is, the calling terminal and the called terminal access the same WEBRTC signaling gateway device. And the WEBRTC signaling gateway device directly sends the session request message to the called terminal; and determines, according to the identifier of the WEBRTC signaling gateway device accessed by the called terminal, the WEBRTC signaling gateway device accessed by the called terminal.
  • the second WEBRTC signaling gateway device is used, the calling terminal is different from the called terminal.
  • the WEBRTC signaling gateway device sends the session request message to the second WEBRTC signaling gateway device, so that the second WEBRTC signaling gateway device sends the session request message to the called terminal.
  • the session request message includes media candidate address information of the calling terminal, where the session response message includes media candidate address information of the called terminal, and correspondingly, the calling terminal establishes with the session according to the session response message.
  • the end-to-end media channel between the called terminals specifically includes the end-to-end media channel between the called terminal and the called terminal according to the media candidate address information of the called terminal and the media candidate address information of the called terminal.
  • the session request message received by the called terminal includes media candidate address information of the media gateway device, which is respectively established by the media gateway device and between the calling terminal and the called terminal.
  • Media channel the media gateway device.
  • the calling terminal if the session request message is not modified, the calling terminal establishes an end-to-end media channel with the called terminal according to its media candidate address information and the media candidate address information of the called terminal.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the media gateway device.
  • the media gateway device includes an IMS media gateway device or a WEBRTC media gateway device.
  • the WEBRTC signaling gateway device is used to determine whether the called terminal is a WEBRTC terminal before the calling terminal establishes a media channel with the called terminal, and when the called terminal is determined to be a WEBRTC terminal, If the calling terminal and the called terminal do not pass through the media channel of the media gateway device, the data transmission between the calling terminal and the called terminal does not need to be converted by the media gateway device and the ICE process is terminated.
  • the path for transmitting data between two WEBRTC terminals is reduced, and the network delay is reduced, and the load of the media gateway device is reduced.
  • the embodiment of the present invention provides a WEBRTC server 70.
  • the WEBRTC server 70 includes:
  • the receiving unit 71 is configured to receive, after the first WEBRTC signaling gateway device receives the session request message sent by the calling terminal, the query request message including the called terminal identifier sent by the first WEBRTC signaling gateway device.
  • the calling terminal is a WEBRTC terminal.
  • a determining unit 72 configured to determine, according to the called terminal identifier received by the receiving unit 71, an access mode of the called terminal to access the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal .
  • the access method includes access via WEB.
  • the sending unit 73 is configured to send, to the first WEBRTC signaling gateway device, the access mode of the called terminal that accesses the WEBRTC signaling gateway device by the determining unit determining 72, and the WEBRTC signaling gateway device accessed by the called terminal.
  • the gateway identifier so that the first signaling device determines, according to the access mode, that the called terminal is a WEBRTC terminal, and the corresponding WEBRTC signaling gateway device sends the session request message to the called terminal by using the gateway identifier, and
  • the received session response message is sent to the calling terminal, so that the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the determining unit 72 is configured to determine, according to the corresponding relationship stored by the called terminal identifier, the access mode of the called terminal to access the WEBRTC signaling gateway device and the WEBRTC accessed by the called terminal.
  • a gateway identifier of the signaling gateway device where the correspondence includes the called terminal identifier, a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and an access mode of the called terminal accessing the WEBRTC signaling gateway device.
  • the WEBRTC server further includes a storage unit 74.
  • the receiving unit 71 is further configured to receive the WEBRTC signaling accessed by the called terminal before receiving the query request message sent by the first WEBRTC signaling gateway device. a verification message including an access code sent by the gateway device, where the storage unit 74 is configured to determine that the access code received by the receiving unit is allocated to the called terminal by the WEBRTC signaling gateway device accessed by the called terminal.
  • the access code is stored, the correspondence between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device is stored. .
  • the receiving unit 71 is further configured to receive the called party sent by the other WEBRTC server.
  • the other WEBRTC server receives the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal, and determines that the access code is the WEBRTC signaling accessed by the called terminal. Stored when the gateway device is assigned an access code to the called terminal.
  • the WEBRTC server accessed by the called terminal is the WEBRTC server, that is, the calling terminal and the called terminal access the same WEBRTC server
  • the WEBRTC server accesses the WEBRTC signaling gateway at the called terminal.
  • the corresponding relationship between the called terminal identifier, the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the access mode of the called terminal accessing the WEBRTC signaling gateway device is also stored.
  • the WEBRTC server may determine, according to the stored relationship of the called terminal, the access mode of the called terminal to access the WEBRTC signaling gateway device and the called terminal connection.
  • the gateway identifier of the incoming WEBRTC signaling gateway device may be determined, according to the stored relationship of the called terminal, the access mode of the called terminal to access the WEBRTC signaling gateway device and the called terminal connection.
  • the WEBRTC server sends the first WEBRTC signaling gateway device.
  • the called terminal identifier sent by the WEBRTC server connected to the called terminal the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, and the called terminal accessing the WEBRTC signaling gateway device
  • the WEBRTC server can also determine that the called terminal accesses the WEBRTC letter according to the corresponding relationship stored by the called terminal identifier.
  • the data query can also be performed between the WEBRTC servers in the same carrier network.
  • the WEBRTC server can query the called terminal to access the called terminal according to the called terminal identifier.
  • the WEBRTC server to which the calling terminal and the called terminal are connected may also belong to different operators. If the WEBRTC server connected between the calling terminal and the called terminal belongs to different operators, data synchronization or data query can also be performed between different operators WEBRTC servers. Therefore, the WEBRTC server can also connect from the called terminal according to the called terminal identifier.
  • the WEBRTC server determines the access mode of the called terminal to access the WEBRTC signaling gateway device and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal. Among them, the WEBRTC signaling gateway devices of different operators can communicate with each other through the interconnection border gateway function IBGF.
  • the WEBRTC server further includes an update unit 75, where the receiving unit 71 is further configured to: after the called terminal disconnects from the corresponding WEBRTC signaling gateway device, receive the WEBRTC message corresponding to the called terminal. An update request message sent by the gateway device; the update unit 75 is configured to change an access mode of the called terminal to access the WEBRTC signaling gateway device according to the update request message received by the receiving unit.
  • the session request message received by the called terminal includes media candidate address information of the media gateway device, which is respectively established by the media gateway device and between the calling terminal and the called terminal.
  • Media channel the media gateway device.
  • the calling terminal if the session request message is not modified, the calling terminal establishes an end-to-end media channel with the called terminal according to its media candidate address information and the media candidate address information of the called terminal.
  • the end-to-end media channel indicates that the media channel between the calling terminal and the called terminal does not pass through the media gateway device.
  • the media gateway device includes an IMS media gateway device or a WEBRTC media gateway device.
  • the above-mentioned WEBRTC server can determine whether the called terminal is a WEBRTC terminal before the WEBRTC terminal as the calling terminal establishes a media channel with the called terminal, and when determining that the called terminal is a WEBRTC terminal, Establishing a media channel between the calling terminal and the called terminal without passing through the media gateway device, the data transmission between the calling terminal and the called terminal does not need to perform data format conversion and ICE flow through the media gateway device. Termination, reducing the path of data transmission between two WEBRTC terminals, while reducing network latency and reducing the load on the media gateway device.
  • An embodiment of the present invention provides another WEBRTC signaling gateway device 80.
  • the WEBRTC signaling gateway device 80 includes:
  • the processor 81 may be a multi-core central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 83 is for storing program code, and the program code includes computer operation instructions and a network flow diagram.
  • the memory 83 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Memory 83 can also be a memory array.
  • the memory 83 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the communication interface 82 is used to implement connection communication between these devices.
  • the processor 81 is configured to execute program code in the memory 83 to implement the following operations:
  • the sending, by the WEBRTC signaling gateway device corresponding to the gateway identifier, the session request message to the called terminal includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is the first WEBRTC signaling gateway device, and sending the session request message to the called terminal.
  • the WEBRTC signaling gateway device corresponding to the gateway identifier is used by the gateway identifier
  • the sending of the session request message to the called terminal specifically includes:
  • the gateway identifier Determining, according to the gateway identifier, that the WEBRTC signaling gateway device accessed by the called terminal is a second WEBRTC signaling gateway device, and sending the session request message to the second WEBRTC signaling gateway device, so that the Transmitting, by the second WEBRTC signaling gateway device, the session request message to the called terminal;
  • the receiving the session response message sent by the called terminal includes:
  • the session request message includes media candidate address information of the calling terminal, and the session response message includes media candidate address information of the called terminal;
  • the establishing, by the calling terminal, the end-to-end media channel between the called terminal and the called terminal according to the session response message includes:
  • the calling terminal establishes an end-to-end media channel with the called terminal according to its media candidate address information and media candidate address information of the called terminal.
  • An embodiment of the present invention provides another WEBRTC server 90.
  • the WEBRTC server 90 includes:
  • processor 91 a processor 91, a communications interface 92, a memory 93, and a communication bus 94; wherein the processor 91, the communication interface 92, and the memory 93 are completed by the communication bus 94 Communication with each other.
  • the processor 91 may be a multi-core central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 93 is for storing program code, and the program code includes computer operation instructions and a network flow diagram.
  • the memory 93 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Memory 93 can also be a memory array.
  • the memory 93 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the communication interface 92 is used to implement connection communication between these devices.
  • the processor 91 is configured to execute program code in the memory 93 to implement Next operation:
  • the first WEBRTC signaling gateway device After receiving the session request message sent by the calling terminal, the first WEBRTC signaling gateway device receives a query request message including the called terminal identifier sent by the first WEBRTC signaling gateway device, where the calling terminal is WEBRTC terminal;
  • the first WEBRTC signaling gateway device Sending, by the first WEBRTC signaling gateway device, an access mode of the called terminal accessing the WEBRTC signaling gateway device and a gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal, so that the first The WEBRTC signaling gateway device determines that the called terminal is a WEBRTC terminal according to the access mode, and sends the session request message to the called terminal by using a WEBRTC signaling gateway device corresponding to the gateway identifier, and receives the The incoming session response message is sent to the calling terminal, so that the calling terminal establishes an end-to-end media channel with the called terminal according to the session response message.
  • the determining, according to the called terminal identifier, the access mode of the called terminal to access the WEBRTC signaling gateway device, and the gateway identifier of the WEBRTC signaling gateway device accessed by the called terminal specifically:
  • the operation before the receiving the query request message sent by the first WEBRTC signaling gateway device, the operation further includes:
  • the operation further includes:
  • the corresponding relationship is that the other WEBRTC server receives the verification message including the access code sent by the WEBRTC signaling gateway device accessed by the called terminal, and determines that the access code is the called terminal. Stored when the accessed WEBRTC signaling gateway device is allocated to the access code of the called terminal.
  • the operation further includes: after the called terminal disconnects from the corresponding WEBRTC signaling gateway device, receiving an update request message sent by the WEBRTC signaling gateway device corresponding to the called terminal, and according to The update request message changes an access mode of the called terminal to access the WEBRTC signaling gateway device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种通道建立的方法和设备,涉及通信领域,能够减少两个WEBRTC终端基于IMS网络传输数据时的数据传输路径和减少网络延时,并减轻媒体网关设备的负载。该方法包括:WEBRTC信令网关设备接收WEBRTC终端作为主叫终端发送的包括被叫终端标识的会话请求消息,并根据该被叫终端接入WEBRTC信令终端的接入方式确定该被叫终端为WEBRTC终端,通过该被叫终端接入的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端,以便该主叫终端在接收到该被叫终端始发的会话响应消息后,根据该会话响应消息建立与该被叫终端之间端到端的媒体通道。本发明实施例用于通道的建立。

Description

一种通道建立的方法和设备
本申请要求了2014年2月21日提交的、申请号为201410061239.X、发明名称为“一种通道建立的方法和设备”的中国申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种通道建立的方法和设备。
背景技术
WEBRTC(Web Real-Time Communication,网页实时通信)是一种支持网页浏览器进行实时语音对话或视频对话的技术,其中,能够进行WEBRTC通信的浏览器称为WEBRTC终端。进行实时通信的两端浏览器必须支持SRTP(Secure Real-time Transport Protocol,安全实时传输协议)来对媒体资源进行加密,以及支持ICE(Interactive Connectivity Establishment,交互连接建立)功能来穿越NAT(Network Address Translation,网络地址转换)设备和防火墙。
IMS(IP Multimedia Subsystem,IP多媒体子***)是一种基于IP网提供话音即多媒体业务的网络体系架构,采用SIP(Session Initiation Protocol,会话发起协议)进行端到端的呼叫控制,符合SIP标准协议的设备或者软终端称为SIP终端。大部分SIP终端不支持ICE功能,也不支持SRTP。
现有技术中,WEBRTC终端基于IMS网络建立与被叫终端之间的媒体通道的过程为:WEBRTC终端在IMS网络中注册成功后,向WEBRTC信令网关设备发送会话请求消息,该WEBRTC信令网关设备在接收到该会话请求消息后向WEBRTC媒体网关设备申请媒体端点,该媒体端点用于转换媒体数据的格式并终结ICE流程,该WEBRTC信令网关设备修改该会话请求消息中的SDP(Session Description Protocol,会话描述协议),将SDP描述的SRTP修改为RTP,并删除ICE,则该WEBRTC信令网关设备将修改后的会话请求消息发送至IMS信令网关设备,该IMS信令网关设备在向IMS媒体网关设备申请媒体端点后网络,通过IMS网络向该被叫终端发送将该修改后的会话请求消息发送至被叫终端,该被叫终端向该WEBRTC终端回复会话响应消息,其中,该会话请求消 息和该会话响应消息均包括媒体网关设备的媒体候选地址信息,以便则该WEBRTC终端与该被叫终端根据媒体网关设备的媒体候选地址信息分别建立与对应的媒体网关设备之间的媒体通道。该媒体网关设备的媒体候选地址信息包括WEBRTC媒体网关设备的媒体候选地址信息或IMS媒体网关设备的媒体候选地址信息,则在数据传输的过程中,该WEBRTC媒体网关设备和该IMS媒体网关设备需要完成数据格式的转换,该WEBRTC媒体网关设备还需完成对ICE流程的终结。
由上所述,当该被叫终端为SIP终端时,上述过程可以得到很好的应用效果,但是,在该被叫终端为WEBRTC终端时,上述数据传输的过程增加了数据传输的路径,增大了网络延时和媒体网关设备的负载。
发明内容
本发明提供一种通道建立的方法和设备,能够减少两个WEBRTC终端基于IMS网络传输数据时的数据传输路径和减少网络延时,并减轻媒体网关设备的负载。
为达到上述目的,本发明采用如下技术方案:
第一方面,提供一种通道建立的方法,包括:
第一网页实时通信WEBRTC信令网关设备接收主叫终端发送的包括被叫终端标识的会话请求消息;其中,所述主叫终端为WEBRTC终端;
向WEBRTC服务器发送包括被叫终端标识的查询请求消息,接收所述WEBRTC服务器发送的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
接收所述被叫终端发送的会话响应消息,并将所述会话响应消息发送至所述主叫终端,以便所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
在第一方面的第一种可能的实现方式中,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为所述第一WEBRTC信令网关设备,将所述会话请求消息发送至所述被叫终端。
结合第一方面,在第二种可能的实现方式中,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将所述会话请求消息发送至所述第二WEBRTC信令网关设备,以便所述第二WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
所述接收所述被叫终端发送的会话响应消息包括:
在所述被叫终端向所述第二WEBRTC信令网关设备发送会话响应消息后,接收所述第二WEBRTC信令网关设备发送的所述会话响应消息。
结合第一方面至第二种可能的实现方式中的任一种可能的实现方式,在第三种可能的实现方式中,所述会话请求消息包括所述主叫终端的媒体候选地址信息,所述会话响应消息包括所述被叫终端的媒体候选地址信息;
相应的,所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道具体包括:
所述主叫终端根据自身的媒体候选地址信息和所述被叫终端的媒体候选地址信息建立与所述被叫终端之间端到端的媒体通道。
第二方面,提供另一种通道建立的方法,包括:
WEBRTC服务器在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收所述第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息;其中,所述主叫终端为WEBRTC终端;
根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
向所述第一WEBRTC信令网关设备发送所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,以便所述第一WEBRTC信令网关设备根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信 令网关设备将所述会话请求消息发送至所述被叫终端,并将接收到的会话响应消息发送至所述主叫终端,以使所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
在第二方面的第一种可能的实现方式中,所述根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识具体包括:
所述WEBRTC服务器根据所述被叫终端标识查询自身存储的对应关系,确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述对应关系包括所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
结合第二方面或者第一种可能的实现方式,在第三种可能的实现方式中,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述方法还包括:
所述WEBRTC服务器接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;
在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时,存储所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
结合第二方面或者第一种可能的实现方式,在第四种可能的实现方式中,若所述被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述方法还包括:
接收所述其他WEBRTC服务器发送的所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系;
其中,所述对应关系为所述其他WEBRTC服务器接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定 所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时存储的。
结合第二种可能的实现方式至第四种可能的实现方式中的任一种可能的实现方式,在第五种可能的实现方式中,所述方法还包括:
在所述被叫终端与对应的WEBRTC信令网关设备断开连接后,接收所述被叫终端对应的WEBRTC信令网关设备发送的更新请求消息,并根据所述更新请求消息更改所述被叫终端接入WEBRTC信令网关设备的接入方式。
本发明第三方面提供一种WEBRTC信令网关设备,包括:
接收单元,用于接收主叫终端发送的包括被叫终端标识的会话请求消息和被叫终端发送的会话响应消息;还用于接收WEBRTC服务器在接收到所述WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息后发送的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,其中,所述主叫终端为WEBRTC终端,所述接入方式包括通过WEB接入;
确定单元,用于根据所述接收单元接收到的接入方式确定所述被叫终端为WEBRTC终端;
发送单元,用于向WEBRTC服务器发送包括被叫终端标识的查询请求消息;在所述确定单元确定所述被叫终端为WEBRTC终端后,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;将所述会话响应消息发送至所述主叫终端,以便所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
在第三方面的第一种可能的实现方式中,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端具体包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为所述第一WEBRTC信令网关设备,将所述会话请求消息发送至所述被叫终端。
结合第三方面,在第二种可能的实现方式中,所述通过所述网关 标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将所述会话请求消息发送至所述第二WEBRTC信令网关设备,以便所述第二WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
相应的,所述接收所述被叫终端发送的会话响应消息具体包括:在所述被叫终端向所述第二WEBRTC信令网关设备发送会话响应消息后,接收所述第二WEBRTC信令网关设备发送的所述会话响应消息。
结合第三方面至第二种可能的实现方式中的任一种可能的实现方式,在第三种可能的实现方式中,所述会话请求消息包括所述主叫终端的媒体候选地址信息,所述会话响应消息包括所述被叫终端的媒体候选地址信息;
相应的,所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道具体包括:
所述主叫终端根据自身的媒体候选地址信息和所述被叫终端的媒体候选地址信息建立与所述被叫终端之间端到端的媒体通道。
第四方面,提供一种WEBRTC服务器,包括:
接收单元,用于在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收所述第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息;其中,所述主叫终端为WEBRTC终端;
确定单元,用于根据所述接收单元接收到的被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
发送单元,用于向所述第一WEBRTC信令网关设备发送所述确定单元确定的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,以便所述第一信令设备根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端,并将接收到的会话响应消息发送至所述主叫终端,以使所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体 通道。
在第四方面的第一种可能的实现方式中,所述确定单元,具体用于根据所述被叫终端标识查询自身存储的对应关系,确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述对应关系包括所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
结合第四方面或者第一种可能的实现方式,在第二种可能的实现方式中,所述WEBRTC服务器中还包括存储单元;所述接收单元还用于,在接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;
所述存储单元,用于在确定所述接收单元接收到的接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时,存储所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
结合第四方面或者第一种可能的实现方式,在第三种可能的实现方式中,若所述被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,所述接收单元还用于,接收所述其他WEBRTC服务器发送的所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系;
其中,所述对应关系为所述其他WEBRTC服务器接收被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时存储的。
结合第一种可能的实现方式至第三种可能的实现方式中的任一种可能的实现方式,在第四种可能的实现方式中,所述的WEBRTC服务器还包括更新单元,则所述接收单元还用于,在所述被叫终端与对应的WEBRTC信令网关设备断开连接后,接收所述被叫终端对应的WEBRTC信令网关设备发送的更新请求消息;
所述更新单元用于,根据所述接收单元接收到的更新请求消息更改所述被叫终端接入WEBRTC信令网关设备的接入方式。
采用上述方案,在主叫终端建立与被叫终端之间的媒体通道之前,可以预先确定该被叫终端是否为WEBRTC终端,并在确定该被叫终端为WEBRTC终端时,建立该主叫终端与该被叫终端之间端到端的媒体通道,则该主叫终端与该被叫终端之间的数据传输无需通过媒体网关设备进行数据格式的转换和ICE流程的终结,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,减轻了媒体网关设备的负载。
附图说明
图1为本发明实施例提供的一种通道建立的方法的流程示意图;
图2为本发明实施例提供的一种两个WEBRTC终端基于IMS网络进行数据传输的***结构示意图;
图3为本发明实施例提供的另一种通道建立的方法的流程示意图;
图4为本发明实施例提供的另一种通道建立的方法的流程示意图;
图5为本发明实施例提供的另一种通道建立的方法的流程示意图;
图6为本发明实施例提供的一种WEBRTC信令网关设备的结构示意图;
图7为本发明实施例提供的一种WEBRTC服务器的结构示意图;
图8为本发明实施例提供的另一种WEBRTC信令网关设备的结构示意图;
图9为发明实施例提供的另一种WEBRTC服务器的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种通道建立的方法,如图1所示,该方法包括:
S101、第一WEBRTC信令网关设备接收主叫终端发送的包括被叫终 端标识的会话请求消息。
其中,该主叫终端为WEBRTC终端。
可选的,在该第一WEBRTC信令网关设备接收该主叫终端发送的会话请求消息之前,该主叫终端通过用户名和密码登录对应该主叫终端的WEBRTC服务器,该WEBRTC服务器验证用户名和密码,并在认证通过后,向该主叫终端返回接入码和WEBRTC信令网关设备的IP地址。其中,该WEBRTC服务器可以通过负载均衡和就近原则向该主叫终端分配WEBRTC信令网关设备,该WEBRTC服务器返回的WEBRTC信令网关设备的IP地址可能是一个,也可能是一个列表,由该主叫终端根据本地策略选择接入的WEBRTC信令网关设备,该主叫终端确定接入的WEBRTC信令网关设备即为该第一WEBRTC信令网关设备。
进一步地,该主叫终端向该第一WEBRTC信令网关设备发送IMS注册请求消息,其中,该注册请求消息携带该接入码,则该第一WEBRTC信令网关设备在接收到该注册请求消息后,通过所述接入码到WEBRTC服务器中进行验证,以确定该主叫终端已经通过该WEBRTC服务器的身份验证。
具体地,该第一WEBRTC信令网关设备向该WEBRTC服务器发送携带该接入码的验证消息,以便该WEBRTC服务器确定该接入码是否为该WEBRTC服务器分配至该主叫终端的,若是,则确定该主叫终端的身份验证成功,则该WEBRTC服务器存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,并向该第一WEBRTC信令网关设备发送该主叫终端的IMPU(IP Multimedia Public Identity,IP多媒体子***公共标识)和该主叫终端的IMPI(IP Multimedia Private Identity,IP多媒体私有标识),则该第一WEBRTC信令网关设备根据该IMPU和该IMPI将该IMS注册请求消息发送至IMS信令网关设备,该IMS信令网关设备返回IMS注册响应消息至该主叫终端,完成该主叫终端在IMS网络中的注册。
需要说明的是,该WEBRTC服务器可以通过对应关系表存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,其 中,该对应关系表可以包括该主叫终端标识与该第一WEBRTC信令网关设备的网关标识的对应关系表,以及该主叫终端标识与该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式的对应关系表。对于该WEBRTC服务器具体的存储方式本发明不作限定。
进一步地,该主叫终端在注册完成后,向该第一WEBRTC信令网关设备发送该会话请求消息,该会话请求消息用于建立与被叫终端的媒体通道。
S102、该第一WEBRTC信令网关设备向WEBRTC服务器发送包括被叫终端标识的查询请求消息,接收该WEBRTC服务器发送的该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
其中,该接入方式包括通过WEB接入。
需要说明的是,如步骤S101中的具体描述,该WEBRTC服务器在该主叫终端接入该第一WEBRTC信令网关设备后,会存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,相同的,该被叫终端在接入WEBRTC信令网关设备后,对应该被叫终端的WEBRTC服务器存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
其中,该主叫终端和该被叫终端连接的WEBRTC服务器可能相同,则该WEBRTC服务器在接收该查询请求消息后,根据该被叫终端标识查询自身存储的对应关系,确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,并向该第一WEBRTC信令网关设备发送所述接入方式和所述网关标识;若该主叫终端与该被叫终端连接的是相同运营商的不同WEBRTC服务器,由于同一个运营商网络内的WEBRTC服务器之间可以进行数据查询或者数据同步,因此,接收到该查询请求消息的WEBRTC服务器同样可以根据该被叫终端标识确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,并向该第一WEBRTC信令网关设备发送所述接入方式和所述网关标识。
可选的,主叫终端和被叫终端连接的WEBRTC服务器也可能属于不同的运营商。如果主叫终端和被叫终端连接的WEBRTC服务器属于不同运营商,那么不同运营商WEBRTC服务器间也可以进行数据同步或数据查询,则接收到该查询请求消息的WEBRTC服务器同样可以根据该被叫终端标识确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,并向该第一WEBRTC信令网关设备发送所述接入方式和所述网关标识。其中,不同运营商WEBRTC信令网关设备之间可以通过互连边界网关功能(Interconnection Border Gateway Function,IBGF)进行互通。
S103、该第一WEBRTC信令网关设备根据该接入方式确定该被叫终端为WEBRTC终端,通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端。
具体地,由于信令协议的不同,WEBRTC终端和SIP终端接入WEBRTC信令网关设备的方式也不同,WEBRTC终端接入WEBRTC信令网关设备的接入方式为WEB接入方式,SIP终端接入WEBRTC信令网关设备的接入方式为SIP接入方式,因此,通过该被叫终端接入WEBRTC信令网关设备的接入方式,该第一WEBRTC信令网关设备能够确定该被叫终端的终端类型。
进一步地,该第一WEBRTC信令网关设备根据该被叫终端接入的WEBRTC信令网关设备的网关标识确定该被叫终端接入的WEBRTC信令网关设备为该第一WEBRTC信令网关设备,即该主叫终端与该被叫终端接入的是同一WEBRTC信令网关设备,则该第一WEBRTC信令网关设备将该会话请求消息直接发送至该被叫终端。
若该第一WEBRTC信令网关设备根据该被叫终端接入的WEBRTC信令网关设备的网关标识确定该被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,即该主叫终端与该被叫终端接入的是不同的WEBRTC信令网关设备,则该第一WEBRTC信令网关设备将该会话请求消息发送至该第二WEBRTC信令网关设备,以便该第二WEBRTC信令网关设备将该会话请求消息发送至该被叫终端。
需要说明的是,该第一WEBRTC信令网关设备在确定被叫终端为WEBRTC终端时,可以不用经过现有技术中WEBRTC信令网关设备向WEBRTC媒体网关设备申请媒体资源的步骤,在向该被叫终端转发会话 请求消息时,也不用修改该会话请求消息中的SDP描述。
S104、该第一WEBRTC信令网关设备接收该被叫终端发送的会话响应消息,并将该会话响应消息发送至该主叫终端,以便该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道。
具体的,参考步骤S103中的具体描述,若该主叫终端与该被叫终端接入的是同一WEBRTC信令网关设备,则该第一WEBRTC信令网关设备直接接收该被叫终端发送的会话响应消息;若该主叫终端与该被叫终端接入的是不同的WEBRTC信令网关设备,则该被叫终端向该第二WEBRTC信令网关设备发送会话响应消息,该第一WEBRTC信令网关设备接收该第二WEBRTC信令网关设备发送的会话响应消息。
可选地,该会话请求消息包括该主叫终端的媒体候选地址信息,该会话响应消息包括该被叫终端的媒体候选地址信息,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道。
需要说明的是,现有技术中,经过对会话请求消息的修改,该被叫终端接收到的会话请求消息包括媒体网关设备的媒体候选地址信息,由媒体网关设备分别建立与主叫终端和被叫终端之间的媒体通道。本发明实施中,由于主叫终端和被叫终端都是WEBRTC终端,因此主叫终端和被叫终端可以直接传输数据。在本实施例中,该会话请求消息未经修改,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道,所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过媒体网关设备。可选的,所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过IMS媒体网关设备或WEBRTC媒体网关设备。
如图2所示,该图2为本发明实施例应用在两个WEBRTC基于IMS网络进行数据传输时的***结构图,包括:第一WEBRTC服务器、第一WEBRTC信令网关设备、第二WEBRTC信令网关设备和第二WEBRTC服务器,连接关系如图中所示。
其中,主叫终端和被叫终端连接的WEBRTC服务器可以相同也可以不同,即图2中的第一WEBRTC服务器和第二WEBRTC服务器也可以是同一个WEBRTC服务器;该主叫终端和该被叫终端接入的WEBRTC信令 网关设备可以相同也可以不同,即图2中的第一WEBRTC信令网关设备和该第二WEBRTC信令网关设备也可以是同一个WEBRTC信令网关设备。
现有技术中,在两个WEBRTC终端基于IMS网络相互传输数据的***中,该***包括WEBRTC服务器、WEBRTC信令网关设备、WEBRTC媒体网关设备、IMS信令网关设备和IMS媒体网关设备,则建立主叫终端与被叫终端之间的媒体通道需要通过该WEBRTC媒体网关设备和该IMS媒体网关设备,其中,该WEBRTC媒体网关设备用于将SRTP转换为RTP,该IMS媒体网关设备用于将RTP转换为SRTP。该主叫终端与该被叫终端之间的信令传输需要经过该IMS信令网关设备,其中,该IMS信令网关设备用于将标准的SIP信令转换为WEBRTC信令。
结合图2,在本发明实施例中,该第一WEBRTC信令网关设备在预先确定被叫终端为WEBRTC终端时,将会话请求消息通过该第二WEBRTC信令网关设备发送至该被叫终端,无需修改该会话请求消息中的SDP,不用经过IMS信令网关设备。该被叫终端接收到该会话请求消息后,根据未经修改的SDP向该主叫终端发送会话响应消息,则该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道,即该媒体通道不经过媒体网关设备,避免了现有技术中媒体网关设备(包括WEBRTC媒体网关设备和IMS媒体网关设备)对数据格式的转换。
另外,若在步骤S102中该第一WEBRTC信令网关设备没有在该WEBRTC服务器中获取到该被叫终端的接入方式,或者在步骤S103中,该第一WEBRTC信令网关设备在根据该接入方式确定该被叫终端不是WEBRTC终端,则按照现有技术的流程,该第一WEBRTC信令网关设备需要向第一WEBRTC媒体网关设备申请媒体资源,并在转发会话请求消息时,修改该会话请求消息中的SDP描述,最终通过IMS媒体网关设备分别建立该主叫终端与该被叫终端之间的媒体通道。
采用上述方法,在主叫终端建立与该被叫终端之间的媒体通道之前,可以预先确定该被叫终端是否为WEBRTC终端,并在确定该被叫终端为WEBRTC终端时,建立该主叫终端与该被叫终端之间端到端的媒体通道,则该主叫终端与该被叫终端之间的数据传输无需通过媒体网关设备进行数据格式的转换和ICE流程的终结,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,减轻了媒体网关设备的负载。
本发明实施例提供一种通道建立的方法,如图3所示,该方法包括:
S301、WEBRTC服务器在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收该第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息。
其中,该主叫终端为WEBRTC终端。
可选地,在该第一WEBRTC信令网关设备接收该主叫终端发送的会话请求消息之前,该主叫终端通过用户名和密码登录该WEBRTC服务器,该WEBRTC服务器验证用户名和密码,并在认证通过后,向该主叫终端返回接入码和WEBRTC信令网关设备的IP地址。其中,该WEBRTC服务器可以通过负载均衡和就近原则向该主叫终端分配WEBRTC信令网关设备,该WEBRTC服务器返回的WEBRTC信令网关设备的IP地址可能是一个,也可能是一个列表,由该主叫终端根据本地策略选择接入的WEBRTC信令网关设备,该主叫终端确定接入的WEBRTC信令网关设备即为第一WEBRTC信令网关设备。
进一步地,该主叫终端向该第一WEBRTC信令网关设备发送IMS注册请求消息,其中,该注册请求消息携带该接入码,则该第一WEBRTC信令网关设备在接收到该注册请求消息后,通过所述接入码到WEBRTC服务器中进行验证,以确定该主叫终端已经通过该WEBRTC服务器的身份验证。
具体地,该第一WEBRTC信令网关设备向该WEBRTC服务器发送携带该接入码的验证消息,以便该WEBRTC服务器确定该接入码是否为该WEBRTC服务器分配至该主叫终端的,若是,则确定该主叫终端的身份验证成功,则该WEBRTC服务器存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,并向该第一WEBRTC信令网关设备发送该主叫终端的IMPU和该主叫终端的IMPI,则该第一WEBRTC信令网关设备根据该IMPU和该IMPI将该IMS注册请求消息发送至IMS信令网关设备,该IMS信令网关设备返回IMS注册响应消息至该主叫终端,完成该主叫终端在IMS网络中的注册。
需要说明的是,该WEBRTC服务器可以通过对应关系表存储该主叫 终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,其中,该对应关系表可以包括该主叫终端标识与该第一WEBRTC信令网关设备的网关标识的对应关系表,以及该主叫终端标识与该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式的对应关系表。对于该WEBRTC服务器具体的存储方式本发明不作限定。
S302、该WEBRTC服务器根据该被叫终端标识确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
其中,该接入方式包括通过WEB接入。
需要说明的是,如步骤S301中的具体描述,该WEBRTC服务器在该主叫终端接入该第一WEBRTC信令网关设备后,会存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,相同的,该被叫终端在接入WEBRTC信令网关设备后,对应该被叫终端的WEBRTC服务器存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
可选地,该WEBRTC服务器根据该被叫终端标识查询自身存储的对应关系,确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,该对应关系包括该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
具体地,若该被叫终端接入的WEBRTC服务器为该WEBRTC服务器,即该主叫终端与该被叫终端接入同一个WEBRTC服务器,则该WEBRTC服务器在该被叫终端接入WEBRTC信令网关设备后,也会存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识从自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
若该主叫终端与该被叫终端连接不同的WEBRTC服务器,由于同一个运营商网络内的WEBRTC服务器之间可以进行数据同步,因此,该WEBRTC服务器在该接收该第一WEBRTC信令网关设备发送的查询请求消息之前,接收其他WEBRTC服务器(即被叫终端连接的WEBRTC服务器)发送的该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,这样,该WEBRTC服务器在接收到该查询请求消息后,同样可以根据该被叫终端标识从自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
可选的,同一个运营商网络内的WEBRTC服务器之间可以进行数据查询,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识在其他WEBRTC服务器中查询该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式。
可选的,主叫终端和被叫终端连接的WEBRTC服务器也可能属于不同的运营商。如果主叫终端和被叫终端连接的WEBRTC服务器属于不同运营商,那么不同运营商WEBRTC服务器间也可以进行数据同步或数据查询。因此,该WEBRTC服务器同样可以根据该被叫终端标识从该被叫终端连接的WEBRTC服务器中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。其中,不同运营商WEBRTC信令网关设备之间可以通过互连边界网关功能IBGF进行互通。
另外,在该被叫终端设备与对应的WEBRTC信令网关设备断开连接后,该WEBRTC服务器接收该被叫终端对应的WEBRTC信令网关设备发送的更新请求消息,并根据该更新请求消息更改该被叫终端接入WEBRTC信令网关设备的接入方式。
S303、该WEBRTC服务器向该第一WEBRTC信令网关设备发送该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,以便该第一信令设备根据该接入方式确定该被叫终端为WEBRTC终端,通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端,并将接收到的会话 响应消息发送至该主叫终端,以使该主叫终端根据该会话响应消息建立与该被叫终端之间端到端的媒体通道。
由于信令协议的不同,WEBRTC终端和SIP终端接入WEBRTC信令网关设备的方式也不同,WEBRTC终端接入WEBRTC信令网关设备的接入方式为WEB接入方式,SIP终端接入WEBRTC信令网关设备的接入方式为SIP接入方式,因此,通过该被叫终端接入WEBRTC信令网关设备的接入方式,该第一WEBRTC信令网关设备能够确定该被叫终端的终端类型。
需要说明的是,现有技术中,经过对会话请求消息的修改,该被叫终端接收到的会话请求消息包括媒体网关设备的媒体候选地址信息,由媒体网关设备分别建立与主叫终端和被叫终端之间的媒体通道。本发明实施中该第一WEBRTC信令网关设备在确定被叫终端为WEBRTC终端时,可以不用经过现有技术中WEBRTC信令网关设备向WEBRTC媒体网关设备申请媒体资源的步骤,在向该被叫终端转发会话请求消息时,也不用修改该会话请求消息中的SDP描述,因此,该主叫终端根据双方终端的媒体候选地址信息建立不经过媒体网关设备的媒体通道。
采用上述方法,在主叫终端建立与该被叫终端之间的媒体通道之前,可以预先确定该被叫终端是否为WEBRTC终端,并在确定该被叫终端为WEBRTC终端时,建立该主叫终端与该被叫终端之间不经过媒体网关设备的媒体通道,则该主叫终端与该被叫终端之间的数据传输无需通过媒体网关设备进行数据格式的转换和ICE流程的终结,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,并减轻了媒体网关设备的负载。
为了使本领域技术人员能够更清楚地理解本发明实施例提供的技术方案,下面通过具体的实施例,对本发明实施例提供的另一种数据传输的方法进行详细说明,如图4所示,该方法是以主叫终端和被叫终端均为WEBRTC终端进行说明的,包括:
S401、主叫终端登录WEBRTC服务器,并从该WEBRTC服务器中下载WEBRTC相关代码逻辑。
具体地,该主叫终端通过用户名和密码登录WEBRTC服务器,该WEBRTC服务器验证用户名和密码,并在验证通过后,从该WEBRTC服务器中下载WEBRTC相关代码逻辑,例如JS(Javascript脚本),以 便该主叫终端执行JS逻辑发起到WEBRTC信令网关设备的注册和会话请求消息。
S402、该WEBRTC服务器向该主叫终端返回接入码和第一WEBRTC信令网关设备的IP地址。
该WEBRTC服务器可以通过负载均衡和就近原则向该主叫终端分配WEBRTC信令网关设备,该WEBRTC服务器返回的WEBRTC信令网关设备的IP地址可能是一个,也可能是一个列表,由该主叫终端根据本地策略选择接入的WEBRTC信令网关设备,该主叫终端确定接入的WEBRTC信令网关设备即为第一WEBRTC信令网关设备。
S403、该主叫终端根据该第一WEBRTC信令网关设备的IP地址向该第一WEBRTC信令网关设备发送注册请求消息。
其中,所述注册请求消息携带该接入码。
S404、该第一WEBRTC信令网关设备向该WEBRTC服务器发送验证消息。
其中,该验证消息携带该接入码。
S405、该WEBRTC服务器在确定该接入码为该WEBRTC服务器分配至该主叫终端的接入码时,存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的接入方式三者之间的对应关系。
S406、该WEBRTC服务器向该第一WEBRTC信令网关设备发送该主叫终端的IMPU和该主叫终端的IMPI。
S407、该第一WEBRTC信令网关设备根据该IMPU和该IMPI将该注册请求消息发送至IMS信令网关设备。
S408、该IMS信令网关设备向该第一WEBRTC信令网关设备发送注册响应消息。
S409、该第一WEBRTC信令网关设备向该主叫终端发送该注册响应消息。
需要说明的是,步骤S401至步骤S409为主叫终端注册IMS网络的过程,该主叫终端通过该IMS网络建立与被叫终端之间的媒体通道执行步骤S410至步骤S419。
S410、该主叫终端向该第一WEBRTC信令网关设备发送会话请求消 息。
其中,该会话请求消息包括被叫终端标识。
S411、该第一WEBRTC信令网关设备向该WEBRTC服务器发送查询请求消息。
其中,该查询请求消息包括被叫终端标识。
S412、该WEBRTC服务器根据该被叫终端的标识确定该被叫终端接入的WEBRTC信令网关设备的标识和该被叫终端接入WEBRTC信令网关设备的接入方式。
需要说明的是,参照步骤S405的描述,该WEBRTC服务器在该主叫终端接入该第一WEBRTC信令网关设备后,会存储该主叫终端标识、该第一WEBRTC信令网关设备的网关标识和该主叫终端接入该第一WEBRTC信令网关设备的WEB接入方式三者之间的对应关系,相同的,该被叫终端在接入WEBRTC信令网关设备后,对应该被叫终端的WEBRTC服务器存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
其中,该主叫终端和该被叫终端连接的WEBRTC服务器可能相同,则该WEBRTC服务器在该被叫终端接入WEBRTC信令网关设备后,也会存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识从自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
若该主叫终端与该被叫终端连接不同的WEBRTC服务器,由于同一个运营商网络内的WEBRTC服务器之间可以进行数据同步,因此,该WEBRTC服务器在该接收该第一WEBRTC信令网关设备发送的查询请求消息之前,接收该被叫终端连接的WEBRTC服务器发送的该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,这样,该WEBRTC服务器在接收到该查询请求消息后,同样可以根据该被叫终端标识从 自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
可选地,同一个运营商网络内的WEBRTC服务器之间可以进行数据查询,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识在其他WEBRTC服务器中查询该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式。
可选的,主叫终端和被叫终端连接的WEBRTC服务器也可能属于不同的运营商。如果主叫终端和被叫终端连接的WEBRTC服务器属于不同运营商,那么不同运营商WEBRTC服务器间也可以进行数据同步或数据查询。因此,该WEBRTC服务器同样可以根据该被叫终端标识从该被叫终端连接的WEBRTC服务器中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。其中,不同运营商WEBRTC信令网关设备之间可以通过互连边界网关功能IBGF进行互通。
S413、该WEBRTC服务器向该第一WEBRTC信令网关设备发送该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式。
S414、该第一WEBRTC信令网关设备根据该被叫终端接入WEBRTC信令网关设备的接入方式确定该被叫终端为WEBRTC终端。
S415、该第一WEBRTC信令网关设备根据该网关标识确定该被叫终端接入的WEBRTC信令网关设备为该第一WEBRTC信令网关设备。
S416、该第一WEBRTC信令网关设备将该会话请求消息发送至该被叫终端。
S417、该第一WEBRTC信令网关设备接收该被叫终端发送的会话响应消息。
S418、该第一WEBRTC信令网关设备将该会话响应消息发送至该主叫终端。
S419、该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道。
该会话请求消息包括该主叫终端的媒体候选地址信息,该会话响 应消息包括该被叫终端的媒体候选地址信息,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道。所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过媒体网关设备。其中,媒体网关设备包括IMS媒体网关设备,或WEBRTC媒体网关设备。
本发明实施例中,该第一WEBRTC信令网关设备在预先确定该被叫终端为WEBRTC终端时,将会话请求消息直接发送至该被叫终端,无需修改该会话请求消息中的SDP,即不用经过IMS信令网关设备。该被叫终端接收到该会话请求消息后,根据未经修改的SDP向该主叫终端发送会话响应消息,则该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道,即该媒体通道不经过媒体网关设备,避免了现有技术中媒体网关设备(包括WEBRTC媒体网关设备和IMS媒体网关设备)对数据格式的转换,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,并减轻了媒体网关设备的负载。
另外,对于上述方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
为了使本领域技术人员能够更清楚地理解本发明实施例提供的技术方案,下面通过具体的实施例,对本发明实施例提供的另一种数据传输的方法进行详细说明,如图5所示,该方法包括:
本发明实施例的步骤S501至步骤S514分别与上一实施例中的步骤S401至步骤S414相同,则具体描述可以参考上述步骤S401至步骤S414。
S515、该第一WEBRTC信令网关设备根据该网关标识确定该被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备。
S516、该第一WEBRTC信令网关设备将该会话请求消息发送至该第二WEBRTC信令网关设备。
S517、该第二WEBRTC信令网关设备将该会话请求消息发送至该被叫终端。
S518、该第二WEBRTC信令网关设备接收该被叫终端发送的会话响 应消息。
S519、该第二WEBRTC信令网关设备将该会话响应消息发送至该第一WEBRTC信令网关设备。
S520、该第一WEBRTC信令网关设备将该会话响应消息发送至该主叫终端。
S521、该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道。
可选的,该会话请求消息包括该主叫终端的媒体候选地址信息,该会话响应消息包括该被叫终端的媒体候选地址信息,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道。
在本实施中,该会话请求消息未经修改,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道,所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过媒体网关设备。其中,媒体网关设备包括IMS媒体网关设备,或WEBRTC媒体网关设备。
本发明实施例中,该第一WEBRTC信令网关设备在预先确定该被叫终端为WEBRTC终端时,将会话请求消息直接发送至该被叫终端,无需修改该会话请求消息中的SDP,即不用经过IMS信令网关设备。该被叫终端接收到该会话请求消息后,根据未经修改的SDP向该主叫终端发送会话响应消息,则该主叫终端根据该会话响应消息建立与该被叫终端之间端对端的媒体通道,即该媒体通道不经过媒体网关设备,避免了现有技术中媒体网关设备(包括WEBRTC媒体网关设备和IMS媒体网关设备)对数据格式的转换,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,并减轻了媒体网关设备的负载。
另外,对于上述方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本发明实施例提供一种WEBRTC信令网关设备60,如图6所示,该WEBRTC信令网关设备60包括:
接收单元61,用于接收主叫终端发送的包括被叫终端标识的会话请求消息和被叫终端发送的会话响应消息;还用于接收WEBRTC服务器在接收到该WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息后发送的该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
其中,该主叫终端为WEBRTC终端,该接入方式包括通过WEB接入。
确定单元62,用于根据该接收单元61接收到的接入方式确定该被叫终端为WEBRTC终端。
发送单元63,用于向WEBRTC服务器发送包括被叫终端标识的查询请求消息;在该确定单元62确定该被叫终端为WEBRTC终端后,通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端;将该会话响应消息发送至该主叫终端,以便该主叫终端根据该会话响应消息建立与该被叫终端之间端到端的媒体通道。
可选地,该通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端具体包括,根据该网关标识确定该被叫终端接入的WEBRTC信令网关设备为该第一WEBRTC信令网关设备,将该会话请求消息发送至该被叫终端。
可选地,该通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端包括,根据该网关标识确定该被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将该会话请求消息发送至该第二WEBRTC信令网关设备,以便该第二WEBRTC信令网关设备将该会话请求消息发送至该被叫终端,相应的,该接收该被叫终端发送的会话响应消息具体包括,在该被叫终端向该第二WEBRTC信令网关设备发送会话响应消息后,接收该第二WEBRTC信令网关设备发送的该会话响应消息。
具体地,在根据该网关标识确定该被叫终端接入的WEBRTC信令网关设备为该WEBRTC信令网关设备时,即该主叫终端与该被叫终端接入的是同一WEBRTC信令网关设备,则该WEBRTC信令网关设备将该会话请求消息直接发送至该被叫终端;在根据该被叫终端接入的WEBRTC信令网关设备的标识确定该被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备时,即该主叫终端与该被叫终端接入的是不同的 WEBRTC信令网关设备,则该WEBRTC信令网关设备将该会话请求消息发送至该第二WEBRTC信令网关设备,以便该第二WEBRTC信令网关设备将该会话请求消息发送至该被叫终端。
可选地,该会话请求消息包括该主叫终端的媒体候选地址信息,该会话响应消息包括该被叫终端的媒体候选地址信息,相应的,该主叫终端根据该会话响应消息建立与该被叫终端之间端到端的媒体通道具体包括,该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道。
在现有技术中,经过对会话请求消息的修改,该被叫终端接收到的会话请求消息包括媒体网关设备的媒体候选地址信息,由媒体网关设备分别建立与主叫终端和被叫终端之间的媒体通道。本发明实施中,该会话请求消息未经修改,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道,所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过媒体网关设备。其中,媒体网关设备包括IMS媒体网关设备,或WEBRTC媒体网关设备。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的WEBRTC信令网关设备的具体工作过程和描述,可以参考前述方法实施例中的对应过程,在此不再赘述。
采用上述WEBRTC信令网关设备,可以在主叫终端建立与该被叫终端之间的媒体通道之前,确定该被叫终端是否为WEBRTC终端,并在确定该被叫终端为WEBRTC终端时,建立该主叫终端与该被叫终端之间不经过媒体网关设备的媒体通道,则该主叫终端与该被叫终端之间的数据传输无需通过媒体网关设备进行数据格式的转换和ICE流程的终结,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,减轻了媒体网关设备的负载。
本发明实施例提供一种WEBRTC服务器70,如图7所示,该WEBRTC服务器70包括:
接收单元71,用于在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收该第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息。
其中,该主叫终端为WEBRTC终端。
确定单元72,用于根据该接收单元71接收到的被叫终端标识确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
该接入方式包括通过WEB接入。
发送单元73,用于向该第一WEBRTC信令网关设备发送该确定单元确定72的该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,以便该第一信令设备根据该接入方式确定该被叫终端为WEBRTC终端,通过该网关标识对应的WEBRTC信令网关设备将该会话请求消息发送至该被叫终端,并将接收到的会话响应消息发送至该主叫终端,以使该主叫终端根据该会话响应消息建立与该被叫终端之间端到端的媒体通道。
可选地,该确定单元72,具体用于根据该被叫终端标识查询自身存储的对应关系,确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识,该对应关系包括该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
可选地,该WEBRTC服务器中还包括存储单元74;该接收单元71还用于,在接收该第一WEBRTC信令网关设备发送的查询请求消息之前,接收该被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;该存储单元74,用于在确定该接收单元接收到的接入码为该被叫终端接入的WEBRTC信令网关设备分配至该被叫终端的接入码时,存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
可选地,若该被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,该接收单元71还用于,接收该其他WEBRTC服务器发送的该被叫 终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
其中,该对应关系为该其他WEBRTC服务器接收被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定该接入码为该被叫终端接入的WEBRTC信令网关设备分配至该被叫终端的接入码时存储的。
具体地,若该被叫终端接入的WEBRTC服务器为该WEBRTC服务器,即该主叫终端与该被叫终端接入同一个WEBRTC服务器,则该WEBRTC服务器在该被叫终端接入WEBRTC信令网关设备后,也会存储该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识从自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
若该主叫终端与该被叫终端连接不同的WEBRTC服务器,由于同一个运营商网络内的WEBRTC服务器之间可以进行数据同步,因此,该WEBRTC服务器在该接收该第一WEBRTC信令网关设备发送的查询请求消息之前,接收该被叫终端连接的WEBRTC服务器发送的该被叫终端标识、该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系,这样,该WEBRTC服务器在接收到该查询请求消息后,同样可以根据该被叫终端标识从自身存储的对应关系中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。
同一个运营商网络内的WEBRTC服务器之间也可以进行数据查询,则该WEBRTC服务器在接收到该查询请求消息后,可以根据该被叫终端标识在其他WEBRTC服务器中查询该被叫终端接入的WEBRTC信令网关设备的网关标识和该被叫终端接入WEBRTC信令网关设备的接入方式。
主叫终端和被叫终端连接的WEBRTC服务器也可能属于不同的运营商。如果主叫终端和被叫终端连接的WEBRTC服务器属于不同运营商,那么不同运营商WEBRTC服务器间也可以进行数据同步或数据查询。因此,该WEBRTC服务器同样可以根据该被叫终端标识从该被叫终端连接 的WEBRTC服务器中确定该被叫终端接入WEBRTC信令网关设备的接入方式和该被叫终端接入的WEBRTC信令网关设备的网关标识。其中,不同运营商WEBRTC信令网关设备之间可以通过互连边界网关功能IBGF进行互通。
可选地,该的WEBRTC服务器还包括更新单元75,则该接收单元71还用于,在该被叫终端与对应的WEBRTC信令网关设备断开连接后,接收该被叫终端对应的WEBRTC信令网关设备发送的更新请求消息;该更新单元75用于,根据该接收单元接收到的更新请求消息更改该被叫终端接入WEBRTC信令网关设备的接入方式。
在现有技术中,经过对会话请求消息的修改,该被叫终端接收到的会话请求消息包括媒体网关设备的媒体候选地址信息,由媒体网关设备分别建立与主叫终端和被叫终端之间的媒体通道。本发明实施中,该会话请求消息未经修改,则该主叫终端根据自身的媒体候选地址信息和该被叫终端的媒体候选地址信息建立与该被叫终端之间端到端的媒体通道,所述端对端的媒体通道表示该主叫终端与该被叫终端之间的媒体通道不经过媒体网关设备。其中,媒体网关设备包括IMS媒体网关设备,或WEBRTC媒体网关设备。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的WEBRTC服务器的具体工作过程和描述,可以参考前述方法实施例中的对应过程,在此不再赘述。
采用上述WEBRTC服务器,可以在作为主叫终端的WEBRTC终端建立与该被叫终端之间的媒体通道之前,预先确定该被叫终端是否为WEBRTC终端,并在确定该被叫终端为WEBRTC终端时,建立该主叫终端与该被叫终端之间不经过媒体网关设备的媒体通道,则该主叫终端与该被叫终端之间的数据传输无需通过媒体网关设备进行数据格式的转换和ICE流程的终结,减少了两个WEBRTC终端之间传输数据的路径,同时减少了网络延时,并减轻了媒体网关设备的负载。
本发明实施例提供另一种WEBRTC信令网关设备80,如8所示,该WEBRTC信令网关设备80包括:
处理器(processor)81、通信接口(Communications Interface)82、存储器(memory)83和通信总线84;其中,所述处理器81、所述通信接口82和所述存储器83通过所述通信总线84完成相互间的通信。
处理器81可能是一个多核中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器83用于存放程序代码,所述程序代码包括计算机操作指令和网络流图。存储器83可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器83也可以是存储器阵列。存储器83还可能被分块,并且所述块可按一定的规则组合成虚拟卷。
所述通信接口82,用于实现这些装置之间的连接通信。
所述处理器81用于执行所述存储器83中的程序代码,以实现以下操作:
接收主叫终端发送的包括被叫终端标识的会话请求消息;其中,所述主叫终端为WEBRTC终端;
向WEBRTC服务器发送包括被叫终端标识的查询请求消息,接收所述WEBRTC服务器发送的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
接收所述被叫终端发送的会话响应消息,并将所述会话响应消息发送至所述主叫终端,以便所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
可选地,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端具体包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为所述第一WEBRTC信令网关设备,将所述会话请求消息发送至所述被叫终端。
可选地,所述通过所述网关标识对应的WEBRTC信令网关设备将所 述会话请求消息发送至所述被叫终端具体包括:
根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将所述会话请求消息发送至所述第二WEBRTC信令网关设备,以便所述第二WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
所述接收所述被叫终端发送的会话响应消息包括:
在所述被叫终端向所述第二WEBRTC信令网关设备发送会话响应消息后,接收所述第二WEBRTC信令网关设备发送的所述会话响应消息。
可选地,所述会话请求消息包括所述主叫终端的媒体候选地址信息,所述会话响应消息包括所述被叫终端的媒体候选地址信息;
相应的,所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道具体包括:
所述主叫终端根据自身的媒体候选地址信息和所述被叫终端的媒体候选地址信息建立与所述被叫终端之间端到端的媒体通道。
所属本领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的WEBRTC信令网关设备的具体工作过程和描述,可以参考前述方法实施例中的对应过程,在此不再赘述。
本发明实施例提供另一种WEBRTC服务器90,如9所示,该WEBRTC服务器90包括:
处理器(processor)91、通信接口(Communications Interface)92、存储器(memory)93和通信总线94;其中,所述处理器91、所述通信接口92和所述存储器93通过所述通信总线94完成相互间的通信。
处理器91可能是一个多核中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器93用于存放程序代码,所述程序代码包括计算机操作指令和网络流图。存储器93可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器93也可以是存储器阵列。存储器93还可能被分块,并且所述块可按一定的规则组合成虚拟卷。
所述通信接口92,用于实现这些装置之间的连接通信。
所述处理器91用于执行所述存储器93中的程序代码,以实现以 下操作:
在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收所述第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息;其中,所述主叫终端为WEBRTC终端;
根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
向所述第一WEBRTC信令网关设备发送所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,以便所述第一WEBRTC信令网关设备根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端,并将接收到的会话响应消息发送至所述主叫终端,以使所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
可选地,所述根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识具体包括:
根据所述被叫终端标识查询自身存储的对应关系,确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述对应关系包括所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
可选地,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述操作还包括:
接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;
在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时,存储所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
可选地,若所述被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述操作还包括:
接收所述其他WEBRTC服务器发送的所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系;
其中,所述对应关系为所述其他WEBRTC服务器接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时存储的。
可选地,所述操作还包括,在所述被叫终端与对应的WEBRTC信令网关设备断开连接后,接收所述被叫终端对应的WEBRTC信令网关设备发送的更新请求消息,并根据所述更新请求消息更改所述被叫终端接入WEBRTC信令网关设备的接入方式。
所属本领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的WEBRTC服务器的具体工作过程和描述,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (18)

  1. 一种通道建立的方法,其特征在于,包括:
    第一网页实时通信WEBRTC信令网关设备接收主叫终端发送的包括被叫终端标识的会话请求消息;其中,所述主叫终端为WEBRTC终端;
    向WEBRTC服务器发送包括被叫终端标识的查询请求消息,接收所述WEBRTC服务器发送的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
    根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
    接收所述被叫终端发送的会话响应消息,并将所述会话响应消息发送至所述主叫终端,以便所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
  2. 根据权利要求1所述的方法,其特征在于,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
    根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为所述第一WEBRTC信令网关设备,将所述会话请求消息发送至所述被叫终端。
  3. 根据权利要求1所述的方法,其特征在于,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
    根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将所述会话请求消息发送至所述第二WEBRTC信令网关设备,以便所述第二WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
    所述接收所述被叫终端发送的会话响应消息包括:
    在所述被叫终端向所述第二WEBRTC信令网关设备发送会话响应消息后,接收所述第二WEBRTC信令网关设备发送的所述会话响应消息。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述会 话请求消息包括所述主叫终端的媒体候选地址信息,所述会话响应消息包括所述被叫终端的媒体候选地址信息;
    相应的,所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道具体包括:
    所述主叫终端根据自身的媒体候选地址信息和所述被叫终端的媒体候选地址信息建立与所述被叫终端之间端到端的媒体通道。
  5. 一种通道建立的方法,其特征在于,包括:
    WEBRTC服务器在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收所述第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息;其中,所述主叫终端为WEBRTC终端;
    根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
    向所述第一WEBRTC信令网关设备发送所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,以便所述第一WEBRTC信令网关设备根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端,并将接收到的会话响应消息发送至所述主叫终端,以使所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识具体包括:
    所述WEBRTC服务器根据所述被叫终端标识查询自身存储的对应关系,确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述对应关系包括所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
  7. 根据权利要求5或6所述的方法,其特征在于,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述方法还包 括:
    所述WEBRTC服务器接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;
    在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时,存储所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
  8. 根据权利要求5或6所述的方法,其特征在于,若所述被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,在所述接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,所述方法还包括:
    接收所述其他WEBRTC服务器发送的所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系;
    其中,所述对应关系为所述其他WEBRTC服务器接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时存储的。
  9. 根据权利要求6至8任一项所述的方法,其特征在于,所述方法还包括:
    在所述被叫终端与对应的WEBRTC信令网关设备断开连接后,接收所述被叫终端对应的WEBRTC信令网关设备发送的更新请求消息,并根据所述更新请求消息更改所述被叫终端接入WEBRTC信令网关设备的接入方式。
  10. 一种WEBRTC信令网关设备,其特征在于,包括:
    接收单元,用于接收主叫终端发送的包括被叫终端标识的会话请求消息和被叫终端发送的会话响应消息;还用于接收WEBRTC服务器在接收到所述WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息后发送的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,其中,所述主叫终端为WEBRTC终端,所述接入方式包括通过WEB接入;
    确定单元,用于根据所述接收单元接收到的接入方式确定所述被叫终端为WEBRTC终端;
    发送单元,用于向WEBRTC服务器发送包括被叫终端标识的查询请求消息;在所述确定单元确定所述被叫终端为WEBRTC终端后,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;将所述会话响应消息发送至所述主叫终端,以便所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
  11. 根据权利要求10所述的WEBRTC信令网关设备,其特征在于,
    所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端具体包括:
    根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为所述第一WEBRTC信令网关设备,将所述会话请求消息发送至所述被叫终端。
  12. 根据权利要求10所述的WEBRTC信令网关设备,其特征在于,所述通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端包括:
    根据所述网关标识确定所述被叫终端接入的WEBRTC信令网关设备为第二WEBRTC信令网关设备,将所述会话请求消息发送至所述第二WEBRTC信令网关设备,以便所述第二WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端;
    相应的,所述接收所述被叫终端发送的会话响应消息具体包括:在所述被叫终端向所述第二WEBRTC信令网关设备发送会话响应消息后,接收所述第二WEBRTC信令网关设备发送的所述会话响应消息。
  13. 根据权利要求10至12任一项所述的WEBRTC信令网关设备,其特征在于,所述会话请求消息包括所述主叫终端的媒体候选地址信息,所述会话响应消息包括所述被叫终端的媒体候选地址信息;
    相应的,所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道具体包括:
    所述主叫终端根据自身的媒体候选地址信息和所述被叫终端的媒体候选地址信息建立与所述被叫终端之间端到端的媒体通道。
  14. 一种WEBRTC服务器,其特征在于,包括:
    接收单元,用于在第一WEBRTC信令网关设备接收到主叫终端发送的会话请求消息后,接收所述第一WEBRTC信令网关设备发送的包括被叫终端标识的查询请求消息;其中,所述主叫终端为WEBRTC终端;
    确定单元,用于根据所述接收单元接收到的被叫终端标识确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述接入方式包括通过WEB接入;
    发送单元,用于向所述第一WEBRTC信令网关设备发送所述确定单元确定的所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,以便所述第一信令设备根据所述接入方式确定所述被叫终端为WEBRTC终端,通过所述网关标识对应的WEBRTC信令网关设备将所述会话请求消息发送至所述被叫终端,并将接收到的会话响应消息发送至所述主叫终端,以使所述主叫终端根据所述会话响应消息建立与所述被叫终端之间端到端的媒体通道。
  15. 根据权利要求14所述的WEBRTC服务器,其特征在于,所述确定单元,具体用于根据所述被叫终端标识查询自身存储的对应关系,确定所述被叫终端接入WEBRTC信令网关设备的接入方式和所述被叫终端接入的WEBRTC信令网关设备的网关标识,所述对应关系包括所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
  16. 根据权利要求14或15所述的WEBRTC服务器,其特征在于,所述WEBRTC服务器中还包括存储单元;所述接收单元还用于,在接收所述第一WEBRTC信令网关设备发送的查询请求消息之前,接收所述被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息;
    所述存储单元,用于在确定所述接收单元接收到的接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时,存储所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系。
  17. 根据权利要求14或15所述的WEBRTC服务器,其特征在于,若所述被叫终端接入的WEBRTC服务器为其他WEBRTC服务器,所述接收单元还用于,接收所述其他WEBRTC服务器发送的所述被叫终端标识、所述被叫终端接入的WEBRTC信令网关设备的网关标识和所述被叫终端接入WEBRTC信令网关设备的接入方式三者之间的对应关系;
    其中,所述对应关系为所述其他WEBRTC服务器接收被叫终端接入的WEBRTC信令网关设备发送的包括接入码的验证消息,并在确定所述接入码为所述被叫终端接入的WEBRTC信令网关设备分配至所述被叫终端的接入码时存储的。
  18. 根据权利要求15至17任一项所述的WEBRTC服务器,其特征在于,所述的WEBRTC服务器还包括更新单元,则所述接收单元还用于,在所述被叫终端与对应的WEBRTC信令网关设备断开连接后,接收所述被叫终端对应的WEBRTC信令网关设备发送的更新请求消息;
    所述更新单元用于,根据所述接收单元接收到的更新请求消息更改所述被叫终端接入WEBRTC信令网关设备的接入方式。
PCT/CN2015/070523 2014-02-21 2015-01-12 一种通道建立的方法和设备 WO2015124045A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15752241.8A EP3073705B1 (en) 2014-02-21 2015-01-12 Channel establishing method and apparatus
US15/242,244 US10250646B2 (en) 2014-02-21 2016-08-19 Method and device for establishing channel

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410061239.XA CN104869101B (zh) 2014-02-21 2014-02-21 一种通道建立的方法和设备
CN201410061239.X 2014-02-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/242,244 Continuation US10250646B2 (en) 2014-02-21 2016-08-19 Method and device for establishing channel

Publications (1)

Publication Number Publication Date
WO2015124045A1 true WO2015124045A1 (zh) 2015-08-27

Family

ID=53877625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070523 WO2015124045A1 (zh) 2014-02-21 2015-01-12 一种通道建立的方法和设备

Country Status (4)

Country Link
US (1) US10250646B2 (zh)
EP (1) EP3073705B1 (zh)
CN (1) CN104869101B (zh)
WO (1) WO2015124045A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9912705B2 (en) * 2014-06-24 2018-03-06 Avaya Inc. Enhancing media characteristics during web real-time communications (WebRTC) interactive sessions by using session initiation protocol (SIP) endpoints, and related methods, systems, and computer-readable media
CN106656930B (zh) * 2015-11-02 2019-12-03 中国电信股份有限公司 一种用于浏览器接入ims网络的方法、装置和通信***
CN105516112A (zh) * 2015-12-01 2016-04-20 深圳联友科技有限公司 通过基于WebRTC的浏览器实现语音通话的方法及***
CN107888544B (zh) * 2016-09-29 2019-03-12 视联动力信息技术股份有限公司 一种视联网终端与通讯设备之间建立通讯的方法和***
CN106851037B (zh) * 2016-11-28 2021-05-18 深圳市潮流网络技术有限公司 一种WebRTC通话的路由方法及***
CN107249011A (zh) * 2017-04-10 2017-10-13 江苏东方金钰智能机器人有限公司 基于WebRTC的机器人遥操作***
CN109246067B (zh) * 2017-07-11 2020-07-14 华为技术有限公司 一种连接方法、设备及***
CN108173863B (zh) * 2017-12-29 2021-08-17 深圳市泛海三江科技发展有限公司 建立适用于物联网设备的轻量级WebRTC***的方法和***
CN112702244A (zh) * 2018-04-09 2021-04-23 华为技术有限公司 接入服务网络的方法和通信装置
CN110266764B (zh) * 2019-05-21 2021-10-26 深圳壹账通智能科技有限公司 基于网关的内部服务调用方法、装置及终端设备
CN113839910A (zh) * 2020-06-23 2021-12-24 京东方科技集团股份有限公司 视频会议的实现方法、终端和sip网关
CN112367309B (zh) * 2020-10-27 2023-05-09 Oppo广东移动通信有限公司 流媒体网关动态组网方法、装置、***、终端设备及介质
CN113038626A (zh) * 2021-03-24 2021-06-25 安徽超视野智能科技有限公司 一种用于社区的多种设备接入***及方法
CN113630424B (zh) * 2021-09-15 2023-04-28 上海哔哩哔哩科技有限公司 WebRTC通信方法及***
CN115622981B (zh) * 2022-10-21 2023-11-10 南京北路智控科技股份有限公司 一种WebRTC通信方法、装置、设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103404132A (zh) * 2013-03-08 2013-11-20 华为终端有限公司 视频通信方法及家庭终端、家庭服务器
CN103580986A (zh) * 2012-07-30 2014-02-12 华为终端有限公司 一种实时通信方法、终端设备、实时通信服务器及***
US20140044123A1 (en) * 2011-05-23 2014-02-13 Twilio, Inc. System and method for real time communicating with a client application

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2091203A1 (en) * 2008-02-12 2009-08-19 Koninklijke KPN N.V. Method and system for transmitting a multimedia stream
US9363133B2 (en) * 2012-09-28 2016-06-07 Avaya Inc. Distributed application of enterprise policies to Web Real-Time Communications (WebRTC) interactive sessions, and related methods, systems, and computer-readable media
US9473581B2 (en) * 2013-02-04 2016-10-18 Oracle International Corporation Integrated web-enabled session border controller
CN104113511B (zh) * 2013-04-17 2018-03-23 ***通信集团公司 一种接入ims网络的方法、***及相关装置
US8861692B1 (en) * 2013-05-15 2014-10-14 Verizon Patent And Licensing Inc. Web call access and egress to private network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140044123A1 (en) * 2011-05-23 2014-02-13 Twilio, Inc. System and method for real time communicating with a client application
CN103580986A (zh) * 2012-07-30 2014-02-12 华为终端有限公司 一种实时通信方法、终端设备、实时通信服务器及***
CN103404132A (zh) * 2013-03-08 2013-11-20 华为终端有限公司 视频通信方法及家庭终端、家庭服务器

Also Published As

Publication number Publication date
US10250646B2 (en) 2019-04-02
US20160359927A1 (en) 2016-12-08
EP3073705B1 (en) 2019-03-13
EP3073705A1 (en) 2016-09-28
CN104869101A (zh) 2015-08-26
EP3073705A4 (en) 2016-12-14
CN104869101B (zh) 2018-02-23

Similar Documents

Publication Publication Date Title
WO2015124045A1 (zh) 一种通道建立的方法和设备
WO2021218397A1 (zh) 用于实现业务连续性的方法及相关设备
US9743334B2 (en) Method and apparatus for enabling data path selection in a virtual home gateway
JP7427082B2 (ja) サービスオフロード方法、装置、システム、電子機器、及びコンピュータプログラム
US20240121278A1 (en) Voice Service Restoration After Element Failure
US20130007291A1 (en) MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS
CN108418789B (zh) 一种基于WebRTC的通信***及其通信方法、信令服务器
WO2015065210A1 (en) Secure mobile access to resources within a private network
TWI404387B (zh) 在網路位址轉換環境下使用對話啟動協定的通訊方法與系統
US20230291706A1 (en) Method for accessing network, media gateway, electronic device and storage medium
US20180132291A1 (en) SIP Call Continuity Upon Failure
WO2012130049A1 (zh) 地址处理方法及装置
US8705471B2 (en) Method and system for implementing ID/locator mapping
WO2019184717A1 (zh) 一种通信方法、及相关产品
US8711844B2 (en) Peer-to-peer, internet protocol telephone system with proxy interface for configuration data
JP2023078229A (ja) ユーザネットワークインターフェイスプロキシを通じたキャリア統合
WO2022007657A1 (zh) 一种域名***请求的发送方法及装置
US20130166761A1 (en) Dialog Establishment Over A Peer-To-Peer Architecture
CN108833434B (zh) 一种基于ip双向网络机顶盒的跨网视频通话***的实现方法
CN100525202C (zh) 一种基于h.323协议的私网终端向网守注册的方法
CN109788579B (zh) 一种pdu会话的建立方法及设备
JP6195282B2 (ja) コール切換方法、装置、およびシステム
EP2608488B1 (en) Dialog establishment over a peer-to-peer architecture
WO2024017262A9 (zh) 数据包传输方法及虚拟网络组
WO2015039579A1 (zh) 不对称组网***视频呼叫方法及终端、服务器和***

Legal Events

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

Ref document number: 15752241

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015752241

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015752241

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE