Method and system for realizing presence service, presence information processing device and presentity client
First Claim
1. A method for processing presence information, the method comprising:
- receiving presence information issued for one presentity by at least two different presence sources, with the presence information comprising presentity information, different values of a presence element, and classes corresponding to the values, wherein the classes are used to distinguish between different values of the presence element sent to different watchers;
obtaining authentication configuration information of a presentity according to the presentity information;
obtaining a right rule by resolving the authentication configuration information, the right rule comprising a correlation configured by the presentity between a watcher identity and a class of a group that the watcher identity pertains to, the watcher identity configured in a condition element of the right rule;
the class of the group that the watcher identity pertains to is configured in a transformation element of the right rule; and
a class sub-element is configured in the presence element to record a class corresponding to a value of the presence element;
determining whether class sub-elements contained in the presence information issued by the different presence sources have the same value or no class sub-element is contained;
merging the presence information issued by the different presence sources if the class sub-elements contained in the presence information issued by the different presence sources have the same value or no class sub-element is contained; and
sending a value of the presence element to a corresponding watcher according to a correlation between the class corresponding to the value in the presence information and the class derived from the right rule obtained from the authentication configuration information.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for processing presence information is disclosed. Presence information includes different values of a presence element, classes corresponding to the values and presentity information. Authentication configuration information of a presentity is obtained according to the presentity information. A right rule is obtained by resolving the authentication configuration information. The right rule includes a correlation configured by the presentity between a watcher identity and a class of a group that the watcher identity pertains to. A value of the presence element is sent to a corresponding watcher according to a correlation between the class corresponding to the value in the presence information and the class derived from the right rule obtained from the authentication configuration information.
-
Citations
10 Claims
-
1. A method for processing presence information, the method comprising:
-
receiving presence information issued for one presentity by at least two different presence sources, with the presence information comprising presentity information, different values of a presence element, and classes corresponding to the values, wherein the classes are used to distinguish between different values of the presence element sent to different watchers; obtaining authentication configuration information of a presentity according to the presentity information; obtaining a right rule by resolving the authentication configuration information, the right rule comprising a correlation configured by the presentity between a watcher identity and a class of a group that the watcher identity pertains to, the watcher identity configured in a condition element of the right rule;
the class of the group that the watcher identity pertains to is configured in a transformation element of the right rule; and
a class sub-element is configured in the presence element to record a class corresponding to a value of the presence element;determining whether class sub-elements contained in the presence information issued by the different presence sources have the same value or no class sub-element is contained; merging the presence information issued by the different presence sources if the class sub-elements contained in the presence information issued by the different presence sources have the same value or no class sub-element is contained; and sending a value of the presence element to a corresponding watcher according to a correlation between the class corresponding to the value in the presence information and the class derived from the right rule obtained from the authentication configuration information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A presence information processing device, comprising:
-
a processor; a memory coupled to the processor in which a computer program is stored, the computer program including instructions that, when executed by the processor, cause the processor to; record a grouping result for watchers sent from a presentity client according to a right rule obtained from authentication configuration information, wherein the grouping result is described by a correlation included in the right rule between a watcher identity and a class of a group that the watcher identity pertains to; determine which group a watcher allowed to obtain presence information pertains to according to the grouping result recorded after receiving the presence information, the presence information comprising different values of a presence element and classes corresponding to the values, wherein the classes are used to distinguish between different values of the presence element sent to different watchers; determine whether class sub-elements contained in presence information issued by at least two different presence sources have the same value or no class sub-element is contained if the presence information processing device receives the presence information issued for one presentity by the at least two different presence sources; and merge the presence information issued by the different presence sources if the class sub-elements contained in the presence information issued by the different presence sources have the same value or no class sub-element is contained send a value of a presence element to a corresponding watcher according to a correlation between the class corresponding to the value in the presence information and the class derived from the right rule obtained from the authentication configuration information. - View Dependent Claims (8, 9, 10)
-
Specification