[go: up one dir, main page]

CN100407710C - A network instant messaging system and method for providing instant message subscription - Google Patents

A network instant messaging system and method for providing instant message subscription Download PDF

Info

Publication number
CN100407710C
CN100407710C CN2004100741240A CN200410074124A CN100407710C CN 100407710 C CN100407710 C CN 100407710C CN 2004100741240 A CN2004100741240 A CN 2004100741240A CN 200410074124 A CN200410074124 A CN 200410074124A CN 100407710 C CN100407710 C CN 100407710C
Authority
CN
China
Prior art keywords
server
instant message
parlay gateway
party
application server
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.)
Expired - Fee Related
Application number
CN2004100741240A
Other languages
Chinese (zh)
Other versions
CN1744582A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2004100741240A priority Critical patent/CN100407710C/en
Publication of CN1744582A publication Critical patent/CN1744582A/en
Application granted granted Critical
Publication of CN100407710C publication Critical patent/CN100407710C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种网络即时通讯系统。该系统包括用于发送和接收即时消息(IM)的IM服务器和用于与用户进行网络即时通讯业务的交互的IM客户端,其中一个IM服务器同时连接大于等于1个的IM客户端,并进一步包括一个Parlay网关和大于等于1个的第三方应用服务器,该Parlay网关同时连接大于等于1个的IM服务器以及大于等于1个的第三方应用服务器。在该系统中,第三方应用服务器用于向用户提供第三方网络即时通讯业务,并通过Parlay网关提供的开放应用编程接口和Parlay网关通讯,IM服务器通过SIP/SIMPLE协议和Parlay网关通讯。本发明还公开了一种向用户提供即时消息订阅的方法。

Figure 200410074124

The invention discloses a network instant messaging system. The system includes an IM server for sending and receiving instant messages (IM) and an IM client for interacting with users on network instant messaging services, wherein one IM server is connected to more than one IM client at the same time, and further It includes a Parlay gateway and greater than or equal to one third-party application server, and the Parlay gateway is simultaneously connected to greater than or equal to one IM server and greater than or equal to one third-party application server. In this system, the third-party application server is used to provide users with third-party network instant messaging services, and communicates with the Parlay gateway through the open application programming interface provided by the Parlay gateway, and the IM server communicates with the Parlay gateway through the SIP/SIMPLE protocol. The invention also discloses a method for providing instant message subscription to users.

Figure 200410074124

Description

一种网络即时通讯系统及提供即时消息订阅的方法 A network instant messaging system and method for providing instant message subscription

技术领域 technical field

本发明涉及网络即时通讯技术,具体涉及一种网络即时通讯系统以及利用该系统向即时消息的用户提供即时消息订阅的方法。The invention relates to network instant messaging technology, in particular to a network instant messaging system and a method for using the system to provide instant message subscription to instant message users.

背景技术 Background technique

随着互联网的逐步成熟和快速发展,互联网的用户也越来越多,互联网在人们的生活中扮演了越来越重要的角色。例如,人们可以通过互联网浏览新闻、发送电子邮件或者进行网上购物等等。而目前,网络即时通讯也越来越成为互联网应用的热点,越来越多的人使用网络即时通讯技术来和世界各地的人进行即时联系。通过即时通讯,人们可以快速地获取消息,也可以通过相互的沟通增进友谊。With the gradual maturity and rapid development of the Internet, there are more and more Internet users, and the Internet plays an increasingly important role in people's lives. For example, people can browse news, send e-mails or conduct online shopping and so on through the Internet. At present, network instant messaging has increasingly become a hotspot of Internet applications, and more and more people use network instant messaging technology to communicate with people all over the world in real time. Through instant messaging, people can quickly obtain information, and also enhance friendship through mutual communication.

目前的网络即时通讯系统如图1所示。从图1中可以看出,一个网络即时通讯系统由一个即时消息(IM,Instant Messaging)服务器、连接到IM服务器的一个业务管理系统(SMS,Service Management System)以及同时连接到IM服务器的多个IM客户端组成。其中,IM服务器是整个网络即时通讯系统的核心,它用于向IM客户端的个人用户提供通过IM客户端发送和接收即时消息的能力,这里的即时消息可以是文本消息,也可以是包括语音、图片和连续图像的多媒体消息。IM客户端是即时通讯系统的客户端,用户可以通过IM客户端使用网络即时通讯业务的各种功能,例如加入好友名单、陌生人名单或黑名单,查询用户状态,发送文字或语音消息,发送文件等等。SMS是用于对IM服务器的功能进行管理的业务管理系统,用于对系统的参数进行配置以及进行其他一些管理操作。在整个网络即时通讯系统中,目前主要采用四种协议,它们分别是及时信息和空间协议(IMPP)、空间和即时信息协议(PRIM)、会话发起协议(SIP)/针对即时通讯和空间平衡扩充的进程开始协议(SIMPLE)以及扩展消息和空间协议(XMPP)。The current network instant messaging system is shown in FIG. 1 . As can be seen from Figure 1, a network instant messaging system consists of an instant message (IM, Instant Messaging) server, a business management system (SMS, Service Management System) connected to the IM server, and multiple simultaneous connections to the IM server. IM client composition. Wherein, the IM server is the core of the entire network instant messaging system, and it is used to provide individual users of the IM client with the ability to send and receive instant messages through the IM client. The instant message here can be a text message, or include voice, Multimedia messages of pictures and sequential images. The IM client is the client of the instant messaging system. Users can use various functions of the network instant messaging service through the IM client, such as adding to the friend list, stranger list or blacklist, querying user status, sending text or voice messages, sending files etc. SMS is a service management system used to manage the functions of the IM server, and is used to configure system parameters and perform other management operations. In the entire network instant messaging system, four protocols are mainly used at present, they are Immediate Information and Space Protocol (IMPP), Space and Instant Messaging Protocol (PRIM), Session Initiation Protocol (SIP)/extension for instant messaging and space balance The Process Initiation Protocol (SIMPLE) and the Extensible Messaging and Spaces Protocol (XMPP).

在目前的网络即时通讯技术中,通过网络即时通讯只能实现聊天和文件共享服务,还不能方便地实现例如用户兴趣信息的订阅或者向用户广播信息等增值服务。这样不但为用户使用网络即时通讯服务带来了不便,同时也限制了网络即时通讯服务的提供商的业务发展,因此从整体上限制了网络即时通讯技术的普及和进一步发展。In the current network instant messaging technology, only chat and file sharing services can be realized through network instant messaging, and value-added services such as subscribing to user interest information or broadcasting information to users cannot be conveniently realized. This not only brings inconvenience for users to use the network instant messaging service, but also limits the business development of network instant messaging service providers, thus restricting the popularization and further development of network instant messaging technology as a whole.

发明内容 Contents of the invention

有鉴于此,本发明的一个目的是提供一种网络即时通讯系统,该系统能够为用户提供即时消息的订阅以及向用户广播信息等增值服务,从而能促进网络即时通讯技术的进一步发展。In view of this, an object of the present invention is to provide a network instant messaging system, which can provide users with value-added services such as instant message subscription and broadcast information to users, thereby promoting the further development of network instant messaging technology.

本发明的另一个目的是提供一种利用上述系统向用户提供即时消息订阅的方法。Another object of the present invention is to provide a method for providing instant message subscriptions to users by using the above system.

本发明的上述目的是通过如下的技术方案予以实现的:Above-mentioned purpose of the present invention is achieved by following technical scheme:

一种网络即时通讯系统,包括用于发送和接收IM的IM服务器和用于与用户进行网络即时通讯业务的交互的IM客户端,其中一个IM服务器同时连接大于等于1个的IM客户端,并且该系统进一步包括一个Parlay网关和大于等于1个的第三方应用服务器,所述Parlay网关同时连接大于等于1个的IM服务器以及大于等于1个的第三方应用服务器;A network instant messaging system, comprising an IM server for sending and receiving IMs and an IM client for interacting with users on network instant messaging services, wherein one IM server is simultaneously connected to more than one IM client, and The system further includes a Parlay gateway and greater than or equal to one third-party application server, and the Parlay gateway is simultaneously connected to greater than or equal to one IM server and greater than or equal to one third-party application server;

所述第三方应用服务器用于向用户提供第三方网络即时通讯业务,并通过Parlay网关提供的开放应用编程接口和Parlay网关通讯,所述IM服务器通过SIP/SIMPLE协议和Parlay网关通讯;The third-party application server is used to provide third-party network instant messaging services to users, and communicates with the Parlay gateway through the open application programming interface provided by the Parlay gateway, and the IM server communicates with the Parlay gateway through the SIP/SIMPLE protocol;

所述IM客户端,用于依次通过IM服务器和Parlay网关向第三方应用服务器订阅即时消息;The IM client is used for subscribing instant messages to a third-party application server through the IM server and the Parlay gateway in turn;

所述第三方应用服务器,用于依次通过Parlay网关和IM服务器将IM客户端所订阅的即时消息发送给IM客户端。The third-party application server is configured to send the instant message subscribed by the IM client to the IM client through the Parlay gateway and the IM server in sequence.

上述系统可以进一步包括用于管理IM服务器的功能的SMS。The above system may further include SMS for managing the functions of the IM server.

在上述系统中,SMS可以为一个,在这种情况下,一个SMS连接到Parlay网关并通过Parlay网关管理网络即时通讯系统中所有的IM服务器。或者,SMS为多个,多个SMS分别连接到多个IM服务器,并管理与自己相连接的IM服务器。In the above system, there can be one SMS. In this case, one SMS is connected to the Parlay gateway and manages all the IM servers in the network instant messaging system through the Parlay gateway. Alternatively, there are multiple SMSs, and the multiple SMSs are respectively connected to multiple IM servers and manage the IM servers connected to themselves.

一种提供即时消息订阅的方法,至少包括如下步骤:A method for providing instant message subscriptions at least includes the following steps:

a.预先在Parlay网关向第三方应用服务器提供的开放应用编程接口中增加设置事件标准接口和消息通知接口,所述设置事件标准接口至少包含第三方应用服务器提供的即时消息类型列表;a. Add a setting event standard interface and a message notification interface in advance in the open application programming interface provided by the Parlay gateway to the third-party application server, and the setting event standard interface at least includes a list of instant message types provided by the third-party application server;

b.第三方应用服务器通过调用所述设置事件标准接口向Parlay网关发送第三方应用服务器所能提供的即时消息类型列表,Parlay网关将所述即时消息类型列表通过IM服务器发送到相应的IM客户端;b. The third-party application server sends the list of instant message types that the third-party application server can provide to the Parlay gateway by calling the standard interface for setting events, and the Parlay gateway sends the list of instant message types to the corresponding IM client through the IM server ;

c.IM客户端从所述即时消息类型列表中选择即时消息类型,并通过IM服务器向Parlay网关发送即时消息订阅请求,Parlay网关调用所述消息通知接口,将IM客户端所选择的即时消息类型通知第三方应用服务器;c. The IM client selects the instant message type from the instant message type list, and sends an instant message subscription request to the Parlay gateway through the IM server, and the Parlay gateway invokes the message notification interface, and the instant message type selected by the IM client notify third-party application servers;

d.第三方应用服务器向Parlay网关发送对应于IM客户端所选择的即时消息类型的即时消息,Parlay网关将所述即时消息通过IM服务器转发到相应的IM客户端。d. The third-party application server sends an instant message corresponding to the instant message type selected by the IM client to the Parlay gateway, and the Parlay gateway forwards the instant message to the corresponding IM client through the IM server.

这里的设置事件标准接口包括用于标识第三方应用服务器的参数信息和用于标识即时消息订阅任务的参数信息,消息通知接口包括用于标识即时消息订阅任务的参数信息、用于标识用户的参数信息和表示用户订阅内容的即时消息。其中用于标识用户的参数信息是即时通讯业务用户的发送方地址。The setting event standard interface here includes parameter information used to identify the third-party application server and parameter information used to identify the instant message subscription task, and the message notification interface includes parameter information used to identify the instant message subscription task and parameter information used to identify the user Information and instant messages representing user subscriptions. The parameter information used to identify the user is the sender address of the instant messaging service user.

通过本发明的技术方案可以看出,通过由Parlay网关连接多个IM服务器和多个第三方应用服务器,即可将第三方应用服务器提供的增值业务灵活地应用于整个网络,这样系统能为用户提供即时消息的订阅以及向用户广播信息等增值服务,从而促进了网络即时通讯技术的进一步发展。As can be seen from the technical solution of the present invention, by connecting multiple IM servers and multiple third-party application servers by the Parlay gateway, the value-added services provided by the third-party application servers can be flexibly applied to the entire network, so that the system can provide users with Provide value-added services such as instant message subscription and broadcast information to users, thereby promoting the further development of network instant messaging technology.

在本发明的网络即时通讯系统基础上,通过在Parlay网关提供的开放应用编程接口中新增设置事件标准接口和消息通知接口,第三方应用服务器可以直接调用设置事件标准接口将应用服务器所能提供的即时消息类型列表发送到Parlay网关,然后由Parlay网关发送到IM客户端,用户即可在自己的IM客户端上订阅即时消息,并将即时消息订阅请求发送给Parlay网关,Parlay网关然后调用消息通知接口,将用户所订阅的即时消息类型通知第三方应用服务器,这样第三方应用服务器即可将对应用户选择的即时消息类型的即时消息发送给相应用户,从而实现了由第三方应用向即时消息的用户提供即时消息的订阅。On the basis of the network instant messaging system of the present invention, by adding a setting event standard interface and a message notification interface in the open application programming interface provided by the Parlay gateway, the third-party application server can directly call the setting event standard interface to provide the information provided by the application server. The instant message type list is sent to the Parlay gateway, and then sent to the IM client by the Parlay gateway, the user can subscribe to the instant message on his IM client, and send the instant message subscription request to the Parlay gateway, and the Parlay gateway then calls the message The notification interface notifies the third-party application server of the type of instant message subscribed by the user, so that the third-party application server can send the instant message corresponding to the type of instant message selected by the user to the corresponding user, thus realizing the instant message notification from the third-party application of users provide instant messaging subscriptions.

通过本发明的组网结构和根据本发明的即时消息订阅方法,网络即时通讯服务的提供商为第三方应用提供了增值业务应用平台,第三方应用可以利用该平台灵活地开展增值业务,从而促进了包括即时消息订阅业务在内的整个增值业务的发展。对于网络即时通讯服务的提供商来说,在为用户提供个性化业务和差异化服务方面处于领先地位,从而提升了企业形象,极大地促进了其进一步的发展。对于用户来说,可以方便地订阅自己感兴趣的事件,然后即可方便地阅读自己感兴趣的即时消息,得到了极大的便利。因此,本发明能同时促进第三方应用和网络即时通讯服务的提供商的发展,并极大地方便用户,从而具有广阔的市场前景和发展空间。Through the networking structure of the present invention and the instant message subscription method according to the present invention, the provider of the network instant messaging service provides a value-added service application platform for third-party applications, and the third-party applications can use this platform to flexibly develop value-added services, thereby promoting It has promoted the development of the entire value-added service including the instant message subscription service. For network instant messaging service providers, it is in a leading position in providing users with personalized services and differentiated services, thereby enhancing the corporate image and greatly promoting its further development. For the user, it is convenient to subscribe to the events of their own interest, and then to conveniently read the instant messages of their own interest, which brings great convenience. Therefore, the present invention can simultaneously promote the development of third-party applications and network instant messaging service providers, and greatly facilitate users, thereby having broad market prospects and development space.

附图说明 Description of drawings

图1是现有的网络即时通讯系统的组网结构示意图。FIG. 1 is a schematic diagram of a network structure of an existing network instant messaging system.

图2是本发明的网络即时通讯系统的组网结构示意图。Fig. 2 is a schematic diagram of the network structure of the network instant messaging system of the present invention.

图3是本发明方法的总体流程图。Fig. 3 is an overall flowchart of the method of the present invention.

具体实施方式 Detailed ways

下面结合附图和具体实施例对本发明进行进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

图2示出了根据本发明的网络即时通讯系统的结构。从图2可以看出,本发明的网络即时通讯系统包括一个Parlay网关、连接到Parlay网关的SMS、同时连接到Parlay网关的多个第三方应用服务器和多个IM服务器,并且每个IM服务器同时连接了多个IM客户端。Fig. 2 shows the structure of the network instant messaging system according to the present invention. As can be seen from Fig. 2, the network instant messaging system of the present invention comprises a Parlay gateway, is connected to the SMS of Parlay gateway, is connected to a plurality of third-party application servers and a plurality of IM servers of Parlay gateway simultaneously, and each IM server simultaneously Multiple IM clients are connected.

在本发明中,IM服务器提供业务执行环境,负责为接入下一代网络(NGN)中包含的多种网络提供增值业务。同时,IM服务器还通过Parlay网关向用户和网络即时通讯业务提供商之外的第三方开放业务组件,以便第三方能够使用运营商提供的增值业务订阅能力。IM服务器通过SIP/SIMPLE协议和Parlay网关进行通讯。In the present invention, the IM server provides a service execution environment and is responsible for providing value-added services for accessing various networks included in the next generation network (NGN). At the same time, the IM server also opens service components to third parties other than users and network instant messaging service providers through the Parlay gateway, so that third parties can use the value-added service subscription capabilities provided by operators. The IM server communicates with the Parlay gateway through the SIP/SIMPLE protocol.

和现有技术不同,本发明中的SMS连接到Parlay网关,通过Parlay网关同时对连接到该Parlay网关的多个IM服务器进行管理,例如进行参数配置等。当然,可以理解,也可以设置多个SMS,它们分别连接到一部分IM服务器并对所连接的IM服务器进行管理。Different from the prior art, the SMS in the present invention is connected to the Parlay gateway, and simultaneously manages multiple IM servers connected to the Parlay gateway through the Parlay gateway, such as performing parameter configuration and the like. Of course, it can be understood that multiple SMSs can also be set, and they are respectively connected to some IM servers and manage the connected IM servers.

第三方应用服务器连接到Parlay网关,并通过Parlay网关提供的开放应用编程接口(Open API)和Parlay网关通讯。第三方可以是业务提供商,也可以是内容提供商。The third-party application server is connected to the Parlay gateway and communicates with the Parlay gateway through the Open Application Programming Interface (Open API) provided by the Parlay gateway. The third party can be a service provider or a content provider.

上面说明了本发明的系统结构,下面说明本发明利用该系统向用户提供即时消息订阅的方法。The system structure of the present invention has been described above, and the method for using the system to provide users with instant message subscription in the present invention will be described below.

图3示出了本发明的总体流程。从图3可以看出,本发明首先在步骤301中预先在Parlay网关的开放API接口中建立设置事件标准接口和消息通知接口。Fig. 3 shows the overall process of the present invention. As can be seen from FIG. 3 , the present invention first establishes a standard event setting interface and a message notification interface in the open API interface of the Parlay gateway in step 301 .

由于目前IM服务器都是在自己的系统中自成一体,而没有将IM服务器的业务能力开放给第三方,因此目前Parlay网关上没有适合于开放IM服务器的业务能力的接口。要实现本发明的向用户提供即时消息订阅,需要首先在Parlay网关提供的开放API接口中增加设置事件标准接口和消息通知接口。Since the current IM server is self-contained in its own system and does not open the service capability of the IM server to a third party, there is currently no interface suitable for opening the service capability of the IM server on the Parlay gateway. To realize the provision of instant message subscription to users in the present invention, it is first necessary to add a setting event standard interface and a message notification interface to the open API interface provided by the Parlay gateway.

具体地说,在Parlay网关的开放API接口中增加两个消息接口,它们分别是:设置事件标准接口和消息通知接口。其中,设置事件标准接口用于将第三方应用服务器所能提供的即时消息列表发送给Parlay网关,并且可以进一步将包括标识第三方应用服务器的信息发送给Parlay网关。消息通知接口用于将用户订阅情况通知相应的第三方应用服务器,这样第三方应用服务器才能根据用户的订阅情况发送相应的即时消息。Specifically, two message interfaces are added to the open API interface of the Parlay gateway, which are respectively: a standard interface for setting events and an interface for message notification. Wherein, the event standard interface is set to send the instant message list that the third-party application server can provide to the Parlay gateway, and can further send the information including the identification of the third-party application server to the Parlay gateway. The message notification interface is used to notify the corresponding third-party application server of the user's subscription status, so that the third-party application server can send corresponding instant messages according to the user's subscription status.

在一个实施例中,设置事件标准接口是enableIMNotification(appIM:inTpAppIMRef,eventCriteria:in TpIMEventCriteria):TpAssignmentID。其中参数appIM表示具体是哪一个第三方应用服务器提供即时消息,AppIMRef表示第三方应用服务器的引用,也就是标识信息;eventCriteria表示事件标准,包括第三方应用服务器所能提供的即时消息类型列表,例如天气预报、列车时刻信息、商场打折信息等等;返回值TpAssignmentID是该即时消息订阅任务的标识,用于区别每一次的即时消息订阅任务,例如可以设置为001、002等等。In one embodiment, the setting event standard interface is enableIMNotification(appIM: inTpAppIMRef, eventCriteria: in TpIMEventCriteria): TpAssignmentID. The parameter appIM indicates which third-party application server provides instant messages, AppIMRef indicates the reference of the third-party application server, that is, identification information; eventCriteria indicates the event criteria, including the list of instant message types that the third-party application server can provide, for example Weather forecast, train time information, shopping mall discount information, etc.; the return value TpAssignmentID is the identifier of the instant message subscription task, which is used to distinguish each instant message subscription task, for example, it can be set to 001, 002, etc.

消息通知接口是reportIM(assignmentID:in TpAssignmentID,user:inTpAddress,message:in TpString):void。其中assignmentID是即时消息订阅任务的标识,对应于enableIMNotification接口的返回值;user表示订阅了该第三方应用服务器提供的即时消息的用户,其数据类型是Address,也就是即时消息的发送方地址;message是用户发送的具体订阅消息,其数据类型是String,也就是字符串。消息通知接口没有返回值。The message notification interface is reportIM(assignmentID: in TpAssignmentID, user: inTpAddress, message: in TpString): void. The assignmentID is the identifier of the instant message subscription task, which corresponds to the return value of the enableIMNotification interface; user indicates the user who has subscribed to the instant message provided by the third-party application server, and its data type is Address, which is the address of the sender of the instant message; message It is the specific subscription message sent by the user, and its data type is String, that is, a string. The message notification interface has no return value.

在定义了如上消息接口之后,当需要向用户提供即时消息订阅时,在步骤302中通过第三方应用服务器调用Parlay网关的设置事件标准接口,同时将第三方应用服务器标识和可以提供的即时消息类型列表作为参数发送到Parlay网关。After defining the above message interface, when it is necessary to provide instant message subscription to the user, in step 302, the third-party application server calls the setting event standard interface of the Parlay gateway, and at the same time, the third-party application server identifies and can provide instant message types The list is sent to the Parlay gateway as a parameter.

在步骤303中,Parlay网关将第三方应用服务器标识和可以提供的即时消息类型列表发送到相应IM服务器。In step 303, the Parlay gateway sends the third-party application server identifier and the list of available instant message types to the corresponding IM server.

在步骤304中,相应的IM服务器将可以提供的即时消息类型列表发送到用户号码对应的IM客户端。当然可以理解,这里的用户号码可以是所有的用户号码。In step 304, the corresponding IM server sends the list of available instant message types to the IM client corresponding to the user number. Of course, it can be understood that the user number here may be all user numbers.

在步骤305中,用户在IM客户端上阅读到即时消息类型列表后,选择自己感兴趣的即时消息类型进行订阅,也就是将自己选择的结果通过即时消息订阅请求的形式发送给IM服务器。In step 305, after reading the instant message type list on the IM client, the user selects the instant message type he is interested in and subscribes, that is, the result of his selection is sent to the IM server in the form of an instant message subscription request.

在步骤306中,IM服务器将即时消息订阅请求发送给Parlay网关。In step 306, the IM server sends an instant message subscription request to the Parlay gateway.

在步骤307中,Parlay网关调用消息通知接口,向相应的第三方应用服务器返回用户的订阅信息,包括即时消息订阅任务标识、用户标识和表示用户订阅结果的即时消息。In step 307, the Parlay gateway invokes the message notification interface, and returns the user's subscription information to the corresponding third-party application server, including an instant message subscription task ID, a user ID, and an instant message indicating the user's subscription result.

在步骤308中,第三方应用服务器根据接收到的用户所选择的即时消息类型,将符合用户选择的即时消息发送到Parlay网关。In step 308, the third-party application server sends the instant message selected by the user to the Parlay gateway according to the received instant message type selected by the user.

在步骤309中,Parlay网关将来自第三方应用服务器的即时消息通过IM服务器的转发发送到IM客户端。这样,订阅了该即时消息的用户即可阅读到相应信息。In step 309, the Parlay gateway sends the instant message from the third-party application server to the IM client through forwarding by the IM server. In this way, users who have subscribed to the instant message can read the corresponding information.

至此,即可将第三方应用服务器提供的即时消息有选择和有针对性地提供给用户,用户可以通过IM客户端阅读自己感兴趣的信息,例如天气预报、列车时刻信息等等。So far, the instant messages provided by the third-party application server can be selectively and targetedly provided to the user, and the user can read the information they are interested in through the IM client, such as weather forecast, train time information and so on.

通过本发明的组网结构和根据本发明的即时消息订阅的方法,网络即时通讯服务的提供商为第三方应用提供了增值业务应用平台,第三方应用可以利用该平台灵活地开展增值业务,从而促进了包括即时消息订阅业务在内的整个增值业务的发展。对于网络即时通讯服务的提供商来说,在为用户提供个性化业务和差异化服务方面处于领先地位,从而提升了企业形象,极大地促进了其进一步的发展。对于用户来说,可以方便地订阅自己感兴趣的事件,然后即可方便地阅读自己感兴趣的即时消息,得到了极大的便利。因此,本发明能同时促进第三方应用和网络即时通讯服务的提供商的发展,并极大地方便用户,从而具有广阔的市场前景和发展空间。Through the networking structure of the present invention and the instant message subscription method according to the present invention, the provider of the network instant messaging service provides a value-added service application platform for third-party applications, and the third-party applications can use this platform to flexibly develop value-added services, thereby It has promoted the development of the entire value-added service including the instant message subscription service. For network instant messaging service providers, it is in a leading position in providing users with personalized services and differentiated services, thereby enhancing the corporate image and greatly promoting its further development. For the user, it is convenient to subscribe to the events of their own interest, and then to conveniently read the instant messages of their own interest, which brings great convenience. Therefore, the present invention can simultaneously promote the development of third-party applications and network instant messaging service providers, and greatly facilitate users, thereby having broad market prospects and development space.

可以理解,上述仅仅是本发明精神的展示,而不是限制。It can be understood that the foregoing is only an illustration of the spirit of the present invention, rather than a limitation.

Claims (7)

1. network instant communication system, comprise the mutual IM client that is used to send and receive the IM server of instant message IM and is used for carrying out the network instant communication business with the user, one of them IM server connects the IM client more than or equal to 1 simultaneously, it is characterized in that, this system further comprises a Parlay gateway and more than or equal to third party's application server of 1, and described Parlay gateway connects simultaneously more than or equal to 1 IM server and more than or equal to third party's application server of 1;
Described third party's application server is used for providing third party's network instant communication business to the user, and the open applications DLL (dynamic link library) and the communication of Parlay gateway that provide by the Parlay gateway, described IM server is by SIP/SIMPLE agreement and the communication of Parlay gateway;
Described IM client is used for subscribing to instant message by IM server and Parlay gateway to third party's application server successively;
Described third party's application server is used for sending to the IM client by Parlay gateway and the IM server instant message that the IM client is ordered successively.
2. network instant communication system according to claim 1 is characterized in that, this system further comprises the business management system SMS of the function that is used for managing I M server.
3. network instant communication system according to claim 2 is characterized in that, described SMS is one, and a described SMS is connected to the Parlay gateway and passes through all IM servers in the Parlay gateway management network instant communication system.
4. network instant communication system according to claim 2 is characterized in that, described SMS is more than or equal to 1, and described SMS more than or equal to 1 is connected respectively to the IM server more than or equal to 1, and manages the IM server that is connected with oneself.
5. a method that provides instant message to subscribe to comprises the steps: at least
A. increase in the open applications DLL (dynamic link library) that third party's application server provides at the Parlay gateway in advance event criteria interface and message informing interface are set, the described event criteria interface that is provided with comprises the instant message list of types that third party's application server provides at least;
B. third party's application server sends the instant message list of types that third party's application server can provide by calling the described event criteria interface that is provided with to the Parlay gateway, and the Parlay gateway sends to corresponding IM client with described instant message list of types by the IM server;
The c.IM client is selected the instant message type from described instant message list of types, and by the IM server to the Parlay gateway subscribe request that transfers immediate news, the Parlay gateway calls described message informing interface, with the selected instant message type notification of IM client third party application server;
D. third party's application server is to the instant message of Parlay gateway transmission corresponding to the selected instant message type of IM client, and the Parlay gateway arrives corresponding IM client with described instant message by the IM server forwards.
6. the method that provides instant message to subscribe to according to claim 5, it is characterized in that, the event criteria interface is set comprises the parameter information that is used to identify the parameter information of third party's application server and is used to identify the instant message subscription task, the message informing interface comprises the instant message of the parameter information that is used to identify the instant message subscription task, the parameter information that is used for identifying user and expression user subscribed content.
7. the method that provides instant message to subscribe to according to claim 6 is characterized in that the described parameter information that is used for identifying user is the sender address of instant messaging service-user.
CN2004100741240A 2004-08-31 2004-08-31 A network instant messaging system and method for providing instant message subscription Expired - Fee Related CN100407710C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2004100741240A CN100407710C (en) 2004-08-31 2004-08-31 A network instant messaging system and method for providing instant message subscription

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2004100741240A CN100407710C (en) 2004-08-31 2004-08-31 A network instant messaging system and method for providing instant message subscription

Publications (2)

Publication Number Publication Date
CN1744582A CN1744582A (en) 2006-03-08
CN100407710C true CN100407710C (en) 2008-07-30

Family

ID=36139778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2004100741240A Expired - Fee Related CN100407710C (en) 2004-08-31 2004-08-31 A network instant messaging system and method for providing instant message subscription

Country Status (1)

Country Link
CN (1) CN100407710C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098449A (en) * 2006-06-28 2008-01-02 中兴通讯股份有限公司 Video conference business operation system and conference holding method
CN102026106B (en) * 2009-09-10 2014-01-01 中兴通讯股份有限公司 A platform and method for realizing balanced delivery of traffic to multiple downstream nodes
CN102215568B (en) * 2010-04-09 2014-01-22 华为技术有限公司 Event scheduling control method, device and system
KR101954468B1 (en) * 2011-05-16 2019-03-05 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Multi-data type communications system
US9634963B2 (en) 2013-04-16 2017-04-25 Tencent Technology (Shenzhen) Company Limited Method and system for handling message on instant messaging open platform
CN104113465B (en) * 2013-04-16 2015-10-21 腾讯科技(深圳)有限公司 Realize the method and system of Message Processing in instant messaging open platform
US10474319B2 (en) 2013-04-25 2019-11-12 Tencent Technology (Shenzhen) Company Limited Methods and instant messaging client devices for performing IM using menu option
CN103297325B (en) * 2013-05-13 2016-09-21 小米科技有限责任公司 Method, device and equipment mutual with third-party application in instant communicating system
CN104468142B (en) * 2014-10-30 2018-03-20 海尔优家智能科技(北京)有限公司 A kind of method and apparatus of subscribing notification
CN105656971B (en) * 2014-11-24 2019-02-05 中国移动通信集团公司 A method, device and system for establishing a message subscription relationship between nodes
CN104717131B (en) 2015-02-13 2017-09-15 腾讯科技(深圳)有限公司 Information interacting method and server
CN108667865B (en) * 2017-03-29 2019-07-26 北京数聚鑫云信息技术有限公司 A kind of API request processing method and processing device
CN109639566B (en) * 2018-12-14 2022-04-05 杭州安司源科技有限公司 Open instant messaging chat robot system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319973A (en) * 1999-12-02 2001-10-31 索尼国际(欧洲)股份有限公司 Instant message transmission protocol
CN1468019A (en) * 2003-06-06 2004-01-14 腾讯科技(深圳)有限公司 Method and system for implementing application of cell phone picture and ring in instant communication tools
CN1482787A (en) * 2002-09-10 2004-03-17 腾讯科技(深圳)有限公司 Method for implementing multimedia short message intercommunion between instant communication tool and mobile phone
WO2004042573A1 (en) * 2002-11-05 2004-05-21 Telefonaktiebolaget Lm Ericsson (Publ) Remote service invocation in heterogeneous networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1319973A (en) * 1999-12-02 2001-10-31 索尼国际(欧洲)股份有限公司 Instant message transmission protocol
CN1482787A (en) * 2002-09-10 2004-03-17 腾讯科技(深圳)有限公司 Method for implementing multimedia short message intercommunion between instant communication tool and mobile phone
WO2004042573A1 (en) * 2002-11-05 2004-05-21 Telefonaktiebolaget Lm Ericsson (Publ) Remote service invocation in heterogeneous networks
CN1468019A (en) * 2003-06-06 2004-01-14 腾讯科技(深圳)有限公司 Method and system for implementing application of cell phone picture and ring in instant communication tools

Also Published As

Publication number Publication date
CN1744582A (en) 2006-03-08

Similar Documents

Publication Publication Date Title
CN102907076B (en) For the general address book of enable renewal electronic business card
US8504081B2 (en) Systems and methods for providing communications services using assigned codes
US7805532B2 (en) Platform for interoperability
US8804917B2 (en) System and method for providing a personalized identity to a destination
US8145257B2 (en) Apparatus and method for providing mobile instant messaging service
US7441016B2 (en) Service authorizer
US20030158902A1 (en) Multimedia instant communication system and method
EP1958401B1 (en) Message modification apparatus and method
US20080096592A1 (en) Systems and Methods for Providing Communications Services Using Assigned Codes
US20050044159A1 (en) Messaging system
US20090177794A1 (en) Subscriber driven media agnostic content delivery across networks
FI114773B (en) A method and apparatus for transmitting activity-based presence information
WO2008122216A1 (en) Method, platform, service server and system for providing advertisement in the communication service
KR20050056936A (en) Mthhod and system for displaying group chat sessions on wireless mobile terminals
KR101669307B1 (en) Multimodal conversation park and retrieval
WO2007071145A1 (en) Method for realizing group-sending message service, device and system for the same
KR100899756B1 (en) Method and system for providing multimedia portal contents in communication system
CN100407710C (en) A network instant messaging system and method for providing instant message subscription
CN101150531A (en) System and method for realizing message intercommunication
TW200937215A (en) Dynamic, subscriber driven charging models for media distribution
US8199763B2 (en) Universal internet telephone system
US7586898B1 (en) Third party content for internet caller-ID messages
KR100964211B1 (en) Method and system for providing multimedia portal contents and additional services in communication system
US8458265B1 (en) Method and computer-readable medium for social network audio exchange with push-to-talk
US20110145343A1 (en) Method and apparatus for enabling communications between users

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080730