CN114267152A - Anti-falling reminding method and device and computer readable storage medium - Google Patents

Anti-falling reminding method and device and computer readable storage medium Download PDF

Info

Publication number
CN114267152A
CN114267152A CN202111554449.9A CN202111554449A CN114267152A CN 114267152 A CN114267152 A CN 114267152A CN 202111554449 A CN202111554449 A CN 202111554449A CN 114267152 A CN114267152 A CN 114267152A
Authority
CN
China
Prior art keywords
earphone
charging box
state
falling
fall
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.)
Granted
Application number
CN202111554449.9A
Other languages
Chinese (zh)
Other versions
CN114267152B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111554449.9A priority Critical patent/CN114267152B/en
Priority claimed from CN202111554449.9A external-priority patent/CN114267152B/en
Publication of CN114267152A publication Critical patent/CN114267152A/en
Application granted granted Critical
Publication of CN114267152B publication Critical patent/CN114267152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an anti-falling reminding method, an anti-falling reminding device and a computer readable storage medium, wherein the method comprises the following steps: acquiring the connection state of the earphone and a matched charging box; when the connection state of the earphone and the matched charging box is not connected, acquiring the wearing state of the earphone; when the wearing state of the earphone is worn, periodically acquiring first motion data acquired by an inertial sensing module in the earphone; judging whether the earphone wearer falls down or not according to the first motion data; when the earphone wearer is in the falling state, the earphone output based on the fall-prevention reminding information realizes that when the user uses the earphone to doze off, the earphone timely sends out the fall-prevention reminding to remind the user to recover consciousness and revive, and the beneficial effect that the user is prevented from falling down and being injured due to the sudden change of the motion state of the vehicle is avoided.

Description

Anti-falling reminding method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of anti-falling reminding, in particular to an anti-falling reminding method, anti-falling reminding equipment and a computer readable storage medium.
Background
A True Wireless Stereo (TWS) bluetooth headset has recently developed rapidly, becoming a new development hotspot in the headset field, and its product form is represented as two independent headsets, which are synchronized by a bluetooth Wireless mode. The TWS earphone is connected with the intelligent terminal through the Bluetooth technology, and stereo experience of listening to music and making a call can be achieved. Due to the convenience of TWS headsets, more and more people are beginning to use TWS headsets, such as when riding in public transportation.
However, when a user sleeps while using the TWS headset, particularly while riding in a vehicle, listening to music, news, and the like using the headset, the user is likely to fall down and be injured by sudden changes in the movement state of the vehicle.
Disclosure of Invention
The invention mainly aims to provide a fall-prevention reminding method, equipment and a computer readable storage medium, and aims to solve the technical problem that a user is dozed and falls and is injured when using an earphone.
In order to achieve the above object, the present invention provides a fall-prevention reminding method, which comprises the following steps:
acquiring the connection state of the earphone and a matched charging box;
when the connection state of the earphone and the charging box is not connected, acquiring the wearing state of the earphone;
when the wearing state of the earphone is worn, periodically acquiring first motion data acquired by an inertial sensing module in the earphone;
judging whether the earphone wearer falls down or not according to the first motion data;
when the earphone wearer is in a falling state, falling-prevention reminding information is output based on the earphone.
Optionally, the step of acquiring the connection state of the headset and the matched charging box comprises:
detecting whether the headset is in communication with the charging box or remains charged;
if the earphone and the charging box keep communicating or keep charging, determining that the connection state of the earphone and the charging box is connected;
and if the earphone is disconnected from communication with the charging box or charging is disconnected, determining that the connection state of the earphone and the charging box is not connected.
Optionally, after the step of acquiring the connection state of the headset and the charging box, the method further includes:
when the connection state of the earphone and the charging box is connected, the earphone is controlled to periodically communicate with the charging box;
and after the box signal is detected or the signal interruption of the ranging sensing module in the earphone is detected, determining that the connection state of the earphone and the charging box is not connected.
Optionally, the step of acquiring the wearing state of the headset includes:
acquiring the sensing distance of the nearest obstacle of the earphone, which is detected by a ranging sensing module in the earphone;
if the sensing distance is larger than a first preset limit value, determining that the wearing state of the earphone is not worn;
if the sensing distance is smaller than or equal to a first preset limit value, second motion data acquired by the inertial sensing module are acquired;
and when the second motion data meet the preset human body action state data standard, determining that the wearing state of the earphone is worn.
Optionally, the step of determining whether the earphone wearer is in a falling state according to the first motion data includes:
acquiring an acceleration component of the earphone in the gravity acceleration direction according to the first motion data;
and when the duration of the acceleration component value greater than the second preset limit value is greater than the preset duration, determining that the earphone wearer falls.
Optionally, before the step of determining that the wearer of the headset is in a falling state, the method further comprises:
judging whether the variation trend of the acceleration component is monotonously increased within the duration which is longer than the preset duration;
and if the variation trend of the acceleration component is monotonously increased, executing the step of determining that the earphone wearer falls.
Optionally, the step of outputting the anti-falling reminding information based on the earphone includes:
playing a preset first prompt tone based on the main earphone;
controlling the auxiliary earphone to play a preset second prompt tone based on the main earphone;
and uploading the anti-falling reminding information to an intelligent terminal which is in wireless connection with the earphone.
Optionally, after the step of outputting the fall-prevention reminding information based on the earphone, the method further includes:
when a reminding termination instruction sent by the intelligent terminal is received, stopping the main earphone from playing the first prompt tone, and stopping the auxiliary earphone from playing the second prompt tone;
or,
and after a cancel signal of a body key of the earphone is received, stopping the main earphone from playing the first prompt sound and stopping the auxiliary earphone from playing the second prompt sound.
In addition, to achieve the above object, the present invention also proposes an apparatus comprising: the system comprises a memory, a processor, an inertial sensing module and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the anti-falling reminding method when being executed by the processor.
Furthermore, to achieve the above object, the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the anti-fall reminding method as described above.
According to the invention, the inertial sensing module in the earphone is used for monitoring the inertial sensing module data of the earphone in the use process, analyzing the acceleration change trend of the earphone in the gravity acceleration direction, judging the falling state of the earphone wearer, and outputting the anti-falling reminding information based on the earphone when the earphone wearer is determined to be in the falling state, so that when the user wears the earphone to doze, the earphone detects the falling risk of the user in time and sends out the anti-falling reminding in time to remind the user to recover consciousness and revive, and the user is prevented from falling and being injured due to sudden change of the motion state of the transportation tool.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a drop-resistant reminding method according to the present invention;
FIG. 3 is a schematic view of the measurement of the acceleration sensor when it is horizontally placed;
fig. 4 is a detailed flowchart of the step S10 in fig. 1 for obtaining the connection state between the headset and the charging box;
fig. 5 is a detailed flowchart of the step S20 in fig. 1 for obtaining the wearing state of the earphones;
fig. 6 is a detailed flowchart illustrating the step S40 in fig. 1 to determine whether the headset wearer falls;
FIG. 7 is a schematic view of acceleration sensor measurements taken while the wearer's head is normally raised;
FIG. 8 is a schematic view of acceleration sensor measurements during a wearer head deflection;
FIG. 9 is a schematic diagram illustrating a detailed flow of step S50 in FIG. 1 based on outputting fall-prevention reminding information by headphones;
fig. 10 is a schematic diagram of connection states between two earphones of the TWS earphone and between the TWS earphone and the smart terminal.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
TWS headsets are rapidly developing and are becoming more and more popular with users. When a user takes a public transport means, the user often uses the earphones to listen to music or watch videos to relax the user, the user is easy to doze in a relaxed state, and if the motion state of the public transport means is changed sharply (such as sudden braking and sudden turning and climbing), the user is easy to fall down and hurt.
Alerting the user through headphones is one of the effective ways to solve the above problems. In a general reminding technology, a gravity sensing module is used for sending a reminding when the head lowering action of a user is detected, and due to the complexity of the motion state of the head of the user in an actual application scene, the situation of false triggering is easily caused.
The main solution of the embodiment of the invention is as follows: through the inertial sensing module in the earphone, the inertial sensing module data of the earphone in the use process is monitored, the acceleration change trend of the earphone in the gravity acceleration direction is analyzed, the falling state of an earphone wearer is judged, and when the earphone wearer is determined to be in the falling state, the falling-prevention reminding information is output based on the earphone. The earphone has realized wearing the earphone when dozing off at the user, and the earphone in time detects that the user has the risk of tumbleing and in time sends and prevents falling the warning, reminds the user to resume consciousness and revive, avoids the user to tumble the injury because of vehicle motion state sudden change. In addition, as can be seen from the embodiment of the invention, the different inclination states of the head of the user do not affect the accuracy of the anti-falling reminder output based on the earphone.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the terminal device may be a wearable terminal device such as a TWS headset, and may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005, and an inertial sensing module 1006. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001. The inertial sensor module 1006 may be an acceleration sensor, an angular velocity sensor, an inertial measurement unit formed by combining single, double, and three axes thereof, or an attitude reference system including a magnetic sensor.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a fall-prevention reminder.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the terminal device of the present invention may be disposed in the terminal device, and the terminal device calls the anti-drop reminding program stored in the memory 1005 through the processor 1001 and executes the anti-drop reminding method provided by the embodiment of the present invention.
An embodiment of the present invention provides a fall-down prevention reminding method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the fall-down prevention reminding method according to the present invention.
In this embodiment, the anti-falling reminding method includes:
step S10, obtaining the connection state of the earphone and the matched charging box;
the earphone can be a TWS earphone, the product form of the TWS earphone is represented by two independent earphones (a main earphone and an auxiliary earphone), the TWS earphone is generally in wireless connection (such as Bluetooth connection) with an intelligent terminal which is successfully paired, the intelligent terminal is connected with the main earphone, the main earphone and the auxiliary earphone are synchronized in a Bluetooth wireless mode, and stereo experience of listening to music and making a call can be achieved. To facilitate carrying and charging by the user, TWS headsets are often equipped with a mating charging box.
Contain the sensing module of range finding in the earphone, for example infrared sensor, microwave sensor etc. in this application earphone embodiment, set up infrared sensor in the earphone, this infrared sensor includes infrared emitter and supporting infrared receiver, and when the earphone went distance measurement, infrared emitter was used for to the peripheral original infrared signal of transmission of earphone, and infrared receiver is used for receiving the repayment infrared signal that original infrared signal reflects back through external obstacle.
The connection state of the headset to the charging box of the accessory includes connected and disconnected. When the earphone is placed in the matched charging box, the earphone can be in communication connection with the charging box by receiving signals reflected by the inner wall of the charging box through the infrared sensor. The earphone and the charging box both comprise charging interfaces, and when the charging interfaces are in contact, the earphone and the charging box keep a charging state. When the earphone is in the box, the earphone and the matched charging box are in communication connection or charging connection, and the earphone and the matched charging box can be judged to be in a connected state; when the earphone is not in the box, the earphone and the matched charging box are disconnected from communication or charging, and the earphone and the matched charging box can be judged to be in an unconnected state.
Step S20, when the connection state of the earphone and the charging box is not connected, the wearing state of the earphone is obtained;
specifically, when the user takes the earphone out of the charging box, the earphone and the charging box are in an unconnected state. After the user takes out the earphone, the user may not use the earphone immediately, and the anti-falling reminding function of the earphone can be realized when the user wears the earphone, so that the wearing state of the earphone is judged to be necessary, and the wearing state of the earphone is divided into unworn state and worn state.
After the user wears the earphone, a distance exists between the ranging sensing module of the earphone and the ear canal of the user, and a first preset limit value can be set based on the distance, for example, the distance is used as the first preset limit value. The shapes of ears of different users and the wearing habits of the earphones are different, the user can set the first preset limit value through the intelligent terminal connected with the earphones, and the embodiment of the invention does not limit the first preset limit value.
Specifically, in the process of acquiring the wearing state of the earphone, the sensing distance of the nearest obstacle of the earphone is detected through the ranging sensing module, and when the sensing distance is smaller than or equal to a first preset limit value, the wearing state of the earphone is judged to be worn. At this time, in order to further determine the wearing state of the earphone, second motion data acquired by the inertial sensing module needs to be acquired. And when the second motion data are matched with the human body action state data in standard, determining that the wearing state of the earphone is worn.
Step S30, when the wearing state of the earphone is worn, first motion data collected by an inertial sensing module in the earphone is periodically acquired;
the inertial sensor module contains an inertial sensor which can mainly detect and measure acceleration, inclination, impact, vibration, rotation and multi-degree-of-freedom motion and is an important part for solving navigation, orientation and motion carrier control. The inertial sensor comprises an acceleration sensor, an angular velocity sensor, an inertial measurement unit formed by combining single, double and three axes of the acceleration sensor and the angular velocity sensor, and an attitude reference system comprising a magnetic sensor.
The inertial sensing module in this embodiment is an acceleration sensor capable of measuring three-axis acceleration. The first motion data acquired by the inertial sensing module comprise acceleration data of the acceleration sensor on three coordinate axes of the acceleration sensor. Referring to fig. 3, when the acceleration sensor is horizontally placed, the measurable acceleration in the direction of X, Y, Z corresponds to front-back, left-right, up-down in the real sense. The acceleration sensor is installed in different ways in the earphone, and the direction corresponding to the measuring axis of the acceleration sensor changes.
Step S40, judging whether the earphone wearer falls down or not according to the first motion data;
when the earphone wearer falls, the acceleration of the human body is monotonously increased in the gravity acceleration direction under the action of inertia.
After the earphone is determined to be in the wearing state, the movement states of the earphone and the head of the earphone wearer are basically the same, the acceleration change of the head of the earphone wearer can be deduced from the acceleration change of the earphone, the acceleration change trend of the earphone in the gravity acceleration direction can be obtained by analyzing and processing the first movement data detected by the earphone, and therefore the falling state of the earphone wearer can be judged.
And step S50, when the earphone wearer falls, outputting fall-prevention reminding information based on the earphone.
The earphone can prevent falling through the broadcast prompt tone and remind, also can be connected with intelligent terminal, will prevent falling and remind information upload to intelligent terminal, and intelligent terminal prevents again falling and reminds. The user can cancel the anti-falling reminding in two modes of the earphone and the intelligent terminal.
In this embodiment, confirm the connection status of earphone and supporting box that charges earlier, when the earphone is in not connection status with supporting box that charges, acquire the wearing state of earphone, when the wearing state of earphone is for having worn, monitor the inertial sensing module data of earphone in the use again, the acceleration trend of analysis earphone in the acceleration of gravity direction, judge the state of tumbleing of earphone wearer, when confirming that earphone wearer is in the state of tumbleing, then prevent based on earphone output and tumble the warning information. Therefore, whether the earphone is worn in the ear canal of the user is accurately identified in two aspects of the connection state of the earphone and the charging box and the wearing state of the earphone, when the user is determined to wear the earphone, the first motion data related to the head motion state of the user is kept to be continuously monitored, when the user is determined to doze and be in a falling state based on the first motion data, the earphone can timely send out a falling prevention prompt, and the effect that the user falls down and is injured due to the sudden change of the motion state of the vehicle is avoided.
Further, in another embodiment of the anti-falling reminding method of the present invention, referring to fig. 4, the step S10 of acquiring the connection state between the headset and the charging box includes:
step S11, detecting whether the earphone keeps communication with the charging box or keeps charging;
the distance measurement sensing module in the earphone, such as an infrared sensor, comprises an infrared transmitter and a matched infrared receiver, when the earphone measures the distance, the infrared transmitter is used for transmitting an original infrared signal to the periphery of the earphone, and the infrared receiver is used for receiving a feedback infrared signal of the original infrared signal reflected back by an external obstacle. Specifically, when the earphone is in the box, the original infrared signal touches the inner wall of the charging box to generate a feedback infrared signal, and at the moment, the earphone is in communication connection with the charging box.
When the earphone is connected with the charging interface of the charging box, the earphone is in a charging state.
Step S12, if the earphone and the charging box keep communication or keep charging, the connection state of the earphone and the charging box is determined as connected;
when the earphone is in the box, the received feedback infrared signal is basically unchanged, and the earphone and the charging box are in communication connection when the feedback infrared signal is unchanged. The earphone is in charging state and keeps charging connection with the charging box. The state maintenance of either the communication connection or the charging connection can determine that the connection state of the earphone and the charging box is connected.
Step S13, if the earphone and the charging box are disconnected from communication or charging, determining that the connection state of the earphone and the charging box is not connected;
when the feedback infrared signal received by the earphone changes, specifically, the distance detected by the infrared sensor becomes large or the feedback infrared signal is not received in a sampling period, the earphone is disconnected from the charging box in communication. And the charging interface of the earphone and the charging box is disconnected, and then the earphone and the charging box are disconnected in charging connection. When any one of the communication connection and the charging connection is in a disconnected state, the connection state of the earphone and the charging box can be determined to be disconnected.
Step S14, when the connection state of the earphone and the charging box is connected, controlling the earphone to periodically communicate with the charging box;
when the connection state of the earphone and the charging box is connected, the subsequent anti-falling reminding step cannot be carried out, the communication state of the earphone and the charging box needs to be continuously monitored at the moment, and communication interruption is timely found out, so that the subsequent steps can be smoothly carried out.
Step S15, after detecting the box signal or the signal interruption of the ranging sensing module in the earphone, determining that the connection state of the earphone and the charging box is not connected.
Specifically, after the earphone is disconnected from the charging interface of the charging box, the charging process is interrupted, and a box output signal is generated by the change from charging to charging interruption.
When the earphone is in the charging box, because the earphone and the charging box are kept relatively static, the distance detected by the infrared sensor is always a fixed value, and after the earphone is taken out of the charging box, the time for the infrared sensor to receive the infrared signal reflected back by the infrared sensor can be prolonged, if the reflected signal cannot be received in a sampling period, the signal interruption of the ranging sensing module in the earphone can be considered.
In this embodiment, obtaining the connection state of the earphone and the charging box matched with the earphone is the basis for subsequently judging the wearing state of the earphone, and after determining that the earphone and the charging box are in the unconnected state, judging the wearing state of the earphone can avoid the false triggering condition of triggering and anti-falling reminding of the earphone in the charging box.
Further, in another embodiment of the anti-falling reminding method of the present invention, referring to fig. 5, the step S20 of acquiring the wearing state of the earphone includes:
step S21, acquiring the sensing distance of the nearest obstacle of the earphone detected by the ranging sensing module in the earphone;
contain range finding sensor in the range finding sensing module, range finding sensor can include in ultrasonic ranging sensor, laser ranging sensor, infrared ranging sensor and the 24GHz radar ranging sensor one or more, and range finding sensing module in this embodiment is infrared ranging sensor.
The infrared distance measuring sensor is provided with a pair of infrared signal transmitting and receiving devices, the transmitter transmits infrared signals with specific frequency, the receiver receives the infrared signals with the frequency, when the infrared detection direction meets an obstacle, the infrared signals are reflected back to be received by the receiver, and the distance is calculated after the time difference data of receiving and transmitting are processed.
When the user wears the headset, the closest obstacle to the headset is the user's ear canal. The distance between the infrared sensor of the earphone and the auditory canal of the user is set to be a first preset limit value, and the wearing state of the earphone can be preliminarily judged by comparing the sensing distance of the nearest obstacle of the earphone with the first preset limit value.
Step S22, if the sensing distance is larger than a first preset limit value, determining that the wearing state of the earphone is not worn;
specifically, after the user takes the earphone out of the charging box, the earphone is placed in a desktop or a drawer, and the like, the sensing distance is larger than a first preset limit value, and the earphone is not worn in the wearing state.
Step S23, if the sensing distance is smaller than or equal to a first preset limit value, second motion data acquired by the inertial sensing module are acquired;
specifically, when the user takes the earphone out of the charging box, for example, the earphone is put in a pocket or held in a hand, and one end of the earphone, on which the infrared sensor is mounted, is tightly attached to the obstacle, the sensing distance may be smaller than or equal to a first preset limit value, and in order to determine the specific wearing condition of the earphone, the data of the inertial sensing module should be further analyzed in combination.
The second motion data collected by the inertial sensing module comprises acceleration data of the acceleration sensor on three measuring axes of the acceleration sensor.
Step S24, when the second motion data accords with the preset human body action state data standard, the wearing state of the earphone is determined to be worn.
The human body action state data standard comprises acceleration data or acceleration change rule data of the human body during various daily activities. And continuously matching the acquired second motion data with data in the human body action state data standard in the process of judging the wearing state of the earphone, and determining the wearing state of the earphone as worn when the matching is hit.
In this embodiment, analyze the wearing state that the range finding sensing module data was preliminary judged the earphone earlier, if necessary, combine the motion state of inertia sensing module's data analysis earphone again, can judge the wearing state of earphone more accurately to trigger the mistake that prevents falling and remind and trigger the condition when avoiding the user not wearing the earphone, only accomodating the condition of earphone.
Further, in another embodiment of the anti-falling reminding method of the present invention, referring to fig. 6, the step S40 of determining whether the headset wearer falls includes:
step S41, acquiring an acceleration component of the earphone in the gravity acceleration direction according to the first motion data;
in this embodiment, referring to fig. 7, inside the earphone, the measurement coordinate axis of the acceleration sensor chip attached to the main board of the earphone is different from the coordinate axis when it is horizontally placed. The preset earphone is placed in an ear of a person, when the head of the wearer is normally lifted, the direction towards the auditory canal is an X axis, and the direction vertical to the ground is a Y axis.
When the head of the earphone wearer is normally lifted, the Y-axis direction coincides with the gravity acceleration direction, so that the acceleration in the Y-axis direction is the acceleration component to be acquired.
When the head of the headphone wearer is in an inclined state for a long time, referring to fig. 8, the acceleration component in the gravity acceleration direction can be calculated by combining the inclination angle of the head of the current headphone wearer on the vertical plane with the acceleration of the Y axis. In the figure, α is an inclination angle of the head of the wearer on a vertical plane, g is a gravitational acceleration, Ax is an acceleration in the X-axis direction, and Ay is an acceleration in the Y-axis direction.
Specifically, α is an unknown quantity which needs to be calculated, Ax and Ay are measurement data of the acceleration sensor, and are known quantities, and according to the relationship between Ax, Ay and g, Ax is g sin α and Ay is g cos α, two equations are transformed into g Ax/sin α and g is Ay/cos α, g is a constant, two equations are transformed into Ax/sin α/cos α, and these equations are transformed into Ax/Ay is sin α/cos α, and according to a trigonometric relationship tan α/cos α, Ax/Ay is tan α, and α is arctan (Ax/Ay).
When the head of the earphone wearer inclines not only in the X-Y plane, the inclination angle formula alpha in the three-axis angle can be further expanded to be arctan (√ Ax ^2+ Az ^2)/Ay) by using the inclination angle formula.
Step S42, when the duration of the acceleration component value greater than the second preset limit value is greater than the preset duration, judging whether the variation trend of the acceleration component is monotonously increased within the duration greater than the preset duration;
the duration is a duration from when the acceleration component is greater than a second preset limit to when the acceleration component is less than or equal to the second preset limit, where the preset duration may be a duration set by default by the system, or a duration set by the user according to a self condition, a habit, or a scene where the user is located, and the embodiment of the present invention is not limited thereto.
When the human body falls, the acceleration component monotonously increases. When the user wears the earphone, the acceleration change condition of the earphone is basically the same as that of the head of the user. Therefore, whether the acceleration variation trend of the headset is monotonously increased is one of the bases for judging the falling state.
Step S43, if the variation trend of the acceleration component is monotonously increased, determining that the earphone wearer falls;
setting an acceleration component value of the human body in the gravity acceleration direction in the state of falling to be a second preset limit value, where the second preset limit value is 0.3g (g is gravity acceleration) in this embodiment, and when a duration of the acceleration component value measured by an acceleration sensor in the earphone is greater than 0.3g, is greater than a preset duration, determining that the earphone wearer is in the falling state.
In this embodiment, the inclination state of the head of the earphone wearer does not influence the measurement of the acceleration component by the acceleration sensor in the earphone, so that the earphone can adapt to different conditions when the user uses the earphone, the scene of the change of the acceleration of the earphone under the falling situation of the user can be accurately simulated, and the accuracy of the anti-falling reminding is improved.
Further, in another embodiment of the anti-drop reminding method of the present invention, referring to fig. 9, the step S50 outputs the anti-drop reminding information based on the earphone, including:
step S51, playing a preset first prompt tone based on the main earphone;
after the earphone wearer is judged to be in a falling state, the main earphone plays preset falling-prevention reminding tones, and the reminding tones can be configured by the user. A certain time delay exists between the main earphone and the auxiliary earphone, and the sound played by the main earphone is defined as a first prompt sound.
Step S52, controlling the auxiliary earphone to play a preset second prompt tone based on the main earphone;
referring to fig. 10, Right earlobe (default Master) denotes a Right earphone (default main earphone), and Left earlobe (default slave) denotes a Left earphone (default sub earphone). AVRCP (Audio/Video Remote Control Profile), A2DP (Advanced Audio Distribution Profile, Bluetooth Audio transmission model protocol) and SCO (Synchronous Link Connection Oriented Connection) are connected between the main earphone and the auxiliary earphone, through the Connection, the main earphone transmits Audio information to the auxiliary earphone, and controls the auxiliary earphone to play prompt tone, thereby realizing the effect of playing stereo sound of left and right ears. And a certain time delay exists between the main earphone and the auxiliary earphone, and the sound played by the auxiliary earphone is defined as a second prompt sound.
Step S53, uploading the anti-falling reminding information to an intelligent terminal which is in wireless connection with the earphone;
referring to fig. 10, the earphone and the smart terminal may be connected through a BLE (Bluetooth Low Energy) technology, which is a Low-cost, short-range, and interoperable robust wireless technology, and operates in an unlicensed ISM radio frequency Band (Industrial, Scientific, and Medical frequency Band) of 2.4GHz, and power consumption is minimized by using many intelligent means. Meanwhile, A2DP, AVRCP and HFP (Hands-Free Profile, specification of Bluetooth device control phone) are arranged between the main earphone and the intelligent terminal, so that audio transmission between the earphone and the intelligent terminal is realized, and the earphone controls the intelligent terminal to play/suspend audio, answer/hang up the phone and the like.
An application program matched with the earphone can be installed on the intelligent terminal, and a user can receive the anti-falling reminding information through the application program and control the earphone to play the reminding sound.
Step S54, when a prompt termination instruction sent by the intelligent terminal is received, the main earphone is stopped playing the first prompt sound, and the auxiliary earphone is stopped playing the second prompt sound;
the user cancels the anti-falling prompt on the intelligent terminal by operating the intelligent terminal. Under the condition that the user selects to cancel the brushing prevention reminding of the earphone through the intelligent terminal, after the user operates on the intelligent terminal, the intelligent terminal sends a reminding termination instruction to the earphone, the main earphone stops playing the first reminding sound after receiving the canceling instruction, and the main earphone controls the auxiliary earphone to stop playing the second reminding sound.
Step S55, after receiving a cancel signal of the body key of the earphone, stopping the main earphone from playing the first prompt sound, and stopping the auxiliary earphone from playing the second prompt sound.
The earphone body is provided with a key control part, after a user operates a key, the main earphone stops playing the first prompt tone, and the main earphone controls the auxiliary earphone to stop playing the second prompt tone. Further, in an embodiment, the first and second alert tones may be the same
In this embodiment, the carrier of the anti-falling reminding information can be sound played by the earphone, light or vibration emitted by the intelligent terminal and the like, and the anti-falling reminding is performed through multiple ways, so that the probability of reminding a user to recover consciousness or revive is increased, and the anti-falling reminding effect is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A fall-prevention reminding method is characterized by comprising the following steps:
acquiring the connection state of the earphone and a matched charging box;
when the connection state of the earphone and the charging box is not connected, acquiring the wearing state of the earphone;
when the wearing state of the earphone is worn, periodically acquiring first motion data acquired by an inertial sensing module in the earphone;
judging whether the earphone wearer falls down or not according to the first motion data;
when the earphone wearer is in a falling state, falling-prevention reminding information is output based on the earphone.
2. The fall-resistant reminding method according to claim 1, wherein the step of obtaining the connection state of the earphone and the matched charging box comprises:
detecting whether the headset is in communication with the charging box or remains charged;
if the earphone and the charging box keep communicating or keep charging, determining that the connection state of the earphone and the charging box is connected;
and if the earphone is disconnected from communication with the charging box or charging is disconnected, determining that the connection state of the earphone and the charging box is not connected.
3. The fall-resistant reminding method according to claim 2, wherein after the step of obtaining the connection state of the earphone and the matched charging box, the method further comprises the following steps:
when the connection state of the earphone and the charging box is connected, the earphone is controlled to periodically communicate with the charging box;
and after the box signal is detected or the signal interruption of the ranging sensing module in the earphone is detected, determining that the connection state of the earphone and the charging box is not connected.
4. The fall-prevention reminding method according to claim 1, wherein the step of obtaining the wearing state of the earphone comprises:
acquiring the sensing distance of the nearest obstacle of the earphone, which is detected by a ranging sensing module in the earphone;
if the sensing distance is larger than a first preset limit value, determining that the wearing state of the earphone is not worn;
if the sensing distance is smaller than or equal to a first preset limit value, second motion data acquired by the inertial sensing module are acquired;
and when the second motion data meet the preset human body action state data standard, determining that the wearing state of the earphone is worn.
5. The fall-prevention reminding method according to claim 1, wherein the step of determining whether the headset wearer falls or not according to the first motion data comprises:
acquiring an acceleration component of the earphone in the gravity acceleration direction according to the first motion data;
and when the duration of the acceleration component value greater than the second preset limit value is greater than the preset duration, determining that the earphone wearer falls.
6. The fall arrest reminder method according to claim 5, characterized in that, prior to the step of determining that the wearer of the headset is in a fall state, it further comprises:
judging whether the variation trend of the acceleration component is monotonously increased within the duration which is longer than the preset duration;
and if the variation trend of the acceleration component is monotonously increased, executing the step of determining that the earphone wearer falls.
7. The fall-prevention reminding method according to any one of claims 1 to 6, wherein the step of outputting the fall-prevention reminding information based on the earphone comprises:
playing a preset first prompt tone based on the main earphone;
controlling the auxiliary earphone to play a preset second prompt tone based on the main earphone;
and uploading the anti-falling reminding information to an intelligent terminal which is in wireless connection with the earphone.
8. The method for reminding users of falling prevention according to claim 7, wherein after the step of outputting the information of falling prevention reminding based on the earphone, the method further comprises:
when a reminding termination instruction sent by the intelligent terminal is received, stopping the main earphone from playing the first prompt tone, and stopping the auxiliary earphone from playing the second prompt tone;
or,
and after a cancel signal of a body key of the earphone is received, stopping the main earphone from playing the first prompt sound and stopping the auxiliary earphone from playing the second prompt sound.
9. An anti-fall reminder device, comprising: memory, a processor, an inertial sensing module and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the fall arrest reminder method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the fall-prevention alert method according to any one of claims 1 to 8.
CN202111554449.9A 2021-12-17 Anti-drop reminding method, device and computer readable storage medium Active CN114267152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111554449.9A CN114267152B (en) 2021-12-17 Anti-drop reminding method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111554449.9A CN114267152B (en) 2021-12-17 Anti-drop reminding method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114267152A true CN114267152A (en) 2022-04-01
CN114267152B CN114267152B (en) 2024-11-05

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334192A (en) * 2022-08-10 2022-11-11 锐迪科创微电子(北京)有限公司 Bluetooth headset, control method and device thereof, readable storage medium and terminal
WO2023240512A1 (en) * 2022-06-15 2023-12-21 北京小米移动软件有限公司 Fall detection method and device, earphone, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104297519A (en) * 2013-07-19 2015-01-21 广州三星通信技术研究有限公司 Human motion attitude identification method and mobile terminal
CN105611443A (en) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 Control method and system of earphone and earphone
CN106488013A (en) * 2016-09-27 2017-03-08 维沃移动通信有限公司 A kind of danger based reminding method and mobile terminal
TWM538211U (en) * 2016-10-04 2017-03-11 wei-jun Li Fall warning device
CN107909771A (en) * 2017-10-08 2018-04-13 南京邮电大学 A kind of personnel's tumble alarm system and its implementation based on wireless sensor network
CN109686051A (en) * 2018-12-18 2019-04-26 广东工业大学 A kind of determination method, device, equipment and the medium of target object tumble behavior
CN110213685A (en) * 2019-05-11 2019-09-06 出门问问信息科技有限公司 Earphone condition checkout gear, earphone condition detection method and earphone
CN110401893A (en) * 2019-08-02 2019-11-01 深圳稳泰电声有限公司 A kind of anti-drowsy earphone and its control method
CN112438726A (en) * 2020-11-20 2021-03-05 深圳市卓翼科技股份有限公司 Fall alarm method based on wearable device, wearable device and storage medium
CN113643511A (en) * 2021-08-24 2021-11-12 深圳市豪恩声学股份有限公司 Earphone alarm system and method and earphone

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104297519A (en) * 2013-07-19 2015-01-21 广州三星通信技术研究有限公司 Human motion attitude identification method and mobile terminal
CN105611443A (en) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 Control method and system of earphone and earphone
US20180091886A1 (en) * 2015-12-29 2018-03-29 Goertek Inc. Earphone control method, earphone control system and earphone
CN106488013A (en) * 2016-09-27 2017-03-08 维沃移动通信有限公司 A kind of danger based reminding method and mobile terminal
TWM538211U (en) * 2016-10-04 2017-03-11 wei-jun Li Fall warning device
CN107909771A (en) * 2017-10-08 2018-04-13 南京邮电大学 A kind of personnel's tumble alarm system and its implementation based on wireless sensor network
CN109686051A (en) * 2018-12-18 2019-04-26 广东工业大学 A kind of determination method, device, equipment and the medium of target object tumble behavior
CN110213685A (en) * 2019-05-11 2019-09-06 出门问问信息科技有限公司 Earphone condition checkout gear, earphone condition detection method and earphone
CN110401893A (en) * 2019-08-02 2019-11-01 深圳稳泰电声有限公司 A kind of anti-drowsy earphone and its control method
CN112438726A (en) * 2020-11-20 2021-03-05 深圳市卓翼科技股份有限公司 Fall alarm method based on wearable device, wearable device and storage medium
CN113643511A (en) * 2021-08-24 2021-11-12 深圳市豪恩声学股份有限公司 Earphone alarm system and method and earphone

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023240512A1 (en) * 2022-06-15 2023-12-21 北京小米移动软件有限公司 Fall detection method and device, earphone, and storage medium
CN115334192A (en) * 2022-08-10 2022-11-11 锐迪科创微电子(北京)有限公司 Bluetooth headset, control method and device thereof, readable storage medium and terminal
CN115334192B (en) * 2022-08-10 2023-11-14 锐迪科创微电子(北京)有限公司 Bluetooth headset, control method and device thereof, readable storage medium and terminal

Similar Documents

Publication Publication Date Title
US10015836B2 (en) Master device for using connection attribute of electronic accessories connections to facilitate locating an accessory
US10841682B2 (en) Communication network of in-ear utility devices having sensors
WO2017113768A1 (en) Control method and control system of earphone, and earphone
US7209569B2 (en) Earpiece with an inertial sensor
US9851705B2 (en) Terminal apparatus and method for controlling terminal apparatus
US20180249250A1 (en) Method and apparatus for audio pass-through
CN112866876A (en) In-ear detection method of TWS headset, and computer-readable storage medium
US20170347183A1 (en) In-Ear Utility Device Having Dual Microphones
US10681451B1 (en) On-body detection of wearable devices
WO2020098670A1 (en) Self-moving device, alarm module of self-moving device, and alarm method therefor
CN113645352A (en) Bluetooth headset anti-loss method, device and system and computer readable storage medium
US20180279086A1 (en) Device control
AU2022201050A1 (en) Improving situational awareness, communication, and safety in hearing protection and communication systems
CN104956690B (en) A kind of is in the system for being adapted to voice signal with ear
US20230381025A1 (en) Situational awareness, communication, and safety in hearing protection and communication systems
CN114267152A (en) Anti-falling reminding method and device and computer readable storage medium
CN114267152B (en) Anti-drop reminding method, device and computer readable storage medium
CN110753157B (en) Terminal early warning method, system, terminal and readable storage medium
TWI471826B (en) System and method for detecting sounds and sending alert messages
CN207802376U (en) A kind of electronic system for test earphone produce agaric
CN109151694B (en) Electronic system for detecting out-of-ear of earphone
US11483658B1 (en) In-ear detection of wearable devices
WO2024031777A1 (en) Bluetooth headset and control method and device therefor, readable storage medium, and terminal
CN116132870A (en) Dynamic mode switching method and device, earphone device and readable storage medium
JP2024140117A (en) Terminal device and 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
GR01 Patent grant