CN103297445A - Web terminal communication method and system based on IP multimedia network - Google Patents

Web terminal communication method and system based on IP multimedia network Download PDF

Info

Publication number
CN103297445A
CN103297445A CN2012100421622A CN201210042162A CN103297445A CN 103297445 A CN103297445 A CN 103297445A CN 2012100421622 A CN2012100421622 A CN 2012100421622A CN 201210042162 A CN201210042162 A CN 201210042162A CN 103297445 A CN103297445 A CN 103297445A
Authority
CN
China
Prior art keywords
protocol
message
http
web
session
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.)
Granted
Application number
CN2012100421622A
Other languages
Chinese (zh)
Other versions
CN103297445B (en
Inventor
乐利锋
冯恺
邓灵莉
彭晋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210042162.2A priority Critical patent/CN103297445B/en
Publication of CN103297445A publication Critical patent/CN103297445A/en
Application granted granted Critical
Publication of CN103297445B publication Critical patent/CN103297445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a WEB terminal communication method based on an IP network multimedia network. The Web terminal communication method based on the IP multimedia network comprises the following steps that HTTP connection is built between a calling side WEB terminal and a calling side protocol adaptive gateway; the text information or conversion establishing request information of the HTTP or the Web socket protocol is transmitted to the protocol adaptive gateway; protocol conversion is conducted on the text information or the conversation establishing request information of the HTTP or the Web socket protocol format by the protocol adaptive gateway; the converted text information or the conversation establishing request information of the SIP protocol format is transmitted to an IP multimedia network; request information is established by the IP multimedia network based on the text information or the conversation establishing request information based on the SIP protocol format and then subsequent instant messaging business or multimedia conversion business is conducted. The Web terminal communication method and system based on the IP multimedia network carries out mutual communication based on the HTTP protocol or the Web socket protocol format, reduces request limit of the WEB terminal to a browser, and has the advantages of penetrating the firewall of an enterprise. In addition, the invention further discloses a communication system, a protocol adaptive gateway and a terminal.

Description

A kind of Web terminal communicating method and system based on the IP multi-media network
Technical field
The present invention relates to a kind of communication means and system, relate in particular to a kind of WEB terminal communicating method, system based on the IP multi-media network.
Background technology
The G3 of China Mobile conversation is that the voice call of 139 communities of China Mobile is used, and is based on voice and video communication product that the CM-IMS of China Mobile (China mobile-IP Multimedia System) provides towards the personal mobile phone user of China Mobile.
Be divided into two kinds of versions of client and webpage at present, the webpage version depends on 139 communities, and the user uses the G3 session services in 139 communities, need satisfy following condition:
1) computer is equipped with sound card, and correctly related driver programs is installed;
2) user computer is equipped with the browser that uses the IE kernel, and the kernel version is more than IE6;
3) user uses the G3 session services need download and install G3 conversation plug-in unit first.
Wherein, carry the Session Initiation Protocol stack in the G3 conversation plug-in unit, the user can insert the CM-IMS network by this conversation plug-in unit.The system architecture of webpage version G3 conversation as shown in Figure 1, as shown in Figure 1, Web client and the pc client version architecture of described G3 conversation are similar, the G3 of Web version converses and is equivalent to the pc client of a scaled-down version.Because carry complete Session Initiation Protocol stack, so identical with pc client at its interaction flow of signaling aspect.
Wherein, the related service of G3 conversation is mainly realized by the G3 service server (G3AS) that the each province independently disposes, G3AS provides user log-in authentication, voice call, the user contact management, functions such as accounts information management and marketing message propelling movement are the most important function entities in the G3 conversation architectural framework.
Because present most of enterprises all exist enterprise firewall, and some fire compartment wall limits certain port, and then under some network environment, the user can't use the G3 conversation.
And, along with the continuous development of browser and Web application technology in recent years, compatibility and safety problem that browser plug-in brings also become increasingly conspicuous, because when the user uses the G3 session services, must download and the relevant plug-in unit of installation, because the installation of plug-in unit may cause the security breaches of browser, so part virus killing or computer control software can stop the installation of some plug-in units, thereby have influence on user's further operation.
And, have complete Session Initiation Protocol stack in the described G3 conversation plug-in unit, influenced the size of plug-in unit to a certain extent, strengthened the burden of browser, the user who has influenced the G3 conversation experiences.
Summary of the invention
The present invention is directed to the shortcoming of existing G3 conversation, a kind of WEB terminal communicating method based on IP multimedia networking is provided, this method has solved existing WEB terminal can't pass through the big and technical problem bigger to the browser load of enterprise firewall, volume.
Wherein, the invention provides a kind of WEB terminal communicating method based on the IP multi-media network, comprising:
A, Calling Side WEB terminal are set up HTTP with Calling Side protocol adaptation gateway and are connected;
Request message is set up in the text message of HTTP or Web socket protocol format or session passed to described protocol adaptation gateway;
B, described protocol adaptation gateway set up request message to the text message of described HTTP or Web socket protocol format or session and carry out protocol conversion;
The text message or the session that convert thereof into the Session Initiation Protocol form are set up request message and are sent to the IP multi-media network;
C, IP multi-media network set up request message based on the text message of described Session Initiation Protocol form or session and carry out follow-up instant messaging or multimedia conversation business.
Wherein, preferably, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
Wherein, preferably, among the step C, described IP multi-media network carries out follow-up instant messaging based on the text message of described Session Initiation Protocol form, comprising:
The IP multi-media network pushes to callee side protocol adaptation gateway with the text message of described Session Initiation Protocol form;
Described protocol adaptation gateway is received the text message request of obtaining that callee side WEB terminal utilizes HTTP or Web socket agreement poll to initiate;
The text message of described Session Initiation Protocol form is converted to the form of HTTP or Web socket agreement and sends to callee side WEB terminal.
Wherein, preferably, among the step C, described IP multi-media network is set up solicited message based on the session of described Session Initiation Protocol form and is carried out follow-up multimedia conversation business, comprising:
The IP multi-media network is set up solicited message with the session of described Session Initiation Protocol form and is pushed to callee side protocol adaptation gateway;
Described protocol adaptation gateway utilizes HTTP or Web socket agreement poll to initiate to obtain after session sets up request getting access to callee side WEB terminal;
The session that the text message of described Session Initiation Protocol form is converted to HTTP or Web socket agreement is set up request message and is sent to callee side WEB terminal;
Callee side WEB terminal is set up response message to the session that callee side protocol adaptation gateway returns HTTP or Web socket agreement;
Described protocol adaptation gateway is set up response message to the session of described HTTP or Web socket protocol format and is converted the Session Initiation Protocol form to and be sent to the IP multi-media network;
The IP multi-media network is set up the Multimedia session that response message sets up caller WEB terminal and called WEB terminal by Calling Side protocol adaptation gateway based on the session of described Session Initiation Protocol form and is connected.
Wherein, preferably, before the steps A, also comprise:
Real time communication WEB server pushes the log-on webpage interface to the WEB terminal;
Reception is also verified the account information that the user imports at described log-on webpage interface by described WEB terminal, and returns the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
The present invention has taked after the such scheme, and the WEB terminal does not need to send the function of Session Initiation Protocol, therefore, has reduced existing WEB terminal for the restriction of browser with to the safety problem of system; And, because the present invention can carry out instant messaging or multimedia conversation business based on http protocol or Web socket agreement that the WEB terminal is initiated, have the good advantage of passing through enterprise firewall; And, because the WEB terminal part need send the Session Initiation Protocol stack, also reduced big, bigger to the browser load shortcoming of existing WEB terminal volume.
In addition, the present invention provides a kind of protocol adaptation gateway again, comprising:
The end message receiving element is used for obtaining the HTTP of WEB terminal transmission or the message of Web socket protocol format;
Conversion unit of protocol is for the message that the message conversion of above-mentioned HTTP form or Web socket protocol format is become the Session Initiation Protocol form;
Transmitting element is used for the message of described Session Initiation Protocol form is passed to the IP multi-media network.
Wherein, preferably, also comprise: network information receiving element, for the message of the Session Initiation Protocol form that obtains the transmission of IP multi-media network;
Described end message receiving element also is used for obtaining the HTTP of WEB terminal transmission or the message of Web socket protocol format is obtained request;
Described conversion unit of protocol is for the message that the message conversion of above-mentioned Session Initiation Protocol form is become HTTP form or Web socket protocol format;
Described transmitting element is used for the message of described HTTP form or Web socket protocol format is passed to the WEB terminal.
Wherein, preferably, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
Wherein, preferably, described message is that request message is set up in text message or session or response message is set up in session.
Wherein, the disclosed protocol adaptation gateway of the application, the Session Initiation Protocol that can send WEB terminal and IP multi-media network or HTTP or WEB socket protocol message carry out changing between the agreement, so that the WEB terminal can be carried out corresponding instant messaging or medium conversation by http protocol or Web socket agreement.
Wherein, according to one object of the present invention, the invention provides a kind of WEB terminal, comprising:
Message generation unit is used for setting up the message that request message generates HTTP or Web socket protocol format according to text message or session;
Information transmitting unit is used for that request message is set up in the text message of described HTTP or Web socket protocol format or session and sends to the protocol adaptation gateway.
Wherein, preferably, described information transmitting unit also is used for initiating to obtain text message or session by HTTP or Web socket agreement to the protocol adaptation gateway and sets up the message of request message and obtain request;
And, also comprise information receiving unit, be used for obtaining HTTP that the protocol adaptation gateway unit returns or text message or the session of Web socket protocol format and set up request message.
Wherein, preferably, also comprise:
The session response unit is used for setting up request message generation session according to described session and sets up response message;
Described message generation unit also is used for the message that response message converts HTTP or Web socket protocol format to is set up in described session;
Described information transmitting unit is used for that response message is set up in the session of described HTTP or Web socket protocol format and sends to the protocol adaptation gateway.
Wherein, preferably, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
Wherein, described WEB terminal does not need to send the function of Session Initiation Protocol, therefore, has reduced existing WEB terminal for the restriction of browser with to the safety problem of system, and, also reduced big, bigger to the browser load shortcoming of existing WEB terminal volume.
Wherein, the present invention also provides a kind of real time communication WEB server based on the IP multi-media network, comprising: the interface push unit is used for pushing the log-on webpage interface to the WEB terminal;
Information acquisition unit is used for receiving and verifying the account information that the user imports at described log-on webpage interface by described WEB terminal;
The information response unit is used for returning the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
Wherein, described real time communication WEB server is used for user's account is controlled and the address administration of protocol adaptation gateway, and thus, it can reduce communication network for the bigger shortcoming of G3AS load.
In addition, the present invention also provides a kind of WEB Terminal communication system based on the IP multi-media network, comprises IP multi-media network and WEB terminal, and wherein, described WEB terminal comprises above-mentioned WEB terminal; And, comprise above-mentioned protocol adaptation gateway and real time communication WEB server in the described IP multi-media network.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Description of drawings
Below in conjunction with accompanying drawing the present invention is described in detail, so that above-mentioned advantage of the present invention is clearer and more definite.
Fig. 1 is the schematic diagram of WEB Terminal communication system in the prior art;
Fig. 2 is the network architecture schematic diagram of the WEB Terminal communication system of the embodiment of the invention;
Fig. 3 is the architecture schematic diagram of the WEB Terminal communication system of the embodiment of the invention;
Fig. 4 is the structural representation of the protocol adaptation gateway unit of one embodiment of the invention;
Fig. 5 is the structural representation of the real-time WEB communication server of one embodiment of the invention;
Fig. 6 is the structural representation of the WEB terminal of one embodiment of the invention;
Fig. 7 is the schematic diagram of WEB terminal communicating method of the present invention;
Fig. 8 is the schematic flow sheet of new user's registration of the embodiment of the invention;
Fig. 9 is the schematic flow sheet that the WEB terminal of the embodiment of the invention is carried out the method for instant textcommunication;
Figure 10 is the schematic flow sheet that the WEB terminal of the embodiment of the invention is carried out the Multimedia session method for communicating;
Figure 11 is the schematic flow sheet of registration of the WEB terminal of the embodiment of the invention.
Embodiment
System embodiment one:
System to the application describes below in conjunction with the drawings and specific embodiments;
Wherein, Fig. 2 is the network architecture schematic diagram of Web Terminal communication system of the present invention;
Fig. 3 is the structural representation that the present invention is based on the WEB Terminal communication system;
As shown in Figures 2 and 3, described WEB Terminal communication system comprises IP multi-media network and WEB terminal, and wherein, described IP multi-media network is based on CM-IMS network (China mobile-IP Multi-media System).
Wherein, comprise existing SBC network element in the described IP multi-media network, the G3AS network element (replaces with the PGM server generation among the figure, PGM=Presence, Group Management, IM, present business, group and list management and instant messaging), and HSS network element, the I/S-CSCF network element, and, from Fig. 2, it can also be seen that, in the IP multi-media network in the present embodiment, also comprise: protocol adaptation gateway PA-GW (Protocol adapter-gateway) and real-time WEB server RWS (Real-time Web server), WEB terminal (No-SIP) and WEB terminal (SIP), wherein, WEB terminal (SIP) is conversed with flow process of the prior art by the IP multi-media network to be the same, not to be elaborated at this.
Wherein, according to present embodiment, described WEB terminal (No-SIP), it is the WEB terminal that runs on the browser of not supporting Session Initiation Protocol, it comprises the function of initiating and stopping session, reception and transmission message, specifically, described WEB terminal can generate the information and sending of HTTP or Web socket protocol format and give the protocol adaptation gateway, and by means of communicating between the WEB terminal (SIP) of protocol adaptation gateway and IP multi-media network and opposite side or the WEB terminal (NO-SIP).
Specifically, described protocol adaptation gateway unit (PA-GW) is used for obtaining the http protocol form HTTP of WEB terminal transmission or the business request information of Web socket protocol format; The perhaps Session Initiation Protocol message that sends of IP multi-media network, and business request information and the Session Initiation Protocol message of above-mentioned HTTP or Web socket protocol format carried out protocol conversion and transfer.
Described real time communication WEB server is used for the WEB terminal is carried out user rs authentication, and returns the access IP address information of described protocol adaptation gateway after being proved to be successful.
Wherein, Fig. 4 is the structural representation of the protocol adaptation gateway unit of one embodiment of the invention; As shown in Figure 4, described protocol adaptation gateway comprises:
The end message receiving element is used for obtaining the HTTP of WEB terminal transmission or the message of Web socket protocol format;
Conversion unit of protocol is for the message that the message conversion of above-mentioned HTTP form or Web socket protocol format is become the Session Initiation Protocol form;
Transmitting element is used for the message of described Session Initiation Protocol form is passed to the IP multi-media network;
Network information receiving element is for the message of the Session Initiation Protocol form that obtains the transmission of IP multi-media network;
Wherein, described end message receiving element also is used for obtaining the HTTP of WEB terminal transmission or the message of Web socket protocol format is obtained request;
Described conversion unit of protocol is for the message that the message conversion of above-mentioned Session Initiation Protocol form is become HTTP form or Web socket protocol format;
Described transmitting element is used for the message of described HTTP form or Web socket protocol format is passed to the WEB terminal.
In the preferred embodiment, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
Fig. 5 is the structural representation of the real-time WEB communication server of one embodiment of the invention; As shown in Figure 5, described real time communication WEB server comprises:
The interface push unit is used for pushing the log-on webpage interface to the WEB terminal;
Information acquisition unit is used for receiving and verifying the account information that the user imports at described log-on webpage interface by described WEB terminal;
The information response unit is used for returning the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
Specifically, described real time communication WEB server can push the client terminal web page content to the Web terminal, comprises the needed function interface of real time communication (such as dial etc.) and other optional information (as community information, advertisement etc.) in the webpage.
And the address information of also preserving the protocol adaptation gateway unit in the described real time communication WEB server is returned the IP address information of protocol adaptation gateway unit to the user when user logins success.
Wherein, Fig. 6 is the structural representation of the WEB terminal of one embodiment of the invention; As shown in Figure 6, described WEB terminal comprises:
Message generation unit is used for text message or session are set up the message that request message converts HTTP or Web socket protocol format to;
Information transmitting unit is used for that request message is set up in the text message of described HTTP or Web socket protocol format or session and sends to the protocol adaptation gateway.
Wherein, described information transmitting unit also is used for initiating to obtain text message or session by HTTP or Web socket agreement to the protocol adaptation gateway and sets up the message of request message and obtain request;
And, also comprise information receiving unit, be used for obtaining HTTP that the protocol adaptation gateway unit returns or text message or the session of Web socket protocol format and set up request message.
And described WEB terminal also comprises:
The session response unit is used for setting up request message generation session according to described session and sets up response message;
Described message generation unit also is used for the message that response message converts HTTP or Web socket protocol format to is set up in described session;
Described information transmitting unit is used for that response message is set up in the session of described HTTP or Web socket protocol format and sends to the protocol adaptation gateway.
Wherein, among the application, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
The present invention has taked after the such scheme, and the WEB terminal does not need to send the function of Session Initiation Protocol, therefore, has reduced existing WEB terminal for the restriction of browser with to the safety problem of system; And, because the present invention can carry out instant messaging or multimedia conversation business based on http protocol or Web socket agreement that the WEB terminal is initiated, have the good advantage of passing through enterprise firewall; And, because the WEB terminal part need send the Session Initiation Protocol stack, also reduced big, bigger to the browser load shortcoming of existing WEB terminal volume.
And, described Web Terminal communication system utilizes the otherness of the consistency shielded communication terminal of Web application, can move at all terminal equipments that browser is installed, the user only need just can use identical interface to communicate by network, user access network also no longer needs to buy independent terminal, and, described real time communication WEB server, it can reduce communication network for the bigger shortcoming of G3AS load.
Method embodiment one:
Be elaborated below in conjunction with the communication means of specific embodiment to the application; Fig. 7 is the schematic diagram of WEB terminal communicating method of the present invention;
As shown in Figure 6, described method mainly comprises the following steps:
S101: Calling Side WEB terminal is set up HTTP with Calling Side protocol adaptation gateway and is connected;
S102: request message is set up in the text message of HTTP or Web socket protocol format or session passed to described protocol adaptation gateway;
S103: described protocol adaptation gateway is set up request message to the text message of described HTTP or Web socket protocol format or session and is carried out protocol conversion;
S104: the text message or the session that convert thereof into the Session Initiation Protocol form are set up request message and are sent to the IP multi-media network;
The S105:IP multi-media network is set up request message based on the text message of described Session Initiation Protocol form or session and is carried out follow-up instant messaging or multimedia conversation business.
Wherein, in the preferred embodiment, what described http protocol was chosen is XCAP agreement or RTPover http protocol or http protocol.
Wherein, in one embodiment, what described Calling Side sent is the text message of HTTP or Web socket protocol format, and thus, among the S105, described IP multi-media network carries out follow-up instant messaging based on the text message of described Session Initiation Protocol form, comprising:
The IP multi-media network pushes to callee side protocol adaptation gateway with the text message of described Session Initiation Protocol form;
Described protocol adaptation gateway receives that callee side WEB terminal utilizes that HTTP or Web socket agreement poll initiate obtain the text message request after;
The text message of described Session Initiation Protocol form is converted to the form of HTTP or Web socket agreement and sends to callee side WEB terminal.
Wherein, in one embodiment, described Calling Side WEB terminal sends is that request message is set up in the session of HTTP or Web socket protocol format, wherein, among the described step S105, the IP multi-media network is set up solicited message based on the session of described Session Initiation Protocol form and is carried out follow-up multimedia conversation business, comprising:
The IP multi-media network is set up solicited message with the session of described Session Initiation Protocol form and is pushed to callee side protocol adaptation gateway;
Described protocol adaptation gateway utilizes HTTP or Web socket agreement poll to initiate to obtain after session sets up request getting access to callee side WEB terminal;
The session that the text message of described Session Initiation Protocol form is converted to HTTP or Web socket agreement is set up request message and is sent to callee side WEB terminal;
Callee side WEB terminal is set up response message to the session that callee side protocol adaptation gateway returns HTTP or Web socket agreement;
Described protocol adaptation gateway is set up response message to the session of described HTTP or Web socket protocol format and is converted the Session Initiation Protocol form to and be sent to the IP multi-media network;
The IP multi-media network is set up the Multimedia session that response message sets up caller WEB terminal and called WEB terminal by Calling Side protocol adaptation gateway based on the session of described Session Initiation Protocol form and is connected.
And, in order to realize the account information control to the user, in step S101, also comprise:
Real time communication WEB server pushes the log-on webpage interface to the WEB terminal;
Reception is also verified the account information that the user imports at described log-on webpage interface by described WEB terminal, and returns the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
The present invention has taked after the technique scheme, can communicate based on HTTP or Web socket protocol format, and above-mentioned business request information has the advantages that to penetrate enterprise firewall, and then has overcome the various restrictions of WEB terminal communicating method of the prior art; And, because the WEB terminal only need send the business request information of http protocol form, reduced big and download and have the protocol stack client to the safety issue of operating system to the browser load.
Method embodiment two:
Wherein, the present invention is described in detail in conjunction with the embodiments further, and wherein, Fig. 9 is the schematic flow sheet that the WEB terminal of the embodiment of the invention is carried out the method for instant textcommunication;
As described in Figure 9, described method specifically comprises following step:
Step S91: Calling Side WEB terminal (NO-SIP) is set up HTTP with Calling Side protocol adaptation gateway and is connected; And initiate the HTTPPOST request of text message to Calling Side protocol adaptation gateway by http protocol;
Step S92: after the protocol adaptation gateway is received this request, it is carried out the affirmation message that protocol conversion becomes the Session Initiation Protocol form and returns to the 200OK of Calling Side WEB terminal http protocol form;
Step S93: the protocol adaptation gateway is given described IP multi-media network with the text message of described Session Initiation Protocol form, carries out follow-up communication by described IP multi-media network, wherein, comprising:
S94~S99:IP multi-media network is passed to the PGM network element with the MESSAGE message of described Session Initiation Protocol form; The PGM network element returns the affirmation message of Session Initiation Protocol; Above-mentioned flow process belongs to prior art, be not described in detail at this, and after above-mentioned flow process was finished, S96: described IP multi-media network returns to Calling Side protocol adaptation gateway with described through the message authentication message after confirming;
S97: the message that Calling Side WEB terminal is initiated the http protocol form to the protocol adaptation gateway is obtained request; S98: above-mentioned message authentication message returns to the WEB terminal.
Simultaneously, S99: will give the IP multi-media network through the MESSAGE message of the Session Initiation Protocol form after the PGM server process;
At callee side, if callee side WEB terminal belongs to the terminal with Session Initiation Protocol stack, then its handling process is still similar with prior art; Do not have the WEB of Session Initiation Protocol stack terminal, then step S910 if callee side WEB terminal also belongs to: described IP multi-media network sends to the MESSAGE message of described Session Initiation Protocol form the protocol adaptation gateway of callee side;
Wherein, the utilization of callee side WEB terminal is carried out poll in certain time interval, and for example, S912: callee side WEB terminal is initiated the request of obtaining message of http protocol form to callee side protocol adaptation gateway;
S913: described callee side protocol adaptation gateway is inquired about and described service message is sent to callee side WEB terminal, and then finishes the instant text message communications business between above-mentioned Calling Side WEB terminal and the callee side WEB terminal.
And what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.Simultaneously, described http protocol also can be taked the message of WEB SOCKET form as required, and its processing procedure and aforementioned process are similar, and wherein, text message described herein comprises text, image, does not describe in detail at this.
Wherein, Figure 10 is the schematic diagram that carries out the communication means of multimedia conversation between the WEB terminal of the embodiment of the invention; As shown in figure 10, described method mainly comprises following step:
S101~S107: Calling Side WEB terminal sends session via Calling Side protocol adaptation gateway and IP multi-media network to callee's side WEB terminal and sets up request message, wherein, carries media negotiation parameter offer/proposal in the request message;
Specifically, carry out the transmission that request message is set up in session by http protocol between Calling Side WEB terminal and the Calling Side protocol adaptation gateway; Calling Side protocol adaptation gateway is set up the session that request message converts Session Initiation Protocol to the session of described http protocol and is set up request message, and passes to the IP multi-media network, and carries out corresponding service control by described IP multi-media network;
S108~S113: called WEB terminal is returned media negotiation by callee side protocol adaptation gateway and grid cell to Calling Side WEB terminal and is answered answer/proposal;
Specifically, comprise the transmission that media negotiation is answered the response message of parameter by http protocol between callee side WEB terminal and the callee side protocol adaptation gateway; Callee side protocol adaptation gateway is set up the session that response message converts Session Initiation Protocol to the session of described http protocol and is set up response message, and passes to the IP multi-media network, and passes to Calling Side protocol adaptation gateway by described IP multi-media network;
S114~S135: caller WEB terminal and called WEB terminal are finished resource reservation and are confirmed mutually;
S116: called Web terminal notifying user of incoming call; S137~S150: called WEB terminal is to the ring of caller Web terminal check;
S151~S153: called WEB terminal check user off-hook; S154~S163: both sides confirm that session sets up successfully, carry out multimedia communication.
Wherein, the present invention is after having taked technique scheme, on the basis of embodiment one further refinement the application's technical scheme, and, present embodiment can communicate based on HTTP or Web socket protocol format, and above-mentioned business request information has the advantages that to penetrate enterprise firewall, and then has overcome the various restrictions of WEB terminal communicating method of the prior art.
Method embodiment three:
Wherein, in order to finish the application's communication service, need carry out user and WEB endpoint registration in advance.Wherein, Fig. 7 is the schematic flow sheet of new user's registration of the embodiment of the invention; The 11st, the schematic flow sheet of the registration of the WEB terminal of the embodiment of the invention;
As shown in Figure 7, described new user's register flow path comprises the following steps:
S71: in the WEB end side, the domain name of input real time communication WEB server (RWS);
S72: by DNS name resolution, get access to the IP address of described real time communication WEB server;
S73~S74:WEB terminal is initiated the request of http protocol to real time communication WEB server, gets access to the web interface that real time communication WEB server returns;
S75: the user submits the usemame/password (wherein, alternatively, the user can submit the IMS username and password of binding simultaneously to) of visit real time communication WEB server to simultaneously at the function interface of described web interface selection establishment account;
S76: above-mentioned information reports real time communication WEB server by HTTP, uniqueness and the Cipher Strength of described real time communication WEB server authentication user name, and after passing through, preserve username and password (the IMS username and password that also comprises alternatively, binding) within it in the database of portion;
S78: real time communication WEB server returns the interface of succeeding in registration, and at this moment, new user's register flow path is finished.
Wherein, as shown in figure 11, the register flow path of described WEB terminal (No-SIP) is as follows:
S81~S89:WEB terminal connects by protocol adaptation gateway and network communication unit (for example, the IP multi-media network), initiates the registration request;
The IP multi-media network provides the digest calculations result of username and password according to the challenge information that returns to WEB demanding terminal WEB terminal;
The WEB terminal will send to the IP multi-media network by the protocol adaptation gateway through the username and password after the digest calculations;
S810~S811: after the network communication unit authentication is passed through, initiate the third-party registration request to PGM;
S812:PGM returns to the message that succeeds in registration of protocol adaptation gateway by Session Initiation Protocol;
S813~S814:WEB terminal gets access to the described message that succeeds in registration at PGM, for example, by the WEB terminal poll between the protocol adaptation gateway is obtained above-mentioned information.
Pass through said process, finish the user in the WEB communication server and PGM server and the registration business of terminal to specific user and WEB terminal, and, by above-mentioned control, described WEB terminal has auxiliary described PGM server and carries out the function of user management, and then has reduced whole system for the bigger technical disadvantages of PGM server load.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: read-only memory (Read Only Memory, abbreviation ROM), various media that can be program code stored such as random access memory (Random Acess Memory is called for short RAM), magnetic disc, terminal phone software or CD.
It should be noted that at last: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment the present invention is had been described in detail, for a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. WEB terminal communicating method based on the IP multi-media network comprises:
A, Calling Side WEB terminal are set up HTTP with Calling Side protocol adaptation gateway and are connected;
Request message is set up in the text message of HTTP or Web socket protocol format or session passed to described protocol adaptation gateway;
B, described protocol adaptation gateway set up request message to the text message of described HTTP or Web socket protocol format or session and carry out protocol conversion;
The text message or the session that convert thereof into the Session Initiation Protocol form are set up request message and are sent to the IP multi-media network;
C, described IP multi-media network set up request message based on the text message of described Session Initiation Protocol form or session and carry out follow-up instant messaging or multimedia conversation business.
2. the WEB terminal communicating method based on the IP multi-media network according to claim 1 is characterized in that, what described http protocol was chosen is XCAP agreement or RTP over http protocol or common http protocol.
3. the WEB terminal communicating method based on the IP multi-media network according to claim 1 is characterized in that, among the step C, described IP multi-media network carries out follow-up instant messaging based on the text message of described Session Initiation Protocol form, comprising:
The IP multi-media network pushes to callee side protocol adaptation gateway with the text message of described Session Initiation Protocol form;
Callee side protocol adaptation gateway is received the text message request of obtaining that callee side WEB terminal utilizes HTTP or Web socket agreement poll to initiate;
The text message of described Session Initiation Protocol form is converted to the form of HTTP or Web socket agreement and sends to callee side WEB terminal.
4. the WEB terminal communicating method based on the IP multi-media network according to claim 1 is characterized in that, among the step C, described IP multi-media network is set up solicited message based on the session of described Session Initiation Protocol form and carried out follow-up multimedia conversation business, comprising:
The IP multi-media network is set up solicited message with the session of described Session Initiation Protocol form and is pushed to callee side protocol adaptation gateway;
Callee side protocol adaptation gateway utilizes HTTP or Websocket agreement poll to initiate to obtain session to set up request getting access to callee side WEB terminal;
The session that the text message of described Session Initiation Protocol form is converted to HTTP or Web socket agreement is set up request message and is sent to callee side WEB terminal;
Callee side WEB terminal is set up response message to the session that callee side protocol adaptation gateway returns HTTP or Web socket agreement;
Described protocol adaptation gateway is set up response message to the session of described HTTP or Web socket protocol format and is converted the Session Initiation Protocol form to and be sent to the IP multi-media network;
The IP multi-media network is set up response message with the session of described Session Initiation Protocol form and is given caller WEB terminal and set up the Multimedia session connection by Calling Side protocol adaptation gateway forwards.
5. the WEB terminal communicating method based on the IP multi-media network according to claim 1 is characterized in that, before the steps A, also comprises:
Real time communication WEB server pushes the log-on webpage interface to the WEB terminal;
Reception is also verified the account information that the user imports at described log-on webpage interface by described WEB terminal, and returns the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
6. protocol adaptation gateway comprises:
The end message receiving element is used for obtaining the HTTP of WEB terminal transmission or the message of Web socket protocol format;
Conversion unit of protocol is for the message that the message conversion of above-mentioned HTTP form or Web socket protocol format is become the Session Initiation Protocol form;
Transmitting element is used for the message of described Session Initiation Protocol form is passed to the IP multi-media network.
7. protocol adaptation gateway according to claim 6 is characterized in that, also comprises: network information receiving element, for the message of the Session Initiation Protocol form that obtains the transmission of IP multi-media network;
Described end message receiving element also is used for obtaining the HTTP of WEB terminal transmission or the message of Websocket protocol format is obtained the message of request;
Described conversion unit of protocol is for the message that the message conversion of above-mentioned Session Initiation Protocol form is become HTTP form or Web socket protocol format;
Described transmitting element is used for the message of described HTTP form or Web socket protocol format is passed to the WEB terminal.
8. protocol adaptation gateway according to claim 6 is characterized in that, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
9. protocol adaptation gateway according to claim 6 is characterized in that, described message is that request message is set up in text message or session or response message is set up in session.
10. WEB terminal comprises:
Message generation unit is used for setting up text message or the session that request message generates HTTP or Web socket protocol format according to text message or session and sets up request message;
Information transmitting unit is used for the message of described HTTP or Web socket protocol format is sent to the protocol adaptation gateway.
11. WEB terminal according to claim 10 is characterized in that, described information transmitting unit also is used for initiating to obtain text message or session by HTTP or Web socket agreement to the protocol adaptation gateway and sets up the message of request message and obtain request message;
And, also comprise information receiving unit, be used for obtaining HTTP that the protocol adaptation gateway unit returns or text message or the session of Web socket protocol format and set up request message.
12. WEB terminal according to claim 11 is characterized in that, also comprises:
The session response unit is used for setting up request message generation session according to described session and sets up response message;
Described message generation unit also is used for the message that response message converts HTTP or Websocket protocol format to is set up in described session;
Described information transmitting unit is used for that response message is set up in the session of described HTTP or Web socket protocol format and sends to the protocol adaptation gateway.
13. protocol adaptation gateway according to claim 10 is characterized in that, what described http protocol was chosen is XCAP agreement or RTP over http protocol or http protocol.
14. the real time communication WEB server based on the IP multi-media network comprises:
The interface push unit is used for pushing the log-on webpage interface to the WEB terminal;
Information acquisition unit is used for receiving and verifying the account information that the user imports at described log-on webpage interface by described WEB terminal;
The information response unit is used for returning the IP address information to the described protocol adaptation gateway of WEB terminal after described user account is proved to be successful.
15. the WEB Terminal communication system based on the IP multi-media network comprises IP multi-media network and WEB terminal, it is characterized in that, described WEB terminal comprises the arbitrary described WEB terminal of claim 10~13; And, comprise the arbitrary described protocol adaptation gateway of claim 6~9 and the described real time communication WEB server of claim 14 in the described IP multi-media network.
CN201210042162.2A 2012-02-22 2012-02-22 A kind of web terminal communication method and system based on IP multi-media networks Active CN103297445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210042162.2A CN103297445B (en) 2012-02-22 2012-02-22 A kind of web terminal communication method and system based on IP multi-media networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210042162.2A CN103297445B (en) 2012-02-22 2012-02-22 A kind of web terminal communication method and system based on IP multi-media networks

Publications (2)

Publication Number Publication Date
CN103297445A true CN103297445A (en) 2013-09-11
CN103297445B CN103297445B (en) 2017-06-20

Family

ID=49097765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210042162.2A Active CN103297445B (en) 2012-02-22 2012-02-22 A kind of web terminal communication method and system based on IP multi-media networks

Country Status (1)

Country Link
CN (1) CN103297445B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734936A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Instant message processing method, device and system
WO2015172454A1 (en) * 2014-05-13 2015-11-19 中兴通讯股份有限公司 Method and gateway for communication between browser and telecommunication network
CN105591879A (en) * 2014-11-07 2016-05-18 腾讯科技(深圳)有限公司 Data transmission method and apparatus
CN105634911A (en) * 2014-11-07 2016-06-01 腾讯科技(深圳)有限公司 Session establishing method and device
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser
CN108134816A (en) * 2016-12-01 2018-06-08 埃森哲环球解决方案有限公司 Access to the data on remote equipment
CN109831377A (en) * 2019-03-26 2019-05-31 安康鸿天科技股份有限公司 It is a kind of difference instant communication protocol and Session Initiation Protocol between intercommunication technology
CN109995734A (en) * 2017-12-30 2019-07-09 中国科学院沈阳计算技术研究所有限公司 A kind of communication means of the WebRTC based on Session Initiation Protocol
CN110661752A (en) * 2018-06-29 2020-01-07 广州弘度信息科技有限公司 Plug-in-free real-time video playing system and method
CN110995727A (en) * 2014-02-07 2020-04-10 甲骨文国际公司 Home agent for mobile cloud services
CN112751842A (en) * 2020-12-25 2021-05-04 广东南方新媒体科技有限公司 High-performance instant messaging method
CN112995674A (en) * 2021-05-20 2021-06-18 武汉中科通达高新技术股份有限公司 Media information transmission method, system and storage medium
CN114422611A (en) * 2022-01-18 2022-04-29 北京数码视讯技术有限公司 Protocol conversion method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163005A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 Client terminal management method of embedded type WEB network management
CN101483581A (en) * 2008-01-09 2009-07-15 华为技术有限公司 Method, system and device for non-SIP resource access
US20090245267A1 (en) * 2008-03-28 2009-10-01 Tatsuya Igarashi Gateway device, communication method and program
CN101978693A (en) * 2008-03-18 2011-02-16 三星电子株式会社 Method and apparatus for receiving notification
CN102347950A (en) * 2011-09-29 2012-02-08 中兴通讯股份有限公司 Method and system for telecommunication network to provide session services for internet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163005A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 Client terminal management method of embedded type WEB network management
CN101483581A (en) * 2008-01-09 2009-07-15 华为技术有限公司 Method, system and device for non-SIP resource access
CN101978693A (en) * 2008-03-18 2011-02-16 三星电子株式会社 Method and apparatus for receiving notification
US20090245267A1 (en) * 2008-03-28 2009-10-01 Tatsuya Igarashi Gateway device, communication method and program
CN102347950A (en) * 2011-09-29 2012-02-08 中兴通讯股份有限公司 Method and system for telecommunication network to provide session services for internet

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734936A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Instant message processing method, device and system
CN110995727B (en) * 2014-02-07 2022-03-01 甲骨文国际公司 Method and system for home agent of mobile cloud service
CN110995727A (en) * 2014-02-07 2020-04-10 甲骨文国际公司 Home agent for mobile cloud services
WO2015172454A1 (en) * 2014-05-13 2015-11-19 中兴通讯股份有限公司 Method and gateway for communication between browser and telecommunication network
CN105099897A (en) * 2014-05-13 2015-11-25 中兴通讯股份有限公司 Method of communication between browser and telecommunication network and gateway
CN105099897B (en) * 2014-05-13 2020-01-21 中兴通讯股份有限公司 Method and gateway for communication between browser and telecommunication network
US10348520B2 (en) 2014-05-13 2019-07-09 Zte Corporation Method and gateway for communication between browser and telecommunication network
CN105634911B (en) * 2014-11-07 2019-11-15 腾讯科技(深圳)有限公司 Session establishing method and device
CN105591879A (en) * 2014-11-07 2016-05-18 腾讯科技(深圳)有限公司 Data transmission method and apparatus
CN105634911A (en) * 2014-11-07 2016-06-01 腾讯科技(深圳)有限公司 Session establishing method and device
CN105591879B (en) * 2014-11-07 2019-09-06 腾讯科技(深圳)有限公司 Data transmission method and device
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser
CN108134816B (en) * 2016-12-01 2020-11-06 埃森哲环球解决方案有限公司 Access to data on remote device
CN108134816A (en) * 2016-12-01 2018-06-08 埃森哲环球解决方案有限公司 Access to the data on remote equipment
CN109995734A (en) * 2017-12-30 2019-07-09 中国科学院沈阳计算技术研究所有限公司 A kind of communication means of the WebRTC based on Session Initiation Protocol
CN110661752A (en) * 2018-06-29 2020-01-07 广州弘度信息科技有限公司 Plug-in-free real-time video playing system and method
CN109831377A (en) * 2019-03-26 2019-05-31 安康鸿天科技股份有限公司 It is a kind of difference instant communication protocol and Session Initiation Protocol between intercommunication technology
CN112751842A (en) * 2020-12-25 2021-05-04 广东南方新媒体科技有限公司 High-performance instant messaging method
CN112995674A (en) * 2021-05-20 2021-06-18 武汉中科通达高新技术股份有限公司 Media information transmission method, system and storage medium
CN112995674B (en) * 2021-05-20 2021-08-03 武汉中科通达高新技术股份有限公司 Media information transmission method, system and storage medium
CN114422611A (en) * 2022-01-18 2022-04-29 北京数码视讯技术有限公司 Protocol conversion method and device

Also Published As

Publication number Publication date
CN103297445B (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN103297445A (en) Web terminal communication method and system based on IP multimedia network
CN103227788B (en) Realize the method and system that Web page application program and SIP equipment carry out communicating
CN104813655B (en) The method of preview caller in videoconference session
CN104704795B (en) The method and system of virtual sip user agent is created by using the web browser with webRTC
EP2122922B1 (en) Remote control using instant messaging
CN103580986A (en) Real-time communication method, terminal equipment, real-time communication server and system
CN102025718B (en) SIP endpoint enhancer
CN101437036B (en) Document transmission method and system capable of supporting NAT/firewall traversing
WO2013044717A1 (en) Method and system for telecommunication network to provide session service to internet
CN101110791A (en) Method and system for implementing short message business bifurcation transmission in multimedia subsystem
CN105307144B (en) A kind of register method, method of calling, application server and network domain arrangement
EP4262320A1 (en) Call processing system and call processing method
EP2083547A1 (en) Improvements in or relating to communications
CN104641686A (en) Vvoip call transfer
KR20170048345A (en) System and method for enhancing user experience during interactive audio-visual communication
CN101815067A (en) Multimedia conference realization method and system
US9350695B2 (en) Method for transferring and storing CPM service message and service thereof
CN109995734A (en) A kind of communication means of the WebRTC based on Session Initiation Protocol
CN101741857A (en) Method and system for realizing SIP protocol-based intercommunication between set-top box and PC client end
CN100563219C (en) Realize the system and method for click to dial
CN101986600A (en) Multimedia conference authentication joining method and device
CN103618747B (en) A kind of method and system realizing SIP information service
CN101527641A (en) Realization method, control method and device for sub-conference in multimedia sub-system
CN1984132B (en) Method and terminal for processing session ability information
CN109257368A (en) A kind of conversational communication method for building up based on embedded device

Legal Events

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