[go: up one dir, main page]

CN103297445B - A kind of web terminal communication method and system based on IP multi-media networks - Google Patents

A kind of web terminal communication method and system based on IP multi-media networks Download PDF

Info

Publication number
CN103297445B
CN103297445B CN201210042162.2A CN201210042162A CN103297445B CN 103297445 B CN103297445 B CN 103297445B CN 201210042162 A CN201210042162 A CN 201210042162A CN 103297445 B CN103297445 B CN 103297445B
Authority
CN
China
Prior art keywords
protocol
web
http
web terminal
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210042162.2A
Other languages
Chinese (zh)
Other versions
CN103297445A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种基于IP多媒体网络的WEB终端通信方法,包括:A、主叫侧WEB终端与主叫侧协议适配网关建立HTTP连接;将HTTP或者Websocket协议格式的文本信息或者会话建立请求消息传递给所述协议适配网关;B、所述协议适配网关对所述HTTP或者Web socket协议格式的文本信息或者会话建立请求消息进行协议转换;将其转换成SIP协议格式的文本信息或者会话建立请求消息并发送至IP多媒体网络;C、IP多媒体网络基于所述SIP协议格式的文本信息或者会话建立请求消息进行后续即时消息业务或者多媒体会话业务。本发明基于HTTP协议或者Web socket协议格式进行互相通信,降低了WEB终端对浏览器的要求限制,并具有穿越企业防火墙的优点。此外,本发明还公开了一种通信系统、协议适配网关和终端。

The invention discloses a WEB terminal communication method based on an IP multimedia network, including: A. The WEB terminal on the calling side establishes an HTTP connection with the protocol adaptation gateway on the calling side; The message is delivered to the protocol adaptation gateway; B, the protocol adaptation gateway performs protocol conversion to the text information in the HTTP or Web socket protocol format or the session establishment request message; it is converted into the text information in the SIP protocol format or The session establishment request message is sent to the IP multimedia network; C, the IP multimedia network performs subsequent instant message service or multimedia session service based on the text information in the SIP protocol format or the session establishment request message. The invention communicates with each other based on the HTTP protocol or the Web socket protocol format, reduces the requirements and limitations of the WEB terminal on the browser, and has the advantage of passing through the enterprise firewall. In addition, the invention also discloses a communication system, a protocol adaptation gateway and a terminal.

Description

一种基于IP多媒体网络的Web终端通信方法和系统A Web terminal communication method and system based on IP multimedia network

技术领域technical field

本发明涉及一种通信方法和系统,尤其涉及一种基于IP多媒体网络的WEB终端通信方法、系统。The present invention relates to a communication method and system, in particular to a WEB terminal communication method and system based on an IP multimedia network.

背景技术Background technique

中国移动G3通话是中国移动139社区的语音通话应用,是基于中国移动CM-IMS(China mobile-IP Multimedia System)面向中国移动个人手机用户提供的语音及视频通信产品。China Mobile G3 call is a voice call application of China Mobile 139 community, and it is a voice and video communication product based on China Mobile CM-IMS (China mobile-IP Multimedia System) for China Mobile personal mobile phone users.

目前分为客户端和网页两种版本,网页版依附于139社区,用户在139社区使用G3通话服务,需要满足以下几个条件:Currently, there are two versions: client and web. The web version is attached to the 139 community. To use the G3 calling service in the 139 community, the following conditions must be met:

1)电脑安装有声卡,并正确安装相关驱动程序;1) The computer is equipped with a sound card, and the relevant driver is installed correctly;

2)用户电脑安装有使用IE内核的浏览器,且内核版本在IE6以上;2) The user's computer is installed with a browser using the IE kernel, and the kernel version is above IE6;

3)用户首次使用G3通话服务需要下载和安装G3通话插件。3) The user needs to download and install the G3 call plug-in when using the G3 call service for the first time.

其中,G3通话插件中自带有SIP协议栈,用户可通过该通话插件接入CM-IMS网络。网页版G3通话的系统架构如图1所示,如图1所示,所述G3通话的Web客户端与PC客户端版本基础架构类似,Web版的G3通话相当于一个精简版的PC客户端。因为自带有完整的SIP协议栈,所以在信令层面其交互流程与PC客户端相同。Among them, the G3 call plug-in has its own SIP protocol stack, and the user can access the CM-IMS network through the call plug-in. The system architecture of the web version of the G3 call is shown in Figure 1. As shown in Figure 1, the basic structure of the Web client of the G3 call is similar to that of the PC client version, and the G3 call of the Web version is equivalent to a simplified version of the PC client . Because it has a complete SIP protocol stack, its interaction process at the signaling level is the same as that of the PC client.

其中,G3通话的相关业务主要由各省独立部署的G3业务服务器(G3AS)实现,G3AS提供用户登录认证,语音通话,用户联系人管理,账户信息管理和营销信息推送等功能,是G3通话体系架构中的最重要的功能实体。Among them, G3 call-related services are mainly implemented by G3 service servers (G3AS) independently deployed in each province. G3AS provides functions such as user login authentication, voice calls, user contact management, account information management, and marketing information push. It is the G3 call system architecture The most important functional entities in .

由于目前大多数企业都存在着企业防火墙,而有些防火墙对某些端口进行了限制,进而在某些网络环境下,用户无法使用G3通话。Since most enterprises currently have corporate firewalls, and some firewalls restrict certain ports, and in some network environments, users cannot use G3 calls.

并且,随着近年来浏览器和Web应用技术的不断发展,浏览器插件带来的兼容和安全问题也日益突出,由于用户使用G3通话服务时,必须下载和安装相关插件,由于插件的安装可能会造成浏览器的安全漏洞,所以部分杀毒或电脑管理软件会阻止一些插件的安装,从而影响到用户的进一步操作。Moreover, with the continuous development of browsers and web application technologies in recent years, the compatibility and security issues brought about by browser plug-ins have become increasingly prominent. When users use G3 calling services, they must download and install related plug-ins, and the installation of plug-ins may It will cause a security hole in the browser, so some anti-virus or computer management software will prevent the installation of some plug-ins, thereby affecting the user's further operations.

而且,所述G3通话插件中带有完整的SIP协议栈,在一定程度上影响了插件的大小,加大了浏览器的负担,影响了G3通话的用户体验。Moreover, the G3 call plug-in has a complete SIP protocol stack, which affects the size of the plug-in to a certain extent, increases the burden on the browser, and affects the user experience of the G3 call.

发明内容Contents of the invention

本发明针对现有的G3通话的缺点,提供了一种基于IP多媒体网路的WEB终端通信方法,该方法解决了现有的WEB终端无法穿越企业防火墙、体积较大且对浏览器负载较大的技术问题。Aiming at the shortcomings of the existing G3 call, the present invention provides a WEB terminal communication method based on an IP multimedia network, which solves the problem that the existing WEB terminal cannot pass through the enterprise firewall, has a large volume, and has a large load on the browser technical issues.

其中,本发明提供了一种基于IP多媒体网络的WEB终端通信方法,包括:Wherein, the present invention provides a kind of WEB terminal communication method based on IP multimedia network, comprising:

A、主叫侧WEB终端与主叫侧协议适配网关建立HTTP连接;A. The WEB terminal on the calling side establishes an HTTP connection with the protocol adaptation gateway on the calling side;

将HTTP或者Web socket协议格式的文本信息或者会话建立请求消息传递给所述协议适配网关;Transmitting text information in HTTP or Web socket protocol format or a session establishment request message to the protocol adaptation gateway;

B、所述协议适配网关对所述HTTP或者Web socket协议格式的文本信息或者会话建立请求消息进行协议转换;B. The protocol adaptation gateway performs protocol conversion on the text information or the session establishment request message in the HTTP or Web socket protocol format;

将其转换成SIP协议格式的文本信息或者会话建立请求消息并发送至IP多媒体网络;Convert it into text information in the SIP protocol format or a session establishment request message and send it to the IP multimedia network;

C、IP多媒体网络基于所述SIP协议格式的文本信息或者会话建立请求消息进行后续即时消息业务或者多媒体会话业务。C. The IP multimedia network performs subsequent instant message services or multimedia session services based on the text information in the SIP protocol format or the session establishment request message.

其中,优选的是,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。Wherein, preferably, the HTTP protocol is selected from XCAP protocol or RTP over HTTP protocol or HTTP protocol.

其中,优选的是,步骤C中,所述IP多媒体网络基于所述SIP协议格式的文本信息进行后续即时消息业务,包括:Wherein, preferably, in step C, described IP multimedia network carries out follow-up instant message service based on the text message of described SIP protocol format, including:

IP多媒体网络将所述SIP协议格式的文本信息推送至被叫侧协议适配网关;The IP multimedia network pushes the text information in the SIP protocol format to the called side protocol adaptation gateway;

所述协议适配网关收到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起的获取文本消息请求;The protocol adaptation gateway receives a text message request initiated by the called side WEB terminal using HTTP or Web socket protocol polling;

将所述SIP协议格式的文本信息转换成HTTP或者Web socket协议的格式并发送给被叫侧WEB终端。The text information in the SIP protocol format is converted into the HTTP or Web socket protocol format and sent to the called side WEB terminal.

其中,优选的是,步骤C中,所述IP多媒体网络基于所述SIP协议格式的会话建立请求信息进行后续多媒体会话业务,包括:Wherein, preferably, in step C, the IP multimedia network performs subsequent multimedia session services based on the session establishment request information in the SIP protocol format, including:

IP多媒体网络将所述SIP协议格式的会话建立请求信息推送至被叫侧协议适配网关;The IP multimedia network pushes the session establishment request information in the SIP protocol format to the called side protocol adaptation gateway;

所述协议适配网关在获取到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起获取会话建立请求后;After the protocol adaptation gateway acquires that the called side WEB terminal utilizes HTTP or Web socket protocol polling to initiate an acquisition session establishment request;

将所述SIP协议格式的文本信息转换成HTTP或者Web socket协议的会话建立请求消息并发送给被叫侧WEB终端;Convert the text information of the SIP protocol format into HTTP or the session establishment request message of the Web socket protocol and send it to the called side WEB terminal;

被叫侧WEB终端向被叫侧协议适配网关返回HTTP或者Web socket协议的会话建立应答消息;The called side WEB terminal returns the session establishment response message of HTTP or Web socket protocol to the called side protocol adaptation gateway;

所述协议适配网关对所述HTTP或者Web socket协议格式的会话建立应答消息转换成SIP协议格式发送至IP多媒体网络;The protocol adaptation gateway converts the session establishment response message in the HTTP or Web socket protocol format into a SIP protocol format and sends it to the IP multimedia network;

IP多媒体网络基于所述SIP协议格式的会话建立应答消息通过主叫侧协议适配网关建立主叫WEB终端和被叫WEB终端的多媒体会话连接。The IP multimedia network establishes a multimedia session connection between the calling WEB terminal and the called WEB terminal through the calling side protocol adaptation gateway based on the session establishment response message in the SIP protocol format.

其中,优选的是,步骤A之前,还包括:Wherein, preferably, before step A, also include:

实时通信WEB服务器向WEB终端推送登录网页界面;The real-time communication WEB server pushes the login webpage interface to the WEB terminal;

接收并验证用户通过所述WEB终端在所述登录网页界面上输入的账号信息,并在所述用户账号验证成功后返给WEB终端所述协议适配网关的IP地址信息。receiving and verifying the account information input by the user on the login page interface through the WEB terminal, and returning the IP address information of the protocol adaptation gateway to the WEB terminal after the user account verification is successful.

本发明采取了上述方案以后,WEB终端不需要发送SIP协议的功能,因此,降低了现有的WEB终端对于浏览器的限制和对系统的安全问题;并且,由于本发明能够基于WEB终端发起的HTTP协议或者Web socket协议进行即时消息业务或者多媒体会话业务,具有良好的穿越企业防火墙的优点;并且,由于WEB终端部需要发送SIP协议栈,也降低了现有的WEB终端体积较大、对浏览器负载较大的缺点。After the present invention adopts the above scheme, the WEB terminal does not need to send the function of the SIP protocol, therefore, the existing WEB terminal reduces the restriction on the browser and the security problem to the system; and, because the present invention can initiate based on the WEB terminal HTTP protocol or Web socket protocol for instant message service or multimedia session service has the advantage of passing through the enterprise firewall; moreover, since the WEB terminal part needs to send the SIP protocol stack, it also reduces the large size of the existing WEB terminal and the impact on browsing. Disadvantages of large device load.

此外,本发明又提供了一种协议适配网关,包括:In addition, the present invention provides a protocol adaptation gateway, including:

终端信息接收单元,用于获取WEB终端发送的HTTP或Web socket协议格式的消息;The terminal information receiving unit is used to obtain the HTTP or Web socket protocol format message sent by the WEB terminal;

协议转换单元,用于将上述HTTP格式或Web socket协议格式的消息转换成SIP协议格式的消息;A protocol conversion unit, configured to convert the message in the above HTTP format or the Web socket protocol format into a message in the SIP protocol format;

发送单元,用于将所述SIP协议格式的消息传递给IP多媒体网络。A sending unit, configured to transfer the message in the SIP protocol format to the IP multimedia network.

其中,优选的是,还包括:网络信息接收单元,用于获取IP多媒体网络传递的SIP协议格式的消息;Wherein, preferably, also include: a network information receiving unit, used to obtain the message of the SIP protocol format transmitted by the IP multimedia network;

所述终端信息接收单元,还用于获取WEB终端发送的HTTP或Web socket协议格式的消息获取请求;The terminal information receiving unit is also used to acquire a message acquisition request in HTTP or Web socket protocol format sent by the WEB terminal;

所述协议转换单元,用于将上述SIP协议格式的消息转换成HTTP格式或Websocket协议格式的消息;The protocol conversion unit is configured to convert the above-mentioned message in the SIP protocol format into a message in HTTP format or Websocket protocol format;

所述发送单元,用于将所述HTTP格式或Web socket协议格式的消息传递给WEB终端。The sending unit is configured to transfer the message in the HTTP format or the Web socket protocol format to the WEB terminal.

其中,优选的是,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。Wherein, preferably, the HTTP protocol is selected from XCAP protocol or RTP over HTTP protocol or HTTP protocol.

其中,优选的是,所述消息是文本消息或者会话建立请求消息或者会话建立应答消息。Wherein, preferably, the message is a text message or a session establishment request message or a session establishment response message.

其中,本申请所公开的协议适配网关,能够对WEB终端和IP多媒体网络发出的SIP协议或者HTTP或者WEB socket协议消息进行协议之间转换,以使得WEB终端能够通过HTTP协议或者Web socket协议进行相应的即时通信或者媒体通话。Among them, the protocol adaptation gateway disclosed in this application can convert the SIP protocol or HTTP or WEB socket protocol messages sent by the WEB terminal and the IP multimedia network between protocols, so that the WEB terminal can communicate with each other through the HTTP protocol or the Web socket protocol. Corresponding instant messaging or media calls.

其中,根据本发明的一个目的,本发明提供了一种WEB终端,包括:Wherein, according to an object of the present invention, the present invention provides a kind of WEB terminal, comprises:

消息生成单元,用于根据文本消息或者会话建立请求消息生成HTTP或Web socket协议格式的消息;A message generating unit, configured to generate a message in HTTP or Web socket protocol format according to a text message or a session establishment request message;

信息发送单元,用于将所述HTTP或Web socket协议格式的文本消息或者会话建立请求消息发送给协议适配网关。An information sending unit, configured to send the text message or session establishment request message in HTTP or Web socket protocol format to the protocol adaptation gateway.

其中,优选的是,所述信息发送单元,还用于通过HTTP或Web socket协议向协议适配网关发起获取文本消息或者会话建立请求消息的消息获取请求;Wherein, preferably, the information sending unit is further configured to initiate a message acquisition request to the protocol adaptation gateway to obtain a text message or a session establishment request message through the HTTP or Web socket protocol;

并且,还包括信息接收单元,用于获取协议适配网关单元返回的HTTP或Websocket协议格式的文本消息或者会话建立请求消息。Moreover, it also includes an information receiving unit, which is used to obtain the text message or the session establishment request message returned by the protocol adaptation gateway unit in HTTP or Websocket protocol format.

其中,优选的是,还包括:Among them, preferably, also include:

会话应答单元,用于根据所述会话建立请求消息生成会话建立应答消息;A session response unit, configured to generate a session establishment response message according to the session establishment request message;

所述消息生成单元,还用于将所述会话建立应答消息转换成HTTP或Web socket协议格式的消息;The message generating unit is further configured to convert the session establishment response message into a message in HTTP or Web socket protocol format;

所述信息发送单元,用于将所述HTTP或Web socket协议格式的会话建立应答消息发送给协议适配网关。The information sending unit is configured to send the session establishment reply message in HTTP or Web socket protocol format to the protocol adaptation gateway.

其中,优选的是,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。Wherein, preferably, the HTTP protocol is selected from XCAP protocol or RTP over HTTP protocol or HTTP protocol.

其中,所述WEB终端不需要发送SIP协议的功能,因此,降低了现有的WEB终端对于浏览器的限制和对系统的安全问题,并且,也降低了现有的WEB终端体积较大、对浏览器负载较大的缺点。Wherein, the WEB terminal does not need to send the function of the SIP protocol. Therefore, the existing WEB terminal has reduced the restriction on the browser and the security problem to the system, and also reduced the existing WEB terminal. The disadvantage of large browser load.

其中,本发明还提供了一种基于IP多媒体网络的实时通信WEB服务器,包括:界面推送单元,用于向WEB终端推送登录网页界面;Wherein, the present invention also provides a real-time communication WEB server based on an IP multimedia network, comprising: an interface push unit, which is used to push a login web page interface to the WEB terminal;

信息获取单元,用于接收并验证用户通过所述WEB终端在所述登录网页界面上输入的账号信息;An information acquisition unit, configured to receive and verify the account information input by the user on the login web page interface through the WEB terminal;

信息响应单元,用于在所述用户账号验证成功后返给WEB终端所述协议适配网关的IP地址信息。An information response unit, configured to return the IP address information of the protocol adaptation gateway to the WEB terminal after the user account verification is successful.

其中,所述实时通信WEB服务器,用于对用户的账户进行控制以及协议适配网关的地址管理,由此,其能够降低通信网络对于G3AS负载较大的缺点。Wherein, the real-time communication WEB server is used to control the user's account and manage the address of the protocol adaptation gateway, thereby reducing the disadvantage that the communication network has a large load on the G3AS.

此外,本发明还提供了一种基于IP多媒体网络的WEB终端通信系统,包括IP多媒体网络和WEB终端,其中,所述WEB终端包括上述的WEB终端;并且,所述IP多媒体网络中包括上述的协议适配网关和实时通信WEB服务器。In addition, the present invention also provides a WEB terminal communication system based on an IP multimedia network, including an IP multimedia network and a WEB terminal, wherein the WEB terminal includes the above-mentioned WEB terminal; and, the IP multimedia network includes the above-mentioned Protocol adaptation gateway and real-time communication WEB server.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明Description of drawings

下面结合附图对本发明进行详细的描述,以使得本发明的上述优点更加明确。The present invention will be described in detail below in conjunction with the accompanying drawings, so as to make the above-mentioned advantages of the present invention clearer.

图1是现有技术中WEB终端通信系统的示意图;FIG. 1 is a schematic diagram of a WEB terminal communication system in the prior art;

图2是本发明实施例的WEB终端通信系统的网络架构示意图;FIG. 2 is a schematic diagram of a network architecture of a WEB terminal communication system according to an embodiment of the present invention;

图3是本发明实施例的WEB终端通信系统的系结构示意图;FIG. 3 is a schematic structural diagram of a WEB terminal communication system according to an embodiment of the present invention;

图4是本发明一个实施例的协议适配网关单元的结构示意图;FIG. 4 is a schematic structural diagram of a protocol adaptation gateway unit according to an embodiment of the present invention;

图5是本发明一个实施例的WEB终端的结构示意图;FIG. 5 is a schematic structural diagram of a WEB terminal according to an embodiment of the present invention;

图6是本发明一个实施例的实时WEB通信服务器的结构示意图;Fig. 6 is the structural representation of the real-time WEB communication server of an embodiment of the present invention;

图7是本发明WEB终端通信方法的示意图;Fig. 7 is a schematic diagram of the WEB terminal communication method of the present invention;

图8是本发明实施例的新用户注册的流程示意图;FIG. 8 is a schematic flow diagram of new user registration in an embodiment of the present invention;

图9是本发明实施例的WEB终端的注册的流程示意图;FIG. 9 is a schematic flow diagram of registration of a WEB terminal according to an embodiment of the present invention;

图10是WEB终端进行即时文本通信的方法的流程示意图;FIG. 10 is a schematic flow diagram of a method for performing instant text communication on a WEB terminal;

图11是本发明实施例的WEB终端进行多媒体会话通信的方法的流程示意图。FIG. 11 is a schematic flowchart of a method for performing multimedia session communication by a WEB terminal according to an embodiment of the present invention.

具体实施方式detailed description

系统实施例一:System embodiment one:

下面结合附图和具体实施例对本申请的系统进行说明;The system of the present application will be described below in conjunction with the accompanying drawings and specific embodiments;

其中,图2是本发明Web终端通信系统的网络架构示意图;Wherein, FIG. 2 is a schematic diagram of the network architecture of the Web terminal communication system of the present invention;

图3是本发明基于WEB终端通信系统的结构示意图;Fig. 3 is the structural representation of the present invention based on WEB terminal communication system;

如图2和图3所示,所述WEB终端通信系统,包括IP多媒体网络和WEB终端,其中,所述IP多媒体网络基于CM-IMS网络(China mobile-IP Multi-media System)。As shown in Figure 2 and Figure 3, the WEB terminal communication system includes an IP multimedia network and a WEB terminal, wherein the IP multimedia network is based on a CM-IMS network (China mobile-IP Multi-media System).

其中,所述IP多媒体网络中包括现有的SBC网元、G3AS网元(图中以PGM服务器代替,PGM=Presence、Group Management、IM,呈现业务、群组和列表管理和即时消息业务),以及HSS网元、I/S-CSCF网元,并且,从图2中还可以看出,本实施例中的IP多媒体网络中,还包括:协议适配网关PA-GW(Protocol adapter-gateway)和实时WEB服务器RWS(Real-timeWeb server)、WEB终端(No-SIP)和WEB终端(SIP),其中,WEB终端(SIP)通过IP多媒体网络进行通话和现有技术中的流程是一样的,在此不进行详细说明。Wherein, the IP multimedia network includes existing SBC network elements and G3AS network elements (replaced by PGM server in the figure, PGM=Presence, Group Management, IM, presence service, group and list management and instant message service), And HSS network element, I/S-CSCF network element, and, also can find out from Fig. 2, in the IP multimedia network in the present embodiment, also include: Protocol adaptation gateway PA-GW (Protocol adapter-gateway) With real-time WEB server RWS (Real-timeWeb server), WEB terminal (No-SIP) and WEB terminal (SIP), wherein, WEB terminal (SIP) is the same as the process in the prior art that WEB terminal (SIP) talks through IP multimedia network, A detailed description will not be given here.

其中,根据本实施例,所述WEB终端(No-SIP),是运行于不支持SIP协议的浏览器上的WEB终端,其包含发起和终止会话、接收和发送消息的功能,具体来说,所述WEB终端能够生成HTTP或Web socket协议格式的消息并发送给协议适配网关,并借助于协议适配网关和IP多媒体网络与另一侧的WEB终端(SIP)或者WEB终端(NO-SIP)之间进行通信。Wherein, according to this embodiment, the WEB terminal (No-SIP) is a WEB terminal running on a browser that does not support the SIP protocol, and it includes the functions of initiating and terminating sessions, receiving and sending messages, specifically, The WEB terminal can generate a message in HTTP or Web socket protocol format and send it to the protocol adaptation gateway, and communicate with the WEB terminal (SIP) or WEB terminal (NO-SIP) on the other side by means of the protocol adaptation gateway and the IP multimedia network. ) to communicate with each other.

具体来说,所述协议适配网关单元(PA-GW),用于获取WEB终端发送的HTTP协议格式HTTP或Web socket协议格式的业务请求消息;或者IP多媒体网络发送的SIP协议消息,并对上述HTTP或Web socket协议格式的业务请求消息和SIP协议消息进行协议转换和中转。Specifically, the protocol adaptation gateway unit (PA-GW) is used to obtain the HTTP protocol format HTTP or the service request message of the Web socket protocol format sent by the WEB terminal; or the SIP protocol message sent by the IP multimedia network, and to The above-mentioned service request message in HTTP or Web socket protocol format and SIP protocol message undergoes protocol conversion and transfer.

所述实时通信WEB服务器,用于对WEB终端进行用户验证,并在验证成功后返回所述协议适配网关的接入IP地址信息。The real-time communication WEB server is used to verify the user of the WEB terminal, and return the access IP address information of the protocol adaptation gateway after the verification is successful.

其中,图4是本发明一个实施例的协议适配网关单元的结构示意图;如图4所示,所述协议适配网关,包括:Wherein, FIG. 4 is a schematic structural diagram of a protocol adaptation gateway unit according to an embodiment of the present invention; as shown in FIG. 4, the protocol adaptation gateway includes:

终端信息接收单元,用于获取WEB终端发送的HTTP或Web socket协议格式的消息;The terminal information receiving unit is used to obtain the HTTP or Web socket protocol format message sent by the WEB terminal;

协议转换单元,用于将上述HTTP格式或Web socket协议格式的消息转换成SIP协议格式的消息;A protocol conversion unit, configured to convert the message in the above HTTP format or the Web socket protocol format into a message in the SIP protocol format;

发送单元,用于将所述SIP协议格式的消息传递给IP多媒体网络;A sending unit, configured to transfer the message in the SIP protocol format to the IP multimedia network;

网络信息接收单元,用于获取IP多媒体网络传递的SIP协议格式的消息;The network information receiving unit is used to obtain the message of the SIP protocol format transmitted by the IP multimedia network;

其中,所述终端信息接收单元,还用于获取WEB终端发送的HTTP或Web socket协议格式的消息获取请求;Wherein, the terminal information receiving unit is also used to acquire a message acquisition request in HTTP or Web socket protocol format sent by the WEB terminal;

所述协议转换单元,用于将上述SIP协议格式的消息转换成HTTP格式或Websocket协议格式的消息;The protocol conversion unit is configured to convert the above-mentioned message in the SIP protocol format into a message in HTTP format or Websocket protocol format;

所述发送单元,用于将所述HTTP格式或Web socket协议格式的消息传递给WEB终端。The sending unit is configured to transfer the message in the HTTP format or the Web socket protocol format to the WEB terminal.

优选的实施例中,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。In a preferred embodiment, the HTTP protocol is XCAP protocol or RTP over HTTP protocol or HTTP protocol.

图6是本发明一个实施例的实时WEB通信服务器的结构示意图;如图6所示,所述实时通信WEB服务器,包括:Fig. 6 is the structural representation of the real-time WEB communication server of an embodiment of the present invention; As shown in Fig. 6, described real-time communication WEB server comprises:

界面推送单元,用于向WEB终端推送登录网页界面;An interface push unit is used to push the login webpage interface to the WEB terminal;

信息获取单元,用于接收并验证用户通过所述WEB终端在所述登录网页界面上输入的账号信息;An information acquisition unit, configured to receive and verify the account information input by the user on the login web page interface through the WEB terminal;

信息响应单元,用于在所述用户账号验证成功后返给WEB终端所述协议适配网关的IP地址信息。An information response unit, configured to return the IP address information of the protocol adaptation gateway to the WEB terminal after the user account verification is successful.

具体来说,所述实时通信WEB服务器,能够向Web终端推送客户端网页内容,网页中包含实时通信所需要的功能界面(比如拨号盘等)及其它可选信息(如社区信息、广告等)。Specifically, the real-time communication WEB server can push the client webpage content to the Web terminal, and the webpage includes the functional interface (such as a dial, etc.) and other optional information (such as community information, advertisements, etc.) required by real-time communication. .

并且,所述实时通信WEB服务器中还保存有协议适配网关单元的地址信息,用户登录成功时向用户返回协议适配网关单元的IP地址信息。Moreover, the real-time communication WEB server also stores the address information of the protocol adaptation gateway unit, and returns the IP address information of the protocol adaptation gateway unit to the user when the user logs in successfully.

其中,图5是本发明一个实施例的WEB终端的结构示意图;如图5所示,所述WEB终端,包括:Wherein, FIG. 5 is a schematic structural diagram of a WEB terminal according to an embodiment of the present invention; as shown in FIG. 5, the WEB terminal includes:

消息生成单元,用于将文本消息或者会话建立请求消息转换成HTTP或Web socket协议格式的消息;The message generation unit is used to convert the text message or the session establishment request message into a message in HTTP or Web socket protocol format;

信息发送单元,用于将所述HTTP或Web socket协议格式的文本消息或者会话建立请求消息发送给协议适配网关。An information sending unit, configured to send the text message or session establishment request message in HTTP or Web socket protocol format to the protocol adaptation gateway.

其中,所述信息发送单元,还用于通过HTTP或Web socket协议向协议适配网关发起获取文本消息或者会话建立请求消息的消息获取请求;Wherein, the information sending unit is further configured to initiate a message acquisition request to the protocol adaptation gateway to obtain a text message or a session establishment request message through the HTTP or Web socket protocol;

并且,还包括信息接收单元,用于获取协议适配网关单元返回的HTTP或Websocket协议格式的文本消息或者会话建立请求消息。Moreover, it also includes an information receiving unit, which is used to obtain the text message or the session establishment request message returned by the protocol adaptation gateway unit in HTTP or Websocket protocol format.

并且,所述WEB终端,还包括:And, the WEB terminal also includes:

会话应答单元,用于根据所述会话建立请求消息生成会话建立应答消息;A session response unit, configured to generate a session establishment response message according to the session establishment request message;

所述消息生成单元,还用于将所述会话建立应答消息转换成HTTP或Web socket协议格式的消息;The message generating unit is further configured to convert the session establishment response message into a message in HTTP or Web socket protocol format;

所述信息发送单元,用于将所述HTTP或Web socket协议格式的会话建立应答消息发送给协议适配网关。The information sending unit is configured to send the session establishment reply message in HTTP or Web socket protocol format to the protocol adaptation gateway.

其中,在本申请之中,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。Wherein, in this application, the HTTP protocol is selected from XCAP protocol or RTP over HTTP protocol or HTTP protocol.

本发明采取了上述方案以后,WEB终端不需要发送SIP协议的功能,因此,降低了现有的WEB终端对于浏览器的限制和对系统的安全问题;并且,由于本发明能够基于WEB终端发起的HTTP协议或者Web socket协议进行即时消息业务或者多媒体会话业务,具有良好的穿越企业防火墙的优点;并且,由于WEB终端部需要发送SIP协议栈,也降低了现有的WEB终端体积较大、对浏览器负载较大的缺点。After the present invention adopts the above scheme, the WEB terminal does not need to send the function of the SIP protocol, therefore, the existing WEB terminal reduces the restriction on the browser and the security problem to the system; and, because the present invention can initiate based on the WEB terminal HTTP protocol or Web socket protocol for instant message service or multimedia session service has the advantage of passing through the enterprise firewall; moreover, since the WEB terminal part needs to send the SIP protocol stack, it also reduces the large size of the existing WEB terminal and the impact on browsing. Disadvantages of large device load.

并且,所述Web终端通信系统利用Web应用的一致性屏蔽通信终端的差异性,可以在安装有浏览器的所有终端设备上运行,用户只需要通过网络就可以使用相同的界面进行通信,用户接入网络也不再需要购买单独的终端,并且,所述实时通信WEB服务器,其能够降低通信网络对于G3AS负载较大的缺点。Moreover, the Web terminal communication system uses the consistency of Web applications to shield the differences of communication terminals, and can run on all terminal devices with browsers installed. Users only need to use the same interface to communicate through the network. It is no longer necessary to purchase a separate terminal to access the network, and the real-time communication WEB server can reduce the disadvantage that the communication network has a large load on the G3AS.

方法实施例一:Method embodiment one:

以下结合具体的实施例对本申请的通信方法进行详细说明;图7是本发明WEB终端通信方法的示意图;The communication method of the present application will be described in detail below in conjunction with specific embodiments; FIG. 7 is a schematic diagram of the WEB terminal communication method of the present invention;

如图7所示,所述方法主要包括下列步骤:As shown in Figure 7, the method mainly includes the following steps:

S101:主叫侧WEB终端与主叫侧协议适配网关建立HTTP连接;S101: The WEB terminal on the calling side establishes an HTTP connection with the protocol adaptation gateway on the calling side;

S102:将HTTP或者Web socket协议格式的文本信息或者会话建立请求消息传递给所述协议适配网关;S102: Transmitting text information or a session establishment request message in HTTP or Web socket protocol format to the protocol adaptation gateway;

S103:所述协议适配网关对所述HTTP或者Web socket协议格式的文本信息或者会话建立请求消息进行协议转换;S103: The protocol adaptation gateway performs protocol conversion on the text information or the session establishment request message in the HTTP or Web socket protocol format;

S104:将其转换成SIP协议格式的文本信息或者会话建立请求消息并发送至IP多媒体网络;S104: convert it into text information in SIP protocol format or a session establishment request message and send it to the IP multimedia network;

S105:IP多媒体网络基于所述SIP协议格式的文本信息或者会话建立请求消息进行后续即时消息业务或者多媒体会话业务。S105: The IP multimedia network performs subsequent instant message service or multimedia session service based on the text information in the SIP protocol format or the session establishment request message.

其中,优选的实施例中,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。Wherein, in a preferred embodiment, the HTTP protocol is selected from XCAP protocol or RTP over HTTP protocol or HTTP protocol.

其中,在一个实施例中,所述主叫侧发送的是HTTP或者Web socket协议格式的文本信息,由此,S105中,所述IP多媒体网络基于所述SIP协议格式的文本信息进行后续即时消息业务,包括:Wherein, in one embodiment, the calling side sends the text information in HTTP or Web socket protocol format, thus, in S105, the IP multimedia network performs subsequent instant messaging based on the text information in the SIP protocol format business, including:

IP多媒体网络将所述SIP协议格式的文本信息推送至被叫侧协议适配网关;The IP multimedia network pushes the text information in the SIP protocol format to the called side protocol adaptation gateway;

所述协议适配网关收到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起的获取文本消息请求后;After the protocol adaptation gateway receives a text message request initiated by the called side WEB terminal using HTTP or Web socket protocol polling;

将所述SIP协议格式的文本信息转换成HTTP或者Web socket协议的格式并发送给被叫侧WEB终端。The text information in the SIP protocol format is converted into the HTTP or Web socket protocol format and sent to the called side WEB terminal.

其中,在一个实施例中,所述主叫侧WEB终端发送的是HTTP或者Web socket协议格式的会话建立请求消息,其中,所述步骤S105中,IP多媒体网络基于所述SIP协议格式的会话建立请求信息进行后续多媒体会话业务,包括:Wherein, in one embodiment, the WEB terminal on the calling side sends a session establishment request message in HTTP or Web socket protocol format, wherein, in the step S105, the IP multimedia network establishes a session based on the SIP protocol format Request information for subsequent multimedia session services, including:

IP多媒体网络将所述SIP协议格式的会话建立请求信息推送至被叫侧协议适配网关;The IP multimedia network pushes the session establishment request information in the SIP protocol format to the called side protocol adaptation gateway;

所述协议适配网关在获取到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起获取会话建立请求后;After the protocol adaptation gateway acquires that the called side WEB terminal utilizes HTTP or Web socket protocol polling to initiate an acquisition session establishment request;

将所述SIP协议格式的文本信息转换成HTTP或者Web socket协议的会话建立请求消息并发送给被叫侧WEB终端;Convert the text information of the SIP protocol format into HTTP or the session establishment request message of the Web socket protocol and send it to the called side WEB terminal;

被叫侧WEB终端向被叫侧协议适配网关返回HTTP或者Web socket协议的会话建立应答消息;The called side WEB terminal returns the session establishment response message of HTTP or Web socket protocol to the called side protocol adaptation gateway;

所述协议适配网关对所述HTTP或者Web socket协议格式的会话建立应答消息转换成SIP协议格式发送至IP多媒体网络;The protocol adaptation gateway converts the session establishment response message in the HTTP or Web socket protocol format into a SIP protocol format and sends it to the IP multimedia network;

IP多媒体网络基于所述SIP协议格式的会话建立应答消息通过主叫侧协议适配网关建立主叫WEB终端和被叫WEB终端的多媒体会话连接。The IP multimedia network establishes a multimedia session connection between the calling WEB terminal and the called WEB terminal through the calling side protocol adaptation gateway based on the session establishment response message in the SIP protocol format.

并且,为了实现对用户的账号信息控制,在步骤S101中,还包括:Moreover, in order to realize the control of the user's account information, in step S101, it also includes:

实时通信WEB服务器向WEB终端推送登录网页界面;The real-time communication WEB server pushes the login webpage interface to the WEB terminal;

接收并验证用户通过所述WEB终端在所述登录网页界面上输入的账号信息,并在所述用户账号验证成功后返给WEB终端所述协议适配网关的IP地址信息。receiving and verifying the account information input by the user on the login page interface through the WEB terminal, and returning the IP address information of the protocol adaptation gateway to the WEB terminal after the user account verification is successful.

本发明采取了上述技术方案以后,能够基于HTTP或Web socket协议格式进行通信,并且,上述业务请求消息具有穿透企业防火墙的特点,进而克服了现有技术中的WEB终端通信方法的各种限制;并且,由于WEB终端只需要发送HTTP协议格式的业务请求消息,减少了对浏览器负载较大、以及下载具有协议栈客户端对操作系统的安全性问题。After adopting the above technical solution, the present invention can communicate based on the HTTP or Web socket protocol format, and the above service request message has the characteristics of penetrating the enterprise firewall, thereby overcoming various limitations of the WEB terminal communication method in the prior art and, because the WEB terminal only needs to send the service request message in the HTTP protocol format, it reduces the heavy load on the browser and the security problems of downloading the client with the protocol stack to the operating system.

方法实施例二:Method embodiment two:

其中,进一步地结合实施例对本发明进行详细说明,其中,图10是本发明实施例的WEB终端进行即时文本通信的方法的流程示意图;Wherein, the present invention is further described in detail in conjunction with the embodiments, wherein, FIG. 10 is a schematic flowchart of a method for performing instant text communication by a WEB terminal according to an embodiment of the present invention;

如图10所述,所述方法具体包括下列的步骤:As shown in Figure 10, the method specifically includes the following steps:

步骤S91:主叫侧WEB终端(NO-SIP)与主叫侧协议适配网关建立HTTP连接;并且通过HTTP协议向主叫侧协议适配网关发起文本消息的HTTP POST请求;Step S91: the calling side WEB terminal (NO-SIP) establishes an HTTP connection with the calling side protocol adaptation gateway; and initiates an HTTP POST request for a text message to the calling side protocol adaptation gateway through the HTTP protocol;

步骤S92:协议适配网关收到该请求后,对其进行协议转换成SIP协议格式并返回给主叫侧WEB终端HTTP协议格式的200OK的确认消息;Step S92: After the protocol adaptation gateway receives the request, it converts the protocol into the SIP protocol format and returns a 200 OK confirmation message in the HTTP protocol format to the calling side WEB terminal;

步骤S93:协议适配网关将所述SIP协议格式的文本消息给所述IP多媒体网络,由所述IP多媒体网络进行后续的通信,其中,包括:Step S93: The protocol adaptation gateway sends the text message in the SIP protocol format to the IP multimedia network, and the IP multimedia network performs subsequent communication, which includes:

S94~S99:IP多媒体网络将所述SIP协议格式的MESSAGE消息传给PGM网元;PGM网元返回SIP协议的确认消息;上述流程属于现有技术,在此不详细描述,并且,在上述流程完成以后,S96:所述IP多媒体网络将所述经过确认后的消息确认消息返回给主叫侧协议适配网关;S94~S99: The IP multimedia network transmits the MESSAGE message in the SIP protocol format to the PGM network element; the PGM network element returns the confirmation message of the SIP protocol; the above process belongs to the prior art, and will not be described in detail here, and, in the above process After completion, S96: the IP multimedia network returns the confirmed message confirmation message to the calling side protocol adaptation gateway;

S97:主叫侧WEB终端向协议适配网关发起HTTP协议格式的消息获取请求;S98:上述消息确认消息返回给WEB终端。S97: The WEB terminal at the calling side initiates a message acquisition request in the HTTP protocol format to the protocol adaptation gateway; S98: The above-mentioned message confirmation message is returned to the WEB terminal.

同时,S99:将经过PGM服务器处理后的SIP协议格式的MESSAGE消息给IP多媒体网络;Simultaneously, S99: send the MESSAGE message of the SIP protocol format processed by the PGM server to the IP multimedia network;

在被叫侧,如果被叫侧WEB终端属于具有SIP协议栈的终端,则其处理流程仍与现有技术类似;如果被叫侧WEB终端也属于没有SIP协议栈的WEB终端,则步骤S910:所述IP多媒体网络将所述SIP协议格式的MESSAGE消息发送给被叫侧的协议适配网关;On the called side, if the called side WEB terminal belongs to a terminal with a SIP protocol stack, then its processing flow is still similar to the prior art; if the called side WEB terminal also belongs to a WEB terminal without a SIP protocol stack, then step S910: The IP multimedia network sends the MESSAGE message of the SIP protocol format to the protocol adaptation gateway of the called side;

其中,被叫侧WEB终端利用在一定的时间间隔进行轮询,例如,S912:被叫侧WEB终端向被叫侧协议适配网关发起HTTP协议格式的获取消息的请求;Wherein, the WEB terminal on the called side uses polling at a certain time interval, for example, S912: the WEB terminal on the called side initiates a request for obtaining a message in HTTP protocol format to the protocol adaptation gateway on the called side;

S913:所述被叫侧协议适配网关查询并将所述业务消息发送给被叫侧WEB终端,进而完成上述主叫侧WEB终端和被叫侧WEB终端之间的即时文本消息通信业务。S913: The called side protocol adaptation gateway queries and sends the service message to the called side WEB terminal, and then completes the instant text message communication service between the calling side WEB terminal and the called side WEB terminal.

并且,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者HTTP协议。同时,所述HTTP协议也可以根据需要采取WEB SOCKET格式的消息,其处理过程与前述过程类似,其中,在此所述的文本信息包含文本、图像,在此不详细说明。In addition, the HTTP protocol is selected from the XCAP protocol or the RTP over HTTP protocol or the HTTP protocol. At the same time, the HTTP protocol can also adopt a message in WEB SOCKET format as required, and its processing process is similar to the above process, wherein the text information described here includes text and images, which will not be described in detail here.

其中,图11是本发明实施例的WEB终端之间进行多媒体通话的通信方法的示意图;如图11所示,所述方法主要包括下列的步骤:Wherein, FIG. 11 is a schematic diagram of a communication method for multimedia calls between WEB terminals according to an embodiment of the present invention; as shown in FIG. 11 , the method mainly includes the following steps:

S101~S107:主叫侧WEB终端经由主叫侧协议适配网关以及IP多媒体网络向被叫方侧WEB终端发送会话建立请求消息,其中,请求消息中携带有媒体协商参数offer/proposal;S101-S107: The WEB terminal on the calling side sends a session establishment request message to the WEB terminal on the called side via the calling side protocol adaptation gateway and the IP multimedia network, wherein the request message carries the media negotiation parameter offer/proposal;

具体来说,主叫侧WEB终端与主叫侧协议适配网关之间通过HTTP协议进行会话建立请求消息的传递;主叫侧协议适配网关将所述HTTP协议的会话建立请求消息转换成SIP协议的会话建立请求消息,并传递给IP多媒体网络,并由所述IP多媒体网络进行对应的业务控制;Specifically, the session establishment request message is transmitted through the HTTP protocol between the calling side WEB terminal and the calling side protocol adaptation gateway; the calling side protocol adaptation gateway converts the session establishment request message of the HTTP protocol into a SIP The session establishment request message of the protocol is sent to the IP multimedia network, and the corresponding service control is performed by the IP multimedia network;

S108~S113:被叫WEB终端通过被叫侧协议适配网关和通信网络单元向主叫侧WEB终端返回媒体协商答复answer/proposal;S108-S113: The called WEB terminal returns a media negotiation answer/proposal to the calling side WEB terminal through the called side protocol adaptation gateway and the communication network unit;

具体来说,被叫侧WEB终端与被叫侧协议适配网关之间通过HTTP协议进行包含媒体协商答复参数的应答消息的传递;被叫侧协议适配网关将所述HTTP协议的会话建立应答消息转换成SIP协议的会话建立应答消息,并传递给IP多媒体网络,并由所述IP多媒体网络传递给主叫侧协议适配网关;Specifically, between the called side WEB terminal and the called side protocol adaptation gateway, a response message containing media negotiation response parameters is transmitted through the HTTP protocol; the called side protocol adaptation gateway responds to the session establishment of the HTTP protocol The message is converted into a session establishment response message of the SIP protocol, and delivered to the IP multimedia network, and delivered to the calling side protocol adaptation gateway by the IP multimedia network;

S114~S135:主叫WEB终端和被叫WEB终端完成资源预留并相互确认;S114-S135: the calling WEB terminal and the called WEB terminal complete resource reservation and confirm each other;

S116:被叫Web终端提示用户来电;S137~S150:被叫WEB终端向主叫Web终端确认振铃;S116: The called Web terminal prompts the user to call; S137-S150: The called Web terminal confirms the ringing to the calling Web terminal;

S151~S153:被叫WEB终端确认用户摘机;S154~S163:双方确认会话建立成功,进行多媒体通信。S151-S153: The called WEB terminal confirms that the user is off-hook; S154-S163: Both parties confirm that the session is established successfully, and perform multimedia communication.

其中,本发明在采取了上述技术方案以后,在实施例一的基础上进一步地细化了本申请的技术方案,并且,本实施例能够基于HTTP或Web socket协议格式进行通信,并且,上述业务请求消息具有穿透企业防火墙的特点,进而克服了现有技术中的WEB终端通信方法的各种限制。Wherein, after adopting the above technical solution, the present invention further refines the technical solution of the present application on the basis of Embodiment 1, and this embodiment can communicate based on the HTTP or Web socket protocol format, and the above business The request message has the characteristic of penetrating the firewall of the enterprise, thereby overcoming various limitations of the WEB terminal communication method in the prior art.

方法实施例三:Method embodiment three:

其中,为了完成本申请的通信业务,需要事先进行用户和WEB终端注册。其中,图8是本发明实施例的新用户注册的流程示意图;图9是本发明实施例的WEB终端的注册的流程示意图;Among them, in order to complete the communication service of this application, it is necessary to register the user and the WEB terminal in advance. Wherein, FIG. 8 is a schematic flow diagram of new user registration according to an embodiment of the present invention; FIG. 9 is a schematic flow diagram of registration of a WEB terminal according to an embodiment of the present invention;

如图8所示,所述新用户注册流程包括下列步骤:As shown in Figure 8, the new user registration process includes the following steps:

S71:在WEB终端侧,输入实时通信WEB服务器(RWS)的域名;S71: at the WEB terminal side, input the domain name of the real-time communication WEB server (RWS);

S72:通过DNS域名解析,获取到所述实时通信WEB服务器的IP地址;S72: Obtain the IP address of the real-time communication WEB server through DNS domain name analysis;

S73~S74:WEB终端向实时通信WEB服务器发起HTTP协议的请求,获取到实时通信WEB服务器返回的网页界面;S73-S74: the WEB terminal initiates an HTTP protocol request to the real-time communication WEB server, and obtains the webpage interface returned by the real-time communication WEB server;

S75:用户在所述网页界面上选择创建账户的功能界面,同时提交访问实时通信WEB服务器的用户名/密码(其中,可选地,用户可以同时提交绑定的IMS用户名和密码);S75: The user selects the function interface of creating an account on the web page interface, and simultaneously submits the user name/password for accessing the real-time communication WEB server (wherein, optionally, the user can submit the bound IMS user name and password at the same time);

S76:上述信息通过HTTP上报给实时通信WEB服务器,所述实时通信WEB服务器验证用户名的唯一性和密码强度,并且在通过以后,在其内部的数据库内保存用户名和密码(可选地,还包括绑定的IMS用户名和密码);S76: The above information is reported to the real-time communication WEB server by HTTP, and the real-time communication WEB server verifies the uniqueness and password strength of the user name, and after passing through, saves the user name and password in its internal database (optionally, also including the bound IMS user name and password);

S78:实时通信WEB服务器返回注册成功的界面,此时,新用户注册流程完成。S78: The real-time communication WEB server returns an interface of successful registration, and at this time, the new user registration process is completed.

其中,如图9所示,所述WEB终端(No-SIP)的注册流程如下:Wherein, as shown in Figure 9, the registration process of the WEB terminal (No-SIP) is as follows:

S81~S89:WEB终端通过协议适配网关与网络通信单元(例如,IP多媒体网络)建立连接,发起注册请求;S81-S89: The WEB terminal establishes a connection with the network communication unit (for example, IP multimedia network) through the protocol adaptation gateway, and initiates a registration request;

IP多媒体网络向WEB终端要求WEB终端根据返回的挑战信息提供用户名和密码的摘要计算结果;The IP multimedia network requires the WEB terminal to provide the summary calculation result of the user name and password according to the returned challenge information;

WEB终端将经过摘要计算后的用户名和密码通过协议适配网关发送给IP多媒体网络;The WEB terminal sends the user name and password after digest calculation to the IP multimedia network through the protocol adaptation gateway;

S810~S811:网络通信单元认证通过后,发起向PGM的第三方注册请求;S810-S811: After passing the authentication, the network communication unit initiates a third-party registration request to the PGM;

S812:PGM通过SIP协议返回给协议适配网关的注册成功消息;S812: The PGM returns a registration success message to the protocol adaptation gateway through the SIP protocol;

S813~S814:WEB终端获取到所述在PGM注册成功的消息,例如,通过WEB终端对协议适配网关之间的轮询获取上述信息。S813-S814: The WEB terminal obtains the message of successful registration in the PGM, for example, obtains the above information through polling between the WEB terminal and the protocol adaptation gateway.

通过上述过程,完成对特定用户和WEB终端在WEB通信服务器和PGM服务器中的用户和终端的注册业务,并且,通过上述控制,所述WEB终端具有辅助所述PGM服务器进行用户管理的功能,进而降低了整个系统对于PGM服务器负载较大的技术缺点。Through the above process, the registration service of specific users and WEB terminals in the WEB communication server and PGM server is completed, and, through the above control, the WEB terminal has the function of assisting the PGM server in user management, and then Reduced the technical disadvantage of the entire system's heavy load on the PGM server.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(ReadOnly Memory,简称ROM)、随机存取存储器(Random Acess Memory,简称RAM)、磁碟、终端手机软件或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the above method embodiment; and the aforementioned storage medium includes: Read Only Memory (ReadOnly Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short), magnetic disk, terminal mobile phone software or optical disk, etc. A medium on which program code can be stored.

最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that: the above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it still The technical solutions recorded in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (4)

1.一种基于IP多媒体网络的WEB终端通信方法,包括:1. A WEB terminal communication method based on an IP multimedia network, comprising: A、主叫侧WEB终端与主叫侧协议适配网关建立HTTP连接;A. The WEB terminal on the calling side establishes an HTTP connection with the protocol adaptation gateway on the calling side; 将HTTP或者Web socket协议格式的文本信息或者会话建立请求消息传递给所述主叫侧协议适配网关;Transmitting text information or a session establishment request message in HTTP or Web socket protocol format to the calling side protocol adaptation gateway; B、所述主叫侧协议适配网关对所述HTTP或者Web socket协议格式的文本信息或者会话建立请求消息进行协议转换;B. The calling side protocol adaptation gateway performs protocol conversion on the text information or the session establishment request message in the HTTP or Web socket protocol format; 将其转换成SIP协议格式的文本信息或者会话建立请求消息并发送至IP多媒体网络;Convert it into text information in the SIP protocol format or a session establishment request message and send it to the IP multimedia network; C、所述IP多媒体网络基于所述SIP协议格式的文本信息进行后续即时消息业务,或者所述IP多媒体网络基于所述SIP协议格式的会话建立请求消息进行后续多媒体会话业务;C. The IP multimedia network performs subsequent instant message services based on the text information in the SIP protocol format, or the IP multimedia network performs subsequent multimedia session services based on the session establishment request message in the SIP protocol format; 其中,步骤C中,所述IP多媒体网络基于所述SIP协议格式的文本信息进行后续即时消息业务,包括:Wherein, in step C, the IP multimedia network performs subsequent instant message services based on the text information in the SIP protocol format, including: IP多媒体网络将所述SIP协议格式的文本信息推送至被叫侧协议适配网关;The IP multimedia network pushes the text information in the SIP protocol format to the called side protocol adaptation gateway; 被叫侧协议适配网关收到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起的获取文本消息请求;The protocol adaptation gateway on the called side receives a text message request initiated by the WEB terminal on the called side by using HTTP or Web socket protocol polling; 将所述SIP协议格式的文本信息转换成HTTP或者Web socket协议的格式并发送给被叫侧WEB终端。The text information in the SIP protocol format is converted into the HTTP or Web socket protocol format and sent to the called side WEB terminal. 2.根据权利要求1所述的基于IP多媒体网络的WEB终端通信方法,其特征在于,所述HTTP协议选取的是XCAP协议或者RTP over HTTP协议或者普通HTTP协议。2. the WEB terminal communication method based on IP multimedia network according to claim 1, is characterized in that, what described HTTP protocol selects is XCAP agreement or RTP over HTTP agreement or common HTTP agreement. 3.根据权利要求1所述的基于IP多媒体网络的WEB终端通信方法,其特征在于,步骤C中,所述IP多媒体网络基于所述SIP协议格式的会话建立请求消息进行后续多媒体会话业务,包括:3. the WEB terminal communication method based on IP multimedia network according to claim 1, is characterized in that, in step C, described IP multimedia network carries out follow-up multimedia session business based on the session establishment request message of described SIP protocol format, comprises : IP多媒体网络将所述SIP协议格式的会话建立请求消息推送至被叫侧协议适配网关;The IP multimedia network pushes the session establishment request message in the SIP protocol format to the called side protocol adaptation gateway; 被叫侧协议适配网关在获取到被叫侧WEB终端利用HTTP或者Web socket协议轮询发起获取会话建立请求;The called side protocol adaptation gateway obtains the called side WEB terminal and uses HTTP or Web socket protocol polling to initiate an acquisition session establishment request; 将所述SIP协议格式的会话建立请求消息转换成HTTP或者Web socket协议的会话建立请求消息并发送给被叫侧WEB终端;The session establishment request message of the SIP protocol format is converted into the session establishment request message of HTTP or Web socket protocol and sent to the called side WEB terminal; 被叫侧WEB终端向被叫侧协议适配网关返回HTTP或者Web socket协议的会话建立应答消息;The called side WEB terminal returns the session establishment response message of HTTP or Web socket protocol to the called side protocol adaptation gateway; 所述被叫侧协议适配网关对所述HTTP或者Web socket协议格式的会话建立应答消息转换成SIP协议格式发送至IP多媒体网络;The called side protocol adaptation gateway converts the session establishment response message of the HTTP or Web socket protocol format into a SIP protocol format and sends it to the IP multimedia network; IP多媒体网络将所述SIP协议格式的会话建立应答消息通过主叫侧协议适配网关转发给主叫WEB终端并建立多媒体会话连接。The IP multimedia network forwards the session establishment response message in the SIP protocol format to the calling WEB terminal through the calling side protocol adaptation gateway and establishes a multimedia session connection. 4.根据权利要求1所述的基于IP多媒体网络的WEB终端通信方法,其特征在于,步骤A之前,还包括:4. the WEB terminal communication method based on IP multimedia network according to claim 1, is characterized in that, before step A, also comprises: 实时通信WEB服务器向WEB终端推送登录网页界面;The real-time communication WEB server pushes the login webpage interface to the WEB terminal; 接收并验证用户通过所述WEB终端在所述登录网页界面上输入的账号信息,并在所述用户账号验证成功后将协议适配网关的IP地址信息返给WEB终端。receiving and verifying the account information input by the user on the login webpage interface through the WEB terminal, and returning the IP address information of the protocol adaptation gateway to the WEB terminal after the user account verification is successful.
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 CN103297445A (en) 2013-09-11
CN103297445B true 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)

Families Citing this family (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
KR102288858B1 (en) * 2014-02-07 2021-08-11 오라클 인터내셔날 코포레이션 Mobile cloud service architecture
CN105099897B (en) * 2014-05-13 2020-01-21 中兴通讯股份有限公司 Method and gateway for communication between browser and telecommunication network
CN105634911B (en) * 2014-11-07 2019-11-15 腾讯科技(深圳)有限公司 Session establishing method and device
CN105591879B (en) * 2014-11-07 2019-09-06 腾讯科技(深圳)有限公司 Data transmission method and device
US10412130B2 (en) * 2016-04-04 2019-09-10 Hanwha Techwin Co., Ltd. Method and apparatus for playing media stream on web browser
US10623450B2 (en) * 2016-12-01 2020-04-14 Accenture Global Solutions Limited Access to data on a remote device
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
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

Citations (4)

* 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
CN102347950A (en) * 2011-09-29 2012-02-08 中兴通讯股份有限公司 Method and system for telecommunication network to provide session services for internet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4623118B2 (en) * 2008-03-28 2011-02-02 ソニー株式会社 Gateway device, communication method and program

Patent Citations (4)

* 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
CN102347950A (en) * 2011-09-29 2012-02-08 中兴通讯股份有限公司 Method and system for telecommunication network to provide session services for internet

Also Published As

Publication number Publication date
CN103297445A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103297445B (en) A kind of web terminal communication method and system based on IP multi-media networks
US10819757B2 (en) System and method for real-time communication by using a client application communication protocol
CN104704795B (en) The method and system of virtual sip user agent is created by using the web browser with webRTC
CN103580986B (en) A kind of real-time communication method, terminal unit, real-time communication server and system
US9648006B2 (en) System and method for communicating with a client application
CN103227788B (en) Realize the method and system that Web page application program and SIP equipment carry out communicating
KR101150594B1 (en) Method and apparatus for cpm session management
KR101210774B1 (en) Method for delivering device and server capabilities
US8379544B2 (en) Communications
CN103379096B (en) Internet and carrier network business sharing method, service side and web gateway
KR20150043369A (en) Communications server apparatus, calling device and methods of operation thereof
CN105307144A (en) Registration method, method of calling, application server and network domain devices
EP1839175A2 (en) Agnostic peripheral control for media communication appliances
WO2011109972A1 (en) Method and system for implementing multimedia conference
CN103905408A (en) Information acquisition method and equipment
CN100563219C (en) Realize the system and method for click to dial
Russell Session Initiation Protocol (SIP) controlling convergent networks
TWI621342B (en) Voice for Internet Protocol (VoIP) calls and systems in which the calling and called users are accommodated in the same Talk Edge Controller (SBC) and method thereof
CN109257368A (en) A kind of conversational communication method for building up based on embedded device
CN101425067B (en) Information retrival method and system
Stout et al. An extensible messaging and presence protocol (xmpp) subprotocol for websocket
CN101958906B (en) Implementation method of IMS soft terminal and device thereof
JP2007208542A (en) Call control signal transfer apparatus, call control signal transfer method, and call control signal transfer program
Rosenberg A Framework for Application Interaction in the Session Initiation Protocol (SIP)
CN115361364B (en) Data transmission method of communication protocol based on WebRTC

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