WO2015090239A1 - 通知用户状态的装置、方法和*** - Google Patents

通知用户状态的装置、方法和*** Download PDF

Info

Publication number
WO2015090239A1
WO2015090239A1 PCT/CN2014/094489 CN2014094489W WO2015090239A1 WO 2015090239 A1 WO2015090239 A1 WO 2015090239A1 CN 2014094489 W CN2014094489 W CN 2014094489W WO 2015090239 A1 WO2015090239 A1 WO 2015090239A1
Authority
WO
WIPO (PCT)
Prior art keywords
rcs
rcs client
client
state
subscribed
Prior art date
Application number
PCT/CN2014/094489
Other languages
English (en)
French (fr)
Inventor
王彬
杨青山
李华
沈洪峰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015090239A1 publication Critical patent/WO2015090239A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Definitions

  • the present invention relates to the field of communications, and in particular, to an apparatus, method and system for notifying a user state.
  • RCS ich Communication Suite
  • Clients of the RCS network can provide features such as adding contacts and subscribing to user status.
  • the server of the RCS network sends a broadcast message to all contacts that subscribe to the status of the user, thereby notifying the status of the user.
  • the RCS AS Application Server
  • the S-CSCF Server-Call Session Control Function
  • the RCS AS will generate a large number of status notification messages to be broadcast on the network. This may excessively consume server performance, which may cause congestion on the network and also cause user traffic. Consumption, and even affect business use.
  • an embodiment of the present invention provides an apparatus, method, and system for notifying a user status, so as to reduce broadcast traffic of a user status notification message, and avoid waste of resources of the server and the client.
  • the technical solution is as follows:
  • a device for notifying a user status for use in a converged communication suite RCS client, the device comprising:
  • a detecting module configured to detect whether the RCS client is currently in a dormant state
  • the notification module is configured to notify the RCS application server AS to prohibit sending the user status subscribed by the RCS client when the detecting module determines that the RCS client is currently in a dormant state.
  • the notification module includes:
  • a notification unit configured to notify the RCS AS to cancel subscription to a user status subscribed by the RCS client when the detecting module determines that the RCS client is currently in a dormant state
  • an indication unit configured to: when the detecting module determines that the RCS client is currently in a dormant state, send an indication to the RCS AS that the RCS client is in a dormant state, to indicate that the RCS AS caches and suspends sending The user status that the RCS client has subscribed to.
  • the device further includes:
  • a setting module configured to set an expired time cell in the subscription message to an unsubscribe user state
  • the notification unit is used to:
  • the detecting module is further configured to: detect that the RCS client enters an active state from the dormant state;
  • the notification unit is further configured to: when the detecting module detects that the RCS client enters an active state from the dormant state, notify the RCS AS to re-subscribe to a user state that the RCS client has cancelled the subscription.
  • the device further includes:
  • a setting module configured to set a user status cell in the publish message to a leave state or an inactive state
  • the indicating unit is used to:
  • the detecting module determines that the RCS client is currently in a dormant state, sending, by the setting module, a release message to the RCSAS, to indicate that the RCS AS caches and suspends sending The user status that the RCS client has subscribed to.
  • the detecting module is further configured to: detect that the RCS client enters an active state from the dormant state;
  • the indication unit is further configured to: when the detecting module detects that the RCS client enters an active state from the dormant state, send an indication to the RCS AS that the RCS client is in an active state, to indicate The RCS AS sends the cached user status of the RCS client that has been subscribed.
  • the detecting module includes:
  • the detecting unit is configured to determine whether the time when the RCS client continues to be inactive exceeds a specified duration, and if yes, determine that the RCS client is in a dormant state; otherwise, determine that the RCS client is in an active state.
  • an apparatus for notifying a user status comprising:
  • a receiving module configured to receive, by the RCS client, a notification sent by the RCS client that prohibits sending the user status subscribed by the RCS client, where the notification is sent after the RCS client enters a sleep state;
  • the notification module is configured to stop sending the user status that the RCS client has subscribed according to the notification.
  • the receiving module includes:
  • a first receiving unit configured to receive, by the RCS client, a notification that cancels subscription of a user status subscribed by the RCS client;
  • a second receiving unit configured to receive an indication that the RCS client sent by the RCS client is in a dormant state, where the indication is used to indicate a cache and suspend sending a user status that the RCS client has subscribed to.
  • the first receiving unit is configured to:
  • Receiving a subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the first receiving unit is further configured to:
  • Receiving a re-subscribing user of the RCS client that has been unsubscribed by the RCS client A notification of the status sent by the RCS client after entering the active state from the sleep state.
  • the second receiving unit is configured to:
  • the second receiving unit is further configured to:
  • the indication is used to indicate that a user status of the cached RCS client has been subscribed, and the indication is that the RCS client is in a slave state
  • the sleep state is sent after entering the active state.
  • a method of notifying a user status comprising:
  • the RCS application server AS When it is determined that the RCS client is currently in a dormant state, the RCS application server AS is notified to prohibit sending the user status that the RCS client has subscribed to.
  • the RCS application server AS is notified to prohibit sending the user status subscribed by the RCS client, including:
  • the notifying the RCS AS to cancel the subscription of the user status subscribed by the RCS client includes:
  • the method further includes:
  • the sending, to the RCS AS, the indication that the RCS client is in a dormant state includes:
  • the method further includes:
  • the detecting whether the RCS client is currently in a dormant state includes:
  • a method for notifying a user status comprising:
  • the user status subscribed by the RCS client is stopped according to the notification.
  • the receiving, by the RCS client, a notification that prohibits sending a status of a user that the RCS client has subscribed includes:
  • the indication is used to indicate a cache and suspend sending a user state that the RCS client has subscribed to.
  • the receiving, by the RCS client, a notification that cancels subscription to a user status subscribed by the RCS client includes:
  • Receiving a subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the method further includes:
  • the receiving the indication that the RCS client sent by the RCS client is in a dormant state includes:
  • the method further includes:
  • the indication is used to indicate that a user status of the cached RCS client has been subscribed, and the indication is that the RCS client is in a slave state
  • the sleep state is sent after entering the active state.
  • a converged communication suite RCS client comprising:
  • a processor configured to detect whether the RCS client is currently in a dormant state
  • a transmitter configured to notify the RCS application server AS to prohibit sending the user status that the RCS client has subscribed when the processor determines that the RCS client is currently in a dormant state.
  • the transmitter is used to:
  • the processor determines that the RCS client is currently in a dormant state, sending an indication to the RCS AS that the RCS client is in a dormant state, to indicate that the RCS AS caches and suspends sending the RCS client Subscribed user status.
  • the processor is further configured to: set an expired time cell in the subscription message to an unsubscribe user state;
  • the transmitter is configured to: when the processor determines that the RCS client is currently in a dormant state, send the processor-set subscription message to the RCS AS.
  • the processor is further configured to: detect that the RCS client enters an active state from the sleep state;
  • the transmitter is further configured to: when the processor detects that the RCS client enters an active state from the dormant state, notify the RCS AS to resubscribe to a user state that the RCS client has unsubscribed.
  • the processor is further configured to: set a user status cell in a publish message to a leave state or an inactive state;
  • the transmitter is configured to: when the processor determines that the RCS client is currently in a dormant state, send the processor-set release message to the RCS AS to indicate that the RCS AS caches and suspends sending The user status that the RCS client has subscribed to.
  • the processor is further configured to: detect that the RCS client enters an active state from the dormant state;
  • the transmitter is further configured to: when the processor detects that the RCS client enters an active state from the dormant state, send an indication to the RCS AS that the RCS client is already active, to indicate The RCS AS sends the cached user status of the RCS client that has been subscribed.
  • the processor is configured to:
  • a converged communication suite RCS application server AS comprising:
  • a receiver configured to receive a notification sent by the RCS client of the converged communication suite to prohibit sending a status of a user subscribed by the RCS client, where the notification is sent after the RCS client enters a dormant state;
  • a transmitter configured to stop sending, according to the notification, a user status that the RCS client has subscribed to.
  • the receiver is configured to:
  • the indication is used to indicate a cache and suspend sending a user state that the RCS client has subscribed to.
  • the receiver is configured to:
  • Receiving a subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the receiver is further configured to:
  • the receiver is configured to:
  • the receiver is further configured to:
  • the indication is used to indicate that a user status of the cached RCS client has been subscribed, and the indication is that the RCS client is in a slave state
  • the sleep state is sent after entering the active state.
  • a system for notifying a user status comprising:
  • a fused communication suite RCS client according to any one of the first to sixth embodiments of the fifth aspect or the fifth aspect, and the first to sixth aspect of the sixth aspect or the sixth aspect An RCS application server AS as described in any of the five embodiments.
  • the technical solution provided by the present invention has the beneficial effects of: by detecting whether the RCS client of the converged communication suite is currently in a dormant state, and notifying the RCS application server AS to prohibit sending the RCS when determining that the RCS client is currently in a dormant state.
  • FIG. 1 is a structural diagram of an apparatus for notifying a user state according to Embodiment 1 of the present invention
  • FIG. 2 is a structural diagram of an apparatus for notifying a user state according to Embodiment 2 of the present invention
  • Embodiment 3 is a flowchart of a method for notifying a user status according to Embodiment 3 of the present invention
  • Embodiment 4 is a flowchart of a method for notifying a user status according to Embodiment 4 of the present invention
  • FIG. 5a is a flowchart of a method for notifying a user status according to Embodiment 5 of the present invention.
  • FIG. 5b is a schematic diagram of a network architecture provided by Embodiment 5 of the present invention.
  • FIG. 5c is a schematic diagram of an interaction process provided by Embodiment 5 of the present invention.
  • FIG. 6a is a flowchart of a method for notifying a user status according to Embodiment 6 of the present invention.
  • FIG. 6b is a schematic diagram of an interaction process provided by Embodiment 6 of the present invention.
  • FIG. 7 is a structural diagram of an RCS client according to Embodiment 7 of the present invention.
  • FIG. 8 is a structural diagram of an RCS AS according to Embodiment 8 of the present invention.
  • FIG. 9 is a system structural diagram of a state of notifying a user according to Embodiment 9 of the present invention.
  • the embodiment provides a device for notifying a user status, which is applied to a converged communication suite RCS client, and the device includes:
  • the detecting module 101 is configured to detect whether the RCS client is currently in a dormant state
  • the notification module 102 is configured to notify the RCS application server AS to prohibit sending the user status subscribed by the RCS client when the detecting module determines that the RCS client is currently in a dormant state.
  • the notification module 102 can include:
  • a notification unit configured to: when the detecting module 101 determines that the RCS client is currently in a sleep state, Notifying the RCS AS to unsubscribe from the user status that the RCS client has subscribed to; or,
  • an indication unit configured to: when the detecting module 101 determines that the RCS client is currently in a dormant state, send an indication to the RCS AS that the RCS client is in a dormant state, to indicate that the RCS AS caches and suspends sending the RCS client. User status of the subscription.
  • the foregoing apparatus may further include:
  • a setting module configured to set an expired time cell in the subscription message to an unsubscribe user state
  • the notification unit may be configured to: when the detecting module 101 determines that the RCS client is currently in a dormant state, send a subscription message set by the setting module to the RCS AS.
  • the detecting module 101 is further configured to: detect that the RCS client enters an active state from the dormant state; correspondingly, the notification unit may be further configured to: when the detecting module 101 detects that the RCS client is from the When the sleep state enters the active state, the RCS AS is notified to re-subscribe to the user state of the RCS client that has been unsubscribed.
  • the foregoing apparatus may further include:
  • a setting module configured to set a user status cell in the publish message to a leave state or an inactive state
  • the indicating unit may be configured to: when the detecting module 101 determines that the RCS client is currently in a dormant state, send a publishing message after the setting module is set to the RCS AS, to indicate that the RCS AS caches and suspends sending the RCS client. User status of the subscription.
  • the detecting module 101 is further configured to: detect that the RCS client enters an active state from the sleep state;
  • the indicating unit may be further configured to: when the detecting module 101 detects that the RCS client enters an active state from the dormant state, send an indication to the RCS AS that the RCS client is already active, to indicate that the RCS AS sends a buffer. The user status of the RCS client that has been subscribed to.
  • the detecting module 101 may include:
  • the detecting unit may be configured to determine whether the time when the RCS client continues to be inactive exceeds a specified duration, and if yes, determine that the RCS client is in a dormant state; otherwise, determine that the RCS client is in an active state.
  • the foregoing apparatus by detecting whether the RCS client is currently in a dormant state, notifying the RCS AS to prohibit sending the user state subscribed by the RCS client when determining that the RCS client is currently in a dormant state, effectively Reduced the generation of worthless temporary status update messages Sending, reducing the large amount of broadcast traffic generated by the RCS AS due to the user status notification message, avoiding waste of resources of the RCSAS and the RCS client, reducing the risk of network congestion, and reducing the traffic consumption of the RCS client.
  • the embodiment provides an apparatus for notifying a user status, including:
  • the receiving module 201 is configured to receive, by the RCS client, a notification sent by the RCS client that prohibits sending the user status subscribed by the RCS client, where the notification is sent after the RCS client enters a sleep state;
  • the notification module 202 is configured to stop sending the user status that the RCS client has subscribed according to the notification.
  • the receiving module 201 can include:
  • a first receiving unit configured to receive a notification sent by the RCS client to unsubscribe to a user status subscribed by the RCS client;
  • a second receiving unit configured to receive, by the RCS client, an indication that the RCS client is in a dormant state, where the indication is used to indicate a cache and suspend sending a user status that the RCS client has subscribed to.
  • the first receiving unit can be used to:
  • Receiving a subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the first receiving unit is further configured to:
  • the second receiving unit can be used to:
  • the user status cell in the release message is set to leave state or inactive state.
  • the second receiving unit is further configured to:
  • Receiving an indication that the RCS client sent by the RCS client is already active may be used to indicate that the RCS client that has sent the cache has subscribed to the user state, and the indication is that the RCS client enters from the sleep state Sent after the active state.
  • the foregoing apparatus receives the prohibition of sending the RCS by receiving an RCS client.
  • a notification of the user status subscribed by the client the notification is sent after the RCS client enters the dormant state, and according to the notification, the user status subscribed by the RCS client is stopped, effectively reducing the valueless temporary status update.
  • the sending of the message reduces the amount of broadcast traffic generated by the user status notification message, avoids wasting resources of the RCS AS and the RCS client, reduces the network congestion risk, and reduces the traffic consumption of the RCS client.
  • the embodiment provides a method for notifying a user status, including:
  • the RCS client is in a dormant state, which means that there is no operation on the RCS client, that is, the RCS client is idle.
  • the sleep state includes but is not limited to: the user leaves the absence for a long time, or the user temporarily does not use the RCS client but operates other applications and the like.
  • the RCS application server AS when it is determined that the RCS client is currently in a dormant state, the RCS application server AS is notified to prohibit sending the user status subscribed by the RCS client, which may include:
  • an indication that the RCS client is already in a dormant state is sent to the RCS AS to indicate that the RCS AS caches and suspends sending the user status that the RCS client has subscribed to.
  • the notifying the RCS AS to cancel the subscribed user status of the RCS client may include: setting the expired time cell in the subscription message to the unsubscribe user state; sending the set subscription message to the RCS AS.
  • the method may further include: detecting that the RCS client enters an active state from the dormant state; and notifying the RCS AS to re-subscribe to the RCS client. The status of the user who has unsubscribed.
  • the sending, to the RCS AS, the indication that the RCS client is in a dormant state may include: setting a user status cell in the publish message to a leave state or an inactive state; sending the setting to the RCS AS After the release of the message.
  • the method further includes: detecting that the RCS client enters an active state from the dormant state; and sending the RCS client to the RCS AS.
  • the detecting whether the RCS client is currently in the dormant state may include: determining whether the time when the RCS client continues to be inactive exceeds a specified duration, and if yes, determining that the RCS client is in a dormant state; otherwise, Make sure the RCS client is active.
  • the time length specified in the foregoing may be set according to requirements, such as 20 minutes or 30 minutes, and the like, and may be adjusted at any time, which is not specifically limited in this embodiment. For example, after setting the specified duration to t1, after a number of statistics, it is found that the RCS client resumes the active state within a short time after t1 is exceeded. Therefore, the value of t1 can be increased to adjust.
  • the foregoing method provided by the embodiment, by detecting whether the RCS client is currently in a dormant state, and when determining that the RCS client is currently in a dormant state, notifying the RCS AS to prohibit sending the user state subscribed by the RCS client, effectively
  • the transmission of the valueless temporary status update message is reduced, the large amount of broadcast traffic generated by the RCS AS due to the user status notification message is reduced, the resource waste of the RCSAS and the RCS client is avoided, the network congestion risk is reduced, and the traffic consumption of the RCS client is reduced.
  • the embodiment provides a method for notifying a user status, including:
  • the receiving, by the RCS client, the notification that the user status of the user that has been subscribed to the RCS client is prohibited from being sent may include: receiving a notification sent by the RCS client to cancel the subscription of the user status subscribed by the RCS client; Or receiving an indication that the RCS client sent by the RCS client is in a dormant state, the indication is used to indicate a cache and suspend sending a user status that the RCS client has subscribed to.
  • the receiving the notification that the RCS client sends a subscription to the user status subscribed by the RCS client may include: receiving a subscription message sent by the RCS client, the subscription The expired time cell in the message is set to unsubscribe to the user state.
  • the method may further include: receiving, by the RCS client, resubscribing the user that has been unsubscribed by the RCS client. A notification of the status sent by the RCS client after entering the active state from the sleep state.
  • the receiving the indication that the RCS client sent by the RCS client is in a dormant state may include: receiving a publishing message sent by the RCS client, where the user status cell in the publishing message is set to leave Status or inactive status.
  • the method may further include:
  • the indication is used to indicate that a status of the user that the cached RCS client has subscribed to is sent, the indication is that the RCS client enters the activity from the sleep state Sent after the status.
  • the foregoing method provided by the embodiment is configured to receive, by the RCS client, a notification that prohibiting sending the user status subscribed by the RCS client, the notification is sent after the RCS client enters a dormant state, and stops sending the RCS according to the notification.
  • the user status subscribed by the client effectively reduces the transmission of worthless temporary status update messages, reduces the large amount of broadcast traffic generated by the user status notification message, avoids waste of resources of the RCS AS and RCS clients, and reduces network congestion. Risk, reducing the traffic consumption of the RCS client.
  • the embodiment provides a method for notifying a user status, including:
  • the RCS client detects whether it is currently in a dormant state
  • the step may specifically include:
  • the RCS client When it is determined that the current state is in a dormant state, the RCS client notifies the RCS AS to cancel the subscription to the user state that the RCS client has subscribed to;
  • the RCS client notifying the RCS AS to cancel the subscription of the user status subscribed by the RCS client may include: setting the expired time cell in the subscription message to the unsubscribe user state, and sending the setting The subscribed message is sent to the RCS AS.
  • the RCS AS receives a notification sent by the RCS client to cancel the subscription to the status of the user that the RCS client has subscribed to;
  • the step may specifically include:
  • the RCS AS receives the subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the above subscription message for unsubscribing user status can be as follows:
  • the value of the Expires timeout cell in the SUBSCRIBE subscription message is set to 0, indicating that the subscriber state is unsubscribed.
  • the RCS AS stops sending the user status subscribed by the RCS client according to the received notification.
  • the RCS client may further include: the RCS client detects that the active state has been entered from the hibernation state, and notifies the RCS AS to re-subscribe. The user status of the RCS client has been unsubscribed.
  • the method may further include: receiving, by the RCS AS, a notification sent by the RCS client to re-subscribe to the user status of the RCS client that has been unsubscribed. Therefore, the subscription of the RCS client can be restored, and the RCS AS can normally send the user status that the RCS client has subscribed to.
  • the RCS client may set the expired time cell in the subscription message to the subscribed user state, and send the set subscription message to the RCS AS to resubscribe the RCS client. User status that has been unsubscribed.
  • the above subscription message for resubscribing to the unsubscribed user status can be as follows:
  • the value of the Expires timeout cell in the SUBSCRIBE subscription message is set to 3600, indicating the status of the subscriber, which refers to the resubscription after the subscription is cancelled.
  • the RCS client 1 adds the RCS client 2 to the RCS client n as a contact, and subscribes to the user status of the n-1 contacts. After the RCS client 1 detects that it has entered the sleep state, it notifies the RCS AS through the SBC1 and the S-CSCF to cancel the subscription of the user state that the RCS client 1 has subscribed to. Therefore, when the state change occurs in the RCS client 2 to the RCS client n, the RCS AS does not notify the RCS client 1 of the changed user state, thereby reducing broadcast traffic and avoiding waste of resources of the RCS AS and the RCS client.
  • RCS Clients 1 and 2 complete registration and status subscription, where RCS Client 2 is the contact of RCS Client 1 and RCS Client 1 has subscribed to the user state of the RCS Client.
  • 2RCS client 1 enters the sleep state, and sends a subscription message to the RCS AS through SBC1 and S-CSCF, where the value of the Expires cell is set to 0, indicating that the subscribed user state is unsubscribed.
  • the 3RCS client 2 exits or drops the network, and is offline.
  • the RCS AS does not notify the RCS client 1 of the status.
  • RCS AS does not notify RCS client 1 of this status.
  • 5RCS Client 1 enters the active state, and sends a subscription message to the RCS AS through SBC1 and S-CSCF, where the value of the Expires cell is set to 3600, indicating that the user status of the unsubscribed user is resubscribed.
  • the 6RCS AS notifies the RCS client 1 of the online status of the RCS client 2.
  • the foregoing method provided in this embodiment detects whether the RCS client is currently in the dormant state by using the RCS client, and when the user is in the dormant state, notifying the RCS AS to cancel the subscription of the user status subscribed by the RCS client, after receiving the notification, the RCS AS receives the notification.
  • the notification stopping the sending of the user status subscribed by the RCS client, effectively reducing the transmission of the valueless temporary status update message, thereby reducing the large amount of broadcast traffic generated by the RCS AS due to the user status notification message, avoiding the RCS AS
  • the waste of resources of the RCS client reduces the risk of network congestion and reduces the traffic consumption of the RCS client.
  • the embodiment provides a method for notifying a user status, including:
  • the RCS client detects whether it is currently in a sleep state
  • the step may specifically include:
  • the RCS client When it is determined that the current sleep state, the RCS client sends an indication that the RCS client is in a dormant state to the RCS AS, to indicate that the RCS AS caches and suspends sending the user status that the RCS client has subscribed to;
  • the foregoing RCS client sends an indication to the RCS AS that the RCS client is in a dormant state, and may include:
  • the post-set publish message is sent to the RCS AS.
  • the RCS AS receives an indication that the RCS client sent by the RCS client is in a dormant state
  • the step may specifically include:
  • the RCS AS receives the publish message sent by the RCS client, and the user status cell in the release message is set to leave state or inactive state.
  • the RCS AS caches and suspends sending the user status subscribed by the RCS client according to the received indication.
  • the method may further include: detecting that the RCS client enters the active state from the dormant state, and sending the RCS AS to the RCS AS.
  • the method may further include: the RCS AS receiving an indication that the RCS client sent by the RCS client is already active, and sending the cached user status of the RCS client subscribed according to the indication.
  • the RCS AS caches the user state, it can be cached in an alternate manner.
  • the user state of the last cache is deleted, and only the latest user state is retained, so that the user is the latest user when the cached user state is delivered.
  • Status avoiding unnecessary user status and saving Network traffic, avoiding waste of resources.
  • the user status subscribed by the RCS client may be one or more.
  • RCS client A has 100 contacts, subscribes to the user status of the 100 contacts, and enters a sleep state at a certain moment. After any one of the 100 contacts is logged in, the RCS AS caches the online status of the client B. When the client B exits or drops the network, the SCSCF notifies the RCS AS that the client B is offline, then the RCS The AS caches the offline status of the client B. After the client A enters the active state and immediately publishes the online state, the RCS AS sends a cached state change message to the client A after receiving the notification that the client A enters the active state.
  • the foregoing publishing message used to indicate the RCS AS cache and suspend sending the user status subscribed by the RCS client may be specifically as follows:
  • the activity user status cell in the PUBLISH advertisement message may be set to an away leave state or set to a non-active inactive state to instruct the RCS AS to cache and suspend sending the user status subscribed by the RCS client.
  • the RCS client detects that the RCS client is active from the dormant state
  • the RCS AS sends an indication that the RCS client is active
  • the activity user status cell in the PUBLISH message is set to the online online state. Indicates the user status that the RCS AS has sent to cache the subscribed RCS client.
  • RCS Clients 1 and 2 complete registration and status subscription, where RCS Client 2 is the contact of RCS Client 1 and RCS Client 1 has subscribed to the user state of the RCS Client.
  • 2RCS client 1 enters the sleep state, sends a PUBLISH advertisement message to RCSAS through SBC1 and S-CSCF, sets the value of the activity user status cell to aaway or non-active, to instruct RCSAS to cache and suspend the transmission of the RCS client.
  • Subscribed user status 3RCS client 2 login, online status.
  • the 4RCS AS caches the online status and does not notify the RCS client 1.
  • 5RCS Client 2 exits or drops the network and is offline.
  • the 6RCS AS caches the offline state and does not notify the RCS client 1.
  • 7RCS client 1 enters the active state, sends a publish message to the RCS AS through SBC1 and S-CSCF, and sets the value of the activity cell therein to online to instruct the RCS AS to send the cached user status of the RCS client subscribed.
  • the 8RCS AS notifies the RCS client 1 of the offline status of the cached RCS client 2.
  • the RCS client sends an indication to the RCS AS that the RCS client is in a dormant state when the RCS client is in the dormant state, and the RCS AS receives the indication according to the RCS AS.
  • the indication caches and suspends sending the user status subscribed by the RCS client, effectively reducing the transmission of worthless temporary status update messages, thereby reducing the amount of broadcast traffic generated by the RCS AS due to the user status notification message, avoiding RCS
  • the resources of the AS and RCS clients are wasted, reducing the risk of network congestion and reducing the traffic consumption of the RCS client.
  • an RCS client which may include:
  • the processor 701 is configured to detect whether the RCS client is currently in a dormant state
  • the transmitter 702 is configured to notify the RCS application server AS to prohibit sending the user status that the RCS client has subscribed when the processor determines that the RCS client is currently in a dormant state.
  • the transmitter 702 can be used to:
  • the processor 701 determines that the RCS client is currently in a dormant state, notifying the RCS AS to unsubscribe to the user state that the RCS client has subscribed to; or
  • the processor 701 determines that the RCS client is currently in a dormant state, it sends an indication to the RCS AS that the RCS client is in a dormant state to indicate that the RCS AS caches and suspends sending the user status that the RCS client has subscribed to.
  • the processor 701 is further configured to: set the expired time cell in the subscription message to the unsubscribe user state; the transmitter 702 can be configured to: when the processor 701 determines that the RCS client is currently in the dormant state And sending a subscription message set by the processor 701 to the RCS AS.
  • the processor 701 is further configured to: detect that the RCS client enters an active state from the dormant state; the transmitter 702 is further configured to: when the processor 701 detects that the RCS client enters from the dormant state In the active state, the RCS AS is notified to re-subscribe to the user status of the RCS client that has been unsubscribed.
  • the processor 701 is further configured to: set the user status cell in the release message to the leave state or the inactive state; the transmitter 702 can be configured to: when the processor 701 determines that the RCS client is currently in the sleep state In the state, the release message set by the processor 701 is sent to the RCS AS to indicate that the RCS AS caches and suspends sending the user status that the RCS client has subscribed to.
  • the processor 701 is further configured to: detect that the RCS client enters an active state from the dormant state; the transmitter 702 is further configured to: when the processor 701 detects that the RCS client enters from the dormant state In the active state, an indication that the RCS client is already active is sent to the RCS AS to indicate to the RCS AS that the cached user status of the RCS client has been subscribed.
  • the processor 701 may be configured to: determine whether the time when the RCS client continues to be inactive exceeds a specified duration, and if yes, determine that the RCS client is in a dormant state; otherwise, determine that the RCS client is active. status.
  • the foregoing RCS client provided in this embodiment may perform the method provided by any of the foregoing method embodiments.
  • the foregoing RCS client provided by the embodiment, by detecting whether the current RCS client is in a dormant state, notifying the RCS AS to prohibit sending the RCS guest when determining that the RCS client is currently in a dormant state.
  • the user status subscribed by the client effectively reduces the transmission of the valueless temporary status update message, reduces the large amount of broadcast traffic generated by the RCS AS due to the user status notification message, and avoids waste of resources of the RCS AS and the RCS client. Network congestion risks reduce the traffic consumption of RCS clients.
  • the embodiment provides an RCS AS, including:
  • the receiver 801 is configured to receive, by the RCS client, a notification sent by the RCS client that prohibits sending the user status subscribed by the RCS client, where the notification is sent after the RCS client enters a sleep state;
  • the transmitter 802 is configured to stop sending the user status that the RCS client has subscribed according to the notification.
  • the receiver 801 can be used to:
  • the indication is used to indicate a cache and suspend sending a user status that the RCS client has subscribed to.
  • the receiver 801 can be used to:
  • Receiving a subscription message sent by the RCS client, and the expired time cell in the subscription message is set to cancel the subscription user state.
  • the receiver 801 can also be used to:
  • the receiver 801 can be used to:
  • the user status cell in the release message is set to leave state or inactive state.
  • the receiver 801 can also be used to:
  • the indication is used to indicate that a status of the user that the cached RCS client has subscribed to is sent, the indication is that the RCS client enters the activity from the sleep state Sent after the status.
  • the foregoing RCS AS provided in this embodiment may perform the method provided by any of the foregoing method embodiments.
  • the RCS AS receives a notification that the RCS client sends a user status that has been subscribed to by the RCS client, and the notification is sent after the RCS client enters a dormant state, and stops sending according to the notification.
  • the user status subscribed by the RCS client effectively reduces the transmission of worthless temporary status update messages, reduces the large amount of broadcast traffic generated by the user status notification message, avoids waste of resources of the RCS AS and RCS clients, and reduces the network. Congestion risk, reducing the traffic consumption of the RCS client.
  • the embodiment provides a system for notifying the status of the user, including: an RCS client 901 and an RCS AS 902, wherein the RCS client 901 can be the RCS client provided in the foregoing Embodiment 7, the RCS AS.
  • the 902 may be the RCS AS provided in the foregoing Embodiment 8.
  • the system provided in this embodiment detects whether the RCS client is currently in a dormant state by using the RCS client.
  • the RCS AS is notified to prohibit sending the user status subscribed by the RCS client, RCS AS.
  • stop sending the user status subscribed by the RCS client according to the notification effectively reducing the transmission of the valueless temporary status update message, and reducing the large amount of broadcast traffic generated by the RCS AS due to the user status notification message.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种通知用户状态的装置、方法和***,属于通信领域。所述装置应用于RCS客户端,包括:检测模块,用于检测RCS客户端当前是否处于休眠状态;通知模块,用于当检测模块确定RCS客户端当前处于休眠状态时,通知RCS AS禁止发送RCS客户端已订阅的用户状态。还提供了一种通知用户状态的装置,包括:接收模块和通知模块。本发明降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。

Description

通知用户状态的装置、方法和***
本申请要求于2013年12月20日提交中国专利局、申请号为201310714205.1、发明名称为“通知用户状态的装置、方法和***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,特别涉及一种通知用户状态的装置、方法和***。
背景技术
在RCS(Rich Communication Suite,融合通信套件)网络中,通过部署Presence呈现业务,可以方便进行即时通信的用户及时了解其它用户的状态。用户状态通常可以包括在线、离开、忙碌或离线等多种,且受网络覆盖情况及用户操作行为等影响,用户状态会经常发生变化。
RCS网络的客户端能够提供添加联系人,以及订阅用户状态等功能。RCS网络的服务器在某一个用户的状态发生变化时,会向所有订阅该用户状态的联系人发送广播消息,从而通知该用户的状态。例如,当用户1登录或退出客户端时,RCS AS(Application Server,应用服务器)将根据用户之间的订阅关系产生多条广播消息,通知所有订阅用户1状态的其它用户。或者,当用户1失去网络覆盖后,S-CSCF(Serving-Call Session Control Function,服务-呼叫会话控制功能)检测到用户1的周期性注册超时,将用户1设置为离线状态,并通知RCS AS用户1已经下线,RCS AS将根据用户之间的订阅关系产生多条广播消息,通知所有订阅用户1状态的其它用户。
如果用户频繁登录或退出,或者用户失去网络覆盖的次数较多时,将导致RCS AS产生大量的状态通知消息在网络中广播,会过度消耗服务器性能,可能导致网络产生拥塞,而且也会导致用户流量的消耗,甚至影响业务使用。
发明内容
有鉴于此,本发明实施例提供了一种通知用户状态的装置、方法和***,以降低用户状态通知消息的广播流量,避免服务器和客户端的资源浪费。所述技术方案如下:
第一方面,提供了一种通知用户状态的装置,应用于融合通信套件RCS客户端,所述装置包括:
检测模块,用于检测所述RCS客户端当前是否处于休眠状态;
通知模块,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
结合上述第一方面,在第一种实施方式下,所述通知模块包括:
通知单元,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态;或者,
指示单元,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第一种实施方式,在第二种实施方式下,所述装置还包括:
设置模块,用于将订阅消息中的超期时间信元设置为取消订阅用户状态;
所述通知单元用于:
当所述检测模块确定所述RCS客户端当前处于休眠状态时,发送所述设置模块设置后的订阅消息给所述RCS AS。
结合上述第一种实施方式,在第三种实施方式下,所述检测模块还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
所述通知单元还用于:当所述检测模块检测到所述RCS客户端从所述休眠状态进入活动状态时,通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
结合上述第一种实施方式,在第四种实施方式下,所述装置还包括:
设置模块,用于将发布消息中的用户状态信元设置为离开状态或非活动状态;
所述指示单元用于:
当所述检测模块确定所述RCS客户端当前处于休眠状态时,向所述RCSAS发送所述设置模块设置后的发布消息,以指示所述RCS AS缓存且暂停发送 所述RCS客户端已订阅的用户状态。
结合上述第一种实施方式,在第五种实施方式下,所述检测模块还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
所述指示单元还用于:当所述检测模块检测到所述RCS客户端从所述休眠状态进入活动状态时,向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
结合上述第一方面或第一种至第五种实施方式中的任一种,在第六种实施方式下,所述检测模块包括:
检测单元,用于判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状态。
第二方面,提供了一种通知用户状态的装置,所述装置包括:
接收模块,用于接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
通知模块,用于根据所述通知停止发送所述RCS客户端已订阅的用户状态。
结合上述第二方面,在第一种实施方式下,所述接收模块包括:
第一接收单元,用于接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知;或者,
第二接收单元,用于接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第二方面的第一种实施方式,在第二种实施方式下,所述第一接收单元用于:
接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
结合上述第二方面的第一种实施方式,在第三种实施方式下,所述第一接收单元还用于:
接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户 状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
结合上述第二方面的第一种实施方式,在第四种实施方式下,所述第二接收单元用于:
接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
结合上述第二方面的第一种实施方式,在第五种实施方式下,所述第二接收单元还用于:
接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
第三方面,提供了一种通知用户状态的方法,所述方法包括:
检测融合通信套件RCS客户端当前是否处于休眠状态;
当确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
结合上述第三方面,在第一种实施方式下,所述当确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态,包括:
当确定所述RCS客户端当前处于休眠状态时,通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态;或者,
当确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第三方面的第一种实施方式,在第二种实施方式下,所述通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态,包括:
将订阅消息中的超期时间信元设置为取消订阅用户状态;
发送所述设置后的订阅消息给所述RCS AS。
结合上述第三方面的第一种实施方式,在第三种实施方式下,所述通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态之后,还包括:
检测到所述RCS客户端从所述休眠状态进入活动状态;
通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
结合上述第三方面的第一种实施方式,在第四种实施方式下,所述向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,包括:
将发布消息中的用户状态信元设置为离开状态或非活动状态;
向所述RCS AS发送所述设置后的发布消息。
结合上述第三方面的第一种实施方式,在第五种实施方式下,所述向所述RCS AS发送所述RCS客户端已处于休眠状态的指示之后,还包括:
检测到所述RCS客户端从所述休眠状态进入活动状态;
向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
结合上述第三方面或第一种至第五种实施方式中的任一种,在第六种实施方式下,所述检测RCS客户端当前是否处于休眠状态,包括:
判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状态。
第四方面,提供了一种通知用户状态的方法,所述方法包括:
接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
根据所述通知停止发送所述RCS客户端已订阅的用户状态。
结合上述第四方面,在第一种实施方式下,所述接收RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,包括:
接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知;或者,
接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第四方面的第一种实施方式,在第二种实施方式下,所述接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知,包括:
接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
结合上述第四方面的第一种实施方式,在第三种实施方式下,所述接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知之后,还包括:
接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
结合上述第四方面的第一种实施方式,在第四种实施方式下,所述接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,包括:
接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
结合上述第四方面的第一种实施方式,在第五种实施方式下,所述接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示之后,还包括:
接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
第五方面,提供了一种融合通信套件RCS客户端,所述客户端包括:
处理器,用于检测所述RCS客户端当前是否处于休眠状态;
发射机,用于当所述处理器确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
结合上述第五方面,在第一种实施方式下,所述发射机用于:
当所述处理器确定所述RCS客户端当前处于休眠状态时,通知所述RCSAS取消订阅所述RCS客户端已订阅的用户状态;或者,
当所述处理器确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第五方面的第一种实施方式,在第二种实施方式下,所述处理器还用于:将订阅消息中的超期时间信元设置为取消订阅用户状态;
所述发射机用于:当所述处理器确定所述RCS客户端当前处于休眠状态时,发送所述处理器设置后的订阅消息给所述RCS AS。
结合上述第五方面的第一种实施方式,在第三种实施方式下,所述处理器 还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
所述发射机还用于:当所述处理器检测到所述RCS客户端从所述休眠状态进入活动状态时,通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
结合上述第五方面的第一种实施方式,在第四种实施方式下,所述处理器还用于:将发布消息中的用户状态信元设置为离开状态或非活动状态;
所述发射机用于:当所述处理器确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述处理器设置后的发布消息,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第五方面的第一种实施方式,在第五种实施方式下,所述处理器还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
所述发射机还用于:当所述处理器检测到所述RCS客户端从所述休眠状态进入活动状态时,向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
结合上述第五方面或第一种至第五种实施方式中的任一种,在第六种实施方式下,所述处理器用于:
判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状态。
第六方面,提供了一种融合通信套件RCS应用服务器AS,所述应用服务器包括:
接收机,用于接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
发射机,用于根据所述通知停止发送所述RCS客户端已订阅的用户状态。
结合上述第六方面,在第一种实施方式下,所述接收机用于:
接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知;或者,
接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
结合上述第六方面的第一种实施方式,在第二种实施方式下,所述接收机用于:
接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
结合上述第六方面的第一种实施方式,在第三种实施方式下,所述接收机还用于:
接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
结合上述第六方面的第一种实施方式,在第四种实施方式下,所述接收机用于:
接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
结合上述第六方面的第一种实施方式,在第五种实施方式下,所述接收机还用于:
接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
第七方面,提供了一种通知用户状态的***,所述***包括:
如上述第五方面或第五方面的第一种至第六种实施方式中的任一种所述的融合通信套件RCS客户端,以及如上述第六方面或第六方面的第一种至第五种实施方式中的任一种所述的RCS应用服务器AS。
本发明提供的技术方案带来的有益效果是:通过检测融合通信套件RCS客户端当前是否处于休眠状态,当确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态,以降低RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例1提供的通知用户状态的装置结构图;
图2是本发明实施例2提供的通知用户状态的装置结构图;
图3是本发明实施例3提供的通知用户状态的方法流程图;
图4是本发明实施例4提供的通知用户状态的方法流程图;
图5a是本发明实施例5提供的通知用户状态的方法流程图;
图5b是本发明实施例5提供的网络架构示意图;
图5c是本发明实施例5提供的交互流程示意图;
图6a是本发明实施例6提供的通知用户状态的方法流程图;
图6b是本发明实施例6提供的交互流程示意图;
图7是本发明实施例7提供的RCS客户端结构图;
图8是本发明实施例8提供的RCS AS结构图;
图9是本发明实施例9提供的通知用户状态的***结构图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
实施例1
参见图1,本实施例提供了一种通知用户状态的装置,应用于融合通信套件RCS客户端,该装置包括:
检测模块101,用于检测该RCS客户端当前是否处于休眠状态;
通知模块102,用于当该检测模块确定该RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送该RCS客户端已订阅的用户状态。
本实施例中,通知模块102可以包括:
通知单元,用于当检测模块101确定该RCS客户端当前处于休眠状态时, 通知该RCS AS取消订阅该RCS客户端已订阅的用户状态;或者,
指示单元,用于当检测模块101确定该RCS客户端当前处于休眠状态时,向该RCS AS发送该RCS客户端已处于休眠状态的指示,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,上述装置还可以包括:
设置模块,用于将订阅消息中的超期时间信元设置为取消订阅用户状态;
该通知单元可以用于:当检测模块101确定该RCS客户端当前处于休眠状态时,发送该设置模块设置后的订阅消息给该RCS AS。
本实施例中,检测模块101还可以用于:检测到该RCS客户端从该休眠状态进入活动状态;相应地,上述通知单元还可以用于:当检测模块101检测到该RCS客户端从该休眠状态进入活动状态时,通知该RCS AS重新订阅该RCS客户端已取消订阅的用户状态。
本实施例中,上述装置还可以包括:
设置模块,用于将发布消息中的用户状态信元设置为离开状态或非活动状态;
该指示单元可以用于:当检测模块101确定该RCS客户端当前处于休眠状态时,向该RCS AS发送该设置模块设置后的发布消息,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。
进一步地,检测模块101还可以用于:检测到该RCS客户端从该休眠状态进入活动状态;
该指示单元还可以用于:当检测模块101检测到该RCS客户端从该休眠状态进入活动状态时,向该RCS AS发送该RCS客户端已处于活动状态的指示,以指示该RCS AS发送缓存的该RCS客户端已订阅的用户状态。
本实施例中,检测模块101可以包括:
检测单元,可以用于判断该RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定该RCS客户端处于休眠状态;否则,确定该RCS客户端处于活动状态。
本实施例提供的上述装置,通过检测RCS客户端当前是否处于休眠状态,当确定所述RCS客户端当前处于休眠状态时,通知RCS AS禁止发送所述RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发 送,降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCSAS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例2
参见图2,本实施例提供了一种通知用户状态的装置,包括:
接收模块201,用于接收融合通信套件RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的;
通知模块202,用于根据该通知停止发送该RCS客户端已订阅的用户状态。
本实施例中,该接收模块201可以包括:
第一接收单元,用于接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知;或者,
第二接收单元,用于接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,该第一接收单元可以用于:
接收该RCS客户端发送的订阅消息,该订阅消息中的超期时间信元被设置为取消订阅用户状态。
本实施例中,该第一接收单元还可以用于:
接收该RCS客户端发送的重新订阅该RCS客户端已取消订阅的用户状态的通知,该通知为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例中,该第二接收单元可以用于:
接收该RCS客户端发送的发布消息,该发布消息中的用户状态信元被设置为离开状态或非活动状态。
本实施例中,该第二接收单元还可以用于:
接收该RCS客户端发送的该RCS客户端已处于活动状态的指示,该指示可以用于指示发送缓存的该RCS客户端已订阅的用户状态,该指示为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例提供的上述装置,通过接收RCS客户端发送的禁止发送该RCS 客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的,根据该通知停止发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例3
参见图3,本实施例提供了一种通知用户状态的方法,包括:
301:检测融合通信套件RCS客户端当前是否处于休眠状态;
302:当确定该RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送该RCS客户端已订阅的用户状态。
本实施例中,RCS客户端处于休眠状态是指RCS客户端上无任何操作的状态,即RCS客户端被闲置。该休眠状态包括但不限于:用户长时间离开不在,或者用户暂时不使用RCS客户端而是操作其它应用等等。
本实施例中,当确定该RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送该RCS客户端已订阅的用户状态,可以包括:
当确定该RCS客户端当前处于休眠状态时,通知该RCS AS取消订阅该RCS客户端已订阅的用户状态;或者,
当确定该RCS客户端当前处于休眠状态时,向该RCS AS发送该RCS客户端已处于休眠状态的指示,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,上述通知该RCS AS取消订阅该RCS客户端已订阅的用户状态,可以包括:将订阅消息中的超期时间信元设置为取消订阅用户状态;发送该设置后的订阅消息给该RCS AS。
本实施例中,上述通知该RCS AS取消订阅该RCS客户端已订阅的用户状态之后,还可以包括:检测到该RCS客户端从该休眠状态进入活动状态;通知该RCS AS重新订阅该RCS客户端已取消订阅的用户状态。
本实施例中,上述向该RCS AS发送该RCS客户端已处于休眠状态的指示,可以包括:将发布消息中的用户状态信元设置为离开状态或非活动状态;向该RCS AS发送该设置后的发布消息。
本实施例中,上述向该RCS AS发送该RCS客户端已处于休眠状态的指示之后,还可以包括:检测到该RCS客户端从该休眠状态进入活动状态;向该RCS AS发送该RCS客户端已处于活动状态的指示,以指示该RCS AS发送缓存的该RCS客户端已订阅的用户状态。
本实施例中,上述检测RCS客户端当前是否处于休眠状态,可以包括:判断该RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定该RCS客户端处于休眠状态;否则,确定该RCS客户端处于活动状态。
其中,上述指定的时长可以根据需要设定,如20分钟或30分钟等等,且还可以随时进行调整,本实施例对此不做具体限定。例如,将指定的时长设置为t1后,经过多次统计发现超过t1后短时间内,RCS客户端就恢复活动状态,因此,可以增大t1的值进行适应调整。
本实施例提供的上述方法,通过检测RCS客户端当前是否处于休眠状态,当确定所述RCS客户端当前处于休眠状态时,通知RCS AS禁止发送所述RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCSAS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例4
参见图4,本实施例提供了一种通知用户状态的方法,包括:
401:接收融合通信套件RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的;
402:根据该通知停止发送该RCS客户端已订阅的用户状态。
本实施例中,上述接收RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,可以包括:接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知;或者,接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,上述接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知,可以包括:接收该RCS客户端发送的订阅消息,该订阅 消息中的超期时间信元被设置为取消订阅用户状态。
本实施例中,上述接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知之后,还可以包括:接收该RCS客户端发送的重新订阅该RCS客户端已取消订阅的用户状态的通知,该通知为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例中,上述接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示,可以包括:接收该RCS客户端发送的发布消息,该发布消息中的用户状态信元被设置为离开状态或非活动状态。
本实施例中,上述接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示之后,还可以包括:
接收该RCS客户端发送的该RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的该RCS客户端已订阅的用户状态,该指示为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例提供的上述方法,通过接收RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的,根据该通知停止发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例5
参见图5a,本实施例提供了一种通知用户状态的方法,包括:
501:RCS客户端检测当前是否处于休眠状态;
其中,本步骤可以具体包括:
判断该RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定该RCS客户端处于休眠状态;否则,确定该RCS客户端处于活动状态。
502:当确定当前处于休眠状态时,RCS客户端通知RCS AS取消订阅该RCS客户端已订阅的用户状态;
其中,RCS客户端通知RCS AS取消订阅该RCS客户端已订阅的用户状态,可以包括:将订阅消息中的超期时间信元设置为取消订阅用户状态,发送该设 置后的订阅消息给RCS AS。
503:RCS AS接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知;
其中,本步骤可以具体包括:
RCS AS接收该RCS客户端发送的订阅消息,该订阅消息中的超期时间信元被设置为取消订阅用户状态。
上述取消订阅用户状态的订阅消息可以具体如下表所示:
表1
Figure PCTCN2014094489-appb-000001
其中,SUBSCRIBE订阅消息中的Expires超期时间信元的值被设置为0,表示取消订阅用户状态。
504:RCS AS根据收到的通知停止发送该RCS客户端已订阅的用户状态。
本实施例中,进一步地,RCS客户端通知RCS AS取消订阅该RCS客户端已订阅的用户状态之后,还可以包括:RCS客户端检测到当前已从休眠状态进入活动状态,通知RCS AS重新订阅该RCS客户端已取消订阅的用户状态。
相应地,上述方法还可以包括:RCS AS接收该RCS客户端发送的重新订阅该RCS客户端已取消订阅的用户状态的通知。从而可以恢复RCS客户端的订阅,保证RCS AS正常发送RCS客户端已订阅的用户状态。
具体地,RCS客户端在从休眠状态进入活动状态后,可以将订阅消息中的超期时间信元设置为订阅用户状态,并发送该设置后的订阅消息给RCS AS,以重新订阅该RCS客户端已取消订阅的用户状态。
上述重新订阅已取消订阅的用户状态的订阅消息可以具体如下表所示:
表2
Figure PCTCN2014094489-appb-000002
Figure PCTCN2014094489-appb-000003
其中,SUBSCRIBE订阅消息中的Expires超期时间信元的值被设置为3600,表示订阅用户状态,此处是指取消订阅之后的重新订阅。
本实施例提供的上述方法可以应用于如图5b所示的网络架构中。其中,RCS客户端1添加了RCS客户端2至RCS客户端n为联系人,且订阅了该n-1个联系人的用户状态。在RCS客户端1自身检测出进入休眠状态后,通过SBC1和S-CSCF通知RCS AS取消订阅该RCS客户端1已订阅的用户状态。因此,RCS AS在RCS客户端2至RCS客户端n发生状态变化时,不将变化的用户状态通知给RCS客户端1,从而减少了广播流量,避免了RCS AS和RCS客户端的资源浪费。
参见图5c,为本实施例提供的上述取消订阅及重新订阅的交互示意图。流程如下:①RCS客户端1和2完成注册和状态订阅,其中,RCS客户端2为RCS客户端1的联系人且RCS客户端1已订阅RCS客户端的用户状态。②RCS客户端1进入休眠状态,通过SBC1和S-CSCF发送订阅消息给RCS AS,其中的Expires信元的值设置为0,表示取消订阅已订阅的用户状态。③RCS客户端2退出或掉网,为离线状态,RCS AS不通知RCS客户端1该状态。④RCS客户端2登录,为在线状态,RCS AS不通知RCS客户端1该状态。⑤RCS客户端1进入活动状态,通过SBC1和S-CSCF发送订阅消息给RCS AS,其中的Expires信元的值设置为3600,表示重新订阅已取消订阅的用户状态。⑥RCS AS将RCS客户端2的在线状态通知给RCS客户端1。
本实施例提供的上述方法,通过RCS客户端检测当前是否处于休眠状态,当处于休眠状态时,通知RCS AS取消订阅所述RCS客户端已订阅的用户状态,RCS AS在接收到该通知后,根据该通知停止发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,从而降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例6
参见图6a,本实施例提供了一种通知用户状态的方法,包括:
601:RCS客户端检测当前是否处于休眠状态;
其中,本步骤可以具体包括:
判断该RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定该RCS客户端处于休眠状态;否则,确定该RCS客户端处于活动状态。
602:当确定当前处于休眠状态时,RCS客户端向RCS AS发送该RCS客户端已处于休眠状态的指示,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态;
其中,上述RCS客户端向RCS AS发送该RCS客户端已处于休眠状态的指示,可以包括:
将发布消息中的用户状态信元设置为离开状态或非活动状态;
向该RCS AS发送该设置后的发布消息。
603:RCS AS接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示;
其中,本步骤可以具体包括:
RCS AS接收该RCS客户端发送的发布消息,该发布消息中的用户状态信元被设置为离开状态或非活动状态。
604:RCS AS根据收到的该指示,缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,进一步地,上述RCS客户端向RCS AS发送该RCS客户端已处于休眠状态的指示之后,还可以包括:检测到该RCS客户端从休眠状态进入活动状态,向RCS AS发送该RCS客户端已处于活动状态的指示,以指示该RCS AS发送缓存的该RCS客户端已订阅的用户状态。
相应地,上述方法还可以包括:RCS AS接收该RCS客户端发送的该RCS客户端已处于活动状态的指示,根据该指示发送缓存的该RCS客户端已订阅的用户状态。其中,RCS AS缓存用户状态时,可以以替换方式缓存,在有新的用户状态时,删除上一次缓存的用户状态,仅保留最新的用户状态,以便在下发缓存的用户状态时为最新的用户状态,避免了下发不必要的用户状态,节省 了网络流量,避免了资源浪费。
本实施例中,上述RCS客户端订阅的用户状态可以为一个或者多个。例如,RCS客户端A有100个联系人,订阅了该100个联系人的用户状态,且在某一个时刻进入休眠状态。当该100个联系人中的任一个客户端B登录后,RCS AS会缓存客户端B的在线状态,当客户端B退出或掉网后,SCSCF通知RCS AS该客户端B已离线,则RCS AS缓存该客户端B的离线状态。当客户端A进入活动状态后立即发布在线状态,RCS AS接收到客户端A进入活动状态的通知后,下发缓存的状态变更消息给客户端A。
本实施例中,上述用以指示RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态的发布消息可以具体如下表所示:
表3
Figure PCTCN2014094489-appb-000004
Figure PCTCN2014094489-appb-000005
其中,上述PUBLISH发布消息中的activity用户状态信元可以设置为away离开状态或者设置为non-active非活动状态,以指示RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。另外,当RCS客户端检测到从休眠状态进入活动状态时,向RCS AS发送该RCS客户端已处于活动状态的指示,可以将上述PUBLISH消息中的activity用户状态信元设置为online在线状态,以指示该RCS AS发送缓存的该RCS客户端已订阅的用户状态。
参见图6b,为本实施例提供的上述休眠指示及活动指示的交互示意图。流程如下:①RCS客户端1和2完成注册和状态订阅,其中,RCS客户端2为RCS客户端1的联系人且RCS客户端1已订阅RCS客户端的用户状态。②RCS客户端1进入休眠状态,通过SBC1和S-CSCF发送PUBLISH发布消息给RCSAS,将其中的activity用户状态信元的值设置为away或non-active,以指示RCSAS缓存并暂停发送该RCS客户端已订阅的用户状态。③RCS客户端2登录,为在线状态。④RCS AS缓存该在线状态且不通知RCS客户端1。⑤RCS客户端2退出或掉网,为离线状态。⑥RCS AS缓存该离线状态且不通知RCS客户端1。⑦RCS客户端1进入活动状态,通过SBC1和S-CSCF发送发布消息给RCS AS,将其中的activity信元的值设置为online,以指示RCS AS发送缓存的该RCS客户端已订阅的用户状态。⑧RCS AS将缓存的RCS客户端2的离线状态通知给RCS客户端1。
本实施例提供的上述方法,通过RCS客户端检测当前是否处于休眠状态,当处于休眠状态时,向RCS AS发送该RCS客户端已处于休眠状态的指示,RCS AS在接收到该指示后,根据该指示缓存且暂停发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,从而降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例7
参见图7,本实施例提供了一种RCS客户端,可以包括:
处理器701,用于检测该RCS客户端当前是否处于休眠状态;
发射机702,用于当该处理器确定该RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送该RCS客户端已订阅的用户状态。
本实施例中,发射机702可以用于:
当处理器701确定该RCS客户端当前处于休眠状态时,通知该RCS AS取消订阅该RCS客户端已订阅的用户状态;或者,
当处理器701确定该RCS客户端当前处于休眠状态时,向该RCS AS发送该RCS客户端已处于休眠状态的指示,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,处理器701还可以用于:将订阅消息中的超期时间信元设置为取消订阅用户状态;发射机702可以用于:当处理器701确定该RCS客户端当前处于休眠状态时,发送处理器701设置后的订阅消息给该RCS AS。
本实施例中,处理器701还可以用于:检测到该RCS客户端从该休眠状态进入活动状态;发射机702还可以用于:当处理器701检测到该RCS客户端从该休眠状态进入活动状态时,通知该RCS AS重新订阅该RCS客户端已取消订阅的用户状态。
本实施例中,处理器701还可以用于:将发布消息中的用户状态信元设置为离开状态或非活动状态;发射机702可以用于:当处理器701确定该RCS客户端当前处于休眠状态时,向该RCS AS发送处理器701设置后的发布消息,以指示该RCS AS缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,处理器701还可以用于:检测到该RCS客户端从该休眠状态进入活动状态;发射机702还可以用于:当处理器701检测到该RCS客户端从该休眠状态进入活动状态时,向该RCS AS发送该RCS客户端已处于活动状态的指示,以指示该RCS AS发送缓存的该RCS客户端已订阅的用户状态。
本实施例中,处理器701可以用于:判断该RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定该RCS客户端处于休眠状态;否则,确定该RCS客户端处于活动状态。
本实施例提供的上述RCS客户端可以执行上述任一方法实施例提供的方法,详见方法实施例中的描述,此处不赘述。
本实施例提供的上述RCS客户端,通过检测当前是否处于休眠状态,当确定所述RCS客户端当前处于休眠状态时,通知RCS AS禁止发送所述RCS客 户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例8
参见图8,本实施例提供了一种RCS AS,包括:
接收机801,用于接收融合通信套件RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的;
发射机802,用于根据该通知停止发送该RCS客户端已订阅的用户状态。
本实施例中,接收机801可以用于:
接收该RCS客户端发送的取消订阅该RCS客户端已订阅的用户状态的通知;或者,
接收该RCS客户端发送的该RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送该RCS客户端已订阅的用户状态。
本实施例中,接收机801可以用于:
接收该RCS客户端发送的订阅消息,该订阅消息中的超期时间信元被设置为取消订阅用户状态。
本实施例中,接收机801还可以用于:
接收该RCS客户端发送的重新订阅该RCS客户端已取消订阅的用户状态的通知,该通知为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例中,接收机801可以用于:
接收该RCS客户端发送的发布消息,该发布消息中的用户状态信元被设置为离开状态或非活动状态。
本实施例中,接收机801还可以用于:
接收该RCS客户端发送的该RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的该RCS客户端已订阅的用户状态,该指示为该RCS客户端在从该休眠状态进入活动状态后发送的。
本实施例提供的上述RCS AS可以执行上述任一方法实施例提供的方法,详见方法实施例中的描述,此处不赘述。
本实施例提供的上述RCS AS,通过接收RCS客户端发送的禁止发送该RCS客户端已订阅的用户状态的通知,该通知为该RCS客户端进入休眠状态后发送的,根据该通知停止发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了由于用户状态通知消息而产生的大量广播流量,避免RCS AS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
实施例9
参见图9,本实施例提供了一种通知用户状态的***,包括:RCS客户端901和RCS AS 902,其中,该RCS客户端901可以为上述实施例7提供的RCS客户端,该RCS AS 902可以为上述实施例8提供的RCS AS,具体功能详见上述实施例7和8中的描述,此处不赘述。
本实施例提供的上述***可以执行上述任一方法实施例提供的方法,详见方法实施例中的描述,此处不赘述。
本实施例提供的上述***,通过RCS客户端检测当前是否处于休眠状态,当确定所述RCS客户端当前处于休眠状态时,通知RCS AS禁止发送所述RCS客户端已订阅的用户状态,RCS AS收到该通知后根据该通知停止发送该RCS客户端已订阅的用户状态,有效地减少了无价值的临时的状态更新消息的发送,降低了RCS AS由于用户状态通知消息而产生的大量广播流量,避免RCSAS和RCS客户端的资源浪费,降低网络拥塞风险,减少RCS客户端的流量消耗。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (40)

  1. 一种通知用户状态的装置,其特征在于,应用于融合通信套件RCS客户端,所述装置包括:
    检测模块,用于检测所述RCS客户端当前是否处于休眠状态;
    通知模块,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
  2. 根据权利要求1所述的装置,其特征在于,所述通知模块包括:
    通知单元,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态;或者,
    指示单元,用于当所述检测模块确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
  3. 根据权利要求2所述的装置,其特征在于,所述装置还包括:
    设置模块,用于将订阅消息中的超期时间信元设置为取消订阅用户状态;
    所述通知单元用于:
    当所述检测模块确定所述RCS客户端当前处于休眠状态时,发送所述设置模块设置后的订阅消息给所述RCS AS。
  4. 根据权利要求2所述的装置,其特征在于,
    所述检测模块还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
    所述通知单元还用于:当所述检测模块检测到所述RCS客户端从所述休眠状态进入活动状态时,通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
  5. 根据权利要求2所述的装置,其特征在于,所述装置还包括:
    设置模块,用于将发布消息中的用户状态信元设置为离开状态或非活动状 态;
    所述指示单元用于:
    当所述检测模块确定所述RCS客户端当前处于休眠状态时,向所述RCSAS发送所述设置模块设置后的发布消息,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
  6. 根据权利要求2所述的装置,其特征在于,
    所述检测模块还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
    所述指示单元还用于:当所述检测模块检测到所述RCS客户端从所述休眠状态进入活动状态时,向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
  7. 根据权利要求1至6中任一项所述的装置,其特征在于,所述检测模块包括:
    检测单元,用于判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状态。
  8. 一种通知用户状态的装置,其特征在于,所述装置包括:
    接收模块,用于接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
    通知模块,用于根据所述通知停止发送所述RCS客户端已订阅的用户状态。
  9. 根据权利要求8所述的装置,其特征在于,所述接收模块包括:
    第一接收单元,用于接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知;或者,
    第二接收单元,用于接收所述RCS客户端发送的所述RCS客户端已处于 休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
  10. 根据权利要求9所述的装置,其特征在于,所述第一接收单元用于:
    接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
  11. 根据权利要求9所述的装置,其特征在于,所述第一接收单元还用于:
    接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  12. 根据权利要求9所述的装置,其特征在于,所述第二接收单元用于:
    接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
  13. 根据权利要求9所述的装置,其特征在于,所述第二接收单元还用于:
    接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  14. 一种通知用户状态的方法,其特征在于,所述方法包括:
    检测融合通信套件RCS客户端当前是否处于休眠状态;
    当确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
  15. 根据权利要求14所述的方法,其特征在于,所述当确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态,包括:
    当确定所述RCS客户端当前处于休眠状态时,通知所述RCS AS取消订阅 所述RCS客户端已订阅的用户状态;或者,
    当确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
  16. 根据权利要求15所述的方法,其特征在于,所述通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态,包括:
    将订阅消息中的超期时间信元设置为取消订阅用户状态;
    发送所述设置后的订阅消息给所述RCS AS。
  17. 根据权利要求15所述的方法,其特征在于,所述通知所述RCS AS取消订阅所述RCS客户端已订阅的用户状态之后,还包括:
    检测到所述RCS客户端从所述休眠状态进入活动状态;
    通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
  18. 根据权利要求15所述的方法,其特征在于,所述向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,包括:
    将发布消息中的用户状态信元设置为离开状态或非活动状态;
    向所述RCS AS发送所述设置后的发布消息。
  19. 根据权利要求15所述的方法,其特征在于,所述向所述RCS AS发送所述RCS客户端已处于休眠状态的指示之后,还包括:
    检测到所述RCS客户端从所述休眠状态进入活动状态;
    向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
  20. 根据权利要求14至19中任一项所述的方法,其特征在于,所述检测RCS客户端当前是否处于休眠状态,包括:
    判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状 态。
  21. 一种通知用户状态的方法,其特征在于,所述方法包括:
    接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
    根据所述通知停止发送所述RCS客户端已订阅的用户状态。
  22. 根据权利要求21所述的方法,其特征在于,所述接收RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,包括:
    接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知;或者,
    接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
  23. 根据权利要求22所述的方法,其特征在于,所述接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知,包括:
    接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
  24. 根据权利要求22所述的方法,其特征在于,所述接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态的通知之后,还包括:
    接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  25. 根据权利要求22所述的方法,其特征在于,所述接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,包括:
    接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
  26. 根据权利要求22所述的方法,其特征在于,所述接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示之后,还包括:
    接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  27. 一种融合通信套件RCS客户端,其特征在于,所述客户端包括:
    处理器,用于检测所述RCS客户端当前是否处于休眠状态;
    发射机,用于当所述处理器确定所述RCS客户端当前处于休眠状态时,通知RCS应用服务器AS禁止发送所述RCS客户端已订阅的用户状态。
  28. 根据权利要求27所述的客户端,其特征在于,所述发射机用于:
    当所述处理器确定所述RCS客户端当前处于休眠状态时,通知所述RCSAS取消订阅所述RCS客户端已订阅的用户状态;或者,
    当所述处理器确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述RCS客户端已处于休眠状态的指示,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
  29. 根据权利要求28所述的客户端,其特征在于,
    所述处理器还用于:将订阅消息中的超期时间信元设置为取消订阅用户状态;
    所述发射机用于:当所述处理器确定所述RCS客户端当前处于休眠状态时,发送所述处理器设置后的订阅消息给所述RCS AS。
  30. 根据权利要求28所述的客户端,其特征在于,
    所述处理器还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
    所述发射机还用于:当所述处理器检测到所述RCS客户端从所述休眠状态进入活动状态时,通知所述RCS AS重新订阅所述RCS客户端已取消订阅的用户状态。
  31. 根据权利要求28所述的客户端,其特征在于,
    所述处理器还用于:将发布消息中的用户状态信元设置为离开状态或非活动状态;
    所述发射机用于:当所述处理器确定所述RCS客户端当前处于休眠状态时,向所述RCS AS发送所述处理器设置后的发布消息,以指示所述RCS AS缓存且暂停发送所述RCS客户端已订阅的用户状态。
  32. 根据权利要求28所述的客户端,其特征在于,
    所述处理器还用于:检测到所述RCS客户端从所述休眠状态进入活动状态;
    所述发射机还用于:当所述处理器检测到所述RCS客户端从所述休眠状态进入活动状态时,向所述RCS AS发送所述RCS客户端已处于活动状态的指示,以指示所述RCS AS发送缓存的所述RCS客户端已订阅的用户状态。
  33. 根据权利要求27至32中任一项所述的客户端,其特征在于,所述处理器用于:
    判断所述RCS客户端持续无操作的时间是否超过指定的时长,如果是,则确定所述RCS客户端处于休眠状态;否则,确定所述RCS客户端处于活动状态。
  34. 一种融合通信套件RCS应用服务器AS,其特征在于,所述应用服务器包括:
    接收机,用于接收融合通信套件RCS客户端发送的禁止发送所述RCS客户端已订阅的用户状态的通知,所述通知为所述RCS客户端进入休眠状态后发送的;
    发射机,用于根据所述通知停止发送所述RCS客户端已订阅的用户状态。
  35. 根据权利要求34所述的应用服务器,其特征在于,所述接收机用于:
    接收所述RCS客户端发送的取消订阅所述RCS客户端已订阅的用户状态 的通知;或者,
    接收所述RCS客户端发送的所述RCS客户端已处于休眠状态的指示,该指示用于指示缓存且暂停发送所述RCS客户端已订阅的用户状态。
  36. 根据权利要求35所述的应用服务器,其特征在于,所述接收机用于:
    接收所述RCS客户端发送的订阅消息,所述订阅消息中的超期时间信元被设置为取消订阅用户状态。
  37. 根据权利要求35所述的应用服务器,其特征在于,所述接收机还用于:
    接收所述RCS客户端发送的重新订阅所述RCS客户端已取消订阅的用户状态的通知,该通知为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  38. 根据权利要求35所述的应用服务器,其特征在于,所述接收机用于:
    接收所述RCS客户端发送的发布消息,所述发布消息中的用户状态信元被设置为离开状态或非活动状态。
  39. 根据权利要求35所述的应用服务器,其特征在于,所述接收机还用于:
    接收所述RCS客户端发送的所述RCS客户端已处于活动状态的指示,该指示用于指示发送缓存的所述RCS客户端已订阅的用户状态,所述指示为所述RCS客户端在从所述休眠状态进入活动状态后发送的。
  40. 一种通知用户状态的***,其特征在于,所述***包括:
    如权利要求27至33中任一项所述的融合通信套件RCS客户端,以及如权利要求34至39中任一项所述的RCS应用服务器AS。
PCT/CN2014/094489 2013-12-20 2014-12-22 通知用户状态的装置、方法和*** WO2015090239A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310714205.1A CN103746897B (zh) 2013-12-20 2013-12-20 通知用户状态的装置、方法和***
CN201310714205.1 2013-12-20

Publications (1)

Publication Number Publication Date
WO2015090239A1 true WO2015090239A1 (zh) 2015-06-25

Family

ID=50503888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094489 WO2015090239A1 (zh) 2013-12-20 2014-12-22 通知用户状态的装置、方法和***

Country Status (2)

Country Link
CN (1) CN103746897B (zh)
WO (1) WO2015090239A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427703A (zh) * 2020-03-12 2020-07-17 上海昊沧***控制技术有限责任公司 工业数据实时展示方法及***

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746897B (zh) * 2013-12-20 2017-01-25 华为技术有限公司 通知用户状态的装置、方法和***
CN103957150B (zh) * 2014-05-07 2017-05-17 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及服务器、电子设备
CN103986710B (zh) * 2014-05-15 2017-12-15 华为技术有限公司 一种消息传输的方法、装置及***
CN104052653A (zh) * 2014-06-23 2014-09-17 广东天波信息技术股份有限公司 一种基于mqtt实现状态呈现的方法
CN104936282A (zh) * 2015-06-04 2015-09-23 青岛海信移动通信技术股份有限公司 一种融合通信业务的注册方法及装置
CN105676991A (zh) * 2015-12-28 2016-06-15 小米科技有限责任公司 一种管理应用程序的方法和装置
CN105915448A (zh) * 2016-06-30 2016-08-31 宇龙计算机通信科技(深圳)有限公司 基于rcs客户端的用户状态订阅消息的发送方法及装置
KR102266879B1 (ko) * 2017-04-14 2021-06-22 삼성전자주식회사 대화형 콘텐츠 제공 시스템
CN110012083B (zh) * 2019-03-26 2022-07-01 青岛聚好联科技有限公司 一种数据传输方法、服务器及数据传输装置
CN109995788A (zh) * 2019-04-10 2019-07-09 华夏天信(北京)智能低碳技术研究院有限公司 一种基于red-mos工业物联网操作***的设备发布与订阅设计方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780472A (zh) * 2004-11-22 2006-05-31 华为技术有限公司 一种实现睡眠模式下重叠侦听窗口的方法
CN101765059A (zh) * 2010-02-26 2010-06-30 深圳市戴文科技有限公司 广播状态信息的方法、***及移动终端
CN102111856A (zh) * 2009-12-24 2011-06-29 中兴通讯股份有限公司 Mtc终端的节电方法及***、mtc终端
CN102413122A (zh) * 2011-10-10 2012-04-11 中国电信股份有限公司 一种查询好友终端业务能力指示信息的方法和***
CN103746897A (zh) * 2013-12-20 2014-04-23 华为技术有限公司 通知用户状态的装置、方法和***

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100463397C (zh) * 2006-03-27 2009-02-18 腾讯科技(深圳)有限公司 一种文件传输方法与***
US8233918B2 (en) * 2009-08-20 2012-07-31 E-View Connections LLC Digital content distribution system for delivering location specific content to an ad hoc group of mobile subscribers
CN102045266A (zh) * 2009-10-10 2011-05-04 中兴通讯股份有限公司 一种支持数据报文主动推送能力的实现方法及***
US8688826B2 (en) * 2009-11-30 2014-04-01 Motorola Mobility Llc Mobile computing device and method with intelligent pushing management
CN102647314A (zh) * 2012-05-16 2012-08-22 深圳市乐唯科技开发有限公司 一种客户端在线状态判定方法及其***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780472A (zh) * 2004-11-22 2006-05-31 华为技术有限公司 一种实现睡眠模式下重叠侦听窗口的方法
CN102111856A (zh) * 2009-12-24 2011-06-29 中兴通讯股份有限公司 Mtc终端的节电方法及***、mtc终端
CN101765059A (zh) * 2010-02-26 2010-06-30 深圳市戴文科技有限公司 广播状态信息的方法、***及移动终端
CN102413122A (zh) * 2011-10-10 2012-04-11 中国电信股份有限公司 一种查询好友终端业务能力指示信息的方法和***
CN103746897A (zh) * 2013-12-20 2014-04-23 华为技术有限公司 通知用户状态的装置、方法和***

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427703A (zh) * 2020-03-12 2020-07-17 上海昊沧***控制技术有限责任公司 工业数据实时展示方法及***

Also Published As

Publication number Publication date
CN103746897A (zh) 2014-04-23
CN103746897B (zh) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2015090239A1 (zh) 通知用户状态的装置、方法和***
TWI538537B (zh) 資訊推送方法、客戶端裝置及其系統
JP7123036B2 (ja) Ueのアウェイク状態の維持
CN107749797B (zh) 一种计算设备及其实施方法
JP6009694B2 (ja) エボルブドマルチメディアブロードキャスト/マルチキャストサービス(eMBMS)クラスタ管理
AU2007200530B2 (en) Apparatus, and associated method, for facilitating delivery and processing of push content
US20130190032A1 (en) Proxy-Based Push Service
US7624147B2 (en) Efficient notification of new electronic mail arrival
WO2020192787A1 (zh) 事件通知方法、装置及存储介质
US8811248B2 (en) Method for extending battery life in a wireless device
EP2132614B1 (en) Centralized service for awakening a computing device
US20130124618A1 (en) Method, system and device for supporting application client being always online
WO2016011903A1 (zh) 流量控制方法及装置
US20130215761A1 (en) Method and Device for Determining Resumption of Suspended Multimedia Broadcast Multicast Service, and User Equipment
WO2012121784A2 (en) Techniques for managing idle state activity in mobile devices
WO2012013057A1 (zh) 一种短信中心集群的控制方法、设备及***
CN108551668B (zh) 信息传输方法、装置、设备及存储介质
WO2006108705A1 (en) Communications device and method
JP2015501093A (ja) Mbmsユーザサービス用のスケジュール情報を配信するための技術
WO2015154462A1 (zh) 一种即时通讯应用程序管理方法、装置及其移动终端
US10805236B2 (en) Event content delivery
WO2016142810A1 (en) Method and network node for delivering multimedia broadcast services
WO2013056528A1 (zh) 一种用户唤醒的方法
TW201538010A (zh) 用於管理網路連線的行動裝置和方法以及存儲媒體
US20130007130A1 (en) Method and system for subscribing presence information, resource list server, and presence server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14871987

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14871987

Country of ref document: EP

Kind code of ref document: A1