CN112354083A - Wearing state detection method and device, electronic equipment and storage medium - Google Patents

Wearing state detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112354083A
CN112354083A CN202011055137.9A CN202011055137A CN112354083A CN 112354083 A CN112354083 A CN 112354083A CN 202011055137 A CN202011055137 A CN 202011055137A CN 112354083 A CN112354083 A CN 112354083A
Authority
CN
China
Prior art keywords
pulse
current
wearing state
pulse current
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011055137.9A
Other languages
Chinese (zh)
Inventor
刘杰
谢广宝
颜建平
余建雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies 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 SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202011055137.9A priority Critical patent/CN112354083A/en
Publication of CN112354083A publication Critical patent/CN112354083A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/36014External stimulators, e.g. with patch electrodes
    • A61N1/3603Control systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/36014External stimulators, e.g. with patch electrodes
    • A61N1/3603Control systems
    • A61N1/36034Control systems specified by the stimulation parameters

Abstract

The embodiment of the application relates to the technical field of electronic equipment, and discloses a wearing state detection method and device, electronic equipment and a storage medium, wherein the method can be applied to a massager and comprises the following steps: acquiring pulse current output by a pulse output circuit; determining a fluctuation amplitude value of the pulse current; and then the wearing state of the massage instrument is determined according to the fluctuation amplitude value of the pulse current. By implementing the embodiment of the application, the wearing state of the massager can be determined.

Description

Wearing state detection method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of electronic equipment, in particular to a wearing state detection method and device, electronic equipment and a storage medium.
Background
With the rapid development of the massage apparatus technology, the massage apparatuses of today generally have the function of electrical stimulation massage, that is, the massage apparatuses can output pulse current through the built-in electrode slice to realize the above-mentioned effect of electrical stimulation massage. However, in practice, the electric stimulation massage function brings discomfort to the user when the massage apparatus is not normally worn, and even injures the life and property safety of the user, so how to detect the wearing state of the massage apparatus becomes a problem which needs to be solved urgently.
Disclosure of Invention
The embodiment of the application discloses a wearing state detection method and device, electronic equipment and a storage medium, which can accurately detect the wearing state of a massager.
The embodiment of the application discloses a wearing state detection method in a first aspect, which is applied to a massage instrument, and the method comprises the following steps:
acquiring pulse current output by a pulse output circuit;
determining a fluctuation amplitude value of the pulse current;
and determining the wearing state of the massage instrument according to the fluctuation amplitude value.
As an optional implementation manner, in the first aspect of the embodiments of the present application, the determining the wearing state of the massage apparatus according to the value of the fluctuation amplitude includes:
if the fluctuation amplitude value is detected not to be in a preset standard numerical range, determining that the massager is in an abnormal wearing state;
and if the fluctuation amplitude value is detected to be within a preset standard numerical range, determining that the massager is in a normal wearing state.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the method further includes:
if the massage instrument is in an abnormal wearing state, the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current; alternatively, the first and second electrodes may be,
if the massager is in an abnormal wearing state, the massager is adjusted from a first output gear to a second output gear which is lower than the first output gear, wherein the first output gear is output at present; and the number of the first and second groups,
and if the massager is in a normal wearing state, controlling the pulse output circuit to continuously output the pulse current.
As an optional implementation manner, in the first aspect of this embodiment of the present application, after the turning off the power consumption switch of the massage apparatus to make the pulse output circuit stop outputting the pulse current, the method further includes:
and setting the working gears of the massage instrument to initial gears, wherein the initial gears comprise the lowest gears in the working gears of the massage instrument.
As an optional implementation manner, in the first aspect of the embodiment of the present application, if the massage apparatus is restored from the abnormal wearing state to the normal wearing state, the output gear of the massage apparatus is restored to the first output gear.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the method further includes:
and if the massage instrument is in an abnormal wearing state, outputting prompt information, wherein the prompt information is used for prompting a user that the massage instrument is in the abnormal wearing state.
As an optional implementation manner, in the first aspect of the embodiment of the present application, before determining that the massage apparatus is in an abnormal wearing state if the fluctuation amplitude value is detected not to be within the preset standard numerical range, the method further includes:
determining the current working gear of the massage instrument according to the current working state of the massage instrument;
and determining a preset standard numerical range according to the working gear.
As an alternative implementation manner, in the first aspect of the embodiments of the present application, there are a plurality of pulse currents; the determining the fluctuation amplitude value of the pulse current comprises:
determining a maximum current value and a minimum current value in the pulse currents according to the current value of each pulse current;
and determining the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining the value of the fluctuation amplitude of the pulse current according to the maximum current value and the minimum current value includes:
calculating a difference between the maximum current value and the minimum current value;
and taking the difference value as a fluctuation amplitude value of the pulse current.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining the value of the fluctuation amplitude of the pulse current according to the maximum current value and the minimum current value includes:
determining a target current value range according to the maximum current value and the minimum current value, wherein the upper limit of the target current value range is the maximum current value, and the lower limit of the target current value range is the minimum current value;
and taking the target current value range as a fluctuation amplitude value of the pulse current.
As an alternative implementation manner, in the first aspect of the embodiments of the present application, there are a plurality of pulse currents; the determining the fluctuation amplitude value of the pulse current comprises:
calculating the variance of the plurality of pulse currents;
and taking the variance as a fluctuation amplitude value of the pulse current.
As an optional implementation manner, in the first aspect of the embodiments of the present application, the obtaining a pulse current output by a pulse output circuit includes:
detecting the pulse current output by the pulse output circuit in real time through a current detection circuit, wherein the current detection circuit is electrically connected with the output end of the pulse output circuit;
and acquiring the pulse current detected by the current detection circuit in the first time length from the current detection circuit every first time length.
As an optional implementation manner, in the first aspect of this embodiment of the present application, before the obtaining the pulse current output by the pulse output circuit, the method further includes:
detecting whether the pulse output current outputs the pulse current or not;
if the pulse output circuit is detected to output the pulse current, executing the step of acquiring the pulse current output by the pulse output circuit;
if the pulse output circuit is detected not to output the pulse current, after waiting for the first time period, the power consumption switch of the massager is turned off to turn off the massager.
As an optional implementation manner, in the first aspect of the embodiments of the present application, the obtaining a pulse current output by a pulse output circuit includes:
when the starting of the pulse output circuit is detected, the pulse current output by the pulse output circuit is acquired after waiting for a preset time.
A second aspect of the embodiments of the present application discloses a wearing state detection device, including:
the acquisition unit is used for acquiring the pulse current output by the pulse output circuit;
a first determination unit for determining a fluctuation amplitude value of the pulse current;
and the second determining unit is used for determining the wearing state of the massage instrument according to the fluctuation amplitude value.
A third aspect of the embodiments of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the wearing state detection method disclosed in the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute the wearing state detection method disclosed in the first aspect of the embodiments of the present application.
A fifth aspect of embodiments of the present application discloses a computer program product, which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect of embodiments of the present application.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, the pulse current output by the massage instrument can be acquired, and the wearing state of the massage instrument is determined according to the fluctuation amplitude value of the pulse current. When the massager is worn abnormally, the electrode plate of the massager outputting the pulse current generates a gap with a user, and the generated gap has a larger resistance value, so that the pulse current output by the massager generates larger fluctuation; when the massager is worn normally, the current value of the pulse current is generally stable. Based on this, whether the massage instrument is normally worn or not can be accurately detected according to the fluctuation amplitude value of the pulse current.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a wearing state detection method disclosed in an embodiment of the present application;
fig. 2 is a schematic flow chart of a wearing state detection method disclosed in an embodiment of the present application;
fig. 3 is a schematic flow chart of another wearing state detection method disclosed in the embodiment of the present application;
fig. 4 is a schematic flow chart of another wearing state detection method disclosed in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a wearing state detection device disclosed in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another wearing state detection device disclosed in the embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first", "second", "third" and "fourth", etc. in the description and claims of the present application are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a wearing state detection method and device, electronic equipment and a storage medium, which can determine the wearing state of a massager.
The technical solution of the present application will be described in detail with reference to specific examples.
In order to more clearly describe the wearing state detection method disclosed in the embodiment of the present application, an application scenario suitable for the wearing state detection method is first described, and the wearing state detection method can be applied to various massage apparatuses, preferably, massage apparatuses having an electrical stimulation massage function. As shown in fig. 1, the massage device 10 may include a massage assembly 110, a controller 120, a pulse output circuit 130, a power consumption switching circuit 140, and a current detection circuit 150. Wherein the massage assembly 110 may act on a body part of the user, such as the user's skin, muscles, etc., to provide massage services. Optionally, the massage assembly 110 may include an electrode pad, and the electrode pad may output a pulse current to act on a human body part to generate an electrical stimulation massage effect; the controller 120 may include various chips, microcontrollers, etc. having a logic control function; the pulse output circuit 130 may be configured to generate a pulse current and output the pulse current to the electrode pad; the power consumption switch circuit can be a circuit consisting of components with switch functions such as a triode, an MOS tube and the like, and has a switch function; the current detection circuit 150 has a current detection function, and is specifically configured to detect a value of the pulse current output by the pulse output circuit 130.
In one embodiment, the pulse output circuit 130 may be electrically connected to the massage assembly 110 for providing a pulse current to the massage assembly 110 to operate the massage assembly 110; the current detection circuit 150 may be electrically connected to the controller 120 and the pulse output circuit 130, respectively, and is configured to detect a pulse current output by the pulse output circuit 130, and feed back the obtained pulse current to the controller 120; the controller 120 can determine the fluctuation amplitude value of the pulse current according to the fed back pulse current, and then determine the wearing state of the massage apparatus according to the fluctuation amplitude value of the pulse current; optionally, the controller 120 may further be electrically connected to the power consumption switch circuit 140, and the power consumption switch circuit 140 may be electrically connected to the pulse output circuit 130, and is configured to supply power to the pulse output circuit 130 by the switching power supply, so that the controller 120 may further control the power consumption switch circuit 140 to turn off when it is determined that the massage apparatus is in the abnormal wearing state according to the fluctuation amplitude value of the pulse circuit, so that the massage apparatus does not work any more.
Referring to fig. 2, fig. 2 is a schematic flow chart of a wearing state detection method disclosed in the embodiment of the present application. The wearing state detection method is applicable to a controller of a massage apparatus, and the massage apparatus can include but is not limited to: a neck massager, a waist massager, an eye massager, etc., without limitation. The wearing state detection method may include the steps of:
202. and acquiring the pulse current output by the pulse output circuit.
In an embodiment of the present application, the massage apparatus may include an electrical stimulation device, and the electrical stimulation device may include a pulse output circuit and an electrode sheet. When the electric stimulation device is in a working state, the pulse output circuit can output pulse current to the electrode slice under the driving of the input driving voltage, so that the electrode slice outputs current to the skin of a human body to carry out electric stimulation massage. Optionally, the massager may further include a current detection circuit, and the current detection circuit may obtain the pulse current output by the pulse output circuit in real time, and feed the obtained pulse current back to the controller of the massager for data processing. It should be further noted that the pulse current may refer to a current pulse or a voltage pulse which repeatedly appears in a cycle.
In the embodiment of the present application, the pulse current collected by the current detection circuit is usually an analog signal (i.e., an electrical signal), and the analog signal cannot be received and processed by the controller of the massage apparatus. Therefore, optionally, an analog-to-digital conversion unit (which can convert an analog signal into a digital signal) may be built in the current detection circuit, and then the current detection circuit may obtain the pulse current output by the pulse output circuit in real time, convert the acquired pulse current into a digital signal through the analog-to-digital conversion unit, and feed back the digital signal to the controller, so that the controller may execute subsequent data processing work according to the fed-back data signal.
204. And determining the fluctuation amplitude value of the pulse current output by the pulse output circuit.
In the embodiment of the application, the pulse current output by the pulse output circuit is difficult to fluctuate due to loss in the transmission process or the change of the load resistance of the massage instrument. It can be understood that the fluctuation of the pulse current due to the loss in the transmission process is usually small and will not affect the user, and when the load resistance of the massage apparatus changes due to the different wearing states of the massage apparatus, the fluctuation of the pulse current is usually large and may affect the user.
In the embodiment of the present application, the fluctuation amplitude value of the pulse current may substantially characterize the fluctuation amplitude of the pulse current, for example: the fluctuation range of the current value of the pulse current can be represented by 0.1-0.5 mA, 1-3 mA and the like, and the fluctuation size of the current value of the pulse current can be represented by 0.4-2 mA. Alternatively, the fluctuation amplitude value of the pulse current may be calculated by the controller according to the pulse current fed back by the current detection current.
206. And determining the wearing state of the massage instrument according to the fluctuation amplitude value of the pulse current.
In the embodiment of the application, after the controller of the massage instrument determines the fluctuation amplitude value of the pulse current output by the pulse output circuit, the wearing state of the massage instrument can be determined according to the fluctuation amplitude value. The wearing state can be understood as the attaching degree of the electrode plate of the massager and the skin of the human body, and the wearing state can comprise a normal wearing state and an abnormal wearing state. The electrode plate is normally attached to the skin of a human body in a normal wearing state, and the electrode plate is not normally attached to the skin of the human body in an abnormal wearing state. Alternatively, the abnormal wearing state may include an abnormal wearing state and an abnormal not-wearing state, where the abnormal wearing state may refer to that the electrode pad is attached to the skin of the human body, but the attachment area is too small or the electrode pad is spaced from the skin of the human body, and the abnormal wearing state refers to that the electrode pad is not attached to the skin of the human body.
It can be understood that, when the massage apparatus is in a normal wearing state, because the electrode plates are normally attached to the skin of the human body, the load resistance of the massage apparatus is also in a normal range, and thus the fluctuation amplitude value of the pulse current is also in a standard numerical range (the standard numerical range of the fluctuation amplitude value can be set by developers according to a large amount of development data, and represents the normal fluctuation amplitude of the output pulse current when the massage apparatus is normally worn); when the massager is in an abnormal wearing state, the load resistance value of the massager is changed due to the interval between the electrode plates and the skin of the human body, so that the fluctuation amplitude value of the pulse current output by the pulse output circuit is not in the standard numerical range.
Based on this, optionally, the controller of the massage apparatus may determine that the massage apparatus is in an abnormal wearing state when detecting that the fluctuation amplitude value of the pulse current is not within the preset standard numerical range; and when the fluctuation amplitude value of the pulse current is detected to be within the preset standard numerical range, the massager is determined to be in a normal wearing state.
As described above, the preset standard value range may be set by a developer according to a large amount of development data and development experience, and a typical value thereof may be 0.1mA to 0.5mA, or 0.2mA to 0.7mA, etc., which is not limited herein.
By implementing the method disclosed by each embodiment, the pulse current output by the massage instrument can be acquired, and the wearing state of the massage instrument can be determined according to the fluctuation amplitude value of the pulse current. When the massager is worn abnormally, the electrode plate of the massager outputting the pulse current generates a gap with a user, and the generated gap has a larger resistance value, so that the pulse current output by the massager generates larger fluctuation; when the massager is worn normally, the current value of the pulse current is generally stable. Based on the above, whether the massage instrument is normally worn or not can be determined according to the fluctuation amplitude value of the pulse current.
Referring to fig. 3, fig. 3 is a schematic flow chart of another wearing state detection method disclosed in the embodiment of the present application. The wearing state detection method is applicable to a controller of a massage apparatus, and the massage apparatus can include but is not limited to: a neck massager, a waist massager, an eye massager, etc., without limitation. The wearing state detection method may include the steps of:
302. and acquiring the pulse current output by the pulse output circuit.
Optionally, the controller of the massage apparatus may obtain the pulse current detected by the current detection unit within the first time period from the current detection unit every first time period (for example: 1 second, 2 seconds, and the specific value may be set by a developer according to a great amount of development experience, which is not limited herein).
By implementing the method, the controller of the massage instrument can acquire the pulse current output by the pulse output circuit through the current detection circuit at intervals so as to realize real-time monitoring on the pulse current output by the pulse output circuit, thereby facilitating the subsequent determination of the wearing state of the massage instrument.
In practice, it is found that when the pulse output circuit is just powered on, the output pulse current may have large fluctuation in the initial operation stage due to the influence of the suddenly applied operating voltage. In order to avoid that the subsequent controller judges that the massage instrument is in an abnormal wearing state by mistake when the current detection unit collects the pulse current output by the pulse output circuit at the stage, the pulse current output by the pulse output circuit can be collected after the pulse output circuit is started for a period of time.
Optionally, the controller of the massage apparatus may count time when detecting that the pulse output circuit is started (optionally, a timing device may be built in the massage apparatus, and the timing device is in communication connection with the controller, so that the controller may count time through the timing device); when the timed time length is greater than or equal to a preset waiting time length (the preset waiting time length may be approximately equal to the time length of the pulse output circuit in the initial working phase, for example, within 10 seconds after the pulse output circuit is powered on, or within 15 seconds, the pulse output circuit may be considered to be in the initial working phase, and a specific time length thereof may be set by a developer according to a great amount of development experience, which is not limited herein), the controller may obtain, from the current detection unit, every first time length, the pulse current detected by the current detection unit within the first time length.
For example, the controller may start timing when detecting that the pulse output circuit is powered on, and when the pulse output circuit has passed through the initial working stage after timing for 10 seconds or 20 seconds and the output pulse current is stable, the controller may acquire the pulse current from the current detection unit every first time period and the current detection unit detects the pulse current within the first time period, so as to avoid the controller erroneously determining that the massage apparatus is in the abnormal wearing state.
By implementing the method, the unstable pulse current acquired by the current detection unit when the pulse output circuit is in the initial working stage can be prevented from being fed back to the controller, and the wearing state of the massager can be further prevented from being judged by the follow-up controller by mistake.
304. And determining the fluctuation amplitude value of the pulse current output by the pulse output circuit.
As an optional implementation manner, the pulse current output by the pulse output circuit obtained by the current detection circuit in real time may be multiple, and optionally, the number of the pulse current may be determined according to the frequency of the pulse current and the acquisition time length. For example, if the acquisition duration is 1 second and the frequency of the pulse current is 50Hz, the current detection circuit acquires 50 pulse currents within the duration of 1 second, and the pulse currents are spaced at intervals of 20ms, it should be noted that, for reasons such as abnormal wearing, the values of some pulse currents are 0 (that is, the pulse currents are not acquired); in other embodiments, if the massage apparatus includes a plurality of massage components, and the pulse output circuit is provided with a plurality of output ports corresponding to the plurality of massage components, the number of pulse currents output by the pulse output circuit may be equal to the product of the number of pulse currents obtained by the current detection circuit in real time and the output port provided by the pulse output circuit.
Optionally, after acquiring the plurality of pulse currents output by the pulse output circuit, the controller calculates a variance of the plurality of pulse currents, and uses the variance as a fluctuation amplitude value of the pulse current.
By implementing the method, the variance of the pulse currents is calculated to be used as the fluctuation amplitude value of the pulse currents, so that the influence of the current data by accident can be avoided, and the accuracy of subsequently judging the wearing state of the massage instrument is improved.
306. And if the fluctuation amplitude value is detected not to be in the preset standard numerical range, determining that the massage instrument is in an abnormal wearing state.
In the embodiment of the application, it is considered that the pulse current output by the pulse output circuit can fluctuate due to loss in the transmission process, fluctuation of working voltage for driving the pulse output circuit to work and the like, and the fluctuation of the part cannot be avoided, but the fluctuation of the part is usually small, so that the small fluctuation of the part can be regarded as normal fluctuation by the controller, and when the pulse circuit output by the pulse output circuit is in the range of normal fluctuation, the massager is determined to be in the normal wearing state, and when the pulse circuit output by the pulse output circuit is not in the range of normal fluctuation, the massager is determined to be in the abnormal wearing state.
In the embodiment of the present invention, the abnormal wearing state mainly refers to a situation where the skin and the electrode sheet of the massage apparatus are not tightly attached although the user wears the massage apparatus on the neck, and this situation may also be generally referred to as a wearing failure state;
it is further noted that, in one embodiment, the normal fluctuation of the pulse current can be substantially characterized by a predetermined standard value range. The standard value range may be set by a developer according to a great amount of development experience, or may be generated by a massage machine, and is not limited herein. It can be understood that the standard numerical range can be stored in a storage medium (such as a memory card, a hard disk, etc.) in the massage apparatus, and then the controller can call the standard numerical range at any time to compare with the fluctuation amplitude value of the pulse current, so as to determine the wearing state of the massage apparatus according to the comparison result.
Optionally, before the controller of the massage apparatus obtains the pulse current output by the pulse output circuit, a test voltage may be input to the pulse output circuit, and the test pulse current output by the pulse output circuit under the action of the test voltage is collected, so that the controller may calculate the fluctuation amplitude value of the test pulse current as the standard numerical range of the fluctuation amplitude value.
Optionally, the controller may collect a plurality of groups of test pulse currents output by the pulse output circuit under the action of the test voltage, and calculate fluctuation amplitude values of the plurality of groups of test pulse currents; and further calculating the average value of the fluctuation amplitude values of the multiple groups of test pulse currents as the standard numerical range of the fluctuation amplitude values of the pulse currents.
By implementing the method, the controller of the massage instrument can determine the standard numerical range of the fluctuation amplitude value of the pulse current by applying the test voltage, and can improve the accuracy of the standard numerical range of the fluctuation amplitude value of the pulse current by calculating the average value of the fluctuation amplitude values of a plurality of groups of test pulse currents as the standard numerical range of the fluctuation amplitude value of the pulse current.
As another optional implementation, the controller of the massage apparatus may further calculate a loss value of the pulse current output by the pulse output circuit in the transmission process according to the input impedance value of the component included in the pulse output circuit, and use the loss value as a standard numerical range of a fluctuation amplitude value of the pulse current.
By implementing the method, the controller of the massage instrument can directly calculate the standard numerical range of the fluctuation amplitude value of the pulse current according to the impedance value of the element included in the pulse output circuit, the acquisition process is simple, and the implementation cost can be reduced.
In practice, it is found that when the massage apparatus is in an abnormal wearing state, although the electrode plates of the massage apparatus are attached to the skin of the human body, there may be a gap between the electrode plates and the skin of the human body, and the gap will increase the load resistance of the massage apparatus, so that the pulse current output by the pulse output circuit generates large fluctuation, and further the skin of the human body is strongly stimulated by the pulse current, which may cause discomfort. Optionally, when the controller of the massage apparatus detects that the massage apparatus is in an abnormal wearing state, the power consumption switch of the massage apparatus may be turned off to stop the pulse output circuit from outputting the pulse current.
It should be noted that, the power consumption switch of the massage apparatus can be electrically connected with the pulse output circuit and the power supply respectively, and then when the power consumption switch is turned off, the power supply will no longer provide the working voltage to the pulse output circuit, and then the pulse output circuit will stop outputting the pulse current, thereby avoiding the skin of the user from being stimulated by the strongly fluctuating pulse current to cause discomfort to the user.
It should be further noted that when the massage apparatus is in an unworn state (i.e. the pulse current is not detected all the time), it indicates that the user is not using the massage apparatus, so the controller can also turn off the power consumption switch of the massage apparatus to stop the pulse output circuit from outputting the pulse current, thereby reducing the power consumption of the massage apparatus and improving the endurance.
Optionally, after the controller turns off the power consumption switch of the massage apparatus to stop the pulse output circuit from outputting the pulse current, the massage apparatus may enter a sleep state, and it can be understood that: the massage machine entering the sleep state refers to the state that the main functional modules (such as a pulse output circuit, a current detection circuit and the like) of the massage machine are turned off and only some necessary functions (such as an indicator light, a wake-up detection function and the like) are kept.
In another embodiment, the controller may adjust the massage apparatus from a first output gear to a second output gear when detecting that the massage apparatus is in an abnormal wearing state; preferably, the second output gear may be lower than the first output gear.
For example, when the controller detects that the massage apparatus is in an extraordinary wearing state and the massage apparatus is in a high gear, in order to avoid discomfort to the user due to stimulation of the strongly fluctuating pulse current to the skin of the user, the controller may adjust the massage apparatus to a low gear to reduce the current value of the pulse current output by the massage apparatus, thereby avoiding the above situation.
If the user feels uncomfortable or receives the reminding information sent by the massage instrument, the wearing state of the massage instrument is adjusted to enable the massage instrument to be recovered to the normal wearing state, and at the moment, the massage instrument can normally execute the massage function. Optionally, the controller may restore the output gear of the massage apparatus to the first output gear when detecting that the massage apparatus is restored from the abnormal wearing state to the normal wearing state. Thereby the massage instrument can normally execute the massage function.
In this application embodiment, the controller can be provided with different work shifts to the pulse current of equidimension not, and wherein, each work unit corresponds the pulse current of certain numerical value. Alternatively, the working units may be set in several numbers from low to high, and the output pulse current gradually increases with the working gear from low to high, for example: the working gear can be set to be a low gear, a middle gear and a high gear, so that the pulse current output by the massager in the low gear can be the minimum, the pulse current output in the middle gear can be larger than that in the low gear, and the pulse current output in the high gear can be the maximum. Therefore, the user can adjust the massage instrument to different working gears according to the requirement of the user so as to realize massage with different stimulation degrees.
Optionally, after the power consumption switch of the massage apparatus is turned off to stop the pulse output circuit from outputting the pulse current, and in order to avoid that the user feels uncomfortable when wearing the massage apparatus again or starting the massage apparatus because the massage apparatus is in a higher gear, the controller may set the operating gear of the massage apparatus to the initial gear. Optionally, the initial gear may be set by a developer according to a great amount of development experience, or may be a user-intended working gear set by the user, which is not limited herein. Preferably, the initial gear may be the lowest gear or the middle gear among the operating gears of the massage device, which is not limited herein.
In another embodiment, the controller may determine a target gear selected by the user most frequently according to a historical operating range selection record of the user, and determine the target gear as the initial gear.
For example, the operating range that is selected by the user with the largest number of historical selections is the middle range, and the middle range is the most desirable operating range of the user, the controller may determine the middle range as the initial range.
By implementing the method, the controller can also set the working gear of the massage instrument to be a lower gear after the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current, so that the phenomenon that the user feels uncomfortable due to the fact that the massage instrument is in the higher gear when the user wears the massage instrument again or starts the massage instrument is avoided.
As mentioned above, when the massage device is in different working positions, the output pulse current is different, and the loss load of the pulse current in the transmission process is unchanged, so that the loss of the pulse current in the transmission process is different. Different transmission losses will cause the standard value range of the fluctuation amplitude value of the pulse current output by the massage instrument at different working gears to be different, for example: the pulse current output by the high gear is larger, and the standard numerical range of the fluctuation amplitude value of the pulse current is larger; correspondingly, the pulse current output by the low gear is smaller, and the standard data range of the fluctuation amplitude value of the pulse current is smaller.
Optionally, in order to more accurately determine the wearing state of the massage apparatus, before determining that the massage apparatus is in the abnormal wearing state if the controller detects that the fluctuation amplitude value of the pulse current is not within the preset standard value range, the controller may determine the current working gear of the massage apparatus according to the current working state of the massage apparatus, and determine the preset standard value range according to the working gear of the massage apparatus.
Optionally, the preset standard value range and the working gear of the massage device may be in a matching relationship.
By implementing the method, the controller can adjust the standard numerical range corresponding to the fluctuation amplitude value of the pulse current according to the working gear of the massager, so that the wearing state of the massager can be determined more accurately subsequently.
308. And if the fluctuation amplitude value is detected to be within the preset standard numerical range, determining that the massage instrument is in a normal wearing state.
As described in step 306, considering that the pulse current output by the pulse output circuit may fluctuate due to loss during transmission, fluctuation of the operating voltage for driving the pulse output circuit, and the like, the controller may regard this part of the small fluctuation as normal fluctuation, and determine that the massage apparatus is in a normal wearing state when the pulse current output by the pulse output circuit is within the range of the normal fluctuation. Optionally, when the controller of the massage apparatus detects that the massage apparatus is in a normal wearing state, the pulse output circuit may be controlled to continue outputting the pulse current.
By implementing the method disclosed by each embodiment, whether the massager is normally worn or not can be determined according to the fluctuation amplitude value of the pulse current; and after the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current, the working gear of the massage instrument is set to be a lower gear, so that the phenomenon that the user feels uncomfortable due to the fact that the massage instrument is in a higher gear when the user wears the massage instrument again or starts the massage instrument is avoided; and the standard numerical range corresponding to the fluctuation amplitude value of the pulse current can be adjusted according to the working gear of the massage instrument, so that the wearing state of the massage instrument can be determined more accurately subsequently.
Referring to fig. 4, fig. 4 is a schematic flow chart of another wearing state detection method disclosed in the embodiment of the present application. The wearing state detection method is applicable to a controller of a massage apparatus, and the massage apparatus can include but is not limited to: a neck massager, a waist massager, an eye massager, etc., without limitation. The wearing state detection method may include the steps of:
402. and acquiring the pulse current output by the pulse output circuit.
In one embodiment, the electrical stimulation device of the massage apparatus may include two electrode pads, and the pulse current output by the pulse output circuit may be output from one of the electrode pads, input to the other electrode pad after passing through the skin of the human body, and then return to the pulse output circuit to form a pulse current loop. When the massager is not worn, the electrode plates of the massager are not attached to the skin of the human body, so that a pulse current loop cannot be formed between the massager and the skin of the human body, and the pulse output circuit does not output pulse current.
Based on this, optionally, before the controller of the massage apparatus obtains the pulse current output by the pulse output circuit, it may be first detected whether the pulse output circuit outputs the pulse current, and since the pulse output circuit does not output the pulse current, it indicates that the massage apparatus may be in an unworn state, so the controller may turn off the power consumption switch of the massage apparatus to turn off the massage apparatus when detecting that the pulse output circuit does not output the pulse current.
By implementing the method, the controller can determine that the massage instrument is not worn when detecting that the pulse output circuit does not output the pulse current, and further can close the massage instrument in order to save the power consumption of the massage instrument and improve the cruising ability of the massage instrument.
Optionally, when the controller detects that the pulse output circuit does not output the pulse current, the controller may wait for the first duration before turning off the power switch of the massage apparatus to turn off the massage apparatus.
The first time period may be set by a developer according to a great amount of development experience, and is not limited herein. Alternatively, a typical value of the first time length may be 5 seconds or 10 seconds, which is not limited herein.
By implementing the method, the controller can wait for the first time period and then close the massager after detecting that the pulse output circuit does not output the pulse current, so that the effect of delayed closing is achieved.
404. According to the current value of each pulse current, a maximum current value and a minimum current value are determined in the plurality of pulse currents.
406. And determining the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value.
As an alternative embodiment, after determining the maximum current value and the minimum current value in the plurality of pulse currents, the controller may calculate a difference between the maximum current value and the minimum current value, and use the difference as the pulse current. For example, the controller determines that the maximum current value is 50mA and the minimum current value is 49.5mA among the plurality of pulse currents, and then determines that the value of the fluctuation amplitude of the pulse current is 0.5 mA.
By implementing the method, the controller can determine the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value in the obtained plurality of pulse currents, so that the wearing state of the massage apparatus can be conveniently determined according to the fluctuation amplitude value of the pulse current in the follow-up process; in addition, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and the implementation cost of the scheme are reduced.
As another alternative, the controller may further determine a fluctuation range of the pulse current according to a maximum current value and a minimum current value of the plurality of pulse currents, where an upper limit of the fluctuation range may be the maximum current value of the plurality of pulse currents, and a lower limit thereof may be the minimum current value of the plurality of pulse currents, and the controller may use the fluctuation range of the pulse current as a fluctuation amplitude value of the pulse current.
For example, if the maximum current value and the minimum current value of the plurality of pulse currents acquired by the controller are 50mA and 49.5mA respectively, the fluctuation amplitude values of the plurality of pulse currents can be determined to be 49.5mA to 50 mA.
By implementing the method, the controller can determine the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value in the obtained plurality of pulse currents, so that the wearing state of the massage apparatus can be conveniently determined according to the fluctuation amplitude value of the pulse current in the follow-up process; in addition, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and the implementation cost of the scheme are reduced.
408. And determining the wearing state of the massage instrument according to the fluctuation amplitude value of the pulse current.
In the embodiment of the application, the wearing state of the massage apparatus determined by the controller according to the fluctuation amplitude value of the pulse current may include a normal wearing state and an abnormal wearing state, optionally, when the controller determines that the massage apparatus is in the abnormal wearing state, the controller may output prompt information, and the prompt information is used for prompting a user that the massage apparatus is in the abnormal wearing state.
As an optional implementation manner, a sound generating device (e.g., a buzzer, a loudspeaker, etc.) may be built in the massage apparatus, and the controller may control the built-in sound generating device to output a preset sound effect to remind the user when it is determined that the massage apparatus is in an abnormal wearing state.
Optionally, the controller may control the built-in sound generating device to output a first prompt sound effect when the massage apparatus is in an abnormal wearing state, where the first prompt sound effect is used to prompt a user that the massage apparatus is in the abnormal wearing state; in another embodiment, the controller may control the built-in sound generating device to output a second prompting sound effect when the massage apparatus is not worn, and the second prompting sound effect is used for prompting the user that the massage apparatus is not worn.
Preferably, first suggestion audio and second suggestion audio can be different, and then the user can judge the wearing state that the massage appearance is specifically in according to the suggestion audio of difference.
By implementing the method disclosed by each embodiment, the controller can visually prompt the wearing state of the massage instrument to the user through various different prompt sound effects so as to avoid the damage to the user caused by the fact that the massage instrument works in an abnormal wearing state.
As another alternative, the massage apparatus may have a built-in light emitting device (e.g., an LED lamp, an indicator lamp), and the controller may control the built-in light emitting device to output a preset light effect to remind the user when it is determined that the massage apparatus is in an abnormal wearing state.
Optionally, the controller may control the built-in sound generating device to output a first prompting light effect when the massage apparatus is in an abnormal wearing state, where the first prompting light effect is used to prompt the user that the massage apparatus is in the abnormal wearing state; in another embodiment, the controller may control the built-in sound generating device to output a second prompting sound effect when the massage apparatus is in the non-wearing state, and the second prompting sound effect is used for prompting the user that the massage apparatus is in the non-wearing state.
Preferably, first suggestion light effect and second suggestion light effect can be different, and then the user can judge the wearing state that the massage appearance is specifically in according to the suggestion light effect of difference.
By implementing the method disclosed by each embodiment, the controller can visually prompt the wearing state of the massage instrument to the user through various different prompting lamp effects so as to avoid the damage to the user caused by the fact that the massage instrument works in an abnormal wearing state.
As another alternative, when determining that the massage apparatus is in the abnormal wearing state, the controller may send a remote prompt message to the application program bound to the massage apparatus, where the remote prompt message prompts the user that the massage apparatus is in the abnormal wearing state.
Optionally, the massage apparatus may establish a communication connection with a user device (e.g., a mobile phone, a remote controller, or a wearable device lamp), and the user device may have an application program built therein for controlling the massage apparatus, so that when the controller of the massage apparatus determines that the massage apparatus is in an abnormal wearing state, the massage apparatus may send remote prompt information to the application program built in the user device to prompt the user.
By implementing the method disclosed by each embodiment, the controller can also send remote prompt information to the application program bound by the massage instrument or send remote prompt information to the user equipment in communication connection with the massage instrument, so as to realize remote prompt for the user and avoid harm to the user caused by the fact that the massage instrument works in an abnormal wearing state.
By implementing the method disclosed by each embodiment, whether the massager is normally worn or not can be determined according to the fluctuation amplitude value of the pulse current; when the pulse output circuit is detected not to output the pulse current, the massage instrument is determined to be in an unworn state, and then the controller can close the massage instrument in order to save the power consumption of the massage instrument and improve the cruising ability of the massage instrument; after the pulse current output by the pulse output circuit is detected not to be output, the massage instrument is turned off after waiting for the first time length, and the effect of delayed turning off is achieved; the fluctuation amplitude value of the pulse current can be determined according to the maximum current value and the minimum current value of the obtained pulse currents, so that the wearing state of the massage instrument can be conveniently determined according to the fluctuation amplitude value of the pulse current in the follow-up process; in addition, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and the implementation cost of the scheme are reduced; and the wearing state of the massage instrument can be visually prompted to the user through various prompting information, so that the damage to the user caused by the fact that the massage instrument works in an abnormal wearing state is avoided.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wearing state detection device disclosed in the embodiment of the present application, the wearing state detection device may be applied to the massage apparatus, and the wearing state detection device may include: an obtaining unit 501, a first determining unit 502 and a second determining unit 503, wherein:
an obtaining unit 501, configured to obtain a pulse current output by the pulse output circuit;
a first determination unit 502 for determining a fluctuation amplitude value of the pulse current;
a second determining unit 503, configured to determine a wearing state of the massage apparatus according to the fluctuation amplitude value of the pulse current.
By implementing the wearing state detection device, the pulse current output by the massage instrument can be acquired, and the wearing state of the massage instrument can be determined according to the fluctuation amplitude value of the pulse current. When the massager is worn abnormally, the electrode plate of the massager outputting the pulse current generates a gap with a user, and the generated gap has a larger resistance value, so that the pulse current output by the massager generates larger fluctuation; when the massager is worn normally, the current value of the pulse current is generally stable. Based on the above, whether the massage instrument is normally worn or not can be determined according to the fluctuation amplitude value of the pulse current.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearing state detection device disclosed in the embodiment of the present application, the wearing state detection device may also be applied to the above-mentioned massage apparatus, the wearing state detection device shown in fig. 6 may be obtained by optimizing the wearing state detection device shown in fig. 5, and compared with the wearing state detection device shown in fig. 5, the manner that the second determining unit 503 is used for determining the wearing state of the massage apparatus according to the fluctuation amplitude value of the pulse current may specifically be:
a second determining unit 503, configured to determine that the massage apparatus is in an abnormal wearing state when the fluctuation amplitude value of the pulse current is detected not to be within the preset standard numerical range; and when the fluctuation amplitude value of the pulse current is detected to be within a preset standard numerical range, determining that the massage instrument is in a normal wearing state.
By implementing the wearing state detection device, the pulse current output by the massage instrument can be acquired, and the wearing state of the massage instrument can be determined according to the fluctuation amplitude value of the pulse current.
As an alternative embodiment, the wearing state detection apparatus shown in fig. 6 may further include: a shutdown unit 504 and a control unit 505, wherein:
a turn-off unit 504 for turning off a power consumption switch of the massage apparatus to stop the pulse output circuit from outputting the pulse current when the massage apparatus is detected to be in an abnormal wearing state;
and the control unit 505 is used for controlling the pulse output circuit to continuously output the pulse current when the massage instrument is detected to be in the normal wearing state.
By implementing the wearing state detection device, when the abnormal wearing state of the massage instrument is detected, the power consumption switch of the massage instrument can be turned off to enable the pulse output circuit to stop outputting the pulse current, so that the phenomenon that the skin of a user is stimulated by the strongly fluctuating pulse current to cause discomfort to the user is avoided.
As an alternative embodiment, the wearing state detection apparatus shown in fig. 6 may further include: a setting unit 506, wherein:
a setting unit 506, configured to set the operating range of the massage apparatus to an initial range after the power consumption switch of the massage apparatus is turned off by the turning-off unit 504 to cause the pulse output circuit to stop outputting the pulse current, where the initial range includes a lowest range among the operating ranges of the massage apparatus.
By implementing the wearing state detection device, after the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current, the working gear of the massage instrument is set to be a lower gear, so that the phenomenon that the user feels uncomfortable due to the fact that the massage instrument is in a higher gear when the user wears the massage instrument again or starts the massage instrument is avoided.
As an alternative embodiment, the wearing state detection apparatus shown in fig. 6 may further include: an output unit 507, wherein:
and an output unit 507, configured to output prompt information when it is detected that the massage apparatus is in an abnormal wearing state, where the prompt information is used to prompt a user that the massage apparatus is worn abnormally.
Implement above-mentioned wearing state detection device, can indicate the wearing state of massage appearance to the user with audio-visual mode through various suggestion information to avoid the massage appearance to work under the abnormal wearing state and cause harm to the user.
As an alternative embodiment, the wearing state detection apparatus shown in fig. 6 may further include: a third determining unit 508 and a fourth determining unit 509, wherein:
a third determining unit 508, configured to determine a current operating position of the massage apparatus according to a current operating state of the massage apparatus before determining that the massage apparatus is in an abnormal wearing state when the second determining unit 503 detects that the fluctuation amplitude value of the pulse current is not within the preset standard value range;
a fourth determining unit 509, configured to determine a preset standard value range according to the working gear.
By implementing the wearing state detection device, the standard numerical range corresponding to the fluctuation amplitude value of the pulse current can be adjusted according to the working gear where the massage instrument is located, so that the wearing state of the massage instrument can be determined more accurately subsequently.
As an alternative embodiment, there may be a plurality of pulse currents, and the manner for determining the fluctuation amplitude value of the pulse current by the first determining unit 502 may specifically be:
a first determining unit 502, configured to determine a maximum current value and a minimum current value in the plurality of pulse currents according to a current value of each pulse current; and determining the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value.
By implementing the wearing state detection device, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and implementation cost of the scheme are reduced.
As an optional implementation manner, the manner that the first determining unit 502 is configured to determine the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value may specifically be:
the first determining unit 502 is configured to calculate a difference between the maximum current value and the minimum current value, and use the difference as a fluctuation amplitude value of the pulse current.
By implementing the wearing state detection device, the fluctuation amplitude value of the pulse current can be determined according to the maximum current value and the minimum current value in the obtained multiple pulse currents, so that the wearing state of the massage instrument can be conveniently determined according to the fluctuation amplitude value of the pulse current in the follow-up process; in addition, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and the implementation cost of the scheme are reduced.
As an optional implementation manner, the manner that the first determining unit 502 is configured to determine the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value may specifically be:
a first determining unit 502, configured to determine a target current value range according to a maximum current value and a minimum current value, where an upper limit of the target current value range is the maximum current value and a lower limit of the target current value range is the minimum current value; and taking the target current value range as a fluctuation amplitude value of the pulse current.
By implementing the wearing state detection device, the fluctuation amplitude value of the pulse current can be determined according to the maximum current value and the minimum current value in the obtained multiple pulse currents, so that the wearing state of the massage instrument can be conveniently determined according to the fluctuation amplitude value of the pulse current in the follow-up process; in addition, the maximum current value and the minimum current value of the pulse current are easy to obtain and determine, so that the difficulty in determining the fluctuation amplitude value of the pulse current is reduced, and the implementation difficulty and the implementation cost of the scheme are reduced.
As an alternative embodiment, there may be a plurality of pulse currents, and the manner for determining the fluctuation amplitude value of the pulse current by the first determining unit 502 may specifically be:
a first determining unit 502 for selecting a first number of target pulse currents from the plurality of pulse currents; and determining a fluctuation amplitude value of the target pulse current.
By implementing the wearing state detection device, due to the fact that the obtained pulse current is enough in number, accidental influences can be further avoided, and accuracy of subsequently judging the wearing state of the massager is improved.
As an optional implementation manner, the manner for acquiring the pulse current output by the pulse output circuit by the acquiring unit 501 may specifically be:
an obtaining unit 501, configured to detect a pulse current output by a pulse output circuit in real time through a current detection circuit, where the current detection circuit is electrically connected to an output end of the pulse output circuit; and acquiring the pulse current detected by the current detection circuit in the first time length from the current detection circuit every first time length.
By implementing the wearing state detection device, the pulse current output by the pulse output circuit can be obtained by the current detection circuit at intervals, so that the pulse current output by the pulse output circuit can be monitored in real time, and the wearing state of the massager can be conveniently determined in the follow-up process.
As an alternative embodiment, the wearing state detection apparatus shown in fig. 6 may further include: a detection unit 510 and a waiting unit 511, wherein:
a detecting unit 510, configured to detect whether the pulse output current outputs the pulse current before the obtaining unit 501 obtains the pulse current output by the pulse output circuit;
the obtaining unit 501 is specifically configured to obtain the pulse current output by the pulse output circuit when the detecting unit 510 detects that the pulse output circuit outputs the pulse current;
a waiting unit 511, configured to turn off the power consumption switch of the massage apparatus to turn off the massage apparatus after waiting for the first time period when the detection unit 510 detects that the pulse output circuit does not output the pulse current.
By implementing the wearing state detection device, when the pulse output circuit is detected not to output pulse current, the massage instrument is determined to be in the non-wearing state, and then the controller can close the massage instrument in order to save the power consumption of the massage instrument and improve the cruising ability of the massage instrument.
By implementing the wearing state detection device disclosed by each embodiment, whether the massager is worn abnormally or worn normally can be determined according to the fluctuation amplitude value of the pulse current; and after the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current, the working gear of the massage instrument is set to be a lower gear, so that the phenomenon that the user feels uncomfortable due to the fact that the massage instrument is in a higher gear when the user wears the massage instrument again or starts the massage instrument is avoided; the standard numerical range corresponding to the fluctuation amplitude value of the pulse current can be adjusted according to the working gear of the massage instrument, so that the wearing state of the massage instrument can be determined more accurately subsequently; the difficulty in determining the fluctuation amplitude value of the pulse current can be reduced, and the implementation difficulty and the implementation cost of the scheme are reduced; and the wearing state of the massage instrument can be visually prompted to the user through various prompting information, so that the damage to the user caused by the fact that the massage instrument works in an abnormal wearing state is avoided.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 7, the electronic device may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute the wearing state detection method disclosed in each of the above embodiments.
The embodiment of the application discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute the wearing state detection method disclosed by each embodiment.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The wearing state detection method and device, the electronic device, and the storage medium disclosed in the embodiments of the present application are introduced in detail, and specific examples are applied in the present application to explain the principle and the implementation manner of the present application, and the description of the embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (17)

1. A wearing state detection method is characterized by being applied to a massage instrument, and comprises the following steps:
acquiring pulse current output by a pulse output circuit;
determining a fluctuation amplitude value of the pulse current;
and determining the wearing state of the massage instrument according to the fluctuation amplitude value.
2. The method of claim 1, wherein said determining the wearing state of the massage apparatus according to the value of the fluctuation amplitude comprises:
if the fluctuation amplitude value is detected not to be in a preset standard numerical range, determining that the massager is in an abnormal wearing state;
and if the fluctuation amplitude value is detected to be within a preset standard numerical range, determining that the massager is in a normal wearing state.
3. The method of claim 2, further comprising:
if the massage instrument is in an abnormal wearing state, the power consumption switch of the massage instrument is turned off to enable the pulse output circuit to stop outputting the pulse current; alternatively, the first and second electrodes may be,
if the massager is in an abnormal wearing state, the massager is adjusted from a first output gear to a second output gear which is lower than the first output gear, wherein the first output gear is output at present; and the number of the first and second groups,
and if the massager is in a normal wearing state, controlling the pulse output circuit to continuously output the pulse current.
4. The method of claim 3, wherein after the turning off of the power consumption switch of the massager to cause the pulse output circuit to stop outputting the pulse current, the method further comprises:
and setting the working gears of the massage instrument to initial gears, wherein the initial gears comprise the lowest gears in the working gears of the massage instrument.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
and if the massager is recovered from the abnormal wearing state to the normal wearing state, recovering the output gear of the massager to be the first output gear.
6. The method of claim 2, further comprising:
and if the massage instrument is in an abnormal wearing state, outputting prompt information, wherein the prompt information is used for prompting a user that the massage instrument is in the abnormal wearing state.
7. The method according to claim 2, wherein before the determining that the massage apparatus is in an abnormal wearing state if the fluctuation amplitude value is detected not to be within the preset standard value range, the method further comprises:
determining the current working gear of the massage instrument according to the current working state of the massage instrument;
and determining a preset standard numerical range corresponding to the working gear according to the working gear.
8. The method according to claim 1, wherein there are a plurality of said pulse currents; the determining the fluctuation amplitude value of the pulse current comprises:
determining a maximum current value and a minimum current value in the pulse currents according to the current value of each pulse current;
and determining the fluctuation amplitude value of the pulse current according to the maximum current value and the minimum current value.
9. The method of claim 8, wherein determining the value of the magnitude of the ripple of the pulse current from the maximum current value and the minimum current value comprises:
calculating a difference between the maximum current value and the minimum current value;
and taking the difference value as a fluctuation amplitude value of the pulse current.
10. The method of claim 8, wherein determining the value of the magnitude of the ripple of the pulse current from the maximum current value and the minimum current value comprises:
determining a target current value range according to the maximum current value and the minimum current value, wherein the upper limit of the target current value range is the maximum current value, and the lower limit of the target current value range is the minimum current value;
and taking the target current value range as a fluctuation amplitude value of the pulse current.
11. The method according to claim 1, wherein there are a plurality of said pulse currents; the determining the fluctuation amplitude value of the pulse current comprises:
calculating the variance of the plurality of pulse currents;
and taking the variance as a fluctuation amplitude value of the pulse current.
12. The method of claim 1, wherein the obtaining the pulse current output by the pulse output circuit comprises:
detecting the pulse current output by the pulse output circuit in real time through a current detection circuit, wherein the current detection circuit is electrically connected with the output end of the pulse output circuit;
and acquiring the pulse current detected by the current detection circuit in the first time length every first time length.
13. The method of claim 1, wherein prior to said obtaining the pulse current output by the pulse output circuit, the method further comprises:
detecting whether the pulse output current outputs the pulse current or not;
if the pulse output circuit is detected to output the pulse current, executing the step of acquiring the pulse current output by the pulse output circuit;
if the pulse output circuit is detected not to output the pulse current, after waiting for the first time period, the power consumption switch of the massager is turned off to turn off the massager.
14. The method of claim 1, wherein the obtaining the pulse current output by the pulse output circuit comprises:
when the starting of the pulse output circuit is detected, the pulse current output by the pulse output circuit is acquired after waiting for a preset time length.
15. A wearing state detection device characterized by comprising:
the acquisition unit is used for acquiring the pulse current output by the pulse output circuit;
a first determination unit for determining a fluctuation amplitude value of the pulse current;
and the second determining unit is used for determining the wearing state of the massage instrument according to the fluctuation amplitude value.
16. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the wearing state detection method according to any one of claims 1 to 14.
17. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the wearing state detection method according to any one of claims 1 to 14.
CN202011055137.9A 2020-09-30 2020-09-30 Wearing state detection method and device, electronic equipment and storage medium Pending CN112354083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011055137.9A CN112354083A (en) 2020-09-30 2020-09-30 Wearing state detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011055137.9A CN112354083A (en) 2020-09-30 2020-09-30 Wearing state detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112354083A true CN112354083A (en) 2021-02-12

Family

ID=74506470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011055137.9A Pending CN112354083A (en) 2020-09-30 2020-09-30 Wearing state detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112354083A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113571170A (en) * 2021-03-17 2021-10-29 深圳市倍轻松科技股份有限公司 Method and device for intelligently starting massage instrument, electronic equipment and medium
CN115591078A (en) * 2022-12-14 2023-01-13 深圳市心流科技有限公司(Cn) Output current adjusting method, device, equipment, intelligent wearing device and medium
CN115662602A (en) * 2022-12-26 2023-01-31 深圳市心流科技有限公司 Data processing method, device, equipment, intelligent wearing device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575157A (en) * 2014-08-07 2017-04-19 Y-波瑞株式会社 Wearable device and control method therefor
CN108525124A (en) * 2018-04-13 2018-09-14 隆林玲 Through cranium galvanic current stimulation equipment
CN110507907A (en) * 2019-08-15 2019-11-29 静思(香港)有限公司 Intelligent secondary buck instrument and its working method
CN111437505A (en) * 2020-05-15 2020-07-24 东莞市德达科技有限公司 Neck massager and using method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575157A (en) * 2014-08-07 2017-04-19 Y-波瑞株式会社 Wearable device and control method therefor
CN108525124A (en) * 2018-04-13 2018-09-14 隆林玲 Through cranium galvanic current stimulation equipment
CN110507907A (en) * 2019-08-15 2019-11-29 静思(香港)有限公司 Intelligent secondary buck instrument and its working method
CN111437505A (en) * 2020-05-15 2020-07-24 东莞市德达科技有限公司 Neck massager and using method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113571170A (en) * 2021-03-17 2021-10-29 深圳市倍轻松科技股份有限公司 Method and device for intelligently starting massage instrument, electronic equipment and medium
CN115591078A (en) * 2022-12-14 2023-01-13 深圳市心流科技有限公司(Cn) Output current adjusting method, device, equipment, intelligent wearing device and medium
CN115591078B (en) * 2022-12-14 2023-03-10 深圳市心流科技有限公司 Output current adjusting method, device, equipment, intelligent wearing device and medium
CN115662602A (en) * 2022-12-26 2023-01-31 深圳市心流科技有限公司 Data processing method, device, equipment, intelligent wearing device and medium

Similar Documents

Publication Publication Date Title
CN112354083A (en) Wearing state detection method and device, electronic equipment and storage medium
CN109754866B (en) Attention training method, attention training device and computer readable storage medium
US5575809A (en) Electrical stimulator
US5285792A (en) System for producing prioritized alarm messages in a medical instrument
CN111760191B (en) Pulse current output control method, pulse current output control device, electronic device, and storage medium
CN106488740A (en) System and method for adjusting the intensity of the sensory stimuli of during sleeping based on sleep spindle
WO2019205401A1 (en) Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
WO2021248948A1 (en) Wearing state detection method, low-frequency electrical stimulation apparatus, and electronic device
EP3474936B1 (en) System for adjusting the volume of auditory stimulation during sleep based on sleep depth latencies
WO2014170781A1 (en) Adjustment of sensory stimulation intensity to enhance sleep slow wave activity
EP3223694A1 (en) System and method for adjusting duration of sensory stimulation during sleep to enhance slow wave activity
WO2022001160A1 (en) State prompting method of massage device, massage device, and storage medium
CN111973873A (en) Control method of massager, electronic equipment and storage medium
CN112138279A (en) Pulse signal output control method and device, massage equipment and storage medium
CN106999697A (en) For the system and method for the restorative value for increasing nap
CN107659710B (en) Intelligent terminal, playing control method thereof and device with storage function
WO2021218560A1 (en) Massage mode starting method for wearable massaging apparatus, wearable massaging apparatus, and terminal device
CN114681794A (en) Pulse output method and device of massage equipment, massage equipment and storage medium
CN215841213U (en) Massage device
CN112138278A (en) Control method and device of massage equipment, massage equipment and storage medium
CN105246546B (en) automatic power management for external defibrillator
CN111558144A (en) Neck massager and temperature detection method thereof
CN114681790A (en) Pulse output control method, device and computer storage medium
CN112835413A (en) Control method and device of wearable device and electronic device
CN215691061U (en) Massage device

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