WO2022105444A1 - 通知提醒方法、装置、终端及存储介质 - Google Patents
通知提醒方法、装置、终端及存储介质 Download PDFInfo
- Publication number
- WO2022105444A1 WO2022105444A1 PCT/CN2021/121302 CN2021121302W WO2022105444A1 WO 2022105444 A1 WO2022105444 A1 WO 2022105444A1 CN 2021121302 W CN2021121302 W CN 2021121302W WO 2022105444 A1 WO2022105444 A1 WO 2022105444A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- instruction
- notification message
- household
- target
- household device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 68
- 238000012545 processing Methods 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 20
- 238000004140 cleaning Methods 0.000 claims description 8
- 238000005406 washing Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 241001465382 Physalis alkekengi Species 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/282—Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
Definitions
- the embodiments of the present application relate to the technical field of terminals, and in particular, to a notification reminder method, device, terminal, and storage medium.
- Mobile terminals such as smart phones or tablet computers, are indispensable smart devices in daily life. In daily life, users often need to communicate with people through terminals or use mobile terminals to work.
- a mobile terminal when a mobile terminal receives a notification message, it is generally only displayed in the mobile terminal or displayed through a device connected to the mobile terminal, such as a smart bracelet.
- a device connected to the mobile terminal such as a smart bracelet.
- the user When the user goes home, he may put down the mobile terminal and use other devices at home for entertainment or office work. At this time, the mobile terminal may not be with the user.
- the mobile terminal receives a message notification, the user cannot know it, and it is easy to miss important message notifications. .
- Embodiments of the present application provide a notification reminder method, device, terminal, and storage medium.
- the technical solution is as follows:
- an embodiment of the present application provides a notification reminder method, the method is used for a mobile terminal, and the method includes:
- determining a first household device in the target location In response to receiving the target notification message and being in the target location, determining a first household device in the target location, where the first household device is a household device used for alerting the notification message;
- a second instruction is sent to the first household device, where the first household device is configured to stop the notification message reminder according to the second instruction.
- an embodiment of the present application provides a notification reminder device, and the device includes:
- a first determining module configured to determine, in response to receiving a target notification message and being in a target location, a first household device in the target location, where the first household device is a household device used to remind the notification message;
- a first sending module configured to send a first instruction to the first household device, and the first household device is configured to perform a notification message reminder in a preset manner according to the first instruction;
- the second sending module is configured to send a second instruction to the first household device in response to satisfying the stop reminder condition, and the first household device is configured to stop the notification message reminder according to the second instruction.
- an embodiment of the present application provides a terminal, the terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the above aspect The notification reminder method.
- an embodiment of the present application provides a computer-readable storage medium, where the storage medium stores at least one instruction, and the at least one instruction is configured to be executed by a processor to implement the notification reminder method described in the above aspect .
- an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the notification reminder method provided in the above aspect.
- FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
- FIG. 2 shows a method flowchart of a notification reminder method provided by an exemplary embodiment of the present application
- FIG. 3 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application
- Fig. 4 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application
- FIG. 5 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application
- FIG. 6 shows a structural block diagram of a notification reminder device provided by an embodiment of the present application.
- FIG. 7 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
- plural refers to two or more.
- “And/or”, which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
- the character “/” generally indicates that the associated objects are an "or" relationship.
- FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
- the implementation environment includes a mobile terminal 110 , a gateway device 120 , and a smart home device 130 .
- the mobile terminal 110 is a device capable of controlling smart home devices to perform preset operations. It can be an electronic device such as a smart phone, a tablet computer, a portable notebook, etc. In the embodiment of the present application, the mobile terminal 110 can control the smart home device to execute a preset operation corresponding to the command by sending an instruction to the smart home device.
- the specific type of the mobile terminal is not limited.
- the smart home device 130 refers to a home device having the function of a common home device and having a communication capability, and may be devices such as a smart air conditioner 131 , a smart TV 132 , a smart lamp, and an air purifier.
- the smart home device 130 may receive an instruction sent by the mobile terminal 110, and perform a preset operation according to the instruction.
- Both the mobile terminal 110 and the smart home device 130 can establish a data connection with the gateway device 120, so as to realize data communication between the mobile terminal 110 and the smart home device 130 through the data connection.
- the data connection may be a wireless fidelity (Wireless Fidelity, WiFi) connection.
- the mobile terminal 110 after the mobile terminal 110 establishes a data connection with the gateway device 120, it can send an instruction to the gateway device 120, and the gateway device 120 forwards the instruction to the smart home through the data connection according to the instruction sent by the mobile terminal 110.
- the device 130, the smart home device 130 performs a preset operation according to the instruction.
- the mobile terminal 110 and the smart home device 130 may also communicate in other manners (eg, Bluetooth), and the specific communication manner is not specifically limited in this embodiment of the present application.
- determining a first household device in the target location In response to receiving the target notification message and being in the target location, determining a first household device in the target location, where the first household device is a household device used for alerting the notification message;
- a second instruction is sent to the first household device, and the first household device is configured to stop the notification message reminder according to the second instruction.
- determine the first household device in the target place including:
- determine the lamps in the target place as the first household equipment including:
- a lamp that meets a preset condition is determined as the first home appliance, where the preset condition includes at least one of a time condition, a use frequency condition, and other home appliance use state conditions.
- the first household equipment is a lamp
- Send a first instruction to the first home device including:
- the target message type of the target notification message includes at least one of an incoming call notification message, a short message notification message, and an application notification message;
- the first instruction is sent to the lamp according to the target message type, the first instruction is used to indicate the lighting flashing mode of the lighting appliance, and the lighting adopts different lighting flashing modes when reminding notification messages of different message types.
- the target notification message is an incoming call notification message
- the method further includes:
- a third instruction is sent to the second household device, and the second household device is configured to adjust the working parameter according to the third instruction.
- the third instruction is used to instruct to adjust the volume or pause playback
- the third instruction is used to instruct to adjust the working mode or suspend work, wherein the noise generated by the second home device after the adjustment of the working mode is lower than that of the second
- the noise generated by household equipment, and the household equipment with noise in use state includes at least one of a washing machine, an air purifier, a cleaning robot, and a range hood.
- the method further includes:
- a fourth instruction is sent to the second household device, and the second household device is used to restore the working parameters according to the fourth instruction.
- sending a second instruction to the first household device including:
- determining the first household device in the target place further comprising:
- determining a current device state including a use state or a non-use state
- a first household device in the target location is determined.
- determine the current device status including:
- FIG. 2 shows a method flowchart of a notification reminder method provided by an exemplary embodiment of the present application. This embodiment is described by taking the method for the mobile terminal 110 shown in FIG. 1 as an example. Include the following steps.
- Step 201 in response to receiving the target notification message and being in the target location, determine a first household device in the target location, where the first household device is a household device used to remind the notification message.
- the mobile terminal may receive various notification messages, some may be relatively urgent notification messages that require timely processing by the user, and some may be ordinary notification messages that do not need to be processed in time. Therefore, in order to prevent the mobile terminal from receiving all notification messages, the household device will remind the notification message.
- the mobile terminal when the mobile terminal receives the notification message, it first determines whether it is the target notification message.
- the target notification message refers to a notification of an important message type, and the target notification message can be preset by the mobile terminal.
- the notification messages of the mobile terminal may include incoming call reminder messages, SMS reminder messages and application program messages, wherein the application program messages may specifically include instant messaging application messages, shopping application messages, game application messages or news applications. information.
- the mobile terminal sets the incoming call alert message, short message alert message, and instant messaging app alert message as the target notification message by default.
- the target notification message can also be set by the user or the mobile terminal analyzes the target notification message according to the user's usage habits to obtain the target notification message.
- call-related messages may be more important, so the target notification messages may include incoming call reminder messages and instant messaging application messages; for user B, in addition to call-related messages, game-related messages also Therefore, the target notification messages may include incoming call reminder messages, instant messaging application messages, and game application messages, that is, the user can set the more important notification message type as the target notification message by himself/herself.
- the mobile terminal determines whether the received notification message is the target notification message, it determines whether the current location is the target location, the target location refers to a location with household equipment, and the mobile terminal can communicate with the target location. home devices in the communication connection.
- the mobile terminal after determining that the mobile terminal has received the target notification message and is in the target location, it determines the first household device in the target location, where the first household device refers to the household device used to remind the notification message.
- Step 202 Send a first instruction to a first household device, where the first household device is configured to perform a notification message reminder in a preset manner according to the first instruction.
- the mobile terminal after determining the first household device, sends a first instruction to the first household device, and after receiving the first instruction, the first household device may perform a message reminder in a preset manner, wherein the first household device
- the corresponding relationship between an instruction and a preset mode may be pre-stored in the first home appliance, and when the first home appliance receives the first instruction, a notification message may be reminded through the preset mode corresponding to the instruction.
- the preset mode may be determined according to the function of the household device.
- the default mode can be flashing lights; if the home appliance has an audio-video playback function, the preset mode can be to display a message prompt on the screen, for example, displaying "You have received a new notification" Or "You have a new call”; if the home device has a voice broadcast function, the default method can be voice broadcast, such as "You have received a new notification” and so on.
- Step 203 In response to satisfying the stop reminder condition, send a second instruction to the first household device, and the first household device is configured to stop the notification message reminder according to the second instruction.
- the working state of the first household device is affected for a long time.
- the stop reminder condition is preset, and when the mobile terminal detects that the stop reminder condition is met, it sends a second instruction to the first household device, and the first household device can stop the notification message reminder according to the second instruction , that is, return to the original state.
- the original state refers to the state of the first home appliance before receiving the first instruction. If the first household device is in a non-use state before receiving the first command, the first household device will return to a non-use state after receiving the second command; if it is in a use state before the first household device receives the first command, then After receiving the second instruction, the first home appliance will restore the working parameters to the working parameters of the original use state.
- the mobile terminal when the mobile terminal receives the target notification message and is in the target place, it determines the first household device for reminding the notification message, and sends the first household device to the first household device.
- the first home device can perform notification message reminders in a preset way, so as to avoid users missing important messages because they do not know the message reminders from the mobile terminal, and after the conditions for stopping the reminder are met, the mobile terminal sends the first home device to the first home device.
- the first household device stops the notification message reminder, so as to avoid affecting the normal work of the household device due to the long message reminder time.
- the mobile terminal when using a home device to remind the notification message, can determine the lamp as the first home device, and remind the user by means of lighting.
- the lamps can be used to remind users through different light flashing methods. Exemplary embodiments are described below.
- FIG. 3 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application. This embodiment is described by taking the method for the mobile terminal 110 shown in FIG. 1 as an example. The following steps may be included.
- Step 301 in response to receiving the target notification message and being in the target location, determine the light fixture in the target location as the first household device, and the first household device is used to remind the notification message by flashing the light.
- the mobile terminal determines the light fixture in the target place as the first household device, and sends a first instruction to the light fixture, and the light fixture will send a notification message reminder by flashing lights.
- the mobile terminal selects the target light fixture as the first household device, the target light fixture sends a notification message reminder by flashing lights, and the other light fixtures except the target light fixture keep the original state.
- the following two methods can be used to determine the target luminaire:
- the luminaire in use when there is a luminaire in use in the target place, it indicates that the user may be within a short distance of the luminaire. Therefore, the luminaire in use can be determined as the target luminaire and used as the first luminaire.
- a household device is used for notification message reminders.
- the bedroom lighting fixture can be determined as the target lighting fixture, and the user is reminded by the flickering of the bedroom lighting fixture.
- the lamps that meet the preset conditions as the first household equipment include at least one of time conditions, use frequency conditions, and use state conditions of other household equipment. kind.
- the mobile terminal may determine the lamp that meets the preset condition as the first household device.
- the preset condition may be a time condition.
- the lamps for the notification message reminder can be determined according to the current time, wherein the corresponding relationship between the current time and the lamps can be determined by the user.
- the corresponding relationship between the current time and the lamps can be shown in Table 1:
- the living room lamps are determined as the first household equipment for notification message reminders.
- the terminal receives the target message notification, it will send the first instruction to the living room lamps, and the living room lamps will notify the message reminder by flashing lights; and in the time period from 19:00 to 22:00, the user is more likely to be in the bedroom, and will The bedroom light fixture is determined as the first household device for notification message reminders.
- the preset condition may also be a use frequency condition.
- the mobile terminal determines that there is no lamp in use in the target place, it can judge whether the preset condition is satisfied according to the use frequency of different lamps.
- a lamp with a higher frequency of use may be determined as the first household equipment. For example, if the relationship between the use frequency of lamps is living room lamps > bedroom lamps > dining room lamps, then the living room lamps are determined as the first household equipment, and notification messages can be reminded through the living room lamps.
- the preset condition may also be a use state condition of other household devices.
- other household devices When other household devices are in use, it indicates that the user may currently be in the same area as the household device in use, so the lamps in the area can be determined as the first household device.
- the correspondence between other household equipment and lamps can be preset, and when the mobile terminal determines that there is no lamp in use in the target place, it detects the use status of other household equipment, and determines the use status of other household equipment according to the The corresponding relationship between other household equipment and lamps is obtained, and lamps used for notification message reminders are obtained. Schematically, the corresponding relationship between other furniture equipment and lamps can be shown in Table 2:
- the mobile terminal receives the target notification message and detects that the TV in the living room is in use.
- the lamp flashes for notification message reminders.
- the lighting fixture when a lighting fixture that satisfies a preset condition is determined as the first household appliance, the lighting fixture may only be determined according to one of time conditions, usage frequency conditions, or usage state conditions of other household appliances.
- the lamps that meet the time condition are determined as the first household equipment; or the lamps that meet the use frequency conditions are determined as the first household equipment; or the lamps that meet the use conditions of other household equipment are determined as the first household equipment.
- the light fixtures may be determined according to a variety of time conditions, usage frequency conditions or other usage state conditions of household equipment.
- lamps and lanterns are determined according to the time conditions and the use state conditions of other household equipment. If the lamps determined according to the various conditions are the same, the lamps are determined as the first household equipment, and if the lamps determined according to the various conditions are different, the lamps can be determined according to the corresponding priorities of the conditions.
- the priority of each condition may be set by default by the mobile terminal, or may be set by the user. For example, the use status condition of other home equipment has a higher priority than the time condition, and the time condition has a higher priority than the use frequency condition.
- lamps and lanterns are jointly determined according to time conditions, use frequency conditions and other home equipment use state conditions, combined with the above example, if the current time is 10:00 and the current living room TV is in use state, then according to time conditions and other home equipment According to the equipment use conditions, it is determined that the lamps are living room lamps, and the living room lamps are lamps with the highest frequency of use. Therefore, the lamps determined according to the three conditions are all living room lamps, and the living room lamps can be determined as the first household equipment. If the current time is 10:00, but the current bedroom air conditioner is in use, the lamps are determined as living room lamps according to the time conditions, and the lamps are determined as bedroom lamps according to the use conditions of other household equipment. The state condition corresponds to the highest priority, therefore, the bedroom lamp is determined as the first home appliance.
- Step 302 Determine a target message type of the target notification message, where the target message type includes at least one of an incoming call notification message, a short message notification message, and an application notification message.
- the mobile terminal may receive different types of notification messages, when using lamps to remind the notification message, in order to facilitate the user to distinguish the type of the current notification message, in a possible implementation, after receiving the target notification message, the mobile terminal may The corresponding target message type is judged, and the first command can be sent according to different target message types, so that the lamps can be reminded in different reminder modes according to the first command, so that the user can quickly obtain the message type of the current target notification message.
- the target message type includes at least one of an incoming call notification message, a short message notification message, and an application notification message.
- Step 303 Send a first instruction to the lighting fixture according to the target message type, the first instruction is used to indicate the lighting flashing mode of the lighting fixture, and the lighting lighting adopts different lighting flashing manners when reminding notification messages of different message types.
- the mobile terminal sends a first instruction to the lamp according to the obtained target message type, and the first instruction indicates the lighting flashing mode of the lighting fixture, and the lighting flashing modes used by notification messages of different message types are different when reminding. .
- different notification message types can be distinguished by different light flashing frequencies.
- the light flashing frequency of an incoming call notification message can be flashed once every 1 s
- the frequency of a SMS notification message can be flashed once every 5 s
- the frequency of an application notification message can be flashed once every 10 s.
- different notification message types can be distinguished by the change of the light color.
- the light when there is an incoming call notification message, the light can turn yellow; when there is an SMS notification message, the light can be changed to blue; when there is an application notification message, the light can be changed.
- the light can turn red.
- Step 304 in response to satisfying the stop reminder condition, send a second instruction to the lamp, and the lamp is used to stop the notification message reminder according to the second instruction.
- a second instruction may be sent to the light fixture, and the light fixture stops a notification message to remind and restore to the original state.
- a message processing operation of the target notification message when a message processing operation of the target notification message is received, it indicates that the user knows the notification message and performs corresponding processing, and it is determined that it is satisfied to stop the reminder. condition, a second instruction can be sent to the first household device to instruct the first household device to stop the notification message reminder.
- the message processing operation when the target notification message is an incoming call notification message, the message processing operation may be answering or hanging up; when the target notification message is a short message notification message or an application notification message, the message processing operation may be viewing or deleting.
- the user does not perform a message processing operation on the target notification message.
- a preset time period can be set. If no message processing operation for the target notification message is received within the preset time period, it is determined that When the stop reminder condition is satisfied, the second instruction is sent to the first home appliance.
- the preset time period may be 3 minutes.
- the mobile terminal determines a lamp that is in use or a lamp that meets a preset condition as the first household device, and uses the flashing method of the lamp to remind the notification message, so as to avoid the user at a long distance when the lamp performs the notification message reminder.
- the notification message reminder is not received, and the success rate of the notification message reminder is improved.
- the mobile terminal will send the first command to the lamps according to different target message types, so that the lamps remind the user through different flashing methods, so that the user can quickly distinguish the type of the current target notification message and improve the recognition of the notification message reminder.
- the lamps in the target place are determined as the first household device, and other household devices in the target place can also be determined as the first household device, which is used to notify the message reminder.
- the mobile terminal acquires the device status of the home device in the target place; the home device that is in use and supports notification message reminders is determined as the first home device, wherein the home devices that support notification message reminders include: At least one of a TV, a sound box, and a projection device, and a home device that supports notification message reminders is used to perform notification message reminders through at least one of voice or image.
- the mobile terminal when it receives the target notification message, it can only obtain the use status of the home equipment supporting the notification message reminder in the target place. Then it can be determined as the first household device.
- the first household device there may be multiple home devices that support notification message reminders that are in use. In this case, the first home device is determined from among the multiple home devices that are in use and supports notification message reminders according to device priorities. .
- the device priority refers to the priority used for notification message reminders.
- the device priority can be TV>speaker>projection device.
- the TV can be determined as the first home device, and text or images can be displayed on the TV or projection device to remind the user that there are Notification message; when the mobile terminal detects that the speaker is in use, it can determine the speaker as the first home appliance, and remind the user of a notification message by playing voice or special music.
- the TV can be determined as the first household device, that is, the notification message is reminded through the TV.
- the terminal When the terminal receives the incoming call notification message, the user may answer the incoming call.
- the home device may be in use, and the audio and video may be playing or a large noise may be generated during the use state, which may cause damage to incoming calls. interference. Therefore, in a possible implementation manner, when the user answers an incoming call, the terminal adjusts the home equipment that is in use to reduce interference to the call. Exemplary embodiments will be described below.
- FIG. 4 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application.
- the method is used for the mobile terminal 110 shown in FIG. 1 as an example for description. The following steps may be included.
- Step 401 in response to receiving the incoming call notification message and being in the target location, determine a first household device in the target location, where the first household device is a household device used to remind the notification message.
- the first household device in the target location is determined.
- Step 402 Send a first instruction to the first household device, and the first household device is configured to perform a notification message reminder in a preset manner according to the first instruction.
- step 402 For the implementation of step 402, reference may be made to the foregoing step 202, which is not repeated in this embodiment.
- Step 403 determining the second household device in use in the target place.
- the mobile terminal after the mobile terminal sends the first instruction to the first household device, it determines the second household device that is in use in the target place, so that the user can timely control the operation of the second household device after answering the call. Use status to reduce interference to calls.
- Step 404 in response to receiving the operation of answering the incoming call, send a third instruction to the second household device, and the second household device is used to adjust the working parameters according to the third instruction.
- the mobile terminal after the mobile terminal receives the call answering operation, it sends a third instruction to the second household device to adjust the working parameters of the second household device to reduce interference to the call.
- different household devices correspond to different third instructions.
- the third instruction is used to instruct to adjust the volume or pause the playback.
- the playback volume of the TV, audio or projection device can be reduced or the playback can be directly paused to avoid the influence of excessive volume.
- the third instruction is used to instruct to adjust the working mode or suspend the work, wherein the noise generated by the second household device after the adjustment of the working mode is lower than that of the adjustment work.
- the noise generated by the second household equipment before the mode, and the household equipment with noise in the use state includes at least one of a washing machine, an air purifier, a cleaning robot, and a range hood.
- the third instruction instructs the washing machine to suspend operation; when the second household equipment is an air purifier, the third instruction instructs the air purifier to adjust the working parameters of the exhaust system to reduce noise; When the second household equipment is a cleaning robot, the third instruction instructs the cleaning robot to suspend work; when the second household equipment is a range hood, the third instruction instructs the range hood to adjust the working parameters of the exhaust system to reduce noise.
- the mobile terminal in order to avoid adjusting the working parameters of all the home equipment in the working state, the mobile terminal will further determine the area in the target place, and then adjust only the second home equipment in the working state in the area. equipment.
- the mobile terminal can determine the area range of the second home device to be adjusted through the signal strength of the Bluetooth connection with other home devices, or obtain the location of the mobile terminal through the indoor positioning component, and determine the preset range of the location as the to-be-adjusted range. Adjust the area range of the second home appliance, for example, the preset range may be 10m.
- the mobile terminal receives the incoming call answering operation, that is, after receiving the message processing operation for the target notification message, in addition to sending the third instruction to the second household device, it will also send the second instruction to the first household device, instructing it to stop the notification. message notification.
- Step 405 in response to receiving the call to hang up operation, send a fourth instruction to the second household device, and the second household device is used to restore the working parameters according to the fourth instruction.
- the mobile terminal after the mobile terminal receives the operation of hanging up the call, it sends a fourth instruction to the second household device, instructing the second household device to restore the working parameters, that is, the second household device returns to the original working state, Avoid long-term effects on the operation of the second household equipment.
- the second household equipment when the second household equipment is a washing machine or a cleaning robot, after receiving the fourth instruction, it will restart and continue to work; when the second household equipment is an air purifier or a range hood , after receiving the fourth instruction, adjust the working parameters of the exhaust system or the exhaust system to the original working parameters, and continue to work.
- the volume generated by the second household equipment is reduced, thereby reducing the interference to the call.
- the mobile terminal When the user is at home, the mobile terminal may be in a use state or a non-use state. When the mobile terminal is in use, it indicates that the user is currently using the mobile terminal, and there is a high probability that the mobile terminal will not miss the message notification. At this time, there is no need to use the home equipment to remind, to avoid unnecessary power consumption or work on the home equipment Impact. Therefore, in a possible implementation manner, when a message notification is received, first determine the use state of the current device, and determine whether to use the home device for message reminder according to the use state. Exemplary embodiments will be described below.
- FIG. 5 shows a method flowchart of a notification reminder method provided by another exemplary embodiment of the present application. This embodiment is described by taking the method for the mobile terminal 110 shown in FIG. 1 as an example. The following steps may be included.
- Step 501 in response to receiving the target notification message and being in the target location, determine a current device state, where the current device state includes a use state or a non-use state.
- a home device in order to determine whether it is necessary to use a home device for notification message reminders, when the mobile terminal receives the target notification message and is in the target location, firstly determines the current device state, where the device state includes a use state and a non-use state state. If the device is in use, it is not necessary to use the home device to remind the notification message; if the device is not in use, the home device needs to be used to remind the notification message.
- the following two methods can be used:
- the interval threshold may be 10 min.
- the wearable device when the connection between the mobile terminal and the wearable device is interrupted, it indicates that the user is currently far away from the mobile terminal, and it is determined that the mobile terminal is not in use.
- the wearable device may be a smart bracelet or a smart watch.
- the embodiment of the present application does not limit the specific type of the wearable device.
- Step 502 in response to the mobile terminal being in a non-use state, determine the first household device in the target place.
- the first household device in the target place is determined, and then a notification message is reminded through the first household device.
- Step 503 Send a first instruction to the first household device, and the first household device is configured to perform a notification message reminder in a preset manner according to the first instruction.
- Step 504 in response to satisfying the stop reminder condition, send a second instruction to the first household device, and the first household device is configured to stop the notification message reminder according to the second instruction.
- step 503 and step 504 For the implementation of step 503 and step 504, reference may be made to the above-mentioned step 202 and step 203, which is not repeated in this embodiment of the present application.
- the home equipment before using the home equipment to remind the notification message, first determine the device status of the current mobile terminal, and only use the home equipment to remind the notification message when the mobile terminal is not in use, so as to avoid unnecessary power consumption or Affect the working state of home equipment.
- FIG. 6 shows a structural block diagram of a notification reminder device provided by an embodiment of the present application.
- the apparatus can be implemented as all or a part of the mobile terminal through software, hardware or a combination of the two.
- the device includes:
- a first determining module 601 configured to determine, in response to receiving a target notification message and being in a target location, a first household device in the target location, where the first household device is a household device used to remind the notification message;
- a first sending module 602 configured to send a first instruction to the first household device, and the first household device is configured to perform a notification message reminder in a preset manner according to the first instruction;
- the second sending module 603 is configured to send a second instruction to the first household device in response to satisfying the stop reminder condition, and the first household device is configured to stop the notification message reminder according to the second instruction.
- the first determining module 601 includes:
- a first determining unit configured to determine the lamps in the target place as the first household equipment, and the first household equipment is used for notification message reminders by flashing lights;
- the second determining unit is configured to obtain the device status of the household device in the target place; the household device in the use state and supporting notification message reminder is determined as the first household device, wherein the household device supporting notification message reminder includes: At least one of a TV, a sound box, and a projection device, and a home device that supports notification message reminders is used to perform notification message reminders through at least one of voice or image.
- the first determining unit is further configured to:
- the lamps that meet preset conditions as the first household equipment include time conditions, use frequency conditions, and other household equipment use state conditions at least one of them.
- the first household device is the lamp.
- the first sending module 602 includes:
- a third determining unit configured to determine a target message type of the target notification message, where the target message type includes at least one of an incoming call notification message, a short message notification message, and an application notification message;
- a first sending unit configured to send the first instruction to the lighting fixture according to the target message type, where the first instruction is used to indicate the lighting flashing mode of the lighting fixture, and the lighting fixture notifies different message types Different light flashing methods are used when the message is reminded.
- the target notification message is an incoming call notification message.
- the device further includes:
- the second determining module is configured to determine the second household equipment in the target place that is in use.
- a third sending module configured to send a third instruction to the second household device in response to receiving an operation of answering an incoming call, and the second household device is configured to adjust a working parameter according to the third instruction.
- the third instruction is used to instruct to adjust the volume or pause the playback.
- the third instruction is used to instruct to adjust the working mode or suspend work, wherein after adjusting the working mode, the second household device generates The noise is lower than the noise generated by the second household equipment before adjusting the working mode, and the household equipment with noise in the use state includes at least one of a washing machine, an air purifier, a cleaning robot and a range hood.
- the device further includes:
- a fourth sending module configured to send a fourth instruction to the second household device in response to receiving an operation of hanging up an incoming call, and the second household device is configured to restore the working parameter according to the fourth instruction.
- the second sending module 603 includes:
- a second sending unit configured to, in response to receiving a message processing operation on the target notification message, determine that the stop reminder condition is satisfied, and send the second instruction to the first home appliance
- a third sending unit configured to determine that the stop reminder condition is satisfied in response to not receiving a message processing operation for the target notification message within a preset time period, and send the second instruction to the first home appliance .
- the first determining module 601 further includes:
- a fourth determining unit configured to determine a current equipment state in response to receiving the target notification message and being at the target location, where the current equipment state includes a use state or a non-use state;
- a fifth determining unit configured to determine the first household device in the target place in response to the mobile terminal being in a non-use state.
- the fourth determining unit is further configured to:
- the mobile terminal when the mobile terminal receives the target notification message and is in the target place, it determines the first household device used to remind the notification message, and sends the first instruction to the first household device, and the first household device can The notification message is reminded in a preset way, so as to prevent the user from missing important messages because the user does not know the message reminder of the mobile terminal, and after the stop reminder condition is met, the mobile terminal sends a second instruction to the first household device, and the first household device stops Notify message reminders to avoid affecting the normal work of home equipment due to long message reminders.
- the mobile terminal determines a lamp that is in use or a lamp that meets a preset condition as the first household device, and uses the flashing method of the lamp to remind the notification message, so as to avoid the user at a long distance when the lamp performs the notification message reminder.
- the notification message reminder is not received, and the success rate of the notification message reminder is improved.
- the mobile terminal will send the first command to the lamps according to different target message types, so that the lamps remind the user through different flashing methods, so that the user can quickly distinguish the type of the current target notification message and improve the recognition of the notification message reminder.
- the volume generated by the second household equipment is reduced, thereby reducing the interference to the call.
- the home equipment before using the home equipment to remind the notification message, first determine the device status of the current mobile terminal, and only use the home equipment to remind the notification message when the mobile terminal is not in use, so as to avoid unnecessary power consumption or Affect the working state of home equipment.
- FIG. 7 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
- a terminal in this application may include one or more of the following components: a processor 701 , a memory 702 , a receiver 703 and a transmitter 704 .
- Processor 701 may include one or more processing cores.
- the processor 701 uses various interfaces and lines to connect various parts in the entire terminal, and executes the terminal's operation by running or executing the instructions, programs, code sets or instruction sets stored in the memory 702, and calling the data stored in the memory 702.
- Various functions and processing data may be adopted at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 701 may integrate one or more of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), and a modem, etc.
- a central processing unit Central Processing Unit, CPU
- a graphics processor Graphics Processing Unit, GPU
- a neural network processor Neural-network Processing Unit, NPU
- modem etc.
- the CPU mainly handles the operating system, user interface, and applications
- the GPU is used to render and draw the content that needs to be displayed on the touch screen
- the NPU is used to implement artificial intelligence (AI) functions
- the modem is used to process Wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 701, and is implemented by a single chip.
- the memory 702 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM).
- the memory 702 includes a non-transitory computer-readable storage medium.
- Memory 702 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the memory 702 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the following various method embodiments; the storage data area may store data (such as audio data, phone book) and the like created according to the use of the terminal.
- the receiver 703 and the transmitter 704 can be implemented as a communication component, which can be a communication chip.
- the terminal may further include a display screen.
- a display screen is a display component used to display a user interface.
- the display screen also has a touch function, and through the touch function, the user can use any suitable object such as a finger, a touch pen, and the like to perform a touch operation on the display screen.
- the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal device, and the terminal device may include more or less components than those shown in the drawings, or a combination of some components, or a different arrangement of components.
- the terminal also includes a camera assembly, a radio frequency circuit, an input unit, a sensor (such as an acceleration sensor, an angular velocity sensor, a light sensor, etc.), an audio circuit, a WiFi module, a power supply, a Bluetooth module, and other components, which will not be repeated here.
- Embodiments of the present application further provide a computer-readable storage medium, where the storage medium stores at least one instruction, and the at least one instruction is configured to be executed by a processor to implement the notification reminder method described in the foregoing embodiments.
- Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the notification reminder method provided in the above-mentioned embodiment.
- Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
- a storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
一种通知提醒方法、装置、终端及存储介质。该方法包括:响应于接收到目标通知消息,确定第一家居设备;向第一家居设备发送第一指令,使第一家居设备通过预设方式进行通知消息提醒;响应于满足停止提醒条件,使第一家居设备停止通知消息提醒。采用上述方法、装置、终端及存储介质,可以提高通知消息提醒的成功率。
Description
本申请要求于2020年11月19日提交的申请号为202011303362.X、发明名称为“通知提醒方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及终端技术领域,特别涉及一种通知提醒方法、装置、终端及存储介质。
移动终端,如智能手机或平板电脑等是现在日常生活中必不可少的智能设备,生活中,用户常需通过终端与人沟通或使用移动终端进行工作。
相关技术中,当移动终端接收到通知消息时,一般仅在移动终端中进行显示或者通过与移动终端连接的设备,如智能手环进行显示。当用户回家后,可能会放下移动终端,使用家中其他设备进行娱乐或办公,此时移动终端可能并不在用户身边,当移动终端接收到消息通知时,用户无法得知,容易错过重要消息通知。
发明内容
本申请实施例提供了一种通知提醒方法、装置、终端及存储介质。所述技术方案如下:
一方面,本申请实施例提供了一种通知提醒方法,所述方法用于移动终端,所述方法包括:
响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;
向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;
响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
另一方面,本申请实施例提供了一种通知提醒装置,所述装置包括:
第一确定模块,用于响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;
第一发送模块,用于向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;
第二发送模块,用于响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
另一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上述方面所述的通知提醒方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的通知提醒方法。
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的通知提醒方法。
图1示出了本申请一个示例性实施例提供的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的通知提醒方法的方法流程图;
图3示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图;
图4示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图;
图5示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图;
图6示出了本申请一个实施例提供的通知提醒装置的结构框图;
图7示出了本申请一个示例性实施例提供的终端的结构方框图。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
请参考图1,其示出了本申请一个示例性实施例提供的实施环境的示意图,该实施环境中包括移动终端110、网关设备120以及智能家居设备130。
移动终端110是具备控制智能家居设备执行预设操作的设备。其可为智能手机、平板电脑、便携式笔记本等电子设备,本申请实施例中,移动终端110可通过向智能家居设备发送指令,控制智能家居设备执行指令相应的预设操作,本申请实施例对移动终端的具体类型不做限定。
智能家居设备130指具有普通家居设备功能,且具有通信能力的家居设备,可为智能空调131、智能电视132、智能电灯以及空气净化器等设备。本申请实施例中,智能家居设备130可接收到移动终端110发送的指令,并根据指令执行预设操作。
移动终端110以及智能家居设备130均可与网关设备120建立数据连接,从而通过数据连接,实现移动终端110与智能家居设备130间的数据通信。该数据连接可以为无线保真(Wireless Fidelity,WiFi)连接。
在一种可能的实施方式中,当移动终端110与网关设备120建立数据连接后,可向网关设备120发送指令,网关设备120根据移动终端110发送的指令,通过数据连接将指令转发至智能家居设备130,智能家居设备130根据该指令执行预设操作。
需要说明的是,移动终端110与智能家居设备130还可通过其它方式进行通信(比如蓝牙),本申请实施例对具体通信方式不做具体限定。
本申请实施例提供的通知提醒方法包括:
响应于接收到目标通知消息且处于目标场所,确定目标场所中的第一家居设备,第一家居设备是用于进行通知消息提醒的家居设备;
向第一家居设备发送第一指令,第一家居设备用于根据第一指令通过预设方式进行通知消息提醒;
响应于满足停止提醒条件,向第一家居设备发送第二指令,第一家居设备用于根据第二指令停止通知消息提醒。
可选的,确定目标场所中的第一家居设备,包括:
将目标场所中的灯具确定为第一家居设备,第一家居设备用于通过灯光闪烁进行通知消息提醒;
和/或,
获取目标场所中家居设备的设备状态;将处于使用状态且支持通知消息提醒的家居设备 确定为第一家居设备,其中,支持通知消息提醒的家居设备包括电视、音箱、投影设备中的至少一种,且支持通知消息提醒的家居设备用于通过语音或图像中的至少一种方式进行通知消息提醒。
可选的,将目标场所中的灯具确定为第一家居设备,包括:
响应于目标场所中存在处于使用状态的灯具,将处于使用状态的灯具确定为第一家居设备;
响应于目标场所中不存在处于使用状态的灯具,将满足预设条件的灯具确定为第一家居设备,预设条件包括时间条件、使用频率条件以及其他家居设备使用状态条件中的至少一种。
可选的,第一家居设备为灯具;
向第一家居设备发送第一指令,包括:
确定目标通知消息的目标消息类型,目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种;
根据目标消息类型向灯具发送第一指令,第一指令用于指示灯具的灯光闪烁方式,且灯具对不同消息类型的通知消息进行提醒时采用不同的灯光闪烁方式。
可选的,目标通知消息为来电通知消息;
向第一家居设备发送第一指令之后,方法还包括:
确定目标场所中处于使用状态的第二家居设备;
响应于接收到对来电接听操作,向第二家居设备发送第三指令,第二家居设备用于根据第三指令调整工作参数。
可选的,当第二家居设备为具有音视频播放功能的家居设备时,第三指令用于指示调整音量或暂停播放;
当第二家居设备为使用状态下产生噪声的家居设备时,第三指令用于指示调整工作模式或者暂停工作,其中,调整工作模式后第二家居设备产生的噪声低于调整工作模式前第二家居设备产生的噪声,且使用状态下存在噪声的家居设备包括洗衣机、空气净化器、清扫机器人和抽油烟机中的至少一种。
可选的,向第二家居设备发送第三指令之后,方法还包括:
响应于接收到来电挂断操作,向第二家居设备发送第四指令,第二家居设备用于根据第四指令还原工作参数。
可选的,响应于满足停止提醒条件,向第一家居设备发送第二指令,包括:
响应于接收到对目标通知消息的消息处理操作,确定满足停止提醒条件,并向第一家居设备发送第二指令;
或,
响应于在预设时长内未接收到对目标通知消息的消息处理操作,确定满足停止提醒条件,并向第一家居设备发送第二指令。
可选的,响应于接收到目标通知消息且处于目标场所,确定目标场所中的第一家居设备,还包括:
响应于接收到目标通知消息且处于目标场所,确定当前设备状态,当前设备状态包括使用状态或非使用状态;
响应于移动终端处于非使用状态,确定目标场所中的第一家居设备。
可选的,确定当前设备状态,包括:
获取上一次亮屏时刻与当前时刻之间的时间间隔;若时间间隔大于间隔阈值,确定移动终端处于非使用状态;
和/或,
响应于与可穿戴式设备之间的连接中断,确定移动终端处于非使用状态。
请参考图2,其示出了本申请一个示例性实施例提供的通知提醒方法的方法流程图,本实施例以该方法用于图1所示的移动终端110为例进行说明,该方法可以包括如下步骤。
步骤201,响应于接收到目标通知消息且处于目标场所,确定目标场所中的第一家居设备,第一家居设备是用于进行通知消息提醒的家居设备。
由于移动终端会接收多种通知消息,部分可能为较为紧急通知消息,需用户进行及时处理,而部分可能为普通通知消息,无需进行及时处理。因此,为避免移动终端在接收到所有通知消息时,家居设备均会进行通知消息提醒,在一种可能的实施方式中,当移动终端接收到通知消息时,首先确定是否为目标通知消息,该目标通知消息指重要消息类型的通知,该目标通知消息可由移动终端预先设定。
示意性的,移动终端的通知消息可能包括来电提醒消息,短信提醒消息以及应用程序消息,其中,应用程序消息可具体包括即时通信类应用消息、购物类应用消息、游戏类应用消息或新闻类应用消息。对于来电提醒消息、短信提醒消息,即时通信类应用消息可能需用户进行及时处理,因此,移动终端将来电通知消息、短信提醒消息以及即时通信类应用程序通知消息默认设置为目标通知消息。
可选的,除移动终端默认设置目标通知消息的方式外,目标通知消息还可由用户自行设定或移动终端根据用户使用习惯进行分析得到目标通知消息。
示意性的,对于用户A,与通话相关的消息可能较为重要,因此目标通知消息即可包括来电提醒消息以及即时通信类应用消息;对于用户B,除与通话相关的消息外,游戏相关消息也较为重要,因此,目标通知消息可包括来电提醒消息、即时通信类应用消息以及游戏类应用消息,即用户可自行将较为重要的通知消息类型设置为目标通知消息。
在一种可能的实施方式中,当移动终端确定接收到的通知消息为目标通知消息后,确定当前所处场所是否为目标场所,目标场所指具有家居设备的场所,且移动终端可与目标场所中的家居设备进行通信连接。
在一种可能的实施方式中,当移动终端确定接收到目标通知消息且处于目标场所后,确定目标场所中的第一家居设备,第一家居设备指用于进行通知消息提醒的家居设备。
步骤202,向第一家居设备发送第一指令,第一家居设备用于根据第一指令通过预设方式进行通知消息提醒。
在一种可能的实施方式中,移动终端确定第一家居设备后,向第一家居设备发送第一指令,第一家居设备接收第一指令后,可通过预设方式进行消息提醒,其中,第一指令与预设方式的对应关系可预先存储至第一家居设备中,当第一家居设备接收到第一指令后,即可通过该指令所对应的预设方式进行通知消息提醒。
可选的,预设方式可根据家居设备功能确定。示意性的,若家居设备具有灯光功能,预设方式可为灯光闪烁;若家居设备具有影音播放功能,预设方式可为在屏幕上显示消息提示,如,显示“您收到一条新通知”或“您有新来电”;若家居设备具有语音播报功能,预设方式可为语音播报,如,播报“您收到一条新通知”等。
步骤203,响应于满足停止提醒条件,向第一家居设备发送第二指令,第一家居设备用于根据第二指令停止通知消息提醒。
为了避免第一家居设备持续处于通知消息提醒状态,而长时间影响第一家居设备的工作状态。在一种可能的实施方式中,预先设置停止提醒条件,当移动终端检测到满足停止提醒条件时,向第一家居设备发送第二指令,第一家居设备即可根据第二指令停止通知消息提醒,即恢复至原状态。
可选的,原状态指第一家居设备在接收第一指令前的状态。若在第一家居设备接收第一指令前处于非使用状态,则在接收第二指令后第一家居设备将恢复至非使用状态;若在第一家居设备接收第一指令前处于使用状态,则在接收第二指令后第一家居设备会将工作参数恢复至原使用状态的工作参数。
综上所述,采用本申请实施例提供的方法,当移动终端接收到目标通知消息且处于目标场所时,确定用于进行通知消息提醒的第一家居设备,并向第一家居设备发送第一指令,第一家居设备即可通过预设方式进行通知消息提醒,避免用户因未得知移动终端的消息提醒而错失重要消息,且在满足停止提醒条件后,移动终端向第一家居设备发送第二指令,第一家居设备停止通知消息提醒,避免因消息提醒时间过长而影响家居设备的正常工作。
在一种可能的应用场景中,利用家居设备进行通知消息提醒时,移动终端可将灯具确定为第一家居设备,通过灯光的方式提醒用户,且为使用户便于区分当前目标提醒消息类型,还可使灯具通过不同灯光闪烁方式提醒用户。下面通过示例性实施例进行说明。
请参考图3,其示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图,本实施例以该方法用于图1所示的移动终端110为例进行说明,该方法可以包括如下步骤。
步骤301,响应于接收到目标通知消息且处于目标场所,将目标场所中的灯具确定为第一家居设备,第一家居设备用于通过灯光闪烁进行通知消息提醒。
可选的,当接收到目标通知消息且处于目标场所时,移动终端将目标场所中的灯具确定为第一家居设备,并向灯具发送第一指令,灯具将通过灯光的闪烁进行通知消息提醒。
由于目标场所中可能存在多个灯具,而多个灯具中含有在用户视野范围之外的灯具,若利用多个灯具进行通知消息提醒,会造成不必要的功耗。因此,在一种可能的实施方式中,移动终端选择目标灯具作为第一家居设备,目标灯具通过灯光闪烁进行通知消息提醒,除目标灯具外其他灯具保持原状态。对于目标灯具的确定方式,可采用如下两种方式:
一、响应于目标场所中存在处于使用状态的灯具,将处于使用状态的灯具确定为第一家居设备。
在一种可能的实施方式中,当目标场所中存在处于使用状态的灯具时,表明用户可能在该灯具的近距离内,因此,可将处于使用状态的灯具确定为目标灯具,将其作为第一家居设备用于通知消息提醒。
示意性的,当移动终端接收到目标通知消息时,检测到卧室灯具正处于使用状态,可将卧室灯具确定为目标灯具,通过卧室灯具的闪烁提醒用户。
二、响应于目标场所中不存在处于使用状态的灯具,将满足预设条件的灯具确定为第一家居设备,预设条件包括时间条件、使用频率条件以及其他家居设备使用状态条件中的至少一种。
在一种可能的实施方式中,目标场所可能不存在处于使用状态的灯具,比如,当前时间为白天,灯具均未使用。此时,移动终端可将满足预设条件的灯具确定为第一家居设备。
可选的,预设条件可为时间条件,当移动终端确定目标场所不存在处于使用状态的灯具时,可根据当前时间确定进行通知消息提醒的灯具,其中,当前时间与灯具的对应关系可由用户根据行为习惯进行设定。示意性的,当前时间与灯具的对应关系可如表1所示:
表1
当前时间 | 灯具 |
9:00-11:00 | 客厅灯具 |
11:00-13:00 | 餐厅灯具 |
13:00-19:00 | 客厅灯具 |
19:00-22:00 | 卧室灯具 |
如表1所示,在9:00-11:00时间段内,用户在客厅的可能性较大,因此将客厅灯具确定为用于通知消息提醒的第一家居设备,在该时间段内,若终端接收到目标消息通知,则向客厅灯具发送第一指令,客厅灯具通过灯光闪烁方式进行通知消息提醒;而在19:00-22:00时间段内,用户在卧室可能性较大,将卧室灯具确定为用于通知消息提醒的第一家居设备。
可选的,预设条件还可为使用频率条件,当移动终端确定目标场所不存在处于使用状态 的灯具时,可根据不同灯具的使用频率判断是否满足预设条件。其中,可将使用频率较高的灯具确定为第一家居设备。比如,灯具使用频率的大小关系为客厅灯具>卧室灯具>餐厅灯具,则将客厅灯具确定为第一家居设备,可通过客厅灯具进行通知消息提醒。
可选的,预设条件还可为其他家居设备使用状态条件。当其他家居设备处于使用状态时,表明用户当前可能与处于使用状态的家居设备处于同一区域,因此可将该区域内的灯具确定为第一家居设备。在一种可能的实施方式中,可预先设定其他家居设备与灯具的对应关系,当移动终端确定目标场所中不存在处于使用状态的灯具时,检测其他家居设备的使用状态,根据正在使用的其他家居设备与灯具的对应关系,得到用于通知消息提醒的灯具。示意性的,其他家具设备与灯具的对应关系可如表2所示:
表2
其他家居设备 | 灯具 |
客厅电视 | 客厅灯具 |
智能电饭煲 | 餐厅灯具 |
卧室空调 | 卧室灯具 |
比如,当用户在客厅观看电视时,移动终端接收到目标通知消息,并检测到客厅电视正处于使用状态,则可将客厅灯具确定为第一家居设备,并向客厅灯具发送第一指令,客厅灯具通过闪烁进行通知消息提醒。
在一种可能的实施方式中,将满足预设条件的灯具确定为第一家居设备时,可仅根据时间条件、使用频率条件或其他家居设备使用状态条件中其中一种确定灯具。即将满足时间条件的灯具确定为第一家居设备;或将满足使用频率条件的灯具确定为第一家居设备;或将满足其他家居设备使用条件的灯具确定为第一家居设备。
在另一种可能的实施方式中,可根据时间条件、使用频率条件或其他家居设备使用状态条件中多种确定灯具。比如,根据时间条件与其他家居设备使用状态条件共同确定灯具。若根据多种条件确定出的灯具相同,则将该灯具确定为第一家居设备,而若根据多种条件确定出的灯具不同时,则可根据条件对应优先级确定灯具。可选的,各个条件优先级可由移动终端默认设置,也可由用户自定义设置。比如,其他家居设备使用状态条件优先级高于时间条件,时间条件优先级高于使用频率条件。
示意性的,当根据时间条件、使用频率条件以及其他家居设备使用状态条件共同确定灯具时,结合上述示例,若当前时间为10:00且当前客厅电视处于使用状态,则根据时间条件与其他家居设备使用条件,确定灯具为客厅灯具,且客厅灯具为使用频率最高灯具,因此,根据三个条件确定的灯具均为客厅灯具,可将客厅灯具确定为第一家居设备。而若当前时间为10:00,但当前卧室空调处于使用状态时,根据时间条件确定灯具为客厅灯具,而根据其他家居设备使用状态条件确定灯具为卧室灯具,二者不同,由于其他家居设备使用状态条件对应优先级最高,因此,将卧室灯具确定为第一家居设备。
步骤302,确定目标通知消息的目标消息类型,目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种。
由于移动终端可能接收到不同类型的通知消息,在利用灯具进行通知消息提醒时,为使用户便于区分当前通知消息的类型,在一种可能的实施方式中,移动终端接收到目标通知消息后可判断其对应的目标消息类型,进而可根据不同的目标消息类型发送第一指令,使灯具根据第一指令采用不同的提醒方式提醒,便于用户快速得到当前目标通知消息的消息类型。
可选的,目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种。
步骤303,根据目标消息类型向灯具发送第一指令,第一指令用于指示灯具的灯光闪烁方式,且灯具对不同消息类型的通知消息进行提醒时采用不同的灯光闪烁方式。
在一种可能的实施方式中,移动终端根据得到的目标消息类型向灯具发送第一指令,第一指令指示灯具的灯光闪烁方式,不同消息类型的通知消息进行提醒时所采用的灯光闪烁方 式不同。
可选的,可通过不同的灯光闪烁频率区分不同通知消息类型,比如,来电通知消息的灯光闪烁频率可为1s闪烁一次,短信通知消息频率为5s闪烁一次,应用程序通知频率为10s闪烁一次。
可选的,还可通过灯光颜色的变化区分不同通知消息类型,比如,有来电通知消息时,灯光可变为黄色;有短信通知消息时,灯光可变为蓝色;有应用通知消息时,灯光可变为红色。
当然还可通过其他不同灯光的变化方式区分不同通知消息类型,本申请实施例对灯光的变化方式不做限定。
步骤304,响应于满足停止提醒条件,向灯具发送第二指令,灯具用于根据第二指令停止通知消息提醒。
在一种可能的实施方式中,当满足停止提示条件时,可向灯具发送第二指令,灯具停止通知消息提醒,恢复至原状态。
对于移动终端确定满足停止提示条件的方式,可采用如下两种:
一、响应于接收到对目标通知消息的消息处理操作,确定满足停止提醒条件,并向第一家居设备发送第二指令。
为了避免第一家居设备持续处于通知消息提醒状态,在一种可能的实施方式中,当接收到目标通知消息的消息处理操作时,表明用户得知通知消息并进行了相应处理,确定满足停止提醒条件,可向第一家居设备发送第二指令,指示第一家居设备停止通知消息提醒。
示意性的,当目标通知消息为来电通知消息时,消息处理操作可为接听或挂断;当目标通知消息为短信通知消息或应用程序通知消息时,消息处理操作可为查看或删除。
二、响应于在预设时长内未接收到对目标通知消息的消息处理操作,确定满足停止提醒条件,并向第一家居设备发送第二指令。
在另一种可能的实施方式中,用户并未对目标通知消息进行消息处理操作,此时,可设置预设时长,在预设时长内未接收到对目标通知消息的消息处理操作,则确定满足停止提醒条件,向第一家居设备发送第二指令。比如,该预设时长可为3min。
本实施例中,移动终端将处于使用状态的灯具或满足预设条件的灯具确定为第一家居设备,通过灯具的闪烁方式进行通知消息提醒,避免灯具进行通知消息提醒时,用户在远距离处并未接收到通知消息提醒,提高通知消息提醒成功率。
且本实施例中,移动终端会根据不同目标消息类型向灯具发送第一指令,使灯具通过不同的闪烁方式提醒用户,便于用户快速区分当前目标通知消息的类型,提高通知消息提醒的辨识度。
除上述实施例中,将目标场所中灯具确定为第一家居设备外,还可将目标场所中其他家居设备确定为第一家居设备,用于通知消息提醒。
在一种可能的实施方式中,移动终端获取目标场所中家居设备的设备状态;将处于使用状态且支持通知消息提醒的家居设备确定为第一家居设备,其中,支持通知消息提醒的家居设备包括电视、音箱、投影设备中的至少一种,且支持通知消息提醒的家居设备用于通过语音或图像中的至少一种方式进行通知消息提醒。
可选的,当移动终端接收到目标通知消息时,可仅获取目标场所中支持通知消息提醒的家居设备的使用状态,当检测到支持通知消息提醒的家居设备中存在处于使用状态的设备时,则可将其确定为第一家居设备。在一种可能的场景下,可能存在多个支持通知消息提醒的家居设备处于使用状态,此时,根据设备优先级在多个处于使用状态且支持通知消息提醒的家居设备中确定第一家居设备。
其中,设备优先级指用于通知消息提醒的优先级。可选的,设备优先级可为电视>音箱> 投影设备。
示意性的,当移动终端接收到目标通知消息后,检测到电视或投影设备处于使用状态时,可将电视确定为第一家居设备,可在电视或投影设备上显示文字或图像,提醒用户有通知消息;当移动终端检测到音箱处于使用状态时,可将音箱确定为第一家居设备,在通过播放语音或特殊音乐提醒用户有通知消息。而当检测到电视与音箱均处于使用状态时,由于电视优先级高于音箱优先级,因此,可将电视确定为第一家居设备,即通过电视进行通知消息提醒。
当终端接收到来电通知消息时,用户可能会对来电进行接听,在接通过程中,家居设备可能正处于使用状态,使用状态下可能正在进行音视频播放或者产生较大噪声,对来电接听造成干扰。因此,在一种可能的实施方式中,在用户进行来电接听时,终端对正处于使用状态的家居设备进行调整,降低对通话的干扰。下面将通过示例性实施例进行说明。
请参考图4,其示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图,本实施例以该方法用于图1所示的移动终端110为例进行说明,该方法可以包括如下步骤。
步骤401,响应于接收到来电通知消息且处于目标场所,确定目标场所中的第一家居设备,第一家居设备是用于进行通知消息提醒的家居设备。
在一种可能的实施方式中,当接收到来电通知消息且处于目标场所时,确定目标场所中的第一家居设备。
步骤402,向第一家居设备发送第一指令,第一家居设备用于根据第一指令通过预设方式进行通知消息提醒。
步骤402实施方式可参考上述步骤202,本实施例不在此赘述。
步骤403,确定目标场所中处于使用状态的第二家居设备。
在一种可能的实施方式中,当移动终端向第一家居设备发送第一指令后,确定目标场所中处于使用状态的第二家居设备,便于用户对来电接听后,及时控制第二家居设备的使用状态,降低对通话的干扰。
步骤404,响应于接收到对来电接听操作,向第二家居设备发送第三指令,第二家居设备用于根据第三指令调整工作参数。
在一种可能的实施方式中,当移动终端接收到来电接听操作后,向第二家居设备发送第三指令,调整第二家居设备的工作参数,降低对通话的干扰。其中,不同家居设备对应不同第三指令。
可选的,当第二家居设备为具有音视频播放功能的家居设备时,第三指令用于指示调整音量或暂停播放。
示意性的,当第二家居设备为电视、音响或投影设备时,接收到第三指令后,可降低电视、音响或投影设备的播放音量或直接暂停播放,避免音量过大产生的影响。
可选的,当第二家居设备为使用状态下产生噪声的家居设备时,第三指令用于指示调整工作模式或者暂停工作,其中,调整工作模式后第二家居设备产生的噪声低于调整工作模式前第二家居设备产生的噪声,且使用状态下存在噪声的家居设备包括洗衣机、空气净化器、清扫机器人和抽油烟机中的至少一种。
示意性的,当第二家居设备为洗衣机时,第三指令指示洗衣机暂停工作;当第二家居设备为空气净化器时,第三指令指示空气净化器调整排风系统的工作参数,降低噪音;当第二家居设备为清扫机器人时,第三指令指示清扫机器人暂停工作;当第二家居设备为抽油烟机时,第三指令指示抽油烟机调整排气系统的工作参数,降低噪音。
在另一种可能的实施方式中,为避免调整所有处于工作状态的家居设备的工作参数,移动终端将会进一步确定在目标场所中所在区域,进而仅调整该区域内处于工作状态的第二家居设备。
可选的,移动终端可通过与其他家居设备间的蓝牙连接信号强度确定待调整第二家居设 备的区域范围,或者通过室内定位组件得到移动终端所在位置,并将该位置预设范围确定为待调整第二家居设备的区域范围,比如,该预设范围可为10m。
且移动终端接收到来电接听操作,即接收到对目标通知消息的消息处理操作后,除了向第二家居设备发送第三指令外,还会向第一家居设备发送第二指令,指示其停止通知消息提醒。
步骤405,响应于接收到来电挂断操作,向第二家居设备发送第四指令,第二家居设备用于根据第四指令还原工作参数。
在一种可能的实施方式中,当移动终端接收到来电挂断操作后,向第二家居设备发送第四指令,指示第二家居设备还原工作参数,即第二家居设备恢复至原工作状态,避免对第二家居设备工作造成长时间影响。
示意性的,结合上述步骤实施例,当第二家居设备为洗衣机或清扫机器人时,接收到第四指令后,将会重新启动,继续工作;当第二家居设备为空气净化器或抽油烟机时,接收到第四指令后,将排风系统或排气系统的工作参数调整至原工作参数,继续工作。
本实施例中,在移动终端接收来电接听操作后,通过调整处于使用状态的第二家居设备的工作参数,降低第二家居设备所产生的音量,进而降低对通话的干扰。
当用户在家时,移动终端可能处于使用状态,也可能处于非使用状态。当移动终端处于使用状态时,表明用户当前正在使用移动终端,大概率上并不会错过移动终端的消息通知,此时,无需利用家居设备进行提醒,避免不必要的功耗或对家居设备工作的影响。因此,在一种可能的实施方式中,在接收到消息通知时,首先确定当前设备的使用状态,根据使用状态判断是否利用家居设备进行消息提醒。下面将以示例性实施例进行说明。
请参考图5,其示出了本申请另一个示例性实施例提供的通知提醒方法的方法流程图,本实施例以该方法用于图1所示的移动终端110为例进行说明,该方法可以包括如下步骤。
步骤501,响应于接收到目标通知消息且处于目标场所,确定当前设备状态,当前设备状态包括使用状态或非使用状态。
在一种可能的实施方式中,为确定是否需要利用家居设备进行通知消息提醒,当移动终端接收到目标通知消息且处于目标场所时,首先确定当前设备状态,其中设备状态包括使用状态和非使用状态。若设备处于使用状态,则无需利用家居设备进行通知消息提醒;若设备处于非使用状态,则需要利用家居设备进行通知消息提醒。可选的,确定当前设备的状态时,可采用如下两种方式:
一、获取上一次亮屏时刻与当前时刻之间的时间间隔,若时间间隔大于间隔阈值,确定移动终端处于非使用状态。
在一种可能的实施方式中,当移动终端上一次亮屏时刻与当前时刻之间的时间间隔较长时,表明用户长时间未使用移动终端,因此当时间间隔大于间隔阈值时,可确定移动终端处于非使用状态。比如,该间隔阈值可为10min。
二、响应于与可穿戴式设备之间的连接中断,确定移动终端处于非使用状态。
在一种可能的实施方式中,当移动终端与可穿戴设备之间的连接中断时,表明用户当前与移动终端距离较远,确定移动终端处于非使用状态。
可选的,可穿戴设备可为智能手环或智能手表。本申请实施例对可穿戴设备的具体类型不做限定。
步骤502,响应于移动终端处于非使用状态,确定目标场所中第一家居设备。
在一种可能的实施方式中,当确定移动终端处于非使用状态后,确定目标场所中的第一家居设备,进而通过第一家居设备进行通知消息提醒。
步骤503,向第一家居设备发送第一指令,第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒。
步骤504,响应于满足停止提醒条件,向第一家居设备发送第二指令,第一家居设备用于根据第二指令停止通知消息提醒。
步骤503与步骤504的实施方式可参考上述步骤202与步骤203,本申请实施例不再赘述。
本实施例中,在利用家居设备进行通知消息提醒前,首先判断当前移动终端的设备状态,仅在移动终端处于非使用状态时利用家居设备进行通知消息的提醒,避免产生不必要的功耗或对家居设备的工作状态产生影响。
请参考图6,其示出了本申请一个实施例提供的通知提醒装置的结构框图。该装置可以通过软件、硬件或者两者的结合实现成为移动终端的全部或一部分。该装置包括:
第一确定模块601,用于响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;
第一发送模块602,用于向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;
第二发送模块603,用于响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
可选的,所述第一确定模块601,包括:
第一确定单元,用于将所述目标场所中的灯具确定为所述第一家居设备,所述第一家居设备用于通过灯光闪烁进行通知消息提醒;
和/或,
第二确定单元,用于获取所述目标场所中家居设备的设备状态;将处于使用状态且支持通知消息提醒的家居设备确定为所述第一家居设备,其中,支持通知消息提醒的家居设备包括电视、音箱、投影设备中的至少一种,且支持通知消息提醒的家居设备用于通过语音或图像中的至少一种方式进行通知消息提醒。
可选的,所述第一确定单元还用于:
响应于所述目标场所中存在处于使用状态的灯具,将处于使用状态的灯具确定为所述第一家居设备;
响应于所述目标场所中不存在处于使用状态的灯具,将满足预设条件的灯具确定为所述第一家居设备,所述预设条件包括时间条件、使用频率条件以及其他家居设备使用状态条件中的至少一种。
可选的,所述第一家居设备为所述灯具。
可选的,所述第一发送模块602,包括:
第三确定单元,用于确定所述目标通知消息的目标消息类型,所述目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种;
第一发送单元,用于根据所述目标消息类型向所述灯具发送所述第一指令,所述第一指令用于指示所述灯具的灯光闪烁方式,且所述灯具对不同消息类型的通知消息进行提醒时采用不同的灯光闪烁方式。
可选的,所述目标通知消息为来电通知消息。
可选的,所述装置还包括:
第二确定模块,用于确定所述目标场所中处于使用状态的第二家居设备。
第三发送模块,用于响应于接收到对来电接听操作,向所述第二家居设备发送第三指令,所述第二家居设备用于根据所述第三指令调整工作参数。
可选的,当所述第二家居设备为具有音视频播放功能的家居设备时,所述第三指令用于指示调整音量或暂停播放。
可选的,当所述第二家居设备为使用状态下产生噪声的家居设备时,所述第三指令用于 指示调整工作模式或者暂停工作,其中,调整工作模式后所述第二家居设备产生的噪声低于调整工作模式前所述第二家居设备产生的噪声,且使用状态下存在噪声的家居设备包括洗衣机、空气净化器、清扫机器人和抽油烟机中的至少一种。
可选的,所述装置还包括:
第四发送模块,用于响应于接收到来电挂断操作,向所述第二家居设备发送第四指令,所述第二家居设备用于根据所述第四指令还原所述工作参数。
可选的,所述第二发送模块603,包括:
第二发送单元,用于响应于接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令;
或,
第三发送单元,用于响应于在预设时长内未接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令。
可选的,所述第一确定模块601,还包括:
第四确定单元,用于响应于接收到目标通知消息且处于目标场所,确定当前设备状态,所述当前设备状态包括使用状态或非使用状态;
第五确定单元,用于响应于所述移动终端处于非使用状态,确定所述目标场所中的所述第一家居设备。
可选的,所述第四确定单元,还用于:
获取上一次亮屏时刻与当前时刻之间的时间间隔;若所述时间间隔大于间隔阈值,确定所述移动终端处于非使用状态;
和/或,
响应于与可穿戴式设备之间的连接中断,确定所述移动终端处于非使用状态。
本申请实施例中,当移动终端接收到目标通知消息且处于目标场所时,确定用于进行通知消息提醒的第一家居设备,并向第一家居设备发送第一指令,第一家居设备即可通过预设方式进行通知消息提醒,避免用户因未得知移动终端的消息提醒而错失重要消息,且在满足停止提醒条件后,移动终端向第一家居设备发送第二指令,第一家居设备停止通知消息提醒,避免因消息提醒时间过长而影响家居设备的正常工作。
本实施例中,移动终端将处于使用状态的灯具或满足预设条件的灯具确定为第一家居设备,通过灯具的闪烁方式进行通知消息提醒,避免灯具进行通知消息提醒时,用户在远距离处并未接收到通知消息提醒,提高通知消息提醒成功率。
且本实施例中,移动终端会根据不同目标消息类型向灯具发送第一指令,使灯具通过不同的闪烁方式提醒用户,便于用户快速区分当前目标通知消息的类型,提高通知消息提醒的辨识度。
本实施例中,在移动终端接收来电接听操作后,通过调整处于使用状态的第二家居设备的工作参数,降低第二家居设备所产生的音量,进而降低对通话的干扰。
本实施例中,在利用家居设备进行通知消息提醒前,首先判断当前移动终端的设备状态,仅在移动终端处于非使用状态时利用家居设备进行通知消息的提醒,避免产生不必要的功耗或对家居设备的工作状态产生影响。
请参考图7,其示出了本申请一个示例性实施例提供的终端的结构方框图。本申请中的终端可以包括一个或多个如下部件:处理器701、存储器702、接收器703和发射器704。
处理器701可以包括一个或者多个处理核心。处理器701利用各种接口和线路连接整个终端内的各个部分,通过运行或执行存储在存储器702内的指令、程序、代码集或指令集,以及调用存储在存储器702内的数据,执行终端的各种功能和处理数据。可选地,处理器701可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field- Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器701可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器701中,单独通过一块芯片进行实现。
存储器702可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器702包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器702可用于存储指令、程序、代码、代码集或指令集。存储器702可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本)等。
接收器703和发射器704可以实现成为一个通信组件,该通信组件可以是一块通信芯片。
可选的,终端还可以包括显示屏。显示屏是用于显示用户界面的显示组件。可选的,该显示屏还具有触控功能,通过触控功能,用户可以使用手指、触摸笔等任何适合的物体在显示屏上进行触控操作。
除此之外,本领域技术人员可以理解,上述附图所示出的终端的结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端中还包括摄像组件、射频电路、输入单元、传感器(比如加速度传感器、角速度传感器、光线传感器等等)、音频电路、WiFi模块、电源、蓝牙模块等部件,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,该存储介质存储有至少一条指令,至少一条指令用于被处理器执行以实现如上述实施例所述的通知提醒方法。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例提供的通知提醒方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (20)
- 一种通知提醒方法,所述方法用于移动终端,所述方法包括:响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
- 根据权利要求1所述的方法,其中,所述确定所述目标场所中的第一家居设备,包括:将所述目标场所中的灯具确定为所述第一家居设备,所述第一家居设备用于通过灯光闪烁进行通知消息提醒;和/或,获取所述目标场所中家居设备的设备状态;将处于使用状态且支持通知消息提醒的家居设备确定为所述第一家居设备,其中,支持通知消息提醒的家居设备包括电视、音箱、投影设备中的至少一种,且支持通知消息提醒的家居设备用于通过语音或图像中的至少一种方式进行通知消息提醒。
- 根据权利要求2所述的方法,其中,所述将所述目标场所中的灯具确定为所述第一家居设备,包括:响应于所述目标场所中存在处于使用状态的灯具,将处于使用状态的灯具确定为所述第一家居设备;响应于所述目标场所中不存在处于使用状态的灯具,将满足预设条件的灯具确定为所述第一家居设备,所述预设条件包括时间条件、使用频率条件以及其他家居设备使用状态条件中的至少一种。
- 根据权利要求2所述的方法,其中,所述第一家居设备为所述灯具;所述向所述第一家居设备发送第一指令,包括:确定所述目标通知消息的目标消息类型,所述目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种;根据所述目标消息类型向所述灯具发送所述第一指令,所述第一指令用于指示所述灯具的灯光闪烁方式,且所述灯具对不同消息类型的通知消息进行提醒时采用不同的灯光闪烁方式。
- 根据权利要求1至4任一所述的方法,其中,所述目标通知消息为来电通知消息;所述向所述第一家居设备发送第一指令之后,所述方法还包括:确定所述目标场所中处于使用状态的第二家居设备;响应于接收到对来电接听操作,向所述第二家居设备发送第三指令,所述第二家居设备用于根据所述第三指令调整工作参数。
- 根据权利要求5所述的方法,其中,当所述第二家居设备为具有音视频播放功能的家居设备时,所述第三指令用于指示调整音量或暂停播放;当所述第二家居设备为使用状态下产生噪声的家居设备时,所述第三指令用于指示调整 工作模式或者暂停工作,其中,调整工作模式后所述第二家居设备产生的噪声低于调整工作模式前所述第二家居设备产生的噪声,且使用状态下存在噪声的家居设备包括洗衣机、空气净化器、清扫机器人和抽油烟机中的至少一种。
- 根据权利要求5所述的方法,其中,所述向所述第二家居设备发送第三指令之后,所述方法还包括:响应于接收到来电挂断操作,向所述第二家居设备发送第四指令,所述第二家居设备用于根据所述第四指令还原所述工作参数。
- 根据权利要求1至4任一所述的方法,其中,所述响应于满足停止提醒条件,向所述第一家居设备发送第二指令,包括:响应于接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令;或,响应于在预设时长内未接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令。
- 根据权利要求1至4任一所述的方法,其中,所述响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,还包括:响应于接收到目标通知消息且处于目标场所,确定当前设备状态,所述当前设备状态包括使用状态或非使用状态;响应于所述移动终端处于非使用状态,确定所述目标场所中的所述第一家居设备。
- 根据权利要求9所述的方法,其中,所述确定当前设备状态,包括:获取上一次亮屏时刻与当前时刻之间的时间间隔;若所述时间间隔大于间隔阈值,确定所述移动终端处于非使用状态;和/或,响应于与可穿戴式设备之间的连接中断,确定所述移动终端处于非使用状态。
- 一种通知提醒装置,所述装置包括:第一确定模块,用于响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;第一发送模块,用于向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;第二发送模块,用于响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
- 一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行,所述处理器用于:响应于接收到目标通知消息且处于目标场所,确定所述目标场所中的第一家居设备,所述第一家居设备是用于进行通知消息提醒的家居设备;向所述第一家居设备发送第一指令,所述第一家居设备用于根据所述第一指令通过预设方式进行通知消息提醒;响应于满足停止提醒条件,向所述第一家居设备发送第二指令,所述第一家居设备用于根据所述第二指令停止通知消息提醒。
- 根据权利要求12所述的终端,其中,所述处理器还用于:将所述目标场所中的灯具确定为所述第一家居设备,所述第一家居设备用于通过灯光闪烁进行通知消息提醒;和/或,获取所述目标场所中家居设备的设备状态;将处于使用状态且支持通知消息提醒的家居设备确定为所述第一家居设备,其中,支持通知消息提醒的家居设备包括电视、音箱、投影设备中的至少一种,且支持通知消息提醒的家居设备用于通过语音或图像中的至少一种方式进行通知消息提醒。
- 根据权利要求13所述的终端,其中,所述处理器还用于:响应于所述目标场所中存在处于使用状态的灯具,将处于使用状态的灯具确定为所述第一家居设备;响应于所述目标场所中不存在处于使用状态的灯具,将满足预设条件的灯具确定为所述第一家居设备,所述预设条件包括时间条件、使用频率条件以及其他家居设备使用状态条件中的至少一种。
- 根据权利要求13所述的终端,其中,所述第一家居设备为所述灯具;所述处理器还用于:确定所述目标通知消息的目标消息类型,所述目标消息类型包括来电通知消息、短信通知消息和应用通知消息中的至少一种;根据所述目标消息类型向所述灯具发送所述第一指令,所述第一指令用于指示所述灯具的灯光闪烁方式,且所述灯具对不同消息类型的通知消息进行提醒时采用不同的灯光闪烁方式。
- 根据权利要求12至15任一所述的终端,其中,所述目标通知消息为来电通知消息;所述处理器还用于:确定所述目标场所中处于使用状态的第二家居设备;响应于接收到对来电接听操作,向所述第二家居设备发送第三指令,所述第二家居设备用于根据所述第三指令调整工作参数。
- 根据权利要求16所述的终端,其中,当所述第二家居设备为具有音视频播放功能的家居设备时,所述第三指令用于指示调整音量或暂停播放;当所述第二家居设备为使用状态下产生噪声的家居设备时,所述第三指令用于指示调整工作模式或者暂停工作,其中,调整工作模式后所述第二家居设备产生的噪声低于调整工作模式前所述第二家居设备产生的噪声,且使用状态下存在噪声的家居设备包括洗衣机、空气净化器、清扫机器人和抽油烟机中的至少一种。
- 根据权利要求16所述的终端,其中,所述处理器还用于:响应于接收到来电挂断操作,向所述第二家居设备发送第四指令,所述第二家居设备用于根据所述第四指令还原所述工作参数。
- 根据权利要求12至15任一所述的终端,其中,所述处理器还用于:响应于接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令;或,响应于在预设时长内未接收到对所述目标通知消息的消息处理操作,确定满足所述停止提醒条件,并向所述第一家居设备发送所述第二指令。
- 一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至10任一所述的通知提醒方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011303362.X | 2020-11-19 | ||
CN202011303362.XA CN112422733A (zh) | 2020-11-19 | 2020-11-19 | 通知提醒方法、装置、终端及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022105444A1 true WO2022105444A1 (zh) | 2022-05-27 |
Family
ID=74773138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/121302 WO2022105444A1 (zh) | 2020-11-19 | 2021-09-28 | 通知提醒方法、装置、终端及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112422733A (zh) |
WO (1) | WO2022105444A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022112A (zh) * | 2022-05-30 | 2022-09-06 | 海信视像科技股份有限公司 | 终端设备、智能家居系统及信息同步方法 |
CN115938086A (zh) * | 2022-12-05 | 2023-04-07 | 陕西景特智能科技有限公司 | 灶前阀的状态提醒方法和装置 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112422733A (zh) * | 2020-11-19 | 2021-02-26 | Oppo广东移动通信有限公司 | 通知提醒方法、装置、终端及存储介质 |
CN115378749B (zh) * | 2021-05-19 | 2024-01-26 | 云米互联科技(广东)有限公司 | 基于区域划分的提醒消息展示方法及装置 |
CN113806105B (zh) * | 2021-08-02 | 2023-10-31 | 荣耀终端有限公司 | 消息处理方法、装置、电子设备和可读存储介质 |
CN117793242A (zh) * | 2022-09-28 | 2024-03-29 | 华为技术有限公司 | 一种消息处理方法 |
CN115852635B (zh) * | 2023-03-03 | 2023-05-09 | 无锡小天鹅电器有限公司 | 洁净装置及衣物处理装置的控制方法、装置、系统及介质 |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105225457A (zh) * | 2015-10-28 | 2016-01-06 | 努比亚技术有限公司 | 通过智能家居设备进行信息提示的系统、装置和方法 |
CN105306718A (zh) * | 2015-11-02 | 2016-02-03 | 小米科技有限责任公司 | 事件提示方法及装置 |
CN105791532A (zh) * | 2015-12-31 | 2016-07-20 | 深圳市金立通信设备有限公司 | 一种来电提醒的方法以及终端 |
JP2017220696A (ja) * | 2016-06-03 | 2017-12-14 | Necプラットフォームズ株式会社 | 表示システム、構内交換機、表示方法、生成方法及びプログラム |
CN109507902A (zh) * | 2018-12-06 | 2019-03-22 | 安徽海豚新媒体产业发展有限公司 | 一种基于智能家居设备的消息智能推送方法 |
CN110191241A (zh) * | 2019-06-14 | 2019-08-30 | 华为技术有限公司 | 一种语音通信方法及相关装置 |
CN110648115A (zh) * | 2019-09-20 | 2020-01-03 | 深圳Tcl新技术有限公司 | 事件提醒方法、装置、设备及存储介质 |
CN111161515A (zh) * | 2018-11-07 | 2020-05-15 | 奇酷互联网络科技(深圳)有限公司 | 提醒信息推送方法、终端设备和计算机可读存储介质 |
CN111586231A (zh) * | 2019-02-18 | 2020-08-25 | 珠海格力电器股份有限公司 | 一种提醒方法、装置及计算机可读存储介质 |
CN112422733A (zh) * | 2020-11-19 | 2021-02-26 | Oppo广东移动通信有限公司 | 通知提醒方法、装置、终端及存储介质 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103900206B (zh) * | 2014-03-25 | 2017-02-08 | 四川长虹电器股份有限公司 | 一种信息传输方法及空调 |
CN104125687B (zh) * | 2014-07-07 | 2017-03-22 | 联想(北京)有限公司 | 智能灯系统的控制方法和装置以及移动终端和智能灯 |
CN104486504B (zh) * | 2014-12-16 | 2018-05-01 | 上海斐讯数据通信技术有限公司 | 一种手机来电提醒方法和系统 |
CN105223818A (zh) * | 2015-09-21 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | 一种来电接听方法及系统 |
CN105391856A (zh) * | 2015-10-29 | 2016-03-09 | 小米科技有限责任公司 | 事件提醒的方法和装置 |
CN105743749A (zh) * | 2016-03-15 | 2016-07-06 | 北京小米移动软件有限公司 | 任务提醒方法、装置及系统 |
CN108427301A (zh) * | 2018-03-30 | 2018-08-21 | 上海思愚智能科技有限公司 | 智能家居设备的控制方法、系统和控制设备 |
KR20190120602A (ko) * | 2018-04-16 | 2019-10-24 | (주) 코콤 | 스마트 세대기기 |
CN110913248A (zh) * | 2019-12-13 | 2020-03-24 | 上海邸客网络科技有限公司 | 远程判断酒店客房是否有用户入住的方法 |
-
2020
- 2020-11-19 CN CN202011303362.XA patent/CN112422733A/zh active Pending
-
2021
- 2021-09-28 WO PCT/CN2021/121302 patent/WO2022105444A1/zh active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105225457A (zh) * | 2015-10-28 | 2016-01-06 | 努比亚技术有限公司 | 通过智能家居设备进行信息提示的系统、装置和方法 |
CN105306718A (zh) * | 2015-11-02 | 2016-02-03 | 小米科技有限责任公司 | 事件提示方法及装置 |
CN105791532A (zh) * | 2015-12-31 | 2016-07-20 | 深圳市金立通信设备有限公司 | 一种来电提醒的方法以及终端 |
JP2017220696A (ja) * | 2016-06-03 | 2017-12-14 | Necプラットフォームズ株式会社 | 表示システム、構内交換機、表示方法、生成方法及びプログラム |
CN111161515A (zh) * | 2018-11-07 | 2020-05-15 | 奇酷互联网络科技(深圳)有限公司 | 提醒信息推送方法、终端设备和计算机可读存储介质 |
CN109507902A (zh) * | 2018-12-06 | 2019-03-22 | 安徽海豚新媒体产业发展有限公司 | 一种基于智能家居设备的消息智能推送方法 |
CN111586231A (zh) * | 2019-02-18 | 2020-08-25 | 珠海格力电器股份有限公司 | 一种提醒方法、装置及计算机可读存储介质 |
CN110191241A (zh) * | 2019-06-14 | 2019-08-30 | 华为技术有限公司 | 一种语音通信方法及相关装置 |
CN110648115A (zh) * | 2019-09-20 | 2020-01-03 | 深圳Tcl新技术有限公司 | 事件提醒方法、装置、设备及存储介质 |
CN112422733A (zh) * | 2020-11-19 | 2021-02-26 | Oppo广东移动通信有限公司 | 通知提醒方法、装置、终端及存储介质 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022112A (zh) * | 2022-05-30 | 2022-09-06 | 海信视像科技股份有限公司 | 终端设备、智能家居系统及信息同步方法 |
CN115022112B (zh) * | 2022-05-30 | 2023-10-31 | 海信视像科技股份有限公司 | 终端设备、智能家居系统及信息同步方法 |
CN115938086A (zh) * | 2022-12-05 | 2023-04-07 | 陕西景特智能科技有限公司 | 灶前阀的状态提醒方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN112422733A (zh) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022105444A1 (zh) | 通知提醒方法、装置、终端及存储介质 | |
US8548523B2 (en) | Methods, apparatus, and computer program products for changing ring method based on type of connected device | |
US10031719B2 (en) | Audio system with multi-screen application | |
JP6760267B2 (ja) | 情報処理装置、制御方法、およびプログラム | |
WO2017035967A1 (zh) | 智能音箱音量的控制方法、装置、智能音箱和移动终端 | |
KR102667645B1 (ko) | 복수의 전자 장치들을 연동하여 알림을 제공하는 방법 및 장치 | |
CN104660795A (zh) | 一种信息处理的方法及电子设备 | |
KR20150099885A (ko) | 전자 장치의 기능 및 리소스 운용 방법 | |
US10405412B2 (en) | Use of a lighting system to indicate application status | |
CN105025164A (zh) | 通信信息管理系统及方法 | |
WO2016029445A1 (zh) | 消息处理方法、系统及相关设备 | |
CN106664336B (zh) | 处理通信事件的方法和终端 | |
WO2024055494A1 (zh) | 基于蓝牙耳机的通话方法、装置及存储介质 | |
CN111901211A (zh) | 控制方法、设备及存储介质 | |
CN105391856A (zh) | 事件提醒的方法和装置 | |
US20150181367A1 (en) | Communications via a receiving device network | |
CN107809545B (zh) | 智能设备的控制方法、装置及存储介质 | |
CN109923848B (zh) | 一种设备音量的控制方法、设备以及服务器 | |
US12075220B2 (en) | Smart routing for audio output devices | |
CN109639905A (zh) | 来电提醒方法及移动终端 | |
JP2002027142A (ja) | 電化製品の優先切換方法、電化製品の優先切換装置および優先切換携帯端末、並びにコンピュータが読取可能な記録媒体 | |
WO2022257141A1 (zh) | 耳机的状态提醒方法、移动终端及可读存储介质 | |
KR20230071634A (ko) | 전자 장치 및 그 동작 방법 | |
CN109151214B (zh) | 一种状态提醒方法及移动终端 | |
US20200213261A1 (en) | Selecting a modality for providing a message based on a mode of operation of output devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21893595 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21893595 Country of ref document: EP Kind code of ref document: A1 |