Title of Invention

METHOD AND SYSTEM FOR PROVIDING STATE OF INSTANT MESSAGING USER

Abstract The embodiments of the present invention provide a method and system for providing a user state of Instant Messaging. The system includes: a third party server, for initiating a state request of an IM user; an IM server, for returning a state of the IM user to the third party server upon receiving the state request from the third party server. By the method and system provided by the embodiments of the present invention, the third party server may not only obtain the state of an instant messaging user, but also provide a service for the instant messaging user; additionally, the instant messaging user may set its own personalized states via the third party server.
Full Text

Method and System for Providing State of Instant Messaging
User
Field of the Invention
The present invention relates generally to the network communication technology, and more particularly, to a method and system for providing a third party with a state of an instant messaging user.
Background of the Invention
The Instant Messaging (IM) service is an Tnternet-based communication service, and is widely applied on the Internet.
The user state is referred to a user state displayed on a web site server of an IM service provider in instant messaging, which generally includes an online state, offline state, invisible state and leaving state. A user may see the state of a contact person via IM client software or obtain the state of a certain user from a web page provided by the IM service provider.
Referring to Figure 1, the principle model of a conventional user state providing system includes an IM server, an IM client and a web site server of an IM service provider. The IM server is a computer device and software for providing an instant messaging service and user state; the IM client performs instant messaging between users and obtains login states of other IM users; the web site server of the IM service provider obtains a user state from the IM server via an internal protocol and displaying the user state on a web page. In the above system, an IM user may conveniently obtain the state of a contact person from its own IM client or obtain the online/offline state of a user from the web site of the IM service provider.
However, in the above system, a third party server which is not an IM service provider is unable to obtain the state of an IM user, and thus cannot provide the IM user with rich personalized state services according to the state of the IM user, additionally, the IM user is unable to add and modify its own personalized state via a third party server.

Summary of the Invention
Embodiments of the present invention provide a method and system for providing a state of an IM user to provide state information of the IM user for a third party.
A system for providing a state of an Instant Messaging (IM) user includes: a third party server, for initiating a state request of an IM user; an IM server, for returning a state of the IM user to the third party server upon receiving the state request from the third party server.
The third party server includes at least one of an authorized third party server and an unauthorized third party server;
the IM server interacts with the authorized third party server via a dedicated interface of a designated protocol or a public interface of a public protocol; the IM server interacts with the unauthorized third party server via the public interface of the public protocol.
The IM server further includes a memory for storing information and a service providing right of the third party server;
the IM server returns the service providing right to the third party server while returning the state of the IM user to the third party server;
the third party server provides a service for an IM client corresponding to the IM user via the IM server upon obtaining the state of the IM user and service providing right returned by the IM server.
The IM server includes a memory for storing the state of the IM user; the memory is a relational database.
A method for providing a state of an IM user applicable to the above mentioned system includes:
initiating, by a third party server, a state request of an IM user;
returning, by an IM server, to the third party server a state of the IM user upon receiving the state request.
The state of the IM user includes at least one of a state of the IM user in an IM system and a self-defining state of the IM user.

The returning a state of the IM user to the third party server includes: querying all IM user states recorded in the IM server for the state of the IM user, and returning the state of the IM user to the third party server.
The method further includes:
displaying, by the third party server, the state of the IM user on a service platform upon receiving the state of the IM user returned by the IM server.
The displaying the state of the IM user on a service platform includes: displaying the state of the IM user on the service platform in an image mode or a preset mode.
The method further includes:
providing, by the third party server, a service for the IM user upon receiving the state of the IM user returned by the IM server.
The method further includes:
returning, by the IM server, a service presiding right to the third party server when returning the state of the IM user to the third party server; wherein
the providing a service for the IM user includes:
providing the service for an IM client corresponding to the IM user via the IM server upon receiving the service providing right returned by the IM server.
The service providing right returned by the IM server is a command that the IM server allows the third party server to provide the service;
the providing the service for the IM client includes:
executing the command returned by the IM server, and sending to the IM client a result of executing the command via the IM server.
The command returned by the IM server to the third party server includes: starting or activating the IM client, jumping a designated web page, and starting a designated programming module or running a designated process module.
The command returned by the IM server to the third party server includes:
returning a state set by the IM user on the third party server to the IM server;
the self-defining state of the IM user includes a state set by the IM user on the third

party server and returned by the third party server to the IM server.
The third party server includes an authorized third party server or an unauthorized
third party server;
the returning the service providing right to the third party server includes: determining an authorization state of the third party server, and returning an service
providing right to the third party server according to the authorization state.
The IM server interacts with the unauthorized third party server via a public interface of a public protocol; the IM server interacts with the authorized third party server via a public interface of a public protocol;
the determining an authorization state of die third party server includes: determining the authorization state of the third party server according to the type of an interface between the IM server and the third party server.
The IM server interacts with the unauthorized third party server via a public interface of a public protocol; the IM server interacts with the authorized third party server via a dedicated interface of a designated protocol;
the determining an authorization state of the third party server includes: determining the authorization state of the third party server according to a preset parameter of an interface between the IM server and the third party server or according to authorization information of the third party server stored in the IM server.
The determining the authorization state of the third party server according to a preset parameter of an interface includes:
determining the authorization state of the third party server according to an authorization identity in the preset parameter of the interface.
As can be seen from the above technical solution provided by the embodiments of the present invention, the third party server obtains the state of the IM user via the interface for communicating with the IM server, and provides a service for the IM user according to the state of the IM user, for example provides a personalized state service. Since the state of the IM user may be displayed on the service platform of the third party server located on the Internet, the state of the IM user may be seen by more users, which make the state of the IM user have more worth. In addition, the IM user may set a

personalized state via the third party server, and display the personalized state on the IM server.
Brief Description of the Drawings
Figure 1 is a simplified schematic diagram illustrating a conventional system for providing the state of an IM user.
Figure 2 is a simplified schematic diagram illustrating a system for providing the state of an IM user in accordance with an embodiment of the present invention.
Figure 3 is a simplified flowchart illustrating a method for providing the state of an IM user in accordance with an embodiment of the present invention.
Detailed Description of the Invention
A detailed description of the present invention is hereinafter given with reference to specific embodiments and the accompanying drawings.
The embodiments of the present invention include: after a third party server which is not an IM service provider initiates a state request of an IM user to an IM server, the IM server returning a state of the IM user to the third party server.
The system and method for providing the state of an IM user is hereinafter described with reference to Figure 2 in accordance with the embodiments of the present invention. Referring to Figure 2, the system provided by an embodiment of the present invention includes an IM server, an IM client and a third party server.
The third party in the embodiments of the present invention is relative to the IM service provider and the IM user, i.e., the IM service provider is a first party and the IM user is a second party, and another service provider which is not the IM service provider is called a third party. The third party server includes a server of an authorized third party service provider (called an authorized third party server for short) and a server of an unauthorized third party service provider (called an unauthorized third party server for short). The authorized third party server is authorized by an IM system, while the unauthorized third party server is unauthorized by the IM system. The rights for providing

a service for an IM client by the both third party servers are different.
The authorized third party server may communicate with the IM server via a dedicated or public interface, while the unauthorized third party server communicates with the IM server only via a public interface. The protocol used in the dedicated interface is a protocol designated by both the authorized third party server and the IM server, while the protocol used in the public interface is a public protocol. If the third party server communicates with the IM server via the public interface, the IM server may identify the authorization state of the third party server by setting an interface parameter or by authorization information stored in the IM server.
The IM client is the combination of a computer device and software with functions including displaying and setting a user state and executing instant messaging. The IM client sends to the IM server login information and setting information of the user of the IM client via a communication interface. The setting information includes richer states set by the user of the IM client, i.e., various states set by the user, which may be a state provided by the IM system or a state expressed in Chinese characters, for example "I am in Tianjin", "make an examination recently" or "don't trouble me".
The IM server is the combination of a computer device and software for providing and managing an IM service and the state of an IM user. The IM server includes a memory for storing detailed states of an IM user and a corresponding management module, and also includes a memory for storing information and a relative protocol of the authorized or unauthorized third party service provider and a corresponding management module. The IM server has an interface and a corresponding program module for communicating with the above authorized or unauthorized third party server. As a result, the IM server may communicate with the third party server.
The memory for storing the detailed states of an IM user is a relational database storing states of all IM users in practical applications. An example of the database is as shown in the following table.


In the above table, the State is referred to a state provided by the IM system to the IM user, and the Rich States is referred to self-defining rich states of the IM user. The IM user may set the self-defining rich states in the IM system or a service platform of the third party server.
In the above relational database, a Structured Query Language (SQL) is used as an interface program for managing database contents, which may update the database contents according to the setting information of the user of IM client.
The method for providing the state of an IM user is hereinafter described with reference to Figure 2 and Figure 3 in accordance with an embodiment of the present invention. The method provided by an embodiment of the present invention is based on the system described in Figure 2 and includes the following steps as shown in Figure 3.
Step 301: Set an interface on an IM server and a third party server respectively in advance to communicate with each other. As the above mentioned, the interface for the IM server communicating with the authorized third party server is a dedicated or public interface while the interface for the IM server communicating with the unauthorized third party server is a public interface. If the IM server communicates with a third party server via the public interface, the IM server may identify the authorization state of the third party server by setting an interface parameter, for example adding an authorization identity in the interface parameter.
Step 302: The IM client sends login information and login state setting information to the IM server when logging in the IM system. Generally, the IM user logs in the IM system with an online state; alternatively, the IM user may also log in the IM system with an invisible state. The IM server receives the login information or the login state setting information, and saves the state of the IM user in the relational database. After logging in the IM system, the IM user may set his/her state as online, invisible, leaving or offline. Whenever setting the state, the IM client sends new state information to the IM server. After receiving the new state information, the IM server saves the new state information in the relational database. The IM user may set self-defining rich states, for example "I'm in Tianjin", in the IM system or by the third party server. If the rich states are set by the third party server, the third party server sends new state information to the IM server after

setting the rich states every time, and the IM server keeps the rich states sent by the third party server last time after the IM client quits the IM server.
Step 303: The third party server sends a state request of the IM user, which includes at least a unique identity of the IM user in the IM system, to the IM server.
Step 304: After receiving the state request from the third party server, the IM server queries the relational database for the state of the IM user corresponding to the unique identity, and returns to the third party server the found the state of the IM user. The state of the IM user may be a state of the IM user being in the IM system, e.g., an online or offline state, or a rich state set by the IM user, for example "don't trouble me".
At the same time, the IM server determines the authorization state of the third party server. If the authorized third party server is preset to interact with the IM server only via a dedicated interface, the IM server may determine the authorization state of the third party server by the type of the interface for exchanging data; if the authorized third party server is preset to interact with the IM server via a public interface, the IM server may determine the authorization state of the third party server by the authorization identity in the interface parameter or by authorization information stored by itself. After the authorization state of the third party server is determined, the IM server returns different service providing rights to the third party server according to the authorization state. If the third party server is authorized by the IM system, the service providing right is relatively high, for example including popping up a designated web page, starting and executing a designated programming module. If the third party server is unauthorized by the IM system, the service providing right is relatively low, for example only including popping up a designated web page. The service providing right returned by the IM server to the third party server may be a command for the IM server allowing the third party server to provide a service so as to be executed by the third party server.
Step 305: The third party server displays the state of the IM user on its own service platform according to the returned the state of the IM user in an image mode or by a designated value. At the same time, the third party server provides a service for the IM client according to the received service providing right, i.e., execute the command for allowing the third party server to provide a service returned by the IM server. For

example, the state of the IM user on the service platform of the third party server may be returned to the IM server and added in the relational database, i.e., the personalized state of the IM user is added; alternatively, when the IM user is online, other users may leave a message to the IM client by the service platform of the third party server, and the message is sent to the IM client by the IM server.
The command which the IM server allows the third party server to execute further includes: starting or activating the IM client, jumping a designated web page, and starting a designated programming module or running a designated process module. After the command is executed, the third party server returns a command execution result to the IM client. After receiving the command execution result sent by the third party server, the IM client may execute a certain action, e.g., self-starting or activating a certain function.
In accordance with the above system and method, the third party server may obtain the state of the IM user and provide a service for the IM user according to the state of the IM user. The IM user may not only obtain the state of a contact person by the IM system, but also obtain the states of other IM users by the third party server. In addition, the IM user may add and modify its own personalized states by the third party server.
The embodiments of the present invention may be modified appropriately during specific implementation to meet the detailed requirements of specific cases. It is thereby understood that the specific embodiments described in this disclosure are demonstrative rather than limiting the protection scope of the present invention.







































Claims
What is claimed is:
1. A system for providing a state of an Instant Messaging (IM) user, comprising:
a third party server, for initiating a state request of an IM user;
an IM server, for returning a state of the IM user to the third party server upon receiving the state request from the third party server.
2. The system of Claim 1, wherein the third party server comprises at least one of an
authorized third party server and an unauthorized third party server;
the IM server interacts with the authorized third party server via a dedicated interface of a designated protocol or a public interface of a public protocol; the IM server interacts with the unauthorized third party server via the public interface of the public protocol.
3. The system of Claim 1, wherein the IM server further comprises a memory for
storing information and a service providing right of the third party server;
the IM server returns the service providing right to the third party server while returning the state of the IM user to the third party server;
the third party server provides a service for an IM client corresponding to the IM user via the IM server upon obtaining the state of the IM user and service providing right returned by the IM server.
4. The system of Claim 1, wherein the IM server comprises a memory for storing the
state of the IMuser;
the memory is a relational database.
5. A method for providing a state of an Instant Messaging (IM) user applicable to the
system of Claim 1, comprising:
initiating, by a third party server, a state request of an IM user; returning, by an IM server, to the third party server a state of the IM user upon receiving the state request.
6. The method of Claim 5, wherein the state of the IM user comprises at least one of

a state of the IM user in an IM system and a self-defining state of the IM user.
7. The method of Claim 5, wherein the returning a state of the IM user to the third
party server comprises:
querying all IM user states recorded in the IM server for the state of the IM user, and returning the state of the IM user to the third party server.
8. The method of Claim 5, further comprising:
displaying, by the third party server, the state of the IM user on a service platform upon receiving the state of the IM user returned by the IM server.
9. The method of Claim 8, wherein the displaying the state of the IM user on a
service platform comprises:
displaying the state of the IM user on the service platform in an image mode or a preset mode.
10. The method of Claim 6, further comprising:
providing, by the third party server, a service for the IM user upon receiving the state of the IM user returned by the IM server.
11. The method of Claim 10, further comprising:
returning, by the IM server, a service providing right to the third party server when returning the state of the IM user to the third party server; wherein
the providing a service for the IM user comprises:
providing the service for an IM client corresponding to the IM user via the IM server upon receiving the service providing right returned by the IM server.
12. The method of Claim 11, wherein the service providing right returned by the IM
server is a command that the IM server allows the third party server to provide the
service;
the providing the service for the IM client comprises:
executing the command returned by the IM server, and sending to the IM client a result of executing the command via the IM server.
13. The method of Claim 12, wherein the command returned by the IM server to the
third party server comprises:

starting or activating the IM client, jumping a designated web page, and starting a designated programming module or running a designated process module.
14. The method of Claim 12, wherein the command returned by the IM server to the
third party server comprises:
returning a state set by the IM user on the third party server to the IM server; the self-defining state of the IM user comprises a state set by the IM user on the third party server and returned by the third party server to the IM server.
15. The method of Claim 11, wherein the third party server comprises an authorized
third party server or an unauthorized third party server;
the returning the service providing right to the third party server comprises: determining an authorization state of the third party server, and returning an service providing right to the third party server according to the authorization state.
16. The method of Claim 15, wherein the IM server interacts with the unauthorized
third party server via a public interface of a public protocol; the IM server interacts with
the authorized third party server via a public interface of a public protocol;
the determining an authorization state of the third party server comprises: determining the authorization state of the third party server according to the type of an interface between the IM server and the third party server.
17. The method of Claim 15, wherein the IM server interacts with the unauthorized
third party server via a public interface of a public protocol; the IM server interacts with
the authorized third party server via a dedicated interface of a designated protocol;
the determining an authorization state of the third party server comprises: determining the authorization state of the third party server according to a preset parameter of an interface between the IM server and the third party server or according to authorization information of the third party server stored in the IM server.

18. The method of Claim 17, wherein the determining the authorization state of the third party server according to a preset parameter of an interface comprises:
determining the authorization state of the third party server according to an authorization identity in the preset parameter of the interface.


Documents:

2461-CHENP-2007 AMENDED PAGES OF SPECIFICATION 03-01-2012.pdf

2461-CHENP-2007 AMENDED CLAIMS 03-01-2012.pdf

2461-CHENP-2007 CORRESPONDENCE OTHERS 16-06-2011.pdf

2461-CHENP-2007 EXAMINATION REPORT REPLY RECEIVED 03-01-2012.pdf

2461-CHENP-2007 FORM-3 06-01-2012.pdf

2461-CHENP-2007 OTHER PATENT DOCUMENT 06-01-2012.pdf

2461-CHENP-2007 POWER OF ATTORNEY 03-01-2012.pdf

2461-CHENP-2007 AMENDED CLAIMS 15-05-2012.pdf

2461-CHENP-2007 CORRESPONDENCE OTHERS 06-01-2012.pdf

2461-CHENP-2007 CORRESPONDENCE OTHERS 15-05-2012.pdf

2461-CHENP-2007 FORM-3 15-05-2012.pdf

2461-chenp-2007-abstract.pdf

2461-chenp-2007-claims.pdf

2461-chenp-2007-correspondnece-others.pdf

2461-chenp-2007-description(complete).pdf

2461-chenp-2007-drawings.pdf

2461-chenp-2007-form 1.pdf

2461-chenp-2007-form 3.pdf

2461-chenp-2007-form 5.pdf

2461-chenp-2007-form18.pdf

2461-chenp-2007-pct.pdf


Patent Number 252482
Indian Patent Application Number 2461/CHENP/2007
PG Journal Number 21/2012
Publication Date 25-May-2012
Grant Date 17-May-2012
Date of Filing 08-Jun-2007
Name of Patentee TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Applicant Address 4/F, EAST 2 BLOCK, SEG PARK, ZHENXING ROAD, SHENZHEN, 518044 GUANGDONG, CHINA
Inventors:
# Inventor's Name Inventor's Address
1 MA, XIAOGUANG 4/F, EAST 2 BLOCK, SEG PARK, ZHENXING ROAD, FUTIAN DISTRICT,SHENZHEN, 518044 GUANGDONG, CHINA
PCT International Classification Number H04L 12/56
PCT International Application Number PCT/CN05/01993
PCT International Filing date 2005-11-25
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 200410052478.5 2004-11-26 China