CN112492439B - Earphone falling reminding method and device, electronic equipment and storage medium - Google Patents

Earphone falling reminding method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112492439B
CN112492439B CN202011286670.6A CN202011286670A CN112492439B CN 112492439 B CN112492439 B CN 112492439B CN 202011286670 A CN202011286670 A CN 202011286670A CN 112492439 B CN112492439 B CN 112492439B
Authority
CN
China
Prior art keywords
earphone
earphones
wearing state
determining
reminding
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.)
Active
Application number
CN202011286670.6A
Other languages
Chinese (zh)
Other versions
CN112492439A (en
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.)
Shanghai Wingtech Information Technology Co Ltd
Original Assignee
Shanghai Wingtech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wingtech Information Technology Co Ltd filed Critical Shanghai Wingtech Information Technology Co Ltd
Priority to CN202011286670.6A priority Critical patent/CN112492439B/en
Publication of CN112492439A publication Critical patent/CN112492439A/en
Application granted granted Critical
Publication of CN112492439B publication Critical patent/CN112492439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Abstract

The application relates to the field of wireless earphones, and provides a method and a device for reminding that an earphone falls, electronic equipment and a storage medium. The method comprises the following steps: recognizing that at least one earphone is in a wearing state, and determining the number of first earphones of the earphone in the wearing state; identifying at least one earphone in the earphones in the wearing state, and determining the number of second earphones of the earphone which is abnormally dropped; and determining a strategy for sending abnormal drop reminding information according to the number of the first earphones and the number of the second earphones, wherein the number of the first earphones is larger than or equal to the number of the second earphones. By adopting the method, the reminding strategy of abnormal earphone falling can be determined by utilizing the number of the earphones in a wearing state and the number of the earphones which abnormally fall, so that timely and effective reminding can be effectively ensured when the earphones fall, and the earphones are effectively prevented from being lost.

Description

Earphone falling reminding method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of wireless headset technologies, and in particular, to a method and an apparatus for reminding a user of dropping a headset, an electronic device, and a storage medium.
Background
With the improvement of living standard of people, the use of wireless earphones is increasingly popularized. When the wireless earphone is used, the wireless earphone often falls from the ear of a person unintentionally, such as a scratch for hair and a scratch for clothes and caps. If the user is not listening to music at this time, it is likely that the wireless headset will not be found to have dropped and will continue to move forward, eventually resulting in the wireless headset being lost.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for reminding that an earphone is dropped, an electronic device and a storage medium, which can remind a user of the dropping of the earphone effectively in time when the earphone is dropped.
The embodiment of the application provides a method for reminding that an earphone falls off, which comprises the following steps: recognizing that at least one earphone is in a wearing state, and determining the number of first earphones of the earphone in the wearing state; recognizing that at least one earphone is abnormally dropped in the earphones in the wearing state, and determining the number of second earphones of the earphones which are abnormally dropped; and determining a strategy for sending abnormal drop reminding information according to the number of the first earphones and the number of the second earphones, wherein the number of the first earphones is larger than or equal to the number of the second earphones.
In one embodiment, the determining a policy for sending an abnormal drop notification message according to the number of the first earphones and the number of the second earphones includes: when the number of the second earphones is equal to that of the first earphones, sending reminding information by using a terminal connected with the earphones; or when the number of the second earphones is smaller than that of the first earphones, determining the earphones which are not abnormally dropped, and sending the reminding information by using the earphones which are not abnormally dropped.
In one embodiment, the recognizing that at least one earphone is in a wearing state and determining the first number of earphones in the wearing state includes: obtaining a current temperature of each of the at least one earphone; when the fact that the current temperature is larger than or equal to a preset temperature threshold value is identified, determining the earphone in the wearing state by the earphone corresponding to the current temperature; and respectively comparing the current temperature of other earphones in the at least one earphone with the earphone to determine the number of the first earphones in the wearing state.
In one embodiment, said recognizing at least one of said earphones being worn to be abnormally dropped and determining said second number of earphones being abnormally dropped includes: for each earphone in a wearing state, when the current temperature of the earphone in the wearing state is identified to be changed to be smaller than the preset temperature threshold value, the earphone with the changed current temperature is determined to be changed from the wearing state to an unworn state; recognizing that the earphone in the unworn state is not picked up within a preset time before the current temperature changes to be smaller than the preset temperature threshold value, and determining that the earphone in the unworn state is abnormally dropped; and counting the number of the earphones falling abnormally as the number of the second earphones.
In one embodiment, a plurality of first capacitance detection values in a first preset time before the current temperature changes to be smaller than the preset temperature threshold value are acquired, and if the plurality of first capacitance detection values are all smaller than the preset capacitance threshold value, it is determined that no touch detection signal is acquired and the headset in the unworn state is not picked up.
In one embodiment, the method for reminding that the earphone is dropped further includes: and acquiring a plurality of second capacitance detection values within a second preset time after the current temperature changes to be smaller than the preset temperature threshold value, and determining that the earphone in the unworn state is not picked if the plurality of second capacitance detection values are all smaller than the preset capacitance threshold value.
In one embodiment, at least one first time node corresponding to the first capacitance detection value being greater than or equal to the preset capacitance threshold value and at least one second time node corresponding to the second capacitance detection value being greater than or equal to the preset capacitance threshold value are obtained; and identifying the time sequence connection of the first time node and the second time node, and determining that the earphone in the unworn state is picked up.
The embodiment of the application provides a reminding device that earphone dropped, the device includes: the first identification module is used for identifying at least one earphone in a wearing state and determining the number of the first earphones in the wearing state; the second identification module is used for identifying that at least one earphone is abnormally dropped in the earphones in the wearing state and determining the number of the second earphones which are abnormally dropped; and the reminding strategy module is used for determining a strategy for sending abnormal falling reminding information according to the number of the first earphones and the number of the second earphones, wherein the number of the first earphones is greater than or equal to the number of the second earphones.
The embodiment of the application provides electronic equipment, which comprises a memory and a processor, wherein the memory stores computer programs, and the processor executes the computer programs to realize the steps of the earphone drop reminding method provided by any embodiment of the application.
The embodiment of the application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for reminding that an earphone is dropped, provided by any embodiment of the application.
According to the method and the device for reminding dropping of the earphones, the electronic equipment and the storage medium, the reminding strategy that the abnormal earphones drop is determined by the number of the earphones in a wearing state and the number of the earphones dropping abnormally is utilized, and timely and effective reminding can be effectively ensured when the abnormal earphones drop, so that the earphones are effectively prevented from being lost.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for alerting that an earphone has dropped;
FIG. 2 is a flowchart illustrating a method for reminding that an earphone is dropped according to an embodiment;
FIG. 3 is a flow chart illustrating step 202 in one embodiment;
FIG. 4 is a schematic flow chart of step 204 in one embodiment;
FIG. 5 is a flowchart of step 404 in one embodiment;
FIG. 6 is a flowchart illustrating a method for reminding that the earphone is dropped according to another embodiment;
FIG. 7 is a block diagram of a reminder that an earphone has dropped in one embodiment;
FIG. 8 is a schematic diagram of the structure of the earphone in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The method for reminding the earphone falling can be applied to the application environment shown in fig. 1. The earphone falling reminding method is applied to a wireless earphone communication system. The wireless headset communication system includes a wireless headset 1 and a terminal 2. The wireless headset 1 and the terminal 2 communicate with each other through a wireless network, and the communication mode includes, for example, bluetooth, wifi, etc., and the specific communication mode is not specifically limited in this application. The earphone 1 receives the audio information sent by the terminal 2 through the wireless network and plays the audio information according to the audio information, so that the listening requirement of a user is met. The audio information is an audio signal that can be read by the earphone, such as music, call information, and the like. The terminal 1 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In one embodiment, as shown in fig. 2, a method for reminding that the earphone is dropped is provided. The main execution body of the method for reminding that the earphone is dropped in this embodiment is a reminding device that the earphone is dropped, the reminding device that the earphone is dropped can be implemented by software and/or hardware, and the reminding device that the earphone is dropped in this embodiment can be configured in an electronic device, for example, in an earphone or a terminal related to the application.
Step 202, at least one earphone is identified to be in a wearing state, and the number of first earphones of the earphones in the wearing state is determined.
It should be noted that in the embodiment of the present application, the earphone is a True Wireless Stereo (TWS) earphone. Each earphone of the real wireless stereo earphones is independent, namely, a connecting mechanism such as a hanging rope is not arranged between any two earphones, each earphone can be used as an independent Bluetooth device to be connected with the terminal device, and the two earphones are not required to be forcibly formed into an earphone pair for use.
For example, if the user selects the single-ear mode, at this time, the user may wear only one earphone, and thus can recognize that only one earphone is in a wearing state; if the user selects the double-ear mode, the user can wear the two earphones at the same time, so that the user can recognize that the two earphones are in a wearing state at the same time; if a plurality of users need to share audio, at the moment, the plurality of users can wear at least two earphones (only two earphones can be worn when each user wears one earphone), so that the condition that at least two earphones are worn at the same time can be identified.
It should be understood that, in the embodiment of the present application, the wearing state of each earphone may be identified, and then the number of the first earphones in the wearing state may be counted according to the wearing state.
And 204, identifying at least one earphone from the earphones in the wearing state, and determining the number of second earphones of the earphones which are abnormally dropped.
It should be noted that, since the TWS headset is not provided with a connecting mechanism, the volume is small, so that the TWS headset is easily scratched by hair, hat, scarf and the like and falls off, or a user shakes the TWS headset off during strenuous exercise, and the falling off of the TWS headset in these scenes is not desired by the user, so that the TWS headset falls off abnormally.
It should be understood that, in the embodiment of the present application, whether the earphone in the wearing state is abnormally dropped or not may be identified, and then the number of the second earphones in the abnormal dropped state may be counted.
And step 206, determining a strategy for sending abnormal falling reminding information according to the number of the first earphones and the number of the second earphones.
And the number of the first earphones is greater than or equal to the number of the second earphones.
Particularly, this application carries out state detection to a plurality of earphones in the wireless network, in order to discern at least one earphone and be in wearing state, the earphone quantity of statistics in wearing state, in order to confirm the first earphone quantity that is in wearing state, then, continuously carry out state detection to the earphone that is in wearing state, in order to be in wearing state's earphone, discern at least one earphone and take place to unusually drop, and statistics takes place the second earphone quantity that unusually drops, finally, according to first earphone quantity and second earphone quantity, confirm to send the unusual strategy that drops and remind, effectively ensure can in time effectually remind when taking place to drop, thereby effectively avoid the earphone to lose.
It should be understood that the present application relates to at least one headset connected to the same terminal device, that is, the present application relates to a system in which a terminal device and at least one headset are connected via a wireless network.
For example, when the reminding device that the earphone drops is arranged on the earphone, the reminding device that the earphone on each earphone drops sends the wearing state detection signal of the reminding device to the terminal, receives the wearing state detection signals of other earphones connected with the terminal equipment from the terminal, and determines the number of the earphones and the number of the first earphones which are in the wearing state according to the wearing state detection signals of the reminding device and the wearing state detection signals of other earphones, when the reminding device that the earphone drops is arranged on the terminal, the terminal respectively obtains the wearing state detection signals of each earphone connected with the terminal in a wireless mode through a wireless network, and then determines the number of the earphones and the number of the first earphones which are in the wearing state according to the received wearing state detection signals. Therefore, the earphone drop reminding device can acquire the detection information according to the different set positions in different modes according to the mode to execute the earphone drop reminding method provided by the application, and the description is omitted in the application.
As a possible embodiment, in step 206, determining a strategy for sending the abnormal drop reminding message according to the number of the first earphones and the number of the second earphones may include: and when the number of the second earphones is equal to that of the first earphones, sending reminding information by using a terminal connected with the earphones, or when the number of the second earphones is smaller than that of the first earphones, determining the earphones which do not abnormally drop, and sending the reminding information by using the earphones which do not abnormally drop.
The terminal connected with the earphone is the terminal which is in communication connection with the earphone in the same wireless network.
Specifically, if the number of the second earphones is equal to the number of the first earphones, it is indicated that all the earphones in the wearing state are abnormally dropped, and at this time, any user does not wear the earphones in the current wireless network, so that the earphones cannot be used for sending effective reminding, and therefore the terminal connected with the earphones can be used for sending reminding information. The reminding information may be preset reminding sound information, vibration information, and the like, and the application is not limited herein.
It should be understood that, because the earphone needs to be placed in the ear of the user, in order to prevent the false triggering, the volume of the earphone is odd and high, which may cause adverse effects on the hearing of the user, the maximum volume of the earphone is usually set to be low, that is, if the earphone is separated from the ear of the user, even if the volume of the earphone is adjusted to be maximum, the user may still not hear the prompt sound of the earphone, and because the earphone has dropped abnormally, the earphone is separated from the ear of the user, and the functions such as vibration of the earphone cannot play a role in reminding, therefore, the earphone cannot be utilized to send an effective reminder.
Further, if the number of the second earphones is smaller than that of the first earphones, it is indicated that only part of the earphones originally in the wearing state are abnormally dropped, and part of the earphones are still in the wearing state, at the moment, the earphones which are not abnormally dropped are obtained by identifying the earphones, and reminding information is sent by the earphones which are not abnormally dropped, wherein the reminding information can be preset reminding tone information, vibration information and the like, so that a user can timely pick up the earphones which are abnormally dropped after receiving the reminding information such as the preset reminding tone information, and the earphone loss is avoided.
It should be understood that, in the multi-user audio sharing mode, any user can be reminded by using the earphone which is not abnormally dropped, and then the user reminds other users to search for the abnormally dropped earphone in time, so that the earphone in the whole system is prevented from being lost.
It should also be understood that, when the number of the second earphones is smaller than the number of the first earphones, the terminal connected to the earphones may be used to send the reminding information while the earphones which are not dropped abnormally are used to send the reminding information, so that the reminding effect for the user is improved by a redundant reminding mode, and the user is further ensured to receive the reminding information.
It should be noted that the state detection signal of the earphone may include identification information of the earphone, the identification information of the earphone in the wearing state is stored after the earphone is recognized to be in the wearing state, and when the earphone is recognized to be abnormally dropped, the stored identification information of the earphone is deleted, so that the earphone which is not abnormally dropped can be determined according to the remaining stored identification information.
As a possible embodiment, as shown in fig. 3, the step 202 of identifying at least one earphone in a wearing state and determining a first number of earphones in the wearing state may include:
step 302, obtaining a current temperature of each of at least one earphone.
Step 304, when it is recognized that the current temperature is greater than or equal to the preset temperature threshold, determining the earphone corresponding to the current temperature as the earphone in the wearing state.
Step 306, comparing the current temperature of other earphones in the at least one earphone with the earphone respectively to determine the number of the first earphones in the wearing state.
That is to say, the current temperature of each earphone can be obtained in real time, the current temperature of each earphone is judged, if the current temperature of the earphone is greater than or equal to the preset temperature threshold, the earphone is determined to be in a wearing state, and the counted number of the first earphones is increased by 1. Because a difference in time usually occurs when people wear earphones, for example, when a user needs to wear two earphones, the user usually wears one earphone first and then wears one earphone, after recognizing that one earphone is in a wearing state, the current temperatures of other earphones are respectively compared with the earphone in the wearing state, if the current temperatures of other earphones are similar to the current temperature of the earphone, that is, the temperature difference is within the range of the return difference, it is determined that other earphones are also in the wearing state, and if the current temperatures of other earphones are greatly different from the temperature of the earphone, it is determined that other earphones are not in the wearing state.
It should be understood that, because the temperatures of different positions of the human body temperature are different, the temperature comparison is performed between the other earphones and the earphones in the wearing state, that is, the wearing state is detected by the in-ear temperatures detected by the two earphones, so that scenes such as that the earphones are clewed in the hand of the user are prevented from being mistakenly considered as that the earphones are in the wearing state, and the detection accuracy of the wearing state of the earphones is effectively improved.
It should be noted that the earphone may be provided with a temperature sensor for detecting the current temperature of the earphone, wherein the temperature sensor may be disposed at a position capable of being in close contact with the entrance of the ear canal so as to improve the accuracy of temperature detection.
As a possible embodiment, as shown in fig. 4, step 204, in the earphones in the wearing state, recognizing that at least one earphone is abnormally dropped, and determining the number of the second earphones in which the abnormal drop occurs includes:
step 402, for each earphone in a wearing state, identifying that the current temperature of the earphone in the wearing state changes to be smaller than a preset temperature threshold value, and determining that the earphone with the changed current temperature changes from the wearing state to an unworn state.
As can be seen from the foregoing description of the embodiments, in the present application, the wearing state of the headset is determined by detecting the temperature of the headset, and since the human body temperature is usually higher than the ambient temperature, when the current temperature change of the headset is less than the preset temperature threshold value, that is, the temperature detected by the headset changes from the in-ear temperature of the user to the ambient temperature, the headset can be determined to be in the unworn state.
And step 404, identifying that the earphone in the unworn state is not picked up within a preset time before the current temperature changes to be smaller than a preset temperature threshold value, and determining that the earphone in the unworn state is abnormally dropped.
And step 406, counting the number of the earphones dropped abnormally as the number of the second earphones.
That is, although it is detected by using the temperature that the earphone in the wearing state is changed to the non-wearing state, it cannot be determined that the non-wearing state is caused by the user picking up the earphone or the abnormal drop occurs, and in order to prevent any non-wearing state from being reminded, the experience of the user is affected.
The preset time can be set to be 2s-5s so as to meet the action duration of the user under various picking consciousness, for example, if the user picks up the action continuously, the time is short, and if the user is hesitant, the time is easy to be consumed for a long time.
As a possible embodiment, as shown in fig. 5, the step 404 of identifying that the earphone in the unworn state is not picked up within a preset time before the current temperature changes to be less than the preset temperature threshold value may include:
step 502, a plurality of first capacitance detection values within a first preset time before the current temperature changes to be smaller than a preset temperature threshold are obtained.
Step 504, if it is recognized that the plurality of first capacitance detection values are all smaller than the preset capacitance threshold value, it is determined that the touch detection signal is not obtained and the earphone in the unworn state is not picked up.
It should be noted that, when picking up the earphone, the user usually needs to touch the earphone to perform the picking up operation, that is, if the user does not perform the touch operation, the picking up operation cannot be performed. In other words, if it is detected that the headset in the wearing state is changed into the non-wearing state and the touch signal is not detected within the previous preset time, that is, the headset is not touched within the previous preset time, it is determined that the headset in the wearing state is not picked up.
Therefore, the current temperature of the earphone in the wearing state is detected to be changed from being larger than the preset temperature threshold value to being smaller than the preset temperature threshold value, the time of the temperature change is used as the time of the earphone in vitro, whether the earphone is touched or not is determined through the capacitance detection value, and if the first capacitance detection values detected in a period of time before the earphone in vitro are all smaller than the preset capacitance threshold value, it is indicated that the touch detection signal is not obtained, namely, the earphone in the wearing state is not picked up, and the earphone in the wearing state drops abnormally.
It should be noted that even if the user touches the earphone with a hand, the user may not pick up the earphone due to the change of the requirement, for example, the user only touches the earphone to perform operations such as volume adjustment and song change, or other people want to perform voice communication with the user, but the user touches the earphone to prepare to pick up the earphone because the user is using the earphone, but the communication requirement is completed or cancelled when the earphone is not picked up, and at this time, the picking up operation after the touch is not required to be performed.
Therefore, it is also necessary to detect whether a handheld blank state exists after the touch.
In step 506, a plurality of second capacitance detection values within a second preset time after the current temperature changes to be smaller than the preset temperature threshold are obtained.
And step 508, if the detected values of the plurality of second capacitors are smaller than the preset capacitor threshold value, determining that the earphone in the unworn state is not picked up.
Step 510, acquiring a first time node corresponding to at least one first capacitance detection value greater than or equal to a preset capacitance threshold value and a second time node corresponding to at least one second capacitance detection value greater than or equal to the preset capacitance threshold value; and identifying the time sequence connection of the first time node and the second time node, and determining that the earphone in the unworn state is picked up.
And whether the headset in the handheld blank state is in the non-wearing state is continuously in the touched state and the current temperature of the headset in the non-wearing state is less than a preset temperature threshold value.
That is, the handheld blank state is a state in which the user holds the earphone by hand and separates the earphone from the human ear, and in this state, the touch sensor can detect a touch signal of the user, but since the earphone is separated from the human ear, the temperature change detected by the temperature sensor is smaller than a preset temperature threshold, that is, the in-ear temperature changes to the ambient temperature.
Specifically, if a plurality of first capacitance detection values within a first preset time before the current temperature changes to be smaller than a preset temperature threshold value are all smaller than the preset capacitance threshold value, it is indicated that the user is not touched before the earphone is separated from the human body, and therefore the earphone cannot be picked up. In the picking process, the handheld blank leaving state occurs after the earphone is separated from a human body, the current temperature of the earphone is changed to be smaller than a preset temperature threshold value at the moment, if the second detection capacitance is larger than or equal to the preset capacitance threshold value, the earphone is touched by a user, namely, the handheld blank leaving state exists, and if the second detection capacitance values are smaller than the preset capacitance threshold value, the earphone is not touched by the user in the time after the earphone is separated, so that the earphone is not picked. It should be further understood that, due to the continuous touch-off action during the operation of picking up the earphone, taking the earphone departing from the human body as a time node, if the capacitance detection value greater than or equal to the preset capacitance threshold value exists in both the front time and the rear time, it is indicated that the earphone is picked up.
It should be noted that the earphone may be provided with a touch sensor for detecting a touch signal of a user, where the touch sensor may be a capacitive sensor and may be disposed at an ear stem of the earphone or other non-in-ear areas, so that the user can pick up and touch the earphone conveniently.
As a specific embodiment of the present application, as shown in fig. 6, a method for reminding that an earphone is dropped includes the following steps:
step 601, obtaining the current temperature of the first earphone, and if the current temperature of the first earphone is greater than or equal to a preset temperature threshold, determining that the first earphone is in a wearing state.
Step 602, obtaining the current temperatures of other earphones, and comparing the current temperatures of the other earphones with the current temperature of the first earphone respectively.
Step 603, judging whether the current temperature of the other earphones is the same as the current temperature of the first earphone or not.
If not, determining the mode is the monaural mode, and executing the step 604; if there is at least one identity, then it is determined to be a multi-ear mode and step 607 is performed.
The plurality of modes may include a binaural mode of the same user, or a multi-user mode.
Step 604, it is determined whether the current temperature of the first earphone is greater than or equal to a preset temperature threshold and the capacitive sensor is triggered.
If yes, the earphone is determined to be touched, step 605 is executed, if no, the earphone is determined not to be touched, and step 606 is executed.
Step 605, determine whether there is a hand-held blank status.
If yes, determining that the earphone is picked up normally; if not, the earphone is determined not to be picked up, and the step 604 is executed.
Step 606, judging whether the current temperature of the first earphone is smaller than a preset temperature threshold value.
If so, determining that the first earphone is abnormally dropped, and sending reminding information by using a terminal connected with the earphone.
If not, the first earphone is determined to be in a wearing state, and the step 604 is returned.
Step 607, for each earphone in a wearing state, it is determined whether the current temperature is greater than or equal to a preset temperature threshold and the capacitive sensor is triggered.
If yes, the headset is determined to be touched, step 608 is performed, if no, the headset is determined not to be touched, step 609 is performed.
Step 608, determine whether the touched earphone has a handheld blank status.
If so, determining that the touched earphone is picked up normally; if not, return to perform step 607.
Step 609, for each earphone in a wearing state, judging whether the current temperature of the earphone is smaller than a preset temperature threshold value.
If yes, the earphone is determined to be abnormally dropped, and step 610 is executed.
If not, all the earphones are determined to be in the wearing state, and the step 607 is returned.
Step 610, determine whether there is an earphone still in wearing state.
If yes, sending reminding information by using the earphone which is not abnormally dropped;
and if not, sending reminding information by using the terminal connected with the earphone.
To sum up, this application can confirm to send the strategy that unusual drop was reminded according to the first earphone quantity that is in wearing state and the second earphone quantity that takes place unusual drop to ensure that unusual drop is reminded and can in time effectually remind, thereby effectively avoid the earphone to lose.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In order to achieve the purpose, the application further provides a reminding device for the earphone to fall.
In one embodiment, as shown in FIG. 7, there is provided a reminder 10 device with a headset dropped, comprising: a first identification module 11, a second identification module 12 and a reminder policy module 13.
Wherein: the first identification module 11 is configured to identify that at least one earphone is in a wearing state, and determine a first number of earphones of the earphone in the wearing state; the second identification module 12 is configured to identify that at least one earphone is abnormally dropped in the earphones in the wearing state, and determine the number of second earphones of the earphone that is abnormally dropped; and a reminding strategy module 13, configured to determine a strategy for sending the abnormal drop reminding information according to the number of the first earphones and the number of the second earphones, where the number of the first earphones is greater than or equal to the number of the second earphones.
In some embodiments, the alert policy module 13 is specifically configured to: when the number of the second earphones is equal to that of the first earphones, sending reminding information by using a terminal connected with the earphones; or when the number of the second earphones is smaller than that of the first earphones, the earphones which are not abnormally dropped are determined, and the reminding information is sent by the earphones which are not abnormally dropped.
In some embodiments, the first identification module 11 is specifically configured to: acquiring the current temperature of each earphone in any earphone; when the fact that the current temperature is larger than or equal to a preset temperature threshold value is recognized, determining the earphone corresponding to the current temperature as an earphone in a wearing state; the current temperature of the other earphones in the at least one earphone is respectively compared with the earphone to determine the number of the first earphones which are in a wearing state.
In some embodiments, the second identification module 12 is specifically configured to: for each earphone in a wearing state, when the current temperature change of the earphone in the wearing state is identified to be smaller than a preset temperature threshold value, determining that the self-wearing state of the earphone with the changed current temperature is changed into an unworn state; recognizing that the earphone in the unworn state is not picked up in a first preset time before the current temperature changes to be smaller than the preset temperature threshold value, and determining that the earphone in the unworn state is abnormally dropped; and counting the number of the earphones which are abnormally dropped as the number of the second earphones.
In some embodiments, the second identification module 12 is further configured to: the method comprises the steps of obtaining a plurality of first capacitance detection values within a first preset time before the current temperature changes to be smaller than a preset temperature threshold value, identifying that the plurality of first capacitance detection values are all smaller than the preset capacitance threshold value, and determining that a touch detection signal is not obtained and the earphone in an unworn state is not picked up.
In some embodiments, the second identification module 12 is further configured to: and acquiring a plurality of second capacitance detection values within a second preset time after the current temperature changes to be smaller than the preset temperature threshold value, and identifying that the plurality of second capacitance detection values are smaller than the preset capacitance threshold value, and determining that the earphone in the unworn state is not picked up.
In some embodiments, a first time node corresponding to at least one first capacitance detection value being greater than or equal to a preset capacitance threshold value and a second time node corresponding to at least one second capacitance detection value being greater than or equal to the preset capacitance threshold value are obtained; and identifying the time sequence connection of the first time node and the second time node, and determining that the earphone in the unworn state is picked up.
To sum up, this application can confirm to send the strategy that unusual drop was reminded according to the first earphone quantity that is in wearing state and the second earphone quantity that takes place unusual drop to ensure that unusual drop is reminded and can in time effectually remind, thereby effectively avoid the earphone to lose.
The specific definition of the reminding device for dropping the earphone can be referred to the definition of the reminding method for dropping the earphone, and will not be described herein again. All or part of the modules in the earphone drop reminding device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
To achieve the above object, the present application proposes an electronic device, which may be a headset as shown in fig. 8. The headset 1 includes a headset main body 110, an ear stem 120 and a device for reminding the dropping of the headset, a temperature sensor 111 may be disposed on the headset main body 110, the temperature sensor 111 is used for detecting the current temperature of the headset main body 110, and a touch sensor, for example, a capacitance sensor, may be disposed on the ear stem 120 and is used for detecting the touch operation of the user. The device for reminding the falling of the earphone can be stored in the earphone in the form of a computer program so as to execute the method for reminding the falling of the earphone after the earphone is started.
In one embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The electronic device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the electronic device is used for communicating with an external terminal in a wired or wireless mode, and the wireless mode can be realized through WIFI, an operator network, near Field Communication (NFC) or other technologies. The computer program is executed by a processor to implement a method for alerting that a headset is dropped. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
In one embodiment, the earphone drop reminder provided in the present application may be implemented in the form of a computer program, and the computer program may be run on the earphone as shown in fig. 8 or the electronic device as shown in fig. 9. The memory of the electronic device may store various program modules constituting a warning device for the earphone falling, such as the first identification module 11, the second identification module 12 and the warning policy module 13 shown in fig. 7. The program modules constitute computer programs to make the processor execute the steps of the method for reminding that the earphone is dropped according to the embodiments of the present application described in the present specification.
For example, the electronic device shown in fig. 9 can be implemented by the first identification module 11 in the reminding device for dropping earphones as shown in fig. 7, for identifying that at least one earphone is in a wearing state, and determining the number of the first earphones in the wearing state. The electronic device can be implemented by the second identification module 12 to identify that at least one earphone is abnormally dropped in the earphones in the wearing state, and determine the number of the second earphones which are abnormally dropped. The electronic equipment can execute a strategy for determining to send abnormal falling reminding information according to the number of the first earphones and the number of the second earphones through the reminding strategy module, wherein the number of the first earphones is larger than or equal to the number of the second earphones.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), and the like.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (9)

1. A method of alerting that a headset is dropped, the method comprising:
recognizing that at least one earphone is in a wearing state, and determining the number of first earphones of the earphones in the wearing state, wherein a connecting mechanism is not arranged between any two earphones, and each earphone is used as independent equipment to be connected with terminal equipment;
recognizing that at least one earphone is abnormally dropped in the earphones in the wearing state, and determining the number of second earphones of the earphones which are abnormally dropped;
when the number of the second earphones is equal to that of the first earphones, sending reminding information by using a terminal connected with the earphones; alternatively, the first and second electrodes may be,
and when the number of the second earphones is smaller than that of the first earphones, determining the earphones which do not abnormally drop, and sending the reminding information by using the earphones which do not abnormally drop.
2. The method for reminding the falling of the earphone according to claim 1, wherein the identifying that at least one earphone is in a wearing state and determining the number of the first earphones in the wearing state comprises:
obtaining the current temperature of each earphone in the at least one earphone;
when the fact that the current temperature is larger than or equal to a preset temperature threshold value is identified, determining the earphone corresponding to the current temperature as the earphone in the wearing state;
and comparing the current temperature of other earphones in the at least one earphone with the earphones respectively to determine the number of the first earphones in the wearing state.
3. The method for reminding the falling of the earphone according to claim 1, wherein the step of identifying at least one earphone from the earphones in the wearing state, and determining the number of the second earphones in which the abnormal falling occurs comprises:
for each earphone in the wearing state, when the current temperature change of the earphone in the wearing state is identified to be smaller than a preset temperature threshold value, the earphone with the changed current temperature is determined to be changed from the wearing state to the non-wearing state;
recognizing that the earphone in the unworn state is not picked up within a first preset time before the current temperature is smaller than the preset temperature threshold value, and determining that the earphone in the unworn state is abnormally dropped;
and counting the number of the earphones which are abnormally dropped as the number of the second earphones.
4. The method for reminding the dropping of the earphone according to claim 3, wherein the identifying that the earphone in the unworn state is not picked up within a first preset time before the current temperature changes to be less than the preset temperature threshold value comprises:
acquiring a plurality of first capacitance detection values within a first preset time before the current temperature changes to be smaller than the preset temperature threshold value;
and identifying that the plurality of first capacitance detection values are all smaller than a preset capacitance threshold value, and determining that the earphone in the unworn state is not picked up if the touch detection signal is not obtained.
5. The method for reminding the falling of the earphone according to claim 4, further comprising:
acquiring a plurality of second capacitance detection values within a second preset time after the current temperature changes to be smaller than the preset temperature threshold value,
and if the second capacitance detection values are all smaller than the preset capacitance threshold value, determining that the earphone in the unworn state is not picked up.
6. The method for reminding that the earphone is dropped according to claim 5, further comprising:
acquiring at least one first time node corresponding to the first capacitance detection value being greater than or equal to the preset capacitance threshold value and at least one second time node corresponding to the second capacitance detection value being greater than or equal to the preset capacitance threshold value;
and identifying the time sequence connection of the first time node and the second time node, and determining that the earphone in the unworn state is picked up.
7. A device for alerting that a headset has fallen, the device comprising:
the first identification module is used for identifying that at least one earphone is in a wearing state and determining the number of first earphones of the earphone in the wearing state, wherein a connecting mechanism is not arranged between any two earphones, and each earphone is used as independent equipment to be connected with the terminal equipment;
the second identification module is used for identifying that at least one earphone is abnormally dropped in the earphones in the wearing state and determining the number of second earphones of the earphones which are abnormally dropped;
the reminding strategy module is used for sending reminding information by using a terminal connected with the earphones when the number of the second earphones is equal to that of the first earphones; or when the number of the second earphones is smaller than that of the first earphones, the earphones which are not dropped abnormally are determined, and the reminding information is sent by using the earphones which are not dropped abnormally.
8. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method for alerting that a headset is dropped according to any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for alerting that a headset is dropped according to any one of claims 1 to 6.
CN202011286670.6A 2020-11-17 2020-11-17 Earphone falling reminding method and device, electronic equipment and storage medium Active CN112492439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011286670.6A CN112492439B (en) 2020-11-17 2020-11-17 Earphone falling reminding method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011286670.6A CN112492439B (en) 2020-11-17 2020-11-17 Earphone falling reminding method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112492439A CN112492439A (en) 2021-03-12
CN112492439B true CN112492439B (en) 2023-01-20

Family

ID=74930851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011286670.6A Active CN112492439B (en) 2020-11-17 2020-11-17 Earphone falling reminding method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112492439B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473292B (en) * 2021-06-29 2024-02-06 芯海科技(深圳)股份有限公司 State detection method, earphone and computer readable storage medium
CN113727233B (en) * 2021-07-22 2023-12-15 上海闻泰电子科技有限公司 Earphone prompting method and device, earphone and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017147966A1 (en) * 2016-02-29 2017-09-08 宇龙计算机通信科技(深圳)有限公司 Headphone control method, headphone, and terminal
CN108966087A (en) * 2018-07-26 2018-12-07 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
CN111601203A (en) * 2020-05-07 2020-08-28 芯海科技(深圳)股份有限公司 Earphone control method and device and earphone

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10201309B2 (en) * 2016-07-06 2019-02-12 Bragi GmbH Detection of physiological data using radar/lidar of wireless earpieces
CN106790937B (en) * 2016-12-27 2019-10-08 广东小天才科技有限公司 A kind of wearable device control method and wearable device based on wireless headset
CN108810788B (en) * 2018-06-12 2021-09-03 歌尔科技有限公司 Wearing condition detection method and device of wireless earphone and wireless earphone
CN110896509A (en) * 2018-09-13 2020-03-20 北京三星通信技术研究有限公司 Earphone wearing state determining method, electronic equipment control method and electronic equipment
CN111770407A (en) * 2020-06-30 2020-10-13 歌尔科技有限公司 Earphone state detection method and device, earphone and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017147966A1 (en) * 2016-02-29 2017-09-08 宇龙计算机通信科技(深圳)有限公司 Headphone control method, headphone, and terminal
CN108966087A (en) * 2018-07-26 2018-12-07 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
CN111601203A (en) * 2020-05-07 2020-08-28 芯海科技(深圳)股份有限公司 Earphone control method and device and earphone

Also Published As

Publication number Publication date
CN112492439A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108810788B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
CN112492439B (en) Earphone falling reminding method and device, electronic equipment and storage medium
CN108810693B (en) Wearable device and device control device and method thereof
US10433256B2 (en) Application control method and application control device
US10582290B2 (en) Earpiece with tap functionality
CN109561420B (en) Emergency help-seeking method and related equipment
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111338725A (en) Interface layout method and related product
WO2022065682A1 (en) Wearable device and control method therefor
CN111510785B (en) Video playing control method, device, terminal and computer readable storage medium
CN111083271A (en) Wearing detection method, system, equipment and computer readable storage medium
CN104821985B (en) A kind of call control method and device
CN107609371B (en) Message prompting method and audio playing device
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
CN110517463B (en) Method for reminding user to wear wearable device and mobile terminal
CN113220385A (en) Automatic setting method for horizontal and vertical screens of mobile terminal
US10853092B2 (en) Method and device for sound effect processing
CN113778255B (en) Touch recognition method and device
KR20200120105A (en) Electronic device and method for providing information to relieve stress thereof
WO2023246714A1 (en) State determination method and apparatus, electronic device, and readable storage medium
CN110832918A (en) User position identification method and device, storage medium and electronic equipment
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN108680181B (en) Wireless earphone, step counting method based on earphone detection and related product
CN114501292A (en) Earphone wearing detection method and device, earphone equipment and storage medium
CN108683805A (en) A kind of call processing method, mobile terminal and computer readable storage medium

Legal Events

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