Gear switching method, device, electronic device and computer readable storage medium

By detecting the information of gear switching operation, distinguishing between safe and non-safe switching, and adopting corresponding switching methods to avoid sudden changes in the electrical stimulation device during gear switching, improving the safety and comfort of use.

CN111760192BActive Publication Date: 2024-11-22GUANGDONG SKG INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010595672.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-24
Publication Date
2024-11-22
Estimated Expiration
2040-06-24

AI Technical Summary

Technical Problem

When using an electrical stimulation device, the user may suddenly change the gear position due to improper operation of the gear position, which will have adverse effects on the human body and affect the safety and comfort of use.

Method used

By detecting the information of the gear switching operation, it is determined whether it is a safe switching operation. If it is safe, it will switch directly. If it is non-safe, it will adopt a long-term step-by-step switching method to provide an adaptation process to avoid sudden changes.

Benefits of technology

Effectively prevent adverse effects caused by the human body's inability to adapt to gear switching, and improve the safety and comfort of the use of electrical stimulation devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111760192B_ABST
    Figure CN111760192B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a gear switching method, device, electronic device and computer-readable storage medium. The method is applied to a low-frequency electrical stimulation device, and the method includes: when a gear switching operation is detected, obtaining operation information of the gear switching operation, the operation information includes a target gear; judging whether the gear switching operation is a safe switching operation according to the operation information; if the gear switching operation is a safe switching operation, switching the gear of the device to the target gear according to a first switching method; if the gear switching operation is a non-safe switching operation, switching the gear of the device to the target gear according to a second switching method, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method. The above-mentioned gear switching method, device, electronic device and computer-readable storage medium can prevent the occurrence of adverse effects caused by the inability of the human body to adapt to sudden gear switching during the gear switching process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a gear switching method, device, electronic equipment and computer-readable storage medium. Background Art

[0002] The electrical stimulation device can output current signals through the electrode sheet and act on the human body to achieve the massage or treatment effects of the electrical stimulation device. The electrical stimulation device can usually be set with multiple different control gears. The current output by the electrode sheet corresponding to different gears may be different. The user can select and adjust the gear according to actual needs. When using the electrical stimulation device, the user may make improper adjustments to the gear, resulting in a sudden change in the gear of the electrical stimulation device without giving the human body an adaptation process, causing adverse effects on the user during use. Summary of the invention

[0003] The embodiments of the present application disclose a gear switching method, device, electronic device and computer-readable storage medium, which can prevent the adverse effects caused by the human body's inability to adapt to sudden gear switching during the gear switching process, thereby improving the safety and comfort of the electrical stimulation device during use.

[0004] The present application embodiment discloses a gear switching method, which is applied to a low-frequency electrical stimulation device, and the method comprises:

[0005] When a gear switching operation is detected, obtaining operation information of the gear switching operation, wherein the operation information includes a target gear;

[0006] determining whether the gear switching operation is a safe switching operation according to the operation information;

[0007] If the gear switching operation is the safety switching operation, switching the gear of the device to the target gear according to a first switching mode;

[0008] If the gear switching operation is a non-safety switching operation, the gear of the device is switched to the target gear according to a second switching method, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method.

[0009] The embodiment of the present application discloses a gear switching device, which is applied to a low-frequency electrical stimulation device. The gear switching device includes:

[0010] An operation detection module, configured to obtain operation information of the gear switching operation when a gear switching operation is detected, wherein the operation information includes a target gear;

[0011] A judging module, used for judging whether the gear switching operation is a safe switching operation according to the operation information;

[0012] A first switching module, configured to switch 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 safety switching operation;

[0013] The second switching module is used to switch the gear of the low-frequency electrical stimulation device to the target gear according to a second switching method if the gear switching operation is a non-safe switching operation, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method.

[0014] An embodiment of the present application discloses an electronic device, including 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 implements the method described above.

[0015] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described above is implemented.

[0016] The gear switching method, device, electronic device and computer-readable storage medium disclosed in the embodiments of the present application can determine whether the gear switching operation is a safe switching operation based on the operation information of the gear switching operation when a gear switching operation is detected. If it is a safe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a first switching method. If it is an unsafe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a second switching method. Two different switching methods are used for safe switching operations and unsafe switching operations, respectively, and the switching time of unsafe switching operations is greater than the switching time of safe switching operations, giving the human body an adaptation process for gear switching, which can prevent adverse effects caused by the human body's inability to adapt to sudden gear switching during the gear switching process, thereby improving the safety and comfort of the electrical stimulation device during use. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1A This is an application scenario diagram of a gear switching method in an embodiment;

[0019] Figure 1B is a structural block diagram of a massage device in one embodiment;

[0020] Figure 2 is a flow chart of a gear switching method in one embodiment;

[0021] Figure 3 is a flow chart of a gear switching method in another embodiment;

[0022] Figure 4 is a flow chart of a gear switching method in another embodiment;

[0023] Figure 5 A flowchart of switching gears in one embodiment;

[0024] Figure 6 is a block diagram of a gear switching device in one embodiment;

[0025] Figure 7 FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0028] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first switching mode may be referred to as a second switching mode, and similarly, a second switching mode may be referred to as a first switching mode. Both the first switching mode and the second switching mode are modes of switching gears, but they are not the same switching mode.

[0029] Figure 1A FIG. 1 is an application scenario diagram of a gear switching method in an embodiment. Figure 1AAs shown, the massage device 10 may include a massage component 110, which may act on a user's body parts, such as the user's skin, joints, etc., to provide massage services. In the embodiment of the present application, the massage component 110 may at least include an electrode sheet, which may output an electrical signal (such as a current signal) to act on a human body part to produce an electrical stimulation massage effect. The user may switch the control gear of the massage component 110, and the strength of the electrical signal output by the electrode sheet matches the gear selected by the user to achieve the massage effect required by the user.

[0030] Figure 1B FIG. 1 is a structural block diagram of a massage device in one embodiment. Figure 1B As shown, the massage device 10 may include a massage component 110, a controller 120 and a pulse output circuit 130, wherein the massage component 110 may include at least two electrode sheets 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 sheets 112. The pulse output circuit 130 may generate a pulse current under the drive of the input driving voltage, and output the pulse current to the at least two electrode sheets 112. The pulse current output by the at least two electrode sheets 112 may act on a human body part (e.g., skin) to generate stimulation, so as to realize the electric stimulation massage function.

[0031] like Figure 2 As shown, in one embodiment, a gear switching method is provided, which can be applied to a low-frequency electrical stimulation device, which can include the above-mentioned massage equipment, a therapeutic electronic device using an electrode sheet for treatment, etc. The massage equipment can include but is not limited to a neck massager, a waist massager, an eye massager, etc., which is not limited in the embodiment of the present application. The gear switching method can include the following steps:

[0032] Step 210: When a gear switching operation is detected, operation information of the gear switching operation is obtained, where the operation information includes a target gear.

[0033] The low-frequency electrical stimulation device may be provided with a plurality of control gears, and for each control gear, the current intensity output by the electrode sheet may be different, so that the electrical stimulation intensity felt by the user is also different. When the low-frequency electrical stimulation device detects a gear switching operation triggered by the user, the control gear may be switched according to the gear switching operation. In some embodiments, the user may trigger the gear switching operation in a variety of ways, for example, the gear switching operation may be triggered by pressing a physical button provided on the housing of the low-frequency electrical stimulation device; the gear switching operation may be triggered by rotating a roller provided on the housing of the low-frequency electrical stimulation device; the gear switching operation may be triggered by operating a control interface on a mobile terminal (such as a mobile phone, a smart wearable device, etc.) that establishes a communication connection with the low-frequency electrical stimulation device; the gear switching operation may also be triggered by voice, a remote control, etc., which are not limited here.

[0034] The operation information of the gear switching operation may include but is not limited to the target gear, gear adjustment direction, etc., wherein the target gear refers to the control gear that the user needs to switch, and the gear adjustment direction may include increasing the gear and decreasing the gear. The control gears may be arranged in a certain order, for example, they may be arranged from low to high, and the higher the control gear, the greater the current output by the electrode sheet, and the stronger the electrical stimulation effect produced. When the user needs to enhance the electrical stimulation effect, the gear may be increased, and when the user needs to reduce the electrical stimulation effect, the gear may be decreased.

[0035] In some embodiments, the low-frequency electrical stimulation device may obtain a gear switching instruction generated according to the triggered gear switching operation, and obtain operation information according to the gear switching instruction. Optionally, the gear switching instruction may include a target gear and a gear adjustment direction, and the gear adjustment direction may be determined according to the triggering object of the gear switching operation. For example, a gear increase button and a gear reduction button may be provided on the housing of the low-frequency electrical stimulation device. If the button that triggers the gear switching operation is a gear increase button, the gear adjustment direction included in the generated gear switching instruction is to increase the gear. If the button that triggers the gear switching operation is a gear reduction button, the gear adjustment direction included in the generated gear switching instruction is to reduce the gear. For another example, if the triggering object that triggers the gear switching operation is a roller, the gear adjustment direction may be determined according to the rolling direction of the roller. If the rolling direction of the roller is a first direction, the gear adjustment direction included in the generated gear switching instruction is to increase the gear. If the rolling direction of the roller is a second direction, the gear adjustment direction included in the generated gear switching instruction is to reduce the gear. Optionally, 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 here.

[0036] In some embodiments, the gear switching instruction may also include only the target gear, and the low-frequency electrical stimulation device may obtain the current gear, and compare the target gear with the current gear to determine the gear adjustment direction. If the target gear is greater than the current gear, the gear adjustment direction may be determined to be an increase in gear, and if the target gear is less than the current gear, the gear adjustment direction may be determined to be a decrease in gear, etc. It is understandable that the gear adjustment direction may be obtained in other directions, and is not limited to the above-mentioned methods.

[0037] Step 220 , determining whether the gear switching operation is a safety switching operation based on the operation information, if so, executing step 230 , if not, executing step 240 .

[0038] A safe switching operation may refer to a gear switching operation in which the gear switching will not cause discomfort to the human body due to a sudden change in gear. The gear switching corresponding to the safe switching operation is safe and comfortable for the human body. An unsafe switching operation may refer to a gear switching operation in which the gear switching may cause discomfort to the human body due to a sudden change in gear. In an embodiment of the present application, if the gear of the low-frequency electrical stimulation device is suddenly switched, and the gear after the switch causes the current output by the electrode sheet to be too large, the human body will suddenly feel a large current, and the lack of an adaptation process in the middle will cause the human body to feel a tingling sensation.

[0039] It is possible to determine whether a sudden gear change occurs when the gear is switched based on the operation information of the gear switching operation. The sudden gear change may refer to a situation where the target gear to be switched is too different from the current gear. It is also possible to determine whether a situation where a tingling sensation or other discomfort may occur to the human body when the gear is switched based on the operation information. If the detected gear switching operation may result in a sudden gear change and / or may cause a tingling sensation to the human body, the gear switching operation may be determined to be an unsafe gear operation.

[0040] In some embodiments, the gear change span of the gear switching can be used to determine whether the gear switching operation is a safe switching operation. The low-frequency electrical stimulation device can determine the gear difference between the target gear and the current gear. If the gear difference is greater than a preset threshold, it means that the target gear to be switched is too different from the current gear, and there will be a sudden gear change during the gear switching, which can be determined as an unsafe switching operation. For example, the current gear is 1st gear, the target gear is 5th gear, and the gear difference between 1st gear and 5th gear is too large. If you jump directly from 1st gear to 5th gear, there will be a sudden gear change.

[0041] In some embodiments, it is also possible to determine whether the gear switching operation is a safe switching operation by the electrical stimulation effect matched by the target gear to be switched. Optionally, all control gears set in the low-frequency electrical stimulation device can be divided into different gear intervals, for example, they can be divided into a first gear interval and a second gear interval, wherein the first gear interval can be lower than the second gear interval. The first gear interval can be equivalent to the low gear interval. If the gear switching operation is a gear switching within the first gear interval, the current intensity output by the electrode sheet corresponding to the target gear is small, which can indicate that the electrical stimulation effect matched by the target gear to be switched is weak. If the target gear belongs to the first gear interval, it can be determined that the gear switching operation is a safe switching operation. The second gear interval can be equivalent to the high gear interval. If the gear switching operation is a gear switching within the second gear interval, the current intensity output by the electrode sheet corresponding to the target gear is large, which can indicate that the electrical stimulation effect matched by the target gear to be switched is strong. If the target gear belongs to the second gear interval, it can be determined that the gear switching operation is a non-safe switching operation.

[0042] In some embodiments, the low-frequency electrical stimulation device may also obtain a first driving voltage corresponding to the target gear, and the first driving voltage may be used to drive the pulse output circuit of the low-frequency electrical stimulation device to generate a pulse current, and the intensity of the pulse current (i.e., the current magnitude) may match the target gear. It may be determined whether the first driving voltage corresponding to the target gear is greater than a preset voltage threshold. If so, it may indicate that the electrical stimulation effect matched by the target gear to be switched is relatively strong, and the gear switching operation may be determined to be an unsafe switching operation.

[0043] It can be understood that the method of determining whether the gear switching operation is a safe switching operation based on the operation information of the gear switching operation is not limited to the above methods, and may be other methods, which are not limited here.

[0044] Step 230: switch the gear position of the device to the target gear position according to the first switching method.

[0045] If the detected gear switching operation is a safe switching operation, it can be said that the gear switching process of the gear switching operation will not cause discomfort such as electric tingling to the user, then the gear switching operation can be directly responded to, and the gear of the low-frequency electrical stimulation device can be switched to the target gear according to the first switching method. In some embodiments, the first switching method can be a jump gear switching method, which switches the gear of the low-frequency electrical stimulation device directly from the current gear to the target gear. For example, if the detected gear switching operation is a safe switching operation, the current gear is 4th gear, and the target gear is 1st gear, then it jumps directly from 4th gear to 1st gear.

[0046] As a specific implementation, the low-frequency electrical stimulation device can obtain a first driving voltage corresponding to the target gear, can generate a pulse signal matching the first driving voltage, and adjust the driving voltage input to the pulse output circuit to the first driving voltage through the pulse signal. Driven by the first driving voltage, the pulse output circuit can generate a pulse current and output the pulse current through the electrode sheet. The pulse current output by the electrode sheet acts on a part of the human body and can generate an electrical stimulation intensity matching the 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 during the gear adjustment process.

[0047] Furthermore, the low-frequency electrical stimulation device may also include a boost circuit, which may be electrically connected to the controller and the pulse output circuit respectively, and the boost circuit may input a driving voltage to the pulse output circuit. After the controller generates a pulse signal corresponding to the target gear, the generated pulse signal may be input into the boost circuit, and the boost circuit may be controlled to output a first driving voltage through the pulse signal. Optionally, the low-frequency electrical stimulation device may pre-store pulse signal parameters corresponding to each control gear, and the pulse signal parameters may include one or more of the period, width, duty cycle, etc. of the pulse signal, but are not limited thereto. The pulse signal parameters corresponding to the target gear may be obtained, and a pulse signal corresponding to the target gear may be generated according to the pulse signal parameters, so that the driving voltage input to the pulse output circuit may be adjusted to the first driving voltage through the pulse signal.

[0048] Step 240: switch the gear position of the device to the target gear position according to the second switching method.

[0049] If the gear switching operation is not a safe switching operation, that is, the gear switching operation is a non-safe switching operation, and the gear of the low-frequency electrical stimulation device is directly switched from the current gear to the target gear, there will be a situation where the sudden change in gear causes discomfort such as tingling to the human body. The gear of the low-frequency electrical stimulation device can be switched to the target gear according to the second switching method. The switching time corresponding to the second switching method may be greater than the switching time corresponding to the first switching method, wherein the switching time corresponding to the second switching method may refer to the time length for switching the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to the second switching method, and the switching time corresponding to the first switching method may refer to the time length for switching the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to the first switching method. Compared with the direct jump gear quick switching of the first switching method, the second switching method can use a longer switching time for gear switching, giving the user an adaptation process.

[0050] In some embodiments, the second switching mode may be a step-by-step switching mode, that is, the low-frequency electrical stimulation device may switch from the current gear to the target gear after multiple gear switching, rather than directly switching from the current gear to the target gear. A step-by-step switching mode may be adopted to gradually switch the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to a preset gear switching interval. Optionally, the gear switching interval in the step-by-step switching mode may be pre-set, and the gear switching interval may refer to the gear difference between two adjacent gears when the gear switching is performed in a step-by-step switching mode. For example, when the gear switching interval is 1, if the current gear 1 is switched to the target gear 6, then the step-by-step switching mode is used to switch from the 1st gear to the 2nd gear, and then to the 3rd gear, the 4th gear, the 5th gear, and the 6th gear in sequence; if the gear switching interval is 2, if the current gear 1 is switched to the target gear 5, then the step-by-step switching mode is used to switch from the 1st gear to the 3rd gear and the 5th gear in sequence. The gear switching interval may also be other gear differences, which are not limited here.

[0051] In some embodiments, multiple different gear switching intervals may be set. When the gear switching is performed in a step-by-step manner, the gear switching interval closer to the target gear may be smaller. For example, when the gear switching interval is 1, if the current gear 1 is switched to the target gear 6, the step-by-step switching may be performed first from gear 1 to gear 3, then from gear 3 to gear 5, then from gear 5 to gear 6, or first from gear 1 to gear 3, then from gear 3 to gear 4, gear 5, gear 6, etc., but is not limited thereto.

[0052] As a specific implementation, the low-frequency electrical stimulation device can determine the intermediate switching gear from the current gear to the target gear according to the preset gear switching interval. The intermediate switching gear may refer to the intermediate gear that needs to be switched from the current gear to the target gear in the process of switching gears in a step-by-step manner. For example, when the gear switching interval is 1, switching from the current gear 1 to the target gear 6, the intermediate switching gears may include 2, 3, 4 and 5. If the gear switching interval is 2, switching from the current gear 2 to the target gear 6, the intermediate switching gear may include 4.

[0053] According to the arrangement order of the gears, pulse signals matching each intermediate switching gear can be generated one by one at every preset time interval, and the driving voltage input to the pulse output circuit can be gradually adjusted to the first driving voltage corresponding to the target gear by the pulse signals matching each intermediate switching gear. The arrangement order of the gears can correspond to the adjustment direction of the gears. If the adjustment direction is to increase the gears, the gears can be arranged in an order from small to large. If the adjustment direction is to reduce the gears, the gears can be arranged in an order from large to small. Optionally, the time interval for generating a pulse signal matching the intermediate switching gear each time can be set according to actual needs, for example, generating every 1 second, generating every 500 milliseconds, etc., which is not limited here. After the controller of the low-frequency electrical stimulation device generates a pulse signal matching the intermediate switching gear each time, the generated pulse signal can be sent to the boost circuit, and the boost circuit can be controlled by the pulse signal to output the driving voltage corresponding to the intermediate switching gear to the pulse output circuit. Under the drive of the driving voltage, the pulse output circuit can generate a corresponding pulse current and output it through the electrode sheet, and the user can feel the electrical stimulation effect matching the intermediate switching gear. By repeatedly generating pulse signals that match each intermediate switching gear, multiple gear adjustments are performed, and the drive voltage input to the pulse output circuit is gradually adjusted to the first drive voltage corresponding to the target gear, so that the user has an adaptation process for the gear switching, and the tingling sensation caused by the human body's inability to adapt to the sudden gear switching can be avoided.

[0054] In some embodiments, one or more intermediate switching gears may be pre-set. When the current gear of the low-frequency electrical stimulation device includes a pre-set intermediate switching gear between the current gear and the target gear, a step-by-step switching method may be used, and the gears may be switched one by one from the current gear to each pre-set intermediate switching gear between the current gear and the target gear in the order of the gears, until the target gear is switched. For example, the pre-set intermediate switching gears may include 3rd gear, 5th gear, and 6th gear. When it is necessary to switch from the current gear 4th gear to the target gear 7th gear, the gear may be switched from 4th gear to 5th gear, then to 6th gear, and finally to 7th gear, so as to achieve a step-by-step switching of the gears.

[0055] In an embodiment of the present application, when a gear switching operation is detected, it can be determined whether the gear switching operation is a safe switching operation based on the operation information of the gear switching operation. If it is a safe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a first switching method. If it is an unsafe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a second switching method. Two different switching methods are used for safe switching operations and unsafe switching operations, respectively, and the switching time of unsafe switching operations is greater than the switching time of safe switching operations, giving the human body an adaptation process for gear switching, which can prevent adverse effects caused by the human body's inability to adapt to sudden gear switching during the gear switching process, thereby improving the safety and comfort of the electrical stimulation device during use.

[0056] like Figure 3 As shown, in one embodiment, another gear switching method is provided, which can be applied to the above-mentioned low-frequency electrical stimulation device. The method may include the following steps:

[0057] Step 302: When a gear switching operation is detected, operation information of the gear switching operation is obtained, where the operation information includes a target gear.

[0058] Step 304 , determining whether the gear switching operation is a safety switching operation based on the operation information, if so, executing step 306 , if not, executing step 308 .

[0059] Step 306: switch the gear position of the device to the target gear position according to the first switching method.

[0060] Steps 302 to 306 may refer to the relevant descriptions in the above embodiments, and will not be described in detail here.

[0061] Step 308 , lock the gear of the device at the current gear, and prompt the unsafe switching operation, and then execute step 310 or step 312 .

[0062] If the detected gear switching operation is an unsafe switching operation, the gear switching operation may not be responded to temporarily, that is, the gear switching may not be performed temporarily. The gear of the low-frequency electrical stimulation device may be locked at the current gear first, and a prompt may be given that the gear switching operation is an unsafe switching operation. Optionally, the prompting method may include but is not limited to voice prompts, vibration prompts, flashing light prompts, and sending message prompts to the terminal connected to the low-frequency electrical stimulation device. For example, a prompt may be given by playing a voice message "The current gear switching operation is an unsafe switching operation". For another example, the low-frequency electrical stimulation device may also include a vibration module, and a prompt may be given by controlling the vibration of the vibration module. For another example, a message "The current gear switching operation is an unsafe switching operation" may be displayed on a mobile phone connected to the low-frequency electrical stimulation device for prompting, etc. The user can promptly learn the status of the unsafe switching operation through the prompt and make further switching mode selections.

[0063] Step 310: If an unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear in a first switching manner.

[0064] The low-frequency electrical stimulation device can determine whether an unlocking instruction is received within the first time length. Optionally, the first time length can be set according to actual needs, such as 3 seconds, 5 seconds, etc. In some embodiments, the unlocking instruction can 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, etc., which are not limited here. The operation of triggering unlocking can be different from the operation of triggering gear switching. For example, the user can perform a gear switching operation by "short pressing" a physical button, unlock by "long pressing", switch gears by rotating the roller in different directions, unlock by pressing the roller, etc.

[0065] If an unlocking command is received within the first time period, indicating that the user explicitly needs to switch to the target gear, the gear of the low-frequency electric stimulation device can be directly switched from the current gear to the target gear according to the first switching method. This enables timely response to the user's switching operation, quick gear switching, and satisfaction of the user's gear switching needs.

[0066] The description of the gear switching according to the first switching mode can refer to the relevant description in the above embodiment, which will not be repeated here.

[0067] Step 312: If no unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear according to the second switching method.

[0068] If the unlocking instruction is not received within the first time period, it means that the user is not very clear about switching to the target gear, and the gear of the device can be switched to the target gear according to the second switching method, and the gear of the low-frequency electrical stimulation device can be switched from the current gear to the target gear through multiple gear switching by using a step-by-step switching method. The user has an adaptation process for the gear switching, which can avoid the tingling sensation caused by the human body's inability to adapt to the sudden gear switching.

[0069] The description of the gear switching according to the second switching mode can refer to the relevant description in the above embodiment, which will not be repeated here.

[0070] In the embodiment of the present application, the user can independently choose the gear switching method so that the low-frequency electrical stimulation device can meet the different needs of the user.

[0071] like Figure 4 As shown, in one embodiment, another gear switching method is provided, which can be applied to the above-mentioned low-frequency electrical stimulation device, and the method may include the following steps:

[0072] Step 402, when a gear switching operation is detected, the operation information of the gear switching operation is obtained, the operation information includes the target gear and the gear adjustment direction, and then step 404 or step 408 is executed.

[0073] The description of step 402 may refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0074] Step 404: If the gear adjustment direction is to lower the gear, determine that the gear switching operation is a safe switching operation.

[0075] After the low-frequency electrical stimulation device obtains the operation information of the detected gear switching operation, it can determine whether the gear adjustment direction is to lower the gear. Since the gear of the low-frequency electrical stimulation device switches from a higher gear to a lower gear during the downshifting process, the electrical stimulation intensity felt by the user is weakened, so the electrical stimulation intensity corresponding to the lowered gear will not cause a tingling sensation to the user. The gear switching operation of lowering the 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 the target gear according to the first switching method. It can respond to the user's downshifting operation in a timely manner, quickly downshift, and improve the downshifting efficiency.

[0076] Step 406: switch the gear position of the device to the target gear position according to the first switching method.

[0077] The description of step 406 may refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0078] Step 408: If the gear adjustment direction is to increase the gear, and the operation information satisfies the preset unsafe operation condition, then the gear switching operation is determined to be an unsafe switching operation.

[0079] If the gear adjustment direction of the detected gear switching operation is to increase the gear, it can be determined whether the operation information of the gear switching operation meets the preset unsafe operation condition. If so, the gear switching operation can be determined to be an unsafe switching operation. The unsafe operation condition can be set according to actual needs.

[0080] In one embodiment, the unsafe operation condition may include that the interval gear between the current gear and the target gear of the low-frequency electrical stimulation device is greater than the quantity threshold. If the gear adjustment 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 may refer to the gear difference between the current gear and the target gear, which is used to illustrate the number of gears that differ between the current gear and the target gear. For example, if the current gear is 1 and the target gear is 3, the interval gear is 2, and if the current gear is 3 and the target gear is 7, the interval gear is 4. If it is determined whether the number of interval gears is greater than the quantity threshold, the quantity threshold can be set according to actual needs, such as 0, 1, etc. If the interval gear is greater than the quantity threshold, it means that the jump span between the current gear and the target gear is large. If the gear is directly raised from the current gear to the target gear, it may bring a tingling feeling and other undesirable experiences to the user, and the gear switching operation can be determined as an unsafe switching operation.

[0081] In one embodiment, the operation information of the gear switching operation may further include a switching frequency, which refers to the number of gear switching operations within a preset time length, for example, switching 3 times within 1 second, switching 4 times within 1 second, etc. The unsafe operation condition may include that the switching frequency of the gear switching operation is higher than the preset frequency. Optionally, the preset frequency may be set according to actual needs, for example, 1 time / second, 2 times / second, etc., but not limited thereto. If the gear adjustment direction is to increase the gear, it can be determined whether the switching frequency of the gear switching operation is higher than the preset frequency. If it is higher than the preset frequency, it means that the gear is increased too fast. If the gear is directly increased from the current gear to the target gear, it may bring a tingling feeling to the user. The gear switching operation can be determined as an unsafe switching operation. Optionally, the target gear may refer to the target gear determined after the gear switching operation is switched multiple times according to the switching frequency. For example, if the current gear is 3rd gear, and the user triggers 4 times of increasing the gear within 1 second, the target gear can be determined to be 7th gear.

[0082] In one embodiment, the unsafe operation condition may include that the first driving voltage corresponding to the target gear is greater than the voltage threshold. If the gear adjustment direction is to increase the gear, the first driving voltage corresponding to the target gear can be obtained, and it is determined whether the first driving voltage is greater than the voltage threshold. Optionally, the voltage threshold can be set according to actual needs, for example, 30V (volts), 28V, etc., but not limited to this. If the voltage threshold of the first driving voltage corresponding to the target gear indicates that the electrical stimulation intensity matched with the target gear is large, if the gear is directly raised from the current gear to the target gear, it may bring a tingling sensation and other undesirable experiences to the user, and the gear switching operation can be determined as an unsafe switching operation.

[0083] In one embodiment, the unsafe operation condition may include that the voltage difference between the first driving voltage corresponding to the target gear and the second driving voltage of the current gear of the low-frequency electrical stimulation device is greater than the difference threshold. If the gear adjustment direction is to increase the gear, the first driving voltage corresponding to the target gear and the second driving voltage corresponding to the current gear can be obtained, and the voltage difference between the first driving voltage and the second driving voltage can be calculated. The first driving voltage can be subtracted from the second driving voltage to obtain a voltage difference, and it is determined whether the voltage difference is greater than the difference threshold. Optionally, the difference threshold can be set according to actual needs, for example, 10V, 15V, etc., but not limited to this. If the voltage difference is greater than the difference threshold, it means that the electrical stimulation effect of the current gear and the target gear is quite different. If the gear is directly raised from the current gear to the target gear, it may bring a tingling sensation and other undesirable experiences to the user, and the gear switching operation can be determined as an unsafe switching operation.

[0084] It can be understood that the unsafe operating conditions may include one or more of the above conditions, or other conditions, and the embodiments of the present application are not limited thereto.

[0085] Step 410, lock the gear position of the device at the current gear position, and prompt for unsafe switching operations.

[0086] Step 412: If an unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear according to the first switching method.

[0087] Step 414: If no unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear according to the second switching method.

[0088] The description of steps 410 to 414 may refer to the relevant description in the above embodiments, which will not be repeated here.

[0089] In some embodiments, when the gear switching operation is a non-safe switching operation, it may be an erroneous operation by the user. When the user realizes that it is an erroneous operation, he may switch the gear again. Figure 5 As shown, after the step of determining whether the gear switching operation is a safe switching operation according to the operation information, the method further includes the following steps:

[0090] Step 502: If the gear switching operation is a non-safety switching operation, then the gear switching operation is not responded to within a second time period.

[0091] After the low-frequency electrical stimulation device detects the gear switching operation, the gear adjustment direction of the gear switching operation can be used as the first gear adjustment direction. When the gear switching operation is determined to be a non-safe switching operation based on the operation information of the gear switching operation, the gear switching operation is not responded to within the second time length, the gear switching is temporarily not performed, and it is determined whether a new gear operation is detected within the second time length. Optionally, the second time length can be a shorter time length, such as 1 second, 2 seconds, 500 milliseconds, etc., so that the user will not obviously perceive the process of not responding to the gear switching operation.

[0092] Step 504: If a new gear switching operation is detected within the second time period, a second gear adjustment direction corresponding to the new gear switching operation is obtained.

[0093] If a new gear switching operation is detected within the second time period, the gear switching direction of the new gear switching operation can 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.

[0094] Step 506: If the first gear adjustment direction and the second gear adjustment direction are different directions, the gear of the device is switched to the target gear corresponding to the new gear switching operation according to the first switching method.

[0095] As a specific implementation, the first gear adjustment direction may be to increase the gear, and it may be determined whether the second gear adjustment direction is to reduce the gear. If it is to reduce the gear, the target gear of the new gear switching operation may be obtained, and the gear of the low-frequency electrical stimulation device may be directly switched from the current gear to the target gear of the new gear switching operation according to the first switching method. For example, the first detected gear switching operation is to increase from 1st gear to 7th gear, which may be determined as an unsafe switching operation. If a new gear switching operation is detected within 1 second to reduce from 7th gear to 3rd gear, it may be directly switched from 1st gear to 3rd gear, and the unsafe switching operation may be directly skipped to perform a new gear switching operation, which can not only respond to the user's gear switching operation in a timely manner and improve the operating efficiency, but also avoid the user's possible bad experience during the gear switching process.

[0096] It can be understood that the gear switching method provided in the embodiment of the present application can be applied to the gear switching of other functional modules in addition to the electrical stimulation gear switching of the low-frequency electrical stimulation device. For example, the massage component on the massage device may include a vibration module, and the vibration module can prompt the vibration massage function. The gear switching method provided in the embodiment of the present application can also be applied to the gear switching process during vibration massage to avoid the user's comfort during the massage process being reduced due to sudden and large gear changes during the vibration massage, and the user has no adaptation process.

[0097] In the embodiment of the present application, different switching methods can be used for gear switching according to different gear adjustment directions, which can not only respond to downshift operations in a timely manner and improve downshift efficiency, but also avoid adverse experiences such as tingling caused by the user's inability to adapt to the sudden increase in gear during the upshift process, thereby improving the safety and comfort of the electric stimulation device during use.

[0098] like Figure 6 As shown, in one embodiment, a gear switching device 600 is provided, which can be applied to the above-mentioned low-frequency electrical stimulation device. The gear switching device 600 may include an operation detection module 610, a judgment module 620, a first switching module 630 and a second switching module 640.

[0099] The operation detection module 610 is used to obtain operation information of the gear switching operation when a gear switching operation is detected, and the operation information includes a target gear.

[0100] The judgment module 620 is used to judge whether the gear switching operation is a safe switching operation according to the operation information.

[0101] In one embodiment, the judgment module 620 is also used to determine that the gear switching operation is a safe switching operation when the target gear belongs to the first gear range, and to determine that the gear switching operation is a non-safe switching operation when the target gear belongs to the second gear range, and the first gear range is lower than the second gear range.

[0102] The first switching module 630 is used to switch the gear of the low-frequency electrical stimulation device to the target gear according to the first switching method if the gear switching operation is the safety switching operation.

[0103] In one embodiment, the first switching module 630 is also used to directly switch the gear of the low-frequency electrical stimulation device from the current gear to the target gear by adopting a skipping gear switching method.

[0104] In one embodiment, the first switching module 630 includes a voltage acquisition unit and a first signal generation unit.

[0105] The voltage acquisition unit is used to acquire a first driving voltage corresponding to the target gear position. The first driving voltage is used to drive the pulse output circuit of the electrical stimulation device to generate a pulse current, and the intensity of the pulse current matches the target gear position.

[0106] The first signal generating unit is used to generate a pulse signal matching the first driving voltage, and adjust the driving voltage input to the pulse output circuit to the first driving voltage through the pulse signal.

[0107] The second switching module 640 is used to switch the gear of the low-frequency electrical stimulation device to the target gear according to the second switching method if the gear switching operation is a non-safe switching operation, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method.

[0108] 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 manner according to a preset gear switching interval.

[0109] In one embodiment, the second switching module 640 includes an intermediate gear determination unit and a second signal generating unit.

[0110] The intermediate gear determination unit is used to determine the intermediate switching gear from the current gear to the target gear according to a preset gear switching interval.

[0111] The second signal generating unit is used to generate a pulse signal matching each intermediate switching gear one by one at every preset time interval according to the arrangement order of the gears, and gradually adjust the driving voltage input to the pulse output circuit to the first driving voltage corresponding to the target gear through the pulse signal matching each intermediate switching gear.

[0112] In an embodiment of the present application, when a gear switching operation is detected, it can be determined whether the gear switching operation is a safe switching operation based on the operation information of the gear switching operation. If it is a safe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a first switching method. If it is an unsafe switching operation, the gear of the low-frequency electrical stimulation device is switched to the target gear according to a second switching method. Two different switching methods are used for safe switching operations and unsafe switching operations, respectively, and the switching time of unsafe switching operations is greater than the switching time of safe switching operations, giving the human body an adaptation process for gear switching, which can prevent adverse effects caused by the human body's inability to adapt to sudden gear switching during the gear switching process, thereby improving the safety and comfort of the electrical stimulation device during use.

[0113] In one embodiment, the gear switching device 600 includes not only the operation detection module 610 , the judgment module 620 , the first switching module 630 , and the second switching module 640 , but also a prompt module.

[0114] The prompt module is used to lock the gear of the low-frequency electrical stimulation device at the current gear if the gear switching operation is an unsafe switching operation, and to prompt the unsafe switching operation.

[0115] The first switching module 630 is also used to unlock the gear of the low-frequency electrical stimulation device if an 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 method.

[0116] The second switching module 640 is also used to unlock the gear of the low-frequency electrical stimulation device if no 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 second switching method.

[0117] In the embodiment of the present application, the user can independently choose the gear switching method so that the low-frequency electrical stimulation device can meet the different needs of the user.

[0118] In one embodiment, the operation information also includes the gear adjustment direction. The judgment module 620 is further configured to determine that the gear switching operation is a safety switching operation if the gear adjustment direction is to lower the gear.

[0119] In one embodiment, the judgment module 620 is also used to obtain the interval gear between the current gear of the device and the target gear if the gear adjustment direction is to increase the gear. If the number of the interval gears is greater than the number threshold, the gear switching operation is determined to be an unsafe switching operation.

[0120] In one embodiment, the operation information also includes a switching frequency. The judgment module 620 is further used to judge whether the switching frequency is higher than a preset frequency if the gear adjustment direction is to increase the gear, and if the switching frequency is higher than the preset frequency, determine that the gear switching operation is an unsafe switching operation.

[0121] In one embodiment, the judgment module 620 is also used to obtain a first driving voltage corresponding to the target gear if the gear adjustment direction is to increase the gear, and if the first driving voltage is greater than a voltage threshold, determine that the gear switching operation is an unsafe switching operation.

[0122] In one embodiment, the judgment module 620 is also used to obtain a first driving voltage corresponding to the target gear and a second driving voltage corresponding to the current gear of the low-frequency electrical stimulation device if the gear adjustment direction is to increase the gear, and calculate the voltage difference between the first driving voltage and the second driving voltage. If the voltage difference is greater than the difference threshold, it is determined that the gear switching operation is an unsafe switching operation.

[0123] In one embodiment, the operation information further includes the first gear adjustment direction.

[0124] The operation detection module 610 is also used to not respond to the gear switching operation within a second time period if the gear switching operation is a non-safety switching operation, and to obtain the second gear adjustment direction corresponding to the new gear switching operation if a new gear switching operation is detected within the second time period.

[0125] The first switching module 630 is also used to switch the gear of the low-frequency electrical stimulation device to a target gear corresponding to a new gear switching operation according to a first switching method if the first gear adjustment direction and the second gear adjustment direction are different directions.

[0126] In the embodiment of the present application, different switching methods can be used for gear switching according to different gear adjustment directions, which can not only respond to downshift operations in a timely manner and improve downshift efficiency, but also avoid adverse experiences such as tingling caused by the user's inability to adapt to the sudden increase in gear during the upshift process, thereby improving the safety and comfort of the electric stimulation device during use.

[0127] Figure 7 FIG. 1 is a structural block diagram of an electronic device in an embodiment. Figure 7 As shown, the electronic device 700 may be a low-frequency electrical stimulation device, for example, a massage device such as a neck massager, a waist massager, an eye massager, etc., or a therapeutic electronic device that uses an electrode sheet for treatment, etc. The 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 application programs, and the one or more application programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 710.

[0128] The processor 710 may include one or more processing cores. The processor 710 uses various interfaces and lines to connect various parts of the entire electronic device 700, and executes various functions and processes data of the electronic device 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 720, and calling data stored in the memory 720. Optionally, the processor 710 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 710 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 710, but may be implemented separately through a communication chip.

[0129] 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, codes, 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 playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 700 during use, etc.

[0130] It is understandable that the electronic device 700 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, a speaker, a Bluetooth module, a sensor, etc., and this is not limited here.

[0131] An embodiment of the present application discloses a neck massager, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor implements the methods described in the above embodiments.

[0132] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.

[0133] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.

[0134] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0135] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or Flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM), and direct memory bus dynamic RAM (DRDRAM).

[0136] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0137] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0138] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0140] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0141] The above is a detailed introduction to a gear switching method, device, electronic device and computer-readable storage medium disclosed in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those of ordinary skill in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A gear switching method, characterized in that: Applied to a low-frequency electrical stimulation device, the method comprises: When a gear switching operation is detected, obtaining operation information of the gear switching operation, wherein the operation information includes a target gear; determining whether the gear switching operation is a safe switching operation according to the operation information; If the gear switching operation is the safety switching operation, switching the gear of the device to the target gear according to a first switching mode; If the gear switching operation is a non-safety switching operation, switching the gear of the device to the target gear according to a second switching method, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method; The step of switching the gear position of the device to the target gear position according to the first switching mode includes: By adopting a skipping gear switching method, the gear position of the device is directly switched from the current gear position to the target gear position; The step of switching the gear position of the device to the target gear position according to the second switching mode includes: By adopting a step-by-step switching method, the gear of the device is gradually switched from the current gear to the target gear according to a preset gear switching interval.

2. The method according to claim 1, characterized in that The method of adopting a skipping gear switching method to directly switch the gear position of the device from the current gear position to the target gear position includes: Acquiring a first driving voltage corresponding to the target gear position, wherein the first driving voltage is used to drive a pulse output circuit of the device to generate a pulse current, and the intensity of the pulse current matches the target gear position; A pulse signal matching the first driving voltage is generated, and the driving voltage input to the pulse output circuit is adjusted to the first driving voltage by the pulse signal.

3. The method according to claim 2, characterized in that The stepwise switching method is adopted to gradually switch the gear of the device from the current gear to the target gear according to a preset gear switching interval, including: Determining an intermediate shifting gear from the current gear to the target gear according to a preset gear shifting interval; According to the arrangement order of the gears, pulse signals matching each intermediate switching gear are generated one by one at every preset time interval, 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 matching each intermediate switching gear.

4. The method according to any one of claims 1 to 3, characterized in that: The determining, according to the operation information, whether the gear switching operation is a safe switching operation includes: When the target gear belongs to the first gear interval, determining that the gear switching operation is a safe switching operation; When the target gear belongs to the second gear range, the gear switching operation is determined to be a non-safe switching operation, and the first gear range is lower than the second gear range.

5. The method according to any one of claims 1 to 3, characterized in that: The operation information also includes a gear adjustment direction; and judging whether the gear switching operation is a safe switching operation according to the operation information includes: If the gear adjustment direction is to lower the gear, the gear switching operation is determined to be a safe switching operation.

6. The method according to claim 5, characterized in that The determining, according to the operation information, whether the gear switching operation is a safe switching operation further includes: If the gear adjustment direction is to increase the gear, then obtaining the interval gear between the current gear of the device and the target gear; If the number of the interval gears is greater than the number threshold, the gear switching operation is determined to be an unsafe switching operation.

7. The method according to claim 5, characterized in that The operation information further includes a switching frequency, and the step of determining whether the gear switching operation is a safe switching operation according to the operation information further includes: If the gear adjustment direction is to increase the gear, determining whether the switching frequency is higher than a preset frequency; If the switching frequency is higher than a preset frequency, the gear switching operation is determined to be an unsafe switching operation.

8. The method according to claim 5, characterized in that The determining, according to the operation information, whether the gear switching operation is a safe switching operation further includes: If the gear adjustment direction is to increase the gear, obtaining a first driving voltage corresponding to the target gear; If the first driving voltage is greater than a voltage threshold, the gear switching operation is determined to be an unsafe switching operation.

9. The method according to claim 5, characterized in that The determining, according to the operation information, whether the gear switching operation is a safe switching operation further includes: If the gear adjustment direction is to increase the gear, obtaining 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; If the voltage difference is greater than the difference threshold, the gear switching operation is determined to be an unsafe switching operation.

10. The method according to any one of claims 6 to 9, characterized in that: After determining whether the gear switching operation is a safe switching operation according to the operation information, the method further includes: If the gear switching operation is an unsafe switching operation, the gear of the device is locked at the current gear, and a prompt is given for the unsafe switching operation.

11. The method according to claim 10, characterized in that After locking the gear of the device at the current gear, the method further includes: If an unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear in a first switching manner; If no unlocking instruction is received within the first time period, the gear of the device is unlocked, and the gear of the device is switched to the target gear in the second switching manner.

12. The method according to claim 1, characterized in that The operation information also includes the first gear adjustment direction; After determining whether the gear switching operation is a safe switching operation according to the operation information, the method further includes: If the gear switching operation is a non-safety switching operation, not responding to the gear switching operation within a second time period; If a new gear switching operation is detected within the second time period, obtaining a second gear adjustment direction corresponding to the new gear switching operation; If the first gear adjustment direction and the second gear adjustment direction are different directions, the gear of the device is switched to the target gear corresponding to the new gear switching operation according to a first switching method.

13. A gear switching device, characterized in that: Applied to a low-frequency electrical stimulation device, the gear switching device comprises: An operation detection module, configured to obtain operation information of the gear switching operation when a gear switching operation is detected, wherein the operation information includes a target gear; A judging module, used for judging whether the gear switching operation is a safe switching operation according to the operation information; A first switching module, configured to switch 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 safety switching operation; The first switching module is further used to directly switch the gear of the low-frequency electrical stimulation device from the current gear to the target gear by adopting a skipping gear switching method; A second switching module, configured to switch the gear of the low-frequency electrical stimulation device to the target gear according to a second switching method if the gear switching operation is a non-safe switching operation, and the switching time corresponding to the second switching method is greater than the switching time corresponding to the first switching method; The second switching module is also used to adopt a step-by-step switching method to gradually switch the gear of the low-frequency electrical stimulation device from the current gear to the target gear according to a preset gear switching interval.

14. An electronic device, characterized in that: The method 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 implements the method according to any one of claims 1 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Gear-shifting coordination control method for wet double-clutch automatic speed changer

    CN105840808A

  • Ultrahigh slip ratio motor control method and device, storage medium and electronic equipment

    CN111193455A

  • Manual rotation and electric bending switching device and electric stapler

    CN111248961A

  • Controlling apparatus and method for electric drive transmission of dual-motor electric vehicle

    US20160347320A1