Patent ID: 8595309

Claim:
A method for processing presence information, comprising: receiving, by an information processing device, presence information comprising different values configured for a presence element, classes corresponding to the different values and presentity information; obtaining, by the information processing device, authentication configuration information of a presentity according to the presentity information; obtaining, by the information processing device, 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 group to which the watcher pertains; and sending a value corresponding to a presence element in the presence information 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; wherein the watcher identity is configured in a condition element of the right rule, and the class to which the watcher pertains is configured in a transformation element of the right rule; and a class subelement is configured in the presence element to record a class corresponding to a value of the presence element, and the value of the class subelement is used to distinguish different presence information issued by different presence sources; wherein receiving by the information processing device the presence information comprises: receiving by the information processing device, presence information issued for one presentity by at least two different presence sources; and before sending, the method further comprises: determining, by the information processing device, whether the class subelements contained in the presence information issued by the different presence sources have the same value or no class subelement is contained, if the class subelements contained in the presence information issued by the different presence sources have the same value or no class subelement is contained, merging the presence information issued by the different presence sources.