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

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

Info

Publication number
WO2021258812A1
WO2021258812A1 PCT/CN2021/086392 CN2021086392W WO2021258812A1 WO 2021258812 A1 WO2021258812 A1 WO 2021258812A1 CN 2021086392 W CN2021086392 W CN 2021086392W WO 2021258812 A1 WO2021258812 A1 WO 2021258812A1
Authority
WO
WIPO (PCT)
Prior art keywords
gear
switching
switching operation
target
safe
Prior art date
Application number
PCT/CN2021/086392
Other languages
French (fr)
Chinese (zh)
Inventor
刘杰
谢广宝
陈宏鸿
余建雄
Original Assignee
未来穿戴技术有限公司
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 未来穿戴技术有限公司 filed Critical 未来穿戴技术有限公司
Publication of WO2021258812A1 publication Critical patent/WO2021258812A1/en

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

Definitions

  • gear switching operation is the safe switching operation, switching the gear of the device to the target gear according to the first switching method
  • Figure 1B is a structural block diagram of a massage device in an embodiment
  • Step 410 Lock the gear of the device at the current gear, and prompt the non-safe switching operation.
  • the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 710, but may be implemented by a communication chip alone.

Abstract

A gear switching method, applied to a low-frequency electrical stimulation apparatus. The method comprises: when a gear switching operation is detected, acquiring operation information of the gear switching operation, wherein the operation information comprises a target gear; according to the operation information, determining whether the gear switching operation is a safe switching operation; if the gear switching operation is the safe switching operation, switching the gear of the apparatus to the target gear according to a first switching mode; and if the gear switching operation is an unsafe switching operation, switching the gear of the apparatus to the target gear according to a second switching mode, wherein the switching time corresponding to the second switching mode is greater than the switching time corresponding to the first switching mode.

Description

档位切换方法、电子设备及计算机可读存储介质Gear switching method, electronic equipment and computer readable storage medium 技术领域Technical field
本申请涉及电子设备技术领域,具体涉及一种档位切换方法、电子设备及计算机可读存储介质。This application relates to the technical field of electronic equipment, and in particular to a gear switching method, electronic equipment, and computer-readable storage media.
背景技术Background technique
电刺激装置可通过电极片输出电流信号并作用于人体部位,以实现电刺激装置的按摩或治疗等效果。电刺激装置通常可设置有多个不同的控制档位,不同档位对应的电极片输出的电流大小可不同,用户可根据实际需求选择、调节档位。用户在使用电刺激装置的过程中,可能出现调节档位的操作不当,导致电刺激装置的档位突然发生变化,而没有给人体一个适应的过程,给用户在使用过程中造成不良影响。The electrical stimulation device can output current signals through the electrode sheets 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 provided with a number of different control gears, and the magnitude of the current output by the electrode pads corresponding to the different gears can be different, and the user can select and adjust the gears according to actual needs. In the process of using the electrical stimulation device, the user may improperly adjust the gear position, resulting in a sudden change in the gear position of the electrical stimulation device, without giving the human body a process of adaptation, and causing adverse effects on the user during use.
发明内容Summary of the invention
本申请实施例公开了一种档位切换方法、电子设备及计算机可读存储介质,能够防止在档位切换过程中出现因人体无法适应突然的档位切换而产生的不良效果,提高了电刺激装置使用过程中的安全性及舒适性。The embodiment of the application discloses a gear switching method, an electronic device and a computer-readable storage medium, which can prevent adverse effects caused by the human body being unable to adapt to sudden gear switching during the gear switching process, and improve electrical stimulation Safety and comfort during the use of the device.
本申请实施例公开了一种档位切换方法,应用于低频电刺激装置,所述方法包括:The embodiment of the application discloses a gear switching method, which 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 including the target gear;
根据所述操作信息判断所述档位切换操作是否为安全切换操作;Judging whether the gear switching operation is a safe switching operation 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 the first switching method;
若所述档位切换操作为非安全切换操作,则按照第二切换方式将所述装置的档位切换至所述目标档位,所述第二切换方式对应的切换时间大于所述第一切换方式对应的切换时间。If the gear switching operation is a non-safe switching operation, the gear of the device is switched to the target gear according to a second switching mode, and the switching time corresponding to the second switching mode is longer than the first switching The switching time corresponding to the mode.
本申请实施例公开了一种电子设备,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如上所述的方法。An embodiment of the present application discloses an electronic device including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor enables the processor to implement the method described above.
本申请实施例公开了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法。The embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method described above is implemented.
本申请实施例公开的档位切换方法、电子设备及计算机可读存储介质,当检测到档位切换操作时,可根据档位切换操作的操作信息判断档位切换操作是 否为安全切换操作,若为安全切换操作,则按照第一切换方式将低频电刺激装置的档位切换至目标档位,若为非安全切换操作,则按照第二切换方式将低频电刺激装置的档位切换至目标档位,针对安全切换操作和非安全切换操作,分别采用两种不同的切换方式,且非安全切换操作的切换时间大于安全切换操作的切换时间,给人体一个档位切换的适应过程,能够防止在档位切换过程中出现因人体无法适应突然的档位切换而产生的不良效果,提高了电刺激装置使用过程中的安全性及舒适性。According to the gear switching method, electronic equipment and computer-readable storage medium disclosed in the embodiments 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 according to the operation information of the gear switching operation. For a safe switching operation, switch the gear of the low-frequency electrical stimulation device to the target gear according to the first switching method, if it is an unsafe switching operation, switch the gear of the low-frequency electrical stimulation device to the target gear according to the second switching method For safe switching operation and non-safe switching operation, two different switching methods are used respectively, and the switching time of non-safe switching operation is longer than the switching time of safe switching operation, which gives the human body a gear switching adaptation process, which can prevent The bad effect caused by the human body's inability to adapt to the sudden gear switching occurs during the gear switching process, which improves the safety and comfort during the use of the electrical stimulation device.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1A为一个实施例中档位切换方法的应用场景图;Fig. 1A is an application scenario diagram of a gear switching method in an embodiment;
图1B为一个实施例中按摩设备的结构框图;Figure 1B is a structural block diagram of a massage device in an embodiment;
图2为一个实施例中档位切换方法的流程图;Figure 2 is a flow chart of a method for shifting gears in an embodiment;
图3为另一个实施例中档位切换方法的流程图;Figure 3 is a flowchart of a method for shifting gears in another embodiment;
图4为另一个实施例中档位切换方法的流程图;Figure 4 is a flowchart of a method for shifting gears in another embodiment;
图5为一个实施例中对档位进行切换的流程图;Figure 5 is a flow chart of shifting gears in an embodiment;
图6为一个实施例中档位切换装置的框图;Figure 6 is a block diagram of a gear shifting device in an embodiment;
图7为一个实施例中电子设备的结构框图。Fig. 7 is a structural block diagram of an electronic device in an embodiment.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,本申请实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "including" and "having" in the embodiments of the present application and the drawings and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or equipment.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一切换方式称为第二切换方式,且类似地,可将第二切换方式称为第一切换方式。第一切换方式和第二切换方式两者都是切换档位的方式,但其不是同一切换方 式。It can be understood that the terms "first", "second", etc. used in this application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present application, the first switching method may be referred to as the second switching method, and similarly, the second switching method may be referred to as the first switching method. Both the first switching method and the second switching method are methods of switching gears, but they are not the same switching method.
图1A为一个实施例中档位切换方法的应用场景图。如图1A所示,按摩设备10可包括按摩组件110,按摩组件110可作用于用户的身体部位,例如用户的皮肤、关节等部位,以提供按摩服务。在本申请实施例中,按摩组件110可至少包括电极片,电极片可输出电信号(如电流信号)作用于人体部位,以产生电刺激按摩效果。用户可对按摩组件110的控制档位进行切换,电极片输出的电信号的强度与用户选择的档位相匹配,以实现用户所需的按摩效果。Fig. 1A is an application scenario diagram of a gear switching method in an embodiment. As shown in FIG. 1A, the massage device 10 may include a massage component 110, which can act on the user's body parts, such as the user's skin and joints, to provide massage services. In the embodiment of the present application, the massage component 110 may include at least electrode pads, and the electrode pads may output electrical signals (such as current signals) to act on parts of the human body to generate electrical stimulation massage effects. The user can switch the control gear of the massage assembly 110, and the intensity 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.
图1B为一个实施例中按摩设备的结构框图。如图1B所示,按摩设备10可包括按摩组件110、控制器120及脉冲输出电路130,其中,按摩组件110中可包括至少两个电极片112。控制器120可与脉冲输出电路130电连接,脉冲输出电路130可与电极片112电连接。脉冲输出电路130在输入的驱动电压的驱动下,可产生脉冲电流,并向至少两个电极片112输出脉冲电流。至少两个电极片112输出的脉冲电流可作用于人体部位(例如皮肤)产生刺激,以实现电刺激按摩功能。Fig. 1B is a structural block diagram of a massage device in an embodiment. As shown in FIG. 1B, 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 sheet 112. The pulse output circuit 130 can generate a pulse current under the driving of the input driving voltage, and output the pulse current to at least two electrode plates 112. The pulse current output by the at least two electrode sheets 112 can act on the body part (for example, the skin) to generate stimulation, so as to realize the electric stimulation massage function.
如图2所示,在一个实施例中,提供一种档位切换方法,可应用于低频电刺激装置,该低频电刺激装置可包括上述的按摩设备、利用电极片进行治疗的治疗电子设备等,按摩设备可包括但不限于颈部按摩仪、腰部按摩仪、眼部按摩仪等,本申请实施例不进行限定。该档位切换方法,可包括以下步骤:As shown in FIG. 2, in one embodiment, a gear switching method is provided, which can be applied to a low-frequency electrical stimulation device. The low-frequency electrical stimulation device may include the above-mentioned massage equipment, therapeutic electronic equipment using electrode pads, etc. The massage equipment may include, but is not limited to, a neck massager, a waist massager, an eye massager, etc., which are not limited in the embodiment of the present application. The gear switching method may include the following steps:
步骤210,当检测到档位切换操作时,获取档位切换操作的操作信息,操作信息包括目标档位。Step 210: When a gear switching operation is detected, operation information of the gear switching operation is acquired, and the operation information includes the target gear.
低频电刺激装置可设置有多个控制档位,针对每个控制档位,电极片输出的电流强度可不同,从而用户可感受到的电刺激强度也不同。当低频电刺激装置检测到用户触发的档位切换操作时,可根据该档位切换操作对控制档位进行切换。在一些实施例中,用户触发档位切换操作的方式可包括多种,例如,可通过按压设置在低频电刺激装置的壳体上的物理按键触发档位切换操作;可通过转动设置在低频电刺激装置的壳体上的滚轮触发档位切换操作;可通过操作与低频电刺激装置建立通信连接的移动终端(如手机、智能穿戴设备等)上的控制界面,触发档位切换操作;也可通过语音、遥控器等方式触发档位切换操作,在此不作限定。The low-frequency electrical stimulation device can be provided with multiple control gear positions, and for each control gear position, the current intensity output by the electrode sheet can be different, so that the electric stimulation intensity that the user can feel is also different. When the low-frequency electrical stimulation device detects a user-triggered gear switching operation, the control gear can be switched according to the gear switching operation. In some embodiments, the user can trigger the gear switching operation in multiple ways. For example, the gear switching operation can be triggered by pressing a physical button provided on the housing of the low-frequency electrical stimulation device; The scroll wheel on the casing of the stimulation device triggers the gear switching operation; the control interface on the mobile terminal (such as mobile phones, smart wearable devices, etc.) that establishes a communication connection with the low-frequency electrical stimulation device can be used to trigger the gear switching operation; The gear switching operation is triggered by voice, remote control, etc., which is not limited here.
档位切换操作的操作信息可包括但不限于目标档位、档位调节方向等,其中,目标档位指的是用户所需切换的控制档位,档位调节方向可包括增加档位和降低档位。控制档位可按照一定的顺序进行排列,例如,可按照从低到高进行排列,且控制挡位越高,电极片输出的电流可越大,产生的电刺激效果可越强。当用户需要增强电刺激效果时,可增加档位,当用户需要减轻电刺激效果时,可降低档位。The operation information of the gear switching operation may include, but is not limited to, the target gear, the gear adjustment direction, etc., where the target gear refers to the control gear that the user needs to switch, and the gear adjustment direction may include increasing gears and decreasing gears. Stalls. The control gear can be arranged in a certain order, for example, it can 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 can be. When the user needs to enhance the effect of electrical stimulation, the gear can be increased, and when the user needs to reduce the effect of electrical stimulation, the gear can be lowered.
在一些实施例中,低频电刺激装置可获取根据触发的档位切换操作生成的档位切换指令,并根据该档位切换指令获取操作信息。可选地,档位切换指令 可包括目标档位及档位调节方向,该档位调节方向可根据触发档位切换操作的触发对象确定。例如,在低频电刺激装置的壳体上可设置有档位增加的按键和档位降低的按键,若触发档位切换操作的按键为档位增加的按键,则生成的档位切换指令包括的档位调节方向为增加档位,若触发档位切换操作的按键为档位降低的按键,则生成的档位切换指令包括的档位调节方向为降低档位。又例如,若触发档位切换操作的触发对象为滚轮,则可根据滚轮的滚动方向确定档位调节方向,若滚轮的滚动方向为第一方向,则生成的档位切换指令包括的档位调节方向为增加档位,若滚轮的滚动方向为第二方向,生成的档位切换指令包括的档位调节方向为降低档位。可选地,第一方向可为顺时针方向,第二方向可为逆时针方向,或是第一方向为逆时针方向,第二方向为顺时针方向,在此不作限定。In some embodiments, the low-frequency electrical stimulation device may obtain the 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 the target gear and the gear adjustment direction, and the gear adjustment direction may be determined according to the trigger object that triggers the gear switching operation. For example, the housing of the low-frequency electrical stimulation device can be provided with a button for increasing the gear and a button for decreasing the gear. If the button that triggers the gear switching operation is the button for increasing the gear, the generated gear switching instruction includes: The gear adjustment direction is to increase the gear. If the button that triggers the gear switching operation is a button to decrease the gear, then the gear adjustment direction included in the generated gear switching instruction is to decrease the gear. For another example, if the trigger object that triggers the gear switching operation is a scroll wheel, the gear adjustment direction can be determined according to the scrolling direction of the scroll wheel. If the scroll direction of the scroll wheel is the first direction, the generated gear switching instruction includes the gear adjustment The direction is to increase the gear, and if the scrolling direction of the wheel is the second direction, the gear adjustment direction included in the generated gear switching command is to decrease 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.
在一些实施例中,档位切换指令也可仅包括目标档位,低频电刺激装置可获取当前档位,并将目标档位与当前档位进行比较,从而确定档位调节方向。若目标档位大于当前档位,则可确定档位调节方向为增加档位,若目标档位小于当前档位,则可确定档位调节方向为降低档位等。可以理解地,获取档位调节方向的方式也可以是其它方向,并不仅限于上述几种方式。In some embodiments, the gear switching instruction may only include 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, it can be determined that the gear adjustment direction is increasing gear; if the target gear is less than the current gear, it can be determined that the gear adjustment direction is lower gear, etc. Understandably, the way to obtain the gear adjustment direction can also be other directions, and is not limited to the above-mentioned ways.
步骤220,根据操作信息判断档位切换操作是否为安全切换操作,若是,则执行步骤230,若否,则执行步骤240。Step 220: Determine whether the gear shifting operation is a safe shifting operation according to the operation information, if yes, execute step 230, if not, execute step 240.
安全切换操作可指的是进行档位切换时不会出现由于档位突然变化给人体造成不适的档位切换操作,安全切换操作对应的档位切换对于人体来说是安全且舒适的。非安全切换操作则可指的是进行档位切换时可能会出现由于档位突然变化给人体造成不适的档位切换操作。在本申请实施例中,低频电刺激装置若是档位突然进行切换,且切换后的档位使得电极片输出的电流太大,人体会突然感受到较大的电流,而中间没有适应过程会使人体产生刺痛感。The safe switching operation can refer to the gear switching operation that does not cause discomfort to the human body due to the sudden change of the gear when the gear switching is performed, and the gear switching corresponding to the safe switching operation is safe and comfortable for the human body. The non-safe switching operation may refer to the shifting operation that may cause discomfort to the human body due to the sudden change of the shifting position during the shifting of the shifting position. In the embodiment of the present application, if the gear of the low-frequency electrical stimulation device is suddenly switched, and the switched gear makes the current output by the electrode sheet too large, the human body will suddenly feel a larger current, and there is no adaptation process in the middle. The human body produces a tingling sensation.
可根据档位切换操作的操作信息判断进行档位切换时是否会出现档位突然变化的情况,该档位突然变化的情况可指的是待切换的目标档位与当前档位相差过大的情况。还可根据操作信息判断进行档位切换时是否可能出现给人体造成刺痛感等不适体验的情况。若检测到的档位切换操作会出现档位突然变化的情况和/或会出现给人体造成刺痛感的情况,则可确定该档位切换操作为非安全档位操作。According to the operation information of the gear switching operation, it can be judged whether there will be a sudden change of the gear when the gear is switched. The sudden change of the gear can refer to the target gear to be switched and the current gear are too far apart condition. It can also be judged according to the operation information whether there may be uncomfortable experiences such as tingling sensation to the human body when the gear is switched. If the detected gear shifting operation will suddenly change the gears and/or may cause a tingling sensation to the human body, it can be determined that the gear shifting operation is an unsafe gear operation.
在一些实施例中,可通过档位切换的档位变化跨度判断档位切换操作是否为安全切换操作。低频电刺激装置可确定目标档位与当前档位之间的档位差值,若该档位差值大于预设的阈值,说明待切换的目标档位与当前档位相差过大,档位切换时会出现档位突然变化的情况,则可确定为非安全切换操作。例如,当前档位为1档,目标档位为5档,1档跟5档之间的档位差值过大,若直接从1档跳转到5档,则会出现档位突然变化的情况。In some embodiments, whether the gear switching operation is a safe switching operation can be determined by the gear change span of the gear switching. 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 the preset threshold, it means that the target gear to be switched is too different from the current gear. If the gear changes suddenly when switching, it can be determined as a non-safe switching operation. For example, if 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. If you jump directly from gear 1 to gear 5, the gear will change suddenly. condition.
在一些实施例中,也可通过待切换的目标档位所匹配的电刺激效果判断档 位切换操作是否为安全切换操作。可选地,可将低频电刺激装置中设置的所有控制档位划分成不同的档位区间,例如,可划为第一档位区间及第二档位区间,其中,第一档位区间可低于第二档位区间。第一档位区间可相当于低档位区间,若档位切换操作为第一档位区间内的档位切换,与目标档位对应的电极片输出的电流强度较小,可说明待切换的目标档位所匹配的电刺激效果较弱。若目标档位属于第一档位区间,则可确定档位切换操作为安全切换操作。第二档位区间可相当于高档位区间,若档位切换操作为第二档位区间内的档位切换,与目标档位对应的电极片输出的电流强度较大,可说明待切换的目标档位所匹配的电刺激效果较强。若目标档位属于第二档位区间,则可确定档位切换操作为非安全切换操作。In some embodiments, it is also possible to determine whether the gear switching operation is a safe switching operation based on the electrical stimulation effect matched by the target gear to be switched. Optionally, all the control gears set in the low-frequency electrical stimulation device can be divided into different gear intervals, for example, can be divided into a first gear interval and a second gear interval, wherein the first gear interval may be Lower than the second gear range. The first gear interval can be equivalent to the low gear interval. If the gear switching operation is gear switching in the first gear interval, the current intensity of the electrode piece corresponding to the target gear is small, which can indicate the target to be switched The electric stimulation effect matched by the gear 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 the gear switching in the second gear interval, the electrode sheet corresponding to the target gear will output a larger current intensity, which can indicate the target to be switched The electric stimulation effect matched by the gear is stronger. If the target gear belongs to the second gear interval, it can be determined that the gear switching operation is an unsafe switching operation.
在一些实施例中,低频电刺激装置也可获取与目标档位对应的第一驱动电压,该第一驱动电压可用于驱动低频电刺激装置的脉冲输出电路产生脉冲电流,该脉冲电流的强度(即电流大小)可与目标档位相匹配。可判断目标档位对应的第一驱动电压是否大于预设的电压阈值,若大于,可说明待切换的目标档位所匹配的电刺激效果较强,可确定档位切换操作为非安全切换操作。In some embodiments, the low-frequency electrical stimulation device can also obtain a first drive voltage corresponding to the target gear, and the first drive voltage can be used to drive the pulse output circuit of the low-frequency electrical stimulation device to generate a pulse current. The intensity of the pulse current ( That is, the current size) can be matched with the target gear. It can be judged whether the first driving voltage corresponding to the target gear is greater than the preset voltage threshold. If it is greater, it can indicate that the electric stimulation effect of the target gear to be switched is strong, and the gear switching operation can be determined as an unsafe switching operation. .
可以理解地,根据档位切换操作的操作信息判断档位切换操作是否为安全切换操作的方式并不仅限于上述几种方式,也可以是其它方式,在此不作限定。It is understandable that the manner of judging whether the gear shifting operation is a safe shifting operation according to the operation information of the shifting shifting operation is not limited to the above-mentioned methods, but may also be other methods, which is not limited here.
步骤230,按照第一切换方式将装置的档位切换至目标档位。Step 230: Switch the gear of the device to the target gear according to the first switching method.
若检测到的档位切换操作为安全切换操作,可说明该档位切换操作的档位切换过程不会给用户造成电刺痛等不适体验,则可直接对该档位切换操作进行响应,并按照第一切换方式将低频电刺激装置的档位切换至目标档位。在一些实施例中,第一切换方式可以是跳档切换的方式,将低频电刺激装置的档位直接从当前档位切换至目标档位。例如,若检测到的档位切换操作为安全切换操作,当前档位为4档,目标标位为1档,则直接从4档跳转到1档。If the detected gear switching operation is a safe switching operation, it can indicate that the gear switching process of the gear switching operation will not cause discomfort such as electric stinging to the user, and you can directly respond to the gear switching operation, and Switch the gear of the low-frequency electrical stimulation device to the target gear according to the first switching method. In some embodiments, the first switching mode may be a mode of shifting gears, which directly switches the gears of the low-frequency electrical stimulation device from the current gears to the target gears. For example, if the detected gear shifting operation is a safe shifting operation, the current gear is 4th gear, and the target mark is 1st gear, then it will directly jump from 4th gear to 1st gear.
作为一种具体实施方式,低频电刺激装置可获取与目标档位对应的第一驱动电压,可生成与该第一驱动电压匹配的脉冲信号,并通过该脉冲信号将输入至脉冲输出电路的驱动电压调节至第一驱动电压。脉冲输出电路在第一驱动电压的驱动下,可产生脉冲电流并通过电极片输出该脉冲电流,电极片输出的脉冲电流作用于人体部位,可产生与目标档位相匹配的电刺激强度。输入至脉冲输出电路的驱动电压可直接从当前档位的第二驱动电压变为目标档位的第一驱动电压,在档位调节过程中没有其它驱动电压输入。As a specific embodiment, the low-frequency electrical stimulation device can obtain the first driving voltage corresponding to the target gear, can generate a pulse signal matching the first driving voltage, and input the pulse signal to the driving of the pulse output circuit through the pulse signal The voltage is adjusted to the first driving voltage. Under the driving of the first driving voltage, the pulse output circuit can generate a pulse current and output the pulse current through the electrode strips. The pulse current output by the electrode strips acts on the body part and can generate electric 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 there is no other driving voltage input during the gear adjustment process.
进一步地,低频电刺激装置还可包括升压电路,升压电路可分别与控制器及脉冲输出电路电连接,升压电路可向脉冲输出电路输入驱动电压。控制器生成目标档位对应的脉冲信号后,可将生成的脉冲信号输入升压电路,并通过该脉冲信号控制升压电路输出第一驱动电压。可选地,低频电刺激装置可预先存储有各个控制档位对应的脉冲信号参数,该脉冲信号参数可包括脉冲信号的周期、宽度、占空比等中的一种或多种,但不限于此。可获取目标档位对应的脉 冲信号参数,并根据该脉冲信号参数生成与目标档位对应的脉冲信号,以通过该脉冲信号将输入至脉冲输出电路的驱动电压调节至第一驱动电压。Further, the low-frequency electrical stimulation device may further include a booster circuit, the booster circuit may be electrically connected to the controller and the pulse output circuit, respectively, and the booster circuit may input a 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 to the booster circuit, and the booster circuit is controlled to output the first driving voltage through the pulse signal. Optionally, the low-frequency electrical stimulation device may be pre-stored with pulse signal parameters corresponding to each control gear. The pulse signal parameters may include one or more of the period, width, and duty cycle of the pulse signal, but are not limited to this. The pulse signal parameter corresponding to the target gear can be obtained, and the pulse signal corresponding to the target gear can be generated according to the pulse signal parameter, so as to adjust the driving voltage input to the pulse output circuit to the first driving voltage through the pulse signal.
步骤240,按照第二切换方式将装置的档位切换至目标档位。Step 240: Switch the gear of the device to the target gear according to the second switching method.
若档位切换操作不为安全切换操作,也即,档位切换操作为非安全切换操作,直接将低频电刺激装置的档位从当前档位切换至目标档位,会出现由于档位突然变化给人体造成刺痛感等不适体验的情况,可按照第二切换方式将低频电刺激装置的档位切换至目标档位。第二切换方式对应的切换时间可大于第一切换方式对应的切换时间,其中,第二切换方式对应的切换时间可指的是按照第二切换方式将低频电刺激装置的档位从当前档位切换至目标档位的时长,第一切换方式对应的切换时间可指的是按照第一切换方式将低频电刺激装置的档位从当前档位切换至目标档位的时长。相较于第一切换方式的直接跳档快速切换,第二切换方式可采用较长的切换时间进行档位切换,给用户一个适应的过程。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, and the gear will suddenly change In the case of uncomfortable experience such as tingling sensation to the human body, the gear position of the low-frequency electrical stimulation device can be switched to the target gear position according to the second switching method. The switching time corresponding to the second switching mode may be greater than the switching time corresponding to the first switching mode, where the switching time corresponding to the second switching mode may refer to changing the gear of the low-frequency electrical stimulation device from the current gear according to the second switching mode The duration of switching to the target gear, and the switching time corresponding to the first switching method may refer to the duration of 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 shifting and quick switching of the first switching mode, the second switching mode can adopt a longer switching time to switch the gears, giving the user a process of adaptation.
在一些实施例中,第二切换方式可以是逐步切换的方式,即低频电刺激装置从当前档位切换至目标档位可经过多次档位切换,而非直接从当前档位切换至目标档位。可采用逐步切换的方式,按照预设的档位切换间隔将低频电刺激装置的档位从当前档位逐步切换至目标档位。可选地,可预先设置逐步切换的方式中的档位切换间隔,该档位切换间隔可指的是按照逐步切换的方式进行档位切换时,相邻两次切换的档位之间的档位差。例如,档位切换间隔为1时,若从当前档位1档切换至目标档位6档,则按照逐步切换的方式,依次从1档切换至2档,再切换至3档、4档、5档、6档;若档位切换间隔为2时,若从当前档位1档切换至目标档位5档,则按照逐步切换的方式,依次从1档切换至3档、5档,档位切换间隔也可以是其它档位差,在此不作限定。In some embodiments, the second switching method may be a gradual switching method, that is, the low-frequency electrostimulation device can switch from the current gear to the target gear after multiple gear switching, instead of directly switching from the current gear to the target gear. Bit. A stepwise switching method can 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 stepwise switching mode can be preset, and the gear switching interval can refer to the gear between the two adjacent gears when the gear is switched in the stepwise switching mode. Position difference. For example, when the gear switching interval is 1, if the current gear is switched from the first gear to the target gear, the gear will be switched from the first gear to the second gear, and then to the third gear, the fourth gear, and the target gear. 5 gears, 6 gears; if the gear switching interval is 2, if you switch from the current gear 1 gear to the target gear 5 gears, according to a stepwise switching method, switch from 1 gear to 3 gears, 5 gears, gears The position switching interval can also be other gear difference, which is not limited here.
在一些实施例中,也可设置多个不同的档位切换间隔,在采用逐步切换的方式进行档位切换时,越靠近目标档位的档位切换间隔可越小。例如,档位切换间隔为1时,若从当前档位1档切换至目标档位6档,则按照逐步切换的方式,可先从1档切换至3档,再由3档切换至5档,由5档切换至6档,也可以是先从1档切换至3档,再从3档切换至4档、5档、6档等,但不限于此。In some embodiments, a plurality of different gear switching intervals may also be set. When the gear switching is performed in a stepwise switching 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 is switched from 1st gear to the target 6th gear, then according to the stepwise switching method, the first gear can be switched from 1st gear to 3rd gear, and then from 3rd gear to 5th gear. , Switching from gear 5 to gear 6, or from gear 1 to gear 3, and then from gear 3 to gear 4, gear 5, gear 6, etc., but not limited to this.
作为一种具体的实施方式,低频电刺激装置可根据预设的档位切换间隔确定从当前档位到目标档位的中间切换档位,该中间切换档位可指的是采用逐步切换的方式进行档位切换的过程中,从当前档位到目标档位需要切换的中间档位。例如,档位切换间隔为1时,从当前档位1档切换至目标档位6档,则中间切换档位可包括2档、3档、4档及5档,若档位切换间隔为2时,从当前档位2档切换至目标档位6档,则中间切换档位可包括4档。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 a preset gear switching interval, and the intermediate switching gear may refer to a stepwise switching method. In the process of shifting gears, the intermediate gear that needs to be switched from the current gear to the target gear. For example, when the gear switching interval is 1, the current gear is switched from the first gear to the target gear 6, and the intermediate switching gears can include gears 2, 3, 4, and 5. If the gear switching interval is 2 When the current gear is shifted from the 2nd gear to the 6th gear of the target gear, the intermediate shifting gear can include 4th gear.
可按照档位的排列顺序,每隔预设时间间隔逐一生成与各个中间切换档位匹配的脉冲信号,并通过与各个中间切换档位匹配的脉冲信号将输入至脉冲输出电路的驱动电压逐步调节至目标档位对应的第一驱动电压。档位的排列顺序 可与档位的调节方向对应,调节方向为增加档位,则可按照档位从小到大的顺序,调节方向为降低档位,则可按照档位从大到小的顺序。可选地,每次生成与中间切换档位匹配的脉冲信号的时间间隔可根据实际需求进行设定,例如,每隔1秒生成,每隔500毫秒生成等,在此不作限定。低频电刺激装置的控制器每次生成与中间切换档位匹配的脉冲信号后,可将生成的脉冲信号发送至升压电路,通过该脉冲信号可控制升压电路向脉冲输出电路输出与该中间切换档位对应的驱动电压,脉冲输出电路在该驱动电压的驱动下,可产生相应的脉冲电流并通过电极片输出,用户可感受到与该中间切换档位相匹配的电刺激效果。通过多次生成与各个中间切换档位匹配的脉冲信号进行多次档位调节,逐步将输入至脉冲输出电路的驱动电压调节至目标档位对应的第一驱动电压,使用户对档位的切换有一个适应过程,可避免出现因人体无法适应突然的档位切换而产生的刺痛感。According to the sequence of the gear positions, the pulse signals that match each intermediate switching gear can be generated one by one at a preset time interval, and the driving voltage input to the pulse output circuit is gradually adjusted by the pulse signal matching each intermediate switching gear To the first driving voltage corresponding to the target gear. The arrangement sequence of the gears can correspond to the adjustment direction of the gears. If the adjustment direction is to increase the gears, it can be in the order of gears from small to large, and the adjustment direction is to decrease the gears. It can be in the order of gears from large to small . Optionally, the time interval for each generation of the pulse signal matching the intermediate shift gear can be set according to actual requirements, for example, generated every 1 second, generated every 500 milliseconds, etc., which is not limited here. Each time the controller of the low-frequency electrical stimulation device generates a pulse signal that matches the intermediate switching gear, it can send the generated pulse signal to the booster circuit. The pulse signal can control the booster circuit to output to the pulse output circuit and the intermediate Switch the driving voltage corresponding to the gear, and the pulse output circuit can generate the corresponding pulse current and output through the electrode sheet under the drive of the driving voltage. The user can feel the electric stimulation effect matching the intermediate switching gear. Through multiple generations of pulse signals that match each intermediate switching gear, the gears are adjusted for multiple 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 the user can switch gears There is an adaptation process to avoid the stinging sensation caused by the body's inability to adapt to sudden gear changes.
在一些实施例中,也可预先设置一个或多个中间切换档位,当低频电刺激装置的当前档位与目标档位之间包括预先设置的中间切换档位时,则可采用逐步切换的方式,按照档位的排列顺序,从当前档位逐一切换至当前档位与目标档位之间包括的各个预先设置的中间切换档位,直至切换至目标档位。例如,预先设置的中间切换档位可包括3档、5档、6档,当需要从当前档位4档切换到目标档位7档时,可先从4档切换至5档,再切换至6档,最后切换至7档,实现档位的逐步切换。In some embodiments, one or more intermediate switching gears can also be preset. When the current gear of the low-frequency electrical stimulation device and the target gear include the preset intermediate switching gears, the stepwise switching can be adopted. According to the arrangement sequence of the gears, the current gear is switched one by one to each preset intermediate switching gear included between the current gear and the target gear, until the target gear is switched. For example, the preset intermediate shifting gears can include gears 3, 5, and 6, when you need to switch from the current gear from 4 to the target gear, you can first switch from 4 to 5, and then switch to 6 gears, and finally switch to 7 gears to realize the gradual switching of gears.
在本申请实施例中,当检测到档位切换操作时,可根据档位切换操作的操作信息判断档位切换操作是否为安全切换操作,若为安全切换操作,则按照第一切换方式将低频电刺激装置的档位切换至目标档位,若为非安全切换操作,则按照第二切换方式将低频电刺激装置的档位切换至目标档位,针对安全切换操作和非安全切换操作,分别采用两种不同的切换方式,且非安全切换操作的切换时间大于安全切换操作的切换时间,给人体一个档位切换的适应过程,能够防止在档位切换过程中出现因人体无法适应突然的档位切换而产生的不良效果,提高了电刺激装置使用过程中的安全性及舒适性。In the 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 according to the operation information of the gear switching operation. If it is a safe switching operation, the low frequency The gear of the electro-stimulation device is switched to the target gear. If it is an unsafe switching operation, the gear of the low-frequency electro-stimulation device is switched to the target gear according to the second switching method. For safe switching operation and non-safe switching operation, respectively Two different switching methods are adopted, and the switching time of the non-safe switching operation is longer than the switching time of the safe switching operation. This gives the human body a gear switching adaptation process, which can prevent the human body from being unable to adapt to sudden gears during the gear switching process. The undesirable effect of position switching improves the safety and comfort of the electrical stimulation device during use.
如图3所示,在一个实施例中,提供另一种档位切换方法,可应用于上述的低频电刺激装置。该方法可包括以下步骤:As shown in FIG. 3, in one embodiment, another gear switching method is provided, which can be applied to the aforementioned low-frequency electrical stimulation device. The method may include the following steps:
步骤302,当检测到档位切换操作时,获取档位切换操作的操作信息,操作信息包括目标档位。Step 302: When a gear switching operation is detected, obtain operation information of the gear switching operation, and the operation information includes the target gear.
步骤304,根据操作信息判断档位切换操作是否为安全切换操作,若是,则执行步骤306,若否,则执行步骤308。Step 304: Determine whether the gear shifting operation is a safe shifting operation according to the operation information, if yes, execute step 306, and if not, execute step 308.
步骤306,按照第一切换方式将装置的档位切换至目标档位。Step 306: Switch the gear of the device to the target gear according to the first switching method.
步骤302~306可参照上述各实施例中的相关描述,在此不再一一赘述。For steps 302 to 306, reference may be made to the relevant descriptions in the foregoing embodiments, which are not repeated here.
步骤308,将装置的档位锁定在当前档位,并对非安全切换操作进行提示,之后执行步骤310或步骤312。In step 308, the gear of the device is locked at the current gear, and the non-safe switching operation is prompted, and then step 310 or step 312 is executed.
若检测到的档位切换操作为非安全切换操作,可暂时不对该档位切换操作进行响应,即暂时不进行档位切换,可先将低频电刺激装置的档位锁定在当前档位,并提示该档位切换操作为非安全切换操作。可选地,提示的方式可包括但不限于语音提示、振动提示、闪烁灯提示、向与低频电刺激装置连接的终端发送消息提示等方式。例如,可通过播放语音“当前档位切换操作为非安全切换操作”进行提示。又例如,低频电刺激装置还可包括振动模块,可通过控制振动模块振动进行提示。又例如,可在低频电刺激装置连接的手机上显示“当前档位切换操作为非安全切换操作”的消息进行提示等。用户通过提示可及时获知非安全切换操作的状态,并进行进一步的切换方式选择。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 will not be performed temporarily. The gear of the low-frequency electrical stimulation device can be locked in the current gear first, and It is reminded that the gear shift operation is a non-safe shift operation. Optionally, the prompt manner may include, but is not limited to, voice prompts, vibration prompts, flashing lights prompts, and sending message prompts to a terminal connected to the low-frequency electrical stimulation device. For example, it can be prompted by playing the voice "The current gear switching operation is a non-safe switching operation". For another example, the low-frequency electrical stimulation device may further include a vibration module, which can be used for prompting 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. The user can learn the status of the non-safe handover operation in time through the prompt, and make further selection of the handover mode.
步骤310,若在第一时长内接收到解锁指令,则对装置的档位进行解锁,并按照第一切换方式将装置的档位切换至目标档位。Step 310: If the unlocking instruction is received within the first time period, unlock the gear of the device, and switch the gear of the device to the target gear according to the first switching method.
低频电刺激装置可判断在第一时长内是否接收到解锁指令,可选地,第一时长可根据实际需求进行设定,例如3秒、5秒等。在一些实施例中,解锁指令可通过低频电刺激装置上的物理按键触发、通过低频电刺激装置上的滚轮触发、通过遥控器触发等,在此不作限定。触发进行解锁的操作可与触发进行档位切换的操作不同,例如,用户可通过“短按”物理按键进行档位切换操作,“长按”进行解锁,可通过以不同方向转动滚轮进行档位切换,通过按压滚轮进行解锁等。The low-frequency electrical stimulation device can determine whether the unlocking instruction is received within the first time period. Optionally, the first time period can be set according to actual needs, such as 3 seconds, 5 seconds, and so on. In some embodiments, the unlocking instruction can be triggered by a physical button on the low-frequency electrical stimulation device, triggered by a scroll wheel on the low-frequency electrical stimulation device, triggered by a remote control, etc., which is not limited herein. The operation of triggering the unlocking can be different from the operation of triggering the shifting of gears. For example, the user can switch the gears by "short pressing" the physical button, and unlocking by the "long press", and the gears can be changed by turning the wheel in different directions. Switch, unlock by pressing the scroll wheel, etc.
若在第一时长内接收到解锁指令,说明用户明确需要切换到目标档位,则可按照第一切换方式直接将低频电刺激装置的档位从当前档位切换到目标档位,能够及时对用户的切换操作进行响应,快速进行档位切换,满足用户的档位切换需求。If the unlocking instruction is received within the first time period, indicating that the user clearly needs to switch to the target gear, the gear of the low-frequency electrostimulation device can be directly switched from the current gear to the target gear according to the first switching method, so that the user can directly switch to the target gear. Respond to the user's switching operation and quickly switch gears to meet the user's gear switching needs.
按照第一切换方式进行档位切换的描述可参照上述实施例中的相关描述,在此不再一一赘述。For the description of shifting the gears according to the first switching mode, reference may be made to the related descriptions in the above-mentioned embodiments, which will not be repeated here.
步骤312,若在第一时长内未接收到解锁指令,则对装置的档位进行解锁,并按照第二切换方式将装置的档位切换至目标档位。Step 312: If the unlocking instruction is not received within the first time period, unlock the gear of the device, and switch the gear of the device to the target gear according to the second switching method.
若在第一时长内未接收到解锁指令,可说明用户对切换到目标档位并不是很明确,则可按照第二切换方式将装置的档位切换至目标档位,采用逐步切换的方式,通过多次档位切换,完成将低频电刺激装置的档位从当前档位切换到目标档位的档位切换操作。使用户对档位的切换有一个适应过程,能够避免出现因人体无法适应突然的档位切换而产生的刺痛感。If the unlocking command is not received within the first time period, it may indicate 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, using a gradual switching method. Through multiple gear switching, 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. The user has an adaptation process to the shift of gears, which can avoid the stinging sensation caused by the inability of the human body to adapt to the sudden shift of gears.
按照第二切换方式进行档位切换的描述可参照上述实施例中的相关描述,在此不再一一赘述。For the description of shifting the gears according to the second switching mode, reference may be made to the related descriptions in the above-mentioned embodiments, which will not be repeated here.
在本申请实施例中,用户可对档位切换的方式进行自主选择,使得低频电刺激装置满足用户的不同需求。In the embodiment of the present application, the user can independently select the way of shifting the gear, so that the low-frequency electrical stimulation device meets the different needs of the user.
如图4所示,在一个实施例中,提供另一种档位切换方法,可应用于上述的低频电刺激装置,该方法可包括以下步骤:As shown in FIG. 4, 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:
步骤402,当检测到档位切换操作时,获取档位切换操作的操作信息,操作信息包括目标档位和档位调节方向,之后执行步骤404或步骤408。In step 402, when a gear switching operation is detected, the operation information of the gear switching operation is acquired, the operation information includes the target gear and the gear adjustment direction, and then step 404 or step 408 is executed.
步骤402的描述可参照上述各实施例中的相关描述,在此不再一一赘述。For the description of step 402, reference may be made to the related descriptions in the foregoing embodiments, which are not repeated here.
步骤404,若档位调节方向为降低档位,则确定档位切换操作为安全切换操作。In step 404, if the gear adjustment direction is to lower the gear, it is determined that the gear switching operation is a safe switching operation.
低频电刺激装置获取检测到的档位切换操作的操作信息后,可判断档位调节方向是否为降低档位。由于低频电刺激装置在降档的过程中,档位从较高档位切换至较低档位,用户感受到的电刺激强度减弱,因此降低后的档位对应的电刺激强度不会给用户造成刺痛感,则可将降低档位的档位切换操作作为安全切换操作,并按照第一切换方式将低频电刺激装置的档位直接从当前档位切换至目标档位。能够及时对用户的降档操作进行响应,快速进行降档,提高降档效率。After the low-frequency electrical stimulation device obtains the detected operation information of the gear shift operation, it can determine whether the gear adjustment direction is a lower gear. As the low-frequency electrical stimulation device switches from a higher gear to a lower gear during the downshift, the intensity of the electrical stimulation felt by the user is weakened, so the electrical stimulation intensity corresponding to the reduced gear will not cause the user If the tingling feels, the gear switching operation of lowering the gear can be regarded as a safe switching operation, and 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 method. It can respond to the user's downshift operation in a timely manner, quickly downshift, and improve downshift efficiency.
步骤406,按照第一切换方式将装置的档位切换至目标档位。Step 406: Switch the gear of the device to the target gear according to the first switching method.
步骤406的描述可参照上述各实施例中的相关描述,在此不再一一赘述。For the description of step 406, reference may be made to the related descriptions in the foregoing embodiments, and details are not repeated here.
步骤408,若档位调节方向为增加档位,且操作信息满足预设非安全操作条件,则确定档位切换操作为非安全切换操作。Step 408: If the gear adjustment direction is to increase the gear and the operation information meets the preset non-safe operation condition, it is determined that the gear switching operation is a non-safe switching operation.
若检测到的档位切换操作的档位调节方向为增加档位,则可判断该档位切换操作的操作信息是否满足预设非安全操作条件,若满足,则可确定档位切换操作为非安全切换操作。其中,非安全操作条件可根据实际需求进行设定。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 non-safe operation conditions, and if it is satisfied, it can be determined that the gear switching operation is non-safe. Safe switching operation. Among them, non-safe operating conditions can be set according to actual needs.
在一个实施例中,非安全操作条件可包括低频电刺激装置的当前档位与目标档位之间的间隔档位大于数量阈值。若档位调节方向为增加档位,则可获取低频电刺激装置的当前档位与目标档位之间的间隔档位,该间隔档位可指的是当前档位与目标档位之间的档位差值,用于说明当前档位与目标档位之间相差的档位数量。例如,当前档位为1,目标档位为3,则间隔档位为2,当前档位为3,目标档位为7,则间隔档位为4。若判断间隔档位的数量是否大于数量阈值,其中,数量阈值可根据实际需求进行设定,例如0、1等。若间隔档位大于数量阈值,说明当前档位与目标档位之间的跳档跨度较大,若直接从当前档位调高到目标档位,可能会给用户带来刺痛感等不良体验,则可确定档位切换操作为非安全切换操作。In one embodiment, the non-safe operating condition may include that the interval gear between the current gear of the low-frequency electrical stimulation device and the target gear is greater than the number 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. The interval gear can refer to the interval between the current gear and the target gear. The gear difference value is used to describe 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, the current gear is 3, and the target gear is 7, and the interval gear is 4. If it is judged whether the number of interval gears is greater than the number threshold, the number threshold can be set according to actual needs, such as 0, 1, etc. If the interval gear is greater than the number threshold, it means that the shift span between the current gear and the target gear is large. If you directly increase from the current gear to the target gear, it may give users bad experiences such as tingling sensation. , It can be determined that the gear shift operation is a non-safe shift operation.
在一个实施例中,档位切换操作的操作信息还可包括切换频率,切换频率指的是在预设时长内进行档位切换的次数,例如,1秒内切换3次、1秒内切换4次等。非安全操作条件可包括档位切换操作的切换频率高于预设频率,可选地,预设频率可根据实际需求进行设定,例如,1次/秒、2次/秒等,但不限于此。若档位调节方向为增加档位,可判断档位切换操作的切换频率是否高于预设频率,若高于预设频率,说明档位增加过快,若直接从当前档位调高到目标档位,可能会给用户带来刺痛感等不良体验,则可确定档位切换操作为非安全切换操作。可选地,该目标档位可指的是档位切换操作按照该切换频率进行 的多次切换后确定的目标档位,例如,当前档位为3档,用户在1秒内触发了4次增加档位,则可确定目标档位为7档。In an embodiment, the operation information of the gear switching operation may further include a switching frequency. The switching frequency refers to the number of times the gear is switched within a preset period of time, for example, switching 3 times in 1 second, and switching 4 in 1 second. Inferior. Unsafe operating conditions may include that the switching frequency of the gear switching operation is higher than the preset frequency. Optionally, the preset frequency can be set according to actual needs, for example, 1 time/second, 2 times/second, etc., but not limited to this. If the gear adjustment direction is to increase the gear, it can be judged 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 has increased too fast. If it is directly adjusted from the current gear to the target If the gear position may give the user a bad experience such as a tingling sensation, it can be determined that the gear position switching operation is an unsafe switching operation. Optionally, the target gear may refer to a target gear determined after multiple switching of the gear switching operation according to the switching frequency. For example, the current gear is 3 gears, and the user triggers 4 times within 1 second. By increasing the gear, the target gear can be determined to be 7 gears.
在一个实施例中,非安全操作条件可包括目标档位对应的第一驱动电压大于电压阈值。若档位调节方向为增加档位,则可获取与目标档位对应的第一驱动电压,并判断该第一驱动电压是否大于电压阈值,可选地,电压阈值可根据实际需求进行设定,例如,30V(伏特)、28V等,但不限于此。若目标档位对应的第一驱动电压电压阈值,说明目标档位相匹配的电刺激强度较大,若直接从当前档位调高到目标档位,可能会给用户带来刺痛感等不良体验,则可确定档位切换操作为非安全切换操作。In one embodiment, the unsafe operating 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 drive voltage corresponding to the target gear can be obtained, and it can be judged whether the first drive voltage is greater than the voltage threshold. Optionally, the voltage threshold can be set according to actual requirements. For example, 30V (Volt), 28V, etc., but not limited thereto. If the target gear corresponds to the first driving voltage threshold, it means that the electric stimulation intensity matching the target gear is relatively high. If the current gear is directly adjusted to the target gear, it may cause irritation to the user. Experience, it can be determined that the gear shift operation is a non-safe shift operation.
在一个实施例中,非安全操作条件可包括目标档位对应的第一驱动电压与低频电刺激装置的当前档位的第二驱动电压之间的电压差值大于差值阈值。若档位调节方向为增加档位,则可获取与目标档位对应的第一驱动电压,以及当前档位对应的第二驱动电压,并计算第一驱动电压与第二驱动电压之间的电压差值。可将第一驱动电压减去第二驱动电压,得到电压差值,并判断该电压差值是否大于差值阈值,可选地,差值阈值可根据实际需求进行设定,例如,10V、15V等,但不限于此。若电压差值大于差值阈值,说明当前档位与目标档位的电刺激效果区别较大,若直接从当前档位调高到目标档位,可能会给用户带来刺痛感等不良体验,则可确定档位切换操作为非安全切换操作。In one embodiment, the unsafe operating 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 a 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 between the first driving voltage and the second driving voltage can be calculated Difference. The first driving voltage can be subtracted from the second driving voltage to obtain the 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 you directly increase the current gear to the target gear, it may give the user an undesirable experience such as a tingling sensation , It can be determined that the gear shift operation is a non-safe shift operation.
可以理解地,非安全操作条件可包括上述各个条件中的一种或多种,也可以是其它条件,本申请实施例不作限定。Understandably, the non-safe operating conditions may include one or more of the foregoing various conditions, or other conditions, which are not limited in the embodiments of the present application.
步骤410,将装置的档位锁定在当前档位,并对非安全切换操作进行提示。Step 410: Lock the gear of the device at the current gear, and prompt the non-safe switching operation.
步骤412,若在第一时长内接收到解锁指令,则对装置的档位进行解锁,并按照第一切换方式将装置的档位切换至目标档位。Step 412: If the unlocking instruction is received within the first time period, unlock the gear of the device, and switch the gear of the device to the target gear according to the first switching method.
步骤414,若在第一时长内未接收到解锁指令,则对装置的档位进行解锁,并按照第二切换方式将装置的档位切换至目标档位。Step 414: If the unlocking instruction is not received within the first time period, unlock the gear of the device, and switch the gear of the device to the target gear according to the second switching method.
步骤410~414的描述可参照上述各实施例中的相关描述,在此不再赘述。For descriptions of steps 410 to 414, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
在一些实施例中,档位切换操作为非安全切换操作时,可能是用户进行的误操作,用户在意识到是误操作的情况下,可能会重新进行档位切换。如图5所示,在步骤根据操作信息判断所述档位切换操作是否为安全切换操作之后,上述方法还包括以下步骤:In some embodiments, when the gear switching operation is an unsafe switching operation, it may be a misoperation performed by the user, and the user may re-switch the gear when realizing the misoperation. As shown in FIG. 5, after the step of determining whether the gear switching operation is a safe switching operation according to the operation information, the above method further includes the following steps:
步骤502,若档位切换操作为非安全切换操作,则在第二时长内不响应档位切换操作。In step 502, if the gear shifting operation is an unsafe shifting operation, the gear shifting operation will not be responded to within the second time period.
在低频电刺激装置检测到档位切换操作后,可将该档位切换操作的档位调节方向作为第一档位调节方向。当根据该档位切换操作的操作信息确定档位切换操作为非安全切换操作时,在第二时长内不响应档位切换操作,暂时不进行档位切换,并判断是否在该第二时长内检测到新的档位操作。可选地,第二时长可以是较短的时长,例如1秒、2秒、500毫秒等,不会使用户明显感知到 不响应档位切换操作的过程。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 an unsafe switching operation based on the operation information of the gear switching operation, the gear switching operation will not be responded to within the second time period, and the gear switching will not be performed temporarily, and it will be determined whether it is within the second time period A new gear operation is detected. Optionally, the second duration may be a relatively short duration, 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.
步骤504,若在第二时长内检测到新的档位切换操作,则获取新的档位切换操作对应的第二档位调节方向。Step 504: If a new gear switching operation is detected within the second time period, acquire 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, the gear switching direction of the new gear switching operation can be used as the second gear adjustment direction, and it can be judged whether the second gear adjustment direction is the same as the first gear The position adjustment direction is different.
步骤506,若第一档位调节方向与第二档位调节方向为不同方向,则按照第一切换方式将装置的档位切换至所述新的档位切换操作对应的目标档位。Step 506: If the first gear adjustment direction and the second gear adjustment direction are different directions, switch the gear of the device to the target gear corresponding to the new gear switching operation according to the first switching method.
作为一种具体实施方式,第一档位调节方向可为增加档位,则可判断第二档位调节方向是否为降低档位,若为降低档位,则可获取该新的档位切换操作的目标档位,并按照第一切换方式将低频电刺激装置的档位从当前档位直接切换至新的档位切换操作的目标档位。例如,第一次检测到的档位切换操作为从1档增加到7档,可确定为非安全切换操作,若在1秒内又检测到新的档位切换操作为从7档降低到3档,则可直接从1档跳转切换到3档,可直接跳过非安全切换操作,而进行新的档位切换操作,既能够及时响应用户的档位切换操作,提高了操作效率,又可避免用户在档位切换过程中可能产生的不良体验。As a specific implementation, the first gear adjustment direction can be increasing gear, then it can be judged whether the second gear adjustment direction is lower gear, if it is lower gear, then the new gear switching operation can be obtained According to the first switching mode, the gear of the low-frequency electrical stimulation device is directly switched from the current gear to the target gear of the new gear switching operation. For example, the first detected gear switching operation is increased from gear 1 to gear 7, it can be determined as a non-safe switching operation. If a new gear switching operation is detected within 1 second, it is reduced from gear 7 to gear 3. Gear, you can jump directly from gear 1 to gear 3. You can skip the non-safe switching operation and perform a new gear switching operation, which can respond to the user’s gear switching operation in time and improve the operating efficiency. It can avoid the bad experience that the user may have during the process of shifting gears.
可以理解地,本申请实施例所提供的档位切换方法除了可应用在低频电刺激装置的电刺激档位切换以外,还可应用在其它功能模块的档位切换上,例如,按摩设备上的按摩组件可包括振动模组,振动模组可提示振动按摩功能,本申请实施例所提供的档位切换方法也可应用在振动按摩时的档位切换过程中,以避免在振动按摩过程中由于档位突然变化且变化过大,用户没有适应的过程而降低用户在按摩过程中的舒适性。It is understandable that the gear switching method provided by the embodiments 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, on the massage device. The massage component may include a vibration module, which 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 vibrations caused during the vibration massage process. The gear changes suddenly and the change is too large, and the user does not have a process of adapting, which reduces the user's comfort during the massage process.
在本申请实施例中,可根据不同的档位调节方向采用不同的切换方式进行档位切换,既能够及时响应降档操作,提高降档效率,也能够避免在升档过程中由于档位突然增大,用户无法适应而产生刺痛感等不良体验,提高了电刺激装置使用过程中的安全性及舒适性。In the embodiment of the present application, different switching methods can be used to switch gears according to different gear adjustment directions, which can respond to downshift operations in a timely manner, improve downshift efficiency, and avoid sudden gear changes during upshifts. Increased, the user cannot adapt to the bad experience such as a tingling sensation, which improves the safety and comfort during the use of the electrical stimulation device.
如图6所示,在一个实施例中,提供一种档位切换装置600,可应用于上述的低频电刺激装置。该档位切换装置600,可包括操作检测模块610、判断模块620、第一切换模块630及第二切换模块640。As shown in FIG. 6, in one embodiment, a gear switching device 600 is provided, which can be applied to the aforementioned 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.
操作检测模块610,用于当检测到档位切换操作时,获取档位切换操作的操作信息,操作信息包括目标档位。The operation detection module 610 is configured to obtain operation information of the gear switching operation when the gear switching operation is detected, and the operation information includes the target gear.
判断模块620,用于根据操作信息判断档位切换操作是否为安全切换操作。The judging module 620 is used for judging whether the gear shifting operation is a safe shifting operation according to the operation information.
在一个实施例中,判断模块620,还用于当目标档位属于第一档位区间时,确定档位切换操作为安全切换操作,当目标档位属于第二档位区间时,确定档位切换操作为非安全切换操作,第一档位区间低于第二档位区间。In one embodiment, the judging module 620 is further configured to determine that the gear switching operation is a safe switching operation when the target gear belongs to the first gear interval, and determine the gear when the target gear belongs to the second gear interval The switching operation is a non-safe switching operation, and the first gear interval is lower than the second gear interval.
第一切换模块630,用于若档位切换操作为所述安全切换操作,则按照第一切换方式将低频电刺激装置的档位切换至所述目标档位。The first switching module 630 is configured 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 safe switching operation.
在一个实施例中,第一切换模块630,还用于采用跳档切换的方式,将低频电刺激装置的档位直接从当前档位切换至目标档位。In one embodiment, the first switching module 630 is also used to switch the gear of the low-frequency electrical stimulation device directly from the current gear to the target gear by means of shifting gears.
在一个实施例中,第一切换模块630,包括电压获取单元及第一信号生成单元。In one embodiment, the first switching module 630 includes a voltage acquiring unit and a first signal generating unit.
电压获取单元,用于获取与目标档位对应的第一驱动电压,第一驱动电压用于驱动电刺激装置的脉冲输出电路产生脉冲电流,脉冲电流的强度与目标档位相匹配。The voltage obtaining unit is used to obtain a first driving voltage corresponding to the target gear. The first driving voltage is used to drive the pulse output circuit of the electrostimulation device to generate a pulse current, and the intensity of the pulse current matches the target gear.
第一信号生成单元,用于生成与第一驱动电压匹配的脉冲信号,并通过脉冲信号将输入至脉冲输出电路的驱动电压调节至第一驱动电压。The first signal generating unit is configured 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.
第二切换模块640,用于若档位切换操作为非安全切换操作,则按照第二切换方式将低频电刺激装置的档位切换至目标档位,第二切换方式对应的切换时间大于第一切换方式对应的切换时间。The second switching module 640 is configured to switch the gear of the low-frequency electrostimulation device to the target gear according to the second switching method if the gear switching operation is an unsafe switching operation, and the switching time corresponding to the second switching method is longer than that of the first switching method. The switching time corresponding to the switching mode.
在一个实施例中,第二切换模块640,还用于采用逐步切换的方式,按照预设的档位切换间隔将装置的档位从当前档位逐步切换至目标档位。In one embodiment, the second switching module 640 is further configured to adopt a stepwise switching method to gradually switch the gear of the device from the current gear to the target gear according to a preset gear switching interval.
在一个实施例中,第二切换模块640,包括中间档位确定单元及第二信号生成单元。In one embodiment, the second switching module 640 includes an intermediate gear determining unit and a second signal generating unit.
中间档位确定单元,用于根据预设的档位切换间隔确定从当前档位到目标档位的中间切换档位。The intermediate gear determining unit is used to determine the intermediate shifting gear from the current gear to the target gear according to the preset gear switching interval.
第二信号生成单元,用于按照档位的排列顺序,每隔预设时间间隔逐一生成与各个中间切换档位匹配的脉冲信号,并通过与各个中间切换档位匹配的脉冲信号将输入至脉冲输出电路的驱动电压逐步调节至目标档位对应的第一驱动电压。The second signal generating unit is used to generate pulse signals that match each intermediate switching gear one by one according to the sequence of the gear positions, and input to the pulse signal through the pulse signal matching each intermediate switching gear. The driving voltage of the output circuit is gradually adjusted to the first driving voltage corresponding to the target gear.
在本申请实施例中,当检测到档位切换操作时,可根据档位切换操作的操作信息判断档位切换操作是否为安全切换操作,若为安全切换操作,则按照第一切换方式将低频电刺激装置的档位切换至目标档位,若为非安全切换操作,则按照第二切换方式将低频电刺激装置的档位切换至目标档位,针对安全切换操作和非安全切换操作,分别采用两种不同的切换方式,且非安全切换操作的切换时间大于安全切换操作的切换时间,给人体一个档位切换的适应过程,能够防止在档位切换过程中出现因人体无法适应突然的档位切换而产生的不良效果,提高了电刺激装置使用过程中的安全性及舒适性。In the 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 according to the operation information of the gear switching operation. If it is a safe switching operation, the low frequency The gear of the electrostimulation device is switched to the target gear. If it is an unsafe switching operation, the gear of the low-frequency electrostimulation device is switched to the target gear according to the second switching method. For safe switching operation and non-safe switching operation, respectively Two different switching methods are adopted, and the switching time of the non-safe switching operation is longer than the switching time of the safe switching operation. This gives the human body a gear switching adaptation process, which can prevent the human body from being unable to adapt to sudden gears during the gear switching process. The undesirable effect of position switching improves the safety and comfort of the electrical stimulation device during use.
在一个实施例中,上述档位切换装置600,除了包括操作检测模块610、判断模块620、第一切换模块630及第二切换模块640,还包括提示模块。In one embodiment, the above-mentioned gear switching device 600 includes an operation detection module 610, a judgment module 620, a first switching module 630, and a second switching module 640, as well as a prompting module.
提示模块,用于若档位切换操作为非安全切换操作,则将低频电刺激装置的档位锁定在当前档位,并对非安全切换操作进行提示。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 prompt the unsafe switching operation.
第一切换模块630,还用于若在第一时长内接收到解锁指令,则对低频电 刺激装置的档位进行解锁,并按照第一切换方式将低频电刺激装置的档位切换至目标档位。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 method Bit.
第二切换模块640,还用于若在第一时长内未接收到解锁指令,则对低频电刺激装置的档位进行解锁,并按照第二切换方式将低频电刺激装置的档位切换至目标档位。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 time period, and switch the gear of the low-frequency electrical stimulation device to the target according to the second switching method Stalls.
在本申请实施例中,用户可对档位切换的方式进行自主选择,使得低频电刺激装置满足用户的不同需求。In the embodiment of the present application, the user can independently select the way of shifting the gear, so that the low-frequency electrical stimulation device meets the different needs of the user.
在一个实施例中,操作信息还包括档位调节方向。判断模块620,还用于若档位调节方向为降低档位,则确定档位切换操作为安全切换操作。In one embodiment, the operation information further includes a gear adjustment direction. The judging module 620 is further configured to determine that the gear shift operation is a safe shift operation if the gear adjustment direction is a lower gear.
在一个实施例中,判断模块620,还用于若档位调节方向为增加档位,则获取装置的当前档位与所述目标档位之间的间隔档位,若该间隔档位的数量大于数量阈值,则确定档位切换操作为非安全切换操作。In one embodiment, the judging module 620 is further configured 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 If it is greater than the number threshold, it is determined that the gear switching operation is a non-safe switching operation.
在一个实施例中,操作信息还包括切换频率。判断模块620,还用于若档位调节方向为增加档位,判断切换频率是否高于预设频率,若切换频率高于预设频率,则确定档位切换操作为非安全切换操作。In one embodiment, the operation information further includes the switching frequency. The judging module 620 is further configured to determine whether the switching frequency is higher than the 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.
在一个实施例中,判断模块620,还用于若档位调节方向为增加档位,则获取与目标档位对应的第一驱动电压,若第一驱动电压大于电压阈值,则确定档位切换操作为非安全切换操作。In one embodiment, the judging module 620 is further configured to obtain the first drive voltage corresponding to the target gear if the gear adjustment direction is to increase the gear, and if the first drive voltage is greater than the voltage threshold, determine the gear switch The operation is a non-safe switching operation.
在一个实施例中,判断模块620,还用于若档位调节方向为增加档位,则获取与目标档位对应的第一驱动电压,以及低频电刺激装置的当前档位对应的第二驱动电压,计算第一驱动电压与所述第二驱动电压之间的电压差值,若电压差值大于差值阈值,则确定档位切换操作为非安全切换操作。In one embodiment, the judging module 620 is further configured to obtain the first driving voltage corresponding to the target gear and the 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. Voltage, calculating the voltage difference between the first driving voltage and the second driving voltage, and if the voltage difference is greater than the difference threshold, it is determined that the gear switching operation is an unsafe switching operation.
在一个实施例中,操作信息还包括第一档位调节方向。In one embodiment, the operation information further includes the first gear adjustment direction.
操作检测模块610,还用于若档位切换操作为非安全切换操作,则在第二时长内不响应档位切换操作,若在第二时长内检测到新的档位切换操作,则获取新的档位切换操作对应的第二档位调节方向。The operation detection module 610 is further configured to: if the gear shifting operation is an unsafe shifting operation, then not responding to the gear shifting operation within the second period of time, and if a new gear shifting operation is detected within the second period of time, acquiring the new The gear shift operation corresponds to the second gear adjustment direction.
第一切换模块630,还用于若第一档位调节方向与所述第二档位调节方向为不同方向,则按照第一切换方式将低频电刺激装置的档位切换至新的档位切换操作对应的目标档位。The first switching module 630 is further configured to switch the gear of the low-frequency electrical stimulation device to a new gear switch according to the first switching method if the first gear adjustment direction and the second gear adjustment direction are different directions Operate the corresponding target gear.
在本申请实施例中,可根据不同的档位调节方向采用不同的切换方式进行档位切换,既能够及时响应降档操作,提高降档效率,也能够避免在升档过程中由于档位突然增大,用户无法适应而产生刺痛感等不良体验,提高了电刺激装置使用过程中的安全性及舒适性。In the embodiment of the present application, different switching methods can be used to switch gears according to different gear adjustment directions, which can respond to downshift operations in a timely manner, improve downshift efficiency, and avoid sudden gear changes during upshifts. Increased, the user cannot adapt to the bad experience such as a tingling sensation, which improves the safety and comfort during the use of the electrical stimulation device.
图7为一个实施例中电子设备的结构框图。如图7所示,电子设备700可以是低频电刺激装置,例如,颈部按摩仪、腰部按摩仪、眼部按摩仪等按摩设备,也可以是利用电极片进行治疗的治疗电子设备等。电子设备700可以包 括一个或多个如下部件:处理器710以及与处理器710耦合的存储器720,其中存储器720可存储有一个或多个计算机程序,一个或多个计算机程序可以被配置为由一个或多个处理器710执行时实现如上述各实施例描述的方法。Fig. 7 is a structural block diagram of an electronic device in an embodiment. As shown in FIG. 7, 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 electrode pads for treatment. The electronic device 700 may include one or more of the following components: a processor 710 and a memory 720 coupled with the processor 710, where the memory 720 may store one or more computer programs, and the one or more computer programs may be configured to consist of one When executed, or multiple processors 710 implement the methods described in the foregoing embodiments.
处理器710可以包括一个或者多个处理核。处理器710利用各种接口和线路连接整个电子设备700内的各个部分,通过运行或执行存储在存储器720内的指令、程序、代码集或指令集,以及调用存储在存储器720内的数据,执行电子设备700的各种功能和处理数据。可选地,处理器710可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器710可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器710中,单独通过一块通信芯片进行实现。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 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 720, and calling data stored in the memory 720. Various functions and processing data of the electronic device 700. Optionally, the processor 710 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 710 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 710, but may be implemented by a communication chip alone.
存储器720可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器720可用于存储指令、程序、代码、代码集或指令集。存储器720可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储电子设备700在使用中所创建的数据等。The memory 720 may include random access memory (RAM) or 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 storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions used to implement the foregoing method embodiments, etc. The data storage area can also store data created by the electronic device 700 during use, and the like.
可以理解地,电子设备700可包括比上述结构框图中更多或更少的结构元件,例如,包括电源模块、扬声器、蓝牙模块、传感器等,还可在此不进行限定。It is understandable that the electronic device 700 may include more or fewer structural elements than those in the above-mentioned structural block diagram, for example, including a power supply module, a speaker, a Bluetooth module, a sensor, etc., which may not be limited herein.
本申请实施例公开一种颈部按摩仪,包括存储器及处理器,存储器中存储有计算机程序,该计算机程序被处理器执行时,使得处理器实现上述各实施例中描述的方法。The embodiment of the application discloses a neck massage instrument, which includes a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the methods described in the foregoing embodiments.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的方法。The embodiments of the present application disclose a computer-readable storage medium that stores a computer program, where the computer program is executed by a processor to implement the methods described in the foregoing embodiments.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的方法。The embodiments of the present application disclose a computer program product. The computer program product 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 foregoing embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM等。Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium. Here, when the program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disk, a ROM, etc.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Erasable PROM,EPROM)、电可擦除PROM(Electrically Erasable PROM,EEPROM)或闪存。易失性存储器可包括随机存取存储器(random access memory,RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(Static RAM,SRAM)、动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(synchronous DRAM,SDRAM)、双倍数据率SDRAM(Double Data Rate SDRAM,DDR SDRAM)、增强型SDRAM(Enhanced Synchronous DRAM,ESDRAM)、同步链路DRAM(Synchlink DRAM,SLDRAM)、存储器总线直接RAM(Rambus DRAM,RDRAM)及直接存储器总线动态RAM(Direct Rambus DRAM,DRDRAM)。Any reference to memory, storage, database, or other media as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (synchronous DRAM, SDRAM), double data rate SDRAM ( Double Data Rate SDRAM, DDR SDRAM), Enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), Synchronous Link DRAM (Synchlink DRAM, SLDRAM), Memory Bus Direct RAM (Rambus DRAM, RDRAM) and Direct Memory Bus Dynamic RAM (Direct Rambus) DRAM, DRDRAM).
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification do 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 know that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the application.
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In the various embodiments of the present application, it should be understood that the size of the sequence numbers of the foregoing processes does not mean the necessary sequence of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in this application. The implementation process of the example constitutes any limitation.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, and may be located in one place or distributed on multiple 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, the 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 may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。If the aforementioned 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 essence of the technical solution of this application, or the part that contributes to the existing technology, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory. , Including several requests to make a computer device (which may be a personal computer, a server or a network device, etc., specifically a processor in a computer device) execute some or all of the steps of the above methods of the various embodiments of the present application.
以上对本申请实施例公开的一种档位切换方法、装置、电子设备及计算机 可读存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above describes in detail 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 implementations of the present application. The above embodiments The description is only used to help understand the method and core idea of this application. At the same time, for those of ordinary skill in the art, based on the idea of the application, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the application.

Claims (15)

  1. 一种档位切换方法,其中,应用于低频电刺激装置,所述方法包括:A gear switching method, which 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 including the target gear;
    根据所述操作信息判断所述档位切换操作是否为安全切换操作;Judging whether the gear switching operation is a safe switching operation 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 the first switching method;
    若所述档位切换操作为非安全切换操作,则按照第二切换方式将所述装置的档位切换至所述目标档位,所述第二切换方式对应的切换时间大于所述第一切换方式对应的切换时间。If the gear switching operation is a non-safe switching operation, the gear of the device is switched to the target gear according to a second switching mode, and the switching time corresponding to the second switching mode is longer than the first switching The switching time corresponding to the mode.
  2. 根据权利要求1所述的方法,其中,所述按照第一切换方式将所述装置的档位切换至所述目标档位,包括:The method according to claim 1, wherein the switching the gear of the device to the target gear according to the first switching method comprises:
    采用跳档切换的方式,将所述装置的档位直接从当前档位切换至所述目标档位;Switching the gear of the device directly from the current gear to the target gear by means of shifting gears;
    所述按照第二切换方式将所述装置的档位切换至所述目标档位,包括:The switching the gear of the device to the target gear according to the second switching method includes:
    采用逐步切换的方式,按照预设的档位切换间隔将所述装置的档位从当前档位逐步切换至所述目标档位。By adopting a stepwise 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.
  3. 根据权利要求2所述的方法,其中,所述采用跳档切换的方式,将所述装置的档位直接从当前档位切换至所述目标档位,包括:3. The method according to claim 2, wherein the step of shifting the gear position of the device directly from the current gear position to the target gear position comprises:
    获取与所述目标档位对应的第一驱动电压,所述第一驱动电压用于驱动所述装置的脉冲输出电路产生脉冲电流,所述脉冲电流的强度与所述目标档位相匹配;Acquiring a first driving voltage corresponding to the target gear, where 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;
    生成与所述第一驱动电压匹配的脉冲信号,并通过所述脉冲信号将输入至所述脉冲输出电路的驱动电压调节至所述第一驱动电压。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.
  4. 根据权利要求3所述的方法,其中,所述采用逐步切换的方式,按照预设的档位切换间隔将所述装置的档位从当前档位逐步切换至所述目标档位,包括:The method according to claim 3, wherein the stepwise switching method to gradually switch the gear of the device from the current gear to the target gear according to a preset gear switching interval comprises:
    根据预设的档位切换间隔确定从当前档位到所述目标档位的中间切换档位;Determining an intermediate switching gear from the current gear to the target gear according to a preset gear switching interval;
    按照档位的排列顺序,每隔预设时间间隔逐一生成与各个中间切换档位匹配的脉冲信号,并通过所述与各个中间切换档位匹配的脉冲信号将输入至所述脉冲输出电路的驱动电压逐步调节至所述目标档位对应的第一驱动电压。According to the sequence of the gear positions, pulse signals that match each intermediate shift gear are generated one by one at preset time intervals, and the pulse signals that match each intermediate shift gear are input to the drive of the pulse output circuit The voltage is gradually adjusted to the first driving voltage corresponding to the target gear.
  5. 根据权利要求1至4任一所述的方法,其中,所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,包括:The method according to any one of claims 1 to 4, wherein the judging whether the gear switching operation is a safe switching operation according to the operation information comprises:
    当所述目标档位属于第一档位区间时,确定所述档位切换操作为安全切换操作;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 interval, it is determined that the gear switching operation is an unsafe switching operation, and the first gear interval is lower than the second gear interval.
  6. 根据权利要求1至4任一所述的方法,其中,所述操作信息还包括档位调节方向;所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,包括:The method according to any one of claims 1 to 4, wherein the operation information further includes a gear adjustment direction; and the 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, it is determined that the gear switching operation is a safe switching operation.
  7. 根据权利要求6所述的方法,其中,所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,还包括:8. The method according to claim 6, wherein said judging whether said gear shifting operation is a safe shifting operation according to said operation information, further comprising:
    若所述档位调节方向为增加档位,则获取所述装置的当前档位与所述目标档位之间的间隔档位;If the gear adjustment direction is to increase the gear, acquiring 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, it is determined that the gear switching operation is an unsafe switching operation.
  8. 根据权利要求6所述的方法,其中,所述操作信息还包括切换频率,所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,还包括:The method according to claim 6, wherein the operation information further includes a switching frequency, and the 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, determine whether the switching frequency is higher than the preset frequency;
    若所述切换频率高于预设频率,则确定所述档位切换操作为非安全切换操作。If the switching frequency is higher than the preset frequency, it is determined that the gear switching operation is an unsafe switching operation.
  9. 根据权利要求6所述的方法,其中,所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,还包括:8. The method according to claim 6, wherein said judging whether said gear shifting operation is a safe shifting operation according to said operation information, further comprising:
    若所述档位调节方向为增加档位,则获取与所述目标档位对应的第一驱动电压;If the gear adjustment direction is to increase the gear, acquiring the first driving voltage corresponding to the target gear;
    若所述第一驱动电压大于电压阈值,则确定所述档位切换操作为非安全切换操作。If the first driving voltage is greater than the voltage threshold, it is determined that the gear switching operation is an unsafe switching operation.
  10. 根据权利要求6所述的方法,其中,所述根据所述操作信息判断所述档位切换操作是否为安全切换操作,还包括:8. The method according to claim 6, wherein said judging whether said gear shifting operation is a safe shifting operation according to said operation information, further comprising:
    若所述档位调节方向为增加档位,则获取与所述目标档位对应的第一驱动电压,以及所述装置的当前档位对应的第二驱动电压;If the gear adjustment direction is to increase the gear, 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;
    若所述电压差值大于差值阈值,则确定所述档位切换操作为非安全切换操作。If the voltage difference is greater than the difference threshold, it is determined that the gear switching operation is an unsafe switching operation.
  11. 根据权利要求7至10任一所述的方法,其中,在所述根据所述操作信息判断所述档位切换操作是否为安全切换操作之后,所述方法还包括:The method according to any one of claims 7 to 10, wherein, after the determining whether the gear switching operation is a safe switching operation according to the operation information, the method further comprises:
    若所述档位切换操作为非安全切换操作,则将所述装置的档位锁定在当前档位,并对所述非安全切换操作进行提示。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 to the unsafe switching operation.
  12. 根据权利要求11所述的方法,其中,在所述将所述装置的档位锁定在当前档位之后,所述方法还包括:The method according to claim 11, wherein, after said locking the gear of the device at the current gear, the method further comprises:
    若在第一时长内接收到解锁指令,则对所述装置的档位进行解锁,并按照第一切换方式将所述装置的档位切换至所述目标档位;If the unlock command is received within the first time period, unlock the gear of the device, and switch the gear of the device to the target gear according to the first switching method;
    若在所述第一时长内未接收到解锁指令,则对所述装置的档位进行解锁,并执行所述按照第二切换方式将所述装置的档位切换至所述目标档位。If the unlocking instruction is not received within the first time period, unlock the gear of the device, and execute the second switching mode to switch the gear of the device to the target gear.
  13. 根据权利要求1所述的方法,其中,所述操作信息还包括第一档位调节方向;The method according to claim 1, wherein the operation information further includes a first gear adjustment direction;
    在所述根据所述操作信息判断所述档位切换操作是否为安全切换操作之后,所述方法还包括:After determining whether the gear shifting operation is a safe shifting operation according to the operation information, the method further includes:
    若所述档位切换操作为非安全切换操作,则在第二时长内不响应所述档位切换操作;If the gear shifting operation is an unsafe shifting operation, do not respond to the gear shifting operation within the second time period;
    若在所述第二时长内检测到新的档位切换操作,则获取所述新的档位切换操作对应的第二档位调节方向;If a new gear switching operation is detected within the second time period, acquiring the 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 the first switching method .
  14. 一种电子设备,其中,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求1至13任一所述的方法。An electronic device, which includes a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor realizes any one of claims 1 to 13 Methods.
  15. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至13任一所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method according to any one of claims 1 to 13.
PCT/CN2021/086392 2020-06-24 2021-04-12 Gear switching method, electronic device, and computer-readable storage medium WO2021258812A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010595672.7 2020-06-24
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
WO2021258812A1 true WO2021258812A1 (en) 2021-12-30

Family

ID=72722205

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (3)

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

Citations (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
CN101357099A (en) * 2007-07-31 2009-02-04 松下电工株式会社 Massage machine
CN110152189A (en) * 2018-02-13 2019-08-23 广州市新博电子科技有限公司 The electrotherapeutic apparatus of stimulus intensity can be gradually increased
CN110953333A (en) * 2019-12-13 2020-04-03 河北工大科雅能源科技股份有限公司 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106274460B (en) * 2015-05-29 2019-12-10 上海汽车集团股份有限公司 electric drive transmission control device and method for dual-motor electric vehicle
CN105840808B (en) * 2016-04-26 2019-03-12 中国第一汽车股份有限公司 Shift control method for coordinating for wet-type double-clutch automatic speed-change device
CN111248961B (en) * 2020-01-17 2020-12-08 盈甲医疗器械制造(上海)有限公司 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

Patent Citations (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
CN101357099A (en) * 2007-07-31 2009-02-04 松下电工株式会社 Massage machine
CN110152189A (en) * 2018-02-13 2019-08-23 广州市新博电子科技有限公司 The electrotherapeutic apparatus of stimulus intensity can be gradually increased
CN110953333A (en) * 2019-12-13 2020-04-03 河北工大科雅能源科技股份有限公司 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

Also Published As

Publication number Publication date
CN111760192A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
WO2021258812A1 (en) Gear switching method, electronic device, and computer-readable storage medium
WO2021244137A1 (en) Pulse current output control method, massage device, electronic device, and storage medium
US10269223B2 (en) Haptic communication apparatus and method
US7787955B2 (en) Muscle training apparatus and control method therefor
US20050267544A1 (en) Low frequency stimulator provided in a mobile terminal and method for controlling the same
WO2022001160A1 (en) State prompting method of massage device, massage device, and storage medium
US10198107B2 (en) Terminal device and control method therefor
CN111759686A (en) Control method and device of massage equipment, massage equipment and storage medium
JP2018108276A5 (en)
JP4807176B2 (en) Low frequency treatment device and control method thereof
CN104184883A (en) Mobile phone and control method thereof
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
CN107441620B (en) Electrical stimulation system and control method of electrical stimulation mode
CN112206415A (en) Pulse signal processing circuit and method and medium-high frequency electrical stimulation device
CN112354082B (en) Massage device, control method for massage device, and computer-readable storage medium
JP6900842B2 (en) Low frequency treatment device
WO2022014024A1 (en) Generation device, generation method, and program
KR20110074366A (en) A chair for virtual experience
WO2022014023A1 (en) Device, method, and program
CN112354082A (en) Massage apparatus, control method of massage apparatus, and computer-readable storage medium
US20070038163A1 (en) Electronic impulse massage apparatus with multiple functions
CN210536914U (en) Sound wave instrument with eyesight prevention and control function
CN114053580A (en) Massage device, control method and device of massage device, and storage medium
CN114668970A (en) Massage apparatus control method, electrode type massage apparatus, and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21829744

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21829744

Country of ref document: EP

Kind code of ref document: A1