CN100362836C - A method of broadcasting instant messages - Google Patents
A method of broadcasting instant messages Download PDFInfo
- Publication number
- CN100362836C CN100362836C CNB2004100741236A CN200410074123A CN100362836C CN 100362836 C CN100362836 C CN 100362836C CN B2004100741236 A CNB2004100741236 A CN B2004100741236A CN 200410074123 A CN200410074123 A CN 200410074123A CN 100362836 C CN100362836 C CN 100362836C
- Authority
- CN
- China
- Prior art keywords
- message
- broadcast
- response
- broadcasting
- interface
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种广播即时消息的方法。在该方法中,预先在Parlay网关向第三方应用服务器提供的开放应用编程接口中增加用于广播消息的接口,该接口至少包含要广播的即时消息参数。在需要广播即时消息时,第三方应用服务器通过调用用于广播消息的接口向Parlay网关发送要广播的即时消息;然后Parlay网关将接收的即时消息通过IM服务器发送到相应的IM客户端。
The invention discloses a method for broadcasting instant messages. In this method, an interface for broadcasting messages is added in advance in the open application programming interface provided by the Parlay gateway to the third-party application server, and the interface at least includes parameters of the instant message to be broadcasted. When an instant message needs to be broadcast, the third-party application server sends the instant message to be broadcast to the Parlay gateway by calling the interface for broadcasting the message; then the Parlay gateway sends the received instant message to the corresponding IM client through the IM server.
Description
技术领域 technical field
本发明涉及网络即时通讯技术,具体涉及一种向即时消息的用户广播即时消息的方法。The invention relates to network instant messaging technology, in particular to a method for broadcasting instant messages 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 method for broadcasting instant messages to users, by which third-party applications can broadcast instant messages to users of instant messages, thereby promoting the further development of network instant messaging technology .
本发明的上述目的是通过如下的技术方案予以实现的:Above-mentioned purpose of the present invention is achieved by following technical scheme:
一种广播即时消息的方法,至少包括如下步骤:A method for broadcasting instant messages at least includes the following steps:
a.预先在固定或移动电话网的开放式的应用编程接口标准(Parlay)网关向第三方应用服务器提供的开放应用编程接口中增加用于广播消息的接口,所述用于广播消息的接口至少包含要广播的即时消息参数;a. Add an interface for broadcasting messages in advance in the open application programming interfaces provided by the open application programming interface standard (Parlay) gateway of the fixed or mobile telephone network to the third-party application server, and the interface for broadcasting messages is at least Contains the instant message parameters to be broadcast;
b.第三方应用服务器通过调用所述用于广播消息的接口向Parlay网关发送要广播的即时消息;b. The third-party application server sends the instant message to be broadcast to the Parlay gateway by calling the interface for broadcasting the message;
c.Parlay网关将接收的即时消息通过IM服务器发送到相应的IM客户端。c. The Parlay gateway sends the received instant message to the corresponding IM client through the IM server.
在上述方法中,用于广播消息的接口进一步包括一个用于表示消息广播对象的目的用户号码参数,所述步骤c中Parlay网关通过IM服务器将接收的即时消息发送到对应于所述目的用户号码的IM客户端。In the above method, the interface for broadcasting messages further includes a parameter for indicating the destination user number of the message broadcast object, and in the step c, the Parlay gateway sends the received instant message to the number corresponding to the destination user through the IM server IM client.
在上述方法中,用于广播消息的接口不包括用于表示消息广播对象的目的用户号码参数,或者包括一个用户号码参数且该参数包含所有用户号码,所述步骤c中Parlay网关通过IM服务器将接收的即时消息发送到所有IM客户端。In the above method, the interface for broadcasting messages does not include the destination user number parameter used to represent the message broadcast object, or includes a user number parameter and this parameter includes all user numbers, and in the step c, the Parlay gateway passes the IM server. Received instant messages are sent to all IM clients.
该方法可以进一步包括建立广播消息成功通知接口和广播消息失败通知接口,所述广播消息成功通知接口和广播消息失败通知接口包括广播任务的标识信息参数,所述用于广播消息的接口进一步包括一个用于表示是否返回广播消息结果的参数以及广播任务的标识信息参数,该方法在步骤c之后进一步包括:The method may further include establishing a broadcast message success notification interface and a broadcast message failure notification interface, the broadcast message success notification interface and the broadcast message failure notification interface include the identification information parameters of the broadcast task, and the interface for broadcast messages further includes a A parameter used to indicate whether to return a broadcast message result and an identification information parameter of a broadcast task, the method further includes after step c:
Parlay网关根据所述是否返回广播消息结果的参数确定是否返回广播消息结果,如果是,执行下一步;否则结束本流程;The Parlay gateway determines whether to return the broadcast message result according to the parameter of whether to return the broadcast message result, if yes, executes the next step; otherwise, ends the process;
Parlay网关进一步根据IM服务器的响应确定广播消息是否成功,如果是,通过调用广播消息成功通知接口向相应的第三方应用服务器返回广播任务的标识信息所代表的广播消息成功的通知;否则通过调用广播消息失败通知接口向相应的第三方应用服务器返回广播任务的标识信息所代表的广播消息失败的通知。The Parlay gateway further determines whether the broadcast message is successful according to the response of the IM server, and if so, returns a successful notification of the broadcast message represented by the identification information of the broadcast task to the corresponding third-party application server by calling the broadcast message success notification interface; otherwise, calls the broadcast message success notification interface to the corresponding third-party application server; The message failure notification interface returns a notification that the broadcast message represented by the identification information of the broadcast task fails to the corresponding third-party application server.
其中IM服务器的响应包括表示消息广播成功的200响应、表示客户端错误的4XX响应、表示服务器错误的5XX响应以及表示全局服务错误的6XX响应;Parlay网关根据IM服务器的响应确定广播消息是否成功的步骤包括:如果接收的响应是200响应,确定广播消息成功;如果接收的响应是4XX响应、5XX响应或6XX响应,确定广播消息失败。The response of the IM server includes a 200 response indicating that the message broadcast is successful, a 4XX response indicating a client error, a 5XX response indicating a server error, and a 6XX response indicating a global service error; the Parlay gateway determines whether the broadcast message is successful based on the response of the IM server The steps include: if the received response is a 200 response, determine that the broadcast message is successful; if the received response is a 4XX response, 5XX response or 6XX response, determine that the broadcast message fails.
广播消息失败通知接口进一步包括表示失败原因的参数,Parlay网关通过调用广播消息失败通知接口向相应的第三方应用服务器返回广播消息失败的通知的同时向第三方应用服务器返回失败原因信息。这里的失败原因信息是IM服务器的响应值。进一步,响应值是表示客户端错误的4XX响应、表示服务器错误的5XX响应和表示全局服务错误的6XX响应中的一种。The broadcast message failure notification interface further includes parameters indicating failure reasons, and the Parlay gateway returns failure reason information to the third-party application server while returning a notification of broadcast message failure to the corresponding third-party application server by calling the broadcast message failure notification interface. The failure reason information here is the response value of the IM server. Further, the response value is one of a 4XX response indicating a client error, a 5XX response indicating a server error, and a 6XX response indicating a global service error.
通过本发明的技术方案可以看出,通过在Parlay网关向第三方应用服务器提供的开放应用编程接口中新增用户广播消息的接口,第三方应用服务器可以直接调用该接口将要广播的即时消息发送到Parlay网关,然后由Parlay网关通过IM服务器广播到IM客户端,用户即可在自己的IM客户端上阅读第三方应用的广播信息,从而实现了由第三方应用向即时消息的用户进行即时消息的广播。As can be seen from the technical solution of the present invention, by adding an interface for user broadcast messages in the open application programming interface provided by the Parlay gateway to the third-party application server, the third-party application server can directly call the interface to send the instant message to be broadcast to The Parlay gateway, and then the Parlay gateway broadcasts to the IM client through the IM server, and the user can read the broadcast information of the third-party application on his own IM client, thus realizing the instant message from the third-party application to the instant message user broadcast.
通过本发明的广播即时消息的方法,网络即时通讯服务的提供商为第三方应用提供了增值业务应用平台,第三方应用可以利用该平台灵活地开展增值业务,从而促进了包括广播即时消息业务在内的整个增值业务的发展。对于网络即时通讯服务的提供商来说,在为用户提供个性化业务和差异化服务方面处于领先地位,从而提升了企业形象,极大地促进了其进一步的发展。对于用户来说,不需要任何设置和注册就可以得知例如重大新闻事件、商场打折信息等等消息,得到了极大的便利。因此,本发明能同时促进第三方应用和网络即时通讯服务的提供商的发展,并极大地方便用户,从而具有广阔的市场前景和发展空间。Through the method for broadcasting instant messages of 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 the use of broadcast instant message services in The development of the entire value-added business within. 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 users, it is very convenient to know news such as major news events, shopping mall discount information, etc. without any setting and registration. 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 flow chart of the present invention.
图4是IM服务器、Parlay网关和第三方应用服务器之间的消息交互图。Fig. 4 is a message interaction diagram among the IM server, the Parlay gateway and the third-party application server.
具体实施方式 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 customization 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 broadcasting instant messages to users by using the system of 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 an interface for broadcasting instant messages to users in the open API interface of the Parlay gateway in
由于目前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 implement the broadcasting of instant messages to users in the present invention, it is first necessary to add an interface for message broadcasting in the open API interface provided by the Parlay gateway.
具体地说,在Parlay网关的开放API接口中增加三个消息接口,它们分别是:广播消息接口、广播消息成功通知接口和广播消息失败通知接口。其中,广播消息接口用于接收第三方应用服务器发送的广播消息,广播消息成功通知接口用于向第三方应用服务器返回向用户广播消息成功的信息,而广播消息失败通知接口则用于向第三方应用服务器返回向用户广播消息失败的信息。当然可以理解,如果第三方应用服务器不需要知道向用户广播消息的反馈信息,也就是不需要知道向用户广播消息是成功还是失败,那么可以不建立广播消息成功通知接口消息和广播消息失败通知接口消息。Specifically, three message interfaces are added to the open API interface of the Parlay gateway, which are respectively: a broadcast message interface, a broadcast message success notification interface, and a broadcast message failure notification interface. Among them, the broadcast message interface is used to receive the broadcast message sent by the third-party application server, the broadcast message success notification interface is used to return to the third-party application server The application server returns information that the message broadcast to the user failed. Of course, it can be understood that if the third-party application server does not need to know the feedback information of the broadcast message to the user, that is, it does not need to know whether the broadcast message to the user is successful or failed, then it is not necessary to establish a broadcast message success notification interface message and a broadcast message failure notification interface information.
在一个实施例中,广播消息接口可以是:broadcastIMReq(groupUsers:inTpAddressRange,message:TpString,responseRequested:TpBoolean):TpAssignmentID。其中参数groupUsers表示要将即时消息广播给该号码范围,也就是这些号码代表的用户,其数据类型为AddressRange,也就是地址范围;参数message表示要广播的具体即时消息,其数据类型为String,也就是字符串;参数responseRequested表示是否需要向第三方应用服务器返回广播消息结果,其数据类型是Boolean,也就是一个布尔值;返回值TpAssignmentID是该广播任务的标识,用于区别每一次的广播任务,例如可以设置为001、002等等。In one embodiment, the broadcast message interface may be: broadcastIMReq(groupUsers: inTpAddressRange, message: TpString, responseRequested: TpBoolean): TpAssignmentID. Among them, the parameter groupUsers indicates that the instant message will be broadcast to the number range, that is, the users represented by these numbers, and its data type is AddressRange, that is, the address range; the parameter message indicates the specific instant message to be broadcast, and its data type is String, also It is a string; the parameter responseRequested indicates whether to return the broadcast message result to the third-party application server, and its data type is Boolean, which is a Boolean value; the return value TpAssignmentID is the identifier of the broadcast task, which is used to distinguish each broadcast task. For example, it can be set to 001, 002 and so on.
广播消息成功通知接口可以是:broadcastIMRes(assignmentID:inTpAssignmentID):void。其中参数assignmentID是广播任务的标识,对应于broadcastIMReq接口的返回值。该接口没有返回值。The interface for notifying the success of the broadcast message may be: broadcastIMRes(assignmentID: inTpAssignmentID): void. The parameter assignmentID is the identifier of the broadcast task, corresponding to the return value of the broadcastIMReq interface. This interface has no return value.
广播消息失败通知接口可以是:broadcastIMErr(assignmentID:inTpAssignmentID,cause:in TpIMError):void。其中参数assignmentID是广播任务的标识,对应于broadcastIMReq接口的返回值;参数cause标识广播失败的原因,用将在后面详细说明的具体数值表示。该接口没有返回值。The broadcast message failure notification interface can be: broadcastIMErr(assignmentID: inTpAssignmentID, cause: in TpIMError): void. The parameter assignmentID is the identifier of the broadcast task, which corresponds to the return value of the broadcastIMReq interface; the parameter cause identifies the reason for the broadcast failure, which is represented by a specific value that will be described in detail later. This interface has no return value.
在定义了如上消息接口之后,当第三方应用需要向用户广播即时消息时,在步骤302中通过第三方应用服务器调用Parlay网关的广播消息接口,同时将目的用户号码信息、要广播的具体即时消息和是否需要得知广播结果的信息作为参数发送到Parlay网关。After the above message interface is defined, when the third-party application needs to broadcast an instant message to the user, in
在步骤303中,Parlay网关将要广播的具体即时消息按照目的用户号码信息发送到相应IM服务器。In
在步骤304中,相应的IM服务器再根据目的用户号码信息将要广播的即时消息发送到用户号码对应的IM客户端。In
在步骤305中,Parlay网关根据是否需要返回广播消息结果的参数信息确定是否需要向第三方应用服务器返回广播消息结果信息。如果是,执行步骤306,否则结束本流程。In
在步骤306中,Parlay网关进一步判断向用户发送广播消息是否成功。如果是,执行步骤307,否则执行步骤308。In
在步骤307中,Parlay网关向相应的第三方应用服务器返回广播成功消息,也就是调用广播消息成功通知接口,告知第三方应用服务器广播成功。广播成功消息中包含了该广播任务的标识,这样第三方应用服务器知道是哪一个广播任务已经成功执行。In
在步骤308中,Parlay网关向相应的第三方应用服务器返回广播失败消息,也就是调用广播消息失败通知接口,告知第三方应用服务器广播失败。广播失败消息中包含了该广播任务的标识,这样第三方应用服务器知道是哪一个广播任务执行失败。另外,可以进一步将广播失败的原因通过广播失败消息返回给第三方应用服务器。In
至此,本流程结束。So far, this process ends.
图4是本发明的消息交互图。从图4可以看出,首先第三方应用服务器调用broadcastIMReq接口,向Parlay网关发送目的用户号码信息、要广播的具体即时消息和是否需要得知广播结果的信息。Parlay网关在接收到这些信息后,将具体即时消息发送给目的用户号码对应的一个或多个IM服务器。Fig. 4 is a message interaction diagram of the present invention. It can be seen from Figure 4 that first, the third-party application server invokes the broadcastIMReq interface, and sends the destination user number information, the specific instant message to be broadcast, and information about whether the broadcast result needs to be known to the Parlay gateway. After receiving the information, the Parlay gateway sends the specific instant message to one or more IM servers corresponding to the destination user number.
然后,IM服务器将具体即时消息发送给相应的IM客户端,并根据该发送是否成功向Parlay网关返回相应的响应值。这些响应值包括表示发送成功的200响应、表示客户端错误的4XX响应、表示服务器错误的5XX响应以及表示全局服务错误的6XX响应。Then, the IM server sends the specific instant message to the corresponding IM client, and returns a corresponding response value to the Parlay gateway according to whether the sending is successful. These response values include a 200 response for a successful send, a 4XX response for a client error, a 5XX response for a server error, and a 6XX response for a global service error.
在接收到这些响应值之后,Parlay网关根据第三方应用服务器是否需要得知广播结果的信息确定是否返回广播结果信息。如果不需要返回广播结果信息,流程结束。如果需要返回广播结果信息,对于200响应,调用broadcastIMRes,表示广播成功;对于4XX响应、5XX响应和6XX响应,调用broadcastIMErr,表示广播失败。在发送广播失败信息时,可以进一步将响应值附加在消息中,从而告知第三方应用服务器发送广播消息失败的原因。After receiving these response values, the Parlay gateway determines whether to return the broadcast result information according to whether the third-party application server needs to know the broadcast result information. If there is no need to return broadcast result information, the process ends. If it is necessary to return broadcast result information, call broadcastIMRes for 200 responses, indicating that the broadcast is successful; for 4XX responses, 5XX responses, and 6XX responses, call broadcastIMErr, indicating that the broadcast has failed. When sending the broadcast failure information, the response value may be further added to the message, so as to inform the third-party application server of the reason for the failure of sending the broadcast message.
上面是网络侧对于广播即时消息的处理,对于用户来说,只需要在IM客户端上显示和查看所接收的广播消息即可。The above is the processing of the broadcast instant message on the network side. For the user, it is only necessary to display and view the received broadcast message on the IM client.
通过本发明的组网结构和根据本发明的广播即时消息的方法,网络即时通讯服务的提供商为第三方应用提供了增值业务应用平台,第三方应用可以利用该平台灵活地开展增值业务,从而促进了包括广播即时消息业务在内的整个增值业务的发展。对于网络即时通讯服务的提供商来说,在为用户提供个性化业务和差异化服务方面处于领先地位,从而提升了企业形象,极大地促进了其进一步的发展。对于用户来说,不需要任何设置和注册就可以得知例如重大新闻事件、商场打折信息等等消息,得到了极大的便利。因此,本发明能同时促进第三方应用和网络即时通讯服务的提供商的发展,并极大地方便用户,从而具有广阔的市场前景和发展空间。Through the networking structure of the present invention and the method for broadcasting instant messages 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 broadcast instant message 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 users, it is very convenient to know news such as major news events, shopping mall discount information, etc. without any setting and registration. 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 (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100741236A CN100362836C (en) | 2004-08-31 | 2004-08-31 | A method of broadcasting instant messages |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100741236A CN100362836C (en) | 2004-08-31 | 2004-08-31 | A method of broadcasting instant messages |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1744581A CN1744581A (en) | 2006-03-08 |
| CN100362836C true CN100362836C (en) | 2008-01-16 |
Family
ID=36139777
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100741236A Expired - Fee Related CN100362836C (en) | 2004-08-31 | 2004-08-31 | A method of broadcasting instant messages |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100362836C (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1319973A (en) * | 1999-12-02 | 2001-10-31 | 索尼国际(欧洲)股份有限公司 | Instant message transmission protocol |
| US20030093480A1 (en) * | 2001-11-15 | 2003-05-15 | International Business Machines Corporation | Accessing information using an instant messaging system |
| WO2004042573A1 (en) * | 2002-11-05 | 2004-05-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Remote service invocation in heterogeneous networks |
| CN1499790A (en) * | 2002-11-08 | 2004-05-26 | 深圳市中兴通讯股份有限公司 | Method of interface for opening service to outside world through soft exchange facilities |
-
2004
- 2004-08-31 CN CNB2004100741236A patent/CN100362836C/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1319973A (en) * | 1999-12-02 | 2001-10-31 | 索尼国际(欧洲)股份有限公司 | Instant message transmission protocol |
| US20030093480A1 (en) * | 2001-11-15 | 2003-05-15 | International Business Machines Corporation | Accessing information using an instant messaging system |
| WO2004042573A1 (en) * | 2002-11-05 | 2004-05-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Remote service invocation in heterogeneous networks |
| CN1499790A (en) * | 2002-11-08 | 2004-05-26 | 深圳市中兴通讯股份有限公司 | Method of interface for opening service to outside world through soft exchange facilities |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1744581A (en) | 2006-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8327024B2 (en) | System and method for SMS/IP interoperability | |
| US7805532B2 (en) | Platform for interoperability | |
| US8804917B2 (en) | System and method for providing a personalized identity to a destination | |
| EP2119258B1 (en) | System and method for communicating the state of a wireless user device in a wireless domain to an application server in an internet protocol (ip) domain | |
| US20090221307A1 (en) | Group communications | |
| US20050277431A1 (en) | System and method for managing wireless data communications | |
| US20050044159A1 (en) | Messaging system | |
| MXPA04006881A (en) | METHOD AND SYSTEM TO FACILITATE COMMUNICATION NETWORK SERVICES THROUGH DATA PUBLICATION THROUGH A SENALIZATION SERVER. | |
| WO2007071145A1 (en) | Method for realizing group-sending message service, device and system for the same | |
| WO2004054346A2 (en) | Dynamic user state dependent processing | |
| CN100407710C (en) | A network instant messaging system and method for providing instant message subscription | |
| CN106487644A (en) | A kind of communication means and system | |
| US8300628B2 (en) | Method and system for transmitting supplementary data, and communication terminal | |
| GB2457006A (en) | Device communication without revealing mobile station international ISDN number (MSISDN) | |
| 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 | |
| CN106487755A (en) | A kind of method and device setting up session | |
| CN103888343A (en) | Cpm Service Provisioning System And Method For Interworking With Non-Cpm Service | |
| CN103718168B (en) | For activating mobile device to initiate the system and method for communication | |
| US8458265B1 (en) | Method and computer-readable medium for social network audio exchange with push-to-talk | |
| KR102795060B1 (en) | Systems and methods for providing improved features for caller ring backtones | |
| CN100362836C (en) | A method of broadcasting instant messages | |
| JP2009296100A (en) | Message communication processing method, message communication processing system, and communication terminal unit | |
| US20070046823A1 (en) | Color multimedia message | |
| CN100581197C (en) | Method and system for acquiring media characteristic information and terminal equipment |
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 |
Granted publication date: 20080116 Termination date: 20140831 |
|
| EXPY | Termination of patent right or utility model |