CN106656930B - A kind of method, apparatus and communication system for browser access IMS network - Google Patents
A kind of method, apparatus and communication system for browser access IMS network Download PDFInfo
- Publication number
- CN106656930B CN106656930B CN201510731614.1A CN201510731614A CN106656930B CN 106656930 B CN106656930 B CN 106656930B CN 201510731614 A CN201510731614 A CN 201510731614A CN 106656930 B CN106656930 B CN 106656930B
- Authority
- CN
- China
- Prior art keywords
- message
- browser
- ims network
- sent
- gateway
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method, apparatus and communication system for browser access IMS network, method therein includes: that signaling gateway carries out protocol conversion process to the interaction message between browser and IMS network and forwards, and establishes the session of browser and IMS network;Browser, IMS network are respectively using the ROAP agreement of extension, Session Initiation Protocol messaging;Browser carries audio/video flow using SRTP agreement, and IMS network carries audio/video flow using Real-time Transport Protocol, and Media Gateway carries out protocol conversion process to audio/video flow and forwards.Method, apparatus and communication system of the invention, the access interface for being supplied to browser is the expanded ROAP agreement for having simple Offer/Answer model, realize that browser accesses IMS network jointly using signaling gateway and Media Gateway, signaling gateway and Media Gateway are controlled using ROAP protocol interaction, control interface is more simpler than existing, and can be good at adapting to the mechanism of browser.
Description
Technical field
The present invention relates to field of communication technology more particularly to it is a kind of for browser access IMS network method, apparatus and
Communication system.
Background technique
IMS (IP Multimedia Subsystem) is IP multimedia subsystem, is a kind of completely new multimedia service shape
Formula, it can satisfy the demand of more novel, the more diversified multimedia service of present terminal client.IMS terminal refers generally to pass through
Access gateway accesses the terminal device of IMS network, including software terminal and hard terminal, they the characteristics of be to realize from signaling, matchmaker
Body encoding and decoding are transferred to all functions and process such as professional media processing, and application is strongly professional, and technical threshold is high.With mutual
The appearance of the development of connected network communication technology, especially WebRTC, the built-in media encoding and decoding of browser, media handling and
Private network such as passes through at the professional higher function, greatly reduces the realization threshold of communication service, but browser connects as IMS terminal
Enter the IMS network problem inconsistent there is also signaling and media encoding and decoding, at present also there is no unified standard, browser with
Terminal, server in IMS network etc. can't realize media intercommunication, and also cannot achieve between browser and IMS network
Message distribution.
Summary of the invention
In view of this, the invention solves technical problem be to provide it is a kind of for browser access IMS network
Method, apparatus and communication system realize that browser accesses IMS network by signaling gateway and Media Gateway jointly.
A method of IMS network is accessed for browser, comprising: signaling gateway is between browser and IMS network
Interaction message carries out protocol conversion process and forwards, and establishes the session of the browser Yu the IMS network;Wherein, described clear
Device, the IMS network are look at respectively using the ROAP agreement of extension, Session Initiation Protocol messaging;The signaling gateway controls media net
Media channel is established with the browser and the IMS network respectively in pass;When the browser and the IMS network send or connect
When radio reception video flowing, the Media Gateway carries out protocol conversion process to the audio/video flow and forwards;Wherein, the browser
Audio/video flow is carried using SRTP agreement, the IMS network carries audio/video flow using Real-time Transport Protocol.
According to one embodiment of present invention, further, there are multiple extension words in the message of the ROAP agreement of extension
Section, the extended field includes: type, from and to field;Wherein, type field indicates the type of message, from field list
Show the sender of message, to field indicates the recipient of message.
According to one embodiment of present invention, further, the protocol conversion process of the signaling gateway progress includes:
INVITE message turns with the conversion of Offer message, the conversion of ACK message and OK message, BYE message and shutdown message
It changes, the conversion of 200OK and Answer message.
According to one embodiment of present invention, further, the signaling gateway is to the friendship between browser and IMS network
Mutual message carries out protocol conversion process and forwards, establishes the browser and the session of the IMS network to include: the signaling network
Close the first address detection of connectivity request for receiving Offer message and ICE agreement that the browser is sent;The signaling gateway
The Offer message and the request of first address detection of connectivity are transmitted to the Media Gateway;The Media Gateway is taken out
Take out the browser address letter in the SDP description information and the request of first address detection of connectivity in the Offer message
Breath;The encoding and decoding that the browser address information and the Media Gateway are supported are added to the SDP and retouched by the Media Gateway
It states in information, the SDP description information is reinserted into the Offer message and the Offer message is sent to institute
State signaling gateway;The Offer message is converted to the Invite message of Session Initiation Protocol by the signaling gateway, and will be described
Invite message is sent to the IMS network.
According to one embodiment of present invention, further, comprising: the signaling gateway is chosen idle from number pond
This IMS number is filled into the Invite message, and the session of this number and the browser is tied up by IMS number
It is fixed.
According to one embodiment of present invention, further, the signaling gateway is to the friendship between browser and IMS network
Mutual message carries out protocol conversion process and forwards, establishes the browser and the session of the IMS network to include: the signaling network
It closes and receives the 200OK message that the IMS network returns;The 200OK message is converted to ANSWER and disappeared by the signaling gateway
Breath, and the ANSWER message is sent to the Media Gateway;The Media Gateway extracts in the ANSWER message
The encoding and decoding that the Media Gateway is supported are added in the SDP description information, and the SDP is described by SDP description information
Information reinserts in the ANSWER message;The Media Gateway generates the second address detection of connectivity request of ICE agreement,
IMS network address is added in the request of second address detection of connectivity;The Media Gateway by the ANSWER message and
Detection of connectivity request in second address is sent to the signaling gateway;The signaling gateway is by the ANSWER message and institute
It states the request of the second address detection of connectivity and is sent to the browser.
According to one embodiment of present invention, further, signaling gateway control Media Gateway respectively with it is described clear
It includes: the OK message that the signaling gateway receives that the browser is sent that device of looking at, which establishes media channel with the IMS network,;Institute
The ACK message that the OK message is converted to Session Initiation Protocol by signaling gateway is stated, and the ACK message is sent to the IMS net
Network;The browser and the IMS network establish session, and the Media Gateway respectively with the browser and the IMS
Network establishes media channel.
According to one embodiment of present invention, further, in the meeting for establishing the browser Yu the IMS network
It include: that the signaling gateway receives the shutdown message that the browser is sent after words;The signaling gateway will be described
Shutdown is sent to the Media Gateway;The signaling gateway disappears the BYE that the shutdown message is converted to Session Initiation Protocol
Breath, and the BYE message is sent to the IMS network;The IMS network is sent 200OK message and turned by the signaling gateway
It is changed to OK message, and is sent to the browser;The browser terminates session, and the media net is removed and the browsing
The media channel that device and the IMS network are established.
According to one embodiment of present invention, further, the audio/video flow that the browser is carried using SRTP agreement
Using Opus and VP8 coding mode, H.264 the audio/video flow that the IMS network is carried using Real-time Transport Protocol is compiled using AMR-WB and
Code mode.
A kind of device for browser access IMS network, comprising: signaling gateway, for browser and IMS network it
Between interaction message protocol conversion process and forward, establish the session of the browser Yu the IMS network;Control media
Gateway establishes media channel with the browser and the IMS network respectively;Wherein, the browser, IMS network difference
Use the ROAP agreement of extension, Session Initiation Protocol messaging;Media Gateway, for being sent when the browser and the IMS network
Or when receiving audio/video flow, the Media Gateway carries out protocol conversion process to the audio/video flow and forwards;Wherein, described clear
Device of looking at carries audio/video flow using SRTP agreement, and the IMS network carries audio/video flow using Real-time Transport Protocol.
According to one embodiment of present invention, further, there are multiple extension words in the message of the ROAP agreement of extension
Section, the extended field includes: type, from and to field;Wherein, type field indicates the type of message, from field list
Show the sender of message, to field indicates the recipient of message.
According to one embodiment of present invention, further, the signaling gateway, comprising: messaging interface, for connecing
Receive the first address detection of connectivity request of Offer message and ICE agreement that the browser is sent;By the Offer message
The Media Gateway is transmitted to the request of first address detection of connectivity;Protocol conversion module, for the Offer to disappear
Breath is converted to the Invite message of Session Initiation Protocol;Wherein, the Invite message is sent to described by the messaging interface
IMS network;The Media Gateway, comprising: message coalescing module, for extracting the SDP description information in the Offer message
With the browser address information in the request of first address detection of connectivity;By the browser address information and the media
The encoding and decoding that gateway is supported are added in the SDP description information, and the SDP description information is reinserted into the Offer
The signaling gateway is sent in message and by the Offer message.
According to one embodiment of present invention, further, the protocol conversion module is also used to choose from number pond
Idle IMS number, this IMS number is filled into the Invite message, and by the session of this number and the browser
It is bound.
According to one embodiment of present invention, further, the messaging interface is also used to receive the IMS net
The 200OK message that network returns;The protocol conversion module is also used to the 200OK message being converted to ANSWER message;Its
In, the ANSWER message is sent to the Media Gateway by the messaging interface;The Media Gateway, comprising: message
Module is split to add the encoding and decoding that the Media Gateway is supported for extracting the SDP description information in the ANSWER message
Enter into the SDP description information, and the SDP description information is reinserted in the ANSWER message;Generate ICE agreement
The request of the second address detection of connectivity, add IMS network address in the request of second address detection of connectivity, will be described
ANSWER message and the request of second address detection of connectivity are sent to the messaging interface;The messaging interface
The ANSWER message and the request of second address detection of connectivity are sent to the browser.
According to one embodiment of present invention, further, the messaging interface is also used to receive the browser
The OK message of transmission;The protocol conversion module is also used to be converted to the OK message ACK message of Session Initiation Protocol;Wherein,
The ACK message is sent to the IMS network by the messaging interface.
According to one embodiment of present invention, further, the messaging interface is also used to receive the browser
The Shutdown is sent the Media Gateway by the shutdown message of transmission;The protocol conversion module, be also used to by
The shutdown message is converted to the BYE message of Session Initiation Protocol, and IMS network transmission 200OK message is converted to OK and is disappeared
Breath;Wherein, the BYE message is sent to the IMS network by the messaging interface, and OK message is sent to described clear
Look at device.
A kind of communication system, the device including being used for browser access IMS network as described above.
Method, apparatus and communication system for browser access IMS network of the invention, is supplied to the access of browser
Interface is the expanded ROAP agreement for having simple Offer/Answer model, meets the information interaction approach of internet, adopts
Realize that browser accesses IMS network jointly with signaling gateway and Media Gateway, signaling gateway and Media Gateway use ROAP agreement
Interaction is controlled, and control interface is more simpler than existing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments of the present invention, for those of ordinary skill in the art, without any creative labor, also
Other attached drawings can be obtained according to these attached drawings.
Fig. 1 is the flow diagram of one embodiment of the method according to the present invention that IMS network is accessed for browser;
Fig. 2 is the information exchange in one embodiment of the method according to the present invention for accessing IMS network for browser
Schematic diagram;
Fig. 3 is the logical ne in one embodiment of the device according to the present invention for accessing IMS network for browser
Schematic diagram;
Fig. 4 is signaling gateway in one embodiment of the device according to the present invention for accessing IMS network for browser
Schematic diagram;
Fig. 5 is Media Gateway in one embodiment of the device according to the present invention for accessing IMS network for browser
Schematic diagram.
Specific embodiment
With reference to the accompanying drawings to invention is more fully described, wherein illustrating exemplary embodiment of the present invention.Under
Face will combine the attached drawing in the embodiment of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, show
So, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the reality in the present invention
Example is applied, all other embodiment obtained by those of ordinary skill in the art without making creative efforts all belongs to
In the scope of protection of the invention.Various descriptions are carried out to technical solution of the present invention below with reference to each figure and embodiment.
" first " hereinafter, " second " etc. is distinguish in description, there is no other special meanings.
Fig. 1 is the flow diagram of one embodiment of the method according to the present invention that IMS network is accessed for browser,
As shown in Figure 1:
Step 101, signaling gateway carries out protocol conversion process to the interaction message between browser and IMS network and turns
Hair, establishes the session of browser and IMS network.Browser, IMS network are received and dispatched using the ROAP agreement of extension, Session Initiation Protocol respectively
Message.
Step 102, signaling gateway control Media Gateway establishes media channel with browser and IMS network respectively.
Step 103, when browser and IMS network send or receive audio/video flow, Media Gateway carries out audio/video flow
Protocol conversion process simultaneously forwards.Browser carries audio/video flow using SRTP agreement, and IMS network is regarded using Real-time Transport Protocol carrying sound
Frequency flows.
WebRTC (Web based Real-Time Communications, webpage real time communication) is also referred to as RTCWeb, is
A kind of Real-time Communication Technology based on Web.The currently used signaling protocol of WebRTC system is ROAP (RTCWeb Offer/
Answer Protocol, webpage real time communication request-reply agreement) agreement.ROAP agreement is proposed by IETF in browser
Between or browser with the agreement for carrying out media negotiation between other compatible equipment, can be used for WEB application notice browsing
Parameter needed for real time communication component user in device initiates multimedia session request.IMS network mainly utilizes SIP (Session
Initiation Protocol, Session initiation Protocol) agreement conversates control and management.
Method for browser access IMS network of the invention, solves the Signalling conversion of browser access IMS network
The problems such as with media control, so that reducing Internet user accesses difficulty of the IMS in terms of signaling protocol is realized with media conversion
Degree.
In one embodiment, there are multiple extended fields, extended field includes: in the message of the ROAP agreement of extension
Type, from and to field etc., type field indicate that the type of message, from field indicate the sender of message, to field list
Show the recipient of message.ROAP key protocol field after extension is as shown in table 1 below:
ROAP key protocol field list after table 1- extension
Type is an enumeration type, wherein session-initiate/session-refuse/session-bye/
It is ROAP message that ack, which represents this message, and register indicates WebRTC application First Contact Connections server, infused
Volume, Heartbeat are used to maintaining webs Socket connection.And ROAP message field uses the protocol definition of standard, but specific ginseng
Numerical value is extended in the present invention, sees the description in embodiment.
In one embodiment, the corresponding relationship of ROAP message and sip message is as shown in table 2 below:
The mapping table of table 2-ROAP message and sip message
Browser accesses IMS by signaling gateway and Media Gateway, realizes the letter with IMS terminal and existing conventional terminal
Enable interactive and media intercommunication.Specific signaling process is as shown in Figure 2.Using the ROAP association of extension between browser and signaling gateway
View, the information content use JSON format, and SDP description follows existing specification.
Step 201,202, browser send the first address detection of connectivity request of Offer message and ICE agreement.
Offer message and the request of the first address detection of connectivity are transmitted to media net by step 203,204, signaling gateway
It closes.
Step 205, Media Gateway extracts SDP description information in Offer message and the first address detection of connectivity is asked
Browser address information in asking.The encoding and decoding that browser address information and Media Gateway are supported are added to SDP by Media Gateway
In description information, SDP description information is reinserted into Offer message.
Step 206, Offer message is sent to signaling gateway by Media Gateway.
Media Gateway extracts the SDP description in Offer request and the address information in Candidate, and by address information
The encoding and decoding supported with oneself are added in SDP description, and the Offer request after merging is sent to signaling gateway.
Offer message is converted to the Invite message of Session Initiation Protocol by step 207,208,209, signaling gateway, and will
Invite message is sent to IMS network by soft switch service edge access control BAC equipment.
ICE agreement or ICE scheme (Interactive Connectivity Establishment, Interactive Connectivity side
Case) it is the NAT traversal scheme under asymmetry NAT environment, the agreements such as integrated use STUN, TURN are logical to provide one
Solution is related to related protocol: RFC5245.ICE collects host candidate site and server returns to candidate site, right
In symmetric NAT environment address connectivity checks only to host candidate site (host candidate) and relay candidate address
The connectivity of (relayed candidate) is checked, specifically matches the two addresses with opposite end address respectively,
A pair of available media communication address is selected by souning out connectivity.The address detection of connectivity of ICE agreement of the invention is asked
Asking to be a variety of address detection of connectivity requests in the prior art, can carry the address information or IMS net of browser
Network address information etc..
In one embodiment, the content of Offer message and INVITE message specifically converted is as follows:
Above-mentioned Offer message is the Offer message sent through the Media Gateway synthesis end Web and Candidate message institute
.Field corresponding relationship is as shown in table 3 below:
Table 3-Offer message table corresponding with the field of INVITE message
Signaling gateway chooses idle IMS number from number pond, this IMS number is filled into Invite message, and
The session of this number and browser is bound, in subsequent connection, can with this this browser of IMS number mark with
The session of IMS network.
Step 210,211, signaling gateway receive the 200OK message of IMS network return.
Step 212,200OK message is converted to ANSWER message by signaling gateway.
Step 213, ANSWER message is sent to Media Gateway by signaling gateway.
Step 214, Media Gateway extracts the SDP description information in ANSWER message, the volume solution that Media Gateway is supported
Code is added in SDP description information, and SDP description information is reinserted in ANSWER message;Media Gateway generates ICE agreement
The second address detection of connectivity request, the second address detection of connectivity request in add IMS network address.
ANSWER message and the request of the second address detection of connectivity are sent to signaling network by step 215,216, Media Gateway
It closes.
Step 217,218, ANSWER message and the request of the second address detection of connectivity are sent to browser by signaling gateway.
The SDP response that IMS is returned also needs to convert by signaling gateway, Media Gateway is split, then by Answer and
Candidate message returns to browser.The Signalling exchange that browser passes through between the callee of the side IMS determines that media compile solution
The information such as selection, media address and the port of code, then established between Media Gateway by the detection of connectivity process in ICE
Media channel completes browser and the entire call establishment between the callee of the side IMS.
In one embodiment, 200OK message and the content of Answer message specifically converted are as follows:
Response message for the 1XX received, signaling gateway are temporarily not processed.Other error response message conversion sides
Formula is similar with 200 OK, and only the type of error is different, is not repeating herein.The field of 200 OK message and Answer message
Corresponding relationship is as shown in table 4 below:
The field mapping table of table 4-200 OK message and Answer message
Step 219, browser sends OK message.
Step 220, OK message is converted to the ACK message of Session Initiation Protocol by signaling gateway.
Step 221, ACK message is sent to IMS network by signaling gateway.
In one embodiment, the content of OK message and ACK message specifically converted is as follows:
The field corresponding relationship of OK message and ACK message is as shown in table 5 below:
The field mapping table of table 5-OK message and ACK message
Browser and IMS network establish session, and to establish media with browser and IMS network respectively logical for Media Gateway
Road.After establishing the session of browser and IMS network, browser hangs up this session:
Step 222, signaling gateway receives the shutdown message of browser transmission.
Step 223, Shutdown is sent Media Gateway by signaling gateway.
Step 224, shutdown message is converted to the BYE message of Session Initiation Protocol by signaling gateway.
Step 225, signaling gateway and BYE message is sent to IMS network.
Step 227,228, IMS network transmission 200OK message is converted to OK message by signaling gateway, and is sent to browsing
Device;Browser terminates session, and media net removes the media channel established with browser and IMS network.
In one embodiment, BYE message and the content of shutdown message specifically converted are as follows:
Shutdown message and the field corresponding relationship of BYE message are as shown in table 6 below:
The field corresponding relationship of table 6-Shutdown message and BYE message
The field corresponding relationship of BYE message and shutdown message is as shown in table 7 below:
The field mapping table of table 7-BYE message and shutdown message
As shown in figure 3, the present invention provides a kind of device for browser access IMS network, comprising: signaling gateway
(SGW) and two logical nes of Media Gateway (MGW).The sound encoded with Opus and VP8 that media gateway realization is carried with SRTP
Video flowing and the side IMS are with the conversion and intercommunication of the RTP audio/video flow with AMR-WB and H.264 encoded carried.Signaling gateway is real
The conversion of existing internet information format JSON and Session Initiation Protocol, and the processing and conversion of control media gateway realization Media Stream.Matchmaker
Body gateway to media convert and processing can be processing mode in the prior art.
In one embodiment, signaling gateway carries out at protocol conversion the interaction message between browser and IMS network
It manages and forwards, establish the session of browser and IMS network, control Media Gateway establishes media with browser and IMS network respectively
Channel.When browser and IMS network send or receive audio/video flow, protocol conversion process is carried out to audio/video flow and is forwarded.
Such as Fig. 4, shown in 5, signaling gateway 41 includes: messaging interface 411 and protocol conversion module 412.Media Gateway
42 include: that message coalescing module 421 and message split module 422.Messaging interface 411 receives the Offer that browser is sent
First address detection of connectivity of message and ICE agreement request, by Offer message and the request forwarding of the first address detection of connectivity
To Media Gateway.
Offer message is converted to the Invite message of Session Initiation Protocol by protocol conversion module 412, and messaging interface 411 will
Invite message is sent to IMS network.Message coalescing module 421 extracts SDP description information and the first ground in Offer message
The encoding and decoding that browser address information and Media Gateway are supported are added browser address information in the request of location detection of connectivity
Into SDP description information, SDP description information is reinserted into Offer message and Offer message is sent to signaling network
It closes.Protocol conversion module 412 chooses idle IMS number from number pond, this IMS number is filled into Invite message,
And the session of this number and browser is bound.
In one embodiment, messaging interface 411 receives the 200OK message that IMS network returns, protocol conversion module
200OK message is converted to ANSWER message by 412, and ANSWER message is sent to Media Gateway by messaging interface 411.
Message splits module 422 and extracts the SDP description information in ANSWER message, the encoding and decoding that Media Gateway is supported
It is added in SDP description information, and SDP description information is reinserted in ANSWER message, generate the second address of ICE agreement
Detection of connectivity request adds IMS network address in the request of the second address detection of connectivity, by ANSWER message and the second ground
Detection of connectivity request in location is sent to messaging interface 411.Messaging interface 411 connects ANSWER message and the second address
General character detection request is sent to browser.
Messaging interface 411 receives the OK message that browser is sent, and protocol conversion module 412 is converted to OK message
ACK message is sent to IMS network by the ACK message of Session Initiation Protocol, messaging interface 411.
Messaging interface 411 receives the shutdown message that browser is sent, and sends Media Gateway for Shutdown.
Shutdown message is converted to the BYE message of Session Initiation Protocol by protocol conversion module 412, and IMS network is sent 200OK message and is turned
It is changed to OK message.BYE message is sent to IMS network by messaging interface 411, and OK message is sent to browser.
In one embodiment, the present invention provides a kind of communication system, accesses IMS network for browser including as above
Device.
Method, apparatus and communication system provided by the above embodiment for browser access IMS network, passes through signaling network
It closes and Media Gateway accesses IMS network, signaling gateway realizes the conversion of internet information format ROAP (JSON) and Session Initiation Protocol,
And the processing and conversion of control media gateway realization Media Stream.Media gateway realization is compiled with what SRTP was carried with Opus and VP8
The audio/video flow of code and the side IMS are with the conversion and intercommunication of the RTP audio/video flow with AMR-WB and H.264 encoded carried.Signaling
Gateway passes through ROAP protocols control media gateway.
Method, apparatus and communication system provided by the above embodiment for browser access IMS network, is supplied to browsing
The access interface of device is the expanded ROAP agreement for having simple Offer/Answer model, and data content uses JSON lattice
Formula, meets the information interaction approach of internet, while also complying with the information producing method (media capability of browser of browser
SDP and IP address are to separate to obtain, the acquisition of IP address since its ICE process has certain time delay, what the present invention extended
The OFFER message of ROAP agreement can be sent repeatedly, while cooperate ICE process by Candidate, can be very good to adapt to
The mechanism of browser), realize that browser accesses IMS network, signaling gateway and media jointly using signaling gateway and Media Gateway
Gateway is controlled using ROAP protocol interaction, and control interface is more simpler than existing.
Method and system of the invention may be achieved in many ways.For example, can by software, hardware, firmware or
Software, hardware, firmware any combination realize method and system of the invention.The said sequence of the step of for method is only
In order to be illustrated, the step of method of the invention, is not limited to sequence described in detail above, especially says unless otherwise
It is bright.In addition, in some embodiments, also the present invention can be embodied as to record program in the recording medium, these programs include
For realizing machine readable instructions according to the method for the present invention.Thus, the present invention also covers storage for executing according to this hair
The recording medium of the program of bright method.
Description of the invention is given for the purpose of illustration and description, and is not exhaustively or will be of the invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches
It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage
The solution present invention is to design various embodiments suitable for specific applications with various modifications.
Claims (15)
1. a kind of method for browser access IMS network characterized by comprising
Signaling gateway carries out protocol conversion process to the interaction message between browser and IMS network and forwards, and establishes described clear
Look at the session of device and the IMS network;
Wherein, the browser, the IMS network are respectively using the ROAP agreement of extension, Session Initiation Protocol messaging;Extension
There are multiple extended fields, the extended field includes: type, from and to field in the message of ROAP agreement;Type field
Indicate that the type of message, from field indicate the sender of message, to field indicates the recipient of message;
The signaling gateway control Media Gateway establishes media channel with the browser and the IMS network respectively;
When the browser and the IMS network send or receive audio/video flow, the Media Gateway is to the audio/video flow
It carries out protocol conversion process and forwards;Wherein, the browser carries audio/video flow using SRTP agreement, and the IMS network makes
Audio/video flow is carried with Real-time Transport Protocol;
Include: after the session for establishing the browser and the IMS network
The signaling gateway receives the Shutdown that the browser is sent, and sends the media net for the Shutdown
It closes;The shutdown message is converted to the BYE message of Session Initiation Protocol by the signaling gateway, and the BYE message is sent to
The IMS network;
IMS network transmission 200OK message is converted to OK message by the signaling gateway, and is sent to the browser;Institute
Stating browser terminates session, and the media net removes the media channel established with the browser and the IMS network.
2. the method as described in claim 1, it is characterised in that:
The protocol conversion process that the signaling gateway carries out include: the conversion of INVITE message and Offer message, ACK message and
The conversion of OK message, the conversion of BYE message and shutdown message, the conversion of 200OK and Answer message.
3. method according to claim 2, which is characterized in that the signaling gateway is to the friendship between browser and IMS network
Mutual message carries out protocol conversion process and forwards, establishes the browser and the session of the IMS network includes:
The signaling gateway receives the Offer message that the browser is sent and the first address detection of connectivity of ICE agreement is asked
It asks;
The Offer message and the request of first address detection of connectivity are transmitted to the media net by the signaling gateway
It closes;
The Media Gateway extracts SDP description information in the Offer message and first address detection of connectivity is asked
Browser address information in asking;
The encoding and decoding that the browser address information and the Media Gateway are supported are added to the SDP and retouched by the Media Gateway
It states in information, the SDP description information is reinserted into the Offer message and the Offer message is sent to institute
State signaling gateway;
The Offer message is converted to the Invite message of Session Initiation Protocol by the signaling gateway, and the Invite message is sent out
Give the IMS network.
4. method as claimed in claim 3 characterized by comprising
The signaling gateway chooses idle IMS number from number pond, this IMS number is filled into the Invite message
In, and the session of this number and the browser is bound.
5. method as claimed in claim 3, which is characterized in that the signaling gateway is to the friendship between browser and IMS network
Mutual message carries out protocol conversion process and forwards, establishes the browser and the session of the IMS network includes:
The signaling gateway receives the 200OK message that the IMS network returns;
The 200OK message is converted to ANSWER message by the signaling gateway, and the ANSWER message is sent to described
Media Gateway;
The Media Gateway extracts the SDP description information in the ANSWER message, the volume solution that the Media Gateway is supported
Code is added in the SDP description information, and the SDP description information is reinserted in the ANSWER message;
The Media Gateway generates the second address detection of connectivity request of ICE agreement, in second address detection of connectivity
IMS network address is added in request;
The ANSWER message and the request of second address detection of connectivity are sent to the signaling network by the Media Gateway
It closes;
The ANSWER message and the request of second address detection of connectivity are sent to the browser by the signaling gateway.
6. method as claimed in claim 5, which is characterized in that signaling gateway control Media Gateway respectively with the browsing
Device establishes media channel with the IMS network
The signaling gateway receives the OK message that the browser is sent;
The OK message is converted to the ACK message of Session Initiation Protocol by the signaling gateway, and the ACK message is sent to described
IMS network;
The browser and the IMS network establish session, and the Media Gateway respectively with the browser and the IMS
Network establishes media channel.
7. the method as described in claim 1 to 6 any one, it is characterised in that:
Using Opus and VP8 coding mode, the IMS network uses the audio/video flow that the browser is carried using SRTP agreement
The audio/video flow of Real-time Transport Protocol carrying uses AMR-WB and H.264 coding mode.
8. a kind of device for browser access IMS network characterized by comprising
Signaling gateway establishes institute for carrying out protocol conversion process to the interaction message between browser and IMS network and forwarding
State the session of browser Yu the IMS network;Control Media Gateway establishes media with the browser and the IMS network respectively
Channel;Wherein, the browser, the IMS network are respectively using the ROAP agreement of extension, Session Initiation Protocol messaging;Extension
There are multiple extended fields, the extended field includes: type, from and to field in the message of ROAP agreement;Type field
Indicate that the type of message, from field indicate the sender of message, to field indicates the recipient of message;
Media Gateway, for when the browser and the IMS network send or receive audio/video flow, the Media Gateway pair
The audio/video flow carries out protocol conversion process and forwards;Wherein, the browser carries audio/video flow, institute using SRTP agreement
It states IMS network and carries audio/video flow using Real-time Transport Protocol;
Wherein, include: after the session for establishing the browser and the IMS network
The signaling gateway receives the Shutdown that the browser is sent, and sends the media net for the Shutdown
It closes;The shutdown message is converted to the BYE message of Session Initiation Protocol by the signaling gateway, and the BYE message is sent to
The IMS network;
IMS network transmission 200OK message is converted to OK message by the signaling gateway, and is sent to the browser;Institute
Stating browser terminates session, and the media net removes the media channel established with the browser and the IMS network.
9. device as claimed in claim 8, it is characterised in that:
The protocol conversion process that the signaling gateway carries out include: the conversion of INVITE message and Offer message, ACK message and
The conversion of OK message, the conversion of BYE message and shutdown message, the conversion of 200OK and Answer message.
10. device as claimed in claim 9, it is characterised in that:
The signaling gateway, comprising:
Messaging interface, for receiving the first address connectivity inspection of Offer message and ICE agreement that the browser is sent
Survey request;The Offer message and the request of first address detection of connectivity are transmitted to the Media Gateway;
Protocol conversion module, for the Offer message to be converted to the Invite message of Session Initiation Protocol;Wherein, the message is received
It sends out module and the Invite message is sent to the IMS network;
The Media Gateway, comprising:
Message coalescing module, for extracting SDP description information and the inspection of first address connectivity in the Offer message
Survey the browser address information in request;The encoding and decoding that the browser address information and the Media Gateway are supported are added to
In the SDP description information, the SDP description information is reinserted into the Offer message and by the Offer message
It is sent to the signaling gateway.
11. device as claimed in claim 10, it is characterised in that:
The protocol conversion module is also used to choose idle IMS number from number pond, this IMS number is filled into described
In Invite message, and the session of this number and the browser is bound.
12. device as claimed in claim 10, it is characterised in that:
The messaging interface is also used to receive the 200OK message that the IMS network returns;
The protocol conversion module is also used to the 200OK message being converted to ANSWER message;Wherein, the information receiving and transmitting
The ANSWER message is sent to the Media Gateway by module;
The Media Gateway, comprising:
Message splits module and supports the Media Gateway for extracting the SDP description information in the ANSWER message
Encoding and decoding are added in the SDP description information, and the SDP description information is reinserted in the ANSWER message;It is raw
It is requested at the second address detection of connectivity of ICE agreement, in the request of second address detection of connectivity with adding IMS network
The ANSWER message and the request of second address detection of connectivity are sent to the messaging interface by location;It is described to disappear
The ANSWER message and the request of second address detection of connectivity are sent to the browser by breath transceiver module.
13. device as claimed in claim 12, it is characterised in that:
The messaging interface is also used to receive the OK message that the browser is sent;
The protocol conversion module is also used to be converted to the OK message ACK message of Session Initiation Protocol;Wherein, the message is received
It sends out module and the ACK message is sent to the IMS network.
14. device as claimed in claim 13, it is characterised in that:
The messaging interface is also used to receive the shutdown message that the browser is sent, the Shutdown is sent out
It is sent to the Media Gateway;
The protocol conversion module is also used to be converted to the shutdown message BYE message of Session Initiation Protocol, by the IMS
Network sends 200OK message and is converted to OK message;
Wherein, the BYE message is sent to the IMS network by the messaging interface, and OK message is sent to described
Browser.
15. a kind of communication system, it is characterised in that:
Including the device for browser access IMS network as described in claim 8 to 14 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731614.1A CN106656930B (en) | 2015-11-02 | 2015-11-02 | A kind of method, apparatus and communication system for browser access IMS network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731614.1A CN106656930B (en) | 2015-11-02 | 2015-11-02 | A kind of method, apparatus and communication system for browser access IMS network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656930A CN106656930A (en) | 2017-05-10 |
CN106656930B true CN106656930B (en) | 2019-12-03 |
Family
ID=58810747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510731614.1A Active CN106656930B (en) | 2015-11-02 | 2015-11-02 | A kind of method, apparatus and communication system for browser access IMS network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656930B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322514A (en) * | 2018-01-09 | 2018-07-24 | 安徽小马创意科技股份有限公司 | The research and development method of the self-defined hybrid technology of multi-path audio-frequency data based on WebRTC |
CN110149306B (en) * | 2019-04-02 | 2022-01-04 | 视联动力信息技术股份有限公司 | Media data processing method and device |
CN111200587A (en) * | 2019-11-29 | 2020-05-26 | 云深互联(北京)科技有限公司 | SDK construction method and system for software defined boundary function |
CN113949695A (en) * | 2020-06-29 | 2022-01-18 | 中兴通讯股份有限公司 | Method for accessing network, media gateway, electronic equipment and storage medium |
CN114422611A (en) * | 2022-01-18 | 2022-04-29 | 北京数码视讯技术有限公司 | Protocol conversion method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227788A (en) * | 2013-04-17 | 2013-07-31 | 广州市和声信息技术有限公司 | Method and system realizing communication between web-based application and SIP equipment |
WO2015035649A1 (en) * | 2013-09-16 | 2015-03-19 | 华为终端有限公司 | Method and system for network registry |
CN104869101A (en) * | 2014-02-21 | 2015-08-26 | 华为技术有限公司 | Channel establishing method and device |
CN104980395A (en) * | 2014-04-04 | 2015-10-14 | 中国电信股份有限公司 | Method and system for intercommunication between first system and second system, and media gateway |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9781167B2 (en) * | 2013-06-21 | 2017-10-03 | Verizon Patent And Licensing Inc. | WebRTC data channel facilitating IMS support of RCS features |
-
2015
- 2015-11-02 CN CN201510731614.1A patent/CN106656930B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227788A (en) * | 2013-04-17 | 2013-07-31 | 广州市和声信息技术有限公司 | Method and system realizing communication between web-based application and SIP equipment |
WO2015035649A1 (en) * | 2013-09-16 | 2015-03-19 | 华为终端有限公司 | Method and system for network registry |
CN104869101A (en) * | 2014-02-21 | 2015-08-26 | 华为技术有限公司 | Channel establishing method and device |
CN104980395A (en) * | 2014-04-04 | 2015-10-14 | 中国电信股份有限公司 | Method and system for intercommunication between first system and second system, and media gateway |
Non-Patent Citations (1)
Title |
---|
WebRTC和IMS网络媒体互通的设计与实现;赵国帅;《中国科技论文在线》;20131210;第1-7页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106656930A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656930B (en) | A kind of method, apparatus and communication system for browser access IMS network | |
CN104253742B (en) | Virtual WEB real-time Communication for Power gateway is with and related methods, system | |
CN104427296B (en) | The transmission method and device of Media Stream in video conference | |
CN103581712B (en) | Multi-protocol video playing method and system based on mobile terminal | |
WO2016150213A1 (en) | Data processing method in webpage-based real-time communication media and device utilizing same | |
Ng et al. | A P2P-MCU approach to multi-party video conference with WebRTC | |
EP2856727B1 (en) | Methods and apparatus for media transmission in telecommunications networks | |
CN107682657A (en) | A kind of multi-person speech video call method and system based on WebRTC | |
US20170054764A1 (en) | Communications methods, apparatus and systems for conserving media resource function resources | |
JP2009522830A5 (en) | ||
CN109327435B (en) | Media resource acquisition method and device and gateway equipment | |
CN103348657B (en) | Flow media playing method, equipment and system | |
JP2011501304A (en) | Method and apparatus for acquiring media description information of IPTV service | |
CN102215276A (en) | Video monitoring system and method of media traverse of network address translation equipment | |
WO2015180570A1 (en) | Data channel establishment method and communications device | |
US20170019437A1 (en) | Conference reconstruction in sip networks | |
US9191427B2 (en) | Interworking between H.320/H.324 and SIP | |
CN115334273A (en) | Protocol conversion audio and video communication method and system | |
CN106464697A (en) | Method for establishing a communication connection which is suitable for transmitting media streams between a first RTC client and a second RTC client | |
CN107040458B (en) | Method and system for realizing intercommunication of video conference | |
CN104980398B (en) | Message distributing method, system and signalling relay equipment between browser and IMS | |
CN109361671A (en) | A kind of streaming media framework method based on Session Initiation Protocol | |
CN104994067B (en) | SIP network accesses the system and method for RTSP monitoring networks | |
WO2013170812A1 (en) | Transmission method for media data stream and thin client | |
CN103457938B (en) | Route calling method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |