CN100362836C - Method for announcing instant message - Google Patents
Method for announcing instant message 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
- broadcast
- instant message
- server
- interface
- party
- 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
Abstract
The present invention discloses a method for broadcasting instant messages. In the method, an interface for broadcasting messages is added in open application program interfaces which a Parlay gateway provides for a third party application server; the interface at least comprises the parameters of an instant message to be broadcast. When the instant message needs broadcasting, the third party application server sends the instant message needing broadcasting to the Parlay gateway through calling the interface for broadcasting the messages; then, the Parlay gateway sends the received instant message to a corresponding IM client through the IM server.
Description
Technical field
The present invention relates to the network instant communication technology, be specifically related to a kind of method of the users broadcasting instant message to instant message.
Background technology
Along with the progressively maturation and fast-developing of the Internet, the user of the Internet is also more and more, and more and more important role has been played the part of in the Internet in people's life.For example, people can or carry out shopping online or the like by internet browsing news, send Email.And at present, network instant communication also more and more becomes the focus of internet, applications, and increasing people uses the network instant communication technology and people all over the world gets in touch immediately.By instant messaging, people can obtain message apace, also can promote friendship by mutual communication.
Present network instant communication system as shown in Figure 1.As can be seen from Figure 1, a network instant communication system is by an instant message (IM, Instant Messaging) server, a plurality of IM clients that are connected to a business management system (SMS, Service Management System) of IM server and are connected to the IM server are simultaneously formed.Wherein, the IM server is the core of whole network instant communication system, it is used for providing the ability that sends and receive instant message by the IM client to the personal user of IM client, the instant message here can be a text message, also can be the Multimedia Message that comprises voice, picture and consecutive image.The IM client is the client of instant communicating system, the user can use the various functions of network instant communication business by the IM client, for example adds buddy list, stranger's list or blacklist, the inquiring user state, send literal or speech message, send file or the like.SMS is used for the business management system that the function to the IM server manages, and is used for parameter to system and is configured and carries out some other bookkeeping.In whole network instant communication system, at present mainly adopt four kinds of agreements, they are respectively that the process of timely information and space agreement (IMPP), space and instant messages agreement (PRIM), Session Initiation Protocol/expand at instant messaging and spatial balance begins agreement (SIMPLE) and extended message and space agreement (XMPP).
In present network instant communication technology, can only realize chat and file-sharing service by network instant communication, can't realize the subscription of user interest information for example easily or to value-added services such as users broadcasting information.So not only brought inconvenience, also limited the business development of the provider of network instant communication service simultaneously, therefore limited popularizing and further developing of network instant communication technology on the whole for the user uses the network instant communication service.
Summary of the invention
In view of this, an object of the present invention is to provide a kind of method to the users broadcasting instant message, can carry out the broadcasting of instant message to the user of instant message by third party's application by this method, thereby can promote further developing of network instant communication technology.
Above-mentioned purpose of the present invention is achieved by the following technical solutions:
A kind of method of announcing instant message comprises the steps: at least
A. increase the interface that is used for broadcast at open API standard (Parlay) gateway of fixing or mobile telephone network in the open applications DLL (dynamic link library) that third party's application server provides in advance, the described interface that is used for broadcast comprises the instant message parameter that will broadcast at least;
B. third party's application server sends the instant message that will broadcast by calling the described interface that is used for broadcast to the Parlay gateway;
The c.Parlay gateway sends to corresponding IM client with the instant message that receives by the IM server.
In said method, the interface that is used for broadcast further comprises a purpose Subscriber Number parameter that is used to represent the information broadcast object, and the Parlay gateway sends to IM client corresponding to described purpose Subscriber Number by the IM server with the instant message that receives among the described step c.
In said method, the interface that is used for broadcast does not comprise the purpose Subscriber Number parameter that is used to represent the information broadcast object, comprise that perhaps a Subscriber Number parameter and this parameter comprise all Subscriber Numbers, the Parlay gateway sends to all IM clients by the IM server with the instant message that receives among the described step c.
This method may further include sets up broadcast success notification interface and broadcast failure notification interface, described broadcast success notification interface and broadcast failure notification interface comprise the identification information parameter of broadcasting task, the described interface that is used for broadcast comprises further one is used to represent whether to return broadcast result's the parameter and the identification information parameter of broadcasting task, and this method further comprises after step c:
The Parlay gateway determines whether to return the broadcast result according to the described parameter of whether returning the broadcast result, if carry out next step; Otherwise process ends;
The Parlay gateway further determines according to the response of IM server whether broadcast is successful, if, by calling broadcast success notification interface returns the notice of broadcast success from the identification information representative of broadcasting task to corresponding third party's application server; Otherwise by calling broadcast failure notification interface returns the notice of broadcast failure from the identification information representative of broadcasting task to corresponding third party's application server.
Wherein the response of IM server comprises 200 responses of expression information broadcast success, the 4XX of expression client error, the 5XX of expression server error and the 6XX of expression global service mistake; The Parlay gateway determines according to the response of IM server whether successful step comprises broadcast: if the response that receives is 200 responses, determine the broadcast success; If the response that receives is 4XX, 5XX or 6XX, determine the broadcast failure.
Broadcast failure notification interface further comprises the parameter of representing failure cause, and the Parlay gateway returns failure cause information to third party's application server by calling broadcast failure notification interface when corresponding third party's application server returns the notice of broadcast failure.The failure cause information here is the response of IM server.Further, response is a kind of in the 6XX of the 5XX of 4XX, expression server error of expression client error and expression global service mistake.
By technical scheme of the present invention as can be seen, interface by the broadcast that in the open applications DLL (dynamic link library) that third party's application server provides, Adds User at the Parlay gateway, third party's application server can directly call the instant message that this interface will broadcast and send to the Parlay gateway, pass through the IM server broadcast to the IM client by the Parlay gateway then, the user can read the broadcast message that the third party uses on the IM client of oneself, thereby has realized carrying out the broadcasting of instant message by third party's application to the user of instant message.
Method by announcing instant message of the present invention, the provider of network instant communication service provides the value-added service application platform for the third party uses, the third party uses and can utilize this platform developing value-added services neatly, thereby has promoted to comprise the development of the whole value-added service of announcing instant message business.For the provider of network instant communication service, maintain the leading position aspect individual business and the differentiated service providing, thereby promoted corporate image for the user, greatly promoted its further development.For the user,, obtained great facility without any need for being provided with and registering and just can learn for example grave news incident, market information of discount or the like message.Therefore, the present invention can promote the third party to use the development of the provider that serves with network instant communication simultaneously, and greatly makes things convenient for the user, thereby has vast market prospect and development space.
Description of drawings
Fig. 1 is the networking structure schematic diagram of existing network instant communication system.
Fig. 2 is the networking structure schematic diagram of network instant communication system of the present invention.
Fig. 3 is an overview flow chart of the present invention.
Fig. 4 is the interacting message figure between IM server, Parlay gateway and the third party's application server.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is further detailed.
Fig. 2 shows the structure according to network instant communication system of the present invention.As can be seen from Figure 2, network instant communication system of the present invention comprises a Parlay gateway, be connected to the SMS of Parlay gateway, be connected to a plurality of third party's application servers and a plurality of IM server of Parlay gateway simultaneously, and each IM server has connected a plurality of IM clients simultaneously.
In the present invention, the IM server provides service execution environment, is responsible for the multiple network that comprises in the access next generation network (NGN) value-added service is provided.Simultaneously, the IM server is also by the third party open service assembly of Parlay gateway outside user and network instant communication service provider, so that the value-added service customization capability that the third party can use operator to provide.The IM server carries out communication by SIP/SIMPLE agreement and Parlay gateway.
Different with prior art, the SMS among the present invention is connected to the Parlay gateway, simultaneously a plurality of IM servers that are connected to this Parlay gateway is managed by the Parlay gateway, for example carries out parameter configuration etc.It will be appreciated, of course, that also a plurality of SMS can be set that they are connected respectively to a part of IM server and the IM server that is connected is managed.
Third party's application server is connected to the Parlay gateway, and the open applications DLL (dynamic link library) (Open API) and the communication of Parlay gateway that provide by the Parlay gateway.The third party can be the service provider, also can be content supplier.
System configuration of the present invention has been described above, has the following describes the present invention and utilize the method for this system to the users broadcasting instant message.
Fig. 3 shows overall procedure of the present invention.As can be seen from Figure 3, the present invention at first sets up the interface that is used for to the users broadcasting instant message in advance in the opening API interface of Parlay gateway in step 301.
Because at present the IM server all is to have a style of one's own, and give the third party with the professional ability of IM server is open in oneself system, therefore be not suitable for opening the interface of the professional ability of IM server at present on the Parlay gateway.Realize of the present inventionly, need at first in the opening API interface that the Parlay gateway provides, to increase the interface that is used for information broadcast to the users broadcasting instant message.
Specifically, increase by three message interfaces in the opening API interface of Parlay gateway, they are respectively: broadcast interface, broadcast success notification interface and broadcast failure notification interface.Wherein, the broadcast interface is used to receive the broadcast that third party's application server sends, broadcast success notification interface is used for returning information to the success of users broadcasting message to third party's application server, and broadcast failure notification interface then is used for returning information to the users broadcasting message failure to third party's application server.Certainly can understand, if third party's application server does not need to know the feedback information to users broadcasting message, do not need just to know that to users broadcasting message be success or failure, can not set up broadcast success notification interface message and broadcast failure notification interface message so.
In one embodiment, the broadcast interface can be: and broadcastIMReq (groupUsers:inTpAddressRange, message:TpString, responseRequested:TpBoolean): TpAssignmentID.Wherein parameter groupUsers indicates instant message is broadcast to this number range, the user of these numbers representative just, and its data type is AddressRange, just address realm; The concrete instant message that parameter m essage indicates to broadcast, its data type are String, just character string; Parameter responseRequested represents whether need to return the broadcast result to third party's application server, its data type is Boolean, just a Boolean; Return value TpAssignmentID is the sign of this broadcasting task, is used to distinguish broadcasting task each time, for example can be set to 001,002 or the like.
Broadcast success notification interface can be: broadcastIMRes (assignmentID:inTpAssignmentID): void.Wherein parameter assignmentID is the sign of broadcasting task, corresponding to the return value of broadcastIMReq interface.This interface does not have return value.
Broadcast failure notification interface can be: broadcastIMErr (assignmentID:inTpAssignmentID, cause:in TpIMError): void.Wherein parameter assignmentID is the sign of broadcasting task, corresponding to the return value of broadcastIMReq interface; The reason of parameter c ause identification of broadcast failure is with the concrete numeric representation that will describe in detail in the back.This interface does not have return value.
After having defined as above message interface, when third party's application need during to the users broadcasting instant message, in step 302, call the broadcast interface of Parlay gateway, simultaneously purpose user number information, the concrete instant message that will broadcast and the information that whether needs to learn broadcast results are sent to the Parlay gateway as parameter by third party's application server.
In step 303, the concrete instant message that the Parlay gateway will be broadcasted sends to corresponding IM server according to the purpose user number information.
In step 304, the instant message that corresponding IM server will be broadcasted according to the purpose user number information again sends to the IM client of Subscriber Number correspondence.
In step 305, the Parlay gateway parameter information whether needs return the broadcast result according to determines whether that needs return the broadcast object information to third party's application server.If, execution in step 306, otherwise process ends.
In step 306, whether the further judgement of Parlay gateway sends broadcast to the user successful.If, execution in step 307, otherwise execution in step 308.
In step 307, the Parlay gateway returns the broadcasting success message to corresponding third party's application server, just calls broadcast success notification interface, informs that third party's application server broadcasts successfully.Broadcasting comprised in the success message should the broadcasting task sign, third party's application server knows it is which broadcasting task successful execution like this.
In step 308, the Parlay gateway returns the broadcasting failed message to corresponding third party's application server, just calls broadcast failure notification interface, informs third party's application server broadcasting failure.Broadcasting comprised in the failed message should the broadcasting task sign, third party's application server knows it is which broadcasting task is carried out and failed like this.In addition, the reason that can further broadcasting be failed returns to third party's application server by the broadcasting failed message.
So far, this flow process finishes.
Fig. 4 is interacting message figure of the present invention.As can be seen from Figure 4, at first third party's application server calls the broadcastIMReq interface, the information that sends purpose user number information, the concrete instant message that will broadcast and whether need to learn broadcast results to the Parlay gateway.The Parlay gateway sends to concrete instant message one or more IM servers of purpose Subscriber Number correspondence after receiving these information.
Then, the IM server sends to corresponding IM client with concrete instant message, and whether success is returned corresponding response to the Parlay gateway according to this transmission.These responses comprise that expression sends 200 responses successfully, the 4XX of expression client error, the 5XX of expression server error and the 6XX of expression global service mistake.
After receiving these responses, whether needs learn that the information of broadcast results determines whether to return broadcast results information to the Parlay gateway according to third party's application server.If do not need to return broadcast results information, flow process finishes.Return broadcast results information if desired, for 200 responses, call broadcastIMRes, expression is broadcasted successfully; For 4XX, 5XX and 6XX, call broadcastIMErr, expression broadcasting failure.When sending the broadcasting failure information, can further response be attached in the message, thereby inform that third party's application server sends the reason of broadcast failure.
Be the processing of network side above,, only need on the IM client, show and check that the broadcast that is received gets final product for the user for announcing instant message.
By networking structure of the present invention with according to the method for announcing instant message of the present invention, the provider of network instant communication service provides the value-added service application platform for the third party uses, the third party uses and can utilize this platform developing value-added services neatly, thereby has promoted to comprise the development of the whole value-added service of announcing instant message business.For the provider of network instant communication service, maintain the leading position aspect individual business and the differentiated service providing, thereby promoted corporate image for the user, greatly promoted its further development.For the user,, obtained great facility without any need for being provided with and registering and just can learn for example grave news incident, market information of discount or the like message.Therefore, the present invention can promote the third party to use the development of the provider that serves with network instant communication simultaneously, and greatly makes things convenient for the user, thereby has vast market prospect and development space.
Being appreciated that above-mentioned only is the displaying of spirit of the present invention, rather than restriction.
Claims (9)
1. the method for an announcing instant message comprises the steps: at least
A. increase the interface that is used for broadcast at the open API standard P arlay gateway of fixing or mobile telephone network in the open applications DLL (dynamic link library) that third party's application server provides in advance, the described interface that is used for broadcast comprises the instant message parameter that will broadcast at least;
B. third party's application server sends the instant message that will broadcast by calling the described interface that is used for broadcast to the Parlay gateway;
The c.Parlay gateway sends to corresponding IM client with the instant message that receives by instant message IM server.
2. the method for announcing instant message according to claim 1, it is characterized in that, the described interface that is used for broadcast further comprises a purpose Subscriber Number parameter that is used to represent the information broadcast object, and the Parlay gateway sends to IM client corresponding to described purpose Subscriber Number by the IM server with the instant message that receives among the described step c.
3. the method for announcing instant message according to claim 1 is characterized in that, the Parlay gateway sends to all IM clients by the IM server with the instant message that receives among the described step c.
4. the method for announcing instant message according to claim 1, it is characterized in that, the described interface that is used for broadcast comprises that a Subscriber Number parameter and this parameter comprise all Subscriber Numbers, and the Parlay gateway sends to all IM clients by the IM server with the instant message that receives among the described step c.
5. the method for announcing instant message according to claim 1, it is characterized in that, this method further comprises sets up broadcast success notification interface and broadcast failure notification interface, described broadcast success notification interface and broadcast failure notification interface comprise the identification information parameter of broadcasting task, the described interface that is used for broadcast comprises further one is used to represent whether to return broadcast result's the parameter and the identification information parameter of broadcasting task, and this method further comprises after step c:
The Parlay gateway determines whether to return the broadcast result according to the described parameter of whether returning the broadcast result, if carry out next step; Otherwise process ends;
The Parlay gateway further determines according to the response of IM server whether broadcast is successful, if, by calling broadcast success notification interface returns the notice of broadcast success from the identification information representative of broadcasting task to corresponding third party's application server; Otherwise by calling broadcast failure notification interface returns the notice of broadcast failure from the identification information representative of broadcasting task to corresponding third party's application server.
6. the method for announcing instant message according to claim 5, it is characterized in that the response of described IM server comprises 200 responses of expression information broadcast success, the 4XX of expression client error, the 5XX of expression server error and the 6XX of expression global service mistake; The Parlay gateway determines according to the response of IM server whether successful step comprises broadcast: if the response that receives is 200 responses, determine the broadcast success; If the response that receives is 4XX, 5XX or 6XX, determine the broadcast failure.
7. the method for announcing instant message according to claim 5, it is characterized in that, described broadcast failure notification interface further comprises the parameter of representing failure cause, and the Parlay gateway returns failure cause information to third party's application server by calling broadcast failure notification interface when corresponding third party's application server returns the notice of broadcast failure.
8. the method for announcing instant message according to claim 7 is characterized in that, described failure cause information is the response of IM server.
9. the method for announcing instant message according to claim 8 is characterized in that, described response is a kind of in the 6XX of the 5XX of 4XX, expression server error of expression client error and expression global service mistake.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100741236A CN100362836C (en) | 2004-08-31 | 2004-08-31 | Method for announcing instant message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100741236A CN100362836C (en) | 2004-08-31 | 2004-08-31 | Method for announcing instant message |
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 | Method for announcing instant message |
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 |
---|---|---|
US8073920B2 (en) | Service authorizer | |
US7844055B2 (en) | Detecting and transporting dynamic presence information over a wireless and wireline communications network | |
CN102714681B (en) | For the method and apparatus using voice mail to provide message to transmit | |
US8315376B2 (en) | Call notification system, method, computer program and advertising method | |
US20050073999A1 (en) | Delivery of profile-based third party content associated with an incoming communication | |
US20050033852A1 (en) | System, apparatus, and method for providing presence boosted message service reports | |
EP1958401B1 (en) | Message modification apparatus and method | |
KR100964211B1 (en) | Method and system for providing multimedia portal contents and addition service in a communication system | |
FI114773B (en) | A method and apparatus for transmitting activity-based presence information | |
US8825499B2 (en) | System and method for provisioning social networking services through ring back tones | |
CN101116297A (en) | Method and system for integrated communications with access control list, automatic notification and telephony services | |
CN101861723A (en) | Active profile selection | |
KR20120040231A (en) | A method and system for interworking between instant messaging service and short message service | |
WO2002096056A2 (en) | Mobile community communication | |
CN100407710C (en) | Network instant communication system and method for providing instant message subscribing | |
CN102065099B (en) | Signaling and bearing separated communication system | |
CN102934419A (en) | Apparatus and methods for managing operator information | |
EP1847106B1 (en) | Call notification controlled by call originating system | |
US7586898B1 (en) | Third party content for internet caller-ID messages | |
WO2006056113A1 (en) | System for enabling communication between computers and mobile telephones | |
EP2117217B1 (en) | Voice mail service in communications system | |
CN100362836C (en) | Method for announcing instant message | |
KR20030047068A (en) | Business method and system for providing short massage service by dynamic virtual phone number and computer readable medium having stored thereon computer executable instruction for performing the method | |
CN102469148B (en) | Chat sessions is accepted the invitation and is refused the method and system of invitation | |
FI121906B (en) | Procedures, computer programs, transaction server and computer systems for processing transactions |
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 |