Disclosure of Invention
In view of the above, the present invention has been made to provide a remote notification method and apparatus that overcomes or at least partially solves the above problems. To ensure that the target users receive the notification messages at the same time.
The invention provides a remote notification method, which is used for a terminal and comprises the following steps:
the method comprises the steps that a home terminal target application receives a signaling sent by a cloud server, wherein the signaling comprises a notification message and reminding time of the notification message;
setting the reminding time of the notification message at the local terminal according to the signaling;
and outputting the notification message when the reminding time is up.
In one embodiment of the present invention,
and the reminding time of the notification message is determined according to the time consumed by the cloud server to send the signaling to the target terminals and the network delay of the signaling to the target terminals.
In one embodiment, while outputting the notification message, the method may further include:
issuing a reminder to a user according to the following: ringing, vibration, flashing of indicator lights, or a combination thereof.
In one embodiment, the notification message comprises any one or more of: text, video, picture.
The invention also provides a remote notification device, which is used for a terminal and comprises:
the receiving module is used for receiving a signaling sent by a cloud server by a local end target application, wherein the signaling comprises a notification message and the reminding time of the notification message;
the setting module is used for setting the reminding time of the notification message at the local terminal according to the signaling;
and the output module is used for outputting the notification message when the reminding time is up.
In one embodiment of the present invention,
and the reminding time of the notification message is determined according to the time consumed by the cloud server to send the signaling to the target terminals and the network delay of the signaling to the target terminals.
In one embodiment, while outputting the notification message, the apparatus may further include:
issuing a reminder to a user according to the following: ringing, vibration, flashing of indicator lights, or a combination thereof.
In one embodiment, the notification message comprises any one or more of: text, video, picture.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme, the signaling sent by the cloud server is received through the local end target application, the signaling comprises the notification message and the reminding time of the notification message, the reminding time of the notification message is set at the local end according to the signaling, and when the reminding time is up, the notification message is output. The time consumption for issuing the timing signaling and the time delay caused by the network condition of the terminal can be solved by issuing the signaling in advance for a period of time, and the problem of reminding a large number of users due to the fact that the signaling is triggered at the terminal does not have the problem of concurrency and time consumption, so that a large number of target users can be simultaneously notified at the same time.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart illustrating a remote notification method according to an embodiment of the present invention, and as shown in fig. 1, the remote notification method includes the following steps S11-S13:
step S11, the home terminal target application receives a signaling sent by the cloud server, where the signaling includes a notification message and a time for reminding the notification message.
And step S12, setting the reminding time of the notification message at the local terminal according to the signaling.
In step S13, when the reminder time arrives, a notification message is output.
The invention adopts the cloud server to remotely issue the timing signaling to the specific application program installed on the terminals such as the mobile phone and the like, and the terminal application program sets the time for notifying the reminding. And remotely issuing a timing signaling to a target application installed on the mobile phone terminal on the cloud server, wherein the target application executes the signaling and sets a terminal timing notification reminding function.
The method of the embodiment of the invention receives the signaling sent by the cloud server through the target application of the local terminal, the signaling comprises the notification message and the reminding time of the notification message, the reminding time of the notification message is set at the local terminal according to the signaling, and when the reminding time is up, the notification message is output. The time consumption for issuing the timing signaling and the time delay caused by the network condition of the terminal can be solved by issuing the signaling in advance for a period of time, and the problem of reminding a large number of users due to the fact that the signaling is triggered at the terminal does not have the problem of concurrency and time consumption, so that a large number of target users can be simultaneously notified at the same time.
In one embodiment, the reminding time of the notification message is determined according to the time consumed by the cloud server to send the signaling to the plurality of target terminals and the network delay of the signaling to the plurality of target terminals.
As shown in fig. 2, fig. 2 is a schematic flowchart of signaling transmission.
Specifically, when the server side issues the signaling, the signaling needs to be issued within a time tt 1-ttn for multiple users, the signaling is received by the terminal application program at the time of rt1, rt2, … and rtn through the network, and the signaling is notified to the user at the time of nt.
And (3) calculating the time consumed by signaling issuing of the server: the time consumed by delta T is ttn-tt 1;
the time delay range is as follows: tmin delay to Tmax delay,
the calculation method comprises the following steps: tmin delay is [ rti-tti ] min, Tmax delay is [ rti-tti ] max, and the value of i ranges from 0 to n;
minimum timing advance: the delta Tmin advance is delta T time consumption plus Tmax delay;
therefore, the time of the latest signaling transmission: the Tlast issue is nt-delta Tmin advance, so the signaling is started to issue before the Tlast issue time by adopting the method of the invention, and the target user can be simultaneously notified and reminded at the nt time.
In one embodiment, while outputting the notification message, the remote notification method may further include:
issuing a reminder to a user according to the following: ringing, vibration, flashing of indicator lights, or a combination thereof.
In this embodiment, while outputting the notification message, the notification message may be further sent to the user by: the user is reminded in the mode of ringing, vibration, pilot lamp scintillation or its combination to the more effective user of reminding.
In one embodiment, the notification message comprises any one or more of: text, video, picture.
In this embodiment, the notification message may be in any one or more forms of text, video, picture, and the like. The notification message may also include a title and specific content.
Based on the same inventive concept, the embodiment of the present invention further provides a remote notification apparatus, and as the principle of the problem solved by the apparatus is similar to that of the remote notification method, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Fig. 3 is a block diagram of a remote notification apparatus according to an embodiment of the present invention, and as shown in fig. 3, the remote notification apparatus includes:
a receivingmodule 31, configured to receive, by a target application at a home terminal, a signaling sent by a cloud server, where the signaling includes a notification message and a reminding time of the notification message;
asetting module 32, configured to set a reminding time of the notification message at the local end according to the signaling;
and anoutput module 33, configured to output a notification message when the reminder time arrives.
The invention adopts the cloud server to remotely issue the timing signaling to the specific application program installed on the terminals such as the mobile phone and the like, and the terminal application program sets the time for notifying the reminding. And remotely issuing a timing signaling to a target application installed on the mobile phone terminal on the cloud server, wherein the target application executes the signaling and sets a terminal timing notification reminding function. By adopting the method of the invention, the developer can simultaneously notify and remind a large number of target users at the same time, and for the target users, the content of the notification and reminding information of the developer can also be simultaneously obtained. Other existing notification reminding technologies can only ensure that a user obtains the notification reminding information content of a developer within a period of time.
The device of the embodiment of the invention receives the signaling sent by the cloud server through the target application of the local terminal, the signaling comprises the notification message and the reminding time of the notification message, the reminding time of the notification message is set at the local terminal according to the signaling, and when the reminding time is up, the notification message is output. The time consumption for issuing the timing signaling and the time delay caused by the network condition of the terminal can be solved by issuing the signaling in advance for a period of time, and the problem of reminding a large number of users due to the fact that the signaling is triggered at the terminal does not have the problem of concurrency and time consumption, so that a large number of target users can be simultaneously notified at the same time.
In one embodiment, the reminding time of the notification message is determined according to the time consumed by the cloud server to send the signaling to the plurality of target terminals and the network delay of the signaling to the plurality of target terminals.
In one embodiment, while outputting the notification message, the apparatus may further include:
issuing a reminder to a user according to the following: ringing, vibration, flashing of indicator lights, or a combination thereof.
In this embodiment, while outputting the notification message, the notification message may be further sent to the user by: the user is reminded in the mode of ringing, vibration, pilot lamp scintillation or its combination to the more effective user of reminding.
In one embodiment, the notification message comprises any one or more of: text, video, picture.
In this embodiment, the notification message may be in any one or more forms of text, video, picture, and the like. The notification message may also include a title and specific content.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.