CN111760192A - Gear switching method and device, electronic equipment and computer readable storage medium - Google Patents

Gear switching method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111760192A
CN111760192A CN202010595672.7A CN202010595672A CN111760192A CN 111760192 A CN111760192 A CN 111760192A CN 202010595672 A CN202010595672 A CN 202010595672A CN 111760192 A CN111760192 A CN 111760192A
Authority
CN
China
Prior art keywords
gear
switching
switching operation
target
safe
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
CN202010595672.7A
Other languages
Chinese (zh)
Inventor
刘杰
谢广宝
陈宏鸿
余建雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Future Wear Shenzhen Co Ltd
Original Assignee
Future Wear Shenzhen 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 Future Wear Shenzhen Co Ltd filed Critical Future Wear Shenzhen Co Ltd
Priority to CN202010595672.7A priority Critical patent/CN111760192A/en
Publication of CN111760192A publication Critical patent/CN111760192A/en
Priority to PCT/CN2021/086392 priority patent/WO2021258812A1/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

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Control Of Transmission Device (AREA)

Abstract

The embodiment of the application discloses a gear switching method and device, electronic equipment and a computer readable storage medium. The method is applied to a low-frequency electrical stimulation device, and comprises the following steps: when gear switching operation is detected, acquiring operation information of the gear switching operation, wherein the operation information comprises a target gear; judging whether the gear switching operation is safe switching operation or not according to the operation information; if the gear switching operation is safe switching operation, switching the gear of the device to a target gear according to a first switching mode; and if the gear switching operation is non-safe switching operation, switching the gear of the device to the target gear according to a second switching mode, wherein the switching time corresponding to the second switching mode is longer than that corresponding to the first switching mode. The gear shifting method, the gear shifting device, the electronic equipment and the computer readable storage medium can prevent adverse effects caused by the fact that a human body cannot adapt to sudden gear shifting in the gear shifting process.

Description

Gear switching method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and an apparatus for switching gears, an electronic device, and a computer-readable storage medium.
Background
The electric stimulation device can output current signals through the electrode plates and act on human body parts so as to realize the effects of massage or treatment and the like of the electric stimulation device. The electric stimulation device can be generally provided with a plurality of different control gears, the current output by the electrode plates corresponding to different gears can be different, and a user can select and adjust the gears according to actual requirements. When a user uses the electrical stimulation device, misoperation of adjusting the gear may occur, so that the gear of the electrical stimulation device changes suddenly, an adaptive process is not provided for a human body, and adverse effects are caused to the user in the using process.
Disclosure of Invention
The embodiment of the application discloses a gear switching method and device, electronic equipment and a computer readable storage medium, which can prevent the adverse effect caused by the fact that a human body cannot adapt to sudden gear switching in the gear switching process, and improve the safety and the comfort of an electric stimulation device in the using process.
The embodiment of the application discloses a gear switching method, which is applied to a low-frequency electrical stimulation device and comprises the following steps:
when gear switching operation is detected, acquiring operation information of the gear switching operation, wherein the operation information comprises a target gear;
judging whether the gear switching operation is safe switching operation or not according to the operation information;
if the gear switching operation is the safe switching operation, switching the gear of the device to the target gear according to a first switching mode;
and if the gear switching operation is non-safety switching operation, switching the gear of the device to the target gear according to a second switching mode, wherein the switching time corresponding to the second switching mode is longer than that corresponding to the first switching mode.
The embodiment of the application discloses gear auto-change over device is applied to low frequency electro photoluminescence device, gear auto-change over device includes:
the system comprises an operation detection module, a gear switching module and a control module, wherein the operation detection module is used for acquiring operation information of gear switching operation when the gear switching operation is detected, and the operation information comprises a target gear;
the judging module is used for judging whether the gear switching operation is safe switching operation according to the operation information;
the first switching module is used for switching the gear of the low-frequency electrical stimulation device to the target gear according to a first switching mode if the gear switching operation is the safe switching operation;
and the second switching module is used for switching the gear of the low-frequency electrical stimulation device to the target gear according to a second switching mode if the gear switching operation is an unsafe switching operation, wherein the switching time corresponding to the second switching mode is longer than the switching time corresponding to the first switching mode.
The embodiment of the application discloses an electronic device, which comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the method.
An embodiment of the application discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method as described above.
The gear switching method, the gear switching device, the electronic equipment and the computer readable storage medium disclosed by the embodiment of the application can judge whether the gear switching operation is safe switching operation or not according to the operation information of the gear switching operation when the gear switching operation is detected, switch the gear of the low-frequency electric stimulation device to a target gear according to a first switching mode if the gear switching operation is safe switching operation, switch the gear of the low-frequency electric stimulation device to the target gear according to a second switching mode if the gear switching operation is non-safe switching operation, respectively adopt two different switching modes aiming at the safe switching operation and the non-safe switching operation, and the switching time of the non-safe switching operation is longer than the switching time of the safe switching operation, so that an adaptive process of gear switching for a human body can be prevented from generating adverse effects caused by that the human body can not adapt to the gear switching suddenly in the gear switching process, the safety and the comfort of the electric stimulation device in the using process are improved.
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. 1A is a diagram illustrating an exemplary embodiment of a shift method;
FIG. 1B is a block diagram showing the structure of a massage apparatus according to an embodiment;
FIG. 2 is a flow chart of a method of shifting gears in one embodiment;
FIG. 3 is a flow chart of a method of shifting gears in another embodiment;
FIG. 4 is a flow chart of a method of shifting gears in another embodiment;
FIG. 5 is a flow chart illustrating shifting of gears in one embodiment;
FIG. 6 is a block diagram of a range shift device in one embodiment;
fig. 7 is a block diagram of an electronic device in one embodiment.
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 is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, the first switching manner may be referred to as a second switching manner, and similarly, the second switching manner may be referred to as the first switching manner, without departing from the scope of the present application. Both the first switching manner and the second switching manner are manners of switching shift positions, but they are not the same switching manner.
Fig. 1A is an application scenario diagram of a gear shift method in an embodiment. As shown in fig. 1A, the massage device 10 may include a massage assembly 110, and the massage assembly 110 may act on a body part of the user, such as the skin, joints, etc., of the user to provide massage services. In the embodiment of the present application, the massage assembly 110 may at least include an electrode pad, and the electrode pad may output an electrical signal (e.g., a current signal) to act on a human body part to generate an electrical stimulation massage effect. The user can switch the control gear of the massage assembly 110, and the strength of the electric signal output by the electrode plate is matched with the gear selected by the user, so as to realize the massage effect required by the user.
Fig. 1B is a block diagram of a massage apparatus in one embodiment. As shown in fig. 1B, the massage device 10 may include a massage assembly 110, a controller 120, and a pulse output circuit 130, wherein the massage assembly 110 may include at least two electrode pads 112. The controller 120 may be electrically connected to the pulse output circuit 130, and the pulse output circuit 130 may be electrically connected to the electrode pad 112. The pulse output circuit 130 may generate a pulse current driven by the input driving voltage and output the pulse current to the at least two electrode pads 112. The pulse current output by the at least two electrode plates 112 can act on a human body part (such as skin) to generate stimulation so as to realize the electric stimulation massage function.
As shown in fig. 2, in an embodiment, a gear shifting method is provided, which may be applied to a low-frequency electrical stimulation device, where the low-frequency electrical stimulation device may include the above-mentioned massage apparatus, therapeutic electronic apparatus for performing therapy using electrode pads, and the like, and the massage apparatus may include, but is not limited to, a neck massager, a waist massager, an eye massager, and the like, and the embodiment of the present invention is not limited thereto. The gear shifting method can comprise the following steps:
step 210, when the gear shift operation is detected, acquiring operation information of the gear shift operation, wherein the operation information comprises a target gear.
The low-frequency electrical stimulation device can be provided with a plurality of control gears, and the current intensity output by the electrode plate can be different for each control gear, so that the electrical stimulation intensity felt by a user is different. When the low-frequency electrical stimulation device detects the gear switching operation triggered by the user, the control gear can be switched according to the gear switching operation. In some embodiments, the manner in which the user triggers the shift operation may include a variety of manners, for example, the shift operation may be triggered by pressing a physical button disposed on the housing of the low-frequency electrical stimulation device; the gear switching operation can be triggered by rotating a roller arranged on a shell of the low-frequency electrical stimulation device; the gear switching operation can be triggered by operating a control interface on a mobile terminal (such as a mobile phone, intelligent wearable equipment and the like) which is in communication connection with the low-frequency electrical stimulation device; the gear shift operation may also be triggered by voice, remote controller, etc., and is not limited herein.
The operation information of the shift-position switching operation may include, but is not limited to, a target shift position, which refers to a control shift position that a user needs to switch, a shift-position adjusting direction, which may include increasing and decreasing shift positions, and the like. The control gears can be arranged in a certain sequence, for example, the control gears can be arranged from low to high, and the higher the control gear is, the larger the current output by the electrode plate can be, and the stronger the generated electric stimulation effect can be. When the user needs to enhance the electrical stimulation effect, the gears can be increased, and when the user needs to reduce the electrical stimulation effect, the gears can be reduced.
In some embodiments, the low-frequency electrostimulation device may acquire a shift-position switching instruction generated according to a triggered shift-position switching operation, and acquire operation information according to the shift-position switching instruction. Alternatively, the gear shift instruction may include a target gear and a gear adjustment direction, which may be determined according to a trigger object that triggers the gear shift operation. For example, a button for increasing the gear and a button for decreasing the gear may be disposed on the housing of the low-frequency electrostimulation device, and if the button for triggering the gear switching operation is the button for increasing the gear, the gear adjustment direction included in the generated gear switching instruction is the increased gear, and if the button for triggering the gear switching operation is the button for decreasing the gear, the gear adjustment direction included in the generated gear switching instruction is the decreased gear. For example, if the target of the trigger for triggering the shift-position switching operation is a roller, the shift-position adjustment direction may be determined according to the rolling direction of the roller, and if the rolling direction of the roller is the first direction, the shift-position adjustment direction included in the generated shift-position switching command is an increased shift position, and if the rolling direction of the roller is the second direction, the shift-position adjustment direction included in the generated shift-position switching command is a decreased shift position. Alternatively, the first direction may be a clockwise direction and the second direction may be a counterclockwise direction, or the first direction may be a counterclockwise direction and the second direction may be a clockwise direction, which is not limited herein.
In some embodiments, the gear shift instruction may also include only a target gear, and the low-frequency electrostimulation device may acquire a current gear and compare the target gear with the current gear to determine the gear adjustment direction. If the target gear is larger than the current gear, the gear adjusting direction can be determined to be an increasing gear, and if the target gear is smaller than the current gear, the gear adjusting direction can be determined to be a decreasing gear. It is understood that the manner of obtaining the gear adjustment direction may be other directions, and is not limited to the above manners.
Step 220, determining whether the gear shift operation is a safe shift operation according to the operation information, if so, executing step 230, and if not, executing step 240.
The safe switching operation may refer to a gear switching operation that does not cause discomfort to a human body due to a sudden change of a gear when the gear is switched, and the gear switching corresponding to the safe switching operation is safe and comfortable for the human body. The unsafe shift operation may refer to a shift change operation that may cause discomfort to a human body due to a sudden change in gear when a shift is performed. In this application embodiment, low frequency electro photoluminescence device switches suddenly if the gear, and the gear after the switching makes the electric current of electrode slice output too big, and the human body can feel great electric current suddenly, and does not have the adaptation process in the middle of can make the human body produce the pricking sense.
Whether the situation that the gear is suddenly changed can be judged according to the operation information of the gear switching operation, and the situation that the gear is suddenly changed can mean that the difference between a target gear to be switched and the current gear is too large. And whether the conditions of uncomfortable experiences such as stabbing pain feeling to the human body and the like possibly occur during gear switching can be judged according to the operation information. If the detected gear shifting operation has the condition that the gear is suddenly changed and/or the condition that the gear causes a pricking feeling to a human body occurs, the gear shifting operation can be determined to be the non-safe gear operation.
In some embodiments, whether the shift-stage switching operation is a safe switching operation may be determined by a shift-stage change span of the shift-stage switching. The low-frequency electrical stimulation device can determine a gear difference value between a target gear and a current gear, and if the gear difference value is larger than a preset threshold value, the difference between the target gear to be switched and the current gear is too large, and the condition that the gear changes suddenly during gear switching can occur, so that the non-safe switching operation can be determined. For example, the current gear is gear 1, the target gear is gear 5, and the gear difference between gear 1 and gear 5 is too large, so that if the gear is directly shifted from gear 1 to gear 5, the gear may suddenly change.
In some embodiments, whether the gear shift operation is a safe shift operation can also be judged through the electrical stimulation effect matched with the target gear to be shifted. Alternatively, all control gears provided in the low-frequency electrostimulation device may be divided into different gear intervals, for example, a first gear interval and a second gear interval may be divided, wherein the first gear interval may be lower than the second gear interval. The first gear interval can be equivalent to a low gear interval, and if the gear switching operation is gear switching in the first gear interval, the current intensity output by the electrode plate corresponding to the target gear is small, which can indicate that the electrical stimulation effect matched with the target gear to be switched is weak. If the target gear belongs to the first gear range, the gear switching operation can be determined to be a safe switching operation. The second gear interval can be equivalent to a high gear interval, and if the gear switching operation is gear switching in the second gear interval, the current intensity output by the electrode plate corresponding to the target gear is high, which can indicate that the electric stimulation effect matched with the target gear to be switched is high. If the target gear belongs to the second gear range, it is determined that the gear shift operation is a non-safety shift operation.
In some embodiments, the low-frequency electrical stimulation device may also obtain a first driving voltage corresponding to the target gear, where the first driving voltage may be used to drive a pulse output circuit of the low-frequency electrical stimulation device to generate a pulse current, and the intensity (i.e., the current magnitude) of the pulse current may be matched with the target gear. Whether the first driving voltage corresponding to the target gear is larger than a preset voltage threshold value or not can be judged, if so, the fact that the electrical stimulation effect matched with the target gear to be switched is strong can be shown, and the gear switching operation can be determined to be non-safety switching operation.
It is to be understood that the manner of determining whether the shift-position switching operation is the safe switching operation based on the operation information of the shift-position switching operation is not limited to the above-mentioned several manners, and may be other manners, which is not limited herein.
And step 230, switching the gear of the device to a target gear according to a first switching mode.
If the detected gear switching operation is safe switching operation, it can be shown that the gear switching process of the gear switching operation does not cause discomfort such as electric stabbing pain to a user, and the gear switching operation can be directly responded, and the gear of the low-frequency electrical stimulation device is switched to a target gear according to a first switching mode. In some embodiments, the first switching mode may be a skip-gear switching mode, and the gear of the low-frequency electrostimulation device is directly switched from the current gear to the target gear. For example, if the detected gear shift operation is a safe shift operation, the current gear is 4 th gear, and the target index position is 1 st gear, the shift from 4 th gear to 1 st gear is directly performed.
As a specific embodiment, the low-frequency electrical stimulation device may obtain a first driving voltage corresponding to a target gear, may generate a pulse signal matching the first driving voltage, and may adjust the driving voltage input to the pulse output circuit to the first driving voltage by the pulse signal. The pulse output circuit can generate pulse current under the drive of the first drive voltage and output the pulse current through the electrode plate, and the pulse current output by the electrode plate acts on a human body part and can generate electric stimulation intensity matched with a target gear. The driving voltage input to the pulse output circuit can be directly changed from the second driving voltage of the current gear to the first driving voltage of the target gear, and no other driving voltage is input in the gear adjusting process.
Furthermore, the low-frequency electrical stimulation device can also comprise a voltage boosting circuit, the voltage boosting circuit can be respectively electrically connected with the controller and the pulse output circuit, and the voltage boosting circuit can input driving voltage to the pulse output circuit. After the controller generates the pulse signal corresponding to the target gear, the generated pulse signal can be input into the voltage boosting circuit, and the voltage boosting circuit is controlled to output the first driving voltage through the pulse signal. Optionally, the low-frequency electrical stimulation device may store, in advance, pulse signal parameters corresponding to each control gear, where the pulse signal parameters may include one or more of a period, a width, a duty ratio, and the like of the pulse signal, but are not limited thereto. The pulse signal parameters corresponding to the target gear can be acquired, and the pulse signal corresponding to the target gear is generated according to the pulse signal parameters, so that the driving voltage input to the pulse output circuit is adjusted to the first driving voltage through the pulse signal.
And 240, switching the gear position of the device to the target gear position according to a second switching mode.
If the gear switching operation is not safe switching operation, namely, the gear switching operation is unsafe switching operation, the gear of the low-frequency electrical stimulation device is directly switched to a target gear from a current gear, the situation of uncomfortable experience such as stabbing feeling caused to a human body due to sudden change of the gear can occur, and the gear of the low-frequency electrical stimulation device can be switched to the target gear according to a second switching mode. The switching time corresponding to the second switching manner may be longer than the switching time corresponding to the first switching manner, where the switching time corresponding to the second switching manner may refer to a duration for switching the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to the second switching manner, and the switching time corresponding to the first switching manner may refer to a duration for switching the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to the first switching manner. Compared with the direct gear-skipping fast switching of the first switching mode, the second switching mode can adopt longer switching time to switch gears, and an adaptive process is provided for a user.
In some embodiments, the second switching manner may be a step-by-step switching manner, that is, the low-frequency electrostimulation device may be switched from the current gear to the target gear through multiple gear switching instead of directly switching from the current gear to the target gear. The gear of the low-frequency electrical stimulation device can be gradually switched from the current gear to the target gear according to a preset gear switching interval in a step-by-step switching mode. Alternatively, a gear shift interval in the stepwise manner may be preset, and the gear shift interval may refer to a gear difference between gear shifts of two adjacent shifts when gear shifts are performed in the stepwise manner. For example, when the gear shift interval is 1, if the current gear is shifted from the 1 st gear to the 6 th gear, the current gear is sequentially shifted from the 1 st gear to the 2 nd gear, and then shifted to the 3 rd gear, the 4 th gear, the 5 th gear and the 6 th gear in a stepwise shifting manner; if the gear shift interval is 2, if the current gear 1 is shifted to the target gear 5, the gears are sequentially shifted from 1 to 3 and 5 in a stepwise manner, and the gear shift interval may be other gear differences, which is not limited herein.
In some embodiments, a plurality of different gear shift intervals may be provided, and when gear shift is performed in a stepwise manner, the gear shift interval closer to the target gear may be smaller. For example, when the gear shift interval is 1, if the current gear is shifted from 1 st gear to 6 th gear, the gear may be shifted from 1 st gear to 3 rd gear, then from 3 rd gear to 5 th gear, and then from 5 th gear to 6 th gear, or may be shifted from 1 st gear to 3 rd gear, then from 3 rd gear to 4 th gear, 5 th gear, 6 th gear, etc. in a stepwise manner, but is not limited thereto.
As a specific implementation manner, the low-frequency electrical stimulation device may determine an intermediate shift range from a current shift range to a target shift range according to a preset shift range switching interval, where the intermediate shift range may refer to an intermediate shift range that needs to be switched from the current shift range to the target shift range during a shift range switching process in a step-by-step switching manner. For example, if the gear shift interval is 1, the current gear 1 is shifted to the target gear 6, the intermediate shift gears may include 2, 3, 4, and 5, and if the gear shift interval is 2, the current gear 2 is shifted to the target gear 6, the intermediate shift gears may include 4.
The pulse signals matched with the intermediate switching gears can be generated one by one at intervals of preset time according to the arrangement sequence of the gears, and the driving voltage input to the pulse output circuit is gradually adjusted to the first driving voltage corresponding to the target gear through the pulse signals matched with the intermediate switching gears. The arrangement sequence of the gears can correspond to the adjustment direction of the gears, the adjustment direction is the increasing gear, the gears can be in the sequence from small to large, the adjustment direction is the decreasing gear, and the gears can be in the sequence from large to small. Alternatively, the time interval of generating the pulse signal matching the intermediate shift position each time may be set according to actual requirements, for example, generated every 1 second, generated every 500 milliseconds, and the like, and is not limited herein. After the controller of the low-frequency electrical stimulation device generates a pulse signal matched with the middle switching gear each time, the generated pulse signal can be sent to the booster circuit, the booster circuit can be controlled to output a driving voltage corresponding to the middle switching gear to the pulse output circuit through the pulse signal, the pulse output circuit can generate corresponding pulse current and output the pulse current through the electrode slice under the driving of the driving voltage, and a user can feel the electrical stimulation effect matched with the middle switching gear. The gear adjustment is carried out for a plurality of times by generating pulse signals matched with each intermediate switching gear for a plurality of times, and the driving voltage input to the pulse output circuit is gradually adjusted to the first driving voltage corresponding to the target gear, so that a user has an adaptation process for the switching of the gears, and the pricking feeling caused by the fact that the human body cannot adapt to the sudden gear switching can be avoided.
In some embodiments, one or more intermediate shift gears may also be preset, and when a preset intermediate shift gear is included between the current gear and the target gear of the low-frequency electrical stimulation device, the current gear may be gradually shifted to each preset intermediate shift gear included between the current gear and the target gear in an order of the gears in a step-by-step shifting manner until the current gear is shifted to the target gear. For example, the preset intermediate shift gears may include 3 rd gear, 5 th gear and 6 th gear, and when it is required to shift from the current gear 4 th gear to the target gear 7 th gear, the shift gears may be first shifted from 4 th gear to 5 th gear, then shifted to 6 th gear, and finally shifted to 7 th gear, so as to implement the gradual shift of the gears.
In the embodiment of the present application, when the gear shift operation is detected, it can be determined whether the gear shift operation is a safe shift operation according to the operation information of the gear shift operation, and if the gear shift operation is a safe shift operation, the gear of the low-frequency electrical stimulation device is switched to a target gear according to a first switching mode, if the gear is an unsafe switching operation, the gear of the low-frequency electrical stimulation device is switched to a target gear according to a second switching mode, two different switching modes are respectively adopted aiming at safe switching operation and unsafe switching operation, and the switching time of the non-safe switching operation is longer than that of the safe switching operation, so that an adaptation process of gear switching is provided for a human body, the bad effect caused by the fact that the human body cannot adapt to sudden gear switching in the gear switching process can be prevented, and the safety and the comfort of the electrostimulation device in the using process are improved.
In one embodiment, as shown in fig. 3, another method of switching gears is provided, which can be applied to the low-frequency electrical stimulation device. The method may comprise the steps of:
step 302, when the gear shift operation is detected, acquiring operation information of the gear shift operation, wherein the operation information comprises a target gear.
Step 304, determining whether the gear shift operation is a safe shift operation according to the operation information, if so, executing step 306, and if not, executing step 308.
And step 306, switching the gear of the device to the target gear according to the first switching mode.
The steps 302-306 can refer to the related descriptions in the above embodiments, and are not described herein.
Step 308, locking the gear position of the device in the current gear position, prompting the unsafe switching operation, and then executing step 310 or step 312.
If the detected gear switching operation is the non-safety switching operation, the gear switching operation is not responded temporarily, namely the gear switching is not performed temporarily, the gear of the low-frequency electrical stimulation device can be locked at the current gear, and the gear switching operation is prompted to be the non-safety switching operation. Optionally, the prompting mode may include, but is not limited to, a voice prompt, a vibration prompt, a flashing light prompt, a message prompt sent to a terminal connected to the low-frequency electrical stimulation device, and the like. For example, the prompt may be given by playing a voice "current shift switching operation is non-safety switching operation". For another example, the low-frequency electrical stimulation device may further include a vibration module, and the prompt may be provided by controlling the vibration module to vibrate. For example, a message indicating that the current shift switching operation is an unsafe switching operation may be displayed on a mobile phone to which the low-frequency electrostimulator is connected. The user can timely know the state of the non-safety switching operation through prompting, and further select the switching mode.
And 310, if an unlocking instruction is received within the first time period, unlocking the gear of the device, and switching the gear of the device to a target gear according to a first switching mode.
The low-frequency electrical stimulation device may determine whether an unlocking instruction is received within a first time period, and optionally, the first time period may be set according to an actual requirement, for example, 3 seconds, 5 seconds, and the like. In some embodiments, the unlocking command may be triggered by a physical button on the low frequency electrical stimulation device, by a roller on the low frequency electrical stimulation device, by a remote control, and the like, without limitation. The operation of triggering unlocking can be different from the operation of triggering gear switching, for example, a user can perform gear switching operation by pressing a physical key for a short time, perform unlocking by pressing a physical key for a long time, perform gear switching by rotating a roller in different directions, perform unlocking by pressing the roller, and the like.
If the unlocking instruction is received within the first time period, which indicates that the user definitely needs to switch to the target gear, the gear of the low-frequency electrical stimulation device can be directly switched from the current gear to the target gear according to the first switching mode, so that the switching operation of the user can be responded in time, the gear switching can be performed quickly, and the gear switching requirement of the user can be met.
The description of the gear shifting according to the first shifting manner can refer to the related description in the above embodiments, and the description thereof is omitted.
And step 312, if the unlocking instruction is not received within the first duration, unlocking the gear of the device, and switching the gear of the device to the target gear according to a second switching mode.
If the unlocking instruction is not received within the first duration, which can indicate that the user is not clear about the switching to the target gear, the gear of the device can be switched to the target gear according to the second switching mode, and the gear switching operation of switching the gear of the low-frequency electrical stimulation device from the current gear to the target gear is completed through multiple times of gear switching in a step-by-step switching mode. The user has an adaptation process to the gear switching, and the pricking feeling caused by the fact that the human body cannot adapt to the sudden gear switching can be avoided.
The description of shifting gears according to the second shifting manner can refer to the related description in the above embodiments, and is not repeated herein.
In the embodiment of the application, a user can independently select the gear switching mode, so that the low-frequency electrical stimulation device meets different requirements of the user.
As shown in fig. 4, in an embodiment, another gear shifting method is provided, which can be applied to the low-frequency electrical stimulation apparatus described above, and the method can include the following steps:
step 402, when the gear shift operation is detected, obtaining operation information of the gear shift operation, the operation information including a target gear and a gear adjustment direction, and then executing step 404 or step 408.
The description of step 402 can refer to the related descriptions in the above embodiments, and is not repeated here.
In step 404, if the gear adjustment direction is a reduced gear, it is determined that the gear shift operation is a safe shift operation.
After the low-frequency electrical stimulation device acquires the detected operation information of gear switching operation, whether the gear adjusting direction is a reduction gear can be judged. In the downshifting process of the low-frequency electrical stimulation device, the gear is switched from a higher gear to a lower gear, and the electrical stimulation intensity felt by a user is weakened, so that the electrical stimulation intensity corresponding to the reduced gear cannot cause a pricking feeling to the user, the gear switching operation of the reduced gear can be used as a safe switching operation, and the gear of the low-frequency electrical stimulation device is directly switched from the current gear to a target gear according to a first switching mode. The downshift operation of the user can be responded in time, downshift can be performed quickly, and downshift efficiency is improved.
And step 406, switching the gear position of the device to a target gear position according to a first switching mode.
The description of step 406 may refer to the related descriptions in the above embodiments, and is not repeated here.
And step 408, if the gear adjusting direction is to increase the gear and the operation information meets the preset unsafe operation condition, determining that the gear switching operation is the unsafe switching operation.
If the detected gear adjusting direction of the gear switching operation is gear increase, whether the operation information of the gear switching operation meets a preset unsafe operation condition or not can be judged, and if yes, the gear switching operation can be determined to be unsafe switching operation. Wherein the unsafe operating conditions can be set according to actual requirements.
In one embodiment, the unsafe operating condition may include an interval gear between a current gear and a target gear of the low-frequency electrostimulation device being greater than a number threshold. If the gear adjusting direction is to increase the gear, the interval gear between the current gear and the target gear of the low-frequency electrical stimulation device can be obtained, and the interval gear can refer to a gear difference value between the current gear and the target gear and is used for explaining the number of gears with a difference between the current gear and the target gear. For example, if the current gear is 1 and the target gear is 3, the range gear is 2, the current gear is 3, and the target gear is 7, the range gear is 4. If it is determined whether the number of the interval gears is greater than the number threshold, the number threshold may be set according to actual requirements, for example, 0, 1, and the like. If the interval gear is larger than the number threshold, it is indicated that the skip gear span between the current gear and the target gear is large, and if the interval gear is directly adjusted to the target gear from the current gear, bad experiences such as a pricking feeling may be brought to a user, and it is determined that the gear switching operation is a non-safe switching operation.
In one embodiment, the operation information of the range switching operation may further include a switching frequency, which refers to the number of times the range switching is performed within a preset time period, for example, 3 times within 1 second, 4 times within 1 second, and the like. The unsafe operating condition may include that the switching frequency of the gear shift operation is higher than a preset frequency, and optionally, the preset frequency may be set according to actual requirements, for example, 1 time/second, 2 times/second, and the like, but is not limited thereto. If the gear adjusting direction is to increase gears, whether the switching frequency of the gear switching operation is higher than a preset frequency or not can be judged, if the switching frequency is higher than the preset frequency, the gears are increased too fast, and if the switching frequency is directly increased from the current gears to the target gears, users can be possibly subjected to harsh experiences and the like, and the gear switching operation can be determined to be non-safe switching operation. Alternatively, the target gear may refer to a target gear determined after a plurality of times of shifting by the gear shifting operation according to the shifting frequency, for example, the current gear is 3 gears, and the user triggers 4 increasing gears within 1 second, so that the target gear may be determined to be 7 gears.
In one embodiment, the unsafe operating condition may include the first drive voltage corresponding to the target gear being greater than a voltage threshold. If the gear adjustment direction is the increasing gear, the first driving voltage corresponding to the target gear may be obtained, and it is determined whether the first driving voltage is greater than a voltage threshold, optionally, the voltage threshold may be set according to an actual requirement, for example, 30V (volt), 28V, and the like, but is not limited thereto. If the first driving voltage threshold value corresponding to the target gear indicates that the electric stimulation intensity matched with the target gear is high, and if the current gear is directly adjusted to the target gear, the user may be subjected to harsh experiences, and the like, the gear switching operation can be determined to be an unsafe switching operation.
In one embodiment, the unsafe operating condition may include a voltage difference between a first driving voltage corresponding to the target gear and a second driving voltage of a current gear of the low-frequency electrostimulation device being greater than a difference threshold. If the gear adjusting direction is to increase the gear, a first driving voltage corresponding to the target gear and a second driving voltage corresponding to the current gear can be obtained, and a voltage difference value between the first driving voltage and the second driving voltage is calculated. The first driving voltage may be subtracted from the second driving voltage to obtain a voltage difference, and whether the voltage difference is greater than a difference threshold is determined, optionally, the difference threshold may be set according to an actual requirement, for example, 10V, 15V, and the like, but is not limited thereto. If the voltage difference value is larger than the difference threshold value, it is indicated that the difference between the electrical stimulation effects of the current gear and the target gear is large, and if the current gear is directly adjusted to the target gear, bad experiences such as tingling may be brought to a user, and the gear switching operation can be determined to be an unsafe switching operation.
It is understood that the unsafe operating condition may include one or more of the above conditions, and other conditions, and the embodiments of the present application are not limited thereto.
And step 410, locking the gear of the device at the current gear, and prompting the unsafe switching operation.
And step 412, if the unlocking instruction is received within the first time period, unlocking the gear of the device, and switching the gear of the device to the target gear according to the first switching mode.
And step 414, if the unlocking instruction is not received within the first duration, unlocking the gear of the device, and switching the gear of the device to the target gear according to a second switching mode.
The descriptions of steps 410-414 can refer to the related descriptions in the above embodiments, and are not repeated herein.
In some embodiments, when the shift range switching operation is an unsafe switching operation, it may be an erroneous operation by the user, and the user may perform the shift range switching again in the case where the user recognizes the erroneous operation. As shown in fig. 5, after the step of determining whether the shift position switching operation is a safe switching operation according to the operation information, the method further includes the steps of:
step 502, if the gear shift operation is an unsafe shift operation, the gear shift operation is not responded within a second duration.
After the low-frequency electrostimulation device detects the gear shifting operation, the gear adjusting direction of the gear shifting operation can be used as the first gear adjusting direction. And when the gear switching operation is determined to be non-safe switching operation according to the operation information of the gear switching operation, the gear switching operation is not responded within a second time length, the gear switching is not carried out temporarily, and whether new gear operation is detected within the second time length or not is judged. Alternatively, the second period of time may be a shorter period of time, such as 1 second, 2 seconds, 500 milliseconds, etc., without making the user visibly perceive the process as unresponsive to the range-shifting operation.
In step 504, if a new gear shift operation is detected within the second duration, a second gear adjustment direction corresponding to the new gear shift operation is obtained.
If a new gear shift operation is detected within the second duration, the gear shift direction of the new gear shift operation may be used as the second gear adjustment direction, and it is determined whether the second gear adjustment direction is different from the first gear adjustment direction.
Step 506, if the first gear adjustment direction and the second gear adjustment direction are different, the gear of the device is switched to the target gear corresponding to the new gear switching operation according to the first switching mode.
As a specific implementation manner, if the first gear adjustment direction may be an increasing gear, it may be determined whether the second gear adjustment direction is a decreasing gear, and if the second gear adjustment direction is a decreasing gear, the target gear of the new gear switching operation may be acquired, and the gear of the low-frequency electrostimulation device is directly switched from the current gear to the target gear of the new gear switching operation according to the first switching manner. For example, the first detected gear shifting operation is increased from the 1 st gear to the 7 th gear, which can be determined as a non-safe shifting operation, and if a new gear shifting operation is detected to be reduced from the 7 th gear to the 3 rd gear within 1 second, the gear shifting operation can be directly jumped from the 1 st gear to the 3 rd gear, the non-safe shifting operation can be directly skipped, and the new gear shifting operation is performed, which not only can respond to the gear shifting operation of the user in time, improve the operation efficiency, but also can avoid the bad experience possibly generated by the user in the gear shifting process.
It can be understood that the gear shifting method provided by the embodiment of the present application can be applied to the electrical stimulation gear shifting of the low-frequency electrical stimulation device, and can also be applied to the gear shifting of other functional modules, for example, the massage component on the massage device can include a vibration module, and the vibration module can prompt the vibration massage function.
In the embodiment of the application, gear switching can be carried out by adopting different switching modes according to different gear adjusting directions, the downshift operation can be responded timely, the downshift efficiency is improved, bad experiences such as stabbing feeling caused by the fact that a user cannot adapt to the upshifting process due to sudden increase of gears can be avoided, and the safety and the comfort in the use process of the electrical stimulation device are improved.
As shown in fig. 6, in one embodiment, a gear shifting device 600 is provided, which can be applied to the low-frequency electrical stimulation device. The gear shifting device 600 may include an operation detecting module 610, a determining module 620, a first switching module 630 and a second switching module 640.
The operation detection module 610 is configured to, when a shift-position switching operation is detected, acquire operation information of the shift-position switching operation, where the operation information includes a target shift position.
And the judging module 620 is configured to judge whether the shift switching operation is a safe switching operation according to the operation information.
In one embodiment, the determining module 620 is further configured to determine that the gear shift operation is a safe shift operation when the target gear belongs to a first gear interval, and determine that the gear shift operation is a non-safe shift operation when the target gear belongs to a second gear interval, where the first gear interval is lower than the second gear interval.
The first switching module 630 is configured to switch the gear of the low-frequency electrical stimulation device to the target gear according to a first switching manner if the gear switching operation is the safe switching operation.
In one embodiment, the first switching module 630 is further configured to directly switch the gear of the low-frequency electrical stimulation device from the current gear to the target gear by using a gear-skip switching manner.
In one embodiment, the first switching module 630 includes a voltage obtaining unit and a first signal generating unit.
The voltage acquisition unit is used for acquiring a first driving voltage corresponding to a target gear, the first driving voltage is used for driving a pulse output circuit of the electrical stimulation device to generate pulse current, and the intensity of the pulse current is matched with the target gear.
And a first signal generation unit for generating a pulse signal matched with the first driving voltage and adjusting the driving voltage input to the pulse output circuit to the first driving voltage by the pulse signal.
The second switching module 640 is configured to, if the gear shift operation is an unsafe switching operation, switch the gear of the low-frequency electrical stimulation device to the target gear according to a second switching manner, where a switching time corresponding to the second switching manner is longer than a switching time corresponding to the first switching manner.
In one embodiment, the second switching module 640 is further configured to gradually switch the gear of the device from the current gear to the target gear in a step-by-step switching manner according to a preset gear switching interval.
In one embodiment, the second switching module 640 includes an intermediate gear determining unit and a second signal generating unit.
And the intermediate gear determining unit is used for determining an intermediate switching gear from the current gear to the target gear according to a preset gear switching interval.
And the second signal generation unit is used for generating pulse signals matched with each intermediate switching gear one by one at intervals of preset time according to the arrangement sequence of the gears, and gradually adjusting the driving voltage input to the pulse output circuit to the first driving voltage corresponding to the target gear through the pulse signals matched with each intermediate switching gear.
In the embodiment of the present application, when the gear shift operation is detected, it can be determined whether the gear shift operation is a safe shift operation according to the operation information of the gear shift operation, and if the gear shift operation is a safe shift operation, the gear of the low-frequency electrical stimulation device is switched to a target gear according to a first switching mode, if the gear is an unsafe switching operation, the gear of the low-frequency electrical stimulation device is switched to a target gear according to a second switching mode, two different switching modes are respectively adopted aiming at safe switching operation and unsafe switching operation, and the switching time of the non-safe switching operation is longer than that of the safe switching operation, so that an adaptation process of gear switching is provided for a human body, the bad effect caused by the fact that the human body cannot adapt to sudden gear switching in the gear switching process can be prevented, and the safety and the comfort of the electrostimulation device in the using process are improved.
In one embodiment, the gear shifting device 600 includes a prompting module in addition to the operation detecting module 610, the determining module 620, the first switching module 630 and the second switching module 640.
And the prompting module is used for locking the gear of the low-frequency electrical stimulation device at the current gear and prompting the non-safety switching operation if the gear switching operation is the non-safety switching operation.
The first switching module 630 is further configured to unlock the gear of the low-frequency electrical stimulation device if the unlocking instruction is received within the first time period, and switch the gear of the low-frequency electrical stimulation device to the target gear according to the first switching manner.
The second switching module 640 is further configured to unlock the gear of the low-frequency electrical stimulation device if the unlocking instruction is not received within the first duration, and switch the gear of the low-frequency electrical stimulation device to the target gear according to a second switching manner.
In the embodiment of the application, a user can independently select the gear switching mode, so that the low-frequency electrical stimulation device meets different requirements of the user.
In one embodiment, the operating information further includes a gear adjustment direction. The determining module 620 is further configured to determine that the gear shift operation is a safe shift operation if the gear adjustment direction is a reduced gear.
In one embodiment, the determining module 620 is further configured to, if the gear adjustment direction is increasing gear, obtain an interval gear between a current gear of the device and the target gear, and if the number of the interval gear is greater than a number threshold, determine that the gear shifting operation is a non-safe shifting operation.
In one embodiment, the operation information further comprises a switching frequency. The determining module 620 is further configured to determine whether the switching frequency is higher than a preset frequency if the gear adjustment direction is to increase the gear, and determine that the gear switching operation is an unsafe switching operation if the switching frequency is higher than the preset frequency.
In one embodiment, the determining module 620 is further configured to obtain a first driving voltage corresponding to the target gear if the gear adjustment direction is increasing the gear, and determine that the gear shifting operation is an unsafe shifting operation if the first driving voltage is greater than a voltage threshold.
In an embodiment, the determining module 620 is further configured to, if the shift adjustment direction is to increase the shift, obtain a first driving voltage corresponding to the target shift and a second driving voltage corresponding to the current shift of the low-frequency electrical stimulation device, calculate a voltage difference between the first driving voltage and the second driving voltage, and determine that the shift switching operation is a non-safety switching operation if the voltage difference is greater than a difference threshold.
In one embodiment, the operation information further comprises a first gear adjustment direction.
The operation detecting module 610 is further configured to, if the gear shift operation is an unsafe shift operation, not respond to the gear shift operation within the second duration, and if a new gear shift operation is detected within the second duration, obtain a second gear adjustment direction corresponding to the new gear shift operation.
The first switching module 630 is further configured to switch the gear of the low-frequency electrical stimulation device to a target gear corresponding to a new gear switching operation according to the first switching manner if the first gear adjustment direction is different from the second gear adjustment direction.
In the embodiment of the application, gear switching can be carried out by adopting different switching modes according to different gear adjusting directions, the downshift operation can be responded timely, the downshift efficiency is improved, bad experiences such as stabbing feeling caused by the fact that a user cannot adapt to the upshifting process due to sudden increase of gears can be avoided, and the safety and the comfort in the use process of the electrical stimulation device are improved.
Fig. 7 is a block diagram of an electronic device in one embodiment. As shown in fig. 7, the electronic device 700 may be a low-frequency electrical stimulation device, such as a massage device including a neck massager, a waist massager, or an eye massager, or may be a therapeutic electronic device that performs therapy using electrode pads, or the like. Electronic device 700 may include one or more of the following components: a processor 710 and a memory 720 coupled to the processor 710, wherein the memory 720 may store one or more applications, and the one or more applications may be configured to implement the methods described in the embodiments as described above when executed by the one or more processors 710.
Processor 710 may include one or more processing cores. The processor 710 interfaces with various components throughout the electronic device 700 using various interfaces and circuitry to perform various functions of the electronic device 700 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720 and invoking data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a communication chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created during use by the electronic device 700, and the like.
It is understood that the electronic device 700 may include more or less structural elements than those shown in the above structural block diagrams, for example, a power module, a speaker, a bluetooth module, a sensor, etc., and is not limited thereto.
The embodiment of the application discloses a neck massager, which comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the method described in each embodiment.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program realizes the method described in the above embodiments when being executed by a processor.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a ROM, etc.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus Direct RAM (RDRAM), and Direct Rambus DRAM (DRDRAM).
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.
The above detailed descriptions of the method, the apparatus, the electronic device, and the computer-readable storage medium for shifting gears disclosed in the embodiments of the present application are provided, and specific examples are applied herein to illustrate the principles and implementations 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 (16)

1. A gear shifting method is applied to a low-frequency electrical stimulation device, and comprises the following steps:
when gear switching operation is detected, acquiring operation information of the gear switching operation, wherein the operation information comprises a target gear;
judging whether the gear switching operation is safe switching operation or not according to the operation information;
if the gear switching operation is the safe switching operation, switching the gear of the device to the target gear according to a first switching mode;
and if the gear switching operation is non-safety switching operation, switching the gear of the device to the target gear according to a second switching mode, wherein the switching time corresponding to the second switching mode is longer than that corresponding to the first switching mode.
2. The method according to claim 1, wherein the shifting the gear of the device to the target gear in the first shift manner includes:
directly switching the gear of the device from the current gear to the target gear by adopting a gear jumping switching mode;
the switching the gear of the device to the target gear according to the second switching mode comprises:
and gradually switching the gear of the device from the current gear to the target gear according to a preset gear switching interval in a step-by-step switching mode.
3. The method of claim 2, wherein the directly shifting the gear of the device from the current gear to the target gear by means of skip gear shifting comprises:
acquiring a first driving voltage corresponding to the target gear, wherein the first driving voltage is used for driving a pulse output circuit of the device to generate pulse current, and the intensity of the pulse current is matched with the target gear;
and generating a pulse signal matched with the first driving voltage, and adjusting the driving voltage input to the pulse output circuit to the first driving voltage through the pulse signal.
4. The method according to claim 3, wherein the step-by-step shifting the gear of the device from the current gear to the target gear at preset gear shifting intervals in the step-by-step shifting manner comprises:
determining an intermediate gear to be switched from a current gear to the target gear according to a preset gear switching interval;
according to the arrangement sequence of the gears, pulse signals matched with each intermediate switching gear are generated one by one at intervals of preset time, and the driving voltage input to the pulse output circuit is gradually adjusted to the first driving voltage corresponding to the target gear through the pulse signals matched with each intermediate switching gear.
5. The method according to any one of claims 1 to 4, wherein said determining whether the shift-position switching operation is a safe switching operation based on the operation information includes:
when the target gear belongs to a first gear interval, determining that the gear switching operation is a safe switching operation;
and when the target gear belongs to a second gear interval, determining that the gear switching operation is a non-safety switching operation, wherein the first gear interval is lower than the second gear interval.
6. The method according to any one of claims 1 to 4, characterized in that the operating information further comprises a gear shift direction; the judging whether the gear switching operation is a safe switching operation according to the operation information includes:
and if the gear adjusting direction is a reduced gear, determining that the gear switching operation is a safe switching operation.
7. The method according to claim 6, wherein said determining whether the shift-position switching operation is a safe switching operation based on the operation information further comprises:
if the gear adjusting direction is gear increasing, acquiring an interval gear between the current gear and the target gear of the device;
and if the number of the interval gears is larger than a number threshold value, determining that the gear switching operation is a non-safety switching operation.
8. The method according to claim 6, wherein the operation information further includes a switching frequency, and the determining whether the shift-position switching operation is a safe switching operation according to the operation information further includes:
if the gear adjusting direction is gear increasing, judging whether the switching frequency is higher than a preset frequency;
and if the switching frequency is higher than the preset frequency, determining that the gear switching operation is non-safe switching operation.
9. The method according to claim 6, wherein said determining whether the shift-position switching operation is a safe switching operation based on the operation information further comprises:
if the gear adjusting direction is gear increasing, acquiring a first driving voltage corresponding to the target gear;
and if the first driving voltage is larger than a voltage threshold value, determining that the gear shifting operation is a non-safety shifting operation.
10. The method according to claim 6, wherein said determining whether the shift-position switching operation is a safe switching operation based on the operation information further comprises:
if the gear adjusting direction is gear increasing, acquiring a first driving voltage corresponding to the target gear and a second driving voltage corresponding to the current gear of the device;
calculating a voltage difference between the first driving voltage and the second driving voltage;
and if the voltage difference value is larger than a difference threshold value, determining that the gear shifting operation is non-safety shifting operation.
11. The method according to any one of claims 7 to 10, characterized in that, after said determining whether the shift-position switching operation is a safe switching operation based on the operation information, the method further comprises:
and if the gear switching operation is non-safe switching operation, locking the gear of the device at the current gear, and prompting the non-safe switching operation.
12. The method of claim 11, wherein after said locking the gear of the device in the current gear, the method further comprises:
if an unlocking instruction is received within a first time period, unlocking the gear of the device, and switching the gear of the device to the target gear according to a first switching mode;
and if the unlocking instruction is not received within the first time period, unlocking the gear of the device, and executing the gear of the device to be switched to the target gear according to a second switching mode.
13. The method of claim 1, wherein the operational information further comprises a first gear adjustment direction;
after the determining whether the shift position switching operation is a safe switching operation according to the operation information, the method further includes:
if the gear shifting operation is non-safe shifting operation, the gear shifting operation is not responded within a second duration;
if a new gear switching operation is detected within the second duration, acquiring a second gear adjusting direction corresponding to the new gear switching operation;
and if the first gear adjusting direction and the second gear adjusting direction are different, switching the gear of the device to a target gear corresponding to the new gear switching operation according to a first switching mode.
14. A gear shifting device is applied to a low-frequency electrical stimulation device, and comprises:
the system comprises an operation detection module, a gear switching module and a control module, wherein the operation detection module is used for acquiring operation information of gear switching operation when the gear switching operation is detected, and the operation information comprises a target gear;
the judging module is used for judging whether the gear switching operation is safe switching operation according to the operation information;
the first switching module is used for switching the gear of the low-frequency electrical stimulation device to the target gear according to a first switching mode if the gear switching operation is the safe switching operation;
and the second switching module is used for switching the gear of the low-frequency electrical stimulation device to the target gear according to a second switching mode if the gear switching operation is an unsafe switching operation, wherein the switching time corresponding to the second switching mode is longer than the switching time corresponding to the first switching mode.
15. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, causes the processor to carry out the method of any one of claims 1 to 13.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 13.
CN202010595672.7A 2020-06-24 2020-06-24 Gear switching method and device, electronic equipment and computer readable storage medium Pending CN111760192A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010595672.7A CN111760192A (en) 2020-06-24 2020-06-24 Gear switching method and device, electronic equipment and computer readable storage medium
PCT/CN2021/086392 WO2021258812A1 (en) 2020-06-24 2021-04-12 Gear switching method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595672.7A CN111760192A (en) 2020-06-24 2020-06-24 Gear switching method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111760192A true CN111760192A (en) 2020-10-13

Family

ID=72722205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595672.7A Pending CN111760192A (en) 2020-06-24 2020-06-24 Gear switching method and device, electronic equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111760192A (en)
WO (1) WO2021258812A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113134160A (en) * 2021-03-31 2021-07-20 未来穿戴技术有限公司 Gear adjusting method and device, storage medium and electronic equipment
WO2021258812A1 (en) * 2020-06-24 2021-12-30 未来穿戴技术有限公司 Gear switching method, electronic device, and computer-readable storage medium
CN114343786A (en) * 2021-12-31 2022-04-15 剑虎医疗科技(苏州)有限公司 Energy switching method for surgical operation equipment and surgical operation equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415917A (en) * 2022-01-19 2022-04-29 深圳臣诺医疗器械有限公司 Single-key scalpel control method and device, electronic equipment and medium
CN114780007A (en) * 2022-04-12 2022-07-22 Oppo广东移动通信有限公司 Control key adjusting method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105840808A (en) * 2016-04-26 2016-08-10 中国第汽车股份有限公司 Gear-shifting coordination control method for wet double-clutch automatic speed changer
US20160347320A1 (en) * 2015-05-29 2016-12-01 Saic Motor Corporation Limited Controlling apparatus and method for electric drive transmission of dual-motor electric vehicle
CN111193455A (en) * 2020-01-20 2020-05-22 河北兴邦电力器材有限公司 Ultra-high slip motor control method, device, storage medium and electronic apparatus
CN111248961A (en) * 2020-01-17 2020-06-09 盈甲医疗器械制造(上海)有限公司 Manual rotation and electric bending switching device and electric anastomat thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050187497A1 (en) * 2004-02-24 2005-08-25 Nguyen Thi Ngoc P. Electrical impulse apparatus for facial massage
JP4416019B2 (en) * 2007-07-31 2010-02-17 パナソニック電工株式会社 Massage machine
US10646400B2 (en) * 2018-02-13 2020-05-12 Hoi Ming Michael HO Electrotherapy device capable of gradually increasing stimulation intensity
CN110953333B (en) * 2019-12-13 2021-06-29 河北工大科雅能源科技股份有限公司 Gear adjusting method and system and terminal equipment
CN111760192A (en) * 2020-06-24 2020-10-13 未来穿戴(深圳)有限公司 Gear switching method and device, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160347320A1 (en) * 2015-05-29 2016-12-01 Saic Motor Corporation Limited Controlling apparatus and method for electric drive transmission of dual-motor electric vehicle
CN105840808A (en) * 2016-04-26 2016-08-10 中国第汽车股份有限公司 Gear-shifting coordination control method for wet double-clutch automatic speed changer
CN111248961A (en) * 2020-01-17 2020-06-09 盈甲医疗器械制造(上海)有限公司 Manual rotation and electric bending switching device and electric anastomat thereof
CN111193455A (en) * 2020-01-20 2020-05-22 河北兴邦电力器材有限公司 Ultra-high slip motor control method, device, storage medium and electronic apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021258812A1 (en) * 2020-06-24 2021-12-30 未来穿戴技术有限公司 Gear switching method, electronic device, and computer-readable storage medium
CN113134160A (en) * 2021-03-31 2021-07-20 未来穿戴技术有限公司 Gear adjusting method and device, storage medium and electronic equipment
CN114343786A (en) * 2021-12-31 2022-04-15 剑虎医疗科技(苏州)有限公司 Energy switching method for surgical operation equipment and surgical operation equipment
CN114343786B (en) * 2021-12-31 2024-03-15 剑虎医疗科技(苏州)有限公司 Surgical equipment energy switching method and surgical equipment

Also Published As

Publication number Publication date
WO2021258812A1 (en) 2021-12-30

Similar Documents

Publication Publication Date Title
CN111760192A (en) Gear switching method and device, electronic equipment and computer readable storage medium
CN111760191B (en) Pulse current output control method, pulse current output control device, electronic device, and storage medium
CN111759686A (en) Control method and device of massage equipment, massage equipment and storage medium
CN111760189B (en) Wearing detection method and device, low-frequency electric stimulation device and electronic equipment
US20050267544A1 (en) Low frequency stimulator provided in a mobile terminal and method for controlling the same
CN112354082B (en) Massage device, control method for massage device, and computer-readable storage medium
WO2022001160A1 (en) State prompting method of massage device, massage device, and storage medium
CN111759685A (en) Massage device, control method and device of massage device, and storage medium
US20060030906A1 (en) Switchable and programmable electrode configuration
CN112138279A (en) Pulse signal output control method and device, massage equipment and storage medium
JP2018108276A5 (en)
JP4807176B2 (en) Low frequency treatment device and control method thereof
JP2019054942A (en) Electric muscular stimulation device
CN112138278A (en) Control method and device of massage equipment, massage equipment and storage medium
CN114681794A (en) Pulse output method and device of massage equipment, massage equipment and storage medium
CN111491227B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN112354084A (en) Massage pulse output control method and device, massage equipment and storage medium
CN115154900A (en) Beauty instrument control method and beauty instrument
JP4925216B2 (en) Electrical muscle stimulator
CN112206415A (en) Pulse signal processing circuit and method and medium-high frequency electrical stimulation device
CN107441620B (en) Electrical stimulation system and control method of electrical stimulation mode
CN114053580A (en) Massage device, control method and device of massage device, and storage medium
CN109831555B (en) Mobile device and control method thereof
JP6489439B2 (en) Electrical stimulator
US20070038163A1 (en) Electronic impulse massage apparatus with multiple functions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 23af, building 3, zhongkefa Park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Future wearable technology Co., Ltd

Address before: 518000 23af, building 3, zhongkefa Park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Future wear (Shenzhen) Co., Ltd

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination