CN114710377A - Notification method, notification device, storage medium and computer program product - Google Patents

Notification method, notification device, storage medium and computer program product Download PDF

Info

Publication number
CN114710377A
CN114710377A CN202210345587.4A CN202210345587A CN114710377A CN 114710377 A CN114710377 A CN 114710377A CN 202210345587 A CN202210345587 A CN 202210345587A CN 114710377 A CN114710377 A CN 114710377A
Authority
CN
China
Prior art keywords
target notification
target
notification
preset range
notification object
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210345587.4A
Other languages
Chinese (zh)
Inventor
赵毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shell Time Network Technology Co ltd
Original Assignee
Beijing Shell Time Network Technology Co ltd
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 Beijing Shell Time Network Technology Co ltd filed Critical Beijing Shell Time Network Technology Co ltd
Priority to CN202210345587.4A priority Critical patent/CN114710377A/en
Publication of CN114710377A publication Critical patent/CN114710377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network

Abstract

The application provides a notification method, a notification device, a storage medium and a computer program product, wherein the method comprises the following steps: acquiring a target notification; determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range; if the target notification object is located in the preset range, pushing the target notification to the target notification object; wherein the preset range is as follows: the target notification object can acquire the range of the target notification. By adopting the notification method provided by the application, the situation that the user misses important notifications due to the fact that the user is not near the intelligent device when the intelligent device pushes the notification message to the user can be avoided.

Description

Notification method, notification device, storage medium and computer program product
Technical Field
The present application relates to the field of smart home, and in particular, to a notification method, apparatus, storage medium, and computer program product.
Background
After receiving the notification message sent by the server, the smart device represented by the mobile phone or the tablet can remind the user of a new notification message through notification modes such as sound, ring, status bar, banner and the like.
However, since the above notification manners are all instant notifications, that is, a notification is pushed to a user immediately after the smart device receives a notification message, and for a smart device installed at a fixed location, for example, a camera, a smart audio, and the like, the notification is pushed immediately after the smart device receives the notification message sent by the server, and if the user is not located near the smart device at this time, the user may not obtain the notification message pushed by the smart device, and further the user may miss an important notification message.
Disclosure of Invention
The application aims to provide a notification method, a notification device, a storage medium and a computer program product, which are used for solving the problem that a user may miss an important notification message due to the immediacy of pushing the notification by an intelligent device.
The application provides a notification method, which comprises the following steps: acquiring a target notification; determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range; if the target notification object is located in the preset range, pushing the target notification to the target notification object; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
Optionally, before the pushing the target notification to the target notification object, the method further includes: determining the urgency degree of the target notification according to the content of the target notification; determining a preset notification mode corresponding to the emergency degree of the target notification according to the emergency degree of the target notification; the pushing the target notification to the target notification object includes: and pushing the target notification to the target notification object according to the preset notification mode.
Optionally, the determining whether the target notification object is located within a preset range includes: judging whether the target notification object is located in a preset range or not according to the target information; wherein the target information comprises at least one of: and recording the interaction between the target notification object and target equipment, the moving image of the target notification object in the preset range, and the relative position information of the target notification object and the preset range.
Optionally, before the pushing the target notification to the target notification object, the method further includes: determining an activity rule of the target notification object according to the interaction record of the target notification object and the target device; and determining the disturbance-free time according to the activity rule.
Optionally, if the target notification object is located within the preset range, pushing the target notification to the target notification object includes: and if the target notification object is located in the preset range and the current time is the time outside the disturbance-free time, pushing the target notification to the target notification object.
Optionally, if the target notification object is located within the preset range, pushing the target notification to the target notification object includes: if the target notification object and the target device have an interactive behavior at the current moment, pushing the target notification to the target notification object after the interactive behavior of the target notification object and the target device is finished.
Optionally, after determining a target notification object according to the type and content of the target notification and determining whether the target notification object is located within a preset range, the method further includes: if the target notification object is located outside the preset range, the target notification is not pushed, and after the target notification object enters the preset range, the target notification is pushed to the target notification object.
The present application further provides a notification apparatus, comprising: the acquisition module is used for acquiring the target notification; the determining module is used for determining a target notification object according to the type and the content of the target notification and judging whether the target notification object is positioned in a preset range; the pushing module is used for pushing the target notification to the target notification object under the condition that the target notification object is located in the preset range; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
Optionally, the determining module is further configured to determine an urgency level of the target notification according to content of the target notification; the determining module is further configured to determine a preset notification mode corresponding to the emergency degree of the target notification according to the emergency degree of the target notification; the pushing module is specifically configured to push the target notification to the target notification object according to the preset notification manner.
Optionally, the determining module is specifically configured to determine whether the target notification object is located within a preset range according to target information; wherein the target information comprises at least one of: and recording the interaction between the target notification object and target equipment, the moving image of the target notification object in the preset range, and the relative position information of the target notification object and the preset range.
Optionally, the determining module is further configured to determine an activity rule of the target notification object according to an interaction record of the target notification object and a target device; the determining module is further configured to determine the disturbance-free time according to the activity rule.
Optionally, the pushing module is specifically configured to push the target notification to the target notification object if the target notification object is located within the preset range and the current time is a time other than the disturbance-free time.
Optionally, the pushing module is specifically configured to, if there is an interaction between the target notification object and the target device at the current time, push the target notification to the target notification object after the interaction between the target notification object and the target device is ended.
Optionally, the pushing module is specifically configured to not push the target notification if the target notification object is located outside the preset range, and push the target notification to the target notification object after the target notification object enters the preset range. The present application also provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the notification method as described in any of the above.
The present application further provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the notification method as described in any of the above when executing the program.
The present application also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the notification method as described in any of the above.
According to the notification method and the notification device, after the target notification is obtained, the target notification object is determined according to the type and the content of the target notification, and whether the target notification object is located in a preset range where the target notification object can obtain the target notification or not is judged. If the target notification object is located in the preset range, the target notification is pushed to the target notification object, and therefore the situation that important notifications are missed by a user due to the fact that the user is not near the intelligent device when the intelligent device pushes a notification message to the user is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the present application or prior art, the drawings used in the embodiments or the description of the prior art are briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is an effect diagram of pushing a notification by a smart home device provided by the present application;
FIG. 2 is a schematic flow chart diagram of a notification method provided herein;
FIG. 3 is a schematic diagram of a notification device provided herein;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the intelligent devices represented by mobile phones and tablets, after receiving the notification message sent by the server, the intelligent devices can remind the user of a new notification message through notification modes such as sound, ring, status bar, banner and the like. However, because the above notification modes are all instant notifications, in a multi-device smart home scene, many smart devices are not carried around, but are set in a certain corner of a house. For such a device, if the device receives the notification and immediately notifies the user, and if the user is not near the device, the user may not be able to obtain the reminder of the device in time. For example, as shown in fig. 1, the smart home system detects that the indoor air is turbid, and reminds the user to open a window for ventilation through the smart sound 12, and if the user is located near the smart sound at this time, the reminder can be obtained, and if the user is not located near the smart sound, the reminder cannot be obtained in time by the user.
In order to solve the above problem, in the technical solution provided in the embodiment of the present application, after receiving a notification message sent by a server, an intelligent device determines an object to be notified according to the type and content of the notification message, and determines whether the object is located in a range where the notification message can be acquired through a sensor or device interaction record, etc. And if the target notification object is located in the preset range, determining a notification mode according to the emergency degree of the notification message, and pushing the notification message to the object according to the determined notification mode. By adopting the notification method provided by the embodiment of the application, the logic of message pushing is optimized, and the condition that the user misses the notification message can be effectively avoided.
The following describes in detail a notification method provided by the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 2, a notification method provided in an embodiment of the present application may include the following steps 201 to 203:
step 201, obtaining a target notification.
It should be noted that an execution subject of the notification method provided by the embodiment of the present application may be any intelligent device in an intelligent home system.
For example, the target notification may be a notification message sent by a server, may also be a notification message that is received by other devices in the smart home system and is pushed by the smart device, and may also be a notification message that is generated after the smart device receives a message sent by other devices in the smart home system.
For example, taking the target notification as a notification message generated after the smart device receives a message sent by another device in the smart home system as an example, as shown in fig. 1, when the air quality sensor 11 detects that the indoor air quality index exceeds a preset threshold, the air quality sensor sends a message with an air quality exceeding the standard to the smart sound, and after receiving the message sent by the sensor 11, the smart sound 12 (i.e., the smart device) generates a corresponding notification content and pushes the notification content to the user.
Step 202, determining a target notification object according to the type and content of the target notification, and judging whether the target notification object is located in a preset range.
Wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
For example, to avoid invalid notifications, after acquiring the target notification, the smart device needs to determine a notification object of the target notification according to the type of the target notification and/or the content of the target notification. When the target notification object is determined to be located near the intelligent device, the target notification is pushed to the target notification object, so that the occurrence of invalid notification can be avoided, and the effectiveness of the notification is improved.
For example, after determining the notification object of the target notification, it may be determined whether the target notification is located within the preset range through a face recognition technology according to a camera. Whether the target notification object is located within the preset range or not can be determined through interaction records of the target notification object and equipment in the intelligent home system.
Step 203, if the target notification object is located within the preset range, pushing the target notification to the target notification object.
Illustratively, when it is determined that the target notification object is located within the preset range, the intelligent device pushes the target notification to the target notification object.
After the step 202, the notification method provided in the embodiment of the present application may further include the following step 204:
and 204, if the target notification object is located outside the preset range, not pushing the target notification, and after the target notification object enters the preset range, pushing the target notification to the target notification object.
For example, if the target notification object is not currently located within the preset range, it indicates that the target notification object cannot acquire the notification, and therefore, after the target notification is acquired, the message is not pushed, and after the target notification object enters the preset range, the message is pushed again, so that it is ensured that the target notification object can acquire the target notification.
In this way, after the target notification is acquired, the target notification object is determined according to the type and the content of the target notification, and whether the target notification object is located within a preset range in which the target notification object can acquire the target notification is judged. If the target notification object is located in the preset range, the target notification is pushed to the target notification object, and therefore the situation that important notifications are missed by a user due to the fact that the user is not near the intelligent device when the intelligent device pushes a notification message to the user is avoided.
Optionally, in this embodiment of the application, since the user may be interacting with the smart device that pushes the notification, when it is determined that the user is located within the preset range, if the target notification is pushed directly, the current interaction of the user may be affected, and therefore, before the target notification is pushed, the urgency level of the target notification needs to be determined first.
Before the step 203, the notification method provided in the embodiment of the present application may further include the following steps 202a1 and 202a 2:
step 202a1, according to the type and content of the target notice, determining the urgency of the target notice.
For example, after the target notification is acquired, the attention degree of the user to the target notification, that is, the urgency degree of the target notification, may be determined according to the type of the target notification and/or the content of the target notification.
Step 202a2, according to the urgency degree of the target notification, determining a preset notification mode corresponding to the urgency degree of the target notification.
Illustratively, after the urgency level of the target notification is determined, a notification mode corresponding to the urgency level of the target notification is determined according to a preset urgency level comparison table, and the target notification is pushed to the target notification object according to the notification mode.
For example, if the target notification is alarm information and the content of the target notification is that gas leakage is detected, the target notification is directly pushed to the user no matter what operation the user is currently performing. If the target notification is the windowing prompt shown in fig. 1 and the user is listening to music currently, the target notification may be pushed to the user after the currently played music is played. If the user presets that the user is reminded after a certain ball game starts, the intelligent device directly pushes the ball game start reminder to the user after the ball game starts.
Illustratively, the preset notification manner includes, but is not limited to, the following notification manners: and (4) not actively pushing, pushing after finishing the current interaction by a user, pushing silently, executing after the vocal request agrees, performing and informing audibly, and directly executing audibly.
For example, after determining the preset notification mode of the target notification, the step 203 may further include the following step 203 a:
step 203a, pushing the target notification to the target notification object according to the preset notification mode.
For example, after determining a preset notification mode of the target notification, the smart device may push the target notification to the target notification object according to the preset notification mode.
Therefore, after the notification message is obtained, the notification message can be pushed to the user in a proper notification mode according to the urgency degree of the notification, so that the interference to the user is avoided, and the user experience is improved.
Optionally, in this embodiment of the application, it may be determined whether the user is located within a preset range where the target notification can be acquired through a sensor or a device interaction record.
Illustratively, the step 202 may include the following steps 202 b:
step 202b, judging whether the target notification object is located in a preset range according to the target information.
Wherein the target information comprises at least one of: and recording the interaction between the target notification object and target equipment, the moving image of the target notification object in the preset range, and the relative position information of the target notification object and the preset range.
It should be noted that the interaction record may be an interaction record of the target notification object and the push target notification, or an interaction record of the target notification object and another device.
A method of determining whether or not the above determination target notification is located within the above preset range will be described below by way of example 1, example 2, and example 3.
Example 1:
in example 1, it may be determined whether the target notification object is located within the preset range through an interaction record of the target notification object and a device in the smart home system.
When the intelligent device obtains the message for reminding the user A to take the medicine on time, the interaction records of the user A and other devices in the intelligent home system can be detected to determine whether the user A is located in the preset range. For example, if it is detected that the mobile phone used by the user a is browsing a web page, it may be determined that the user a is currently located within the preset range, and the target notification may be pushed.
Example 2:
in example 2, a moving image of the target notification object in the preset range may be obtained, and whether the target notification is located in the preset range is determined through a face recognition technology according to a camera.
When the intelligent device obtains a message for reminding the user A to take medicine on time, image recognition is carried out on an image shot by a camera in the intelligent home system, and if the user A is recognized to be located in a notification range of the intelligent device, the message is pushed to the user A; if the user a is not identified by the image identification, the message is not pushed. The situation that the message pushing is invalid due to the fact that the target notification is pushed to the user irrelevant to the target notification is avoided.
Example 3:
in example 3, the relative position information of the target notification object and the preset range may be obtained through a sensor, and it is further determined whether the user is located within the preset range.
The intelligent home system where the intelligent device is located can be provided with a sensor, after the intelligent device obtains the target notification, the position of the user can be determined according to a distance sensor arranged nearby, and when the user is determined to be located within the preset range, the target notification is pushed to the user.
It should be noted that, for convenience of understanding, the above examples 1, 2 and 3 are used for explanation, and it is not limited that the embodiment of the present application determines whether the target notification object is within the preset range in which the target notification can be acquired only by the methods in the above examples 1, 2 and 3.
Therefore, various schemes for determining whether the user is located in the preset range where the target notification can be obtained can be adopted, so that the method can be suitable for various different intelligent home systems, and the adaptability of the notification method of the embodiment of the application is improved.
Further optionally, in this embodiment of the application, the user may manually set the disturbance-free time, or may automatically set the disturbance-free time according to an activity rule of the user, so as to avoid that the notification message interferes with the user and affects the rest of the user.
Before the step 203, the notification method provided in the embodiment of the present application may further include the following steps 202c1 and 202c 2:
step 202c1, determining the activity rule of the target notification object according to the interaction record of the target notification object and the target device.
Illustratively, the target device may be a device that pushes the target notification, or may be another device, such as a mobile phone of the user.
Exemplarily, taking the target device as a mobile phone of the user as an example, the smart home system may obtain an interaction record of the user and the mobile phone, determine a time for the user to use the mobile phone, and further determine a rest time of the user. For example, if the user has not used a cell phone after 23 o 'clock each day until 7 am the next day, the user's rest time may be determined to be 23 o 'clock to 7 o' clock the next day.
And step 202c2, determining the disturbance-free time according to the activity rule.
Illustratively, after determining the activity rule of the target notification object, according to the activity rule, determining a do-not-disturb time within which the target device does not notify the user target.
It is understood that, during the disturbance-free time, it may also be determined whether to push the target notification to the target notification object according to the urgency of the target notification. For example, a preset type of target notification may still be pushed to the user during the do-not-disturb time.
So, according to user's interactive record, the automatic generation sets up and avoids disturbing time, avoids influencing user's rest, promotes user's use and experiences.
Further optionally, in this embodiment of the application, after the disturbance-free time is determined and set, the target notification may be pushed to the user in the following notification manner.
Illustratively, the step 203 may include the following step 203 b:
step 203b, if the target notification object is located in the preset range and the current time is a time other than the disturbance-free time, pushing the target notification to the target notification object.
Illustratively, if within the do-not-disturb time, the target notification is not pushed to the target notification object, and after the do-not-disturb time ends, the target notification is left to be pushed to the target notification object.
For example, if the target notification object is currently interacting with the target device, e.g., making a phone call, etc., the attention of the target notification object is focused on the current interaction, and the target notification object may ignore the notification content even if the notification is made. Therefore, when the target notification object interacts with the target device, the notification is not performed first, and the notification is performed after the interaction between the target notification object and the target device is finished, so that the target notification object can acquire the notification content.
Illustratively, the step 203 may include the following steps 203 c:
step 203c, if there is an interaction between the target notification object and the target device at the current time, after the interaction between the target notification object and the target device is finished, pushing the target notification to the target notification object. Therefore, by adopting the notification mode, the influence on the rest of the user is avoided when the user has a rest, and the notification message can be pushed to the user at the first time after the rest of the user is finished, so that important notifications are prevented from being omitted.
According to the notification method provided by the application, after the target notification is received, the target notification object to be notified is determined according to the type and the content of the target notification, and whether the target notification object is located in the range where the target notification can be acquired is judged through a sensor or equipment interaction record and the like. And if the target notification object is located in the preset range, determining a preset notification mode corresponding to the target notification according to the emergency degree of the target notification, and pushing the target notification to the target notification object according to the preset notification mode. By adopting the notification method provided by the embodiment of the application, the logic of message pushing is optimized, and the condition that the user misses the notification message can be effectively avoided.
In the notification method provided in the embodiment of the present application, the execution main body may be a notification device, or a control module in the notification device for executing the notification method. In the embodiment of the present application, a notification device executing a notification method is taken as an example, and the notification device provided in the embodiment of the present application is described.
In the embodiments of the present application, the above-described methods are illustrated in the drawings. The notification method is exemplarily described with reference to one of the drawings in the embodiments of the present application. In specific implementation, the notification method shown in each method drawing may also be implemented by combining any other drawing that may be combined, which is illustrated in the foregoing embodiments, and is not described herein again.
The following description is provided for the present application, and the following description and the above-described notification method may be referred to in correspondence with each other.
Fig. 3 is a schematic structural diagram of a notification apparatus provided in an embodiment of the present application, as shown in fig. 4, specifically including:
an obtaining module 301, configured to obtain a target notification; a determining module 302, configured to determine a target notification object according to the type and content of the target notification, and determine whether the target notification object is located within a preset range; a pushing module 303, configured to push the target notification to the target notification object when the target notification object is located within the preset range; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
In this way, after the target notification is acquired, the target notification object is determined according to the type and the content of the target notification, and whether the target notification object is located within a preset range in which the target notification object can acquire the target notification is judged. If the target notification object is located in the preset range, the target notification is pushed to the target notification object, and therefore the situation that important notifications are missed by a user due to the fact that the user is not near the intelligent device when the intelligent device pushes a notification message to the user is avoided.
Optionally, the determining module 302 is further configured to determine an urgency level of the target notification according to the content of the target notification; the determining module 302 is further configured to determine, according to the emergency degree of the target notification, a preset notification manner corresponding to the emergency degree of the target notification; the pushing module 303 is specifically configured to push the target notification to the target notification object according to the preset notification manner.
Therefore, after the notification message is obtained, the notification message can be pushed to the user in a proper notification mode according to the urgency degree of the notification, so that the interference to the user is avoided, and the user experience is improved.
Optionally, the determining module 302 is specifically configured to determine whether the target notification object is located within a preset range according to target information; wherein the target information comprises at least one of: and recording the interaction between the target notification object and target equipment, the moving image of the target notification object in the preset range, and the relative position information of the target notification object and the preset range.
Therefore, various schemes for determining whether the user is located in the preset range where the target notification can be obtained can be adopted, so that the method can be suitable for various different intelligent home systems, and the adaptability of the notification method of the embodiment of the application is improved.
Optionally, the determining module 302 is further configured to determine an activity rule of the target notification object according to an interaction record of the target notification object and a target device; the determining module 302 is further configured to determine a do-not-disturb time according to the activity rule.
Therefore, according to the interaction records of the user, the disturbance-free time is automatically generated and set, the influence on the rest of the user is avoided, and the use experience of the user is improved.
Optionally, the pushing module 303 is specifically configured to push the target notification to the target notification object if the target notification object is located within the preset range and the current time is a time other than the disturbance-free time.
Therefore, by adopting the notification mode, the influence on the rest of the user is avoided when the user has a rest, and the notification message can be pushed to the user at the first time after the rest of the user is finished, so that important notifications are prevented from being omitted.
Optionally, the pushing module 303 is specifically configured to, if there is an interaction between the target notification object and the target device at the current time, push the target notification to the target notification object after the interaction between the target notification object and the target device is ended.
Optionally, the pushing module 303 is specifically configured to not push the target notification if the target notification object is located outside the preset range, and push the target notification to the target notification object after the target notification object enters the preset range.
After receiving the target notification, the notification device determines a target notification object to be notified according to the type and content of the target notification, and determines whether the target notification object is located within a range where the target notification can be acquired through a sensor or a device interaction record. And if the target notification object is located in the preset range, determining a preset notification mode corresponding to the target notification according to the emergency degree of the target notification, and pushing the target notification to the target notification object according to the preset notification mode. By adopting the notification method provided by the embodiment of the application, the logic of message pushing is optimized, and the condition that the user misses the notification message can be effectively avoided.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. Processor 410 may call logic instructions in memory 430 to perform a notification method comprising: acquiring a target notification; determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range; if the target notification object is located in the preset range, pushing the target notification to the target notification object; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the notification method provided by the above methods, the method comprising: acquiring a target notification; determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range; if the target notification object is located in the preset range, pushing the target notification to the target notification object; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program that when executed by a processor is implemented to perform the notification method provided above, the method comprising: acquiring a target notification; determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range; if the target notification object is located in the preset range, pushing the target notification to the target notification object; wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A notification method, comprising:
acquiring a target notification;
determining a target notification object according to the type and the content of the target notification, and judging whether the target notification object is located in a preset range;
if the target notification object is located in the preset range, pushing the target notification to the target notification object;
wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
2. The method of claim 1, wherein before pushing the target notification to the target notification object, the method further comprises:
determining the urgency degree of the target notification according to the content of the target notification;
determining a preset notification mode corresponding to the emergency degree of the target notification according to the emergency degree of the target notification;
the pushing the target notification to the target notification object includes:
and pushing the target notification to the target notification object according to the preset notification mode.
3. The method according to claim 1 or 2, wherein the determining whether the target notification object is within a preset range comprises:
judging whether the target notification object is located in a preset range or not according to the target information;
wherein the target information comprises at least one of: and recording the interaction between the target notification object and target equipment, the moving image of the target notification object in the preset range, and the relative position information of the target notification object and the preset range.
4. The method of claim 1, wherein before pushing the target notification to the target notification object, the method further comprises:
determining an activity rule of the target notification object according to the interaction record of the target notification object and the target equipment;
and determining the disturbance-free time according to the activity rule.
5. The method of claim 4, wherein pushing the target notification to the target notification object if the target notification object is within the preset range comprises:
and if the target notification object is located in the preset range and the current time is the time outside the disturbance-free time, pushing the target notification to the target notification object.
6. The method of claim 1, wherein pushing the target notification to the target notification object if the target notification object is within the preset range comprises:
if the interaction behavior exists between the target notification object and the target device at the current moment, pushing the target notification to the target notification object after the interaction behavior between the target notification object and the target device is finished.
7. The method of claim 1, wherein after determining a target notification object according to the type and content of the target notification and determining whether the target notification object is within a preset range, the method further comprises:
if the target notification object is located outside the preset range, the target notification is not pushed, and the target notification is pushed to the target notification object after the target notification object enters the preset range.
8. A notification apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the target notification;
the determining module is used for determining a target notification object according to the type and the content of the target notification and judging whether the target notification object is positioned in a preset range;
the pushing module is used for pushing the target notification to the target notification object under the condition that the target notification object is located in the preset range;
wherein the preset range is as follows: the target notification object can acquire the range of the target notification.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the notification method according to any one of claims 1 to 7.
10. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the notification method of any of claims 1 to 7.
CN202210345587.4A 2022-03-31 2022-03-31 Notification method, notification device, storage medium and computer program product Pending CN114710377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210345587.4A CN114710377A (en) 2022-03-31 2022-03-31 Notification method, notification device, storage medium and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210345587.4A CN114710377A (en) 2022-03-31 2022-03-31 Notification method, notification device, storage medium and computer program product

Publications (1)

Publication Number Publication Date
CN114710377A true CN114710377A (en) 2022-07-05

Family

ID=82172706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210345587.4A Pending CN114710377A (en) 2022-03-31 2022-03-31 Notification method, notification device, storage medium and computer program product

Country Status (1)

Country Link
CN (1) CN114710377A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125141A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Pushing method for notification message, server, user terminal and system
CN104506649A (en) * 2014-12-31 2015-04-08 小米科技有限责任公司 Push method and device for notification message
CN105530278A (en) * 2014-09-30 2016-04-27 博雅网络游戏开发(深圳)有限公司 Message pushing method and device
CN106572152A (en) * 2016-10-21 2017-04-19 北京小米移动软件有限公司 Message reminding method and message reminding apparatus
CN106844065A (en) * 2017-01-18 2017-06-13 宇龙计算机通信科技(深圳)有限公司 message display method, device and intelligent terminal
CN108307032A (en) * 2017-09-19 2018-07-20 珠海格力电器股份有限公司 A kind of processing method and mobile terminal of communication event
CN109240115A (en) * 2018-10-26 2019-01-18 北京小米移动软件有限公司 Control method, device and the storage medium of smart machine
CN111432087A (en) * 2020-03-30 2020-07-17 海信集团有限公司 Alarm method and related equipment
CN112770005A (en) * 2020-12-08 2021-05-07 深圳传音控股股份有限公司 Intelligent response method, mobile terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125141A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Pushing method for notification message, server, user terminal and system
CN105530278A (en) * 2014-09-30 2016-04-27 博雅网络游戏开发(深圳)有限公司 Message pushing method and device
CN104506649A (en) * 2014-12-31 2015-04-08 小米科技有限责任公司 Push method and device for notification message
CN106572152A (en) * 2016-10-21 2017-04-19 北京小米移动软件有限公司 Message reminding method and message reminding apparatus
CN106844065A (en) * 2017-01-18 2017-06-13 宇龙计算机通信科技(深圳)有限公司 message display method, device and intelligent terminal
CN108307032A (en) * 2017-09-19 2018-07-20 珠海格力电器股份有限公司 A kind of processing method and mobile terminal of communication event
CN109240115A (en) * 2018-10-26 2019-01-18 北京小米移动软件有限公司 Control method, device and the storage medium of smart machine
CN111432087A (en) * 2020-03-30 2020-07-17 海信集团有限公司 Alarm method and related equipment
CN112770005A (en) * 2020-12-08 2021-05-07 深圳传音控股股份有限公司 Intelligent response method, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
US11276402B2 (en) Method for waking up robot and robot thereof
CN105224349B (en) Application program deletion prompting method and device
CN109378000A (en) Voice awakening method, device, system, equipment, server and storage medium
CN109120779B (en) Microphone blockage reminding method and related device
CN106354571B (en) Message reminding method and device
KR20140091322A (en) Method and apparatus thereof for displaying screen with eye tracking in portable terminal
CN107864297A (en) Group's adding method, device, terminal and storage medium
US20190373114A1 (en) System and method for controlling notifications in an electronic device according to user status
CN105531671A (en) Wireless communication device having deterministic control of foreground access of the user interface
KR102322542B1 (en) Notification reminder method, terminal and storage medium
CN105934933B (en) Method for preventing terminal from being lost and terminal
CN111357022A (en) User location and activity based on intelligent reminders
CN114710377A (en) Notification method, notification device, storage medium and computer program product
CN106156993B (en) Information processing method and server
CN111290565A (en) Doze mode control method, device, terminal and storage medium
US11956755B2 (en) Method and apparatus for transmitting paging signaling
CN109981890B (en) Reminding task processing method, terminal and computer readable storage medium
CN116149527A (en) Icon switching method and device, electronic equipment and computer readable storage medium
CN107370526B (en) Data transmission method and terminal equipment
CN106407098B (en) Application program state monitoring method and device
CN113220489A (en) Information interaction method and device, computer and storage medium
CN113947877A (en) Method and device for wearable device to ask for help in emergency
CN110502714B (en) Information detection method and device, electronic equipment and storage medium
CN110738812B (en) Doorbell prompting method and related product
CN113691762A (en) Data transmission method and device for video conference and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination