主权项 |
1. A device for updating mobile social network services (SNS) user presence status, comprising:
a profile interface module, which is configured to: switch profiles of a mobile terminal; a background module, which is configured to: detect changes of the profile interface module, and when the profile changes, obtain a latest profile setting through a notification from the profile interface module, and notify to a subscription publishing module; the subscription publishing module, which is configured to: receive requests from SNS client modules for subscribing “profile change notification”, record identifications of the SNS client modules which subscribe the profile change notification, and notify the SNS client modules which subscribe the profile change notification one by one when the profile changes; and a SNS client module, which is configured to: receive a user presence status update notification published by the subscription publishing module, and publish updated state content in a SNS system. |