WO2015169119A1 - 电子设备的通知消息的同步方法及服务器、电子设备 - Google Patents

电子设备的通知消息的同步方法及服务器、电子设备 Download PDF

Info

Publication number
WO2015169119A1
WO2015169119A1 PCT/CN2015/073087 CN2015073087W WO2015169119A1 WO 2015169119 A1 WO2015169119 A1 WO 2015169119A1 CN 2015073087 W CN2015073087 W CN 2015073087W WO 2015169119 A1 WO2015169119 A1 WO 2015169119A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
message
notification message
server
control module
Prior art date
Application number
PCT/CN2015/073087
Other languages
English (en)
French (fr)
Inventor
郑瑜
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to US14/893,845 priority Critical patent/US10110549B2/en
Priority to EP15789808.1A priority patent/EP3142304B1/en
Publication of WO2015169119A1 publication Critical patent/WO2015169119A1/zh

Links

Classifications

    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • 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]
    • 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
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants

Definitions

  • the present invention relates to the field of mobile communication technologies; in particular, to a method for synchronizing notification messages of an electronic device, a server, and an electronic device.
  • multimedia electronic devices such as mobile phones, PDAs, personal computers, etc.
  • multimedia electronic devices such as mobile phones, PDAs, personal computers, etc.
  • the functions of each multimedia electronic device are more and more, in addition to limited wearable multimedia electronic devices, certain multimedia electronic devices are not suitable as accessory devices of other multimedia electronic devices.
  • messages that may be received by individuals may appear on multiple multimedia electronic devices, and individuals cannot conveniently aggregate and promptly know the messages.
  • IM instant messaging
  • text messages etc. from the mobile phone cannot be directly seen immediately, and must be referred to the mobile phone for viewing, and in some environments, the user cannot even Find your phone location right away, such as your phone in another room.
  • an object of the present invention is to provide a synchronization method, a server, and an electronic device, which are convenient for a user to receive a notification message of an electronic device in a timely manner.
  • a method for synchronizing a notification message of an electronic device including:
  • the electronic device submits the display request of the notification message to the server, where the display request carries the notification message and a message identifier;
  • the server determines whether there is an active electronic device
  • the server determines that the active electronic device exists, the server sends the notification message to the active electronic device according to the message identifier;
  • the electronic device shows the notification message if the electronic device is active.
  • the method further includes the electronic device displaying the notification message if it is determined that the display request is not processed by the server during the first predetermined waiting period.
  • the method further includes: if the server determines that the active electronic device does not exist, the electronic device receives a message returned by the server to perform the display request failure.
  • the method further includes: determining, in the second predetermined waiting period, whether the user has viewed the notification message displayed by the active electronic device;
  • the method further includes determining that the user does not view the illustrated notification message if the confirmation message that the notification message returned by the server has been received is received during the second predetermined waiting period.
  • the invention also provides an electronic device comprising:
  • a monitoring module configured to monitor whether the electronic device has a notification message
  • a determining module configured to determine whether the electronic device is standby if the monitoring module detects that the electronic device has the notification message
  • a sending module configured to send a message
  • the sending module sends the notification message to an active electronic device associated with the electronic device through a server.
  • the electronic device further includes:
  • the notification message is shown.
  • the electronic device further includes:
  • control module configured to control a display request of the sending module to submit the notification message to the server; determining, in a first predetermined waiting period, whether the illustrated request is processed by the server;
  • the requesting device carries the notification message and the message identifier; if the control module determines that the display request has been processed by the server during the first predetermined waiting period, the server determines whether the presence exists.
  • An active electronic device if the server determines that the active electronic device is present, the server transmits the notification message to the active electronic device according to the message identification.
  • the display module displays a notification message.
  • the electronic device further includes:
  • a receiving module configured to receive a message
  • the receiving module receives a message returned by the server to perform the display request failure.
  • the electronic device further includes:
  • a receiving module configured to receive a message
  • the control module is further configured to determine, during a second predetermined waiting time period, whether the user has viewed the notification message shown by the active electronic device;
  • the control module determines that the user has viewed the indication A notification message.
  • the control module determines that the user does not view the illustrated notification message. .
  • the invention also provides an electronic device comprising:
  • control module configured to determine whether the electronic device is active
  • a sending module configured to send a message
  • a receiving module configured to receive a message
  • the sending module sends an active message carrying a message identifier to the server, and the receiving module receives the electronic device sent by the server according to the message identifier, if the control module determines that the electronic device is active.
  • a notification message for the associated standby electronic device is included in the server.
  • the electronic device further includes:
  • a module is shown that is configured to show a notification message.
  • control module is further configured to time the second predetermined waiting time period and determine whether the user has viewed the notification message shown by the display module; if it is determined that the user has viewed the illustrated notification message Determining whether the second predetermined waiting period has elapsed; if it is determined that the second predetermined waiting period has not passed, controlling the sending module to send the acknowledgement message that the illustrated notification message has been viewed by the user Go to the server.
  • control sending module sends a confirmation message that the notification message has been shown to the server.
  • the invention also provides a server comprising:
  • a receiving module configured to receive a display request submitted by a standby electronic device, wherein the illustrated request carries a notification message and a message identifier
  • control module configured to time a first predetermined waiting period to determine whether the illustrated request is received and processed; if it is determined that the illustrated request has been received and processed, determining the first predetermined waiting time Whether the segment has passed; if it is determined that the first predetermined waiting time has not passed, determining whether there is an active electronic device;
  • a sending module configured to send the notification message to the active electronic device according to the message identifier if the control module determines that the active electronic device exists.
  • the standby electronic device displays a notification message.
  • control module determines that the active electronic device does not exist, the sending module returns to the standby electronic device to execute the message indicating that the request failed.
  • the method for synchronizing the notification message of the electronic device of the present invention and the server and the electronic device facilitate the aggregation of the notification message, so that the user can receive the notification message in time.
  • FIG. 1 is a block diagram of a server in accordance with an embodiment of the present invention.
  • FIG. 2 is a block diagram of an electronic device in accordance with an embodiment of the present invention.
  • FIG. 3 is a block diagram of an electronic device in accordance with another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a server communicating with an electronic device in accordance with an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method of synchronizing a notification message of an electronic device according to an embodiment of the present invention.
  • An electronic device in accordance with an embodiment of the invention may include any suitable type of mobile and non-mobile device.
  • Examples of non-mobile devices may include desktop computers, home appliances with information display or prompting functions, home electronic entertainment devices, or other similar devices
  • examples of mobile devices may include mobile terminals such as video phones, mobile phones, smart phones, International System for Mobile Communications 2000 (IMT-2000), Wideband Code Division Multiple Access (WCDMA) terminals, Universal Mobile Telecommunications System (UMTS) terminals, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), Digital Multimedia Broadcasting ( DMB) terminals, e-books, laptops, tablets, wearable devices, digital cameras or digital photo frames.
  • IMT-2000 International System for Mobile Communications 2000
  • WCDMA Wideband Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • PDAs Personal Digital Assistants
  • PMPs Portable Multimedia Players
  • DMB Digital Multimedia Broadcasting
  • FIG. 1 is a block diagram of a server in accordance with an embodiment of the present invention.
  • the server 10 may include a first control module 101, a first receiving module 102, and a first transmitting module 103.
  • the first control module 101 is used to provide services for identity management and message management of the electronic device.
  • the first control module 101 is configured to manage the registered electronic device, the identity and status of the electronic device, and the like.
  • the first control module 101 receives registrations from at least two electronic devices (eg, the electronic device 20 of FIG. 2 and the electronic device 30 of FIG. 3).
  • the first control module 101 associates the electronic devices using the same unique identifier into one electronic device group according to the unique identifier provided by each electronic device in the registration process. That is, the first control module 101 associates the electronic device using the unique identification.
  • the first control module 101 manages and maintains a list of active electronic devices for this group of electronic devices. For example, the first control module 101 associates the electronic device 20 and the electronic device 30 using the same unique identifier into an electronic device group according to the unique identifier provided by the electronic device 20 and the electronic device 30. In other words, the first control module 101 associates the electronic device 20 using the same unique identification with the electronic device 30.
  • the first control module 101 assigns a simplified unique identifier to each electronic device requesting registration, the simplified unique identifier being the identity of the electronic device during the communication process.
  • the first control module 101 assigns a simplified unique identifier to both the electronic device 20 and the electronic device 30 requesting registration.
  • the simplified unique identifier may be an identifier of the same type as the unique identifier used by the electronic device when registering with the first control module 101, or may be assigned by the first control module 101 to the electronic device and can be used by the first control module 101.
  • the identification of any other form and/or format that is recognized and understood is not specifically limited in the present invention.
  • the first control module 101 also performs an electronic device active state (ie, the electronic device is in a state being operated by the user, for example, the screen of the electronic device is illuminated, etc.) and a standby state (ie, the electronic device is not operated by the user). The management of the status, such as the screen of the electronic device being turned off, etc.).
  • the first control module 101 receives the active notification message sent by the electronic device 30
  • the first control module 101 identifies the message according to the message carried in the active notification message (for example, the message identifier may be the electronic device 30 to the first
  • the unique identifier used when the control module 101 is registered may also be a simplified unique identifier assigned by the first control module 101 to the electronic device 30.
  • the electronic device 30 is added to the list of active electronic devices it manages.
  • the first control module 101 receives the standby notification message sent by the electronic device 30, the first control module 101 identifies the message according to the standby notification message.
  • the message identifier may be the electronic device 30 to the first control module 101.
  • the unique identifier used in registration which may also be a simplified unique identifier assigned by the first control module 101 to the electronic device 30, removes the electronic device 30 from the list of active electronic devices it manages.
  • the first receiving module 102 can be configured to receive a message.
  • the first receiving module 102 can be configured to receive a request for presentation submitted by the standby electronic device 20, wherein the request to display the notification message that the electronic device 20 with the standby device has And message identification.
  • the message identifier may be a unique identifier used when the electronic device 20 registers with the first control module 101, or may be a simplified unique identifier assigned by the first control module 101 to the electronic device 20.
  • the first control module 101 is further configured to time the first predetermined waiting period and determine whether the illustrated request is received and processed. If the first control module 101 determines that the display request has been received and processed, the first control module 101 determines whether the first predetermined waiting time period has elapsed. If the first control module 101 determines that the first predetermined waiting time has not passed, the first control module 101 determines whether there is an active electronic device in the list of active electronic devices it manages.
  • the first sending module 103 can be used to send a message. For example, if the first control module 101 determines in the list of active electronic devices it manages that there is an active electronic device, the first transmitting module 103 sends a notification message to the active electronic device based on the message identification.
  • the first sending module 103 sends a message that the first control module 101 does not process the illustrated request to the standby electronic device, thereby waiting
  • the electronic device shows a notification message.
  • the first control module 101 determines in the list of active electronic devices it manages that there is no active electronic device, the first sending module 103 transmits a message indicating that the request failure has been performed to the standby electronic device, thereby The standby electronic device shows a notification message.
  • FIG. 2 is a block diagram of an electronic device 20 in accordance with an embodiment of the present invention.
  • an electronic device 20 may include a monitoring module 201, a determination module 202, a second transmission module 203, a first display module 204, a second receiving module 205, and a second control module 206.
  • the second control module 206 registers with the first control module 101 using the unique identifier (eg, device identification) of the electronic device 20 to obtain a simplified unique identifier assigned by the first control module 101.
  • the first control module 101 associates the electronic device 20 using the same unique identifier with other electronic devices (for example, using the uniquely identified electronic device 30 shown in FIG. 3) to form an electronic device group.
  • the first control module 101 associates the electronic device 20 using the same unique identification with other electronic devices.
  • the first control module 101 assigns a simplified unique identifier to the electronic device 20 requesting registration, the simplified unique identifier being the identity of the electronic device 20 during the communication process.
  • the simplified unique identifier may be an identifier of the same type as the unique identifier used by the electronic device 20 when registering with the first control module 101, or may be assigned to the electronic device 20 by the first control module 101 and can be first controlled.
  • the identification of any other form and/or format recognized and understood by module 101 is not specifically limited by the present invention.
  • the first display module 204 when the first display module 204 is in an active state (eg, the first display module 204 can be a touch screen, its active state refers to a state in which the touch screen is illuminated or touched, etc., or other on the electronic device 20
  • the second transmitting module 203 notifies the active when the component of the human-computer interaction function is in a working state, or the other display screen in which the electronic device 20 is connected by physical or wireless means is in a state of being lit or used.
  • the message is sent to the first control module 101, and the first control module 101 is identified according to the message carried in the active notification message.
  • the message identifier may be a unique identifier used when the electronic device 20 registers with the first control module 101.
  • the simplified unique identification assigned by the first control module 101 to the electronic device 20 adds the electronic device 20 to the list of active electronic devices it manages.
  • the first display module 204 is in a standby state (for example, a state in which the screen is turned off, etc.)
  • the second sending module 203 transmits a standby notification message to the first control module 101, and the first control module 101 carries the message according to the standby notification message.
  • the message identifier (for example, the message identifier may be a unique identifier used when the electronic device 20 registers with the first control module 101, or may be a simplified unique identifier assigned by the first control module 101 to the electronic device 20).
  • the electronic device 20 is It is deleted from the list of active electronic devices it manages.
  • the monitoring module 201 is configured to monitor whether the electronic device 20 has a notification message.
  • the notification message may be, for example, an incoming call alert, an IM (instant message), a short message, a message prompt of an accessory device, a call alert from another device, a message of an electronic device status warning, or a message prompted by an electronic device application. If the monitoring module 201 detects that the electronic device 20 has the notification message, the determining module 202 determines whether the first display module 204 is in a standby state.
  • the first display module 204 is for showing a message. For example, if the decision module 202 confirms that the first display module 204 is in an active state, the first display module 204 shows the notification message.
  • the second sending module 203 is configured to send a message. If the determining module 202 confirms that the first display module 204 is in the standby state, the second control module 206 controls the second sending module 203 to submit a display request of the notification message to the first receiving module 102 of the server 10, wherein the The request carries a notification message and a message identifier.
  • the second control module 206 determines whether the illustrated request is processed by the first control module 101 of the server 10 during a first predetermined waiting period. If the second control module 206 determines that the display request has been processed by the first control module 101 of the server 10 during the first predetermined waiting time period, the first control module 101 determines whether there is a presence in the list of active electronic devices it manages. Active electronic devices. If the first control module 101 determines in the list of active electronic devices it manages that there is an active electronic device, the first transmitting module 103 of the server 10 transmits a notification message to the active electronic device based on the message identification.
  • the first display module 204 shows the message.
  • the second receiving module 205 is configured to receive a message. If the first control module 101 determines in the list of active electronic devices it manages that there is no active electronic device, the second receiving module 205 receives the failure of the first sending module 103 returned by the server 10 to perform the display request failure. The message, such that the first display module 204 shows the message.
  • the second control module 206 of the electronic device 20 may further determine whether the user has viewed the notification message shown by the active electronic device during the second predetermined waiting time period. If the second receiving module 205 receives the confirmation message that the illustrated notification message returned by the first sending module 103 of the server 10 has been viewed by the user during the second predetermined waiting period, the second control module 206 determines that the user has viewed The illustrated notification message.
  • the second control module 206 determines that the user has not viewed the illustrated Notification message.
  • FIG. 3 is a block diagram of an electronic device 30 in accordance with another embodiment of the present invention.
  • an electronic device 30 may include a third control module 301, a third receiving module 302, a second display module 303, and a third transmitting module 304.
  • the third control module 301 registers with the first control module 101 using the unique identification (eg, device identification) of the electronic device 30 to obtain a simplified unique identification assigned by the first control module 101.
  • the first control module 101 associates the electronic device 30 using the same unique identifier with other electronic devices (for example, using the uniquely identified electronic device 20 shown in FIG. 2) to form an electronic device group.
  • the first control module 101 associates the electronic device 30 using the same unique identification with other electronic devices.
  • the first control module 101 assigns a simplified unique identifier to the electronic device 30 requesting registration, the simplified unique identifier being the identity of the electronic device 30 during the communication process.
  • the simplified unique identifier may be an identifier of the same type as the unique identifier used by the electronic device 30 when registering with the first control module 101, or may be assigned to the electronic device 30 by the first control module 101 and can be first controlled.
  • the identification of any other form and/or format recognized and understood by module 101 is not specifically limited by the present invention.
  • the second display module 303 when the second display module 303 is in an active state (for example, the second display module 303 may be a touch screen, its active state refers to a state in which the touch screen is lit or touched, or the like, or other on the electronic device 30
  • the third sending module 304 sends an activity notification message to the first control module 101, and the first control module 101 identifies the message according to the message carried in the active notification message (for example, the The message identifier may be a unique identifier used by the electronic device 30 when registering with the first control module 101, or may be a simplified unique identifier assigned by the first control module 101 to the electronic device 30.
  • the electronic device 30 is added to the active electronic device it manages.
  • the third sending module 304 transmits a standby notification message to the first control module 101, and the first control module 101 carries the message according to the standby notification message.
  • the message identifier (for example, the message identifier may be a unique identifier used when the electronic device 30 registers with the first control module 101, or may be a simplified unique identifier assigned by the first control module 101 to the electronic device 30).
  • the electronic device 30 is It is deleted from the list of active electronic devices it manages.
  • the third control module 301 is configured to determine whether the second display module 303 is in an active state.
  • the third receiving module 302 is configured to receive a message.
  • the second display module 303 is for showing a message.
  • the third sending module 304 is configured to send a message.
  • the third control module 301 determines that the second display module 303 is in an active state
  • the third sending module 304 transmits an active message carrying the message identifier to the first control module 101.
  • the third receiving module 302 receives the notification message that the first sending module 103 of the server 10 has, according to the message identifier, the standby electronic device associated with the electronic device 30.
  • the second display module 303 shows the notification message.
  • the third control module 301 of the electronic device 30 further counts the second predetermined waiting time period and determines whether the user has viewed the notification message shown by the second display module 303. If the third control module 301 determines that the user has viewed the notification message shown by the second display module 303, the third control module 301 determines whether the second predetermined waiting time period has elapsed.
  • the third control module 301 determines that the second predetermined waiting period has not passed, the third control module 301 controls the third sending module 304 to send the confirmation message that the illustrated notification message has been viewed by the user to the first of the server 10. Receive module 102.
  • the third control module 301 determines that the second predetermined waiting period has elapsed, the third control module 301 controls the third sending module 304 to transmit the confirmation message that the notification message has been shown by the second display module 303 to the server 10.
  • a receiving module 102 If the third control module 301 determines that the second predetermined waiting period has elapsed, the third control module 301 controls the third sending module 304 to transmit the confirmation message that the notification message has been shown by the second display module 303 to the server 10. A receiving module 102.
  • FIG. 4 is a schematic diagram of a server communicating with an electronic device in accordance with an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method of synchronizing a notification message of an electronic device according to an embodiment of the present invention.
  • synchronization of a notification message of an electronic device of an embodiment of the present invention is performed between the server 10, the electronic device 20, and the electronic device 30.
  • the synchronization of the notification message of the electronic device of the present invention may be performed between the server 10, more electronic devices 20, and more electronic devices 30, or may be between the server 10 and at least two electronic devices 20.
  • the server 10 can also be built in an electronic device.
  • the server 10 can be built into the electronic device 20 or the electronic device 30.
  • the electronic device 20 and the electronic device 30 can be combined to form one electronic device.
  • the electronic device 20 and the electronic device 30 respectively use their own unique identifier (for example, device identification) to the first control module.
  • 101 is registered to obtain a simplified unique identifier assigned by the first control module 101, respectively.
  • the first control module 101 associates the electronic device 20 and the electronic device 30 that use the same unique identifier to form an electronic device group.
  • the unique identifier is simplified as the identity of each electronic device during communication.
  • the simplified unique identifier may be an identifier of the same type as the unique identifier used by each electronic device when registering with the identifier association module 101, or may be assigned by the identifier association module 101 to each electronic device and can be identified by the identifier association module 101.
  • the identification of any other form and/or format of the invention is not specifically limited.
  • the monitoring module 201 monitors whether the electronic device 20 has a notification message.
  • the notification message may be, for example, an incoming call alert, an IM (instant message), a short message, a message prompt of an accessory device, a call alert from another device, a message of an electronic device status warning, or a message prompted by an electronic device application. If the monitoring module 201 detects that the electronic device 20 has the notification message, then operation 502 is performed.
  • the determination module 202 determines whether the first display module 204 is in a standby state. If the determining module 202 determines that the first display module 204 is in the standby state, then operation 503 is performed. In operation 503, the second control module 206 controls the second sending module 203 to submit a request for the notification message to the first receiving module 102 of the server 10, wherein the illustrated request carries the notification message and the message identification. Additionally, if the decision module 202 determines that the first display module 204 is in an active state, then operation 509 is performed. In operation 509, the first display module 204 shows a notification message.
  • the second control module 206 determines whether the illustrated request is processed by the first control module 101 of the server 10 for a first predetermined waiting period.
  • the first predetermined waiting time period is counted by the first control module 101 of the server 10.
  • the first control module 101 determines whether the display request is processed during the first predetermined waiting period.
  • the first control module 101 controls the first transmitting module 103 to transmit a message that it has processed the illustrated request to the second receiving module 205 of the electronic device 20 during the first predetermined waiting period.
  • operation 505 is performed. Further, if the second control module 206 determines that the illustrated request is not processed by the first control module 101 during the first predetermined waiting period, then operation 509 is performed.
  • the first control module 101 determines in the list of active electronic devices it manages whether there is an active electronic device 30. In this embodiment, for example, when the third control module 301 of the electronic device 30 determines that the second display module 303 is in an active state, the third sending module 304 of the electronic device 30 transmits an active message carrying the message identifier to the first Control module 101. The first control module 101 adds the electronic device 30 to the list of active electronic devices it manages based on the message identification.
  • operation 506 is performed.
  • the second receiving module 205 receives the execution of the display request returned by the first sending module 103 of the server 10. The failed message proceeds to operation 509.
  • the first sending module 103 of the server 10 transmits a notification message to the third receiving module 302 of the active electronic device 30 according to the message identification, such that the second display module 303 of the active electronic device 30 shows the notification message. .
  • the second control module 206 confirms at the second predetermined waiting time period whether the user has viewed the notification message shown by the second display module 303 of the active electronic device 30.
  • the second predetermined waiting period is counted by the third control module 301 of the electronic device 30.
  • the third control module 301 of the electronic device 30 determines whether the user has viewed the notification message shown by the second display module 303 for a second predetermined waiting time period.
  • the third control module 301 determines that the user has viewed the notification message shown by the second display module 303 during the second predetermined waiting period, the third control module 301 controls the third sending module 304 to notify the indication
  • the confirmation message that the message has been viewed by the user is sent to the first receiving module 102 of the server 10; if the third control module 301 determines in the second predetermined waiting time period that the user does not view the notification message shown by the second display module 303, then The third control module 301 controls the third transmitting module 304 to transmit a confirmation message that the notification message has been shown by the second display module 303 to the first receiving module 102 of the server 10.
  • operation 508 is performed.
  • the second receiving module 205 of the electronic device 20 receives the confirmation message that the notification message shown by the second display module 303 returned by the first sending module 103 of the server 10 has been viewed by the user.
  • operation 510 is performed.
  • the second receiving module 205 of the electronic device 20 receives a confirmation message that the notification message returned by the first sending module 103 of the server 10 has been shown.
  • the above aspects of the present invention may be implemented using hardware, firmware, or may be stored on a recording medium such as a CD.
  • the operation of the computer code on the medium is implemented such that the methods described herein can be implemented via a general purpose computer or a dedicated processor or by means of programmable or special purpose hardware, such as an ASIC or an FPGA, via software stored on a recording medium.
  • a computer, processor, microprocessor controller or programmable hardware includes a memory component that can store or receive software or computer code, such as RAM, ROM, flash memory, etc., where the computer, processing When the software or computer code accesses and runs the software or computer code, the software or computer code will implement the processing methods described herein.
  • a general purpose computer accesses code for implementing the processing shown herein, the operation of the code converts the general purpose computer into a special purpose computer for performing the processing shown herein. Any of the functions and steps provided in the figures may be implemented in hardware, software, or a combination of both, and may be performed in whole or in part within programmable instructions of a computer.
  • the method for synchronizing the notification message of the electronic device and the server and the electronic device facilitate the aggregation of the notification message, so that the user can receive the notification message in time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开一种电子设备的通知消息的同步方法,其包括:监测电子设备是否具有通知消息;如果该电子设备具有通知消息,则确定该电子设备是否待机;如果确定该电子设备待机,则通过服务器将通知消息发送给与该电子设备相关联的活跃的电子设备。本发明还公开了一种服务器和电子设备。本发明能够便于汇聚通知消息。

Description

电子设备的通知消息的同步方法及服务器、电子设备 技术领域
本发明涉及移动通信技术领域;具体地讲,涉及一种电子设备的通知消息的同步方法及服务器、电子设备。
背景技术
近年来,随着多媒体电子设备(诸如手机、PDA、个人电脑等)的普及,个人同时拥有的多媒体电子设备数目越来越多。而随着多媒体电子设备的体积越来越大,个人已经不可能随身携带大量的多媒体电子设备。另一方面,当每个多媒体电子设备的功能越来越多之后,除了有限的穿戴式多媒体电子设备,不适于将某些多媒体电子设备作为其他多媒体电子设备的附属设备。
如此,将导致个人可能收到的消息分别出现在多部多媒体电子设备上,而个人又无法方便的汇聚和及时知晓消息。例如,当用户手持平板电脑浏览网页或进行网购的时候,来自手机上的IM(即时消息)、短信等就不能立刻直接看到,必须转到手机上查阅,而且在有些环境中,用户甚至无法立刻找到自己的手机所在位置,例如手机在另一个房间等。
技术问题
为了解决上述现有技术存在的问题,本发明的目的在于提供一种便于用户能够及时的收到通知消息的电子设备的通知消息的同步方法及服务器、电子设备。
技术解决方案
根据本发明的一方面,提供了一种电子设备的通知消息的同步方法,其包括:
监测电子设备是否具有通知消息;
如果所述电子设备具有所述通知消息,则确定所述电子设备是否待机;
所述电子设备向所述服务器提交所述通知消息的示出请求,其中,所述示出请求携带所述通知消息及消息标识;
在第一预定等待时间段确定所述示出请求是否被所述服务器处理;
如果在所述第一预定等待时间段确定所述示出请求已经被所述服务器处理,则所述服务器确定是否存在活跃的电子设备;以及
如果所述服务器确定存在所述活跃的电子设备,则所述服务器根据所述消息标识将所述通知消息发送到所述活跃的电子设备;
其中如果所述电子设备活跃,则所述电子设备示出所述通知消息。
进一步地,所述方法还包括:如果在所述第一预定等待时间段确定所述示出请求未被所述服务器处理,则所述电子设备示出所述通知消息。
进一步地,所述方法还包括:如果所述服务器确定不存在所述活跃的电子设备,则所述电子设备接收所述服务器返回的执行所述示出请求失败的消息。
进一步地,所述方法还包括:在第二预定等待时间段确定用户是否已经查看所述活跃的电子设备示出的通知消息;
如果在所述第二预定等待时间段接收到所述服务器返回的所述示出的通知消息已被用户查看的确认消息,则确定用户已经查看所述示出的通知消息。
进一步地,所述方法还包括:如果在所述第二预定等待时间段接收到所述服务器返回的通知消息已被示出的确认消息,则确定用户未查看所述示出的通知消息。
本发明还提供一种电子设备,其包括:
监测模块,被配置为监测电子设备是否具有通知消息;
判断模块,被配置为如果所述监测模块监测到所述电子设备具有所述通知消息,则判断所述电子设备是否待机;
发送模块,被配置为发送消息;
其中,如果所述判断模块确定所述电子设备待机,则所述发送模块通过服务器将所述通知消息发送给与所述电子设备相关联的活跃的电子设备。
进一步地,所述电子设备还包括:
示出模块,被配置为示出消息;
其中,如果所述判断模块确定所述电子设备活跃,则示出所述通知消息。
进一步地,所述电子设备还包括:
控制模块,被配置为控制所述发送模块向所述服务器提交所述通知消息的示出请求;在第一预定等待时间段确定所述示出请求是否被所述服务器处理;
其中,所述示出请求携带所述通知消息及消息标识;如果所述控制模块在所述第一预定等待时间段确定所述示出请求已经被所述服务器处理,则所述服务器确定是否存在活跃的电子设备;如果所述服务器确定存在所述活跃的电子设备,则所述服务器根据所述消息标识将所述通知消息发送到所述活跃的电子设备。
进一步地,如果所述控制模块在所述第一预定等待时间段确定所述示出请求未被所述服务器处理,则所述示出模块示出通知消息。
进一步地,所述电子设备还包括:
接收模块,被配置为接收消息;
其中,如果所述服务器确定不存在所述活跃的电子设备,则所述接收模块接收所述服务器返回的执行所述示出请求失败的消息。
进一步地,所述电子设备还包括:
接收模块,被配置为接收消息;
所述控制模块进一步被配置为在第二预定等待时间段确定用户是否已经查看所述活跃的电子设备示出的通知消息;
其中,如果在所述第二预定等待时间段所述接收模块接收到所述服务器返回的所述示出的通知消息已被用户查看的确认消息,则所述控制模块确定用户已经查看所述示出的通知消息。
进一步地,如果在所述第二预定等待时间段所述接收模块接收到所述服务器返回的通知消息已被示出的确认消息,则所述控制模块确定用户未查看所述示出的通知消息。
本发明还提供一种电子设备,其包括:
控制模块,被配置为确定电子设备是否活跃;
发送模块,被配置为发送消息;
接收模块,被配置为接收消息;
其中,如果所述控制模块确定所述电子设备活跃,则所述发送模块将携带消息标识的活跃消息发送到服务器;所述接收模块接收所述服务器根据所述消息标识发送的与所述电子设备关联的待机的电子设备的通知消息。
进一步地,所述电子设备还包括:
示出模块,被配置为示出通知消息。
进一步地,所述控制模块进一步被配置为对第二预定等待时间段进行计时,并确定用户是否已经查看所述示出模块示出的通知消息;如果确定用户已经查看所述示出的通知消息,则确定所述第二预定等待时间段是否已经过去;如果确定所述第二预定等待时间段尚未过去,则控制所述发送模块将所述示出的通知消息已被用户查看的确认消息发送到所述服务器。
进一步地,如果所述控制模块确定所述第二预定等待时间段已经过去,则所述控制发送模块将通知消息已被示出的确认消息发送到所述服务器。
本发明还提供一种服务器,其包括:
接收模块,被配置为接收待机的电子设备提交的示出请求,其中,所述示出请求携带通知消息和消息标识;
控制模块,被配置为对第一预定等待时间段进行计时,确定所述示出请求是否被接收并处理;如果确定已经接收并处理了所述示出请求,则确定所述第一预定等待时间段是否已经过去;如果确定所述第一预定等待时间尚未过去,则确定是否存在活跃的电子设备;
发送模块,被配置为如果所述控制模块确定存在所述活跃的电子设备,则根据所述消息标识将所述通知消息发送到所述活跃的电子设备。
进一步地,如果所述控制模块确定所述第一预定等待时间段已经过去,则所述待机的电子设备示出通知消息。
进一步地,如果所述控制模块确定不存在所述活跃的电子设备,则所述发送模块向所述待机的电子设备返回执行所述示出请求失败的消息。
有益效果
本发明的电子设备的通知消息的同步方法及服务器、电子设备,便于汇聚通知消息,使用户能够及时地收到通知消息。
附图说明
通过结合附图进行的以下描述,本发明的实施例的上述和其它方面、特点和优点将变得更加清楚,其中:
图1是根据本发明的实施例的服务器的框图。
图2是根据本发明的实施例的电子设备的框图。
图3是根据本发明的另一实施例的电子设备的框图。
图4是根据本发明的实施例的服务器与电子设备进行通讯的示意图。
图5是根据本发明的实施例的电子设备的通知消息的同步方法的流程图。
本发明的最佳实施方式
以下,将参照附图来详细描述本发明的实施例。然而,可以以许多不同的形式来实施本发明,并且本发明不应该被解释为限制于这里阐述的具体实施例。相反,提供这些实施例是为了解释本发明的原理及其实际应用,从而使本领域的其他技术人员能够理解本发明的各种实施例和适合于特定预期应用的各种修改。
在附图中,相同的标号将始终被用于表示相同的元件。将理解的是,尽管在这里可使用术语“第一”、“第二”、“第三”等来描述各种元件,但是这些元件不应受这些术语的限制。这些术语仅用于将一个元件与另一个元件区分开来。
根据本发明的实施例的电子设备可包括任何合适类型的移动和非移动设备。非移动设备的示例可包括台式计算机,具备信息显示或提示功能的家用电器,家用电子娱乐设备或其它类似的设备,而移动设备的示例可包括移动终端,例如视频电话、移动电话、智能电话、国际移动通信***2000(IMT-2000)终端、宽带码分多址(WCDMA)终端、通用移动通信***(UMTS)终端、个人数字助理(PDA)、便携式多媒体播放器(PMP)、数字多媒体广播(DMB)终端、电子书(E-book)、笔记本电脑、平板电脑、可穿戴式设备、数字相机或数码相框等。
图1是根据本发明的实施例的服务器的框图。
如图1所示,根据本发明的实施例的服务器10可包括第一控制模块101、第一接收模块102、第一发送模块103。
第一控制模块101用来提供电子设备的身份管理和消息管理的服务。例如,第一控制模块101用于管理已注册的电子设备、电子设备动态的身份及状态等。
具体来讲,第一控制模块101接收来自至少两个电子设备(例如,图2的电子设备20和图3的电子设备30)的注册。第一控制模块101根据每个电子设备在注册过程中提供的唯一标识,将使用相同唯一标识的电子设备关联组成一个电子设备组。也就是说,第一控制模块101将使用唯一标识的电子设备相关联。而且,第一控制模块101为这个电子设备组管理和维护一组活跃的电子设备列表。例如,第一控制模块101根据电子设备20和电子设备30提供的唯一标识,将使用相同的唯一标识的电子设备20和电子设备30关联组成电子设备组。换句话说,第一控制模块101将使用相同的唯一标识的电子设备20和电子设备30相关联。
此外,第一控制模块101为请求注册的每个电子设备都分配一个简化唯一标识,该简化唯一标识作为电子设备在通讯过程中的身份标识。例如,第一控制模块101为请求注册的电子设备20和电子设备30都分配一个简化唯一标识。这里,该简化唯一标识可以是与电子设备在向第一控制模块101注册时使用的唯一标识的同类的标识,也可以是第一控制模块101分配给电子设备的且能被第一控制模块101识别和理解的任何其他形式和/或格式的标识,本发明并不作具体限定。
此外,第一控制模块101还进行电子设备活跃状态(即,电子设备处于正被用户操作的状态,例如电子设备的屏幕被点亮等)和待机状态(即,电子设备处于未被用户操作的状态,例如电子设备的屏幕被关闭等)的管理。例如,当第一控制模块101接收到来自电子设备30发送的活跃通知消息时,第一控制模块101根据该活跃通知消息中携带的消息标识(例如,该消息标识可以是电子设备30向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备30分配的简化唯一标识)将电子设备30的加入到其管理的活跃的电子设备列表中。当第一控制模块101接收到来自电子设备30发送的待机通知消息时,第一控制模块101根据该待机通知消息携带的消息标识(例如,该消息标识可以是电子设备30向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备30分配的简化唯一标识)将电子设备30从其管理的活跃的电子设备列表中删除。
第一接收模块102可用于接收消息。例如,在电子设备20确定其本身处于待机状态时,第一接收模块102可用于接收待机的电子设备20提交的示出请求,其中,所述示出请求携带待机的电子设备20具有的通知消息和消息标识。例如,该消息标识可以是电子设备20向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备20分配的简化唯一标识。
第一控制模块101进一步用于对第一预定等待时间段进行计时,并确定所述示出请求是否被接收并处理。如果第一控制模块101确定已经接收并处理了所述示出请求,则第一控制模块101确定所述第一预定等待时间段是否已经过去。如果第一控制模块101确定所述第一预定等待时间尚未过去,则第一控制模块101确定其管理的活跃的电子设备列表中是否存在活跃的电子设备。
第一发送模块103可用于发送消息。例如,如果第一控制模块101在其管理的活跃的电子设备列表中确定存在活跃的电子设备,则第一发送模块103根据消息标识将通知消息发送到活跃的电子设备。
此外,如果第一控制模块101确定第一预定等待时间段已经过去,则第一发送模块103将第一控制模块101未对所述示出请求进行处理的消息发送给待机的电子设备,从而待机的电子设备示出通知消息。
另外,如果第一控制模块101在其管理的活跃的电子设备列表中确定不存在活跃的电子设备,则第一发送模块103将执行所述示出请求失败的消息发送给待机的电子设备,从而待机的电子设备示出通知消息。
以下,将分别参照图2和图3对根据本发明的实施例的电子设备20和电子设备30进行详细的描述。
图2是根据本发明的实施例的电子设备20的框图。
参照图2,根据本发明的是实施例的电子设备20可包括监测模块201、判断模块202、第二发送模块203、第一示出模块204、第二接收模块205和第二控制模块206。
一并参照图1和图2,第二控制模块206使用电子设备20的唯一标识(例如,设备标识)向第一控制模块101,进行注册,以获得第一控制模块101分配的简化唯一标识。并且,第一控制模块101将使用相同的唯一标识的电子设备20和其他电子设备(例如,使用唯一标识的图3所示的电子设备30)关联组成一个电子设备组。换句话说,第一控制模块101将使用相同的唯一标识的电子设备20和其他电子设备相关联。另外,第一控制模块101为请求注册的电子设备20分配一个简化唯一标识,该简化唯一标识作为电子设备20在通讯过程中的身份标识。这里,该简化唯一标识可以是与电子设备20在向第一控制模块101注册时使用的唯一标识的同类的标识,也可以是第一控制模块101分配给电子设备20的且能被第一控制模块101识别和理解的任何其他形式和/或格式的标识,本发明并不作具体限定。
此外,当第一示出模块204处于活跃状态(例如,第一示出模块204可是触摸屏,其活跃状态指的是该触摸屏被点亮或被触摸等的状态,或者电子设备20上的其他具有人机交互功能的组件正在进行工作的状态,或者与电子设备20通过物理的或无线的方式进行连接的其他的显示屏正在点亮或使用等的状态)时,第二发送模块203将活跃通知消息发送到第一控制模块101,第一控制模块101根据该活跃通知消息中携带的消息标识(例如,该消息标识可以是电子设备20向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备20分配的简化唯一标识)将电子设备20加入到其管理的活跃的电子设备列表中。当第一示出模块204处于待机状态(例如,屏幕被关闭等的状态)时,第二发送模块203将待机通知消息发送到第一控制模块101,第一控制模块101根据该待机通知消息携带的消息标识(例如,该消息标识可以是电子设备20向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备20分配的简化唯一标识)将电子设备20从其管理的活跃的电子设备列表中删除。
监测模块201用于监测电子设备20是否具有通知消息。这里,所述通知消息可例如是来电提醒、IM(即时消息)、短信、附属设备的消息提示、来自其他设备的呼叫提示、电子设备状态警告的消息或电子设备应用提示的消息等。如果监测模块201监测到电子设备20具有所述通知消息,则判断模块202判断第一示出模块204是否处于待机状态。
第一示出模块204用于示出消息。例如,如果判断模块202确认第一示出模块204处于活跃状态,则第一示出模块204示出所述通知消息。
第二发送模块203用于发送消息。如果判断模块202确认第一示出模块204处于待机状态,则第二控制模块206控制第二发送模块203向服务器10的第一接收模块102提交通知消息的示出请求,其中,所述示出请求携带通知消息和消息标识。
第二控制模块206在第一预定等待时间段确定所述示出请求是否被服务器10的第一控制模块101处理。如果第二控制模块206在第一预定等待时间段确定所述示出请求已被服务器10的第一控制模块101处理,则第一控制模块101在其管理的活跃的电子设备列表中确定是否存在活跃的电子设备。如果第一控制模块101在其管理的活跃的电子设备列表中确定存在活跃的电子设备,则服务器10的第一发送模块103根据消息标识将通知消息发送到活跃的电子设备。
此外,如果第二控制模块206在第一预定等待时间段确定所述示出请求未被服务器10的第一控制模块101处理,则第一示出模块204示出所述消息。
第二接收模块205用于接收消息。如果第一控制模块101在其管理的活跃的电子设备列表中确定不存在活跃的电子设备,则第二接收模块205接收到服务器10的第一发送模块103返回的执行所述示出请求失败的消息,从而第一示出模块204示出所述消息。
在本实施例中,电子设备20的第二控制模块206可进一步地在第二预定等待时间段确定用户是否已经查看活跃的电子设备示出的通知消息。如果在第二预定等待时间段第二接收模块205接收到服务器10的第一发送模块103返回的所述示出的通知消息已被用户查看的确认消息,则第二控制模块206确定用户已经查看所述示出的通知消息。
如果在第二预定等待时间段第二接收模块205接收到服务器10的第一发送模块103返回的通知消息已被示出的确认消息,则第二控制模块206确定用户未查看所述示出的通知消息。
图3是根据本发明的另一实施例的电子设备30的框图。
参照图3,根据本发明的另一实施例的电子设备30可包括第三控制模块301、第三接收模块302、第二示出模块303和第三发送模块304。
一并参照图1和图3,第三控制模块301使用电子设备30的唯一标识(例如,设备标识)向第一控制模块101进行注册,以获得第一控制模块101分配的简化唯一标识。并且,第一控制模块101将使用相同的唯一标识的电子设备30和其他电子设备(例如,使用唯一标识的图2所示的电子设备20)关联组成一个电子设备组。换句话说,第一控制模块101将使用相同的唯一标识的电子设备30和其他电子设备相关联。另外,第一控制模块101为请求注册的电子设备30分配一个简化唯一标识,该简化唯一标识作为电子设备30在通讯过程中的身份标识。这里,该简化唯一标识可以是与电子设备30在向第一控制模块101注册时使用的唯一标识的同类的标识,也可以是第一控制模块101分配给电子设备30的且能被第一控制模块101识别和理解的任何其他形式和/或格式的标识,本发明并不作具体限定。
此外,当第二示出模块303处于活跃状态(例如,第二示出模块303可是触摸屏,其活跃状态指的是该触摸屏被点亮或被触摸等的状态,或者电子设备30上的其他具有人机交互功能的组件正在进行工作的状态)时,第三发送模块304将活跃通知消息发送到第一控制模块101,第一控制模块101根据该活跃通知消息中携带的消息标识(例如,该消息标识可以是电子设备30向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备30分配的简化唯一标识)将电子设备30加入到其管理的活跃的电子设备列表中。当第二示出模块303处于待机状态(例如,屏幕被关闭等的状态)时,第三发送模块304将待机通知消息发送到第一控制模块101,第一控制模块101根据该待机通知消息携带的消息标识(例如,该消息标识可以是电子设备30向第一控制模块101注册时使用的唯一标识,也可以是第一控制模块101向电子设备30分配的简化唯一标识)将电子设备30从其管理的活跃的电子设备列表中删除。
第三控制模块301用于确定第二示出模块303是否处于活跃状态。第三接收模块302用于接收消息。第二示出模块303用于示出消息。第三发送模块304用于发送消息。
具体而言,如果第三控制模块301确定第二示出模块303处于活跃状态,则第三发送模块304将携带消息标识的活跃消息发送到第一控制模块101。第三接收模块302接收服务器10的第一发送模块103根据消息标识发送的与电子设备30关联的待机的电子设备具有的通知消息。第二示出模块303示出该通知消息。
在本实施例中,电子设备30的第三控制模块301进一步地对第二预定等待时间段进行计时,并确定用户是否已经查看第二示出模块303示出的通知消息。如果第三控制模块301确定用户已经查看了第二示出模块303示出的通知消息,则第三控制模块301确定第二预定等待时间段是否已经过去。
如果第三控制模块301确定第二预定等待时间段尚未过去,则第三控制模块301控制第三发送模块304将所述示出的通知消息已被用户查看的确认消息发送到服务器10的第一接收模块102。
如果第三控制模块301确定第二预定等待时间段已经过去,则第三控制模块301控制第三发送模块304将通知消息已被第二示出模块303示出的确认消息发送到服务器10的第一接收模块102。
图4是根据本发明的实施例的服务器与电子设备进行通讯的示意图。图5是根据本发明的实施例的电子设备的通知消息的同步方法的流程图。
参照图4,本发明的实施例的电子设备的通知消息的同步是在服务器10、电子设备20和电子设备30之间进行的。然而,应当理解,本发明的电子设备的通知消息的同步可以在服务器10、更多个电子设备20和更多个电子设备30之间进行,也可以在服务器10与至少两个电子设备20之间进行。此外,在本发明中,服务器10也可内置于电子设备中。例如,服务器10可内置于电子设备20或电子设备30中。另外,在本发明中,可以将电子设备20和电子设备30组合形成一个电子设备。
参照图1和图4,在执行本发明的实施例的电子设备的通知消息的同步方法之前,电子设备20、电子设备30分别使用其自身的唯一标识(例如,设备标识)向第一控制模块101进行注册,以分别获得第一控制模块101分配的简化唯一标识。这样,第一控制模块101将使用相同的唯一标识的电子设备20、电子设备30关联组成电子设备组。此外,简化唯一标识作为每个电子设备在通讯过程中的身份标识。这里,该简化唯一标识可以是与各个电子设备在向标识关联模块101注册时使用的唯一标识的同类的标识,也可以是标识关联模块101分配给各个电子设备的且能被标识关联模块101识别和理解的任何其他形式和/或格式的标识,本发明并不作具体限定。
参照图1至图5,在操作501中,监测模块201监测电子设备20是否具有通知消息。这里,所述通知消息可例如是来电提醒、IM(即时消息)、短信、附属设备的消息提示、来自其他设备的呼叫提示、电子设备状态警告的消息或电子设备应用提示的消息等。如果监测模块201监测到电子设备20具有所述通知消息,则执行操作502。
在操作502中,判断模块202判断第一示出模块204是否处于待机状态。如果判断模块202判断第一示出模块204处于待机状态,则进行操作503。在操作503中,第二控制模块206控制第二发送模块203向服务器10的第一接收模块102提交通知消息的示出请求,其中,所述示出请求携带通知消息和消息标识。此外,如果判断模块202确定第一示出模块204处于活跃状态,则进行操作509。在操作509中,第一示出模块204示出通知消息。
然后在操作504中,第二控制模块206在第一预定等待时间段确定所述示出请求是否被服务器10的第一控制模块101处理。这里,所述第一预定等待时间段由服务器10的第一控制模块101计时。第一控制模块101在第一预定等待时间段确定是否处理了所述示出请求。第一控制模块101控制第一发送模块103将其在第一预定等待时间段是否处理了所述示出请求的消息发送到电子设备20的第二接收模块205。
如果第二控制模块206在第一预定等待时间段确定所述示出请求被第一控制模块101处理,则进行操作505。此外,如果第二控制模块206在第一预定等待时间段确定所述示出请求未被第一控制模块101处理,则进行操作509。
在操作505中,第一控制模块101在其管理的活跃的电子设备列表中确定是否存在活跃的电子设备30。在本实施例中,例如,当电子设备30的第三控制模块301确定第二示出模块303处于活跃状态时,电子设备30的第三发送模块304将携带消息标识的活跃消息发送到第一控制模块101。第一控制模块101根据消息标识将电子设备30加入到其管理的活跃的电子设备列表中。
如果第一控制模块101在其管理的活跃的电子设备列表中确定存在活跃的电子设备30,则进行操作506。此外,如果第一控制模块101在其管理的活跃的电子设备列表中确定不存在活跃的电子设备,则第二接收模块205接收到服务器10的第一发送模块103返回的执行所述示出请求失败的消息,从而进行操作509。
在操作506中,服务器10的第一发送模块103根据消息标识将通知消息发送到活跃的电子设备30的第三接收模块302,从而活跃的电子设备30的第二示出模块303示出通知消息。
然后在操作507中,第二控制模块206在第二预定等待时间段确认用户是否已经查看活跃的电子设备30的第二示出模块303示出的通知消息。这里,所述第二预定等待时间段由电子设备30的第三控制模块301计时。电子设备30的第三控制模块301在第二预定等待时间段确定用户是否已经查看第二示出模块303示出的通知消息。其中,如果第三控制模块301在第二预定等待时间段确定用户已经查看第二示出模块303示出的通知消息,则第三控制模块301控制第三发送模块304将所述示出的通知消息已被用户查看的确认消息发送到服务器10的第一接收模块102;如果第三控制模块301在第二预定等待时间段确定用户未查看第二示出模块303示出的通知消息,则第三控制模块301控制第三发送模块304将通知消息已被第二示出模块303示出的确认消息发送到服务器10的第一接收模块102。
如果第二控制模块206在第二预定等待时间段确认用户已经查看活跃的电子设备30的第二示出模块303示出的通知消息,则进行操作508。在操作508中,电子设备20的第二接收模块205接收到服务器10的第一发送模块103返回的第二示出模块303示出的通知消息已被用户查看的确认消息。此外,如果第二控制模块206在第二预定等待时间段确认用户未查看活跃的电子设备30的第二示出模块303示出的通知消息,则进行操作510。在操作510中,电子设备20的第二接收模块205接收到服务器10的第一发送模块103返回的通知消息已被示出的确认消息。
针对图5而提供的方法仅作为示例而被提供。该方法中的至少一些操作可被同时执行、以不同的顺序执行或者完全被省略。
本发明的上述内容可利用硬件、固件来实现,或可经由可存储在记录介质(诸如CD ROM、数字通用盘(DVD)、磁带、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码或最初存储在远程记录介质或非暂时机器可读介质上并通过网络下载以存储在本地记录介质上的计算机代码的运行来实现,使得可使用通用计算机或专用处理器或利用可编程或专用硬件(诸如ASIC或FPGA)经由存储在记录介质上的软件来实施这里描述的方法。如本领域中所理解的,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储器部件,例如,RAM、ROM、闪存等,其中,当计算机、处理器或硬件访问并运行所述软件或计算机代码时,所述软件或计算机代码将实现这里描述的处理方法。此外,应认识到:当通用计算机访问用于实现这里示出的处理的代码时,所述代码的运行将通用计算机转换为用于执行这里示出的处理的专用计算机。附图中提供的任何功能和步骤可利用硬件、软件或两者的组合来实现,并可在计算机的可编程指令内整体或部分地执行。
综上所述,根据本发明的实施例的电子设备的通知消息的同步方法及服务器、电子设备,便于汇聚通知消息,使用户能够及时地收到通知消息。
虽然已经参照特定实施例示出并描述了本发明,但是本领域的技术人员将理解:在不脱离由权利要求及其等同物限定的本发明的精神和范围的情况下,可在此进行形式和细节上的各种变化。

Claims (19)

  1. 一种电子设备的通知消息的同步方法,其包括:
    监测电子设备是否具有通知消息;
    如果所述电子设备具有所述通知消息,则确定所述电子设备是否待机;
    所述电子设备向所述服务器提交所述通知消息的示出请求,其中,所述示出请求携带所述通知消息及消息标识;
    在第一预定等待时间段确定所述示出请求是否被所述服务器处理;
    如果在所述第一预定等待时间段确定所述示出请求已经被所述服务器处理,则所述服务器确定是否存在活跃的电子设备;以及
    如果所述服务器确定存在所述活跃的电子设备,则所述服务器根据所述消息标识将所述通知消息发送到所述活跃的电子设备;
    其中如果所述电子设备活跃,则所述电子设备示出所述通知消息。
  2. 2、根据权利要求1所述的方法,其还包括:如果在所述第一预定等待时间段确定所述示出请求未被所述服务器处理,则所述电子设备示出所述通知消息。
  3. 3、根据权利要求1所述的方法,其还包括:如果所述服务器确定不存在所述活跃的电子设备,则所述电子设备接收所述服务器返回的执行所述示出请求失败的消息。
  4. 4、根据权利要求1所述的方法,其还包括:
    在第二预定等待时间段确定用户是否已经查看所述活跃的电子设备示出的通知消息;
    如果在所述第二预定等待时间段接收到所述服务器返回的所述示出的通知消息已被用户查看的确认消息,则确定用户已经查看所述示出的通知消息。
  5. 根据权利要求4所述的方法,其还包括:如果在所述第二预定等待时间段接收到所述服务器返回的通知消息已被示出的确认消息,则确定用户未查看所述示出的通知消息。
  6. 一种电子设备,其包括:
    监测模块,被配置为监测电子设备是否具有通知消息;
    判断模块,被配置为如果所述监测模块监测到所述电子设备具有所述通知消息,则判断所述电子设备是否待机;
    发送模块,被配置为发送消息;
    其中,如果所述判断模块确定所述电子设备待机,则所述发送模块通过服务器将所述通知消息发送给与所述电子设备相关联的活跃的电子设备。
  7. 根据权利要求6所述的电子设备,其还包括:
    示出模块,被配置为示出消息;
    其中,如果所述判断模块确定所述电子设备活跃,则示出所述通知消息。
  8. 根据权利要求7所述的电子设备,其还包括:
    控制模块,被配置为控制所述发送模块向所述服务器提交所述通知消息的示出请求;在第一预定等待时间段确定所述示出请求是否被所述服务器处理;
    其中,所述示出请求携带所述通知消息及消息标识;如果所述控制模块在所述第一预定等待时间段确定所述示出请求已经被所述服务器处理,则所述服务器确定是否存在活跃的电子设备;如果所述服务器确定存在所述活跃的电子设备,则所述服务器根据所述消息标识将所述通知消息发送到所述活跃的电子设备。
  9. 根据权利要求8所述的电子设备,其中如果所述控制模块在所述第一预定等待时间段确定所述示出请求未被所述服务器处理,则所述示出模块示出通知消息。
  10. 根据权利要求8所述的电子设备,其还包括:
    接收模块,被配置为接收消息;
    其中,如果所述服务器确定不存在所述活跃的电子设备,则所述接收模块接收所述服务器返回的执行所述示出请求失败的消息。
  11. 根据权利要求8所述的电子设备,其还包括:
    接收模块,被配置为接收消息;
    所述控制模块进一步被配置为在第二预定等待时间段确定用户是否已经查看所述活跃的电子设备示出的通知消息;
    其中,如果在所述第二预定等待时间段所述接收模块接收到所述服务器返回的所述示出的通知消息已被用户查看的确认消息,则所述控制模块确定用户已经查看所述示出的通知消息。
  12. 根据权利要求11所述的电子设备,其中如果在所述第二预定等待时间段所述接收模块接收到所述服务器返回的通知消息已被示出的确认消息,则所述控制模块确定用户未查看所述示出的通知消息。
  13. 一种电子设备,其包括:
    控制模块,被配置为确定电子设备是否活跃;
    发送模块,被配置为发送消息;
    接收模块,被配置为接收消息;
    其中,如果所述控制模块确定所述电子设备活跃,则所述发送模块将携带消息标识的活跃消息发送到服务器;所述接收模块接收所述服务器根据所述消息标识发送的与所述电子设备关联的待机的电子设备的通知消息。
  14. 根据权利要求13所述的电子设备,其还包括:
    示出模块,被配置为示出通知消息。
  15. 根据权利要求14所述的电子设备,其中所述控制模块进一步被配置为对第二预定等待时间段进行计时,并确定用户是否已经查看所述示出模块示出的通知消息;如果确定用户已经查看所述示出的通知消息,则确定所述第二预定等待时间段是否已经过去;如果确定所述第二预定等待时间段尚未过去,则控制所述发送模块将所述示出的通知消息已被用户查看的确认消息发送到所述服务器。
  16. 根据权利要求15所述的电子设备,其中如果所述控制模块确定所述第二预定等待时间段已经过去,则所述控制发送模块将通知消息已被示出的确认消息发送到所述服务器。
  17. 一种服务器,其包括:
    接收模块,被配置为接收待机的电子设备提交的示出请求,其中,所述示出请求携带通知消息和消息标识;
    控制模块,被配置为对第一预定等待时间段进行计时,确定所述示出请求是否被接收并处理;如果确定已经接收并处理了所述示出请求,则确定所述第一预定等待时间段是否已经过去;如果确定所述第一预定等待时间尚未过去,则确定是否存在活跃的电子设备;
    发送模块,被配置为如果所述控制模块确定存在所述活跃的电子设备,则根据所述消息标识将所述通知消息发送到所述活跃的电子设备。
  18. 根据权利要求17所述的服务器,其中如果所述控制模块确定所述第一预定等待时间段已经过去,则所述待机的电子设备示出通知消息。
  19. 根据权利要求17所述的服务器,其中如果所述控制模块确定不存在所述活跃的电子设备,则所述发送模块向所述待机的电子设备返回执行所述示出请求失败的消息。
PCT/CN2015/073087 2014-05-07 2015-02-15 电子设备的通知消息的同步方法及服务器、电子设备 WO2015169119A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/893,845 US10110549B2 (en) 2014-05-07 2015-02-15 Method, server and electronic devices of synchronizing notification messages for electronic devices
EP15789808.1A EP3142304B1 (en) 2014-05-07 2015-02-15 Synchronization method for notification message of electronic device, server and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410190612.1A CN103957150B (zh) 2014-05-07 2014-05-07 电子设备的通知消息的同步方法及服务器、电子设备
CN201410190612.1 2014-05-07

Publications (1)

Publication Number Publication Date
WO2015169119A1 true WO2015169119A1 (zh) 2015-11-12

Family

ID=51334378

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073087 WO2015169119A1 (zh) 2014-05-07 2015-02-15 电子设备的通知消息的同步方法及服务器、电子设备

Country Status (4)

Country Link
US (1) US10110549B2 (zh)
EP (1) EP3142304B1 (zh)
CN (1) CN103957150B (zh)
WO (1) WO2015169119A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957150B (zh) * 2014-05-07 2017-05-17 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及服务器、电子设备
CN103973786B (zh) 2014-05-07 2017-05-24 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及电子设备
TWI554142B (zh) * 2014-09-09 2016-10-11 拓連科技股份有限公司 電子裝置與穿戴式電子裝置間之通訊管理方法及系統,及相關電腦程式產品
CN104601674A (zh) * 2014-12-29 2015-05-06 小米科技有限责任公司 通知消息同步方法、装置及***
CN104657643B (zh) * 2015-03-13 2018-01-16 广东欧珀移动通信有限公司 隐私信息保护方法、可穿戴设备及移动终端
CN105554859B (zh) * 2015-07-07 2019-08-02 宇龙计算机通信科技(深圳)有限公司 一种终端的消息通知处理方法及终端
CN105843058B (zh) * 2016-03-29 2019-03-22 北京小米移动软件有限公司 环境数据显示方法和装置
CN108111668A (zh) * 2017-11-23 2018-06-01 珠海格力电器股份有限公司 读取通信设备接收的信息的方法、装置、存储介质及设备
CN108494640A (zh) * 2018-03-07 2018-09-04 佛山市云米电器科技有限公司 一种语音播放终端主动融入家庭的方法
CN108833568B (zh) * 2018-06-27 2021-10-26 北京金山安全软件有限公司 消息同步方法、客户端、服务器及电子设备
CN109062642B (zh) * 2018-06-29 2022-04-08 北京奇艺世纪科技有限公司 一种控件消息通知方法及装置
WO2020186491A1 (en) * 2019-03-21 2020-09-24 Citrix Systems, Inc. Multi-device workspace notifications

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895975A (zh) * 2010-07-22 2010-11-24 中兴通讯股份有限公司 一种进入待机模式的方法及其应用的移动终端
CN102804640A (zh) * 2009-06-26 2012-11-28 Lg电子株式会社 用于运行睡眠模式的设备和方法
CN103746897A (zh) * 2013-12-20 2014-04-23 华为技术有限公司 通知用户状态的装置、方法和***
CN103957150A (zh) * 2014-05-07 2014-07-30 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及服务器、电子设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002011412A1 (de) * 2000-07-31 2002-02-07 Siemens Aktiengesellschaft Vorrichtung und verfahren zur anrufumlenkung in telekommunikationsnetzen
US20050031094A1 (en) 2002-09-19 2005-02-10 Gilbert Quenton L. System and method for message delivery to a busy called party
US7496630B2 (en) * 2003-05-06 2009-02-24 At&T Intellectual Property I, L.P. Adaptive notification delivery in a multi-device environment
CN100571297C (zh) * 2003-07-21 2009-12-16 美国在线服务公司 多用户呼叫等待
US7738479B2 (en) 2005-09-15 2010-06-15 At&T Intellectual Property I, L.P. Methods, systems, and computer program products for multi-channel communications using universal address book server
EP2113156B1 (en) * 2007-02-19 2013-10-30 Vascode Technologies Ltd. Unstructured supplementary services data application within a wireless network
CN101330736B (zh) * 2007-06-18 2011-04-20 华为技术有限公司 为用户提供呼叫转移业务的方法及装置
EP2314031B1 (en) 2008-07-16 2012-01-25 Fundacion Tecnalia Research & Innovation System for delivering and presenting a message within a network
US20100029250A1 (en) 2008-07-29 2010-02-04 Embarq Holdings Company, Llc System and method for routing messages to communication devices associated with a user
CN101771564B (zh) * 2008-12-31 2013-10-09 华为技术有限公司 会话上下文的处理方法、装置和***
US9325644B2 (en) * 2011-05-17 2016-04-26 International Business Machines Corporation Systems and methods for managing interactive communications
CN105612738B (zh) * 2012-02-16 2019-03-22 柯惠有限合伙公司 多功能会议***和方法
US10498623B2 (en) 2012-06-27 2019-12-03 Ubiquiti Inc. Method and apparatus for monitoring and processing sensor data using a sensor-interfacing device
KR101953308B1 (ko) * 2012-08-01 2019-05-23 삼성전자주식회사 커뮤니케이션 정보 전송 시스템 및 방법
EP2725768B1 (en) 2012-10-24 2014-12-10 BlackBerry Limited Method, system and communication device for generating notification signals
CN103442344A (zh) 2013-07-31 2013-12-11 广东明创软件科技有限公司 基于nfc和蓝牙进行呼叫转接的方法及其***
CN103973786B (zh) 2014-05-07 2017-05-24 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804640A (zh) * 2009-06-26 2012-11-28 Lg电子株式会社 用于运行睡眠模式的设备和方法
CN101895975A (zh) * 2010-07-22 2010-11-24 中兴通讯股份有限公司 一种进入待机模式的方法及其应用的移动终端
CN103746897A (zh) * 2013-12-20 2014-04-23 华为技术有限公司 通知用户状态的装置、方法和***
CN103957150A (zh) * 2014-05-07 2014-07-30 惠州Tcl移动通信有限公司 电子设备的通知消息的同步方法及服务器、电子设备

Also Published As

Publication number Publication date
CN103957150B (zh) 2017-05-17
EP3142304A4 (en) 2018-02-07
EP3142304B1 (en) 2020-05-13
US10110549B2 (en) 2018-10-23
EP3142304A1 (en) 2017-03-15
US20160105389A1 (en) 2016-04-14
CN103957150A (zh) 2014-07-30

Similar Documents

Publication Publication Date Title
WO2015169119A1 (zh) 电子设备的通知消息的同步方法及服务器、电子设备
WO2015169123A1 (zh) 电子设备的通知消息的同步方法及电子设备
WO2014183454A1 (en) Method, terminal and computer storage medium for group sending message in instant communication
WO2015026149A1 (en) System, apparatus, and method for sharing electronic device
WO2015147547A1 (en) Method and apparatus for supporting login through user terminal
WO2013042981A1 (en) Method and apparatus for providing information about a call recipient at a user device
WO2015122616A1 (en) Photographing method of an electronic device and the electronic device thereof
WO2020224246A1 (zh) 基于区块链的数据管理方法、装置、设备和存储介质
WO2016006721A1 (ko) 전자 장치의 그룹 페이징 방법 및 그 전자 장치
WO2018010269A1 (zh) 一种消息处理的方法及装置
WO2015020457A1 (en) Method and apparatus for wi-fi direct connection cross-reference to related application(s)
WO2014107084A1 (en) Apparatus and method for providing a near field communication function in a portable terminal
WO2016074386A1 (zh) 一种基于移动终端实现通话灭屏防误触的方法及***
WO2018035929A1 (zh) 一种验证码的处理方法及装置
WO2018117565A1 (en) Methods and apparatus for managing control data
WO2018000641A1 (zh) eSIM的切换方法、切换装置及终端
WO2016123898A1 (zh) 一种短信管理方法及其移动终端
WO2012093915A2 (en) Apparatus and method for supporting time-controlled service in machine-to-machine communication system
WO2018058835A1 (zh) 一种通话模式监控方法、***及通信终端
WO2018018819A1 (zh) 应用程序的管理方法、管理装置及终端
WO2017133263A1 (zh) 一种子帧配置的方法、数据传输的方法、相关设备和***
WO2014142610A1 (en) Terminal and method for synchronizing application thereof
WO2017206453A1 (zh) 应用图标显示方法及***
WO2012163216A1 (zh) 一种针对java程序的移动终端输入控制方法和装置
WO2013127195A1 (zh) 链式沟通协作方法、装置及***

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 14893845

Country of ref document: US

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

Ref document number: 15789808

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015789808

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015789808

Country of ref document: EP