CN102469148A - Method and system for accepting invitation and refusing invitation of chat conversation - Google Patents

Method and system for accepting invitation and refusing invitation of chat conversation Download PDF

Info

Publication number
CN102469148A
CN102469148A CN2010105526049A CN201010552604A CN102469148A CN 102469148 A CN102469148 A CN 102469148A CN 2010105526049 A CN2010105526049 A CN 2010105526049A CN 201010552604 A CN201010552604 A CN 201010552604A CN 102469148 A CN102469148 A CN 102469148A
Authority
CN
China
Prior art keywords
message
invitation
accepting
resource
action
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105526049A
Other languages
Chinese (zh)
Other versions
CN102469148B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010552604.9A priority Critical patent/CN102469148B/en
Publication of CN102469148A publication Critical patent/CN102469148A/en
Application granted granted Critical
Publication of CN102469148B publication Critical patent/CN102469148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method and a system for accepting an invitation and refusing the invitation of a chat conversation, which are realized on the basis of REST API provided by a telecommunication network domain. The method for accepting the invitation of the chat conversation comprises the following steps that: a client end sends a request message for accepting the invitation of the chat conversation to a server, wherein the message is carried with used action and resource information; and after receiving the request message for accepting the invitation of the chat conversation, the server establishes the chat conversation and returns a response message for accepting the invitation of the chat conversation to the client end. The method for refusing the invitation of the chat conversation comprises the following steps that: the client end sends a request message for refusing the invitation of the chat conversation to the server, wherein the message is carried with used action and resource information; and after receiving the request message for refusing the invitation of the chat conversation, the server returns a response message for refusing the invitation of the chat conversation to the client end. According to the invention, the problem that a user cannot call the capability of the telecommunication to accept the invitation and refuse the invitation of the chat conversation is solved.

Description

The method and system that chat sessions is accepted the invitation and refused to invite
Technical field
The present invention relates to chat sessions, relate in particular to the method and system that a kind of chat sessions is accepted the invitation and refused to invite.
Background technology
In the face of the evolution of information communication industrial cycle and the transition spring tide of consumer's pattern; In the face of the infiltration of the wide-scale distribution of the bone ash level innovation mode of the Internet and new media or even IT vendor, content integration person and consumer electronics manufacturer to the field of operation; Telecom operators are taking a kind of positive fusion, open attitude, make great efforts to attempt open its telecommunication capability, absorb all the useful ideas; Performance third party enterprise and individual innovation ability make abundant valued added applications; On the other hand, use the secondary distribution channel of this telecommunications service, promote the sale of basic telecommunications service.Especially terminal and software vendor are in the flames of war rise all around of market, online application shop, and operator must utilize telecommunication capability (communication service reliably; User data; Situation; Authentication; Charge etc.) make the road of a new differentiation.
Parlay tissue in 1998 is set up and is devoted to be telephone network exploitation API (API).By these API, the application of oneself can be created by the third-party institution.Parlay is organized in this respect and has done unified standardization effort, has formulated Parlay/OSA (open Software Description) API based on CORBA (common object Resource Broker framework), to the programme work in unity of aspect of the use of various telecommunication capabilities.Parlay/OSA API has also obtained ETSI (ETSI) and the common assistance of 3GPP (3G (Third Generation) Moblie partner program normal structure) in addition.In 3GPP, Parlay is by the part as open Software Description (OSA).Parlay X is the API standard criterion based on SOAP (Simple Object Access Protocol) Web service that Parlay, 3GPP and OMA (Open Mobile Alliance) issue.Parlay REST (towards the RESTful constraint of Parlay X) is the up-to-date cover API standard criterion of issuing of OMA, is intended to specify REST Web service constraint for the collection of the Parlay X Web service standard (son) among the OMA.
In Web 2.0 fields, support that the corresponding usefulness of API of Ajax (asynchronous JavaScript script and XML extensible markup language) technology is more extensive, style is REST (REpresentational State Transfer, a presentation state-transition).REST is not a kind of new technology, neither a kind of standard, but one group of design principle; Compare with the Web service (like Parlay X) based on SOAP, REST API is lightweight more, has better developer's friendly, is convenient to exploitation and Mashup that Web uses.Therefore increasing Web service begins to adopt the design of REST style and realizes.For example, Amazon.com provides and carries out books near the Web service of REST style and search; The Web service that Yahoo provides also is REST style (wikipedia).
GSMA (global mobile system association) RCS (Futong letter external member) is based on the business packet of the rich communication function that interoperable is provided that existing IMS (IP Multimedia System) network facilities and development agreement build out; Mainly comprise business such as enhanced address book, enhanced call, enhancement mode converged message; The user can be upgraded appear (like individual picture, message, recommended links and the state) of oneself; Also can in the address list of mobile phone, see good friend's the situation that appears in real time, and realize multiple communication requirements such as note, multimedia message, chat (instant message), file transfer.RCS comprises common unified technology and the realization standard of supporting of operator, equipment vendor and mobile phone terminal manufacturer, so it not only cultivates the more consistent use habit of consumer easily, and can realize interconnecting of country variant, different operators.Follow-up phase, RCS will further introduce social networks, open REST API API, with content such as integrated application shop, the Internet.The targeted customer of RCS REST style API is typical Web developer, third party developer, service provider; Can the RCS professional ability and the IMS network capabilities of telecom operators is open through API; Be more suitable for the exploitation of application of Web 2.0Widget lightweight and Mashup, cater to Web application and development trend.
At present; The professional ability of telecom operators' note, multimedia message can have been passed through the ParlayREST2.0 consensus standard of OMA (Open Mobile Alliance) formulation and open; And the chat service ability is not also formulated the corresponding protocol standard open, and the user can't call telecommunication capability and carry out chat sessions and accept the invitation and the relevant control of refusing to invite.
Summary of the invention
In view of this, one object of the present invention is the method and system that provide a kind of chat sessions to accept the invitation, can not call the problem that telecommunication capability realizes that chat sessions is accepted the invitation to solve the user.
In order to address the above problem, the invention provides the method that a kind of chat sessions is accepted the invitation, this method realizes based on presentation state-transition (REST) API (API) that the communication network territory provides, comprising:
User end to server sends the request message of accepting the invitation, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
Said server is set up chat sessions after receiving the request message of accepting the invitation, and returns the response message of accepting the invitation to said client.
Preferably, said method has following characteristics:
The information that comprises the action of use in the said request message of accepting the invitation; Said action is layout (POST) action of HTTP or sets (PUT) action, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
Preferably, said method has following characteristics:
The form that the said request message of accepting the invitation uses is extend markup language (XML) or java script object symbol (JSON).
Preferably, said method has following characteristics:
Set in the message body information of the said request message of accepting the invitation and accept the invitation to being that expression is accepted the invitation.
Preferably, said method has following characteristics:
Carry the user's that accepts the invitation information in the said request message of accepting the invitation, the user's that accepts the invitation information comprises at least a in the following information: participant addresses, participant's name, participant's state, participant's message session retransmission protocol (MSRP) client routing information.
Preferably, said method has following characteristics: client is sent before the request message of accepting the invitation, and generates the said request message of accepting the invitation by following mode:
Layout (POST) action or setting (PUT) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Setting is accepted the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Generate the request message of accepting the invitation according to said message header and message body.
Preferably, said method has following characteristics:
Said server returns before the response message of accepting the invitation, and generates the said response message of accepting the invitation by following mode;
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate the response message of accepting the invitation according to said message header.
In order to address the above problem, the invention provides the system that a kind of presentation state-transition (REST) API (API) chat sessions that provides based on the communication network territory is accepted the invitation, comprising:
Message creating apparatus in the client is used for generating the request message of accepting the invitation;
Message dispensing device in the client is used for sending the said request message of accepting the invitation to server;
Message processing apparatus in the server is used for after receiving the request message of accepting the invitation, resolving, and sets up chat sessions;
Message creating apparatus in the server is used for generating the response message of accepting the invitation;
Message dispensing device in the server is used for returning the response message of accepting the invitation to said client.
Preferably, said system has following characteristics:
Message creating apparatus in the said client comprises again:
Message header generates sub-device; Being used for layout (POST) action with HTTP or setting (PUT) action is the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Message generates sub-device, is used for generating the request message of accepting the invitation according to said message header and message body.
Preferably, said system has following characteristics:
Message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating the response message of accepting the invitation according to said message header.
The present invention greatly facilitates Web developer, third party developer or service provider etc. and neatly the instant messaging engine is carried out the relevant control that chat sessions is accepted the invitation with the API of REST style.The user that the present invention was suitable for can be based on any instant message participant that control authority is arranged of Internet service, WEB service.
In view of this, one object of the present invention is to provide the method and system of a kind of chat sessions refusal invitation, can not call telecommunication capability with the solution user and realize obtaining the problem that the chat sessions refusal is invited.
In order to address the above problem, the invention provides the method that a kind of chat sessions refusal is invited, this method realizes based on presentation state-transition (REST) API (API) that the communication network territory provides, comprising:
User end to server sends the refusal invite request message, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
After said server is received the refusal invite request message, return refusal invitation response message to said client.
Preferably, said method has following characteristics:
Said action is layout (POST) action or deletion (DELETE) action of HTTP, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
Preferably, said method has following characteristics:
The form that said refusal invite request message is used is extend markup language (XML) or java script object symbol (JSON).
Preferably, said method has following characteristics:
Set in the message body information of said refusal invite request message and receive invitation for denying the invitation of expression refusal.
Preferably, said method has following characteristics: client is sent before the refusal invite request message, generates said refusal invite request message by following mode:
Layout (POST) action or deletion (DELETE) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Setting is accepted the invitation to not, generates and invites the feedback data structure, as message body;
Generate the refusal invite request message according to said message header and message body.
Preferably, said method has following characteristics:
Said server returns before the refusal invitation response message, generates said refusal invitation response message by following mode;
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate refusal invitation response message according to said message header.
In order to address the above problem, the invention provides the system that a kind of presentation state-transition (REST) API (API) chat sessions refusal that provides based on the communication network territory is invited, comprising:
Message creating apparatus in the client is used for generating the refusal invite request message;
Message dispensing device in the client is used for sending said refusal invite request message to server;
Message creating apparatus in the server is used for after receiving the refusal invite request message, generates refusal invitation response message;
Message dispensing device in the server is used for returning refusal invitation response message to said client.
Preferably, said system has following characteristics:
Message creating apparatus in the said client comprises again:
Message header generates sub-device; Layout (POST) action or deletion (DELETE) action that are used for HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to not, generates and invites the feedback data structure, as message body;
Message generates sub-device, is used for generating the refusal invite request message according to said message header and message body.
Preferably, said system has following characteristics:
Message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating refusal invitation response message according to said message header.
The present invention greatly facilitates Web developer, third party developer or service provider etc. carry out the invitation of chat sessions refusal neatly to the instant messaging engine with the API of REST style relevant control.The user that the present invention was suitable for can be based on any instant message participant that control authority is arranged of Internet service, WEB service.
Description of drawings
Fig. 1 is the sketch map of the system configuration of the open telecommunication capability interface of the embodiment of the invention;
The method flow diagram that Fig. 2 accepts the invitation for the embodiment of the invention one;
Fig. 3 is the method flow diagram that the embodiment of the invention two refusals are invited;
The operation schematic flow diagram that Fig. 4 accepts the invitation and refuses to invite for the chat sessions between the client and server of the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Embodiment one
Fig. 1 shows the system configuration of the open telecommunication capability interface of present embodiment.As shown in the figure; The communication network territory comprises IMS core net and operation layer; Operation layer comprises the miscellaneous service network equipments such as short message service server, MMS server, chat sessions service server and other service servers, and still, a kind of server also can be used for multiple business.These servers provide the REST that opens API to Web developer, third party developer, service provider etc.; User client such as Web developer, third party developer, service provider can be used REST API Access communication network territory; Call the RCS professional ability and the IMS network capabilities in communication network territory, realize the Web 2.0Widget lightweight application of telecommunication service and the exploitation of Mashup.
In the present embodiment; The application program of users such as Web developer, third party developer, service provider exploitation can be passed through client, and the REST API that uses present embodiment to provide carries out chat sessions to the chat sessions service server and accepts the invitation and the relevant control of refusing to invite; Server among each embodiment all can be the chat sessions service server, like the instant messaging engine in the communication network territory.Client can be arranged in service provider's the network equipment, also can be arranged in end user device such as portable terminal, fixed terminal etc.The user that the present invention is suitable for also is not limited to the above-mentioned type, can be based on any chat sessions participant that control authority is arranged of Internet service, WEB service.
The related definition of REST API uses in the present embodiment resource, action and data structure is following:
Figure BDA0000033281670000081
Figure BDA0000033281670000091
In the resource unified resource position sign (URL), serverRoot representes server path URI, and apiVersion representes the API version, and Chat representes chat sessions, and Terminating representes the terminal, and TerminatingID representes terminal participant's indications.
The type of data structure that above-mentioned REST API uses defines as follows:
Type of data structure Type:Invitationfeedback invites feedback
Type of data structure Type:ChatParticipantInformation chat sessions participant information
Figure BDA0000033281670000093
Figure BDA0000033281670000101
Enumerate Enumeration:ChatParticipantStatus chat sessions participant state
The method flow diagram that Fig. 2 accepts the invitation based on REST API chat sessions for present embodiment may further comprise the steps:
Step S201: user end to server sends the request message of accepting the invitation, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
In the request message of accepting the invitation of present embodiment, comprise action, the resource of use in the message header, comprise in the message body and invite the feedback data structure.
Wherein, The information that comprises the action of use in the said request message of accepting the invitation; Said action is layout (POST) action of HTTP or sets (PUT) action, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
Carry the user's that accepts the invitation information in the said request message of accepting the invitation, the user's that accepts the invitation information comprises at least a in the following information: participant addresses, participant's name, participant's state, participant's message session retransmission protocol (MSRP) client routing information.
Client can generate this message in the following manner:
Layout (POST) action or setting (PUT) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Setting is accepted the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Generate the request message of accepting the invitation according to said message header and message body.
Wherein, accept the invitation accept the invitation in the message body information of request message user's information comprises at least a in the following information: participant addresses, participant's name, participant's state, participant's message session retransmission protocol (MSRP) client routing information.
Message body in several message that each embodiment relates to also can be adopted XML, also can adopt other professional formats such as java script object symbol (JSON).
Below with a bright request message of accepting the invitation that once generates of as an exampleBSEMGVR takeN-PSVSEMOBJ.
Suppose that the terminal participant is user Peter E.Xample (SIP:user2example.com), this user's request is accepted the invitation.
POST.../{apiVersion}/Chat/Terminating/SIP:user2example.com/ChatSessionInvitations/{ChatSessionInvitationId1}/feedback?HTTP/1.1
Content-Type:application/xml
Accept:application/xml
Host:example.com:80
<?xml?version=″1.0″encoding=″UTF-8″?>
<chat:Invitationfeedback?xmlns:chat=″urn:oma:xml:rest:chat:1″>
<AcceptInvitation>true</AcceptInvitation>
<chatSessionID>{chatSessionId1}</chatSessionID>
<Invitee>
<participantAddress>SIP:user2example.com</participantAddress>
<participantName>Peter?E.Xample</participantName>
<participantStatus>ChatParticipantAcceptInvitation</participantStatus>
<MSRPClientPath>msrp://Peter?E.Xample.example.com:7575/u3978ae283wzd;tcp
</MSRPClientPath>
<MSRPServerPath>msrp://Server.example.com:4000/VL1SmRjx0qhi;tcp</MSRPServerPath>
</Invitee>
</chat:Invitationfeedback>
Step S202: server is set up chat sessions, returns the response message of accepting the invitation to said client.
Said server is set up chat sessions, returns before the response message of accepting the invitation, and can generate the said response message of accepting the invitation by following mode:
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate the response message of accepting the invitation according to said message header.
Below with a bright response message of accepting the invitation that once generates of as an exampleBSEMGVR takeN-PSVSEMOBJ.
HTTP/1.1204No?Content
Date:Mon,28Jun?201017:51:59GMT
Embodiment two
Present embodiment is based on the embodiment that REST API chat sessions refusal that the communication network territory provides is invited, based on system identical with embodiment one, the related definition of resource, action and data structure is please with reference to the explanation among the embodiment one.
Fig. 3 is the flow chart that present embodiment is invited based on REST API chat sessions refusal, may further comprise the steps:
Step S301: user end to server sends the refusal invite request message, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
In the refusal invite request message of present embodiment, comprise action, the resource of use in the message header, comprise in the message body and invite the feedback data structure.
Wherein, said action is layout (POST) action or deletion (DELETE) action of HTTP, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
Client can generate this message in the following manner:
Layout (POST) action or deletion (DELETE) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications; Setting is accepted the invitation to not, generates and invites the feedback data structure, as message body;
Generate the refusal invite request message according to said message header and message body.
Message body in several message that each embodiment relates to also can be adopted XML, also can adopt other professional formats such as java script object symbol (JSON).
Below with a bright refusal invite request message that once generates of as an exampleBSEMGVR takeN-PSVSEMOBJ.
Suppose that the terminal participant is user Peter E.Xample (SIP:user2example.com), this user asks refusal to be invited.
POST.../{apiVersion}/Chat/Terminating/SIP:user2example.com/ChatSessionInvitations/{ChatSessionInvitationId1}/feedback?HTTP/1.1
Content-Type:application/xml
Accept:application/xml
Host:example.com:80
<?xml?version=″1.0″encoding=″UTF-8″?>
<chat:Invitationfeedback?xmlns:chat=″urn:oma:xml:rest:chat:1″>
<AcceptInvitation>false</AcceptInvitation>
<chatSessionID>{chatSessionId1}</chatSessionID>
</chat:Invitationfeedback>
Step S302: server returns refusal invitation response message to said client.
Server returns before the refusal invitation response message, can generate said refusal invitation response message by following mode:
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate refusal invitation response message according to said message header.
Below with the bright refusal invitation response message that once generates of as an exampleBSEMGVR takeN-PSVSEMOBJ.
HTTP/1.1?204?No?Content
Date:Mon,28?Jun?201017:51:59GMT
Fig. 4 is comprehensive the foregoing description, the operation schematic flow diagram that the chat sessions between the client and server is accepted the invitation and refused to invite.
Chat sessions starts, in the chat session invitation;
The user can accept the invitation through the user end to server request; Server is accepted the invitation, and sets up chat sessions, and returns the response of accepting the invitation, and comprises the steps:
Client generates the request message of accepting the invitation;
User end to server sends the request message of accepting the invitation;
Server is received the request message of accepting the invitation, and resolves, and sets up chat sessions;
Server generates the response message of accepting the invitation;
Server returns the response message of accepting the invitation to client.
Perhaps, the user also can invite through user end to server request refusal; The server refusal is invited, and returns the refusal invitation response and give the user, comprises the steps:
Client generates the refusal invite request message;
User end to server sends the refusal invite request message;
Server is received the refusal invite request message, generates refusal invitation response message;
Server returns refusal invitation response message to client.
The content of above-mentioned each message and generation method see also the description in the preceding text, no longer repeat.
Correspondingly, the system that the REST API chat sessions that provides based on the communication network territory of the embodiment of the invention is accepted the invitation comprises:
Message creating apparatus in the client is used for generating the request message of accepting the invitation;
Message dispensing device in the client is used for sending the said request message of accepting the invitation to server;
Message processing apparatus in the server is used for after receiving the request message of accepting the invitation, resolving, and sets up chat sessions;
Message creating apparatus in the server is used for generating the response message of accepting the invitation;
Message dispensing device in the server is used for returning the response message of accepting the invitation to said client.
Wherein, preferably, the message creating apparatus in the said client comprises again:
Message header generates sub-device; Being used for layout (POST) action with HTTP or setting (PUT) action is the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Message generates sub-device, is used for generating the request message of accepting the invitation according to said message header and message body.
Wherein, preferably, the message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating the response message of accepting the invitation according to said message header.
The system that the REST API chat sessions that provides based on the communication network territory refusal of the embodiment of the invention is invited comprises:
Message creating apparatus in the client is used for generating the refusal invite request message;
Message dispensing device in the client is used for sending said refusal invite request message to server;
Message creating apparatus in the server is used for after receiving the refusal invite request message, generates refusal invitation response message;
Message dispensing device in the server is used for returning refusal invitation response message to said client.
Wherein, preferably, the message creating apparatus in the said client comprises again:
Message header generates sub-device; Layout (POST) action or deletion (DELETE) action that are used for HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to not, generates and invites the feedback data structure, as message body;
Message generates sub-device, is used for generating the refusal invite request message according to said message header and message body.
Wherein, preferably, the message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating refusal invitation response message according to said message header.
In the such scheme, the open telecommunication capability interface that clear specifically chat sessions is accepted the invitation and refused to invite, the content of each message promptly can satisfy the professional needs of chat sessions, meets the related specifications of existing open telecommunication capability again.Greatly facilitating Web developer, third party developer or service provider etc. carries out chat sessions to server neatly with the API of REST style and accepts the invitation and the relevant control of refusing to invite.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize, correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (19)

1. method that chat sessions is accepted the invitation, this method realizes based on presentation state-transition (REST) API (API) that the communication network territory provides, comprising:
User end to server sends the request message of accepting the invitation, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
Said server is set up chat sessions after receiving the request message of accepting the invitation, and returns the response message of accepting the invitation to said client.
2. method according to claim 1 is characterized in that:
The information that comprises the action of use in the said request message of accepting the invitation; Said action is layout (POST) action of HTTP or sets (PUT) action, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
3. method according to claim 1 is characterized in that:
The form that the said request message of accepting the invitation uses is extend markup language (XML) or java script object symbol (JSON).
4. method according to claim 1 is characterized in that:
Set in the message body information of the said request message of accepting the invitation and accept the invitation to being that expression is accepted the invitation.
5. method according to claim 1 is characterized in that:
Carry the user's that accepts the invitation information in the said request message of accepting the invitation, the user's that accepts the invitation information comprises at least a in the following information: participant addresses, participant's name, participant's state, participant's message session retransmission protocol (MSRP) client routing information.
6. method according to claim 1 is characterized in that, client is sent before the request message of accepting the invitation, and generates the said request message of accepting the invitation by following mode:
Layout (POST) action or setting (PUT) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Setting is accepted the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Generate the request message of accepting the invitation according to said message header and message body.
7. method according to claim 6 is characterized in that:
Said server returns before the response message of accepting the invitation, and generates the said response message of accepting the invitation by following mode;
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate the response message of accepting the invitation according to said message header.
8. the chat sessions refusal method of inviting, this method realizes based on presentation state-transition (REST) API (API) that the communication network territory provides, comprising:
User end to server sends the refusal invite request message, the action that portably uses in the message and the information of resource, and said resource indicates with resource unified resource position sign (URL);
After said server is received the refusal invite request message, return refusal invitation response message to said client.
9. method according to claim 8 is characterized in that:
Said action is layout (POST) action or deletion (DELETE) action of HTTP, indicates to comprise at least a in terminal participant user's indications and the chat session invitation indications among the resource URL of said resource.
10. method according to claim 8 is characterized in that:
The form that said refusal invite request message is used is extend markup language (XML) or java script object symbol (JSON).
11. method according to claim 8 is characterized in that:
Set in the message body information of said refusal invite request message and receive invitation for denying the invitation of expression refusal.
12. method according to claim 8 is characterized in that, client is sent before the refusal invite request message, generates said refusal invite request message by following mode:
Layout (POST) action or deletion (DELETE) action with HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header; Wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Setting is accepted the invitation to not, generates and invites the feedback data structure, as message body;
Generate the refusal invite request message according to said message header and message body.
13. method according to claim 12 is characterized in that:
Said server returns before the refusal invitation response message, generates said refusal invitation response message by following mode;
Represent the responder of " no content (No Content) " according to HTTP, generate message header;
Generate refusal invitation response message according to said message header.
14. the system that presentation state-transition (REST) API (API) chat sessions that provides based on the communication network territory is accepted the invitation comprises:
Message creating apparatus in the client is used for generating the request message of accepting the invitation;
Message dispensing device in the client is used for sending the said request message of accepting the invitation to server;
Message processing apparatus in the server is used for after receiving the request message of accepting the invitation, resolving, and sets up chat sessions;
Message creating apparatus in the server is used for generating the response message of accepting the invitation;
Message dispensing device in the server is used for returning the response message of accepting the invitation to said client.
15. system according to claim 14 is characterized in that:
Message creating apparatus in the said client comprises again:
Message header generates sub-device; Being used for layout (POST) action with HTTP or setting (PUT) action is the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to being, and generates according to the user's that accepts the invitation information and to invite the feedback data structure, as message body;
Message generates sub-device, is used for generating the request message of accepting the invitation according to said message header and message body.
16. system according to claim 15 is characterized in that:
Message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating the response message of accepting the invitation according to said message header.
17. the system that presentation state-transition (REST) API (API) the chat sessions refusal that provides based on the communication network territory is invited comprises:
Message creating apparatus in the client is used for generating the refusal invite request message;
Message dispensing device in the client is used for sending said refusal invite request message to server;
Message creating apparatus in the server is used for after receiving the refusal invite request message, generates refusal invitation response message;
Message dispensing device in the server is used for returning refusal invitation response message to said client.
18. system according to claim 17 is characterized in that:
Message creating apparatus in the said client comprises again:
Message header generates sub-device; Layout (POST) action or deletion (DELETE) action that are used for HTTP are the action of use; Be fed back to the resource of use with terminal participant's chat session invitation; Generate message header, wherein, indicate among the resource URL of said resource and comprise terminal participant user's indications and/or chat session invitation indications;
Message body generates sub-device, is used for setting accepting the invitation to not, generates and invites the feedback data structure, as message body;
Message generates sub-device, is used for generating the refusal invite request message according to said message header and message body.
19. system according to claim 18 is characterized in that:
Message creating apparatus in the said server comprises again:
Message header generates sub-device, is used for representing according to HTTP the responder of " no content (No Content) ", generates message header;
Message generates sub-device, is used for generating refusal invitation response message according to said message header.
CN201010552604.9A 2010-11-19 2010-11-19 Chat sessions is accepted the invitation and is refused the method and system of invitation Active CN102469148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010552604.9A CN102469148B (en) 2010-11-19 2010-11-19 Chat sessions is accepted the invitation and is refused the method and system of invitation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010552604.9A CN102469148B (en) 2010-11-19 2010-11-19 Chat sessions is accepted the invitation and is refused the method and system of invitation

Publications (2)

Publication Number Publication Date
CN102469148A true CN102469148A (en) 2012-05-23
CN102469148B CN102469148B (en) 2015-10-28

Family

ID=46072311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010552604.9A Active CN102469148B (en) 2010-11-19 2010-11-19 Chat sessions is accepted the invitation and is refused the method and system of invitation

Country Status (1)

Country Link
CN (1) CN102469148B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490986A (en) * 2014-09-15 2016-04-13 阿尔卡特朗讯 Method and equipment for opening IMS core capability through REST API
CN106686748A (en) * 2015-11-05 2017-05-17 泰康保险集团股份有限公司 Control method for communication of multiple terminal devices, terminal equipment and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009124223A1 (en) * 2008-04-02 2009-10-08 Twilio Inc. System and method for processing telephony sessions
CN101615179A (en) * 2008-06-25 2009-12-30 国际商业机器公司 The method and system that is used for the cross-domain alternation of Web application
CN101686247A (en) * 2008-09-26 2010-03-31 华为技术有限公司 Method and system of information processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009124223A1 (en) * 2008-04-02 2009-10-08 Twilio Inc. System and method for processing telephony sessions
CN101615179A (en) * 2008-06-25 2009-12-30 国际商业机器公司 The method and system that is used for the cross-domain alternation of Web application
CN101686247A (en) * 2008-09-26 2010-03-31 华为技术有限公司 Method and system of information processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DAVID LOZANO等: "WIMS 2.0: Converging IMS and Web 2.0. Designing REST APIs for the exposure of session-based IMS capabilities", 《THE SECOND INTERNATIONAL CONFERENCE ON NEXT GENERATION MOBILE APPLICATIONS, SERVICES, AND TECHNOLOGIES》, 19 September 2008 (2008-09-19) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490986A (en) * 2014-09-15 2016-04-13 阿尔卡特朗讯 Method and equipment for opening IMS core capability through REST API
CN106686748A (en) * 2015-11-05 2017-05-17 泰康保险集团股份有限公司 Control method for communication of multiple terminal devices, terminal equipment and server
CN106686748B (en) * 2015-11-05 2020-08-07 泰康保险集团股份有限公司 Control method for multi-terminal device communication, terminal device and server

Also Published As

Publication number Publication date
CN102469148B (en) 2015-10-28

Similar Documents

Publication Publication Date Title
Belqasmi et al. RESTful web services for service provisioning in next-generation networks: a survey
CN101388837A (en) Route selection method, service network, network appliance and terminal
US20140317205A1 (en) Method and Devices to Invite a User from an External Chat Service to a Group Chat Session
CN103379096A (en) Internet and operator network service sharing method, service side and webpage gateway
CN102144380B (en) End-to-end address transfer
CN102469042B (en) Chat sessions sends output message and obtains the method and system of output message
US9571563B2 (en) Handling a shared data object in a communication network
CN102137107A (en) Method and system for realizing set-top box subscriber state
CN102469041B (en) Chat sessions starts and obtains the method and system of session list
CN102469148B (en) Chat sessions is accepted the invitation and is refused the method and system of invitation
CN102469136A (en) Method and system for adding participants and obtaining participant list of chat conversation
CN102469139B (en) A kind of ending chatting conversation and the method and system of obtaining chat sessions information
CN102469135B (en) The method and system of ends file transfer session and acquisition file transfer session information
Henry et al. Rich communication suite
CN102469090B (en) The method and system of startup file transmission session and the list of acquisition file transfer session
CN102469137B (en) Method and system for accepting document transmission invitation and refusing document transmission invitation
CN102025697B (en) For the invitation subscription of CAB, subscription and subscription update notification method and device
CN102469147B (en) Chat sessions obtains input message and deletes the method and system of input message
Blum et al. Service creation & delivery for SME based on SOA/IMS
Lee et al. ROA based web service provisioning methodology for telco and its implementation
CN102469138B (en) The method and system of a kind of reception and deleting input document
Cho et al. The IMS/SDP structure and implementation of presence service
Menkens Towards a context aware mobile community application platform
Moro et al. Wims 2.0: enabling telecom networks assets in the future internet of services
Cho et al. An implementation of the SDP using common service enablers

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