CN115086474A - Reminding method and device, intelligent earphone, intelligent terminal and storage medium - Google Patents

Reminding method and device, intelligent earphone, intelligent terminal and storage medium Download PDF

Info

Publication number
CN115086474A
CN115086474A CN202210541258.7A CN202210541258A CN115086474A CN 115086474 A CN115086474 A CN 115086474A CN 202210541258 A CN202210541258 A CN 202210541258A CN 115086474 A CN115086474 A CN 115086474A
Authority
CN
China
Prior art keywords
alarm clock
control strategy
reminding
preset condition
equipment
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
CN202210541258.7A
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.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations 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 Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202210541258.7A priority Critical patent/CN115086474A/en
Publication of CN115086474A publication Critical patent/CN115086474A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The embodiment of the invention relates to a reminding method, a reminding device, an intelligent earphone, an intelligent terminal and a storage medium, wherein the reminding method comprises the following steps: acquiring a wearing state of first equipment; acquiring parameter information of a target object; determining a control strategy of a first alarm clock according to the wearing state and the parameter information; and under the condition that the first alarm clock meets the preset condition, controlling the first alarm clock based on the control strategy, and executing corresponding control operation on the first alarm clock in the first equipment according to different wearing states and different scenes of different parameter information combinations, thereby realizing intelligent reminding.

Description

Reminding method and device, intelligent earphone, intelligent terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a reminding method and device, an intelligent earphone, an intelligent terminal and a storage medium.
Background
With the rapid development of communication technology and the continuous improvement of living standard of people, mobile terminals such as mobile phones have become essential for people, and people hope to endow the mobile terminals with more functions besides using the mobile terminals for communication. Due to the improvement of the modern human time concept, alarm clock reminding becomes one of the necessary functions of the mobile terminal.
In the related art, the alarm clock can be reminded through the earphone by matching the mobile terminal with the earphone, but the alarm clock reminding experience is poor easily caused by the problem that the user is in a sleep state, the problem that the user wears the earphone, or the problem that the earphone is connected with the terminal.
Disclosure of Invention
In view of this, to solve the technical problems or some technical problems, embodiments of the present invention provide a reminding method, an apparatus, an intelligent headset, an intelligent terminal, and a storage medium.
In a first aspect, an embodiment of the present invention provides a reminding method, which is applied to a first device, and includes:
acquiring a wearing state of first equipment;
acquiring parameter information of a target object;
determining a control strategy of a first alarm clock according to the wearing state and the parameter information;
and under the condition that the first alarm clock is determined to meet the preset condition, controlling the first alarm clock based on the control strategy.
In a possible embodiment, the determining a control policy of the first alarm clock according to the wearing state and the parameter information includes:
when the wearing state is wearing and the parameter information is a sleep state, determining that the control strategy of the first alarm clock is a first control strategy;
when the wearing state is wearing and the parameter information is in a non-sleep state, determining that the control strategy of the first alarm clock is a second control strategy;
and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the first alarm clock is a third control strategy.
In a possible embodiment, the controlling the first alarm clock based on the control policy in the case that it is determined that the first alarm clock satisfies a preset condition includes:
when the control strategy is a first control strategy, detecting whether the first alarm clock meets a first preset condition;
when the first alarm clock is detected to meet the first preset condition, controlling the first equipment to trigger first alarm clock reminding according to a first level;
when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger a first alarm clock for reminding according to a second level;
the timestamp corresponding to the first preset condition is earlier than the timestamp corresponding to the second preset condition, and the first level is lower than the second level.
In a possible embodiment, the controlling the first alarm clock based on the control policy in the case that it is determined that the first alarm clock satisfies a preset condition includes:
when the control strategy is a second control strategy, detecting whether the first alarm clock meets a second preset condition;
and when the first alarm clock is detected to meet the second preset condition, controlling the first equipment to trigger the first alarm clock to remind according to the second level.
In one possible embodiment, the method further comprises:
when the control strategy is a third control strategy, controlling the first equipment not to trigger a first alarm clock prompt and generating a first message;
sending the first message to a second device;
the first message carries information that the first device is in a non-wearing state, and the first message is used for indicating the second device to trigger a second alarm clock to remind according to a third level when the second alarm clock meets a second preset condition.
In a possible implementation manner, after the second device triggers the second alarm clock to remind according to the third level when the second alarm clock meets the second preset condition, the method further includes:
triggering a first event when the first device is detected to be in a wearing state;
wherein the first event is used for prompting that the first alarm clock is expired.
In one possible embodiment, the method further comprises:
detecting a connection state between a first device and a second device;
when the connection state is normal connection and the control strategy is a first control strategy or a second control strategy, generating a second message;
sending the second message to a second device;
the second message carries information that the first device is in a wearing state, and the second message is used for indicating that the second device does not trigger first alarm clock reminding;
and when the connection state is abnormal connection and the control strategy is a first control strategy or a second control strategy, executing a step of controlling the first equipment to trigger the first alarm clock for reminding.
In one possible embodiment, the method further comprises:
receiving alarm clock information and equipment time sent by second equipment;
triggering a second event based on the alarm clock information and the device time;
and the second event is used for detecting whether the first alarm clock meets a preset condition or not.
In one possible embodiment, the method further comprises:
after receiving the device time, sending a third message to the second device, so that the second device returns a fourth message to the first device in response to the third message;
and correcting the equipment time according to the third message and the fourth message.
In a second aspect, an embodiment of the present invention provides a reminding method, which is applied to a second device, and includes:
receiving wearing state and parameter information sent by first equipment;
determining a control strategy of a second alarm clock according to the wearing state and the parameter information;
and under the condition that the second alarm clock is determined to meet the preset condition, controlling the second alarm clock based on the control strategy.
In a possible embodiment, the determining a control policy of the second alarm clock according to the wearing state and the parameter information includes:
when the wearing state is wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fourth control strategy;
and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fifth control strategy.
In a possible embodiment, the controlling the second alarm clock based on the control policy in the case that it is determined that the second alarm clock satisfies a preset condition includes:
when the control strategy is a fifth control strategy, detecting whether the second alarm clock meets a second preset condition;
and when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
In one possible embodiment, the method further comprises:
and when the control strategy is a fourth control strategy, controlling the second equipment not to trigger a second alarm clock for reminding.
In one possible embodiment, the method further comprises:
detecting a connection state between the second device and the first device;
and when the connection state is abnormal connection and the second alarm clock meets the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
In a third aspect, an embodiment of the present invention provides a reminding apparatus, which is applied to a first device, and includes:
the acquisition module is used for acquiring the wearing state of the first equipment and acquiring the parameter information of the target object;
the determining module is used for determining a control strategy of the first alarm clock according to the wearing state and the parameter information;
and the control module is used for controlling the first alarm clock based on the control strategy under the condition that the first alarm clock is determined to meet the preset condition.
In a fourth aspect, an embodiment of the present invention provides a reminding apparatus, which is applied to a second device, and includes:
the receiving module is used for receiving the wearing state and the parameter information sent by the first equipment;
the determining module is used for determining a control strategy of the second alarm clock according to the wearing state and the parameter information;
and the control module is used for controlling the second alarm clock based on the control strategy under the condition that the second alarm clock is determined to meet the preset condition.
In a fifth aspect, an embodiment of the present invention provides an intelligent headset, including: the processor is used for executing the reminding program stored in the memory so as to realize the reminding method of any one of the first aspect.
In a sixth aspect, an embodiment of the present invention provides an intelligent terminal, including: a processor and a memory, wherein the processor is used for executing the reminding program stored in the memory so as to realize the reminding method of any one of the second aspect.
In a seventh aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the reminding method in the first aspect or any one of the second aspects.
According to the reminding scheme provided by the embodiment of the invention, the wearing state of the first equipment is obtained; acquiring parameter information of a target object; determining a control strategy of a first alarm clock according to the wearing state and the parameter information; and under the condition that the first alarm clock meets the preset condition, controlling the first alarm clock based on the control strategy, and executing corresponding control operation on the first alarm clock in the first equipment according to different wearing states and different scenes of different parameter information combinations, thereby realizing intelligent reminding.
Drawings
Fig. 1 is a schematic flow chart of a reminding method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another reminding method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another reminding method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a further reminding method according to an embodiment of the present invention;
fig. 5 is a signaling interaction diagram of a reminding method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a reminding device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another reminding device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an intelligent headset according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
The reminding method provided by the embodiment of the invention is applied to alarm clock reminding of first equipment and second equipment, wherein the first equipment and the second equipment are both provided with an alarm clock module, namely, the first equipment is provided with a first alarm clock, the second equipment is provided with a second alarm clock, the first equipment can trigger the alarm clock reminding through the first alarm clock, and the second equipment can trigger the alarm clock reminding through the second alarm clock.
The first device and the second device may establish a communication connection in a wireless/wired manner, for example, the first device and the second device are connected by bluetooth; the first device is an intelligent earphone, the first device can comprise one or two earphones, when the first device comprises two earphones, one earphone can be selected from the two earphones to be used as a master earphone, and the other earphone can be used as a slave earphone, and data interaction is carried out with the second device through the master earphone (on the premise of wearing); the two earphones can also perform data interaction with the second device (for example, both the master earphone and the slave earphone can perform data interaction with the second device, and the slave earphone can directly perform data interaction with the second device on the premise that the master earphone is not worn or the master earphone fails to communicate).
The second device may be a fixed terminal or a mobile terminal, for example, a smart phone, a tablet computer, a smart band, or the like.
Fig. 1 is a schematic flow chart of a reminding method according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
and S11, acquiring the wearing state of the first equipment.
The reminding device provided by the embodiment of the invention is applied to a first device, and realizes alarm clock reminding in different scenes through the first device, the first device establishes connection (wired/wireless) with a second device, and acquires alarm clock information from the second device, wherein the alarm clock information can comprise: alarm time, reminder duration, alarm intensity, etc.
Further, a state detection module is provided in the first device, by which a wearing state of the first device can be detected, and the wearing state may include: worn or not worn.
And S12, acquiring the parameter information of the target object.
In this embodiment, the first device is further provided with a parameter obtaining module, and the parameter obtaining module can obtain parameter information of a target object, where the target object is an object wearing the first device, the parameter information may be physiological information of the target object, and the physiological information may include: a sleeping state or a non-sleeping state.
S13, determining a control strategy of the first alarm clock according to the wearing state and the parameter information.
In this embodiment, the wearing state and the parameter information include one or more conditions, different wearing states and different parameter information correspond to different scenes, and the control of the first alarm clock provided in the first device is different in different scenes, so that a control relationship between a combination of a plurality of sets of wearing states and parameter information and the first alarm clock is prestored.
Further, after the wearing state and the parameter information are obtained, a control strategy of the first alarm clock is determined from the control relation according to the wearing state and the parameter information, and the control strategy is used for controlling the first alarm clock on the premise that the first alarm clock is started.
And S14, controlling the first alarm clock based on the control strategy under the condition that the first alarm clock is determined to meet the preset condition.
In this embodiment, the first alarm clock is detected in real time by using the alarm clock information according to the obtained control strategy, and the first alarm clock is controlled by using the control strategy when it is determined that the first alarm clock meets the preset condition.
Further, the preset conditions may include: the time corresponding to the first alarm clock reaches the alarm clock time, or the time corresponding to the first alarm clock reaches the alarm clock lead time, which can be understood as a time before the alarm clock time, for example, the alarm clock time is 7:00, and the alarm clock lead time is: 6:50.
Correspondingly, when the time corresponding to the first alarm clock reaches the alarm clock time, controlling the first alarm clock in the first equipment to trigger alarm clock reminding; or when the time corresponding to the first alarm clock reaches the alarm clock lead time, controlling the first alarm clock in the first device to trigger the alarm clock lead prompt.
According to the reminding method provided by the embodiment of the invention, the wearing state of the first equipment is obtained; acquiring parameter information of a target object; determining a control strategy of a first alarm clock according to the wearing state and the parameter information; and under the condition that the first alarm clock meets the preset condition, controlling the first alarm clock based on the control strategy, and executing corresponding control operation on the first alarm clock in the first equipment according to different wearing states and different scenes of different parameter information combinations, thereby realizing intelligent reminding.
Fig. 2 is a schematic flow chart of another reminding method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
and S21, acquiring the wearing state of the first equipment.
And S22, acquiring the parameter information of the target object.
In the embodiment of the present invention, the first device is an earphone, a sensor is disposed in the first device, for example, a first sensor for acquiring a wearing state of the first device is disposed in the first device, a second sensor for acquiring parameter information of the target object is further disposed in the first device, and types of the first sensor and the second sensor may be set according to actual requirements.
In an example, the first sensor may be an infrared sensor, and the wearing state of the first device is determined by detecting the temperature of the surface of the first device (the surface in contact with the ear when the first device is inserted into the ear) by the infrared sensor; instead of the infrared sensor, another sensor may be used to perform the wearing state detection step, for example, the first sensor may be a pyroelectric sensor.
In an example, the second sensor may be a heart rate sensor, the heart rate sensor detects heart rate information of the target object, and the parameter information (sleep state/non-sleep state) of the target object is obtained by comparing the heart rate information with pre-stored heart rate information in a sleep state and heart rate information in a non-sleep state.
Further, the wearing state of the first device acquired by the first sensor may include: worn or not worn; the parameter information of the target object acquired by the second sensor may include: a sleeping state or a non-sleeping state.
For various scenarios where the wearing state and the parameter information can be combined, the wearing state is a wearing state, and the parameter information is a sleep state, for example, will be described below.
S23, when the wearing state is the wearing state and the parameter information is the sleeping state, determining that the control strategy of the first alarm clock is a first control strategy.
In this embodiment, when it is determined that the wearing state is wearing and the parameter information is a sleep state, it indicates that the target object (user) is in a state of wearing the earphone at this time and sleeping, and the control policy of the first alarm clock in the first device corresponding to the scene is determined as the first control policy.
Further, the first control strategy may be understood as: the method includes the steps of reminding by a staged alarm clock (waking up a target object by stages), namely, setting two reminding stages and setting the priority corresponding to each reminding stage, wherein the priority can be understood as different reminding levels corresponding to the reminding stages.
Correspondingly, the triggering conditions corresponding to the two reminding stages are determined by the alarm clock time corresponding to the first alarm clock, for example, the triggering starting time corresponding to the first reminding stage is the alarm clock lead time of the alarm clock time, and the triggering starting time corresponding to the second reminding stage is the alarm clock time.
In an example, assuming that the alarm time is 8:00, the trigger start time corresponding to the first reminding stage may be 7:50, and the trigger start time corresponding to the second reminding stage is 8: 00.
Further, the difference between the alarm clock lead time and the alarm clock time can be set according to actual conditions, for example, 5 minutes, 10 minutes, 20 minutes, and the like, and this embodiment is not particularly limited.
Correspondingly, setting a first preset condition according to the alarm clock lead time corresponding to the first reminding stage (the first preset condition can be understood as a condition for waking up the first alarm clock to carry out alarm clock reminding in the first reminding stage); and setting a second preset condition according to the alarm clock time corresponding to the second reminding stage (the second preset condition can be understood as a condition for waking up a second alarm clock to carry out alarm clock reminding in the second reminding stage).
In this embodiment, the purpose of setting the leading time of the alarm clock is to wake up the target object in the sleep state in advance, and avoid the failure of waking up the target object through only one alarm clock reminding, and in addition, the first reminding stage corresponding to the leading time of the alarm clock is the non-alarm clock time, so that the stage only makes alarm clock reminding with a low reminding degree, so that the target object is changed from the sleep state to the non-sleep state (or from the deep sleep state to the light sleep state), and further, the target object can be smoothly woken up in the second reminding stage.
Correspondingly, a first level corresponding to the first reminding stage and a second level corresponding to the second reminding stage are set, the reminding degree corresponding to the first level is not greater than the reminding degree corresponding to the second level, and the user is reminded of the alarm clock from weak to strong through the two stages.
Further, the first level may be understood as an alarm clock reminding level corresponding to the first alarm clock at the first reminding stage, and the second level may be understood as an alarm clock reminding level corresponding to the first alarm clock at the second reminding stage; the reminder level may include: vibration intensity information, ring volume information, reminder interval information, reminder number information, single reminder duration information, and the like.
In an example, the first level corresponding to the first reminding stage may include: the vibration intensity information of the first alarm clock is "low", the ringing volume information is "20%", the reminding interval information is "5 minutes", the reminding frequency information is "2 times", and the single reminding duration information is "30 seconds".
In an example, the second level corresponding to the second reminder stage may include: the vibration intensity information of the first alarm clock is 'middle', the ringing volume information is '35%', the reminding interval information is '3 minutes', the reminding time information is '3 times', and the single reminding duration information is '40 seconds'.
It should be noted that: the first level and the second level may be set by default (that is, the first device/the second device is set when leaving the factory), or set by self (the user sets by self when setting the alarm clock information), and for this reason, the embodiment does not specifically limit the first level and the second level.
In an alternative of the embodiment of the present invention, the variation trends of the vibration intensity and the ringing volume in the first reminding stage and the second reminding stage may also be set, and accordingly, the initial value and the maximum value of the vibration intensity in each stage, and the initial value and the maximum value of the ringing volume are set.
In one example, the variation trend of each stage is set to be small and large, in the first reminding stage, the initial value of the vibration intensity is set to be low, the highest value is set to be middle, the initial value of the ringing volume is set to be 20%, and the highest value is set to be 35%; in the second reminding stage, the initial value of the vibration intensity is set to be 'middle', the highest value is set to be 'high', the initial value of the ringing volume is set to be '35%', and the highest value is set to be '50%'.
And S24, when the control strategy is a first control strategy, detecting whether the first alarm clock meets a first preset condition.
In this embodiment, when the control policy of the first alarm clock obtained according to the wearing state of the first device and the parameter information of the target object is the first control policy, the detection of the preset condition of the first alarm clock is started, where the preset condition may be understood as a condition for triggering the first alarm clock to perform alarm clock reminding, and the preset condition may include a first preset condition and a second preset condition.
Further, the first preset condition is a condition that the first alarm clock is awakened to perform alarm clock reminding in the first reminding stage, and specifically comprises: and the alarm clock lead time corresponds to the alarm clock time.
In an example, assuming that the alarm time is 8:00 and the alarm lead time is 7:50, the corresponding first preset condition includes: the trigger time of the first alarm clock is not 7: 50.
S25, when the first alarm clock is detected to meet the first preset condition, the first equipment is controlled to trigger first alarm clock reminding according to the first level.
In this embodiment, when it is detected that the first alarm clock satisfies the first preset condition, the first device is controlled to trigger the first alarm clock reminder according to the first level, where the first alarm clock reminder of the first level may be understood as a first reminder stage (alarm clock lead time).
In one example, assume that the alarm clock lead time is: 7:50, the first level comprising: the vibration intensity information of the first alarm clock is 'low', the ringing volume information is '20%', the reminding interval information is '5 minutes', the reminding frequency information is '2 times', the single reminding duration information is '30 seconds', and when the time corresponding to the first alarm clock reaches 7:50, the first alarm clock triggers the first alarm clock to remind according to the vibration intensity information being 'low', the ringing volume information being '20%', the reminding interval information being '5 minutes', the reminding frequency information being '2 times', and the single reminding duration information being '30 seconds'.
In yet another example, assume that the alarm clock lead time is: 7:50, the first level comprising: the initial value of the vibration intensity of the first alarm clock is 'low', the maximum value is 'medium', the initial value of the ring volume is '20%', the maximum value is '35%', the reminding interval information is '5 minutes', the reminding frequency information is '2 times', the single reminding time length information is '30 seconds', the variation trends of the vibration intensity and the ring volume in the same reminding period are from small to large, when the time corresponding to the first alarm clock reaches 7:50, the first alarm clock triggers the first reminding alarm clock according to the vibration intensity being 'low' -medium ', the ring volume being' 20% '35%', the reminding interval information being '5 minutes', the reminding time length information being '2 times', and the single reminding time length information being '30 seconds', the variation trend can be understood that the vibration intensity of the first alarm clock is enhanced from 'low' to 'medium' in the single reminding time length (30S), the ringing sound volume is enhanced from "20%" to "35%".
And S26, when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger a first alarm clock for reminding according to a second level.
In this embodiment, the timestamp corresponding to the first preset condition is earlier than the timestamp corresponding to the second preset condition, and the first level is lower than the second level.
And when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger the first alarm clock to remind according to a second level, wherein the first alarm clock reminding of the second level can be understood as a second reminding stage (alarm clock time).
In one example, assume that the alarm time is: 8:00, the second level comprising: the vibration intensity information of the first alarm clock is 'middle', the ringing volume information is '35%', the reminding interval information is '3 minutes', the reminding frequency information is '3 times', and the single reminding duration information is '40 seconds'; when the fact that the time corresponding to the first alarm clock reaches 8:00 is detected, the first alarm clock is controlled to trigger the first alarm clock to remind according to the fact that the vibration intensity information is 'middle', the ringing volume information is '35%', the reminding interval information is '3 minutes', the reminding time information is '3 times', and the single reminding time length information is '40 seconds'.
In yet another example, assume that the alarm time is: 8:00, the second level comprising: the method comprises the steps that the initial value of the vibration intensity of a first alarm clock is 'middle', the highest value is 'high', the initial value of the ringing volume is '35%', the highest value is '50%', the reminding interval information is '3 minutes', the reminding frequency information is '3 times', the single-time reminding duration information is '40 seconds', when the time corresponding to the first alarm clock is detected to reach 8:00, the first alarm clock is controlled to trigger the first reminding alarm clock according to the conditions that the vibration intensity is 'middle' - 'high', the ringing volume is '35%' - '50%', the reminding interval information is '3 minutes', the reminding frequency information is '3 times', the single-time reminding duration information is '40 seconds', the change trend can be understood that the vibration intensity of the first alarm clock is enhanced from 'middle' to 'high' in the single-time duration (40S), and the ringing volume is enhanced from '35%' to '50%'.
Fig. 3 is a schematic flow chart of another reminding method according to an embodiment of the present invention, and as shown in fig. 3, the method specifically includes:
and S31, acquiring the wearing state of the first equipment.
And S32, acquiring parameter information of the target object.
In the present embodiment, S31-S32 are similar to S21-S22 in fig. 2, and reference may be made to the related description of fig. 2 for brevity, which is not repeated herein.
S33, when the wearing state is the wearing state and the parameter information is the non-sleep state, determining that the control strategy of the first alarm clock is a second control strategy.
In this embodiment, when it is determined that the wearing state is the wearing state and the parameter information is the non-sleep state, it indicates that the target object (user) is wearing the earphone and is not sleeping at this time, and the control policy of the first alarm clock in the first device corresponding to the scene is determined as the second control policy.
Further, when the control strategy is the second control strategy, the target object is in the non-sleep state, so that the alarm clock reminding of the first reminding stage is not triggered, and the alarm clock reminding of the target object can be realized only through the second reminding stage.
And S34, when the control strategy is a second control strategy, detecting whether the first alarm clock meets a second preset condition.
And S35, when the first alarm clock is detected to meet the second preset condition, controlling the first equipment to trigger the first alarm clock to remind according to the second level.
In the present embodiment, S34-S35 are similar to S26 in fig. 2, and reference may be made to the related description of fig. 2 for brevity, which is not repeated herein.
In an alternative scheme of the embodiment of the present invention, when the first device triggers the first alarm clock alert, if it is detected that the wearing state of the first device is switched from wearing to non-wearing (for example, the user takes off the earphone), the first alarm clock in the first device is controlled to end the alert; or, if the fact that a preset key (+ number key, -number key or multifunctional key) in the first device is triggered is detected, controlling a first alarm clock in the first device to finish reminding.
Fig. 4 is a schematic flow chart of another reminding method according to an embodiment of the present invention, and as shown in fig. 4, the method specifically includes:
and S41, acquiring the wearing state of the first equipment.
And S42, acquiring parameter information of the target object.
In the present embodiment, S41-S42 are similar to S21-S22 in fig. 2, and reference may be made to the related description of fig. 2 for brevity, which is not repeated herein.
S43, when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the first alarm clock is a third control strategy.
In this embodiment, when it is determined that the wearing state is not wearing and the parameter information is in any state, indicating that the target object (user) is not wearing at this time, the control policy of the first alarm clock in the first device corresponding to the scene is determined as the third control policy.
Further, when the control policy is the third control policy, because the first device is in the non-wearing state, the first alarm clock in the first device cannot remind the target object, and therefore, the second alarm clock in the second device needs to be used for alarm clock reminding of the target object.
And S44, when the control strategy is a third control strategy, controlling the first device not to trigger a first alarm clock prompt and generating a first message.
And S45, sending the first message to the second equipment.
In this embodiment, based on a third control policy, the first device is controlled not to trigger the first alarm clock reminder (that is, the first alarm clock reminder is not triggered when the first alarm clock meets the preset condition), meanwhile, a first message is generated according to a non-wearing state of the first device (the first message carries information that the first device is in the non-wearing state), the first message is sent to the second device (a terminal device, for example, a mobile phone), when the second device receives the first message, the second device is controlled to detect whether a second alarm clock in the second device meets the second preset condition in response to the first message, and when it is detected that the second alarm clock meets the second preset condition, the second alarm clock reminder is triggered according to a third level.
In the present embodiment, the third level can be understood as: the alarm clock that the second alarm clock corresponds in the second equipment reminds the rank, also can understand that the second equipment triggers the warning to the second alarm clock through the form of power amplifier (speaker + vibration), reminds the rank and can include: vibration intensity information, ring volume information, reminder interval information, reminder number information, single reminder duration information, and the like.
In an example, the third level can include: the vibration intensity information of the second alarm clock is 'middle', the ringing volume information is '40%', the reminding interval information is '5 minutes', the reminding time information is '3 times', and the single reminding duration information is '30 seconds'.
In an alternative of the embodiment of the present invention, the third level may further include: the vibration intensity and the trend of change in the ringing sound volume are set, and accordingly, the initial value and the maximum value of the vibration intensity, and the initial value and the maximum value of the ringing sound volume are set.
In one example, the change trend is set to be small and large, the initial value of the vibration intensity is set to "medium", the highest value is set to "high", the initial value of the ringing sound volume is set to "40%", and the highest value is set to "60%".
In an alternative scheme of the embodiment of the invention, after the second alarm clock of the second device meets a second preset condition and triggers a second alarm clock according to a third level for reminding, when the first device is detected to be in a wearing state, a first event is triggered; wherein the first event is used for prompting that the first alarm clock is expired.
In an example, after the alarm clock reminding is completed, if the earphone is detected to be changed from being not worn to being worn, a first event (an event for prompting the expiration of a first alarm clock) is triggered, where the form of the first event may include: voice broadcast (e.g., you have missed an 8:00 alarm), or re-trigger the alarm reminder of the first alarm (e.g., after the second alarm in the second device triggers the second alarm reminder at 8:00, the user re-brings the headset at 9:00, and the first alarm in the headset re-triggers the alarm reminder of 8: 00).
The first event is triggered through the first equipment, so that the target object can be assisted to recall the expired first alarm clock again, the situation that an important alarm clock is forgotten is avoided, and the target object is reminded to wear the first equipment.
In an alternative scheme of the embodiment of the present invention, before the time corresponding to the second alarm clock reaches the alarm clock time, if it is detected that the wearing state of the first device is switched from non-wearing to wearing, the control policy is switched from the third control policy to the second control policy, and the second device is controlled not to trigger the second alarm clock for reminding.
In an alternative scheme of the embodiment of the present invention, before the time corresponding to the first alarm clock reaches the alarm clock lead time/alarm clock time, if it is detected that the wearing state of the first device is switched from wearing to non-wearing, the control policy is switched from the first control policy/the second control policy to the third control policy, and the first device is controlled not to trigger the first alarm clock prompt.
In the embodiment of the invention, before the wearing state of the first device is acquired, the first device receives alarm clock information and device time sent by the second device; triggering a second event based on the alarm clock information and the device time; the second event is used for detecting whether the first alarm clock meets a preset condition or not.
Further, the target object sets alarm clock information in the second device, the alarm clock information may be understood as alarm clock information of a second alarm clock in the second device, and alarm clock information of a first alarm clock in the first device, the alarm clock information may include: alarm clock time, vibration intensity information, ringing volume information, reminding interval information, reminding frequency information, single reminding duration information and the like, correspondingly, a first level and a second level corresponding to a first alarm clock and a third level corresponding to a second alarm clock can be determined according to the alarm clock information, and a first preset condition and a second preset condition can also be determined according to the alarm clock information.
The second equipment sends the alarm clock information and the equipment time of the second equipment to the first equipment, the first equipment triggers a second event according to the alarm clock information and the equipment time, and the second event is an event for detecting whether the first alarm clock meets a preset condition (a first preset condition or a second preset condition) or not by the first equipment.
Further, detecting whether the first alarm clock satisfies the preset condition may include: after receiving alarm clock information and equipment time sent by second equipment, determining the duration of a timer in first equipment according to the alarm clock information and the equipment time, simultaneously starting the timer, and determining that the first alarm clock meets a preset condition when the timer reaches the duration.
In an example, for example, the alarm clock information is 8:00, the device time is 23:00, the duration of the timer is 9 hours, and when the timer reaches 9h, it is determined that the first alarm clock satisfies the preset condition.
Detecting whether the first alarm clock satisfies the preset condition may further include: and the second equipment synchronizes the time of the equipment to the first equipment in real time or at regular time, and when the synchronized time reaches the alarm clock information, the first alarm clock is determined to meet the preset condition.
In an alternative of the embodiment of the present invention, after receiving the device time, sending a third message to the second device, so that the second device returns a fourth message to the first device in response to the third message; and correcting the equipment time according to the third message and the fourth message.
In an example, after receiving a device time sent by a second device, a first device generates a third message, where the third message carries a first expected sending time of the third message and a second expected sending time of an appointed second device for sending a fourth message, and sends the third message to the second device when the first preset sending time is reached; when receiving the third message, the second device determines first receiving time of the third message, generates a fourth message, the fourth message carries the first receiving time of the third device, and sends the fourth message to the first device when the second expected sending time is reached, when receiving the fourth message, the first device determines second receiving time of the fourth message, the first device determines time delay according to the first expected sending time and the first receiving time of the third message, and the second expected sending time and the second receiving time of the fourth message, and corrects the device time received by the first device according to the time delay.
In an alternative of the embodiment of the present invention, a connection state between the first device and the second device is detected; when the connection state is normal connection and the control strategy is a first control strategy or a second control strategy, generating a second message; sending the second message to a second device; the second message carries information that the first device is in a wearing state, and the second message is used for indicating that the second device does not trigger first alarm clock reminding; and when the connection state is abnormal connection and the control strategy is a first control strategy or a second control strategy, executing a step of controlling the first equipment to trigger the first alarm clock for reminding.
Further, when the connection state between the first device and the second time is normal, the second device synchronizes the wearing state of the first device to the second device so as to ensure normal and complete alarm clock reminding of the first device and the second device.
When the connection state between the first device and the second device is abnormal, as long as the first device obtains the alarm clock information and the device time, the reminding step of the first alarm clock can be executed through the timer in the first device (when the control strategy is the first control strategy or the second control strategy, namely the first device is in the wearing state), so that the problem that the first device cannot carry out alarm clock reminding when the connection state between the first device and the second device is abnormal can be avoided.
According to the reminding method provided by the embodiment of the invention, the two-stage reminding is realized for the target object wearing the first device and in the sleep state by setting the alarm clock lead time, the alarm clock time and the corresponding first reminding stage and second reminding stage, and the reminding effect is better compared with the single-stage reminding; the reminding levels corresponding to the two reminding stages are set, so that the reminding intensity is gradually increased, and compared with the method that the target object in the sleeping state is directly reminded at single intensity, the user experience is better; when the first equipment is not worn, the second equipment is adopted to remind, and omission of the alarm clock is avoided.
Fig. 5 is a signaling interaction diagram of a reminding method according to an embodiment of the present invention, and as shown in fig. 5, the method specifically includes:
and S51, receiving the input alarm clock information.
In this embodiment, the second device has a client installed thereon, and the client may include: an application, which may be client software, an applet embedded in client software for instant messaging (e.g., WeChat), a function running on a web browser (also known as WebApp), an applet embedded in email, etc.
The method includes the steps that options corresponding to alarm clock information are provided in a display interface of a client side, and the options can include: alarm clock time, vibration intensity information, ring volume information, reminding interval information, reminding times information, single reminding duration information and the like.
And obtaining alarm clock information by receiving the triggering or the output of the target object to the corresponding option of the alarm clock information in the display interface.
Further, the second device and the first device are connected in a wireless pairing manner, for example, bluetooth pairing is performed, and a Serial Port Protocol (SPP) may be used for data interaction between the first device and the second device.
And S52, sending the alarm clock information and the device time of the second device to the first device.
And S53, receiving the wearing state and the parameter information sent by the first equipment.
In this embodiment, after the first device receives the alarm clock information and the device time for the first time, the wearing state of the first device is detected, the parameter information of the target object is obtained, and the wearing state and the parameter information are sent to the second device, so that data on the first device side is synchronized to the second device, and the steps of obtaining the wearing state and the parameter information in a related manner may refer to the related descriptions in fig. 1 to 3, which are not described herein again.
In an alternative of the embodiment of the present invention, the wearing state of the first device and the parameter information of the target object are synchronized by the first device to the second device in real time/timing.
And S54, when the wearing state is wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fourth control strategy.
And S55, when the control strategy is a fourth control strategy, controlling the second device not to trigger a second alarm clock for reminding.
In this embodiment, when the wearing state of the first device is wearing and the parameter information is any state, at this time, the first device may directly perform alarm clock reminding, and therefore, the control policy corresponding to the second alarm clock in the second device is a fourth control policy, and the fourth control policy specifically controls the second device not to trigger the second alarm clock reminding when the time of the second alarm clock in the second device reaches the alarm clock time/alarm clock lead time.
Further, when the control policy of the second alarm clock is the fourth control policy, the control of the first alarm clock may refer to the related descriptions in fig. 1 to 3, which are not described herein again.
And S56, when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fifth control strategy.
In this embodiment, when the wearing state of the first device is non-wearing and the parameter information is any state, at this time, the first device performs alarm clock reminding without practical significance (the user does not wear an earphone), and needs the second alarm clock to perform alarm clock reminding, so that the control policy of the second alarm clock is the fifth control policy.
Further, when the control policy of the second alarm clock is the fifth control policy, the control of the first alarm clock may refer to the related descriptions in fig. 1 to 3, and details are not described herein.
And S57, when the control strategy is a fifth control strategy, detecting whether the second alarm clock meets a second preset condition.
And S58, when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger a second alarm clock for reminding according to a third level.
In this embodiment, when the control policy of the second alarm clock is the fifth control policy, the control of the second alarm clock is similar to S34-S35 in fig. 3, which may specifically refer to the related description in fig. 3 for brevity, and will not be described herein again.
In an alternative of this embodiment, in a case that the second device obtains the parameter information of the target object, the second device may also perform the step-wise alarm clock reminding similar to the first device, and the step of performing the step-wise alarm clock reminding by the second device may refer to the step of performing the step-wise alarm clock reminding by the first device in fig. 2, which is described for brevity and is not described herein again.
The manner of obtaining the parameter information of the target object by the second device may include: the method is obtained through equipment linkage and through second equipment detection.
In an example, parameter information of the target object is detected through a smart band worn by the target object, and the detected parameter information is sent to the second device.
In an alternative of this embodiment, a connection state between the second device and the first device is detected; and when the connection state is abnormal connection and the second alarm clock meets the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
Further, when the connection state is abnormal for being connected between first equipment and the second time, at this moment, the second equipment can't in time acquire the wearing state of first equipment, can't confirm whether first equipment accomplishes the alarm clock and reminds when first alarm clock corresponds time and reaches the alarm clock time (for example, be wearing state when first equipment is being connected normally, be non-wearing state after connecting the anomaly), consequently, be connected the anomaly in the state, the second alarm clock carries out the second alarm clock and reminds, specifically does: and when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
The step of the second device triggering the second alarm clock according to the third level may specifically refer to the related description of S45 in fig. 4, and is not described herein again.
Fig. 6 is a schematic structural diagram of a reminding device according to an embodiment of the present invention, which is applied to a first device, and as shown in fig. 6, the reminding device specifically includes:
the obtaining module 61 is configured to obtain a wearing state of the first device and obtain parameter information of the target object;
a determining module 62, configured to determine a control policy of the first alarm clock according to the wearing state and the parameter information;
and the control module 63 is configured to control the first alarm clock based on the control policy under the condition that it is determined that the first alarm clock meets a preset condition.
Fig. 7 is a schematic structural diagram of another reminding device according to an embodiment of the present invention, which is applied to a second device, and as shown in fig. 7, the reminding device specifically includes:
a receiving module 71, configured to receive the wearing status and the parameter information sent by the first device;
a determining module 72, configured to determine a control policy of the second alarm clock according to the wearing state and the parameter information;
and a control module 73, configured to control the second alarm clock based on the control policy when it is determined that the second alarm clock meets a preset condition.
Fig. 8 is a schematic structural diagram of an intelligent headset according to an embodiment of the present invention, where the intelligent headset 800 shown in fig. 8 includes: at least one processor 801, memory 802, at least one network interface 804, and other user interfaces 803. The various components in the smart headset 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 8.
The user interface 803 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 802 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 802 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the present invention may be included in application program 8022.
In the embodiment of the present invention, the processor 801 is configured to execute the method steps provided by each method embodiment by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application 8022, and for example, includes:
acquiring a wearing state of first equipment; acquiring parameter information of a target object; determining a control strategy of a first alarm clock according to the wearing state and the parameter information;
and under the condition that the first alarm clock is determined to meet the preset condition, controlling the first alarm clock based on the control strategy.
In one possible implementation, when the wearing state is a wearing state and the parameter information is a sleep state, determining the control policy of the first alarm clock as a first control policy; when the wearing state is wearing and the parameter information is in a non-sleep state, determining that the control strategy of the first alarm clock is a second control strategy; and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the first alarm clock is a third control strategy.
In a possible implementation manner, when the control strategy is a first control strategy, whether the first alarm clock meets a first preset condition is detected; when the first alarm clock is detected to meet the first preset condition, controlling the first equipment to trigger first alarm clock reminding according to a first level; when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger a first alarm clock for reminding according to a second level; the timestamp corresponding to the first preset condition is earlier than the timestamp corresponding to the second preset condition, and the first level is lower than the second level.
In one possible implementation, when the control policy is a second control policy, detecting whether the first alarm clock meets a second preset condition; and when the first alarm clock is detected to meet the second preset condition, controlling the first equipment to trigger the first alarm clock to remind according to the second level.
In one possible embodiment, when the control policy is a third control policy, controlling the first device not to trigger a first alarm clock reminder and generating a first message; sending the first message to a second device; the first message carries information that the first device is in a non-wearing state, and the first message is used for indicating the second device to trigger a second alarm clock to remind according to a third level when the second alarm clock meets a second preset condition.
In one possible embodiment, a first event is triggered when the first device is detected to be in a worn state; wherein the first event is used for prompting that the first alarm clock is expired.
In one possible embodiment, a connection state between a first device and a second device is detected; when the connection state is normal connection and the control strategy is a first control strategy or a second control strategy, generating a second message; sending the second message to a second device; the second message carries information that the first device is in a wearing state, and the second message is used for indicating that the second device does not trigger first alarm clock reminding; and when the connection state is abnormal connection and the control strategy is a first control strategy or a second control strategy, executing a step of controlling the first equipment to trigger the first alarm clock for reminding.
In one possible implementation, receiving alarm clock information and device time sent by a second device; triggering a second event based on the alarm clock information and the device time; and the second event is used for detecting whether the first alarm clock meets a preset condition or not.
In one possible embodiment, after receiving the device time, sending a third message to the second device, so that the second device returns a fourth message to the first device in response to the third message; and correcting the equipment time according to the third message and the fourth message.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The intelligent earphone provided in this embodiment may be the intelligent earphone shown in fig. 8, and may perform all the steps of the reminding method shown in fig. 1 to 4, so as to achieve the technical effects of the reminding method shown in fig. 1 to 4, which are specifically described with reference to fig. 1 to 4, and therefore, for brevity, no further description is provided here.
Fig. 9 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention, where the intelligent terminal 900 shown in fig. 9 includes: at least one processor 901, memory 902, at least one network interface 904, and other user interfaces 903. The various components in the intelligent terminal 900 are coupled together by a bus system 905. It is understood that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905.
The user interface 903 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 902 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 902 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 902 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 9021 and application programs 9022.
The operating system 9021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, and is configured to implement various basic services and process hardware-based tasks. The application 9022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in application 9022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 902, specifically, a program or an instruction stored in the application 9022, the processor 901 is configured to execute the method steps provided by the method embodiments, for example, including:
receiving wearing state and parameter information sent by first equipment; determining a control strategy of a second alarm clock according to the wearing state and the parameter information; and under the condition that the second alarm clock is determined to meet the preset condition, controlling the second alarm clock based on the control strategy.
In a possible implementation manner, when the wearing state is wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fourth control strategy; and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fifth control strategy.
In one possible implementation, when the control policy is a fifth control policy, detecting whether the second alarm clock meets a second preset condition; and when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger a second alarm clock according to a third level for reminding.
In one possible implementation manner, when the control policy is a fourth control policy, the second device is controlled not to trigger a second alarm clock reminder.
In one possible embodiment, a connection state between the second device and the first device is detected; and when the connection state is abnormal connection and the second alarm clock meets the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 901. The Processor 901 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The intelligent terminal provided in this embodiment may be the intelligent terminal shown in fig. 9, and may execute all the steps of the reminding method shown in fig. 5, so as to achieve the technical effect of the reminding method shown in fig. 5, please refer to related description of fig. 5 for brevity, which is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors, the method for reminding executed on the reminding device side is realized.
The processor is used for executing the reminding program stored in the memory so as to realize the following steps of the reminding method executed on the reminding device side:
acquiring a wearing state of first equipment; acquiring parameter information of a target object; determining a control strategy of a first alarm clock according to the wearing state and the parameter information;
and under the condition that the first alarm clock is determined to meet the preset condition, controlling the first alarm clock based on the control strategy.
In one possible implementation, when the wearing state is a wearing state and the parameter information is a sleep state, determining the control policy of the first alarm clock as a first control policy; when the wearing state is wearing and the parameter information is in a non-sleep state, determining that the control strategy of the first alarm clock is a second control strategy; and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the first alarm clock is a third control strategy.
In one possible implementation, when the control policy is a first control policy, detecting whether the first alarm clock meets a first preset condition; when the first alarm clock is detected to meet the first preset condition, controlling the first equipment to trigger first alarm clock reminding according to a first level; when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger a first alarm clock for reminding according to a second level; the timestamp corresponding to the first preset condition is earlier than the timestamp corresponding to the second preset condition, and the first level is lower than the second level.
In a possible implementation manner, when the control strategy is a second control strategy, whether the first alarm clock meets a second preset condition is detected; and when the first alarm clock is detected to meet the second preset condition, controlling the first equipment to trigger the first alarm clock to remind according to the second level.
In one possible embodiment, when the control policy is a third control policy, controlling the first device not to trigger a first alarm clock reminder and generating a first message; sending the first message to a second device; the first message carries information that the first device is in a non-wearing state, and the first message is used for indicating the second device to trigger a second alarm clock to remind according to a third level when the second alarm clock meets a second preset condition.
In one possible embodiment, a first event is triggered when the first device is detected to be in a worn state; wherein the first event is used for prompting that the first alarm clock is expired.
In one possible embodiment, a connection state between a first device and a second device is detected; when the connection state is normal connection and the control strategy is a first control strategy or a second control strategy, generating a second message; sending the second message to a second device; the second message carries information that the first device is in a wearing state, and the second message is used for indicating that the second device does not trigger first alarm clock reminding; and when the connection state is abnormal connection and the control strategy is a first control strategy or a second control strategy, executing a step of controlling the first equipment to trigger the first alarm clock for reminding.
In one possible implementation, receiving alarm clock information and device time sent by a second device; triggering a second event based on the alarm clock information and the device time; and the second event is used for detecting whether the first alarm clock meets a preset condition or not.
In one possible embodiment, after receiving the device time, sending a third message to the second device, so that the second device returns a fourth message to the first device in response to the third message; and correcting the equipment time according to the third message and the fourth message.
Or the like, or, alternatively,
receiving wearing state and parameter information sent by first equipment; determining a control strategy of a second alarm clock according to the wearing state and the parameter information; and under the condition that the second alarm clock is determined to meet the preset condition, controlling the second alarm clock based on the control strategy.
In a possible implementation manner, when the wearing state is wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fourth control strategy; and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fifth control strategy.
In one possible implementation, when the control policy is a fifth control policy, detecting whether the second alarm clock meets a second preset condition; and when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
In one possible implementation manner, when the control policy is a fourth control policy, the second device is controlled not to trigger a second alarm clock reminder.
In one possible embodiment, a connection state between the second device and the first device is detected; and when the connection state is abnormal connection and the second alarm clock meets the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (19)

1. A reminding method is applied to first equipment and comprises the following steps:
acquiring a wearing state of first equipment;
acquiring parameter information of a target object;
determining a control strategy of a first alarm clock according to the wearing state and the parameter information;
and under the condition that the first alarm clock is determined to meet the preset condition, controlling the first alarm clock based on the control strategy.
2. The method of claim 1, wherein determining the control strategy for the first alarm clock according to the wearing state and the parameter information comprises:
when the wearing state is wearing and the parameter information is a sleep state, determining that the control strategy of the first alarm clock is a first control strategy;
when the wearing state is wearing and the parameter information is in a non-sleep state, determining that the control strategy of the first alarm clock is a second control strategy;
and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the first alarm clock is a third control strategy.
3. The method of claim 2, wherein the controlling the first alarm clock based on the control strategy in the case that the first alarm clock is determined to satisfy a preset condition comprises:
when the control strategy is a first control strategy, detecting whether the first alarm clock meets a first preset condition;
when the first alarm clock is detected to meet the first preset condition, controlling the first equipment to trigger first alarm clock reminding according to a first level;
when the first alarm clock is detected to meet a second preset condition, controlling the first equipment to trigger a first alarm clock for reminding according to a second level;
the timestamp corresponding to the first preset condition is earlier than the timestamp corresponding to the second preset condition, and the first level is lower than the second level.
4. The method of claim 2, wherein the controlling the first alarm clock based on the control strategy in the case that the first alarm clock is determined to satisfy a preset condition comprises:
when the control strategy is a second control strategy, detecting whether the first alarm clock meets a second preset condition;
and when the first alarm clock is detected to meet the second preset condition, controlling the first equipment to trigger a first alarm clock to remind according to a second level.
5. The method of claim 2, further comprising:
when the control strategy is a third control strategy, controlling the first equipment not to trigger a first alarm clock prompt and generating a first message;
sending the first message to a second device;
the first message carries information that the first device is in a non-wearing state, and the first message is used for indicating the second device to trigger a second alarm clock to remind according to a third level when the second alarm clock meets a second preset condition.
6. The method of claim 5, wherein after the second device triggers a second alarm clock alert according to a third level when the second alarm clock meets a second preset condition, the method further comprises:
triggering a first event when the first device is detected to be in a wearing state;
wherein the first event is used for prompting that the first alarm clock is expired.
7. The method according to any one of claims 1-6, further comprising:
detecting a connection state between the first device and a second device;
when the connection state is normal connection and the control strategy is a first control strategy or a second control strategy, generating a second message;
sending the second message to a second device;
the second message carries information that the first device is in a wearing state, and the second message is used for indicating that the second device does not trigger first alarm clock reminding;
and when the connection state is abnormal connection and the control strategy is the first control strategy or the second control strategy, executing a step of controlling the first equipment to trigger a first alarm clock for reminding.
8. The method of claim 1, further comprising:
receiving alarm clock information and equipment time sent by second equipment;
triggering a second event based on the alarm clock information and the device time;
and the second event is used for detecting whether the first alarm clock meets a preset condition or not.
9. The method of claim 8, further comprising:
after receiving the device time, sending a third message to the second device, so that the second device returns a fourth message to the first device in response to the third message;
and correcting the equipment time according to the third message and the fourth message.
10. A reminding method is applied to a second device and comprises the following steps:
receiving wearing state and parameter information sent by first equipment;
determining a control strategy of a second alarm clock according to the wearing state and the parameter information;
and under the condition that the second alarm clock is determined to meet the preset condition, controlling the second alarm clock based on the control strategy.
11. The method of claim 10, wherein determining the control strategy for the second alarm clock according to the wearing state and the parameter information comprises:
when the wearing state is wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fourth control strategy;
and when the wearing state is non-wearing and the parameter information is in any state, determining that the control strategy of the second alarm clock is a fifth control strategy.
12. The method of claim 11, wherein the controlling the second alarm clock based on the control strategy in the case that the second alarm clock is determined to satisfy a preset condition comprises:
when the control strategy is the fifth control strategy, detecting whether the second alarm clock meets a second preset condition;
and when the second alarm clock is detected to meet the second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
13. The method of claim 11, further comprising:
and when the control strategy is the fourth control strategy, controlling the second equipment not to trigger a second alarm clock for reminding.
14. The method according to any one of claims 10-13, further comprising:
detecting a connection state between the second device and the first device;
and when the connection state is abnormal connection and the second alarm clock meets a second preset condition, controlling the second equipment to trigger the second alarm clock to remind according to a third level.
15. A reminding device is characterized in that when being applied to first equipment, the reminding device comprises:
the acquisition module is used for acquiring the wearing state of the first equipment and acquiring the parameter information of the target object;
the determining module is used for determining a control strategy of the first alarm clock according to the wearing state and the parameter information;
and the control module is used for controlling the first alarm clock based on the control strategy under the condition that the first alarm clock is determined to meet the preset condition.
16. A reminding device is characterized in that when being applied to a second device, the reminding device comprises:
the receiving module is used for receiving the wearing state and the parameter information sent by the first equipment;
the determining module is used for determining a control strategy of the second alarm clock according to the wearing state and the parameter information;
and the control module is used for controlling the second alarm clock based on the control strategy under the condition that the second alarm clock is determined to meet the preset condition.
17. An intelligent headset, comprising: a processor and a memory, wherein the processor is used for executing the reminding program stored in the memory so as to realize the reminding method of any claim 1 to 9.
18. An intelligent terminal, comprising: a processor and a memory, the processor is used for executing the reminding program stored in the memory so as to realize the reminding method of any one of claims 10-14.
19. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the method of any one of claims 1 to 9 or 10 to 14.
CN202210541258.7A 2022-05-17 2022-05-17 Reminding method and device, intelligent earphone, intelligent terminal and storage medium Pending CN115086474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210541258.7A CN115086474A (en) 2022-05-17 2022-05-17 Reminding method and device, intelligent earphone, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210541258.7A CN115086474A (en) 2022-05-17 2022-05-17 Reminding method and device, intelligent earphone, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115086474A true CN115086474A (en) 2022-09-20

Family

ID=83250157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210541258.7A Pending CN115086474A (en) 2022-05-17 2022-05-17 Reminding method and device, intelligent earphone, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115086474A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450872A (en) * 2015-11-27 2016-03-30 小米科技有限责任公司 Alarm clock reminding methods and apparatuses
CN105933522A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Wearing prompting method based on alarm clock and wearing prompting system thereof
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN107426437A (en) * 2017-08-08 2017-12-01 广东小天才科技有限公司 A kind of alarm clock prompting method and device
WO2018053094A1 (en) * 2016-09-16 2018-03-22 Bose Corporation Intelligent wake-up system
WO2019090613A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Ringing method and ringing system for alarm clock of smart terminal
CN113596247A (en) * 2021-09-29 2021-11-02 北京小米移动软件有限公司 Alarm clock information processing method, device, vehicle, storage medium and program product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450872A (en) * 2015-11-27 2016-03-30 小米科技有限责任公司 Alarm clock reminding methods and apparatuses
CN105933522A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Wearing prompting method based on alarm clock and wearing prompting system thereof
WO2018053094A1 (en) * 2016-09-16 2018-03-22 Bose Corporation Intelligent wake-up system
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN107426437A (en) * 2017-08-08 2017-12-01 广东小天才科技有限公司 A kind of alarm clock prompting method and device
WO2019090613A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Ringing method and ringing system for alarm clock of smart terminal
CN113596247A (en) * 2021-09-29 2021-11-02 北京小米移动软件有限公司 Alarm clock information processing method, device, vehicle, storage medium and program product

Similar Documents

Publication Publication Date Title
EP3093569B1 (en) Method and device for turning on air conditioner
EP3130967B1 (en) Method for managing an alarm clock and system associated
CN105430547B (en) The dormancy method and device of bluetooth headset
KR102561414B1 (en) Electronic device and method for controlling an operation thereof
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
CN104767883A (en) Terminal prompt method and terminal
CN113094112A (en) Method and apparatus for automatically adjusting notification operations based on changes in physical activity levels
CN101287241A (en) Volume regulating method and device for bell of mobile phone
WO2018058978A1 (en) Reminding method and device, electronic equipment and computer storage medium
KR20190125423A (en) Off screen display method and device
CN108200279A (en) backlight adjusting method, device and equipment
CN110658717B (en) Alarm clock control method, device, equipment and storage medium
CN105725969A (en) Alarm control method and alarm control device for wearable device
CN115086474A (en) Reminding method and device, intelligent earphone, intelligent terminal and storage medium
US11507169B2 (en) User state-based device power conservation
CN108206882A (en) The method and device of equipment alarm clock calling
CN111385417A (en) Alarm clock control method and device, electronic equipment and storage medium
JP2014175839A (en) Mobile phone device, mobile phone device control method, and computer program
WO2017036334A1 (en) Task management method and system
EP3226085B1 (en) Alarm clock setting method, electronic terminal and system
CN113952578A (en) Sleep awakening method and device for insomnia treatment
CN114697441A (en) Alarm clock control method, storage medium and terminal equipment
US20200320890A1 (en) User state-based learning reinforcement
JP3983709B2 (en) Mobile device
JP5802346B1 (en) Watch system

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