Control method and device of electrical stimulation equipment and computer equipment

By monitoring the skin impedance and rate of change between electrodes in real time, and adjusting the current and cycle of the electrical stimulation device, the comfort of using the device in the face of individual differences and sudden environmental changes has been solved, achieving higher therapeutic effects and greater comfort.

CN121197665APending Publication Date: 2025-12-26GUANGZHOU SHIYUAN ELECTRONICS CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410815875.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

Existing electrical stimulation devices are not comfortable to use when faced with individual differences or sudden environmental changes, resulting in unsatisfactory treatment effects and discomfort.

Method used

By monitoring the skin impedance and impedance change rate between electrodes in real time, the desired current and period are determined based on the correction relationship, and the electrical stimulation output is adjusted to adapt to the real-time changes in the subject's skin and electrode states.

Benefits of technology

This improves the user comfort of electrical stimulation devices, ensuring consistent treatment outcomes and patient comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121197665A_ABST
    Figure CN121197665A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device of electrical stimulation equipment, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps of determining a target electrical stimulation mode in response to selection of an object on an electrical stimulation mode on target electrical stimulation equipment, and determining a correction relation corresponding to the target electrical stimulation mode; the target electrical stimulation equipment comprises electrodes arranged in pairs; performing electrical stimulation output based on the target electrical stimulation mode, and obtaining real-time skin impedance between the electrodes and a skin impedance change rate; when the skin impedance change rate exceeds a preset change rate, determining an expected current and an expected period according to the real-time skin impedance and a correction relation; and outputting current matched with the expected current according to the expected period, so that the electrode outputs corresponding electrical stimulation. By adopting the method, the use comfort of the electrical stimulation equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to a control method, apparatus, computer device, computer-readable storage medium, and computer program product for an electrical stimulation device. Background Technology

[0002] Most existing electrical stimulation devices employ open-loop control, outputting electrical stimulation based on preset parameters. While this method can meet basic treatment needs to some extent, it can lead to suboptimal therapeutic effects and discomfort or tingling sensations in patients experiencing forced dynamic changes due to individual differences or sudden environmental changes (such as poor electrode contact or sweating). Therefore, traditional methods of electrical stimulation devices present significant shortcomings in terms of user comfort. Summary of the Invention

[0003] Therefore, it is necessary to provide a control method, apparatus, computer equipment, computer-readable storage medium, and computer program product for an electrical stimulation device that can improve the user comfort of the electrical stimulation device, in response to the above-mentioned technical problems.

[0004] In a first aspect, this application provides a method for controlling an electrical stimulation device, comprising:

[0005] In response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device, the target electrical stimulation mode is determined, and the corresponding correction relationship is determined; the target electrical stimulation device includes paired electrodes;

[0006] Electrical stimulation output is performed based on the target electrical stimulation mode, and real-time skin impedance and skin impedance change rate between electrodes are obtained.

[0007] If the rate of change of skin impedance exceeds the preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship.

[0008] The current is output according to the desired cycle and matched with the desired current so that the electrodes output the corresponding electrical stimulation.

[0009] In one embodiment, the correction relationship includes a first relationship and a second relationship; the first relationship is used to characterize the correspondence between current, period, energy, and impedance; the second relationship is used to characterize the correspondence between current, period, charge, and impedance.

[0010] Based on real-time skin impedance and correction relationships, the desired current and desired period are determined, including:

[0011] The electrothermal effect coefficient is determined based on real-time skin impedance and the first relationship;

[0012] The electrical effect coefficient is determined based on real-time skin impedance and the second relationship;

[0013] The quotient between the electrothermal effect coefficient and the electrical effect coefficient is taken as the expected current, and the quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient is taken as the expected period.

[0014] In one embodiment, determining the desired current and desired period based on real-time skin impedance and correction relationship includes:

[0015] When the parameter correction mode of the object is selected as parameter correction, or when the time interval between the last correction time and the current time reaches the preset correction period, the initial parameters of the correction relationship are corrected to obtain the correction relationship after parameter correction.

[0016] The desired current and desired period are determined based on the real-time skin impedance and the correction relationship after parameter correction.

[0017] In one embodiment, the initial parameters of the correction relationship are corrected to obtain the parameter-corrected correction relationship, including:

[0018] Based on the object's selection of the gear, determine the target gear and the target current corresponding to the target gear;

[0019] Electrical stimulation output is performed based on the target current, and the target skin impedance between the electrodes is acquired to generate device adjustment prompts; the device adjustment prompts are used to indicate that the target electrical stimulation device should be re-attached.

[0020] Once the device has been re-paired, a gear adjustment prompt is generated; the gear adjustment prompt is used to indicate that the gear should be adjusted.

[0021] Continue executing the steps of selecting the gear based on the object and determining the target gear. Based on multiple gear adjustments, the corresponding target current and target skin impedance are adjusted to obtain the correction parameters of the correction relationship.

[0022] The initial parameters of the correction relationship are updated to the correction parameters to obtain the correction relationship after parameter correction.

[0023] In one embodiment, determining the target gear based on the object's selection of the gear position includes:

[0024] Get the current gear;

[0025] In response to the object's adjustment operation on the current gear, determine the gear adjustment amount;

[0026] Determine the target gear based on the current gear and gear adjustment amount.

[0027] In one embodiment, the target electrical stimulation pattern includes at least one sub-pattern; the method further includes:

[0028] For each sub-mode, electrical stimulation output is performed based on the current sub-mode. If the rate of change of skin impedance in the current sub-mode exceeds the preset rate of change, the expected current and expected period corresponding to the current sub-mode are determined based on the real-time skin impedance in the current sub-mode and the correction relationship corresponding to the current sub-mode.

[0029] Electrical stimulation output is performed based on the expected current and expected period corresponding to each sub-mode.

[0030] In one embodiment, determining the desired current and desired period based on real-time skin impedance and correction relationship includes:

[0031] The mean filter is applied to multiple real-time skin impedances collected within a continuous time period to obtain the filtered skin impedance.

[0032] Based on the filtered skin impedance and the correction relationship, the desired current and desired period are determined.

[0033] Secondly, this application also provides a control device for an electrical stimulation device, comprising:

[0034] The first determining module is used to determine the target electrical stimulation mode and the corresponding correction relationship in response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device; the target electrical stimulation device includes paired electrodes.

[0035] The acquisition module is used to perform electrical stimulation output based on the target electrical stimulation mode and acquire the real-time skin impedance and skin impedance change rate between electrodes.

[0036] The second determining module is used to determine the desired current and desired period based on the real-time skin impedance and the correction relationship when the skin impedance change rate exceeds the preset change rate.

[0037] The output module is used to output a current that matches the desired current according to the desired cycle, so that the electrodes output the corresponding electrical stimulation.

[0038] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0039] In response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device, the target electrical stimulation mode is determined, and the corresponding correction relationship is determined; the target electrical stimulation device includes paired electrodes;

[0040] Electrical stimulation output is performed based on the target electrical stimulation mode, and real-time skin impedance and skin impedance change rate between electrodes are obtained.

[0041] If the rate of change of skin impedance exceeds the preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship.

[0042] The current is output according to the desired cycle and matched with the desired current so that the electrodes output the corresponding electrical stimulation.

[0043] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0044] In response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device, the target electrical stimulation mode is determined, and the corresponding correction relationship is determined; the target electrical stimulation device includes paired electrodes;

[0045] Electrical stimulation output is performed based on the target electrical stimulation mode, and real-time skin impedance and skin impedance change rate between electrodes are obtained.

[0046] If the rate of change of skin impedance exceeds the preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship.

[0047] The current is output according to the desired cycle and matched with the desired current so that the electrodes output the corresponding electrical stimulation.

[0048] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0049] In response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device, the target electrical stimulation mode is determined, and the corresponding correction relationship is determined; the target electrical stimulation device includes paired electrodes;

[0050] Electrical stimulation output is performed based on the target electrical stimulation mode, and real-time skin impedance and skin impedance change rate between electrodes are obtained.

[0051] If the rate of change of skin impedance exceeds the preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship.

[0052] The current is output according to the desired cycle and matched with the desired current so that the electrodes output the corresponding electrical stimulation.

[0053] The control method, apparatus, computer equipment, computer-readable storage medium, and computer program product of the aforementioned electrostimulation device, for the target electrostimulation mode selected by the subject, firstly performs electrostimulation output according to the target electrostimulation mode, and obtains the real-time skin impedance and skin impedance change rate between the electrodes during the electrostimulation process. When the skin impedance change rate exceeds the preset change rate, it indicates that the subject's skin state or electrode state has abruptly changed. If the electrostimulation output continues to be performed according to the target electrostimulation mode, it may lead to a decrease in the user comfort of the electrostimulation device. Then, the desired current and desired period are determined, and a current matching the desired current is output according to the desired period, so that the electrodes output the corresponding electrostimulation. Since the determination of the desired current and desired period takes into account the correction relationship between the real-time skin impedance and the target electrostimulation mode, the desired current and desired period can be adjusted in a timely manner based on the subject's real-time skin state and the current target electrostimulation mode, thereby improving the user comfort of the electrostimulation device when the electrodes output the corresponding electrostimulation. Attached Figure Description

[0054] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0055] Figure 1 This is an application environment diagram of a control method for an electrical stimulation device in one embodiment.

[0056] Figure 2 This is a flowchart illustrating a control method for an electrical stimulation device in one embodiment;

[0057] Figure 3 This is a schematic diagram of a characteristic waveform in one embodiment;

[0058] Figure 4 This is a schematic diagram of the connection circuit between the electrode and the object in one embodiment;

[0059] Figure 5 This is a schematic diagram of the overall flow of the control method for an electrical stimulation device in one embodiment;

[0060] Figure 6 This is a schematic diagram of the perceived consistency parameter correction process in one embodiment;

[0061] Figure 7 This is a structural block diagram of the control device of an electrical stimulation device in one embodiment;

[0062] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0063] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0064] Most existing electrostimulation devices employ open-loop control methods. For example, they output electrical stimulation based on preset parameters, control the on / off state of the output through other environmental variables, or control the magnitude of the output through other environmental variables. The method of outputting electrical stimulation based on preset parameters lacks real-time monitoring and response to the patient's skin and electrode environment. While this can meet basic treatment needs to some extent, it suffers from significant shortcomings in user comfort when faced with forced dynamic changes due to individual differences or sudden environmental shifts (such as poor electrode contact or sweating). This results in suboptimal treatment effects and discomfort or stinging sensations, impacting the user's experience and compliance. This is a core factor hindering the widespread adoption of electrostimulation devices. In methods that control the output through other environmental variables, occasional changes in the skin-electrode environment can cause output failure, leading to unsatisfactory use. In methods that control the magnitude of electrical stimulation output through other environmental variables, this method may fail due to excessive stimulation intensity in systems with large differences in electrical stimulation patterns, posing a risk of discomfort to the user. In addition, individual differences in skin surface environment also directly lead to the failure of this approach, resulting in significant differences in perception among different individuals. Furthermore, the development process requires extensive data collection on electrical stimulation output of different patterns to adjust for a suitable control scheme, reducing the efficiency of electrical stimulation pattern development.

[0065] Based on this, embodiments of this application propose a control method, apparatus, computer device, computer-readable storage medium, and computer program product for an electrostimulation device. By responding to a subject's selection of an electrostimulation mode on the target electrostimulation device, a target electrostimulation mode is determined. For the target electrostimulation mode selected by the subject, electrostimulation output is first performed according to the target electrostimulation mode, and the real-time skin impedance and skin impedance change rate between the electrodes are acquired during the electrostimulation process. When the skin impedance change rate exceeds a preset change rate, it indicates a sudden change in the subject's skin state or electrode state. If electrostimulation output continues according to the target electrostimulation mode, the user comfort of the electrostimulation device may deteriorate. Then, a desired current and a desired period are determined, and a current matching the desired current is output according to the desired period, so that the electrodes output the corresponding electrostimulation. Since the determination of the desired current and desired period considers the correction relationship between real-time skin impedance and the target electrostimulation mode, the desired current and desired period can be adjusted in a timely manner based on the subject's real-time skin state and the current target electrostimulation mode, thus improving the user comfort of the electrostimulation device when the electrodes output the corresponding electrostimulation.

[0066] The control method for the electrical stimulation device provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the controller 102 communicates with the target electrostimulation device 104 via a network. The target electrostimulation device 104 includes paired electrodes (not shown). A data storage system can store the data that the controller 102 needs to process. The data storage system can be integrated into the controller 102 or placed in the cloud or on another network server. In response to the object's selection of an electrostimulation mode on the target electrostimulation device 104, the controller 102 determines the target electrostimulation mode and the corresponding correction relationship; the target electrostimulation device includes paired electrodes; based on the target electrostimulation mode, it outputs electrostimulation, acquiring the real-time skin impedance and skin impedance change rate between the electrodes; if the skin impedance change rate exceeds a preset change rate, it determines the desired current and desired period based on the real-time skin impedance and correction relationship; it outputs a current matching the desired current according to the desired period, so that the electrodes output the corresponding electrostimulation. The controller 102 can be integrated into the target electrostimulation device 104 or can be a terminal independent of the target electrostimulation device 104. The terminals can be, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle systems, and projection devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can include virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses.

[0067] In one exemplary embodiment, such as Figure 2 As shown, a control method for an electrical stimulation device is provided, which is applied to... Figure 1 Taking controller 102 as an example, the explanation includes the following steps 202 to 208. Wherein:

[0068] Step 202: In response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device, determine the target electrical stimulation mode and the corresponding correction relationship; the target electrical stimulation device includes paired electrodes.

[0069] In this context, a target electrical stimulation device is a device that outputs electrical stimulation through electrodes, driven by a power supply. For example, a target electrical stimulation device can be an electrical stimulation rehabilitation therapy device. The target electrical stimulation device includes paired electrodes, and the device is connected to the target user through these electrodes. The target user refers to the user of the target electrical stimulation device.

[0070] Electrical stimulation modes refer to the operating modes of a target electrical stimulation device under different currents. For example, electrical stimulation modes may include tapping mode, kneading mode, and massage mode.

[0071] Different electrical stimulation modes apply current with different frequencies and amplitudes. Even within the same electrical stimulation mode, there can be multiple sub-modes, each with a different frequency and amplitude of applied current.

[0072] The target electrical stimulation device has at least one electrical stimulation mode for a subject to select, wherein the target electrical stimulation mode is the electrical stimulation mode selected by the subject from the at least one electrical stimulation mode. In some embodiments, the target electrical stimulation device has a human-machine interface that displays at least one electrical stimulation mode supported by the target electrical stimulation device. The controller determines the target electrical stimulation mode in response to the subject's selection of at least one electrical stimulation mode in the human-machine interface. In other embodiments, the target electrical stimulation device has at least one selection button for an electrical stimulation mode, and the target electrical stimulation mode is determined in response to the subject's selection of each selection button in the target electrical stimulation device.

[0073] The calibration relationship is a preset mapping relationship in the controller used to correct the amplitude and frequency of the current corresponding to the electrical stimulation mode. Each electrical stimulation mode has a corresponding current amplitude and frequency, and a corresponding calibration relationship. Therefore, after determining the target electrical stimulation mode, the terminal can determine the calibration relationship corresponding to the target electrical stimulation mode.

[0074] Step 204: Perform electrical stimulation output based on the target electrical stimulation mode, and obtain the real-time skin impedance and skin impedance change rate between electrodes.

[0075] The controller acquires the target current amplitude and frequency corresponding to the target electrical stimulation mode, and controls the power supply to output a current matching the target current amplitude at the target current frequency. The current enters the object through the electrodes, and the electrodes generate the corresponding electrical stimulation. The current characteristics in each electrical stimulation mode can be composed of at least one characteristic waveform.

[0076] like Figure 3 The diagram shown illustrates the characteristic waveforms in one embodiment. In the diagram, the target electrical stimulation pattern includes multiple characteristic waveforms. The larger the amplitude of the target current, the larger the amplitude of the characteristic waveform; the higher the frequency of the target current, the higher the frequency of the characteristic waveform.

[0077] like Figure 4 The diagram shows a schematic of the connection circuit between the electrode and the object in one embodiment. In the figure, the paired electrodes 402 and 404, the electrode reference resistor 406, and the real-time skin impedance 408 together form a circuit. This indicates the voltage across the electrode reference resistor 406. This indicates the voltage of electrode 402. This represents the voltage of electrode 404. After current flows through the electrodes into the object, a potential difference exists between the paired electrodes, thereby generating electrical stimulation. Real-time skin impedance 408 is the impedance of the object's skin between the paired electrodes 402 and 404, which can be calculated by detecting the voltages of electrodes 402, 404, and the electrode reference resistor 406. In some embodiments, the formula for calculating real-time skin impedance is as follows:

[0078]

[0079]

[0080] in, This represents the current flowing through the electrode reference resistor 406. This indicates the resistance of the electrode reference resistor 406.

[0081] The rate of change of skin impedance refers to the rate of change of real-time skin impedance within a preset time period, used to characterize the change of skin impedance of an object within the preset time period. For example, based on the current time and the preset time period, the previous time is determined, and the impedance difference between the real-time skin impedance at the current time and the real-time skin impedance at the previous time is obtained. The impedance difference is then divided by the duration corresponding to the preset time period, and the result is taken as the rate of change of skin impedance.

[0082] Step 206: If the rate of change of skin impedance exceeds the preset rate of change, determine the desired current and desired period based on the real-time skin impedance and the correction relationship.

[0083] Under normal circumstances, the rate of change of skin impedance is less than or equal to the preset rate of change. However, when there are significant changes in the skin condition or electrode condition of the subject, such as sweating, electrode detachment, or electrode contact, the rate of change of skin impedance may exceed the preset rate of change. In this case, if the electrical stimulation output is continued according to the target current amplitude and target current frequency in the target electrical stimulation mode, it may cause discomfort or stinging sensation in the subject.

[0084] Therefore, this application proposes a method for determining the desired current and desired period based on real-time skin impedance and correction relationship. Under the target electrical stimulation mode, a current matching the desired current is output according to the desired period to ensure that the output electrical stimulation is adapted to the skin condition of the subject and changes in electrode condition, thereby improving the comfort of using the electrical stimulation device.

[0085] Step 208: Output a current that matches the desired current according to the desired cycle, so that the electrode outputs the corresponding electrical stimulation.

[0086] The controller directs the power supply to output a current matching the desired current according to the desired cycle. The current enters the target through electrodes, generating electrical stimulation through the potential difference between the paired electrodes. By adjusting the current amplitude and frequency in the target electrical stimulation mode, precise electrical stimulation output can be achieved, thereby improving the user comfort of the electrical stimulation device.

[0087] In the control method of the above-mentioned electrostimulation device, for the target electrostimulation mode selected by the subject, the electrostimulation output is first performed according to the target electrostimulation mode, and the real-time skin impedance and skin impedance change rate between the electrodes are obtained during the electrostimulation process. When the skin impedance change rate exceeds the preset change rate, it indicates that the subject's skin state or electrode state has changed abruptly. If the electrostimulation output continues to be performed according to the target electrostimulation mode, it may lead to a decrease in the comfort of using the electrostimulation device. Then, the desired current and desired period are determined, and the current matching the desired current is output according to the desired period so that the electrodes output the corresponding electrostimulation. Since the determination of the desired current and desired period takes into account the correction relationship between the real-time skin impedance and the target electrostimulation mode, the desired current and desired period can be adjusted in a timely manner based on the subject's real-time skin state and the current target electrostimulation mode. When the electrodes output the corresponding electrostimulation, the comfort of using the electrostimulation device can be improved.

[0088] In an exemplary embodiment, the correction relationship includes a first relationship and a second relationship; the first relationship characterizes the correspondence between current, period, energy, and impedance; the second relationship characterizes the correspondence between current, period, charge, and impedance; determining the desired current and desired period based on real-time skin impedance and the correction relationship includes: determining the electrothermal effect coefficient based on real-time skin impedance and the first relationship; determining the electrical effect coefficient based on real-time skin impedance and the second relationship; using the quotient between the electrothermal effect coefficient and the electrical effect coefficient as the desired current, and using the quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient as the desired period.

[0089] To improve the user comfort of the electrical stimulation device and ensure consistent perception of the device by the user, this application embodiment constructs a correction relationship corresponding to each electrical stimulation mode. The correction relationship includes a first relationship and a second relationship; the first relationship characterizes the correspondence between current, period, energy, and impedance; the second relationship characterizes the correspondence between current, period, charge, and impedance. For example, the relationship between the energy generated during electrical stimulation on the epidermis and the current, period, and impedance is as follows:

[0090]

[0091] The relationship between the charge, current, period, and impedance generated during electrical stimulation of the epidermis is as follows:

[0092]

[0093] Since the perception of an object on the skin surface primarily originates from thermal and electrical effects (which can be considered as the accumulation of charge leading to electrical stimulation of receptors on the skin surface), the energy E generated by the current and the charge Q brought by the current are introduced. Through experiments, an impedance under constant perception conditions is pre-constructed. The relationship with E and Q is as follows:

[0094] First relation: F'( =E=

[0095] Second relation: G( )=Q=IT

[0096] To construct controllable variables I and T, let , , ,but

[0097]

[0098]

[0099] , Used to characterize the relationship between impedance and current magnitude and current duration under certain sensing conditions, i.e. Used to characterize the electrothermal effect coefficient required at a certain impedance. It is used to characterize the electrical effect coefficient required at a certain impedance.

[0100] The terminal inputs real-time skin impedance into the first relationship to obtain the electrothermal effect coefficient. Substituting real-time skin impedance into the second relationship yields the electrical effect coefficient. The quotient between the electrothermal effect coefficient and the electrical effect coefficient is the desired current. The quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient is the expected period. Desired current and expected cycle The calculation formulas can be expressed as follows:

[0101]

[0102]

[0103] In this embodiment, based on the pre-constructed correction relationship of perception consistency and combined with real-time skin impedance, the electrothermal effect coefficient and the electrical effect coefficient are determined respectively. The expected current and the expected period are determined using the calculated electrothermal effect coefficient and the electrical effect coefficient respectively. Since the determination of the expected current and the expected period takes into account the correction relationship between real-time skin impedance and the target electrical stimulation mode, it can be adjusted in a timely manner based on the real-time skin state of the subject and the current target electrical stimulation mode, so as to ensure the subject's perception consistency with the electrical stimulation device, thereby improving the user comfort of the electrical stimulation device when the electrode outputs the corresponding electrical stimulation.

[0104] In one embodiment, determining the desired current and desired period based on real-time skin impedance and the correction relationship includes: correcting the initial parameters of the correction relationship to obtain the parameter-corrected correction relationship when the object's parameter correction mode is selected as parameter correction, or when the time interval between the last correction time and the current time reaches a preset correction period; and determining the desired current and desired period based on real-time skin impedance and the parameter-corrected correction relationship.

[0105] The calibration relationship includes initial parameters. In addition to meeting the condition that the skin impedance change rate exceeds the preset change rate, certain other conditions must also be met to ensure that the parameter calibration is more in line with the subject's actual experience.

[0106] The parameter correction mode is the mode used in the target stimulation device for parameter correction. Parameter correction modes include parameter correction and parameter non-correction. When parameter correction is selected for the target, the controller initiates the step of correcting the initial parameters of the correction relationship to obtain the corrected correction relationship. When parameter non-correction is selected for the target, the controller does not initiate the parameter correction step.

[0107] In addition, the last calibration time refers to the time when the initial parameters of the calibration relationship were last calibrated. The controller obtains the time interval between the last calibration time and the current time. If the time interval reaches the preset calibration period, the controller starts the step of calibrating the initial parameters of the calibration relationship to obtain the calibration relationship after parameter calibration.

[0108] In this embodiment, the initial parameters of the calibration relationship are determined by the object's selection of the parameter calibration mode and whether the time interval between the last calibration time and the current time reaches the preset calibration cycle. The parameter calibration of the calibration relationship can be combined with the actual needs of the object and the calibration time interval to ensure that the calibration relationship is more in line with the actual needs of the object, thereby further improving the comfort of the electrical stimulation device.

[0109] In one embodiment, the initial parameters of the calibration relationship are corrected to obtain the parameter-corrected calibration relationship, including: determining a target level based on the object's selection of the level and determining the target current corresponding to the target level; performing electrical stimulation output based on the target current and obtaining the target skin impedance between the electrodes and generating a device adjustment prompt; the device adjustment prompt is used to indicate that the target electrical stimulation device is re-bound; after detecting that the device has been re-bound, a level adjustment prompt is generated; the level adjustment prompt is used to indicate that the level is adjusted; continuing to execute the step of determining the target level based on the object's selection of the level, and solving for the correction parameters of the calibration relationship based on the target current and target skin impedance corresponding to multiple level adjustments; updating the initial parameters of the calibration relationship to the correction parameters to obtain the parameter-corrected calibration relationship.

[0110] The "level" primarily indicates the amplitude of the current applied to the target electrical stimulation device. Each electrical stimulation mode can have at least one level, with each level corresponding to a different current amplitude. The target level is the level selected by the subject from among the at least one level. The target level can be directly selected by the subject from among the at least one level, or it can be obtained by adjusting the current level. For example, the subject can select at least one level in the human-computer interaction interface of the target electrical stimulation device to determine the target level. Alternatively, the subject can increase or decrease the preset level each time from the initial level to obtain the target level. Or, the subject can select the target level by choosing the target button from the level selection buttons on the target electrical stimulation device.

[0111] The controller determines the target current corresponding to the target setting, primarily by determining the amplitude of the target current. The controller then controls the power supply to output a current that matches the target current, so that the electrodes output the corresponding electrical stimulation.

[0112] The controller acquires the target skin impedance between electrodes during electrical stimulation output based on the target current and generates a device adjustment prompt. This prompt can instruct the user to manually re-tether the target electrical stimulation device; for example, it can be a text prompt, voice prompt, or SMS prompt. Upon receiving the device adjustment prompt, the user re-tethers the target electrical stimulation device.

[0113] Device adjustment prompts can also be used to instruct the controller to automatically re-bind the target electrical stimulation device. For example, the device adjustment prompt can be an identifier parameter. When the controller detects this identifier parameter, it controls the target electrical stimulation device to automatically re-bind to the object. Each time the target electrical stimulation device is re-binded, it will cause a change in the detected target skin impedance.

[0114] After the controller detects that the device has been re-bound, it generates a gear adjustment prompt. The controller can automatically adjust the gear, or the object can manually adjust the gear according to the gear adjustment prompt.

[0115] After the preset number of gear adjustments, the controller calculates the correction parameters based on the target current and target skin impedance corresponding to each of the multiple gear adjustments. Specifically, since the correction relationship is a function of current, period, and impedance, the target current period remains constant under the target electrical stimulation mode, while the target current and target skin impedance differ after each gear adjustment. Using the target current and target skin impedance from multiple gear adjustments, the correction parameters are obtained by solving the correction relationship using the least squares method or weighted least squares method.

[0116] The terminal updates the initial parameters of the correction relationship to the correction parameters, thus obtaining the correction relationship after parameter correction.

[0117] In this embodiment, the initial parameters are adjusted by the subject through multiple adjustments of the setting. Since each subject has a different perception threshold, the calibration parameters can meet the individual needs of each subject. When the electrode state or skin state changes, the most comfortable setting for the subject can be found to adapt to changes in the impedance environment. By calculating the target current and target skin impedance during multiple setting adjustments, the calibration parameters of the calibration relationship can be obtained, which helps to obtain the optimal calibration parameters and ensure the comfort of using the electrical stimulation device.

[0118] In one embodiment, determining a target gear based on the object's selection of a gear position includes: obtaining the current gear position; determining a gear position adjustment amount in response to the object's adjustment operation on the current gear position; and determining the target gear position based on the current gear position and the gear position adjustment amount.

[0119] Here, "current setting" refers to the current setting of the target electrical stimulation device. The following explanation uses the example of adjusting the target setting based on the current setting.

[0120] The human-machine interface of the target electrical stimulation device displays a level adjustment button, which includes a level increase button and a level decrease button. In response to the user clicking the level increase button, the level adjustment amount is determined, and the current level is added to the level adjustment amount to obtain the target level.

[0121] Alternatively, in response to an object's click on the gear reduction button, determine the gear adjustment amount, subtract the gear adjustment amount from the current gear, and obtain the target gear.

[0122] In some embodiments, after the target electrical stimulation mode is selected, the controller controls the power supply device to output electrical stimulation at the lowest level of the target electrical stimulation mode, and gradually increases the level based on the lowest level to ensure that the subject gradually feels the electrical stimulation output at different levels, thereby selecting the most comfortable target level.

[0123] In this embodiment, the subject continuously adjusts the gear based on the current gear level so that the subject can select the most comfortable target gear level, thereby improving the comfort of the electrical stimulation device.

[0124] In one embodiment, the target electrical stimulation mode includes at least one sub-mode; the control method of the electrical stimulation device further includes: for each sub-mode, performing electrical stimulation output based on the current sub-mode, and when the rate of change of skin impedance under the current sub-mode exceeds a preset rate of change, determining the expected current and expected period corresponding to the current sub-mode based on the real-time skin impedance under the current sub-mode and the correction relationship corresponding to the current sub-mode; and performing electrical stimulation output according to the expected current and expected period corresponding to each sub-mode.

[0125] Each target electrical stimulation mode includes at least one sub-mode. Different sub-modes may correspond to different current amplitudes and current periods, resulting in different electrical stimulation outputs from the electrodes. Different sub-modes correspond to different correction relationships. For each sub-mode, the controller can determine the expected current and expected period corresponding to each sub-mode, thereby outputting electrical stimulation according to the expected current and expected period of the corresponding sub-mode in each sub-mode.

[0126] The method for determining the expected current and expected period in each sub-mode can be as follows: the controller outputs electrical stimulation based on the current sub-mode, and if the rate of change of skin impedance in the current sub-mode exceeds the preset rate of change, the expected current and expected period corresponding to the current sub-mode are determined based on the real-time skin impedance in the current sub-mode and the correction relationship corresponding to the current sub-mode, and electrical stimulation is output according to the expected current and expected period corresponding to each sub-mode.

[0127] In this embodiment, by dividing the target electrical stimulation mode into different sub-modes and detection nodes, for each sub-mode, the expected current and expected period are calculated based on the real-time skin impedance and correction relationship in that sub-mode. This method of correcting the stimulation parameters at different stages through multiple sub-mode nodes in the target electrical stimulation mode avoids the subject's electrical stimulation stinging sensation and ensures the stimulation experience at different stages, which is beneficial to improving the comfort of using the electrical stimulation device.

[0128] In one embodiment, determining the desired current and desired period based on real-time skin impedance and correction relationship includes: performing mean filtering on multiple real-time skin impedances collected within a continuous time period to obtain filtered skin impedance; and determining the desired current and desired period based on the filtered skin impedance and correction relationship.

[0129] During real-time skin impedance acquisition, multiple impedance values ​​are continuously collected, which may contain outliers. Therefore, interference filtering is necessary for these continuous impedance values. For example, average filtering can be used to remove outliers. The controller performs average filtering on the multiple real-time skin impedance values ​​collected over the continuous time period to obtain the filtered skin impedance. Based on the filtered skin impedance and the correction relationship, the desired current and desired period are determined.

[0130] In this embodiment, by performing mean filtering on multiple real-time skin impedances collected within a continuous time period, interference from outliers in the real-time skin impedance is avoided, thereby improving the accuracy of the calculated expected current and expected period.

[0131] To illustrate the control method and effects of the electrical stimulation device in this solution in detail, a specific embodiment is described below:

[0132] The following explanation uses a control scenario where the target electrical stimulation device is an electrical stimulation rehabilitation therapy device as an example. The electrical stimulation rehabilitation therapy device includes multiple electrical stimulation modes, such as tapping, kneading, and massage modes. Each electrical stimulation mode includes at least one sub-mode, and each electrical stimulation mode includes at least one intensity level. For example... Figure 5 The diagram shown is a schematic overall flow chart of the control method for an electrical stimulation device in one embodiment.

[0133] (1) Mode selection process

[0134] After the target electrical stimulation device is turned on, the process determines the target electrical stimulation mode in response to the subject's selection of the electrical stimulation mode on the target electrical stimulation device.

[0135] (2) Perception Consistency Parameter Correction Process

[0136] This process can include multiple steps, such as Figure 6 The diagram shown is a schematic of the perceived consistency parameter correction process in one embodiment.

[0137] a. Characteristic Waveform Stimulation: Each electrical stimulation pattern typically consists of several characteristic waveforms, which are usually stored in the device's memory during the development of the electrical stimulation device. In this step, electrical stimulation output is performed based on the target electrical stimulation pattern. In particular, to improve the interactive experience of the object during the perception consistency parameter correction process, the current amplitude of the initial characteristic waveform is generally set to the minimum level, such as 2V.

[0138] b. Sensation intensity adjustment: During electrical stimulation, a target intensity is determined based on the subject's choice of intensity level to maximize the subject's perception and achieve the best comfort.

[0139] c. Skin Impedance Acquisition: After the "Intensity Adjustment" step, record the current setting, determine the target current corresponding to the target setting, perform electrical stimulation output based on the target current, and acquire the target skin impedance between the electrodes, generating a device adjustment prompt. The device adjustment prompt is used to instruct the target electrical stimulation device to be re-bonded. After detecting that the device has been re-bonded, a setting adjustment prompt is generated to instruct the setting to be adjusted; continue with the step of selecting the setting based on the object to determine the target setting.

[0140] d. Impedance parameter calculation: During skin impedance acquisition, multiple real-time skin impedances will be continuously acquired, among which there may be outlier interference. It is necessary to filter out interference from the continuous real-time skin impedances. Mean filtering can be selected to remove outlier interference and obtain the filtered skin impedance.

[0141] e. Calculation of Perceptual Consistency Parameters: The principle is to construct a correction relationship based on the relationship between the energy generated during the electrical stimulation of the skin surface by the electrical stimulation device and the skin impedance, and the relationship between the generated charge and the skin impedance. The correction relationship includes a first relationship and a second relationship; the first relationship is used to characterize the correspondence between current, period, energy, and impedance; the second relationship is used to characterize the correspondence between current, period, charge, and impedance.

[0142] First relation: F'( =E=

[0143] Second relation: G( )=Q=IT

[0144] To construct controllable variables I and T, let , , ,but

[0145]

[0146]

[0147] , Used to characterize the relationship between impedance and current magnitude and current duration under certain sensing conditions, i.e. Used to characterize the electrothermal effect coefficient required at a certain impedance. It is used to characterize the electrical effect coefficient required at a certain impedance.

[0148] The primary and secondary relationships are specifically affected by electrode morphology, hardware parameters, and the site of electrical stimulation, and need to be obtained through analysis of the actual situation. After constructing the correction relationships, the correlation coefficients of the formula are stored in memory for later use.

[0149] For an electrical stimulation pattern with multiple sub-modes, i.e. multiple characteristic waveforms, the above steps are performed for each characteristic waveform, and the correlation coefficient is stored using the sub-mode ID as an identifier.

[0150] (3) Stimulus parameter adjustment process and sub-mode state monitoring process

[0151] By establishing sub-mode change nodes, the skin impedance change rate and real-time skin impedance of the sub-mode are detected. Combined with the corresponding correction relationship of the sub-mode, the expected current and expected period of each sub-mode are calculated. An example of any sub-mode is used for illustration.

[0152] The terminal inputs real-time skin impedance into the first relationship to obtain the electrothermal effect coefficient. Substituting real-time skin impedance into the second relationship yields the electrical effect coefficient. The quotient between the electrothermal effect coefficient and the electrical effect coefficient is the desired current. The quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient is the expected period. Desired current and expected cycle The calculation formulas can be expressed as follows:

[0153]

[0154]

[0155] Since the output resolution of the characteristic waveform remains constant at the hardware level and is output as discrete values, it needs to be processed by an interpolation filter or a decimation filter. The interpolation or decimation rate... ,in, The period of the characteristic waveform of the current current;

[0156] Since the characteristic waveform is discrete and constant, amplitude modulation is required through amplitude scaling, with the modulation factor being:

[0157]

[0158] in, The target characteristic waveform after adjustment by the desired period. This indicates that the amplitude of the discrete signal is averaged. The desired current characteristic waveform of the output is:

[0159]

[0160] (4) Impedance anomaly monitoring process

[0161] By detecting changes in real-time skin impedance, when the rate of change in skin impedance exceeds a preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship, and the target characteristic waveform is calculated based on subsequent steps.

[0162] (5) Waveform stimulation process

[0163] The target characteristic waveform is output according to the desired period and desired current so that the electrode outputs the corresponding electrical stimulation.

[0164] The control method for the aforementioned electrostimulation device, for the target electrostimulation mode selected by the subject, firstly outputs electrostimulation according to the target electrostimulation mode, and acquires the real-time skin impedance and skin impedance change rate between the electrodes during the electrostimulation process. When the skin impedance change rate exceeds the preset change rate, it indicates that the subject's skin state or electrode state has abruptly changed. If the electrostimulation output continues to be performed according to the target electrostimulation mode, it may lead to a decrease in the comfort of using the electrostimulation device. Then, the desired current and desired period are determined, and a current matching the desired current is output according to the desired period, so that the electrodes output the corresponding electrostimulation. Since the determination of the desired current and desired period takes into account the correction relationship between the real-time skin impedance and the target electrostimulation mode, the desired current and desired period can be adjusted in a timely manner based on the subject's real-time skin state and the current target electrostimulation mode, thereby improving the comfort of using the electrostimulation device when the electrodes output the corresponding electrostimulation. In addition, since the characteristic waveforms of different electrostimulation modes are different, the correction relationship in the current electrostimulation mode is corrected by the characteristic waveform and the electrostimulation perception consistency model, avoiding the loss of perception characteristics of the stimulation mode due to a single closed-loop feedback control model. The electrical stimulation sensation correction process supports acquiring correction parameters for the subject under multiple characteristic waveforms and maintaining these parameters at different stages through multiple sub-mode nodes within the current electrical stimulation mode. This avoids the subject experiencing stinging sensations during electrical stimulation while ensuring stimulation sensations at different stages. Based on experimental results, a closed-loop control model based on energy, charge, and impedance is proposed, and a correction relationship is established to adjust the current and period of the characteristic waveforms. This ensures that the subject can maintain sensations and avoid stinging sensations when the skin impedance environment changes.

[0165] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0166] Based on the same inventive concept, this application also provides a control device for an electrical stimulation device to implement the control method of the electrical stimulation device described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more control device embodiments of the electrical stimulation device provided below can be found in the limitations of the control method of the electrical stimulation device described above, and will not be repeated here.

[0167] In one exemplary embodiment, such as Figure 7 As shown, a control device 700 for an electrical stimulation device is provided, comprising: a first determining module 720, an acquiring module 740, a second determining module 760, and an output module 780, wherein:

[0168] The first determining module 720 is used to determine the target electrical stimulation mode and the corresponding correction relationship in response to the subject's selection of an electrical stimulation mode on the target electrical stimulation device; the target electrical stimulation device includes a pair of electrodes.

[0169] The acquisition module 740 is used to perform electrical stimulation output based on the target electrical stimulation mode and acquire the real-time skin impedance and skin impedance change rate between electrodes.

[0170] The second determining module 760 is used to determine the desired current and desired period based on the real-time skin impedance and the correction relationship when the skin impedance change rate exceeds the preset change rate.

[0171] The output module 780 is used to output a current that matches the desired current according to the desired cycle, so that the electrodes output the corresponding electrical stimulation.

[0172] The control device of the aforementioned electrostimulation device, for the target electrostimulation mode selected by the subject, first outputs electrostimulation according to the target electrostimulation mode, and obtains the real-time skin impedance and skin impedance change rate between the electrodes during the electrostimulation process. When the skin impedance change rate exceeds the preset change rate, it indicates that the subject's skin condition or electrode condition has changed abruptly. If the electrostimulation output continues to be output according to the target electrostimulation mode, it may lead to a decrease in the comfort of using the electrostimulation device. Then, the desired current and desired period are determined, and a current matching the desired current is output according to the desired period, so that the electrodes output the corresponding electrostimulation. Since the determination of the desired current and desired period takes into account the correction relationship between the real-time skin impedance and the target electrostimulation mode, the desired current and desired period can be adjusted in a timely manner based on the subject's real-time skin condition and the current target electrostimulation mode, thereby improving the comfort of using the electrostimulation device when the electrodes output the corresponding electrostimulation.

[0173] In one embodiment, the correction relationship includes a first relationship and a second relationship; the first relationship is used to characterize the correspondence between current, period, energy, and impedance; the second relationship is used to characterize the correspondence between current, period, charge, and impedance; based on the real-time skin impedance and the correction relationship, the desired current and desired period are determined, and the second determining module 760 is further used to: determine the electrothermal effect coefficient based on the real-time skin impedance and the first relationship; determine the electrical effect coefficient based on the real-time skin impedance and the second relationship; take the quotient between the electrothermal effect coefficient and the electrical effect coefficient as the desired current, and take the quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient as the desired period.

[0174] In one embodiment, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship. The second determining module 760 is further configured to: correct the initial parameters of the correction relationship to obtain the correction relationship after parameter correction when the object's parameter correction mode is selected as parameter correction, or when the time interval between the last correction time and the current time reaches a preset correction period; and determine the desired current and desired period based on the real-time skin impedance and the correction relationship after parameter correction.

[0175] In one embodiment, the initial parameters of the calibration relationship are corrected to obtain the parameter-corrected calibration relationship. The second determining module 760 is further configured to: determine the target level based on the object's selection of the level, and determine the target current corresponding to the target level; perform electrical stimulation output based on the target current, and obtain the target skin impedance between the electrodes and generate a device adjustment prompt; the device adjustment prompt is used to indicate that the target electrical stimulation device is re-bound; after detecting that the device has been re-bound, generate a level adjustment prompt; the level adjustment prompt is used to indicate that the level is adjusted; continue to execute the step of determining the target level based on the object's selection of the level, and solve for the calibration parameters of the calibration relationship based on the target current and target skin impedance corresponding to multiple level adjustments; update the initial parameters of the calibration relationship to the calibration parameters to obtain the parameter-corrected calibration relationship.

[0176] In one embodiment, the target gear is determined based on the object's selection of the gear. The second determining module 760 is further configured to: obtain the current gear; determine the gear adjustment amount in response to the object's adjustment operation on the current gear; and determine the target gear based on the current gear and the gear adjustment amount.

[0177] In one embodiment, the target electrical stimulation mode includes at least one sub-mode; the control device 700 of the stimulation device further includes a sub-mode control module, which is used to: for each sub-mode, perform electrical stimulation output based on the current sub-mode, and if the rate of change of skin impedance under the current sub-mode exceeds a preset rate of change, determine the expected current and expected period corresponding to the current sub-mode based on the real-time skin impedance under the current sub-mode and the correction relationship corresponding to the current sub-mode; and perform electrical stimulation output according to the expected current and expected period corresponding to each sub-mode.

[0178] In one embodiment, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship. The second determining module 760 is further configured to: perform mean filtering on multiple real-time skin impedances collected within a continuous time period to obtain filtered skin impedance; and determine the desired current and desired period based on the filtered skin impedance and the correction relationship.

[0179] Each module in the control device of the aforementioned electrical stimulation equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0180] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a control method for an electrical stimulation device. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0181] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0182] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0183] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0184] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0185] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0186] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0187] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0188] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A control method for an electrical stimulation device, characterized in that, The method includes: In response to the subject's selection of an electrical stimulation mode on a target electrical stimulation device, a target electrical stimulation mode is determined, and a correction relationship corresponding to the target electrical stimulation mode is determined; the target electrical stimulation device includes paired electrodes; Based on the target electrical stimulation mode, electrical stimulation output is performed to obtain the real-time skin impedance and skin impedance change rate between the electrodes; If the rate of change of skin impedance exceeds a preset rate of change, the desired current and desired period are determined based on the real-time skin impedance and the correction relationship. The electrode outputs a current that matches the desired current according to the desired cycle, so that the electrode outputs the corresponding electrical stimulation.

2. The method according to claim 1, characterized in that, The correction relationship includes a first relationship and a second relationship; the first relationship is used to characterize the correspondence between current, period, energy, and impedance; the second relationship is used to characterize the correspondence between current, period, charge, and impedance. The step of determining the desired current and desired period based on the real-time skin impedance and the correction relationship includes: The electrothermal effect coefficient is determined based on the real-time skin impedance and the first relationship; The electrical effect coefficient is determined based on the real-time skin impedance and the second relationship; The quotient between the electrothermal effect coefficient and the electrical effect coefficient is taken as the desired current, and the quotient between the square of the electrical effect coefficient and the electrothermal effect coefficient is taken as the desired period.

3. The method according to claim 1, characterized in that, The step of determining the desired current and desired period based on the real-time skin impedance and the correction relationship includes: When the parameter correction mode for the object is selected as parameter correction, or when the time interval between the last correction time and the current time reaches the preset correction period, the initial parameters of the correction relationship are corrected to obtain the parameter-corrected correction relationship. Based on the real-time skin impedance and the correction relationship after parameter correction, the desired current and desired period are determined.

4. The method according to claim 3, characterized in that, The step of correcting the initial parameters of the correction relationship to obtain the parameter-corrected correction relationship includes: Based on the object's selection of the gear, the target gear is determined, and the target current corresponding to the target gear is determined; Electrical stimulation is output based on the target current, and the target skin impedance between the electrodes is acquired, generating a device adjustment prompt; the device adjustment prompt is used to indicate that the target electrical stimulation device should be re-attached. After detecting that the device has been re-paired, a gear adjustment prompt is generated; the gear adjustment prompt is used to indicate that the gear should be adjusted. Continue executing the step of selecting the gear based on the object and determining the target gear. Based on multiple gear adjustments, adjust the corresponding target current and target skin impedance to obtain the correction parameters of the correction relationship. The initial parameters of the correction relationship are updated to the correction parameters to obtain the correction relationship after parameter correction.

5. The method according to claim 4, characterized in that, The determination of the target gear based on the selection of the gear by the object includes: Get the current gear; In response to the object's adjustment operation on the current gear, determine the gear adjustment amount; The target gear is determined based on the current gear and the gear adjustment amount.

6. The method according to claim 1, characterized in that, The target electrical stimulation pattern includes at least one sub-pattern; the method further includes: For each sub-mode, electrical stimulation output is performed based on the current sub-mode, and if the rate of change of skin impedance under the current sub-mode exceeds the preset rate of change, the expected current and expected period corresponding to the current sub-mode are determined based on the real-time skin impedance under the current sub-mode and the correction relationship corresponding to the current sub-mode. Electrical stimulation output is performed based on the expected current and expected period corresponding to each sub-mode.

7. The method according to claim 1, characterized in that, The step of determining the desired current and desired period based on the real-time skin impedance and the correction relationship includes: The mean filter is applied to multiple real-time skin impedances collected within a continuous time period to obtain the filtered skin impedance. Based on the filtered skin impedance and the correction relationship, the desired current and desired period are determined.

8. A control device for an electrical stimulation device, characterized in that, The device includes: A first determining module is configured to, in response to the subject's selection of an electrical stimulation mode on a target electrical stimulation device, determine a target electrical stimulation mode and determine a correction relationship corresponding to the target electrical stimulation mode; the target electrical stimulation device includes paired electrodes; The acquisition module is used to perform electrical stimulation output based on the target electrical stimulation mode and acquire the real-time skin impedance and skin impedance change rate between the electrodes; The second determining module is used to determine the desired current and desired period based on the real-time skin impedance and the correction relationship when the skin impedance change rate exceeds the preset change rate. The output module is used to output a current matching the desired current according to the desired period, so that the electrode outputs the corresponding electrical stimulation.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electrotherapy pulse signal control method and electrotherapy equipment

    CN113893457A

  • Pulse output method, controller, massage instrument and storage medium

    CN116350945A

  • Therapeutic stimulator system

    US11395919B1