WO2017197944A1 - 终端间的通知消息提示方法及终端 - Google Patents

终端间的通知消息提示方法及终端 Download PDF

Info

Publication number
WO2017197944A1
WO2017197944A1 PCT/CN2017/074436 CN2017074436W WO2017197944A1 WO 2017197944 A1 WO2017197944 A1 WO 2017197944A1 CN 2017074436 W CN2017074436 W CN 2017074436W WO 2017197944 A1 WO2017197944 A1 WO 2017197944A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
notification message
message
module
notification
Prior art date
Application number
PCT/CN2017/074436
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 WO2017197944A1 publication Critical patent/WO2017197944A1/zh

Links

Images

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/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
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • 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/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • This document relates to the technical field of notification message prompting between terminals, and in particular, to a notification message prompting method and terminal between terminals.
  • the related art is usually maintained by each application software.
  • the mobile phone or tablet can be received by the APP (Application: application), and the PC can receive through the client, thereby realizing the synchronization of the QQ instant message between different terminals.
  • the APP Application: application
  • the PC can receive through the client, thereby realizing the synchronization of the QQ instant message between different terminals.
  • the synchronization between these different terminals is the synchronization of the application through his own. The algorithm does this, and generally these read or unread states are maintained by the server side of the application.
  • the inventor of the present application found a scene in the process of using the above-mentioned terminal synchronization: when a person is watching TV, at this time, if his mobile phone is black or not, and there is just a QQ message or a phone call at this time.
  • his TV is a smart TV, since the TV does not have the software for installing QQ software or calling, he cannot know that there is an unread QQ message or a missed call, and the user cannot read the unread in time. QQ messages or missed calls, and may miss some important news.
  • the embodiment of the present invention provides a notification message prompting method and a terminal between terminals, which can enable synchronization of notification messages between terminals in the same local area network.
  • a method for prompting a notification message between terminals is applied to a first terminal, where the first terminal and the at least one second terminal are in the same local area network, and the method includes:
  • the first terminal sends the notification message to the second terminal.
  • the method further includes:
  • the first terminal After the first terminal receives a reply from the second terminal capable of displaying the notification message, the first terminal performs a step of transmitting the notification message to the second terminal.
  • the first terminal includes a terminal list, configured to store information of at least one of the second terminals;
  • the method further includes:
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform any of the above notification message prompting methods.
  • a method for prompting a notification message between terminals is applied to a first terminal, where the first terminal and the at least one second terminal are in the same local area network, and the method includes:
  • the first terminal determines whether the screen of the terminal is a black screen
  • the first terminal discards the received notification message
  • the first terminal displays the received notification message.
  • the method further includes:
  • the first terminal sends a reply message indicating that it has been read to the second terminal.
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform any of the above notification message prompting methods.
  • a method for prompting a notification message between terminals is applied to a first terminal, where the first terminal and the at least one second terminal are in the same local area network, and the method includes:
  • the datagram protocol broadcast message is used to query whether the first terminal can display a notification message;
  • the first terminal determines whether the screen of the terminal is a black screen
  • the first terminal sends a reply that can display the notification message to the second terminal, and receives and displays a notification message sent by the second terminal;
  • the first terminal sends a reply that cannot display the notification message to the second terminal.
  • the method further includes:
  • the first terminal sends a reply message indicating that it has been read to the second terminal.
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform any of the above notification message prompting methods.
  • a terminal is configured to implement a notification of a notification message between a first terminal and at least one second terminal in a same local area network, where the terminal includes a determining module and a sending module, where
  • the determining module is configured to: determine whether a notification message in the first terminal has been read;
  • the sending module is configured to: when the determining module determines that the notification message in the first terminal is not read, send the notification message to the second terminal.
  • the sending module is further configured to: after the determining module determines whether the notification message in the first terminal has been read, send the first user data before sending the notification message to the second terminal Reporting a protocol broadcast message to the second terminal to query whether the second terminal can display the notification message;
  • the terminal further includes a receiving module, wherein
  • the receiving module is configured to: receive a reply that the second terminal can display the notification message
  • the sending module is configured to send the notification message to the second terminal according to the following manner: after the receiving module receives a reply from the second terminal that can display the notification message, performing sending the notification message The operation of the second terminal.
  • the terminal includes a terminal list, configured to store information of at least one of the second terminals;
  • the sending module is further configured to: before the determining module determines whether the notification message in the first terminal has been read, send a second user datagram protocol broadcast message to query whether the local area network is in the same At least one of the second terminals of the local area network;
  • the receiving module is further configured to: receive a feedback message returned by the second terminal;
  • the terminal further includes a terminal list maintenance module, wherein
  • the terminal list maintenance module is configured to: when the receiving module receives the feedback message returned by the second terminal, add the second terminal to the terminal list.
  • a terminal is configured to implement a notification of a notification message between a first terminal and at least one second terminal in a same local area network, where the terminal includes a receiving module, a determining module, and a display module, where in
  • the receiving module is configured to: receive a notification message sent by the second terminal;
  • the determining module is configured to: after the receiving module receives the notification message, determine whether the screen of the first terminal is a black screen;
  • the display module is configured to: discard the notification message when the determination result of the determination module is yes, and display the notification message when the determination result of the determination module is negative.
  • a terminal is configured to implement a notification of a notification message between a first terminal and at least one second terminal in a same local area network, where the terminal includes a receiving module, a determining module, a sending module, and a display module, where
  • the receiving module is configured to: receive a datagram protocol broadcast message sent by the second terminal; the datagram protocol broadcast message is used to query whether the first terminal can display a notification message;
  • the determining module is configured to: after the receiving module receives the datagram protocol broadcast message, determine whether the screen of the first terminal is a black screen;
  • the sending module is configured to: when the determination result of the determining module is negative, send a reply that can display a notification message to the second terminal; and when the determining result of the determining module is yes, send a notification that cannot be displayed Replying to the message to the second terminal;
  • the receiving module is further configured to: after the sending module sends a reply capable of displaying the notification message to the second terminal, receiving a notification message sent by the second terminal;
  • the display module is configured to: display a notification message received by the receiving module.
  • the terminal when the terminal in the same local area network determines that the notification message in the terminal is not read, the terminal may collect the notification message of the terminal and send it to other terminals in the local area network, so that the terminal is in a bright state. After receiving the notification message, the other terminal may display the notification message to the user, so as to achieve mutual synchronization of the notification messages between the terminals in the same local area network, so as to ensure that the user does not miss the notification message as much as possible.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for prompting a notification message between terminals according to the present invention
  • FIG. 2 is a schematic diagram of interaction of a first embodiment of a method for prompting a notification message between terminals according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for prompting a notification message between terminals according to the present invention
  • FIG. 4 is a schematic diagram of interaction of a second embodiment of a method for prompting a notification message between terminals according to the present invention
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of a method for prompting a notification message between terminals according to the present invention.
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for prompting a notification message between terminals according to the present invention.
  • FIG. 7 is a schematic structural diagram of a first embodiment of a terminal provided by the present invention.
  • FIG. 8 is a schematic structural diagram of a second embodiment of a terminal provided by the present invention.
  • FIG. 9 is a schematic structural diagram of a third embodiment of a terminal provided by the present invention.
  • FIG. 10 is a schematic structural diagram of a fourth embodiment of a terminal provided by the present invention.
  • the notification message prompting method between terminals provided by the present invention is applied between terminals in the same local area network.
  • each terminal has the same function, and for the convenience of description, the first terminal and the first terminal are used.
  • the two terminals make a difference, that is, the terminal in the same local area network can include, for example, the first terminal and the at least one second terminal.
  • the second terminal may be any other terminal than the first terminal in the same local area network.
  • the first terminal and the at least one second terminal are in the same local area network as a precondition for mutual message notification.
  • the first terminal and the second terminal may each include: a smart phone, a PC, a tablet computer, or a smart TV.
  • the notification message in the terminal may be involved, and the notification message may be roughly divided into two categories: one is a notification message generated by a third-party application software installed on the terminal, Such as QQ messages, WeChat messages, etc.; the other is the notification messages generated by their own applications on the terminal, such as incoming calls, text messages, reminders, and so on.
  • a third-party application software installed on the terminal
  • the notification messages generated by their own applications on the terminal, such as incoming calls, text messages, reminders, and so on.
  • the notification message may be in the UDP (User Datagram Protocol) format or may be transmitted by using a TCP connection.
  • the format of the data segment of the notification message may be defined by the user.
  • the notification message can be encrypted.
  • a UDP broadcast message may be involved, and the functions of the UDP broadcast message may be roughly divided into two categories, one is: whether the terminal can display the notification message, and the other is: querying the local area network. Whether there are other terminals on the same LAN.
  • the first UDP broadcast message and the second UDP broadcast message are distinguished, and the UDP broadcast message can be defined by defining a data segment in the UDP broadcast message. Different features.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for prompting a notification message between terminals according to the present invention, and a method for prompting a notification message between the terminals, including:
  • the first terminal determines whether the notification message in the terminal has been read.
  • the purpose of the first terminal determining whether the notification message in the terminal has been read is to determine whether to collect the notification message.
  • the first terminal may determine whether the notification message in the terminal is read by querying the terminal database. If the first terminal determines that the notification message has been read, it indicates that the first terminal can successfully prompt the notification message generated by the terminal to the user in time, so that the collection step is not performed, and the process is directly ended. If the first terminal determines that the notification message is not read, it indicates that the first terminal cannot promptly send the terminal message generated by the terminal to the user in time. In this case, step S102 needs to be performed.
  • the notification message in the first terminal is not read,
  • the scene that can appear is: the first terminal is not at the user's side; the screen of the first terminal is in a black screen state, and the notification message cannot be displayed to the user; although the screen of the first terminal is on but the first terminal is muted, the user does not know that there is a notification message. .
  • the first terminal collects a notification message of the local terminal.
  • the notification messages in the first terminal can be classified into two types, one is a notification message generated by a third-party application installed on the terminal, such as a QQ message, a WeChat message, and the like, and the other is an application on the terminal.
  • Notification messages generated such as incoming calls, text messages, reminders, etc.
  • the first terminal may collect the notification by reading the notification on the terminal notification bar; and for the notification message generated by the application on the terminal, the first terminal may read the terminal database. Go to collect.
  • the first terminal sends the notification message to the second terminal, and the process ends.
  • the received notification message may be directly sent to the second terminal, that is, the notification message received by the second terminal includes the message content;
  • the collected notification message is sent to the second terminal as a notification message event, and the message content of the notification message is not sent.
  • the second terminal may decide whether to display the notification message according to the specific usage of the second terminal. Specifically, when the screen of the second terminal is in a bright screen state, the second terminal displays a notification message. Specifically, when the screen of the second terminal is in a black screen state, the second terminal discards the received notification. Message.
  • steps S101 to S103 is described by using three terminals in the local area network, that is, the first terminal is specifically the terminal 1, and the two second terminals are respectively the terminal 2 and the terminal 3.
  • the terminal 1 determines that the notification message in the terminal is not read
  • the terminal 1 collects the notification message of the terminal, and then proceeds to S202, and the terminal 1 sends the notification message, the terminal 2 and the terminal.
  • the terminal 2 determines that the screen of the terminal is in a bright state, and then displays the notification message received from the terminal 1.
  • the terminal 3 determines that the screen of the terminal is in a black screen state, and then discards the slave terminal. 1
  • the received notification message does not display the notification message on the terminal.
  • the terminal when the terminal in the same local area network determines that the notification message in the terminal is not read, the terminal can collect the notification message of the terminal and send it to other terminals in the local area network, so that the screen is in a bright state. After receiving the notification message, the other terminal may display the notification message to the user, so as to achieve mutual synchronization of the notification messages between the terminals in the same local area network, so as to ensure that the user does not miss the notification message as much as possible.
  • FIG. 3 it is a schematic flowchart of a second embodiment of a method for prompting a notification message between terminals according to the present invention.
  • the notification message prompting method between the terminals includes:
  • the first terminal determines whether the notification message of the terminal has been read.
  • the first terminal collects a notification message of the local terminal.
  • S301 to S302 are the same as the operations of S101 to S102, and details are not described herein again.
  • the first terminal sends a first UDP broadcast message to the second terminal to query whether the second terminal can display the notification message.
  • the first terminal After receiving the reply that the second terminal can display the notification message, the first terminal sends a notification message to the second terminal.
  • the first terminal sends a first UDP broadcast message before transmitting the collected notification message to other terminals in the local area network, and the other terminal receiving the broadcast message informs the other party whether it can display by responding to the broadcast message.
  • the notification message is sent to the second terminal if the first terminal receives the reply that the second terminal can display the notification message. If the first terminal receives the reply that the second terminal cannot display the notification message, the notification message is not sent to the second terminal. That is to say, in this embodiment, the first terminal only sends a notification message to the second terminal that can display the notification message.
  • the following describes the interaction process of steps S301 to S305 by using three terminals in the local area network, that is, the first terminal is specifically the terminal 1, and the two second terminals are respectively the terminal 2 and the terminal 3.
  • the terminal 1 when the terminal 1 determines that the notification message in the terminal is not read, the terminal 1 collects a notification message of the terminal, and then, through S402, the terminal 1 sends a first UDP broadcast message to inquire whether there is a terminal.
  • the notification message can be displayed; the terminal 2 and the terminal 3 in the same local area network respectively reply.
  • the terminal 2 replies that the notification message can be displayed
  • the terminal 3 replies that the notification message cannot be displayed; after receiving the reply of the terminal 2 and the terminal 3, the terminal 1 transmits the notification message to the terminal 2 through S405, because The terminal 3 replies that the notification message cannot be displayed, so the terminal 1 no longer transmits the notification message to the terminal 3.
  • the terminal 2 that has received the notification message displays the notification message.
  • the first terminal further includes a terminal list for storing information of the at least one second terminal. Therefore, it can be understood that, in the embodiment shown in FIG. 1 and the embodiment shown in FIG. 3, before the first terminal determines whether the notification message in the terminal is read, the method may further include the following steps:
  • the first terminal sends a second user datagram protocol broadcast message to query whether there is at least one second terminal in the same local area network in the local area network; if the first terminal receives the feedback message returned by the terminal and conforms to the preset format, the first terminal considers that The terminal that returns the message is the second terminal that meets the requirements. Then, the first terminal adds the second terminal to the terminal list to maintain the terminal list in the local area network. That is to say, after the terminals in the same local area network are connected to the home router through wired or wireless manner and become terminals in the home local area network, the terminals in the local area network can also discover each other through the second UDP broadcast message without routing or internet. Support to maintain the update status of the terminal list in the LAN.
  • FIG. 5 it is a schematic flowchart of a third embodiment of a method for prompting a notification message between terminals according to the present invention.
  • the embodiment corresponds to the embodiment shown in FIG. 1, that is, the terminal is configured to be sent in the embodiment of FIG.
  • the process of notifying a message and the embodiment describes a process in which a terminal receives a notification message.
  • the method includes:
  • the first terminal receives the notification message sent by the second terminal.
  • the first terminal determines whether the screen of the terminal is black.
  • the first terminal displays the received notification message.
  • the first terminal discards the received notification message.
  • the method may further include:
  • the first terminal sends a reply message that has read the notification message to the second terminal.
  • the sent notification message may be a notification message including a message content, or may be a notification message event
  • the correspondingly received notification message may be a notification message including a message content, or may be a notification message event.
  • the received notification message includes the notification message of the message content and the first terminal displays the notification message and is read, the first terminal may also return the “read” event to the collection of the notification message. The second terminal.
  • a terminal in the same local area network can receive a notification message sent by another terminal, and when it is determined that the screen of the terminal is in a bright state, the notification message sent by another terminal received by the terminal is received. Displayed to the user to achieve mutual synchronization of notification messages between multiple terminals in the same local area network to ensure that the user does not miss the notification message as much as possible.
  • the first terminal in the first embodiment of the method of the present invention ie, the embodiment shown in FIG. 1
  • the second embodiment ie, the embodiment shown in FIG. 3
  • the first embodiment in this embodiment A terminal can be a different terminal or a terminal.
  • the first terminal has the function of superimposing the foregoing several embodiments, that is, the first terminal has a function of collecting and transmitting a notification message, and receiving and displaying a notification message.
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for prompting a notification message between terminals according to the present invention.
  • the embodiment corresponds to the embodiment shown in FIG. 3 , that is, the terminal is configured to be sent in the embodiment of FIG. 3 .
  • the process of notifying a message and the embodiment describes a process in which a terminal receives a notification message.
  • the method includes:
  • the first terminal receives a datagram protocol broadcast message sent by the second terminal, to query whether the first terminal can display the notification message.
  • the first terminal determines whether the screen of the terminal is a black screen.
  • S602 is the same as the operation of S502, and details are not repeated herein.
  • the first terminal sends a reply that can display the notification message to the second terminal.
  • the first terminal receives the notification message sent by the second terminal.
  • the first terminal displays a notification message sent by the second terminal.
  • the first terminal sends a reply that cannot display the notification message to the second terminal.
  • the method may further include:
  • the first terminal sends a reply message that has read the notification message to the second terminal.
  • the sent notification message may be a notification message including a message content, or may be a notification message event
  • the correspondingly received notification message may be a notification message including a message content, or may be a notification message event.
  • the received notification message includes the notification message of the message content and the first terminal displays the notification message and is read, the first terminal may also return the “read” event to the collection of the notification message. The second terminal.
  • the first embodiment of the method of the present invention ie, the embodiment shown in FIG. 1
  • the first terminal of the second embodiment ie, the embodiment shown in FIG. 3
  • the first embodiment of the present embodiment A terminal can be a different terminal or a terminal.
  • the first terminal has the function of superimposing the foregoing several embodiments, that is, the first terminal has a function of collecting and transmitting a notification message, and receiving and displaying a notification message.
  • the terminal corresponding to the method is correspondingly proposed.
  • the terminal corresponding to the method will be specifically described through FIG. 7 to FIG. 10.
  • the definitions and explanations of some terms have been described in the method embodiments, and the description is not repeated in the following terminal embodiments for the sake of brevity.
  • the terminal 7 is configured to implement a notification of a notification message between the first terminal and at least one second terminal in the same local area network.
  • the terminal 7 includes:
  • the determining module 71 is configured to: determine whether the notification message in the terminal has been read;
  • the collecting module 72 is configured to: when the determining result of the determining module 71 is negative, that is, when the notification message in the terminal 7 is not read, collecting the notification message generated by the terminal 7;
  • the sending module 73 is configured to: send the notification message collected by the collecting module 72 to the second terminal.
  • the second terminal may decide whether to display the notification message according to the specific usage of the second terminal. Specifically, when the screen of the second terminal is in a bright screen state, the second terminal displays a notification message. Specifically, when the screen of the second terminal is in a black screen state, the second terminal discards the received notification. Message.
  • the terminal when the terminal in the same local area network determines that the notification message in the terminal is not read, the terminal can collect the notification message of the terminal and send it to other terminals in the local area network, so that the screen is in bright screen. After receiving the notification message, the other terminals of the state may display the notification message to the user, so as to realize mutual synchronization of the notification messages between the terminals in the same local area network, so as to ensure that the user does not miss the notification message as much as possible.
  • FIG. 8 it is a schematic structural diagram of a second embodiment of the terminal 7 corresponding to the method embodiment shown in FIG. 3 , and the terminal 7 is configured to be implemented as a first terminal and at least one second terminal in the same local area network.
  • a notification for the notification message is included in the terminal 7 .
  • the terminal 7 includes the same judging module 71, the collecting module 72, and the transmitting module 73 as in the embodiment of FIG.
  • the difference from the embodiment of Fig. 7 is:
  • the sending module 73 further sends a first UDP broadcast message to the second terminal to send the second terminal to query whether the second terminal can display the notification message, and the terminal 7 further includes:
  • the receiving module 74 is configured to: receive a response that the second terminal can display the notification message
  • the sending module 73 is specifically configured to: after the receiving module 74 receives the reply that the second terminal can display the notification message, perform the operation of sending the notification message to the second terminal.
  • the terminal 7 of the embodiment sends a first UDP broadcast message to the other terminal in the local area network to send a notification message to the other terminal in the local area network, if the first notification message is sent to other terminals in the local area network. After the terminal receives the reply that the second terminal can display the notification message, Then, the notification message is sent to the second terminal. If the first terminal terminal receives the reply that the second terminal cannot display the notification message, the notification message is not sent to the second terminal. That is to say, in this embodiment, the first terminal only sends a notification message to the second terminal that can display the notification message.
  • the terminal 7 includes a terminal list for storing information of at least one second terminal.
  • the sending module 73 is further configured to: before the determining module 71 determines whether the notification message in the terminal has been read, The two user datagram protocol broadcasts a message to query whether there is at least one second terminal in the same local area network in the local area network.
  • the receiving module 74 is configured to: receive a feedback message that is returned by the second terminal and conforms to a preset format.
  • the terminal 7 may further include: a terminal list maintenance module 75, configured to: when the receiving module 74 receives the feedback message corresponding to the preset format returned by the second terminal, add the second terminal to the terminal list to maintain the local area network Terminal list. That is to say, after the terminals in the same local area network are connected to the home router through wired or wireless manner and become terminals in the home local area network, the terminals in the local area network can also discover each other through the second UDP broadcast message without routing or internet. Support to maintain the update status of the terminal list in the LAN.
  • a terminal list maintenance module 75 configured to: when the receiving module 74 receives the feedback message corresponding to the preset format returned by the second terminal, add the second terminal to the terminal list to maintain the local area network Terminal list. That is to say, after the terminals in the same local area network are connected to the home router through wired or wireless manner and become terminals in the home local area network, the terminals in the local area network can also discover each other through the second UDP broadcast message without routing or internet. Support
  • FIG. 9 it is a schematic structural diagram of a terminal 9 corresponding to the method embodiment shown in FIG. 5 , and the terminal 9 is configured to implement a notification of a notification message between the first terminal and at least one second terminal in the same local area network.
  • the terminal 9 includes: a receiving module 91, a determining module 92, and a display module 93.
  • the receiving module 91 is configured to: receive a notification message sent by the second terminal;
  • the determining module 92 is configured to: after the receiving module 91 receives the notification message, determine whether the screen of the terminal is black;
  • the display module 93 is configured to display a notification message when the determination result of the determination module 92 is negative, and discard the notification message when the determination result of the determination module 93 is YES.
  • the terminal may also return the "read" reply message to the collected message.
  • the second terminal of the notification message may also return the "read" reply message to the collected message.
  • terminals in the same local area network can receive other terminals.
  • the notification message is sent, and when the screen of the terminal is judged to be in a bright state, the notification message sent by the other terminal received by the terminal is displayed to the user, so that the notification messages between the terminals in the same local area network are synchronized with each other. It is possible to ensure that the user does not miss the notification message.
  • the terminal 7 in the first embodiment i.e., the embodiment shown in Fig. 7
  • the second embodiment i.e., the embodiment shown in Fig. 8
  • the terminal 9 in this embodiment It can be a different terminal or the same terminal.
  • the terminal has the function of superimposing the above several embodiments at the same time, that is, the terminal has the function of collecting and transmitting the notification message, and receiving and displaying the notification message.
  • the functions of the modules having the same function or similar functions in the respective embodiments may be integrated into one module or may be separated.
  • FIG. 10 it is a schematic structural diagram of a terminal 10 corresponding to the method embodiment shown in FIG. 6.
  • the terminal 10 is configured to implement a notification of a notification message between the first terminal and at least one second terminal in the same local area network.
  • the terminal 10 includes: a receiving module 101, a determining module 102, a sending module 103, and a display module 104.
  • the receiving module 101 is configured to: receive a datagram protocol broadcast message sent by the second terminal; the datagram protocol broadcast message is used to query whether the terminal 10 can display the notification message;
  • the determining module 102 is configured to: after the receiving module 101 receives the datagram protocol broadcast message, determine whether the screen of the terminal is black;
  • the sending module 103 is configured to: when the determination result of the determining module 102 is negative, send a reply indicating that the notification message can be displayed to the second terminal; and when the determining result of the determining module 102 is yes, send a reply that cannot display the notification message to Second terminal;
  • the receiving module 101 is further configured to: after the sending module 103 sends a reply capable of displaying the notification message to the second terminal, receiving the notification message sent by the second terminal;
  • the display module 104 is configured to: display a notification message received by the receiving module 101.
  • the terminal 10 can also return the "read" reply message to the collected message. This is the second terminal that starts the notification message.
  • the terminal in the same local area network with the screen in the lighting state can receive the notification message sent by the other terminal, and display the notification message received by the terminal to the user.
  • the mutual synchronization of the notification messages between the terminals in the same local area network is realized, so as to ensure that the user does not miss the notification message as much as possible.
  • the terminal 10 can be a different terminal or the same terminal.
  • the terminal has the function of superimposing the above several embodiments at the same time, that is, the terminal has the function of collecting and transmitting the notification message, and receiving and displaying the notification message.
  • the functions of the modules having the same function or similar functions in the respective embodiments may be integrated into one module or may be separated.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can execute any of the above notification message prompting methods.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • Each device/function module/functional unit in the above embodiments may use a general-purpose computing device. Implementations can be centralized on a single computing device or distributed across a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the terminal when the terminal in the same local area network determines that the notification message in the terminal is not read, the terminal may collect the notification message of the terminal and send it to other terminals in the local area network, so that the terminal is in a bright state. After receiving the notification message, the other terminal may display the notification message to the user, so as to achieve mutual synchronization of the notification messages between the terminals in the same local area network, so as to ensure that the user does not miss the notification message as much as possible. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种终端间的通知消息提示方法及终端,所述方法包括:所述第一终端判断所述第一终端中的通知消息是否已被读取;若未被读取,则所述第一终端将所述通知消息发送至所述第二终端。本发明的技术方案实现了同一局域网内终端之间通知消息的相互同步,尽可能地保证了用户不会错过通知消息。

Description

终端间的通知消息提示方法及终端 技术领域
本文涉及终端间的通知消息提示技术领域,尤其涉及一种终端间的通知消息提示方法及终端。
背景技术
当前,家庭中使用的终端越来越多,如可以包括PC、智能手机、平板电脑、智能电视等。并且,一个人可能同时拥有这些设备,但这些设备不一定会被同时打开,退一步讲,即便同时打开着同一时刻一个人的注意力也通常只集中在其中一个设备上。
对于这些设备间的消息同步,相关技术中通常是由各应用软件自己去维护的。例如,对于QQ即时消息来说,手机或平板电脑可以通过APP(Application:应用程序)接收,PC可以通过客户端接收,从而实现了QQ即时消息在不同终端之间的同步。当然,一个人在用手机接收某条消息之后,当他再用PC或其他终端打开QQ应用时就不会再提示这条消息未读了,这些不同终端间的同步是应用程序通过自己的同步算法来进行的,一般这些已读或未读的状态是通过应用程序的服务器端来维护的。
本申请的发明人在使用上述终端间的消息同步过程中发现这样的场景:当一个人在看电视时,此时若他的手机黑屏或不在身边并且此时刚好有一条QQ消息或一个电话过来,虽然他的电视是智能电视,但由于该电视并没有安装QQ软件或打电话的软件,所以此时他无法知道有未读QQ消息或有未接来电,导致用户不能及时读取该未读QQ消息或未接来电,进而可能会错过一些重要的消息。
发明内容
本发明实施例将提供一种终端间的通知消息提示方法及终端,能够使得处于同一局域网内的终端之间实现通知消息的同步。
为此,本发明采用了如下技术方案:
一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
所述第一终端判断所述第一终端中的通知消息是否已被读取;
若未被读取,则所述第一终端将所述通知消息发送至所述第二终端。
可选地,在所述第一终端判断所述第一终端中的通知消息是否已被读取的步骤之后,所述第一终端将所述通知消息发送至所述第二终端的步骤之前,所述方法还包括:
所述第一终端发送第一用户数据报协议广播消息给所述第二终端,以询问所述第二终端能否显示所述通知消息;
当所述第一终端接收到来自所述第二终端的能够显示所述通知消息的回复之后,所述第一终端执行将所述通知消息发送给所述第二终端的步骤。
可选地,所述第一终端包括终端列表,用于存储至少一个所述第二终端的信息;
在所述第一终端判断所述第一终端中的通知消息是否已被读取的步骤之前,所述方法还包括:
所述第一终端发送第二用户数据报协议广播消息,以询问所述局域网内是否存在处于同一局域网的至少一个所述第二终端;
当所述第一终端接收到所述第二终端返回的反馈消息时,将所述第二终端添加至所述终端列表中。
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的通知消息提示方法。
一种载有所述的计算机程序的载体。
一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
所述第一终端接收所述第二终端发来的通知消息;
所述第一终端判断本终端的屏幕是否黑屏;
若判断结果为是,则所述第一终端丢弃接收到的所述通知消息;
若判断结果为否,则所述第一终端显示接收到的所述通知消息。
可选地,若所述通知消息为包括消息内容的通知消息,在所述第一终端显示所述通知消息的步骤之后,所述方法还包括:
所述第一终端发送表示已读取的回复消息给所述第二终端。
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的通知消息提示方法。
一种载有所述的计算机程序的载体。
一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
所述第一终端接收所述第二终端发来的数据报协议广播消息;所述数据报协议广播消息用以询问所述第一终端能否显示通知消息;
所述第一终端判断本终端的屏幕是否黑屏;
若判断结果为否,则所述第一终端发送能显示所述通知消息的回复给所述第二终端,以及接收并显示所述第二终端发来的通知消息;
若判断结果为是,则所述第一终端发送不能显示所述通知消息的回复给所述第二终端。
可选地,若所述通知消息为包括消息内容的通知消息,所述第一终端在显示所述通知消息的步骤之后,所述方法还包括:
所述第一终端发送表示已读取的回复消息给所述第二终端。
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的通知消息提示方法。
一种载有所述的计算机程序的载体。
一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括判断模块和发送模块,其中
所述判断模块设置成:判断所述第一终端中的通知消息是否已被读取;以及
所述发送模块设置成:当所述判断模块确定所述第一终端中的通知消息没有被读取时,将所述通知消息发送给第二终端。
可选地,所述发送模块还设置成:在所述判断模块判断所述第一终端中的通知消息是否已被读取之后,发送所述通知消息给第二终端之前,发送第一用户数据报协议广播消息给所述第二终端,以询问所述第二终端能否显示所述通知消息;
所述终端还包括接收模块,其中
所述接收模块设置成:接收所述第二终端能否显示所述通知消息的回复;
所述发送模块设置成按照如下方式将所述通知消息发送给第二终端:在所述接收模块接收到来自所述第二终端的能显示所述通知消息的回复之后,执行发送所述通知消息给所述第二终端的操作。
可选地,所述终端包括终端列表,用于存储至少一个所述第二终端的信息;
所述发送模块还设置成:在所述判断模块判断所述第一终端中的通知消息是否已被读取之前,发送第二用户数据报协议广播消息,以询问所述局域网内是否存在处于同一局域网的至少一个所述第二终端;
所述接收模块还设置成:接收所述第二终端返回的反馈消息;
所述终端还包括终端列表维护模块,其中
所述终端列表维护模块设置成:在所述接收模块接收到所述第二终端返回的反馈消息时,将所述第二终端添加至所述终端列表中。
一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括接收模块、判断模块和显示模块,其 中
所述接收模块设置成:接收所述第二终端发来的通知消息;
所述判断模块设置成:在所述接收模块接收到所述通知消息之后,判断所述第一终端的屏幕是否黑屏;
所述显示模块设置成:在所述判断模块的判断结果为是时丢弃所述通知消息,以及在所述判断模块的判断结果为否时显示所述通知消息。
一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括接收模块、判断模块和发送模块和显示模块,其中
所述接收模块设置成:接收所述第二终端发来的数据报协议广播消息;所述数据报协议广播消息用以询问所述第一终端能否显示通知消息;
所述判断模块设置成:在所述接收模块接收到所述数据报协议广播消息之后,判断所述第一终端的屏幕是否黑屏;
所述发送模块设置成:在所述判断模块的判断结果为否时,发送能显示通知消息的回复给所述第二终端;以及在所述判断模块的判断结果为是时,发送不能显示通知消息的回复给所述第二终端;
所述接收模块还设置成:在所述发送模块发送能显示通知消息的回复给所述第二终端之后,接收所述第二终端发来的通知消息;以及,
所述显示模块设置成:显示所述接收模块接收到的通知消息。
本发明技术方案的技术效果:
本发明实施例的技术方案,同一局域网内的终端在判断本终端中的通知消息未被读取时,可以采集本终端的通知消息并发送给该局域网内的其他终端,使得处于亮屏状态的其他终端在接收到该通知消息之后可以将通知消息显示给用户,从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
附图概述
图1是本发明提供的终端间的通知消息提示方法的第一实施例的流程示意图;
图2是本发明提供的终端间的通知消息提示方法的第一实施例的交互示意图;
图3是本发明提供的终端间的通知消息提示方法的第二实施例的流程示意图;
图4是本发明提供的终端间的通知消息提示方法的第二实施例的交互示意图;
图5是本发明提供的终端间的通知消息提示方法的第三实施例的流程示意图;
图6是本发明提供的终端间的通知消息提示方法的第四实施例的流程示意图;
图7本发明提供的终端的第一实施例的结构示意图;
图8本发明提供的终端的第二实施例的结构示意图;
图9本发明提供的终端的第三实施例的结构示意图;
图10本发明提供的终端的第四实施例的结构示意图。
详述
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
在描述本发明的所有具体实施例之前,有以下几点需要做出说明,以下几点说明,适用于本发明的所有实施例。
第一,本发明提供的终端间的通知消息提示方法,应用于处于同一局域网内的终端之间。需要说明的是,处于同一局域网内的终端,在实现通知消息提示功能时,各个终端具有相同的功能,为了描述方便,用第一终端和第 二终端进行区别,即处于同一局域网内的终端例如可以包括第一终端和至少一个第二终端。该第二终端可以为同一局域网除第一终端以外的其他任一终端。换句话说,在本发明的所有实施例中,所说的第一终端和至少一个第二终端,均以其处于同一局域网内作为相互进行消息通知的前提条件。其中,第一终端和第二终端均可以包括:智能手机、PC、平板电脑或智能电视等。
第二,在具体实施例的描述过程中,会涉及到终端中的通知消息,该通知消息可以大致可以分为两大类,一类是是终端上安装的第三方应用软件产生的通知消息,如QQ消息,微信消息等;另一类则是终端上自身应用产生的通知消息,如来电、短信、提醒事项等。
第三,通知消息在传递过程中,可以采用UDP(User Datagram Protocol:用户数据报协议)格式,也可以采用TCP连接来传送,通知消息的数据段格式可以由用户自己定义。为保证安全性,可以对通知消息进行加密。
最后,在后文具体实施例描述中,会涉及UDP广播消息,该UDP广播消息的作用大致可以分为两类,一类是:询问终端能否显示通知消息,另一类是:询问局域网内是否存在处于同一局域网的其他终端。当UDP广播消息出现在同一实施例中但功能不同时,通过第一UDP广播消息和第二UDP广播消息来进行区分,并且可通过定义UDP广播消息中的数据段的方式来定义UDP广播消息的不同功能。
下面,将进行具体实施例的描述。
请参考图1,是本发明提供的终端间的通知消息提示方法的第一实施例的流程示意图,该终端间的通知消息提示方法,包括:
S101,第一终端判断本终端中的通知消息是否已被读取。
本步骤中,第一终端判断本终端中的通知消息是否已被读取的目的是为了确定是否进行通知消息的采集。具体地,第一终端可通过查询终端数据库的方式来判断终端中的通知消息是否被读取。若第一终端判断通知消息已经被读取,则表明此时第一终端能够及时将本终端产生的通知消息成功提示至用户,因此不需再执行采集步骤,直接结束流程。若第一终端判断通知消息未被读取,则表明此时第一终端不能及时将本终端产生的终端消息提示至用户,此时则需要执行步骤S102。其中,第一终端中的通知消息未被读取,可 能出现的场景是:第一终端不在用户身边;第一终端的屏幕处于黑屏状态,无法将通知消息显示给用户;第一终端的屏幕虽亮着但第一终端静音,用户不知道有通知消息。
S102,第一终端采集本终端的通知消息。
前文已经描述,第一终端中的通知消息可以分为两类,一类是终端上安装的第三方应用软件产生的通知消息,如QQ消息,微信消息等;另一类则是终端上自身应用产生的通知消息,如来电、短信、提醒事项等。对于第三方应用软件产生的通知消息,第一终端可通过读取终端通知栏上的通知的方式去采集;而对于终端上自身应用产生的通知消息,第一终端可通过读取终端数据库的方式去采集。
S103,第一终端发送该通知消息给第二终端,流程结束。
第一终端在将通知消息发送给第二终端时,可以将采集到的通知消息直接发送给第二终端,即此时第二终端接收到的通知消息包括消息内容;当然,第一终端也可以将采集到的通知消息作为一个通知消息事件发送给第二终端,而而不发送通知消息的消息内容。
第二终端在接收到第一终端发送的通知消息之后,可以根据第二终端的具体使用情况,来决定是否显示通知消息。具体地,当第二终端的屏幕处于亮屏状态时,此时第二终端则显示通知消息,具体地,当第二终端的屏幕处于黑屏状态时,此时第二终端则丢弃接收到的通知消息。
下面,通过图2,以局域网内有三个终端,即第一终端具体为终端1,两个第二终端分别为终端2和终端3为例,来描述步骤S101至S103的交互过程。
如图2所示,S201中首先终端1在判断本终端中的通知消息未被读取时,则采集到本终端的通知消息,接着进入S202,终端1将通知消息发送出去,终端2和终端3接收到通知消息,S203中终端2判断本终端的屏幕处于亮屏状态,于是将从终端1接收到的通知消息显示出来,S204中终端3判断本终端的屏幕处于黑屏状态,于是丢弃从终端1接收到的通知消息,不将通知消息在本终端显示出来。
借助于本实施例的技术方案,同一局域网内终端在判断本终端中的通知消息未被读取时,可以采集到本终端的通知消息并发送给该局域网内的其他终端,使得处于亮屏状态的其他终端在接收到该通知消息之后可以将该通知消息显示给用户,从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
请参照图3,是本发明提供的终端间的通知消息提示方法的第二实施例的流程示意图,该终端间的通知消息提示方法,包括:
S301,第一终端判断本终端的通知消息是否已被读取。
本步骤中,若已被读取,则直接结束流程,若未被读取,则进入S302至S305,执行S305之后,然后结束流程。
S302,第一终端采集本终端的通知消息。
其中,S301至S302的操作与S101至S102的操作相同,在此不再赘述。
S303,第一终端发送第一UDP广播消息给第二终端,以询问第二终端能否显示该通知消息。
S304,当第一终端接收到第二终端能显示通知消息的回复之后,发送通知消息给第二终端。
S305,当第一终端接收到第二终端不能显示通知消息的回复之后,不发送通知消息给第二终端。
S303至S305中,第一终端在将采集到的通知消息发送给局域网内的其他终端之前,还发送第一UDP广播消息,接收到广播消息的其他终端通过响应广播消息来告知对方自己是否能显示通知消息,若第一终端接收到第二终端能显示通知消息的回复之后,则将通知消息发送给第二终端。若第一终端接收到第二终端不能显示通知消息的回复之后,则不将通知消息发送给第二终端。即是说,在本实施例中,第一终端仅将通知消息发送给能显示该通知消息的第二终端。
下面,通过图4,以局域网内有三个终端,即第一终端具体为终端1,两个第二终端分别为终端2和终端3为例,来描述步骤S301至S305的交互过程。
如图4所示,S401中首先终端1在判断本终端中的通知消息未被读取时,则采集到本终端的通知消息,然后通过S402,终端1发送第一UDP广播消息询问是否有终端可以显示通知消息;处于同一局域网内的终端2和终端3分别进行回复。具体地,在S403中终端2回复可以显示通知消息,在S404中终端3回复不能显示通知消息;终端1在接收到终端2和终端3的回复之后,通过S405将通知消息传输给终端2,由于终端3回复不能显示通知消息,因此终端1不再将通知消息传输给终端3。最后,在S406中,接收到通知消息的终端2将通知消息显示出来。
需要说明的是,第一终端还包括用来存储至少一个第二终端的信息的终端列表。因此,可以理解的是,在上述图1所示的实施例以及图3所示的实施例中,在第一终端判断本终端中的通知消息是否被读取之前,还可以包括如下步骤:
第一终端发送第二用户数据报协议广播消息,以询问局域网内是否存在处于同一局域网的至少一个第二终端;若第一终端接收到终端返回的符合预设格式的反馈消息时,则认为该返回消息的终端为符合要求的第二终端。于是,第一终端便将该第二终端添加至终端列表中,以维护局域网内的终端列表。即是说,同一局域网内的终端在通过有线或无线的方式连接到家庭路由器上,成为家庭局域网内的终端之后,局域网内的终端还可以通过第二UDP广播消息相互发现,无需路由,无需互联网的支持,从而能够维护局域网内的终端列表的更新状态。
请参考图5,是本发明提供的终端间的通知消息提示方法的第三实施例的流程示意图,该实施例与图1所示的实施例对应,即图1实施例中描述的是终端发送通知消息的过程,而本实施例描述的是终端接收通知消息的过程。具体地,该方法包括:
S501,第一终端接收第二终端发来的通知消息。
S502,第一终端判断本终端的屏幕是否黑屏。
在本步骤中,若判断结果为否,即第一终端的屏幕处于点亮状态,即执行S503。若判断结果是,即第一终端的屏幕处于黑屏状态,则执行S504,然后结束流程。其中,第一终端的屏幕处于黑屏状态,可能出现的场景是: 第一终端未开机或未启动;或,第一终端已开机或已启动但未点亮屏幕。当第一终端的屏幕处于黑屏状态时,第一终端由于不能显示通知消息,因此需要执行S504。
S503,第一终端显示接收到的通知消息。
S504,第一终端丢弃接收到的通知消息。
需要说明的是,在执行S503之后,该方法还可以包括:
S505,第一终端发送已读取该通知消息的回复消息给第二终端。
在前文已经描述,发送的通知消息可能是包括消息内容的通知消息,也可能是一个通知消息事件,那么对应地接收到的通知消息可能是包括消息内容的通知消息,也可能是一个通知消息事件。当接收到的通知消息时包括消息内容的通知消息且第一终端将通知消息显示出来并被读取后,那么第一终端还可以将“已读取”的事件返回给采集到这条通知消息的第二终端。
借助于本发明实施例的技术方案,同一局域网内的终端可以接收其他终端发来的通知消息,并在判断到该终端的屏幕处于亮屏状态时将其接收到的其他终端发来的通知消息显示给用户,从而实现同一局域网内多终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
需要说明的是,本发明方法的第一实施例(即图1所示的实施例)、第二实施例(即图3所示的实施例)中的第一终端和本实施例中的第一终端可以为不同的终端,也可以为相同的终端。当为相同的终端的时候,该第一终端具有同时上述几种实施例叠加后的功能,即该第一终端具有采集并发送通知消息,以及接收并显示通知消息的功能。
请参考图6,是本发明提供的终端间的通知消息提示方法的第四实施例的流程示意图,该实施例与图3所示的实施例对应,即图3实施例中描述的是终端发送通知消息的过程,而本实施例描述的是终端接收通知消息的过程。具体地,该方法包括:
S601,第一终端接收第二终端发来的数据报协议广播消息,以询问第一终端能否显示通知消息;
S602,第一终端判断本终端的屏幕是否黑屏;
S602的操作与S502的操作相同,在此不再重复赘述。
在本步骤中,若判断结果为否,即第一终端的屏幕处于亮屏状态,即执行S603至S605。若判断结果为否,即第一终端未使用即执行S606,然后结束流程。
S603,第一终端发送能显示通知消息的回复给第二终端。
S604,第一终端接收第二终端发来的通知消息。
S605,第一终端显示第二终端发来的通知消息。
S606,第一终端发送不能显示通知消息的回复给第二终端。
在S605中,由于第二终端接收到第一终端不能显示通知消息的回复之后,第二终端则不会将自己采集到的通知消息发送给第一终端,因此在执行S605之后,流程直接终止。
可以理解的是,在执行S605之后,该方法还可以包括:
S607,第一终端发送已读取该通知消息的回复消息给第二终端。
在前文已经描述,发送的通知消息可能是包括消息内容的通知消息,也可能是一个通知消息事件,那么对应地接收到的通知消息可能是包括消息内容的通知消息,也可能是一个通知消息事件。当接收到的通知消息时包括消息内容的通知消息且第一终端将通知消息显示出来并被读取后,那么第一终端还可以将“已读取”的事件返回给采集到这条通知消息的第二终端。
需要说明的是,本发明方法的第一实施例(即图1所示的实施例)、第二实施例中(即图3所示的实施例)的第一终端和本实施例中的第一终端可以为不同的终端,也可以为相同的终端。当为相同的终端的时候,该第一终端具有同时上述几种实施例叠加后的功能,即该第一终端具有采集并发送通知消息,以及接收并显示通知消息的功能。
依据上述图1至图6描述的终端间的通知消息提示方法,相应地提出了该方法对应的终端。下面,将通过图7-图10,对该方法对应的终端进行具体描述。关于一些术语的定义与解释,在方法实施例中已经有描述的,为描述简洁,在下面的终端实施例中不再重复描述。
如图7所示,为图1所示的方法实施例对应的终端7的第一实施例的结 构示意图,该终端7用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示。具体地,该终端7包括:
判断模块71,设置成:判断本终端中的通知消息是否已被读取;
采集模块72,设置成:在判断模块71的判断结果为否时,即终端7中的通知消息未被读取时,采集终端7产生的通知消息;以及,
发送模块73,设置成:将采集模块72采集到的通知消息发送给第二终端。
可以理解的是,第二终端在接收到终端7发送的通知消息之后,可以根据第二终端的具体使用情况,来决定是否显示通知消息。具体地,当第二终端的屏幕处于亮屏状态时,此时第二终端则显示通知消息,具体地,当第二终端的屏幕处于黑屏状态时,此时第二终端则丢弃接收到的通知消息。
借助于本实施例的第一终端,同一局域网内的终端在判断本终端中的通知消息未被读取时,可以采集本终端的通知消息并发送给该局域网内的其他终端,使得处于亮屏状态的其他终端在接收到该通知消息之后可以将通知消息显示给用户,从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
如图8所示,为图3所示的方法实施例对应的终端7的第二实施例的结构示意图,该终端7用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示。具体地,该终端7包括与图7实施例中相同的判断模块71、采集模块72、发送模块73。与图7实施例不同的是:
发送模块73在发送通知消息给第二终端之前,还发送第一UDP广播消息给第二终端,以询问第二终端能否显示该通知消息;而终端7还包括:
接收模块74,设置成:接收第二终端能否显示通知消息的回复;
发送模块73,具体设置成:在接收模块74接收到第二终端能显示通知消息的回复之后,才执行发送通知消息给所述第二终端的操作。
由上可知,本实施例的终端7在将采集到的通知消息发送给局域网内的其他终端之前,还发送第一UDP广播消息,以询问局域网内的其他终端是否能显示通知消息,若第一终端接收到第二终端能显示通知消息的回复之后, 则再将通知消息发送给第二终端。若第一终终端接收到第二终端不能显示通知消息的回复之后,则不将通知消息发送给第二终端。即是说,在本实施例中,第一终端仅将通知消息发送给能显示该通知消息的第二终端。
需要说明的是,终端7包括终端列表,用于存储至少一个第二终端的信息。相应地,在上述图7所示的实施例以及图8所示的实施例中,发送模块73,还设置成:在判断模块71判断本终端中的通知消息是否已被读取之前,发送第二用户数据报协议广播消息,以询问局域网内是否存在处于同一局域网的至少一个第二终端。接收模块74,则设置成:接收第二终端返回的符合预设格式的反馈消息。
终端7还可以包括:终端列表维护模块75,设置成:在接收模块74接收到第二终端返回的符合预设格式的反馈消息时,将第二终端添加至终端列表中,以维护局域网内的终端列表。即是说,同一局域网内的终端在通过有线或无线的方式连接到家庭路由器上,成为家庭局域网内的终端之后,局域网内的终端还可以通过第二UDP广播消息相互发现,无需路由,无需互联网的支持,从而能够维护局域网内的终端列表的更新状态。
如图9所示,为图5所示的方法实施例对应的终端9的结构示意图,该终端9用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示。具体地,该终端9包括:接收模块91,判断模块92,显示模块93。
其中,接收模块91,设置成:接收第二终端发来的通知消息;
判断模块92,设置成:在接收模块91接收到该通知消息之后,判断本终端的屏幕是否黑屏;
显示模块93,设置成:在判断模块92的判断结果为否时显示通知消息,以及在判断模块93的判断结果为是时丢弃该通知消息。
可以理解的是,若接收到的通知消息为包括消息内容的通知消息,那么当显示模块93将该通知消息显示出来之后,那么终端还可以将“已读取”的回复消息返回给采集到这条通知消息的第二终端。
借助于本实施例的技术方案,同一局域网内的终端可以接收其他终端发 来的通知消息,并在判断到该终端的屏幕处于亮屏状态时将其接收到的其他终端发来的通知消息显示给用户,从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
需要说明的是,本发明装置的第一实施例(即图7所示的实施例)、第二实施例(即图8所示的实施例)中的终端7和本实施例中的终端9可以为不同的终端,也可以为相同的终端。当为相同的终端的时候,该终端具有同时上述几种实施例叠加后的功能,即该终端具有采集并发送通知消息,以及接收并显示通知消息的功能。此时,各个实施例中功能类似相同或类似的模块的功能可以集成在一个模块中,也可以分离。
如图10所示,为图6所示的方法实施例对应的终端10的结构示意图,该终端10用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示。具体地,该终端10包括:接收模块101,判断模块102,发送模块103,显示模块104。
其中,接收模块101,设置成:接收第二终端发来的数据报协议广播消息;该数据报协议广播消息用以询问终端10能否显示该通知消息;
判断模块102,设置成:在接收模块101接收到数据报协议广播消息之后,判断本终端的屏幕是否黑屏;
发送模块103,设置成:在判断模块102的判断结果为否时,发送能显示通知消息的回复给第二终端;以及在判断模块102的判断结果为是时,发送不能显示通知消息的回复给第二终端;
接收模块101,还设置成:在发送模块103发送能显示通知消息的回复给第二终端之后,接收第二终端发来的通知消息;
显示模块104,设置成:显示接收模块101接收到的通知消息。
可以理解的是,若接收到的通知消息为包括消息内容的通知消息,那么当显示模块104将该通知消息显示出来之后,那么终端10还可以将“已读取”的回复消息返回给采集到这条始通知消息的第二终端。
借助于本实施例的技术方案,同一局域网内屏幕处于点亮状态的终端可以接收其他终端发来的通知消息,并将其接收到的通知消息发显示给用户, 从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。
需要说明的是,本发明装置的第一实施例(即图7所示的实施例)、第二实施例(即图8所示的实施例)中的第一终端7和本实施例中的终端10可以为不同的终端,也可以为相同的终端。当为相同的终端的时候,该终端具有同时上述几种实施例叠加后的功能,即该终端具有采集并发送通知消息,以及接收并显示通知消息的功能。此时,各个实施例中功能类似相同或类似的模块的功能可以集成在一个模块中,也可以分离。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的通知消息提示方法。
本发明实施例还公开了一种载有所述的计算机程序的载体。
在阅读并理解了附图和详细描述后,可以明白其他方面。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来 实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。
工业实用性
本发明实施例的技术方案,同一局域网内的终端在判断本终端中的通知消息未被读取时,可以采集本终端的通知消息并发送给该局域网内的其他终端,使得处于亮屏状态的其他终端在接收到该通知消息之后可以将通知消息显示给用户,从而实现同一局域网内终端之间通知消息的相互同步,以尽可能地保证用户不会错过通知消息。因此本发明具有很强的工业实用性。

Claims (12)

  1. 一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
    所述第一终端判断所述第一终端中的通知消息是否已被读取;
    若未被读取,则所述第一终端将所述通知消息发送至所述第二终端。
  2. 如权利要求1所述的终端间的通知消息提示方法,其中,在所述第一终端判断所述第一终端中的通知消息是否已被读取的步骤之后,所述第一终端将所述通知消息发送至所述第二终端的步骤之前,所述方法还包括:
    所述第一终端发送第一用户数据报协议广播消息给所述第二终端,以询问所述第二终端能否显示所述通知消息;
    当所述第一终端接收到来自所述第二终端的能够显示所述通知消息的回复之后,所述第一终端执行将所述通知消息发送给所述第二终端的步骤。
  3. 如权利要求2所述的终端间的通知消息提示方法,其中
    所述第一终端包括终端列表,用于存储至少一个所述第二终端的信息;
    在所述第一终端判断所述第一终端中的通知消息是否已被读取的步骤之前,所述方法还包括:
    所述第一终端发送第二用户数据报协议广播消息,以询问所述局域网内是否存在处于同一局域网的至少一个所述第二终端;
    当所述第一终端接收到所述第二终端返回的反馈消息时,将所述第二终端添加至所述终端列表中。
  4. 一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
    所述第一终端接收所述第二终端发来的通知消息;
    所述第一终端判断本终端的屏幕是否黑屏;
    若判断结果为是,则所述第一终端丢弃接收到的所述通知消息;
    若判断结果为否,则所述第一终端显示接收到的所述通知消息。
  5. 如权利要求4所述的终端间的通知消息提示方法,其中,若所述通知 消息为包括消息内容的通知消息,在所述第一终端显示所述通知消息的步骤之后,所述方法还包括:
    所述第一终端发送表示已读取的回复消息给所述第二终端。
  6. 一种终端间的通知消息提示方法,应用于第一终端,所述第一终端与至少一个第二终端处于同一局域网,所述方法包括:
    所述第一终端接收所述第二终端发来的数据报协议广播消息;所述数据报协议广播消息用以询问所述第一终端能否显示通知消息;
    所述第一终端判断本终端的屏幕是否黑屏;
    若判断结果为否,则所述第一终端发送能显示所述通知消息的回复给所述第二终端,以及接收并显示所述第二终端发来的通知消息;
    若判断结果为是,则所述第一终端发送不能显示所述通知消息的回复给所述第二终端。
  7. 如权利要求6所述的终端间的通知消息提示方法,其中,若所述通知消息为包括消息内容的通知消息,所述第一终端在显示所述通知消息的步骤之后,所述方法还包括:
    所述第一终端发送表示已读取的回复消息给所述第二终端。
  8. 一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括判断模块和发送模块,其中
    所述判断模块设置成:判断所述第一终端中的通知消息是否已被读取;以及
    所述发送模块设置成:当所述判断模块确定所述第一终端中的通知消息没有被读取时,将所述通知消息发送给第二终端。
  9. 如权利要求8所述的终端,其中,
    所述发送模块还设置成:在所述判断模块判断所述第一终端中的通知消息是否已被读取之后,发送所述通知消息给第二终端之前,发送第一用户数据报协议广播消息给所述第二终端,以询问所述第二终端能否显示所述通知消息;
    所述终端还包括接收模块,其中
    所述接收模块设置成:接收所述第二终端能否显示所述通知消息的回复;
    所述发送模块设置成按照如下方式将所述通知消息发送给第二终端:在所述接收模块接收到来自所述第二终端的能显示所述通知消息的回复之后,执行发送所述通知消息给所述第二终端的操作。
  10. 如权利要求9所述的终端,其中,
    所述终端包括终端列表,用于存储至少一个所述第二终端的信息;
    所述发送模块还设置成:在所述判断模块判断所述第一终端中的通知消息是否已被读取之前,发送第二用户数据报协议广播消息,以询问所述局域网内是否存在处于同一局域网的至少一个所述第二终端;
    所述接收模块还设置成:接收所述第二终端返回的反馈消息;
    所述终端还包括终端列表维护模块,其中
    所述终端列表维护模块设置成:在所述接收模块接收到所述第二终端返回的反馈消息时,将所述第二终端添加至所述终端列表中。
  11. 一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括接收模块、判断模块和显示模块,其中
    所述接收模块设置成:接收所述第二终端发来的通知消息;
    所述判断模块设置成:在所述接收模块接收到所述通知消息之后,判断所述第一终端的屏幕是否黑屏;
    所述显示模块设置成:在所述判断模块的判断结果为是时丢弃所述通知消息,以及在所述判断模块的判断结果为否时显示所述通知消息。
  12. 一种终端,用于作为第一终端与处于同一局域网的至少一个第二终端之间实现通知消息的提示,所述终端包括接收模块、判断模块和发送模块和显示模块,其中
    所述接收模块设置成:接收所述第二终端发来的数据报协议广播消息;所述数据报协议广播消息用以询问所述第一终端能否显示通知消息;
    所述判断模块设置成:在所述接收模块接收到所述数据报协议广播消息之后,判断所述第一终端的屏幕是否黑屏;
    所述发送模块设置成:在所述判断模块的判断结果为否时,发送能显示通知消息的回复给所述第二终端;以及在所述判断模块的判断结果为是时,发送不能显示通知消息的回复给所述第二终端;
    所述接收模块还设置成:在所述发送模块发送能显示通知消息的回复给所述第二终端之后,接收所述第二终端发来的通知消息;以及,
    所述显示模块设置成:显示所述接收模块接收到的通知消息。
PCT/CN2017/074436 2016-05-18 2017-02-22 终端间的通知消息提示方法及终端 WO2017197944A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610329912.2 2016-05-18
CN201610329912.2A CN107404425A (zh) 2016-05-18 2016-05-18 终端间的通知消息提示方法及终端

Publications (1)

Publication Number Publication Date
WO2017197944A1 true WO2017197944A1 (zh) 2017-11-23

Family

ID=60324824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074436 WO2017197944A1 (zh) 2016-05-18 2017-02-22 终端间的通知消息提示方法及终端

Country Status (2)

Country Link
CN (1) CN107404425A (zh)
WO (1) WO2017197944A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257486A (zh) * 2018-07-26 2019-01-22 上海与德科技有限公司 终端信息显示系统、终端信息显示方法以及终端
CN116684517A (zh) * 2022-09-29 2023-09-01 荣耀终端有限公司 发送响应消息的方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300174A (zh) * 2011-09-20 2011-12-28 Tcl集团股份有限公司 一种手机服务信息显示方法及系统
CN104219236A (zh) * 2014-08-29 2014-12-17 四川长虹电器股份有限公司 智能电视机手机来电提醒方法
CN105357368A (zh) * 2015-09-30 2016-02-24 小米科技有限责任公司 提醒方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300174A (zh) * 2011-09-20 2011-12-28 Tcl集团股份有限公司 一种手机服务信息显示方法及系统
CN104219236A (zh) * 2014-08-29 2014-12-17 四川长虹电器股份有限公司 智能电视机手机来电提醒方法
CN105357368A (zh) * 2015-09-30 2016-02-24 小米科技有限责任公司 提醒方法及装置

Also Published As

Publication number Publication date
CN107404425A (zh) 2017-11-28

Similar Documents

Publication Publication Date Title
US10110548B2 (en) Delivery and management of status notifications for multiple message formats
KR101576588B1 (ko) 통신 통지 및 핸들링을 위한 시스템들 및 방법들
US20140136633A1 (en) Apparatus and method for sharing time-sensitive data between devices with intermittent connectivity
WO2017107470A1 (zh) 建立无线连接的方法及装置
US20130132573A1 (en) Delivery Of A Communication Event
US10219242B2 (en) System and method for delivering notifications
WO2016154122A1 (en) System and method for providing an informative message when rejecting an incoming call
CN106210049B (zh) 一种基于消息队列的集群通信方法及系统
WO2015188440A1 (zh) 资源订阅处理方法及装置
US10104524B2 (en) Communications via a receiving device network
US20090197569A1 (en) System and method for enhancing security for a mobile electronic device operated by a child
US20160157206A1 (en) Information notification method and instant notification device
WO2017197944A1 (zh) 终端间的通知消息提示方法及终端
US9326112B2 (en) Sending user device status information
CN108476385B (zh) 用于接收和发送系统消息的方法、装置、用户设备及基站
WO2016168217A1 (en) Managing communication events
US10063648B2 (en) Relaying mobile communications
CN113329127A (zh) 通话处理方法、通话处理装置、电子设备及介质
US9930101B2 (en) Receiving a communication event
WO2016177222A1 (zh) 一种漏话提醒方法及装置
US11968322B2 (en) Methods and apparatuses of call implementation
EP2597826B1 (en) Delivery of a communication event
JP2017528799A (ja) メッセージングサービスのエクスポート
CN103119892B (zh) 在通用型即插即用使能的电话装置和广域网装置之间进行会议消息传递的系统和方法
WO2017000453A1 (zh) 管理联系人的号码的方法和装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17798511

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17798511

Country of ref document: EP

Kind code of ref document: A1