WO2021253951A1 - Massage device, control method for massage device, and storage medium - Google Patents
Massage device, control method for massage device, and storage medium Download PDFInfo
- Publication number
- WO2021253951A1 WO2021253951A1 PCT/CN2021/086896 CN2021086896W WO2021253951A1 WO 2021253951 A1 WO2021253951 A1 WO 2021253951A1 CN 2021086896 W CN2021086896 W CN 2021086896W WO 2021253951 A1 WO2021253951 A1 WO 2021253951A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- massage
- control
- pulse signal
- roller
- controller
- Prior art date
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H7/00—Devices for suction-kneading massage; Devices for massaging the skin by rubbing or brushing not otherwise provided for
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/16—Physical interface with patient
- A61H2201/1602—Physical interface with patient kind of interface, e.g. head rest, knee support or lumbar support
- A61H2201/1609—Neck
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5005—Control means thereof for controlling frequency distribution, modulation or interference of a driving signal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5023—Interfaces to the user
- A61H2201/5025—Activation means
- A61H2201/5028—Contact activation, i.e. activated at contact with a surface of the user to be treated
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5058—Sensors or detectors
- A61H2201/5082—Temperature sensors
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2205/00—Devices for specific parts of the body
- A61H2205/04—Devices for specific parts of the body neck
Definitions
- This application relates to the technical field of massage equipment, in particular to a massage equipment, a control method of the massage equipment, and a storage medium.
- the massage equipment can eliminate the fatigue of the user and protect the health of the joints or skin of various parts of the user.
- the embodiment of the application discloses a massage device, a control method of the massage device, and a storage medium, which can simplify the control method of the massage device, prevent misoperation, and improve the operation efficiency.
- the embodiment of the application discloses a massage device, which includes a controller, a roller device, and a massage component, and the controller is electrically connected to the roller device and the massage module, respectively;
- the roller device is used to send a first pulse signal and a second pulse signal to the controller when the roller of the roller device rotates;
- the controller is configured to determine the scroll direction of the roller according to the first pulse signal and the second pulse signal, generate a control instruction according to the scroll direction, and send the control instruction to the massage component;
- the massage component is used to operate according to the control instruction.
- the embodiment of the application discloses a method for controlling massage equipment, including:
- a control instruction is generated according to the scroll direction, and the operation of the massage assembly is controlled according to the control instruction.
- An embodiment of the present application discloses a massage device, including a memory and a processor, and a computer program is stored in the memory.
- the processor realizes 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.
- the embodiment of the application discloses a massage device, a method for controlling the massage device, and a storage medium.
- the roller of the massage device rotates, the roller device sends the first pulse signal and the second pulse signal to the controller respectively, and the controller is based on the first pulse signal and the second pulse signal.
- a pulse signal and a second pulse signal determine the rolling direction of the roller, and generate a control command according to the rolling direction to control the operation of the massage component of the massage device according to the control command.
- the user only needs to simply operate the roller to realize the control of the massage device , Without distinguishing multiple keys, can simplify the control mode of the massage equipment, prevent misoperation, and improve the operation efficiency.
- Fig. 1 is an application scenario diagram of a method for controlling a massage device in an embodiment
- FIG. 2 is a structural block diagram of a massage device in an embodiment
- FIG. 3 is a block diagram of a massage device in another embodiment
- FIG. 4 is a block diagram of a massage device in another embodiment
- Figure 5 is a flow chart of a method for controlling a massage device in an embodiment
- Figure 6 is a flowchart of a method for controlling massage equipment in another embodiment
- Figure 7 is a flow chart of controlling the massage device by pressing the roller in an embodiment
- Figure 8 is a block diagram of a control device of a massage device in an embodiment
- Fig. 9 is a structural block diagram of a massage device in another embodiment.
- 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.
- the first massage module may be referred to as the second massage module, and similarly, the second massage module may be referred to as the first massage module. Both the first massage module and the second massage module are massage modules, but they are not the same massage module.
- Fig. 1 is an application scenario diagram of a method for controlling a massage device in an embodiment.
- the massage device 10 may be a neck massager.
- multiple buttons are usually set on the neck massager to control the neck massager.
- it is usually difficult to see the multiple buttons set on the neck massager, making it difficult to distinguish each button, prone to misoperation, and low operating efficiency.
- the massage device 10 may include a roller device 110 and a massage component 120, wherein the massage component 120 can act on the user's body parts, such as the user's skin and joints, to provide massage services.
- the user can rotate the roller in the roller device 110 to control the operating state of the massage assembly 120.
- the roller device 110 can generate a first pulse signal and a second pulse signal.
- the massage device 10 can determine the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device 110, so as to generate a control command according to the determined rolling direction, and control the operation of the massage assembly 120 according to the control command.
- the massage device 10 shown in FIG. 1 is only a structure of the massage device, and the massage device in the embodiment of the present application is not limited to the structure shown in FIG. 1, and may also be other structures.
- the massage equipment in the embodiment of the present application may be various massage equipment such as a neck massager, a face massager, and an eye massager, which is not limited in the embodiment of the present application.
- a massage device 10 which includes a roller device 110, a controller 130, and a massage component 120, wherein the controller 130 is electrically connected to the roller device 110 and the massage component 120, respectively.
- the roller device 110 is used to send a first pulse signal and a second pulse signal to the controller 130 when the roller 112 of the roller device 110 rotates.
- the roller device 110 may include a roller 112, and the user can rotate the roller 112 in a certain direction by operating the roller 112 to control the functional operation of the massage device 10.
- the roller device 110 may be provided on the handle of the massage device 10 so that the user can easily operate the roller during the process of using the massage device 10.
- the roller device 110 may further include a roller control circuit, and the output end of the roller control circuit may be connected to the controller 130.
- the roller control circuit can be triggered to generate a first pulse signal and a second pulse signal respectively.
- the first pulse signal can be distinguished from the second pulse signal.
- the first pulse signal and the second pulse signal are The difference may include one or more of different frequencies, different amplitudes, and different widths.
- the first signal generating unit may include a first switch
- the second signal generating unit may include a second switch.
- the first switch can be triggered to turn on, so that the electrical signal of the first pulse signal is turned on.
- the level is pulled low and triggers the second switch to turn on, so that the level of the second pulse signal is pulled low.
- the controller 130 can determine the scroll direction of the scroll wheel 112 by detecting the time sequence of the sudden change of the first pulse signal and the second pulse signal to a low level, which can make the determination of the scroll direction more accurate.
- the controller 130 is configured to determine the scroll direction of the roller 112 according to the first pulse signal and the second pulse signal, generate a control command according to the scroll direction, and send the control command to the massage component 120.
- the controller 130 can receive the pulse signal sent by the roller control circuit of the roller device 110, and analyze the pulse signal to determine whether the received pulse signal is the first pulse signal or the second pulse signal, and can record each time the first pulse signal is received. The receiving time of the first pulse signal and the second pulse signal. In an embodiment, the controller 130 is further configured to determine the scrolling direction of the roller 112 according to the sequence of receiving moments of receiving the first pulse signal and the second pulse signal, respectively. The controller 130 can record the receiving time of the first pulse signal and the second pulse signal continuously received.
- the controller 130 may generate a control instruction according to the scroll direction, so as to control the operation of the massage assembly 120 according to the control instruction.
- the controller 130 is also used to adjust the control parameters of the massage assembly according to the determined scrolling direction, and generate control instructions according to the adjusted control parameters, where the control parameters may refer to the control parameters used to control the massage assembly 120
- the parameters of the operating state for example, the control parameters can include the massage parameters of the massage module on the massage component 120, the selected massage mode, etc., can also include the temperature parameters of the heating module on the massage component 120, and can also include the activation of the massage component 120 Control parameters such as, stop, and running time are not limited here.
- the adjustment direction can include increase and decrease.
- the controller 130 can increase the control parameter of the massage component
- control The device 130 can reduce the control parameters of the massage component.
- the controller 130 can increase the massage strength of the massage module currently running on the massage assembly
- the controller 130 can decrease the massage module currently running on the massage assembly.
- the massage strength but not limited to this.
- the control parameters of the massage components can be arranged in a certain order.
- the massage mode of the massage component can include multiple massage modes such as an electric stimulation massage mode and a vibration massage mode, which can be arranged in accordance with the electric stimulation massage mode. -The vibration massage mode is arranged in order.
- the adjustment direction can include switching to the previous one and switching to the next one.
- the controller 130 can switch the control parameter of the massage component to the previous parameter, and when the scrolling direction of the roller is the second direction At this time, the controller 130 can switch the control parameter of the massage component to the latter parameter.
- the massage component 120 is used to operate according to control instructions.
- the massage component 120 can operate according to the control instructions sent by the controller 130.
- the massage component 120 is further configured to operate according to the control command, so that the operating state of each functional module on the massage component 120 matches the adjusted control parameter.
- the controller 130 may determine the adjusted control parameters in the corresponding function module of the massage component 120, and send the control instruction to the corresponding module in the massage component 120, so that the corresponding function module in the massage component 120 The running state matches the adjusted control parameters.
- the control command can be sent to the currently running massage module to control the currently running massage module according to the adjusted
- the massage force is used to perform massage operations;
- the adjusted control parameter is a temperature parameter, and corresponding to the temperature module in the massage component 120, a control command can be sent to the temperature module to control the temperature module to heat to the adjusted temperature parameter.
- the roller device when the roller of the massage device rotates, the roller device sends a first pulse signal and a second pulse signal to the controller respectively, and the controller determines the rolling direction of the roller according to the first pulse signal and the second pulse signal , And generate a control command according to the scroll direction to control the operation of the massage component of the massage device according to the control command.
- the user only needs to simply operate the scroll wheel to control the massage device without distinguishing multiple buttons, which can simplify massage
- the control method of the equipment prevents misoperation and improves the operation efficiency.
- the roller device 110 in the above-mentioned massage device 10 further includes an encoder 114, and the encoder 114 can be electrically connected to the controller 130.
- the encoder 114 is used to send a first pulse signal and a second pulse signal to the controller 130 when the roller 112 rotates by a predetermined angle.
- the encoder 114 can be arranged on one side of the roller 112, and when the roller 112 rotates, the encoder 114 can be used to sense the rolling direction and the rotation angle of the roller 112.
- the encoder 114 can be electrically connected to the roller control circuit.
- the encoder 114 senses that the rotation angle of the roller 112 reaches a preset angle, it can trigger the first signal generating unit of the roller control circuit once and the second signal generation unit of the roller control circuit once according to the sensed rolling direction.
- the signal generating unit generates a first pulse signal and a second pulse signal.
- the preset angle can be set according to actual requirements, such as 15° (degree), 20°, 38°, etc., which is not limited here.
- the controller 130 continuously receives a first pulse signal and a second pulse signal, and can determine that the encoder 114 outputs a pulse. If the scrolling operation of the roller 112 is considered as an effective control operation, it can generate a control command according to the scrolling direction of the roller 112. To control the operation of the massage assembly 120.
- the encoder 114 may trigger the roller control circuit to generate the first pulse signal or the second pulse signal when the roller 112 is sensed to rotate, that is, according to the sensed rolling direction.
- the encoder 114 can also trigger the roller control circuit to generate the first pulse signal or the second pulse signal according to the sensed rolling direction when the sensor roller 112 rotates and the rotation angle does not reach the preset angle.
- the encoder 114 can also trigger the control circuit of the roller 112 to generate the first pulse signal and the second pulse signal when the rotation angle of the roller 112 is sensed to reach the preset angle. That is, the pulse signal generated by the first trigger can be triggered when the roller 112 starts to rotate, in the process of rotation, or when the rotation reaches a preset angle.
- the trigger timing is not specifically limited, and the encoder 114 can sense the rotation angle of the roller 112 When the preset angle is reached, it triggers to generate another pulse signal.
- the controller 130 does not receive the first pulse signal and the second pulse signal, or If only one of the first pulse signal and the second pulse signal is received, the rolling operation of the roller 112 will not be recognized as an effective control operation, which can prevent the small-angle rolling of the roller from triggering the adjustment of the control parameters of the massage component 120, and further Reduce the possibility of misoperation and improve the accuracy of operation.
- the aforementioned preset angle may be determined according to the number of pulsations output by the encoder 114 when the roller 112 rotates one revolution, where the number of pulsations output by the encoder 114 when the roller 112 rotates one revolution can be the same as the control gear of the massage assembly 120.
- the number of bits matches, and different control gears can correspond to different control parameters.
- the control parameters corresponding to each control gear can be from small to large, or from large to small.
- the massage component 120 includes an electric stimulation massage module, and the massage intensity of the electric stimulation massage module may include 12 control gears ranging from 1 to 12.
- the intensity of the electrical signal can be higher and higher, and the number of pulsations output by the encoder 114 when the roller rotates once can be set to 12.
- the controller can adjust the control gear of the massage unit according to the rolling direction of the roller.
- the user can select the control gear position of the massage assembly 120 by turning the roller 112, and can select all the control gear positions just once when the roller rotates one circle, the user does not need to remember the angle of rotation specifically, which can improve the convenience of the control gear selection. Improve operational efficiency.
- the controller 130 is further configured to determine the number of pulses output by the encoder 114 during the preset time period according to the number of times the first pulse signal and the second pulse signal are continuously received within the preset time period.
- the continuous reception of the first pulse signal and the second pulse signal may refer to the continuous reception of a first pulse signal and a second pulse signal, and the continuous reception of a first pulse signal and a second pulse signal may correspond to a pulse.
- the controller 130 can count the number of consecutively receiving a first pulse signal and a second pulse signal, and use this number as the number of pulses output by the encoder 114. For example, the controller 130 can receive the first pulse signal three times in a row within 3 seconds.
- a pulse signal and a second pulse signal that is, a total of three first pulse signals and three second pulse signals are received, and the number of pulses output by the encoder 114 can be determined to be three.
- the preset duration can be set according to actual needs, such as 2 seconds, 3 seconds, 5 seconds, etc., which are not limited here.
- the controller 130 is also used to determine the adjusted control gear position of the massage component according to the scroll direction and the number of pulses output by the encoder 114 within the preset time period, and obtain the control parameters corresponding to the adjusted control gear position, according to the adjusted control
- the control parameter corresponding to the gear generates a control command.
- the controller 130 can be used to determine the adjustment direction of the control gear of the massage component according to the rolling direction of the roller 112, and determine the number of adjustment gears of the control gear according to the number of pulses output by the encoder 114 within a preset time period, And according to the adjustment direction and the number of adjustment gears, the adjusted control gear of the massage component is determined.
- the number of adjustment gears can match the number of pulses output by the encoder 114 within the preset time period.
- controlling the adjustment direction of the gear position may include increasing the gear position and lowering the gear position.
- the corresponding adjustment direction may be the increasing gear, and when the scrolling direction of the roller 112 is the first direction, In two directions, the corresponding adjustment direction can be lower gear.
- the controller 130 can obtain the current control gear position of the massage component 120, and if the scroll direction is the first direction, the current control gear position can be increased by the number of adjustment gear positions that matches the number of pulses output by the encoder 114 within the preset time period. The adjusted control gear of the massage component 120 is obtained.
- the current control gear can be reduced by the number of adjustment gears matching the number of pulses output by the encoder 114 within the preset time period to obtain the adjusted control gear of the massage assembly 120.
- the current control gear position of the massage assembly 120 is 4 gears.
- the rolling direction of the roller 112 is to roll forward, the corresponding adjustment direction is to increase the gear position.
- the number of pulses output by the encoder 114 within 1 second is 2, and the corresponding If the number of adjustment gears is 2, the controller 130 can add 2 control gears on the basis of 4 gears, that is, adjust the control gear to 6 gears.
- each time the controller 130 continuously receives a first pulse signal and a second pulse signal it can be based on the sequence of receiving the first pulse signal and the second pulse signal. Determine the scrolling direction of the scroll wheel, and increase or decrease one gear on the basis of the current control gear according to the scrolling direction.
- the controller 130 After the controller 130 determines the adjusted control gear position of the massage component 120, it can obtain the control parameter corresponding to the adjusted control gear position, and generate a control command according to the control parameter corresponding to the adjusted control gear position.
- the controller 130 may send the generated control instruction to the massage component 120 to control the massage component 120 to operate according to the adjusted control gear.
- the massage component 120 is also used to operate according to the control instruction, so that the operating state matches the control parameter corresponding to the adjusted control gear.
- the controller 130 may send the generated control instruction to the functional module corresponding to the adjusted control gear in the massage component 120, so as to control the corresponding functional module according to the adjusted control gear according to the control instruction. Position operation, so that the operating state of the corresponding function module matches the control parameter corresponding to the adjusted control gear.
- the corresponding functional module in the massage component 120 is the heating module, and the controller 130 can adjust the generated control
- the instruction is sent to the heating module to control the heating module to adjust the temperature to 20°C.
- control gear of the massage component can also be adjusted in other ways.
- the controller is also used to determine the target gear according to the rolling direction of the roller during the current rotation and the current gear of the massage component when it is detected that the roller stops rotating, and obtain the control corresponding to the target gear Parameters, generate control commands based on the control parameters corresponding to the target gear.
- the process of turning the roller from opening to stopping can be regarded as a rotation operation.
- the controller detects that the roller stops rotating, it can determine the end of the current rotation operation of the roller.
- the massage component can be controlled The gear is adjusted once.
- the controller does not receive the pulse signal sent by the roller device for a certain length of time, it can determine that the roller stops rotating.
- the certain length of time can be set according to actual needs, such as 1 second, 3 seconds, 400 milliseconds, etc., but not limited to this.
- the controller After the controller determines that the current rotation operation of the scroll wheel is finished, it can determine the scroll direction of the scroll wheel during the current rotation according to the sequence of the first pulse information and the second pulse signal sent by the scroll wheel during the current rotation process, and according to The rolling direction and the current gear of the massage assembly determine the target gear, and the target gear may be an adjacent gear of the current gear.
- the target gear when the scrolling direction of the roller during this rotation is the first direction, the target gear can be the next gear of the current gear (that is, the current gear is increased by one gear).
- the target gear can be the previous gear of the current gear (that is, the current gear is lowered by one gear).
- the rolling directions corresponding to increasing gears and decreasing gears can also be opposite directions, which are not limited here.
- the control gear of the massage unit is adjusted only once, regardless of the amount of rotation of the roller during that operation, so as to prevent the user from turning the roller too much in a single rotation.
- continuous gear shifting causes the gear position to change too quickly, causing a bad experience for the user.
- the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
- the roller device 110 further includes a button 116, and the button 116 can be electrically connected to the controller 130.
- the massage component 120 may include an electric stimulation massage module 122, a vibration massage module 124, and a heating module 126.
- the electric stimulation massage module 122, the vibration massage module 124, and the heating module 126 may be electrically connected to the controller 130, respectively.
- the button 116 is used to send a pressing signal to the controller 130 when the scroll wheel 112 is pressed.
- the encoder 114 is arranged on one side of the scroll wheel 112, and the button 116 can be arranged on the other side of the scroll wheel 112.
- the button 116 can be driven to be pressed.
- the button 116 can be electrically connected to the scroll wheel control circuit.
- the scroll wheel control circuit can be triggered to generate a pressing signal and send the pressing signal to the controller 130.
- the controller 130 is also used to generate a state switching instruction according to the pressing signal, and the state switching instruction is used to switch the working state of the target function of the massage device 110.
- the controller 130 receives the pressing signal sent by the button 116 through the scroll wheel control circuit, it can switch the working state of the target function of the massage device 110 according to the pressing signal.
- the target function can be set and selected according to actual needs, for example, target Functions may include, but are not limited to, massage function, heating function, switch machine function, voice prompt function, etc.
- the working state of each target function can be different. For example, the working state of the massage function can be switched to the massage mode, the working state of the heating function can be switched on and off, and the working state of the switch function can be switched on and off. Wait.
- the controller 130 is further configured to determine the duration range to which the receiving duration of continuously receiving the pressing signal belongs, and generate a state switching instruction according to the duration range.
- the pressing signal can be continuously sent to the controller 130.
- the controller 130 receives the pressing signal generated by the trigger of the button 116, it can count the duration of receiving the pressing signal continuously, and based on the receiving duration of the received pressing signal, the duration of the button 116 being continuously pressed can be determined.
- the controller 130 may determine the duration range to which the receiving duration of continuously receiving the pressing signal belongs, and generate a state switching instruction according to the duration range, and different duration ranges may correspond to different state switching instructions. In some embodiments, it may include at least a first duration range and a second duration range, wherein the first duration range may be smaller than the second duration range.
- the operation of pressing the button 116 can be regarded as a short press operation
- the operation of pressing the button 116 can be regarded as a long-press operation.
- the short-press operation and long-press operation of the button 116 can respectively correspond to different target functions.
- the short-press operation is used to switch the working state of the massage function
- the long-press operation is used to switch the power-on and off-state of the massage device 10
- Short-press operation and long-press operation can also correspond to different working states under the same target function.
- short-press operation is used to turn on the massage device 10
- long-press is used to turn off the massage device 10, etc., which can be set according to actual needs. There is no limitation in the embodiment of this application.
- the controller 130 may, after determining that the pressing operation of the button 116 ends, then determine the duration range to which the receiving duration of the pressing signal corresponding to the pressing operation belongs. Optionally, if the controller 130 does not receive the pressing signal within a certain period of time, it may determine that the pressing operation of the button 116 is ended.
- the certain period of time may be set according to actual requirements, such as 20 ms (milliseconds), 30 ms, and so on.
- the massage assembly 120 may include at least one massage module, and the massage module is electrically connected to the controller 130.
- the controller 130 is further configured to obtain the target massage mode to be switched when the receiving time length of the continuous reception of the pressing signal belongs to the first time range, generate a mode switching instruction according to the target massage mode, and send the command to the current running
- the massage module sends a mode switching instruction, and the mode switching instruction is used to control the running massage module to perform the massage function according to the target massage mode.
- the massage component 120 can electrically stimulate the massage module 122 and the vibration massage module 124.
- the electrical stimulation massage module 122 may include at least two electrode plates, and electrical signals (such as voltage signals/current signals, etc.) output by the electrode plates act on the skin of the user to produce a massage effect.
- the vibration massage module 124 may include one or more vibration motors, and when the vibration motors vibrate, they can produce a vibration massage effect on the part of the user.
- the user can switch the massage mode of the currently running massage module by pressing the roller 112 by short-pressing.
- the massage mode can include soothing mode, smart mode, strong mode, etc., massage intensity and massage duration of different massage modes, etc.
- the control parameters can be different.
- the massage mode corresponding to the electrical stimulation massage module 122 can be switched, and the electrode pads of the electrical stimulation massage module 122 can output electrical signals of different intensities in different massage modes.
- the massage mode corresponding to the vibration massage module 124 can be switched, and the vibration motor of the vibration massage module 124 can vibrate with different frequencies and different amplitudes in different massage modes.
- the user can also rotate the operating roller 112 to adjust the control operation of the currently running massage module.
- the massage mode of the electric stimulation massage module 122 is switched to the relaxation mode, and then the roller 112 is rotated forward or backward to increase or decrease the massage intensity level of the electric stimulation massage module 122.
- the controller 130 is further configured to generate a heating start instruction and send the heating start instruction to the heating module 126 when the receiving duration of the pressing signal belongs to the second duration range.
- the user can press the roller 112 by a long press operation to control the massage assembly 120 to turn on the heating function.
- the heating module 126 is used to start heating according to the heating start instruction until the temperature of the heating module reaches the target temperature.
- the target temperature may be a preset temperature parameter, such as 15°C, 20°C, etc., or a temperature parameter selected by the user.
- the user can rotate the roller 112 to select the target temperature.
- the target temperature can be increased or decreased by rotating the roller 112 forward or backward.
- the heating module 126 After the heating module 126 starts heating, it can feed back the temperature to the controller 130 in real time or according to a preset time period.
- the controller 130 detects that the temperature of the heating module 126 reaches the target temperature, it can control the control circuit corresponding to the heating module 126 to be disconnected to stop the heating module 126 from heating.
- the pressing of the roller 112 can correspond to other target functions.
- the currently running massage module can be switched by short pressing the roller 112, and the running electric stimulation massage module 122 can be switched to the vibration massage module 124 to run. , Or switch the operating vibration massage module 124 to the electrical stimulation massage module 122, but not limited to this.
- the massage component 120 may only include one or two of the electric stimulation massage module 122, the vibration massage module 124, and the heating module 126, and may also include other functional modules, which are not limited herein.
- a method for controlling a massage device is provided, which can be applied to the massage devices described in the foregoing embodiments.
- the control method of the massage equipment may include the following steps:
- Step 510 When the roller of the roller device rotates, determine the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device.
- step 510 includes: recording the first moment when the first pulse signal generated by the roller device is acquired, and the second moment when the second pulse signal generated by the roller device is acquired; comparing the first moment with the second moment Order, and determine the scrolling direction of the scroll wheel according to the comparison result. If the comparison result is that the first moment is earlier than the second moment, then the scrolling direction is the first direction; if the comparison result is that the second moment is earlier than the first moment, then The scroll direction is the second direction.
- step 520 a control instruction is generated according to the scroll direction, and the operation of the massage assembly is controlled according to the control instruction.
- step 520 includes: adjusting the control parameters of the massage assembly according to the scrolling direction; generating control instructions according to the adjusted control parameters, and controlling the operation of the massage assembly according to the control instructions, so that the operation status and adjustment of the massage assembly After the control parameters match.
- step 520 includes: when it is detected that the roller stops rotating, the target gear is determined according to the rolling direction of the roller during the current rotation and the current gear of the massage component, wherein the target gear is the current gear The adjacent gear of the position; obtain the control parameter corresponding to the target gear, and generate the control instruction according to the control parameter corresponding to the target gear; control the operation of the massage component according to the control instruction, so that the operation state of the massage component corresponds to the target gear The control parameters match.
- the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction to control according to the control command
- the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple keys. This simplifies the control method of the massage equipment, prevents misuse, and improves the operation. efficient.
- control method of the massage equipment may include the following steps:
- Step 602 When the roller rotates by a preset angle, obtain a first pulse signal and a second pulse signal generated by the encoder of the roller device respectively.
- the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates one circle, the number of pulsations matches the number of control gears of the massage assembly, and different control gears correspond to different control parameters.
- the preset angle is the ratio of 360 degrees to the number of pulsations.
- Step 604 Determine the scrolling direction of the scroll wheel according to the acquired first pulse signal and second pulse signal.
- Step 606 Determine the number of pulses output by the encoder within the preset duration according to the number of times the first pulse signal and the second pulse signal are continuously acquired within the preset duration.
- Step 608 Determine the adjusted control gear of the massage component according to the scroll direction and the number of pulses output by the encoder within the preset time period.
- step 608 includes: determining the adjustment direction of the control gear of the massage assembly according to the rolling direction, wherein when the rolling direction is the first direction, the adjustment direction is the increasing gear, and when the rolling direction is the second direction, The adjustment direction is lower gear; the number of adjustment gears of the control gear is determined according to the number of pulses output by the encoder during the preset time; the adjusted control gear of the massage component is determined according to the adjustment direction and the number of adjustment gears.
- Step 610 Obtain control parameters corresponding to the adjusted control gear.
- Step 612 Generate a control instruction according to the control parameter corresponding to the adjusted control gear, and control the operation of the massage assembly according to the control instruction, so that the operation state of the massage assembly matches the control parameter corresponding to the adjusted control gear.
- the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
- control method of the above-mentioned massage device further includes the following steps:
- Step 702 When the scroll wheel is pressed, obtain a pressing signal triggered by a button of the scroll wheel device.
- Step 704 Generate a state switching instruction according to the pressing signal, and switch the working state of the target function of the massage device according to the state switching instruction.
- the step of generating the state switching instruction according to the pressing signal includes: obtaining the pressing duration of the scroll wheel according to the pressing signal; determining the duration range to which the pressing duration belongs, and generating the state switching instruction according to the duration range.
- the step of generating the state switching instruction according to the time range includes: when the pressing time belongs to the first time range, acquiring the target massage mode to be switched, and generating the mode switching instruction according to the target massage mode.
- the step of switching the working state of the target function of the massage device according to the state switching command includes: switching the massage mode of the running massage module to the target massage mode according to the mode switching command, and controlling the massage mode of the running massage module according to the target The massage mode performs massage functions.
- the massage component includes a heating module
- the target function is a heating function.
- the step of generating a state switching instruction according to the time range includes: generating a heating start instruction when the pressing time belongs to the second time range.
- the step of switching the working state of the target function of the massage device according to the state switching instruction includes: controlling the heating module to turn on the heating function according to the heating start instruction until the temperature of the heating module reaches the target temperature.
- a control device 800 for massage equipment is provided, which can be applied to the above-mentioned massage equipment.
- the control device 800 of the massage device includes a rolling direction determination module 810 and a control module 820.
- the rolling direction determining module 810 is used for determining the rolling direction of the roller according to the generated first pulse signal and the second pulse signal when the roller of the massage device rotates.
- the scroll direction determining module 810 includes a recording unit and a comparing unit.
- the recording unit is used to record the first time when the first pulse signal generated by the roller device is acquired, and the second time when the second pulse signal generated by the roller device is acquired.
- the comparison unit is used to compare the sequence of the first time and the second time, and determine the scrolling direction of the scroll wheel according to the comparison result, wherein if the comparison result is that the first time is before the second time, the scrolling direction is the first direction, If the comparison result is that the second moment is earlier than the first moment, the scroll direction is the second direction.
- the control module 820 is configured to generate control instructions according to the scroll direction, and control the operation of the massage components of the massage device according to the control instructions.
- control module 820 is also used to adjust the control parameters of the massage assembly according to the scrolling direction, generate control instructions according to the adjusted control parameters, and control the operation of the massage assembly according to the control instructions, so that the operation status of the massage assembly Match the adjusted control parameters.
- the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction, so as to follow the control command
- the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple buttons, which can simplify the control method of the massage equipment, prevent misoperation, and improve Operational efficiency.
- control device 800 of the above-mentioned massage equipment includes a signal acquisition module and a pulse number determination module in addition to the scroll direction determination module 810 and the control module 820.
- the signal acquisition module is used to respectively acquire a first pulse signal and a second pulse signal generated by the encoder of the roller device when the roller rotates by a preset angle.
- the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates one circle, the number of pulsations matches the number of control gears of the massage assembly, and different control gears correspond to different control parameters.
- the preset angle is the ratio of 360 degrees to the number of pulsations.
- the pulse number determination module is used to determine the number of pulses output by the encoder within the preset time period according to the number of times the first pulse signal and the second pulse signal are continuously acquired within the preset time period, wherein one first pulse signal and one pulse signal are continuously acquired
- the second pulse signal corresponds to a pulse.
- control module 820 includes a gear adjustment unit, a parameter acquisition unit, and an instruction generation unit.
- the gear adjustment unit is used to determine the adjusted control gear of the massage component according to the scrolling direction and the number of pulses output by the encoder within the preset duration.
- the gear adjustment unit is further configured to determine the adjustment direction of the control gear of the massage assembly according to the scroll direction, and determine the number of adjustment gears of the control gear according to the number of pulses output by the encoder within a preset time period, and Determine the adjusted control gear of the massage assembly according to the adjustment direction and the number of adjustment gears.
- the rolling direction is the first direction
- the adjustment direction is increasing gear
- the scrolling direction is the second direction
- the adjustment direction is decreasing gear.
- the parameter acquisition unit is used to acquire the control parameter corresponding to the adjusted control gear
- the instruction generation unit is used to generate control instructions according to the control parameters corresponding to the adjusted control gear, and control the operation of the massage component according to the control instructions, so that the operation state of the massage component matches the control parameter corresponding to the adjusted control gear .
- the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
- control device 800 of the above-mentioned massage equipment includes a scroll direction determination module 810, a control module 820, a signal acquisition module, and a pulse number determination module, as well as
- the signal acquisition module is also used to acquire the pressing signal triggered by the button of the scroll wheel device when the scroll wheel is pressed.
- the control module 820 is also configured to generate a state switching instruction according to the pressing signal, and switch the working state of the target function of the massage device according to the state switching instruction.
- control module 820 is further configured to obtain the pressing duration of the scroll wheel according to the pressing signal; determine the duration range to which the pressing duration belongs, and generate a state switching instruction according to the duration range.
- the massage component includes at least one massage module, and the target function is a massage function.
- the control module 820 is also used for obtaining the target massage mode to be switched when the pressing time belongs to the first time range, and generating a mode switching command according to the target massage mode, and then switching the massage mode of the running massage module according to the mode switching command Go to the target massage mode, and control the massage mode of the running massage module to execute the massage function according to the target massage mode.
- the massage component includes a heating module
- the target function is a heating function.
- the control module 820 is also configured to generate a heating start instruction when the pressing time period belongs to the second time period range, and control the heating module to start the heating function according to the heating start instruction until the temperature of the heating module reaches the target temperature.
- the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction, so as to follow the control command
- the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple buttons, which can simplify the control method of the massage equipment, prevent misoperation, and improve Operational efficiency.
- Fig. 9 is a structural block diagram of a massage device in another embodiment.
- the massage device 900 may include one or more of the following components: a processor 910, a memory 920 coupled to the processor 910, and a roller device 930 coupled to the processor 910.
- the memory 920 may store one or more components.
- Multiple computer programs, one or more computer programs may be configured to be executed by one or more processors 910 to implement the methods described in the foregoing embodiments.
- the processor 910 may include one or more processing cores.
- the processor 910 uses various interfaces and lines to connect various parts of the entire massage device 900, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 920, and calling data stored in the memory 920.
- the processor 910 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PDA Programmable Logic Array
- the processor 910 may be integrated with one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
- 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 910, but may be implemented by a communication chip alone.
- the memory 920 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM).
- the memory 920 may be used to store instructions, programs, codes, code sets or instruction sets.
- the memory 920 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an 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 massage device 900 during use, and so on.
- the massage device 900 may include more or less 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.
- the processor implements the methods described in the foregoing embodiments.
- the embodiment of the present application discloses a computer-readable storage medium that stores a computer program, where the computer program is executed by a processor to implement the method described in the above-mentioned embodiment.
- 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.
- the program can be stored in a non-volatile computer readable storage medium.
- the storage medium can be a magnetic disk, an optical disk, a ROM, and so on.
- 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.
- 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).
- SRAM static RAM
- DRAM Dynamic Random Access Memory
- DRAM Dynamic Random Access Memory
- DRAM Dynamic Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM synchronous DRAM
- double data rate SDRAM Double Data Rate SDRAM
- DDR SDRAM Double Data Rate SDRAM
- Enhanced SDRAM Enhanced Synchronous DRAM
- ESDRAM Synchronous Link DRAM
- SLDRAM Synchronous Link DRAM
- Memory Bus Direct RAM Rabus DRAM, RDRAM
- 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.
- 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.
- 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.
- 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.
- the essence of the technical solution of this application or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
- a computer device which may be a personal computer, a server, or a network device, etc., specifically a processor in a computer device
- a massage device, a massage device control method, device, and storage medium disclosed in the embodiments of the application are described in detail above. Specific examples are used in this article to illustrate the principles and implementations of the application. The description of the above embodiments It is only used to help understand the methods and core ideas 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.
Landscapes
- Health & Medical Sciences (AREA)
- Dermatology (AREA)
- Epidemiology (AREA)
- Pain & Pain Management (AREA)
- Physical Education & Sports Medicine (AREA)
- Rehabilitation Therapy (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Massaging Devices (AREA)
Abstract
A massage device (10), comprising a controller (130), a roller apparatus (110), and a massage assembly (120); the controller (130) is electrically connected to the roller apparatus (110) and the massage assembly (120) respectively; the roller apparatus (110) is used for sending a first pulse signal and a second pulse signal to the controller (130) respectively when a roller (112) of the roller apparatus (110) rotates; the controller (130) is used for determining a rolling direction of the roller (112) according to the first pulse signal and the second pulse signal, generating a control instruction according to the rolling direction, and sending the control instruction to the massage assembly (120); and the massage assembly (120) is used for operating according to the control instruction.
Description
本申请涉及按摩设备技术领域,具体涉及一种按摩设备、按摩设备的控制方法及存储介质。This application relates to the technical field of massage equipment, in particular to a massage equipment, a control method of the massage equipment, and a storage medium.
随着电子技术的高速发展,市面上出现了越来越多种类的按摩设备,例如有针对用户全身进行按摩的按摩椅、针对用户颈部的颈部按摩仪,或是针对面部皮肤的脸部按摩仪等。按摩设备可消除用户的疲劳,保障用户各个部位的关节或皮肤等的健康。With the rapid development of electronic technology, more and more types of massage equipment have appeared on the market, such as massage chairs for the user’s body, neck massager for the user’s neck, or facial skin for the face Massage equipment, etc. The massage equipment can eliminate the fatigue of the user and protect the health of the joints or skin of various parts of the user.
传统的按摩设备为了实现某些功能控制,例如选择按摩模式、开关机等,通常会在按摩设备上设置多个按键,用户可通过按压相应的按键实现按摩设备的功能控制。然而,在按摩设备的使用过程中,多个按键不易区分,容易出现误操作,操作效率低。In order to achieve certain function control of traditional massage equipment, such as selecting massage mode, turning on and off, etc., multiple keys are usually set on the massage equipment, and the user can realize the function control of the massage equipment by pressing the corresponding keys. However, during the use of the massage device, multiple keys are not easy to distinguish, and misoperation is prone to occur, and the operation efficiency is low.
发明内容Summary of the invention
本申请实施例公开了一种按摩设备、按摩设备的控制方法及存储介质,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。The embodiment of the application discloses a massage device, a control method of the massage device, and a storage medium, which can simplify the control method of the massage device, prevent misoperation, and improve the operation efficiency.
本申请实施例公开了一种按摩设备,包括控制器、滚轮装置及按摩组件,所述控制器分别与所述滚轮装置及按摩模块电连接;The embodiment of the application discloses a massage device, which includes a controller, a roller device, and a massage component, and the controller is electrically connected to the roller device and the massage module, respectively;
所述滚轮装置,用于当所述滚轮装置的滚轮进行转动时,向所述控制器分别发送第一脉冲信号及第二脉冲信号;The roller device is used to send a first pulse signal and a second pulse signal to the controller when the roller of the roller device rotates;
所述控制器,用于根据所述第一脉冲信号及第二脉冲信号确定所述滚轮的滚动方向,根据所述滚动方向生成控制指令,并向所述按摩组件发送所述控制指令;The controller is configured to determine the scroll direction of the roller according to the first pulse signal and the second pulse signal, generate a control instruction according to the scroll direction, and send the control instruction to the massage component;
所述按摩组件,用于根据所述控制指令运行。The massage component is used to operate according to the control instruction.
本申请实施例公开了一种按摩设备的控制方法,包括:The embodiment of the application discloses a method for controlling massage equipment, including:
当滚轮装置的滚轮进行转动时,根据所述滚轮装置生成的第一脉冲信号及第二脉冲信号确定所述滚轮的滚动方向;When the roller of the roller device rotates, determine the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device;
根据所述滚动方向生成控制指令,并根据所述控制指令控制按摩组件的运行。A control instruction is generated according to the scroll direction, and the operation of the massage assembly is controlled according to the control instruction.
本申请实施例公开了一种按摩设备,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如上所述的方法。An embodiment of the present application discloses a massage device, including 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 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.
本申请实施例公开的一种按摩设备、按摩设备的控制方法及存储介质,当按摩设备的滚轮发生转动时,滚轮装置向控制器分别发送第一脉冲信号及第二脉冲信号,控制器根据第一脉冲信号及第二脉冲信号确定滚轮的滚动方向,并根据滚动方向生成控制指令,以根据该控制指令控制按摩设备的按摩组件的运行,用户仅需简单操作滚轮即可实现对按摩设备的控制,而无需 对多个按键进行区分,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。The embodiment of the application discloses a massage device, a method for controlling the massage device, and a storage medium. When the roller of the massage device rotates, the roller device sends the first pulse signal and the second pulse signal to the controller respectively, and the controller is based on the first pulse signal and the second pulse signal. A pulse signal and a second pulse signal determine the rolling direction of the roller, and generate a control command according to the rolling direction to control the operation of the massage component of the massage device according to the control command. The user only needs to simply operate the roller to realize the control of the massage device , Without distinguishing multiple keys, can simplify the control mode of the massage equipment, prevent misoperation, and improve the operation efficiency.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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.
图1为一个实施例中按摩设备的控制方法的应用场景图;Fig. 1 is an application scenario diagram of a method for controlling a massage device in an embodiment;
图2为一个实施例中按摩设备的结构框图;Figure 2 is a structural block diagram of a massage device in an embodiment;
图3为另一个实施例中按摩设备的结构框图;Figure 3 is a block diagram of a massage device in another embodiment;
图4为另一个实施例中按摩设备的结构框图;Figure 4 is a block diagram of a massage device in another embodiment;
图5为一个实施例中按摩设备的控制方法的流程图;Figure 5 is a flow chart of a method for controlling a massage device in an embodiment;
图6为另一个实施例中按摩设备的控制方法的流程图;Figure 6 is a flowchart of a method for controlling massage equipment in another embodiment;
图7为一个实施例中通过按压滚轮对按摩设备进行控制的流程图;Figure 7 is a flow chart of controlling the massage device by pressing the roller in an embodiment;
图8为一个实施例中按摩设备的控制装置的框图;Figure 8 is a block diagram of a control device of a massage device in an embodiment;
图9为另一个实施例中按摩设备的结构框图。Fig. 9 is a structural block diagram of a massage device in another embodiment.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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 massage module may be referred to as the second massage module, and similarly, the second massage module may be referred to as the first massage module. Both the first massage module and the second massage module are massage modules, but they are not the same massage module.
图1为一个实施例中按摩设备的控制方法的应用场景图。如图1所示,按摩设备10可为颈部按摩仪,在传统的方式中,通常在颈部按摩仪上设置多个按键,以对颈部按摩仪进行控制。当用户佩戴颈部按摩仪进行按摩操作时,通常很难看到设置在颈部按摩仪上的多个按键,导致 较难区分各个按键,容易出现误操作,操作效率低。Fig. 1 is an application scenario diagram of a method for controlling a massage device in an embodiment. As shown in FIG. 1, the massage device 10 may be a neck massager. In a traditional manner, multiple buttons are usually set on the neck massager to control the neck massager. When a user wears a neck massager to perform a massage operation, it is usually difficult to see the multiple buttons set on the neck massager, making it difficult to distinguish each button, prone to misoperation, and low operating efficiency.
在本申请实施例中,按摩设备10可包括滚轮装置110及按摩组件120,其中,按摩组件120可作用于用户的身体部位,例如用户的皮肤、关节等部位,以提供按摩服务。用户可通过操作滚轮装置110中的滚轮进行转动,以控制按摩组件120的运行状态。当滚轮装置110的滚轮进行转动时,滚轮装置110可生成第一脉冲信号及第二脉冲信号。按摩设备10可根据滚轮装置110生成的第一脉冲信号及第二脉冲信号可确定滚轮的滚动方向,以根据确定的滚动方向生成控制指令,并根据该控制指令控制按摩组件120的运行。In the embodiment of the present application, the massage device 10 may include a roller device 110 and a massage component 120, wherein the massage component 120 can act on the user's body parts, such as the user's skin and joints, to provide massage services. The user can rotate the roller in the roller device 110 to control the operating state of the massage assembly 120. When the roller of the roller device 110 rotates, the roller device 110 can generate a first pulse signal and a second pulse signal. The massage device 10 can determine the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device 110, so as to generate a control command according to the determined rolling direction, and control the operation of the massage assembly 120 according to the control command.
可以理解地,图1中所示的按摩设备10仅为按摩设备的一种结构形态,本申请实施例中的按摩设备并不仅限于图1中所示的结构形态,也可以是其它结构形态,本申请实施例中的按摩设备可以是颈部按摩仪、脸部按摩仪、眼部按摩仪等各种按摩设备,本申请实施例并不进行限定。It is understandable that the massage device 10 shown in FIG. 1 is only a structure of the massage device, and the massage device in the embodiment of the present application is not limited to the structure shown in FIG. 1, and may also be other structures. The massage equipment in the embodiment of the present application may be various massage equipment such as a neck massager, a face massager, and an eye massager, which is not limited in the embodiment of the present application.
如图2所示,在一个实施例中,提供一种按摩设备10,包括滚轮装置110、控制器130及按摩组件120,其中,控制器130分别与滚轮装置110及按摩组件120电连接。As shown in FIG. 2, in one embodiment, a massage device 10 is provided, which includes a roller device 110, a controller 130, and a massage component 120, wherein the controller 130 is electrically connected to the roller device 110 and the massage component 120, respectively.
滚轮装置110,用于当滚轮装置110的滚轮112进行转动时,向控制器130分别发送第一脉冲信号及第二脉冲信号。The roller device 110 is used to send a first pulse signal and a second pulse signal to the controller 130 when the roller 112 of the roller device 110 rotates.
滚轮装置110可包括滚轮112,用户可通过操作滚轮112按照一定的方向进行转动,以对按摩设备10的功能操作进行控制。可选地,滚轮装置110可设置在按摩设备10的手柄上,以使得用户在使用按摩设备10的过程中可以容易地操作滚轮。The roller device 110 may include a roller 112, and the user can rotate the roller 112 in a certain direction by operating the roller 112 to control the functional operation of the massage device 10. Optionally, the roller device 110 may be provided on the handle of the massage device 10 so that the user can easily operate the roller during the process of using the massage device 10.
在一些实施例中,滚轮装置110还可包括滚轮控制电路,滚轮控制电路的输出端可与控制器130连接。滚轮112在进行转动时,可触发滚轮控制电路分别生成第一脉冲信号和第二脉冲信号,第一脉冲信号可区别于第二脉冲信号,可选地,第一脉冲信号和第二脉冲信号的不同可包括频率不同、波幅不同及宽度不同等中的一种或多种。In some embodiments, the roller device 110 may further include a roller control circuit, and the output end of the roller control circuit may be connected to the controller 130. When the roller 112 is rotating, the roller control circuit can be triggered to generate a first pulse signal and a second pulse signal respectively. The first pulse signal can be distinguished from the second pulse signal. Optionally, the first pulse signal and the second pulse signal are The difference may include one or more of different frequencies, different amplitudes, and different widths.
滚轮控制电路可分别在不同的时刻生成第一脉冲信号和第二脉冲信号。滚轮112的滚动方向不同,生成第一脉冲信号和第二脉冲信号的先后顺序可不同,当滚轮112按照第一方向进行转动时,可先触发第一信号生成单元生成第一脉冲信号,并将第一脉冲信号发送至控制器130,再触发第二信号生成单元生成第二脉冲信号,并将第二脉冲信号发送至控制器130。当滚轮112按照第二方向进行转动时,可先触发第二信号生成单元生成第二脉冲信号,并将第二脉冲信号发送至控制器130,再触发第一信号生成单元生成第一脉冲信号,并将第一脉冲信号发送至控制器130。The roller control circuit can respectively generate the first pulse signal and the second pulse signal at different times. The scroll wheel 112 has different scrolling directions, and the sequence of generating the first pulse signal and the second pulse signal can be different. When the roller 112 rotates in the first direction, the first signal generating unit can be triggered to generate the first pulse signal, and the The first pulse signal is sent to the controller 130, and then the second signal generating unit is triggered to generate a second pulse signal, and the second pulse signal is sent to the controller 130. When the roller 112 rotates in the second direction, the second signal generating unit may be triggered to generate the second pulse signal, and the second pulse signal may be sent to the controller 130, and then the first signal generating unit may be triggered to generate the first pulse signal. And send the first pulse signal to the controller 130.
在一个实施例中,第一信号生成单元可包括第一开关,第二信号生成单元可包括第二开关,当滚轮112进行转动时,可触发第一开关导通,使得第一脉冲信号的电平被拉低,并触发第二开关导通,使得第二脉冲信号的电平被拉低。控制器130可通过检测第一脉冲信号和第二脉冲信号突变为低电平的时间先后顺序,来确定滚轮112的滚动方向,可使得滚动方向的判定更为 准确。In one embodiment, the first signal generating unit may include a first switch, and the second signal generating unit may include a second switch. When the roller 112 rotates, the first switch can be triggered to turn on, so that the electrical signal of the first pulse signal is turned on. The level is pulled low and triggers the second switch to turn on, so that the level of the second pulse signal is pulled low. The controller 130 can determine the scroll direction of the scroll wheel 112 by detecting the time sequence of the sudden change of the first pulse signal and the second pulse signal to a low level, which can make the determination of the scroll direction more accurate.
控制器130,用于根据第一脉冲信号及第二脉冲信号确定滚轮112的滚动方向,根据滚动方向生成控制指令,并向按摩组件120发送控制指令。The controller 130 is configured to determine the scroll direction of the roller 112 according to the first pulse signal and the second pulse signal, generate a control command according to the scroll direction, and send the control command to the massage component 120.
控制器130可接收滚轮装置110的滚轮控制电路发送的脉冲信号,并对脉冲信号进行解析,以确定接收到的脉冲信号为第一脉冲信号还是第二脉冲信号,并可记录每次接收到第一脉冲信号和第二脉冲信号的接收时刻。在一个实施例中,控制器130还用于根据分别接收第一脉冲信号和第二脉冲信号的接收时刻的先后顺序确定滚轮112的滚动方向。控制器130可记录连续接收到的第一脉冲信号和第二脉冲信号的接收时刻,若控制器130接收到第一脉冲信号的接收时刻先于第二脉冲信号的接收时刻,可确定滚轮112的滚动方向为第一方向;若控制器130接收到第二脉冲信号的接收时刻先于第一脉冲信号的接收时刻,可确定滚轮112的滚动方向为第二方向。可选地,第一方向可为滚轮向前滚动(逆时针方向),第二方向可为滚轮向后滚动(顺时针方向);可选地,第一方向也可为滚轮向后滚动,则第二方向为滚轮向前滚动。The controller 130 can receive the pulse signal sent by the roller control circuit of the roller device 110, and analyze the pulse signal to determine whether the received pulse signal is the first pulse signal or the second pulse signal, and can record each time the first pulse signal is received. The receiving time of the first pulse signal and the second pulse signal. In an embodiment, the controller 130 is further configured to determine the scrolling direction of the roller 112 according to the sequence of receiving moments of receiving the first pulse signal and the second pulse signal, respectively. The controller 130 can record the receiving time of the first pulse signal and the second pulse signal continuously received. If the receiving time of the first pulse signal received by the controller 130 is earlier than the receiving time of the second pulse signal, it can determine the time of the scroll wheel 112 The scroll direction is the first direction; if the controller 130 receives the second pulse signal at the receiving time before the first pulse signal, the scrolling direction of the roller 112 can be determined to be the second direction. Optionally, the first direction may be the wheel rolling forward (counterclockwise), and the second direction may be the wheel rolling backward (clockwise); alternatively, the first direction may also be the wheel rolling backward, then The second direction is for the wheel to roll forward.
控制器130可根据滚动方向生成控制指令,以根据该控制指令控制按摩组件120的运行。在一些实施例中,控制器130还用于按照确定的滚动方向调节按摩组件的控制参数,并根据调节后的控制参数生成控制指令,其中,控制参数可指的是用于控制按摩组件120的运行状态的参数,例如,控制参数可包括按摩组件120上的按摩模块的按摩参数、选择的按摩模式等,也可包括按摩组件120上的加热模块的温度参数,还可包括按摩组件120的启动、停止、运行时间等控制参数,在此不作限定。The controller 130 may generate a control instruction according to the scroll direction, so as to control the operation of the massage assembly 120 according to the control instruction. In some embodiments, the controller 130 is also used to adjust the control parameters of the massage assembly according to the determined scrolling direction, and generate control instructions according to the adjusted control parameters, where the control parameters may refer to the control parameters used to control the massage assembly 120 The parameters of the operating state, for example, the control parameters can include the massage parameters of the massage module on the massage component 120, the selected massage mode, etc., can also include the temperature parameters of the heating module on the massage component 120, and can also include the activation of the massage component 120 Control parameters such as, stop, and running time are not limited here.
不同的滚动方向可对应不同的控制参数的调节方向。作为一种实施方式,调节方向可包括增大和减小,当滚轮的滚动方向为第一方向时,控制器130可增大按摩组件的控制参数,当滚轮的滚动方向为第二方向时,控制器130可减小按摩组件的控制参数。例如,当滚轮向前滚动时,控制器130可增大按摩组件上当前正在运行的按摩模块的按摩力度,当滚轮向后滚动时,控制器130可减小按摩组件上当前正在运行的按摩模块的按摩力度等,但不限于此。Different scroll directions can correspond to different adjustment directions of control parameters. As an embodiment, the adjustment direction can include increase and decrease. When the rolling direction of the roller is the first direction, the controller 130 can increase the control parameter of the massage component, and when the rolling direction of the roller is the second direction, control The device 130 can reduce the control parameters of the massage component. For example, when the roller rolls forward, the controller 130 can increase the massage strength of the massage module currently running on the massage assembly, and when the roller rolls backward, the controller 130 can decrease the massage module currently running on the massage assembly. The massage strength, but not limited to this.
作为另一种实施方式,按摩组件的控制参数可按照一定的顺序进行排列,例如,按摩组件的按摩模式可包括电刺激按摩模式及振动按摩模式等多个按摩模式,则可按照电刺激按摩模式-振动按摩模式等顺序进行排列。调节方向可包括切换至前一个和切换至后一个,当滚轮的滚动方向为第一方向时,控制器130可将按摩组件的控制参数切换至前一个参数,当滚轮的滚动方向为第二方向时,控制器130可将按摩组件的控制参数切换至后一个参数。As another embodiment, the control parameters of the massage components can be arranged in a certain order. For example, the massage mode of the massage component can include multiple massage modes such as an electric stimulation massage mode and a vibration massage mode, which can be arranged in accordance with the electric stimulation massage mode. -The vibration massage mode is arranged in order. The adjustment direction can include switching to the previous one and switching to the next one. When the scrolling direction of the roller is the first direction, the controller 130 can switch the control parameter of the massage component to the previous parameter, and when the scrolling direction of the roller is the second direction At this time, the controller 130 can switch the control parameter of the massage component to the latter parameter.
按摩组件120,用于根据控制指令运行。The massage component 120 is used to operate according to control instructions.
按摩组件120可根据控制器130发送的控制指令进行运行。在一些实施例中,按摩组件120还用于根据该控制指令运行,以使按摩组件120上的各个功能模块的运行状态与调节后的控制参数匹配。进一步在,控制器130可根据确定调节的控制参数在按摩组件120中对应的功能模块,并将控制指令发送至该按摩组件120中对应的模块,以使该按摩组件120中对应的功 能模块的运行状态与调节后的控制参数匹配。例如,调节的控制参数为按摩力度,对应按摩组件120中当前正在运行的按摩模块,则可将控制指令发送至该当前正在运行的按摩模块,以控制该当前正在运行的按摩模块按照调节后的按摩力度进行按摩操作;调节的控制参数为温度参数,对应按摩组件120中的温度模块,则可将控制指令发送至温度模块,以控制温度模块加热至调节的温度参数等。The massage component 120 can operate according to the control instructions sent by the controller 130. In some embodiments, the massage component 120 is further configured to operate according to the control command, so that the operating state of each functional module on the massage component 120 matches the adjusted control parameter. Further, the controller 130 may determine the adjusted control parameters in the corresponding function module of the massage component 120, and send the control instruction to the corresponding module in the massage component 120, so that the corresponding function module in the massage component 120 The running state matches the adjusted control parameters. For example, if the adjusted control parameter is massage intensity, corresponding to the currently running massage module in the massage component 120, the control command can be sent to the currently running massage module to control the currently running massage module according to the adjusted The massage force is used to perform massage operations; the adjusted control parameter is a temperature parameter, and corresponding to the temperature module in the massage component 120, a control command can be sent to the temperature module to control the temperature module to heat to the adjusted temperature parameter.
在本申请实施例中,当按摩设备的滚轮发生转动时,滚轮装置向控制器分别发送第一脉冲信号及第二脉冲信号,控制器根据第一脉冲信号及第二脉冲信号确定滚轮的滚动方向,并根据滚动方向生成控制指令,以根据该控制指令控制按摩设备的按摩组件的运行,用户仅需简单操作滚轮即可实现对按摩设备的控制,而无需对多个按键进行区分,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。In the embodiment of the present application, when the roller of the massage device rotates, the roller device sends a first pulse signal and a second pulse signal to the controller respectively, and the controller determines the rolling direction of the roller according to the first pulse signal and the second pulse signal , And generate a control command according to the scroll direction to control the operation of the massage component of the massage device according to the control command. The user only needs to simply operate the scroll wheel to control the massage device without distinguishing multiple buttons, which can simplify massage The control method of the equipment prevents misoperation and improves the operation efficiency.
如图3所示,在一个实施例中,上述按摩设备10中的滚轮装置110还包括编码器114,编码器114可与控制器130电连接。As shown in FIG. 3, in one embodiment, the roller device 110 in the above-mentioned massage device 10 further includes an encoder 114, and the encoder 114 can be electrically connected to the controller 130.
编码器114,用于当滚轮112转动预设角度时,向控制器130分别发送一次第一脉冲信号及一次第二脉冲信号。The encoder 114 is used to send a first pulse signal and a second pulse signal to the controller 130 when the roller 112 rotates by a predetermined angle.
可选地,编码器114可设置在滚轮112的一侧,当滚轮112转动时,编码器114可用于感应滚轮112的滚动方向及转动角度。编码器114可与滚轮控制电路电连接,当编码器114感应到滚轮112的转动角度达到预设角度时,可根据感应的滚动方向分别触发一次滚轮控制电路的第一信号生成单元及一次第二信号生成单元,以生成一个第一脉冲信号及一个第二脉冲信号。作为一种实施方式,预设角度可根据实际需求进行设定,例如15°(度)、20°、38°等,在此不作限定。控制器130连续接收到一个第一脉冲信号及一个第二脉冲信号,可确定编码器114输出一个脉动,认定滚轮112的滚动操作为有效控制操作,则可根据滚轮112的滚动方向生成控制指令,以控制按摩组件120的运行。Optionally, the encoder 114 can be arranged on one side of the roller 112, and when the roller 112 rotates, the encoder 114 can be used to sense the rolling direction and the rotation angle of the roller 112. The encoder 114 can be electrically connected to the roller control circuit. When the encoder 114 senses that the rotation angle of the roller 112 reaches a preset angle, it can trigger the first signal generating unit of the roller control circuit once and the second signal generation unit of the roller control circuit once according to the sensed rolling direction. The signal generating unit generates a first pulse signal and a second pulse signal. As an implementation manner, the preset angle can be set according to actual requirements, such as 15° (degree), 20°, 38°, etc., which is not limited here. The controller 130 continuously receives a first pulse signal and a second pulse signal, and can determine that the encoder 114 outputs a pulse. If the scrolling operation of the roller 112 is considered as an effective control operation, it can generate a control command according to the scrolling direction of the roller 112. To control the operation of the massage assembly 120.
在一些实施例中,编码器114可以在感应到滚轮112进行转动时,即根据感应的滚动方向触发滚轮控制电路生成第一脉冲信号或第二脉冲信号。编码器114也可以在感应滚轮112转动,且转动角度未达到预设角度的过程中,根据感应的滚动方向触发滚轮控制电路生成第一脉冲信号或第二脉冲信号。编码器114也可以在感应到滚轮的转动角度达到预设角度时,依次触发滚轮112控制电路生成第一脉冲信号和第二脉冲信号。也即,先触发生成的脉冲信号可以在滚轮112开始转动、转动过程中或转动达到预设角度时触发,其触发时机并不具体进行限定,并可在编码器114感应到滚轮112的转动角度达到预设角度时,再触发生成另一脉冲信号。In some embodiments, the encoder 114 may trigger the roller control circuit to generate the first pulse signal or the second pulse signal when the roller 112 is sensed to rotate, that is, according to the sensed rolling direction. The encoder 114 can also trigger the roller control circuit to generate the first pulse signal or the second pulse signal according to the sensed rolling direction when the sensor roller 112 rotates and the rotation angle does not reach the preset angle. The encoder 114 can also trigger the control circuit of the roller 112 to generate the first pulse signal and the second pulse signal when the rotation angle of the roller 112 is sensed to reach the preset angle. That is, the pulse signal generated by the first trigger can be triggered when the roller 112 starts to rotate, in the process of rotation, or when the rotation reaches a preset angle. The trigger timing is not specifically limited, and the encoder 114 can sense the rotation angle of the roller 112 When the preset angle is reached, it triggers to generate another pulse signal.
当编码器114感应到滚轮112的转动角度未达到预设角度时,不生成第一脉冲信号和/或第二脉冲信号,则控制器130没有接收到第一脉冲信号和第二脉冲信号,或仅接收到第一脉冲信号和第二脉冲信号中的一种,则不会认定滚轮112的滚动操作为有效控制操作,可以避免滚轮的小角度滚动也会触发按摩组件120的控制参数调整,进一步降低误操作的可能性,提高操 作的准确性。When the encoder 114 senses that the rotation angle of the roller 112 does not reach the preset angle, and does not generate the first pulse signal and/or the second pulse signal, the controller 130 does not receive the first pulse signal and the second pulse signal, or If only one of the first pulse signal and the second pulse signal is received, the rolling operation of the roller 112 will not be recognized as an effective control operation, which can prevent the small-angle rolling of the roller from triggering the adjustment of the control parameters of the massage component 120, and further Reduce the possibility of misoperation and improve the accuracy of operation.
在一些实施例中,上述的预设角度可为根据滚轮112转动一周时编码器114输出的脉动数量确定,其中,滚轮112转动一周时编码器114输出的脉动数量可与按摩组件120的控制档位数量匹配,不同控制档位可分别对应不同的控制参数。可选地,按照控制档位从低到高的顺序,各个控制档位对应的控制参数可为从小到大,或从大到小。例如,按摩组件120包括电刺激按摩模块,电刺激按摩模块的按摩力度可包括1~12档的12个控制档位,按照控制档位从低到高,每个档位电刺激按摩模块输出的电信号强度可越来越高,则可设置滚轮转动一周时编码器114输出的脉动数量为12。作为一种具体实施方式,预设角度可为360°与滚轮112转动一周时编码器114输出的脉动数量的比值,例如,滚轮112转动一周时编码器114输出的脉动数量为12,则预设角度可为360°/12=30°,滚轮112转动一周时编码器114输出的脉动数量为15,则预设角度可为360°/15=24°等。编码器每输出一个脉动,控制器即可根据滚轮的滚动方向调节一次按摩组件的控制档位。用户通过转动滚轮112可选择按摩组件120的控制档位,且在滚轮转动一周时刚好可将所有控制档位选择一次,用户无需特意记住转动的角度,可以提高控制档位选择的便捷性,提高操作效率。In some embodiments, the aforementioned preset angle may be determined according to the number of pulsations output by the encoder 114 when the roller 112 rotates one revolution, where the number of pulsations output by the encoder 114 when the roller 112 rotates one revolution can be the same as the control gear of the massage assembly 120. The number of bits matches, and different control gears can correspond to different control parameters. Optionally, according to the order of the control gears from low to high, the control parameters corresponding to each control gear can be from small to large, or from large to small. For example, the massage component 120 includes an electric stimulation massage module, and the massage intensity of the electric stimulation massage module may include 12 control gears ranging from 1 to 12. The intensity of the electrical signal can be higher and higher, and the number of pulsations output by the encoder 114 when the roller rotates once can be set to 12. As a specific implementation, the preset angle may be the ratio of 360° to the number of pulsations output by the encoder 114 when the roller 112 makes one revolution. For example, if the number of pulsations output by the encoder 114 when the roller 112 rotates one revolution is 12, then the preset The angle may be 360°/12=30°, and the number of pulses output by the encoder 114 when the roller 112 rotates once is 15, then the preset angle may be 360°/15=24°, etc. Each time the encoder outputs a pulsation, the controller can adjust the control gear of the massage unit according to the rolling direction of the roller. The user can select the control gear position of the massage assembly 120 by turning the roller 112, and can select all the control gear positions just once when the roller rotates one circle, the user does not need to remember the angle of rotation specifically, which can improve the convenience of the control gear selection. Improve operational efficiency.
在一些实施例中,控制器130还用于根据预设时长内连续接收到第一脉冲信号及第二脉冲信号的次数确定编码器114在预设时长内输出的脉动数量。连续接收到第一脉冲信号及第二脉冲信号可指的是连续接收到一个第一脉冲信号及一个第二脉冲信号,连续接收到一个第一脉冲信号及一个第二脉冲信号可对应一个脉动。控制器130可统计连续接收到一个第一脉冲信号及一个第二脉冲信号的次数,并将该次数作为编码器114输出的脉动数量,例如,控制器130在3秒内连续3次接收到第一脉冲信号和第二脉冲信号,即总共接收了3个第一脉冲信号和3个第二脉冲信号,则可确定编码器114输出的脉动数量为3。可选地,预设时长可根据实际需求进行设定,例如2秒、3秒、5秒等,在此不作限定。In some embodiments, the controller 130 is further configured to determine the number of pulses output by the encoder 114 during the preset time period according to the number of times the first pulse signal and the second pulse signal are continuously received within the preset time period. The continuous reception of the first pulse signal and the second pulse signal may refer to the continuous reception of a first pulse signal and a second pulse signal, and the continuous reception of a first pulse signal and a second pulse signal may correspond to a pulse. The controller 130 can count the number of consecutively receiving a first pulse signal and a second pulse signal, and use this number as the number of pulses output by the encoder 114. For example, the controller 130 can receive the first pulse signal three times in a row within 3 seconds. A pulse signal and a second pulse signal, that is, a total of three first pulse signals and three second pulse signals are received, and the number of pulses output by the encoder 114 can be determined to be three. Optionally, the preset duration can be set according to actual needs, such as 2 seconds, 3 seconds, 5 seconds, etc., which are not limited here.
控制器130还用于根据滚动方向及预设时长内编码器114输出的脉动数量确定按摩组件的调节后的控制档位,并获取调节后的控制档位对应的控制参数,根据调节后的控制档位对应的控制参数生成控制指令。The controller 130 is also used to determine the adjusted control gear position of the massage component according to the scroll direction and the number of pulses output by the encoder 114 within the preset time period, and obtain the control parameters corresponding to the adjusted control gear position, according to the adjusted control The control parameter corresponding to the gear generates a control command.
在一些实施例中,控制器130可用于根据滚轮112的滚动方向确定按摩组件的控制档位的调节方向,根据预设时长内编码器114输出的脉动数量确定控制档位的调节档位数量,并根据调节方向及调节档位数量确定按摩组件的调节后的控制档位。其中,调节档位数量可与预设时长内编码器114输出的脉动数量匹配。In some embodiments, the controller 130 can be used to determine the adjustment direction of the control gear of the massage component according to the rolling direction of the roller 112, and determine the number of adjustment gears of the control gear according to the number of pulses output by the encoder 114 within a preset time period, And according to the adjustment direction and the number of adjustment gears, the adjusted control gear of the massage component is determined. Among them, the number of adjustment gears can match the number of pulses output by the encoder 114 within the preset time period.
可选地,控制档位的调节方向可包括增加档位和降低档位,当滚轮112的滚动方向为第一方向时,对应的调节方向可为增加档位,当滚轮112的滚动方向为第二方向时,对应的调节方向可为降低档位。控制器130可获取按摩组件120当前的控制档位,若滚动方向为第一方向,则可将当前的控制档位增加与预设时长内编码器114输出的脉动数量匹配的调节档位数量,得 到按摩组件120的调节后的控制档位。若滚动方向为第二方向,则可将当前的控制档位减少与预设时长内编码器114输出的脉动数量匹配的调节档位数量,得到按摩组件120的调节后的控制档位。例如,按摩组件120当前的控制档位为4档,若滚轮112的滚动方向为向前滚动,对应的调节方向为增大档位,1秒内编码器114输出的脉动数量为2,对应的调节档位数量为2,则控制器130可以在4档的基础上增加2个控制档位,即调节控制档位为6档。Optionally, controlling the adjustment direction of the gear position may include increasing the gear position and lowering the gear position. When the scrolling direction of the roller 112 is the first direction, the corresponding adjustment direction may be the increasing gear, and when the scrolling direction of the roller 112 is the first direction, In two directions, the corresponding adjustment direction can be lower gear. The controller 130 can obtain the current control gear position of the massage component 120, and if the scroll direction is the first direction, the current control gear position can be increased by the number of adjustment gear positions that matches the number of pulses output by the encoder 114 within the preset time period. The adjusted control gear of the massage component 120 is obtained. If the scroll direction is the second direction, the current control gear can be reduced by the number of adjustment gears matching the number of pulses output by the encoder 114 within the preset time period to obtain the adjusted control gear of the massage assembly 120. For example, the current control gear position of the massage assembly 120 is 4 gears. If the rolling direction of the roller 112 is to roll forward, the corresponding adjustment direction is to increase the gear position. The number of pulses output by the encoder 114 within 1 second is 2, and the corresponding If the number of adjustment gears is 2, the controller 130 can add 2 control gears on the basis of 4 gears, that is, adjust the control gear to 6 gears.
在一些实施例中,控制器130每次连续接收到一个第一脉冲信号和一个第二脉冲信号后,可分别根据接收到该一个第一脉冲信号和一个第二脉冲信号的接收时刻的先后顺序确定滚轮的滚动方向,并按照该滚动方向在当前的控制档位的基础上增加一档或降低一档。例如,当前的控制档位为5,控制器130第一次先接收到第一脉冲信号,再接收到第二脉冲信号,则确定滚动方向为第一方向,调节后的控制档位可为5+1=6,第二次也是先接收到第一脉冲信号,再接收到第二脉冲信号,则调节后的控制档位可为6+1=7,第三次先接收到第二脉冲信号,再接收到第一脉冲信号,则调节后的控制档位可为7-1=6。In some embodiments, each time the controller 130 continuously receives a first pulse signal and a second pulse signal, it can be based on the sequence of receiving the first pulse signal and the second pulse signal. Determine the scrolling direction of the scroll wheel, and increase or decrease one gear on the basis of the current control gear according to the scrolling direction. For example, if the current control gear is 5, and the controller 130 receives the first pulse signal for the first time, and then receives the second pulse signal, the scroll direction is determined to be the first direction, and the adjusted control gear can be 5 +1=6, the first pulse signal is received for the second time, and then the second pulse signal is received, the adjusted control gear can be 6+1=7, and the second pulse signal is received for the third time , And then receive the first pulse signal, the adjusted control gear can be 7-1=6.
控制器130确定按摩组件120的调节后的控制档位后,可获取调节后的控制档位对应的控制参数,并根据调节后的控制档位对应的控制参数生成控制指令。控制器130可将生成的控制指令发送至按摩组件120,以控制按摩组件120按照调节后的控制档位运行。按摩组件120还用于根据该控制指令运行,以使运行状态与调节后的控制档位对应的控制参数匹配。After the controller 130 determines the adjusted control gear position of the massage component 120, it can obtain the control parameter corresponding to the adjusted control gear position, and generate a control command according to the control parameter corresponding to the adjusted control gear position. The controller 130 may send the generated control instruction to the massage component 120 to control the massage component 120 to operate according to the adjusted control gear. The massage component 120 is also used to operate according to the control instruction, so that the operating state matches the control parameter corresponding to the adjusted control gear.
作为一种实施方式,控制器130可将生成的控制指令发送至按摩组件120中与调节后的控制档位对应的功能模块,以根据该控制指令控制该对应的功能模块按照调节后的控制档位运行,使得该对应的功能模块的运行状态与调节后的控制档位对应的控制参数匹配。As an implementation manner, the controller 130 may send the generated control instruction to the functional module corresponding to the adjusted control gear in the massage component 120, so as to control the corresponding functional module according to the adjusted control gear according to the control instruction. Position operation, so that the operating state of the corresponding function module matches the control parameter corresponding to the adjusted control gear.
例如,调节后的控制要档位为加热档位调至5档,对应的温度参数为20℃(摄氏度),则按摩组件120中对应的功能模块为加热模块,控制器130可将生成的控制指令发送加热模块,以控制加热模块将温度调节至20℃。For example, if the adjusted control gear is adjusted to the heating gear to 5, and the corresponding temperature parameter is 20°C (degrees Celsius), the corresponding functional module in the massage component 120 is the heating module, and the controller 130 can adjust the generated control The instruction is sent to the heating module to control the heating module to adjust the temperature to 20°C.
除了基于编码器输出的脉动数量调节按摩组件的控制档位的方式以外,还可通过其它方式对按摩组件的控制档位进行调节。在一些实施例中,控制器还用于当检测到滚轮停止转动时,根据滚轮在本次转动过程中的滚动方向及按摩组件的当前档位确定目标档位,并获取目标档位对应的控制参数,根据目标档位对应的控制参数生成控制指令。In addition to the method of adjusting the control gear of the massage component based on the number of pulses output by the encoder, the control gear of the massage component can also be adjusted in other ways. In some embodiments, the controller is also used to determine the target gear according to the rolling direction of the roller during the current rotation and the current gear of the massage component when it is detected that the roller stops rotating, and obtain the control corresponding to the target gear Parameters, generate control commands based on the control parameters corresponding to the target gear.
可将滚轮从开启转动到停止转动的过程作为一次转动操作,当控制器检测到滚轮停止转动时,可确定滚轮的本次转动操作结束,针对滚轮的每次转动操作,可对按摩组件的控制档位进行一次调节。作为一种实施方式,当控制器没有接收到滚轮装置发送的脉冲信号的时长达到一定时长时,可确定滚轮停止转动,其中,一定时长可根据实际需求进行设定,例如1秒、3秒、400毫秒等,但不限于此。The process of turning the roller from opening to stopping can be regarded as a rotation operation. When the controller detects that the roller stops rotating, it can determine the end of the current rotation operation of the roller. For each rotation operation of the roller, the massage component can be controlled The gear is adjusted once. As an implementation manner, when the controller does not receive the pulse signal sent by the roller device for a certain length of time, it can determine that the roller stops rotating. The certain length of time can be set according to actual needs, such as 1 second, 3 seconds, 400 milliseconds, etc., but not limited to this.
在控制器确定滚轮的本次转动操作结束后,可根据滚轮在本次转动过程中发送的第一脉冲信息及第二脉冲信号的先后时刻确定滚轮在本次转动过程中的滚动方向,并根据该滚动方向及 按摩组件的当前档位确定目标档位,该目标档位可为当前档位的相邻档位。可选地,当滚轮在本次转动过程中的滚动方向为第一方向时,目标档位可为当前档位的下一档位(即当前档位增加一个档位),当滚轮在本次转动过程中的滚动方向为第二方向时,目标档位可为当前档位的上一档位(即当前档位降低一个档位)。可以理解地,增加档位与降低档位分别对应的滚动方向也可以是相反方向,在此不作限定。滚轮每次进行转动操作时仅对按摩组件的控制档位进行一次调节,而不论滚轮在该次转过操作的过程中的转量有多大,这样可以避免用户单次转动滚轮的转动量过大而进行连续调档,导致档位变化太快,给用户造成不良体验的情况。After the controller determines that the current rotation operation of the scroll wheel is finished, it can determine the scroll direction of the scroll wheel during the current rotation according to the sequence of the first pulse information and the second pulse signal sent by the scroll wheel during the current rotation process, and according to The rolling direction and the current gear of the massage assembly determine the target gear, and the target gear may be an adjacent gear of the current gear. Optionally, when the scrolling direction of the roller during this rotation is the first direction, the target gear can be the next gear of the current gear (that is, the current gear is increased by one gear). When the scroll direction during the rotation is the second direction, the target gear can be the previous gear of the current gear (that is, the current gear is lowered by one gear). It is understandable that the rolling directions corresponding to increasing gears and decreasing gears can also be opposite directions, which are not limited here. Each time the roller rotates, the control gear of the massage unit is adjusted only once, regardless of the amount of rotation of the roller during that operation, so as to prevent the user from turning the roller too much in a single rotation. However, continuous gear shifting causes the gear position to change too quickly, causing a bad experience for the user.
在本申请实施例中,通过滚轮的滚动方向即可区分控制档位的调节方向,通过一个滚轮即可实现控制档位的调节,操作更为便捷,且提高操作的准确度。In the embodiment of the present application, the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
如图4所示,上述的按摩设备10,滚轮装置110还包括按键116,按键116可与控制器130电连接。按摩组件120可包括电刺激按摩模块122、振动按摩模块124及加热模块126,其中,电刺激按摩模块122、振动按摩模块124及加热模块126可分别与控制器130电连接。As shown in FIG. 4, in the aforementioned massage device 10, the roller device 110 further includes a button 116, and the button 116 can be electrically connected to the controller 130. The massage component 120 may include an electric stimulation massage module 122, a vibration massage module 124, and a heating module 126. The electric stimulation massage module 122, the vibration massage module 124, and the heating module 126 may be electrically connected to the controller 130, respectively.
按键116,用于当滚轮112被按压时,向控制器130发送按压信号。The button 116 is used to send a pressing signal to the controller 130 when the scroll wheel 112 is pressed.
编码器114设置在滚轮112的一侧,按键116可设置在滚轮112的另一侧。当滚轮112被按压时,可带动按压按键116。按键116可与滚轮控制电路电连接,当按键116被按压时,可触发滚轮控制电路生成按压信号,并将按压信号发送至控制器130。The encoder 114 is arranged on one side of the scroll wheel 112, and the button 116 can be arranged on the other side of the scroll wheel 112. When the roller 112 is pressed, the button 116 can be driven to be pressed. The button 116 can be electrically connected to the scroll wheel control circuit. When the button 116 is pressed, the scroll wheel control circuit can be triggered to generate a pressing signal and send the pressing signal to the controller 130.
控制器130还用于根据按压信号生成状态切换指令,状态切换指令用于对按摩设备110的目标功能的工作状态进行切换。控制器130接收按键116通过滚轮控制电路发送的按压信号后,可根据该按压信号对按摩设备110的目标功能的工作状态进行切换,其中,目标功能可根据实际需求进行设定选择,例如,目标功能可包括但不限于按摩功能、加热功能、开关机功能、语音提示功能等。各个目标功能的工作状态可不同,例如,按摩功能的工作状态切换可为按摩模式切换,加热功能的工作状态切换可为开启加热和关闭加热,开关机功能的工作状态切换可为开机和关机切换等。The controller 130 is also used to generate a state switching instruction according to the pressing signal, and the state switching instruction is used to switch the working state of the target function of the massage device 110. After the controller 130 receives the pressing signal sent by the button 116 through the scroll wheel control circuit, it can switch the working state of the target function of the massage device 110 according to the pressing signal. The target function can be set and selected according to actual needs, for example, target Functions may include, but are not limited to, massage function, heating function, switch machine function, voice prompt function, etc. The working state of each target function can be different. For example, the working state of the massage function can be switched to the massage mode, the working state of the heating function can be switched on and off, and the working state of the switch function can be switched on and off. Wait.
在一个实施例中,控制器130还用于确定持续接收到按压信号的接收时长所属的时长范围,并根据时长范围生成状态切换指令。当按键116被持续按压时,可持续向控制器130发送按压信号。控制器130接收到按键116触发生成的按压信号后,可统计持续接收到按压信号的接收时长,基于该接收到按压信号的接收时长可确定按键116被持续按压的时长。In an embodiment, the controller 130 is further configured to determine the duration range to which the receiving duration of continuously receiving the pressing signal belongs, and generate a state switching instruction according to the duration range. When the button 116 is continuously pressed, the pressing signal can be continuously sent to the controller 130. After the controller 130 receives the pressing signal generated by the trigger of the button 116, it can count the duration of receiving the pressing signal continuously, and based on the receiving duration of the received pressing signal, the duration of the button 116 being continuously pressed can be determined.
控制器130可确定持续接收到按压信号的接收时长所属的时长范围,并根据时长范围生成状态切换指令,不同时长范围可对应不同的状态切换指令。在一些实施例中,可至少包括第一时长范围和第二时长范围,其中,第一时长范围可小于第二时长范围。当控制器130持续接收到按压信号的接收时长属于第一时长范围时,可认定按键116被按压的操作为短按操作,当控制器130持续接收到按压信号的接收时长属于第二时长范围时,可认定按键116被按压的操作为长按操作。按键116的短按操作和长按操作可分别对应不同的目标功能,例如,短按操作用 于切换按摩功能的工作状态,长按操作用于切换按摩设备10的开机、关机状态;按键116的短按操作和长按操作也可以对应同一目标功能下的不同工作状态,例如,短按操作用于开启按摩设备10,长按用于关闭按摩设备10等,可根据实际需求进行设定,在本申请实施例中不作限定。The controller 130 may determine the duration range to which the receiving duration of continuously receiving the pressing signal belongs, and generate a state switching instruction according to the duration range, and different duration ranges may correspond to different state switching instructions. In some embodiments, it may include at least a first duration range and a second duration range, wherein the first duration range may be smaller than the second duration range. When the controller 130 continuously receives the pressing signal and the receiving time belongs to the first time range, the operation of pressing the button 116 can be regarded as a short press operation, and when the controller 130 continuously receives the pressing signal and the receiving time belongs to the second time range , The operation of pressing the button 116 can be regarded as a long-press operation. The short-press operation and long-press operation of the button 116 can respectively correspond to different target functions. For example, the short-press operation is used to switch the working state of the massage function, and the long-press operation is used to switch the power-on and off-state of the massage device 10; Short-press operation and long-press operation can also correspond to different working states under the same target function. For example, short-press operation is used to turn on the massage device 10, and long-press is used to turn off the massage device 10, etc., which can be set according to actual needs. There is no limitation in the embodiment of this application.
在一些实施例中,控制器130可在确定按键116的按压操作结束后,再确定据该按压操作对应的持续接收到按压信号的接收时长所属的时长范围。可选地,若控制器130在一定时长内未接收到按压信号,可确定按键116的按压操作结束,该一定时长可根据实际需求设置,例如20ms(毫秒)、30ms等。In some embodiments, the controller 130 may, after determining that the pressing operation of the button 116 ends, then determine the duration range to which the receiving duration of the pressing signal corresponding to the pressing operation belongs. Optionally, if the controller 130 does not receive the pressing signal within a certain period of time, it may determine that the pressing operation of the button 116 is ended. The certain period of time may be set according to actual requirements, such as 20 ms (milliseconds), 30 ms, and so on.
按摩组件120可包括至少一个按摩模块,按摩模块与控制器130电连接。在一个实施例中,控制器130还用于当持续接收到按压信号的接收时长属于第一时长范围时,获取待切换的目标按摩模式,根据目标按摩模式生成模式切换指令,并向当前正在运行的按摩模块发送模式切换指令,模式切换指令用于控制正在运行的按摩模块按照目标按摩模式执行按摩功能。The massage assembly 120 may include at least one massage module, and the massage module is electrically connected to the controller 130. In one embodiment, the controller 130 is further configured to obtain the target massage mode to be switched when the receiving time length of the continuous reception of the pressing signal belongs to the first time range, generate a mode switching instruction according to the target massage mode, and send the command to the current running The massage module sends a mode switching instruction, and the mode switching instruction is used to control the running massage module to perform the massage function according to the target massage mode.
本申请实施例中,按摩组件120可电刺激按摩模块122和振动按摩模块124。作为一种实施方式,电刺激按摩模块122可包括至少两个电极片,电极片输出的电信号(如电压信号/电流信号等)作用于用户皮肤,可产生按摩效果。振动按摩模块124可包括一个或多个振动马达,振动马达进行振动时,作用于用户的部位可产生振动按摩效果。用户可通过短按操作按压滚轮112对当前正在运行的按摩模块的按摩模式进行切换,可选地,按摩模式可包括舒缓模式、智能模式、强力模式等,不同按摩模式的按摩力度、按摩时长等控制参数可不相同。若当前正在运行的按摩模块为电刺激按摩模块122,则可对电刺激按摩模块122对应的按摩模式进行切换,电刺激按摩模块122的电极片在不同按摩模式下可输出不同强度的电信号。若当前正在运行的按摩模块为振动按摩模块124,则可对振动按摩模块124对应的按摩模式进行切换,振动按摩模块124的振动马达在不同按摩模式下可进行不同频率、不同幅度的振动。In the embodiment of the present application, the massage component 120 can electrically stimulate the massage module 122 and the vibration massage module 124. As an implementation manner, the electrical stimulation massage module 122 may include at least two electrode plates, and electrical signals (such as voltage signals/current signals, etc.) output by the electrode plates act on the skin of the user to produce a massage effect. The vibration massage module 124 may include one or more vibration motors, and when the vibration motors vibrate, they can produce a vibration massage effect on the part of the user. The user can switch the massage mode of the currently running massage module by pressing the roller 112 by short-pressing. Optionally, the massage mode can include soothing mode, smart mode, strong mode, etc., massage intensity and massage duration of different massage modes, etc. The control parameters can be different. If the currently running massage module is the electrical stimulation massage module 122, the massage mode corresponding to the electrical stimulation massage module 122 can be switched, and the electrode pads of the electrical stimulation massage module 122 can output electrical signals of different intensities in different massage modes. If the currently running massage module is the vibration massage module 124, the massage mode corresponding to the vibration massage module 124 can be switched, and the vibration motor of the vibration massage module 124 can vibrate with different frequencies and different amplitudes in different massage modes.
可选地,在用户通过按压滚轮112切换当前正在运行的按摩模块的按摩模式后,还可通过操作滚轮112转动,以对当前正在运行的按摩模块的控制操作进行调节。例如,通过短按滚轮112后,将电刺激按摩模块122的按摩模式切换至舒缓模式,再通过前向或前后转动滚轮112,增加或降低电刺激按摩模块122的按摩力度档位等。Optionally, after the user switches the massage mode of the currently running massage module by pressing the roller 112, the user can also rotate the operating roller 112 to adjust the control operation of the currently running massage module. For example, by briefly pressing the roller 112, the massage mode of the electric stimulation massage module 122 is switched to the relaxation mode, and then the roller 112 is rotated forward or backward to increase or decrease the massage intensity level of the electric stimulation massage module 122.
在一些实施例中,控制器130还用于当按压信号的接收时长属于第二时长范围时,生成加热开启指令,并向加热模块126发送加热开启指令。用户可通过长按操作按压滚轮112,以控制按摩组件120开启加热功能。加热模块126,用于根据加热开启指令开始进行加热,直至加热模块的温度达到目标温度。可选地,该目标温度可以是预先设置的温度参数,例如15℃、20℃等,也可以用户选择的温度参数。在一些实施方式中,用户在通过长按滚轮112开启加热功能后,可通过操作滚轮112转动,以选择目标温度。例如,可通过前向或前后转动滚轮112,升高或降低目标温度。加热模块126开始进行加热后,可实时或按照预设的时间周期向控制器 130反馈温度。当控制器130检测到加热模块126的温度达到目标温度时,可控制加热模块126对应的控制电路断开,以停止加热模块126进行加热。In some embodiments, the controller 130 is further configured to generate a heating start instruction and send the heating start instruction to the heating module 126 when the receiving duration of the pressing signal belongs to the second duration range. The user can press the roller 112 by a long press operation to control the massage assembly 120 to turn on the heating function. The heating module 126 is used to start heating according to the heating start instruction until the temperature of the heating module reaches the target temperature. Optionally, the target temperature may be a preset temperature parameter, such as 15°C, 20°C, etc., or a temperature parameter selected by the user. In some embodiments, after the user turns on the heating function by long pressing the roller 112, the user can rotate the roller 112 to select the target temperature. For example, the target temperature can be increased or decreased by rotating the roller 112 forward or backward. After the heating module 126 starts heating, it can feed back the temperature to the controller 130 in real time or according to a preset time period. When the controller 130 detects that the temperature of the heating module 126 reaches the target temperature, it can control the control circuit corresponding to the heating module 126 to be disconnected to stop the heating module 126 from heating.
在其它实施例中,滚轮112的按压可对应其它的目标功能,例如,可通过短按滚轮112对当前正在运行的按摩模块进行切换,将运行的电刺激按摩模块122切换至振动按摩模块124运行,或是将运行的振动按摩模块124切换至电刺激按摩模块122运行等,但不限于此。可以理解地,按摩组件120可仅包括电刺激按摩模块122、振动按摩模块124和加热模块126中的一种或两种,也可包括其它功能模块,在此不作限定。In other embodiments, the pressing of the roller 112 can correspond to other target functions. For example, the currently running massage module can be switched by short pressing the roller 112, and the running electric stimulation massage module 122 can be switched to the vibration massage module 124 to run. , Or switch the operating vibration massage module 124 to the electrical stimulation massage module 122, but not limited to this. Understandably, the massage component 120 may only include one or two of the electric stimulation massage module 122, the vibration massage module 124, and the heating module 126, and may also include other functional modules, which are not limited herein.
在本申请实施例中,结合滚轮的滚动方向及按压操作,可实现多种不同的操作方式,使操作更为便捷,提高操作的准确率。In the embodiment of the present application, in combination with the scrolling direction of the roller and the pressing operation, a variety of different operation modes can be realized, which makes the operation more convenient and improves the accuracy of the operation.
如图5所示,在一个实施例中,提供一种按摩设备的控制方法,可应用于上述各实施例中描述的按摩设备。该按摩设备的控制方法,可包括以下步骤:As shown in FIG. 5, in one embodiment, a method for controlling a massage device is provided, which can be applied to the massage devices described in the foregoing embodiments. The control method of the massage equipment may include the following steps:
步骤510,当滚轮装置的滚轮进行转动时,根据滚轮装置生成的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向。Step 510: When the roller of the roller device rotates, determine the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device.
在一个实施例中,步骤510,包括:记录获取滚轮装置生成的第一脉冲信号的第一时刻,以及获取滚轮装置生成的第二脉冲信号的第二时刻;比较第一时刻与第二时刻的先后顺序,并根据比较结果确定滚轮的滚动方向,其中,若比较结果为第一时刻先于第二时刻,则滚动方向为第一方向,若比较结果为第二时刻先于第一时刻,则滚动方向为第二方向。In one embodiment, step 510 includes: recording the first moment when the first pulse signal generated by the roller device is acquired, and the second moment when the second pulse signal generated by the roller device is acquired; comparing the first moment with the second moment Order, and determine the scrolling direction of the scroll wheel according to the comparison result. If the comparison result is that the first moment is earlier than the second moment, then the scrolling direction is the first direction; if the comparison result is that the second moment is earlier than the first moment, then The scroll direction is the second direction.
步骤520,根据滚动方向生成控制指令,并根据控制指令控制按摩组件的运行。In step 520, a control instruction is generated according to the scroll direction, and the operation of the massage assembly is controlled according to the control instruction.
在一个实施例中,步骤520,包括:按照滚动方向调节按摩组件的控制参数;根据调节后的控制参数生成控制指令,并根据控制指令控制按摩组件的运行,以使按摩组件的运行状态与调节后的控制参数匹配。In one embodiment, step 520 includes: adjusting the control parameters of the massage assembly according to the scrolling direction; generating control instructions according to the adjusted control parameters, and controlling the operation of the massage assembly according to the control instructions, so that the operation status and adjustment of the massage assembly After the control parameters match.
在一些实施例中,步骤520,包括:当检测到滚轮停止转动时,根据滚轮在本次转动过程中的滚动方向及按摩组件的当前档位确定目标档位,其中,目标档位为当前档位的相邻档位;获取目标档位对应的控制参数,并根据目标档位对应的控制参数生成控制指令;根据控制指令控制按摩组件的运行,以使按摩组件的运行状态与目标档位对应的控制参数匹配。In some embodiments, step 520 includes: when it is detected that the roller stops rotating, the target gear is determined according to the rolling direction of the roller during the current rotation and the current gear of the massage component, wherein the target gear is the current gear The adjacent gear of the position; obtain the control parameter corresponding to the target gear, and generate the control instruction according to the control parameter corresponding to the target gear; control the operation of the massage component according to the control instruction, so that the operation state of the massage component corresponds to the target gear The control parameters match.
本申请实施例提供的按摩设备的控制方法的描述可参照上述各实施例中提供的按摩设备中的相关描述,在此不再一一赘述。For the description of the method for controlling the massage equipment provided in the embodiments of the present application, reference may be made to the relevant descriptions in the massage equipment provided in the foregoing embodiments, and details are not repeated here.
本申请实施例中,当按摩设备的滚轮发生转动时,可根据滚轮装置生成的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向,并根据滚动方向生成控制指令,以根据该控制指令控制按摩设备的按摩组件的运行,用户仅需简单操作滚轮即可实现对按摩设备的控制,而无需对多个按键进行区分,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。In the embodiment of the present application, when the roller of the massage device rotates, the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction to control according to the control command In the operation of the massage component of the massage equipment, the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple keys. This simplifies the control method of the massage equipment, prevents misuse, and improves the operation. efficient.
如图6所示,在一个实施例中,提供另一种按摩设备的控制方法,可应用于上述各实施例中描述的按摩设备。该按摩设备的控制方法,可包括以下步骤:As shown in FIG. 6, in one embodiment, another method for controlling a massage device is provided, which can be applied to the massage devices described in the foregoing embodiments. The control method of the massage equipment may include the following steps:
步骤602,当滚轮转动预设角度时,分别获取滚轮装置的编码器生成的一个第一脉冲信号及一个第二脉冲信号。Step 602: When the roller rotates by a preset angle, obtain a first pulse signal and a second pulse signal generated by the encoder of the roller device respectively.
在一个实施例中,预设角度为根据滚轮转动一周时编码器输出的脉动数量确定的,脉动数量与按摩组件的控制档位数量匹配,不同控制档位分别对应不同的控制参数。In one embodiment, the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates one circle, the number of pulsations matches the number of control gears of the massage assembly, and different control gears correspond to different control parameters.
在一个实施例中,预设角度为360度与脉动数量的比值。In one embodiment, the preset angle is the ratio of 360 degrees to the number of pulsations.
步骤604,根据获取的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向。Step 604: Determine the scrolling direction of the scroll wheel according to the acquired first pulse signal and second pulse signal.
步骤606,根据预设时长内连续获取到第一脉冲信号及第二脉冲信号的次数确定预设时长内编码器输出的脉动数量。Step 606: Determine the number of pulses output by the encoder within the preset duration according to the number of times the first pulse signal and the second pulse signal are continuously acquired within the preset duration.
步骤608,根据滚动方向及预设时长内编码器输出的脉动数量确定按摩组件的调节后的控制档位。Step 608: Determine the adjusted control gear of the massage component according to the scroll direction and the number of pulses output by the encoder within the preset time period.
在一个实施例中,步骤608,包括:根据滚动方向确定按摩组件的控制档位的调节方向,其中,滚动方向为第一方向时,调节方向为增加档位,滚动方向为第二方向时,调节方向为降低档位;根据预设时长内编码器输出的脉动数量确定控制档位的调节档位数量;根据调节方向及调节档位数量确定按摩组件的调节后的控制档位。In one embodiment, step 608 includes: determining the adjustment direction of the control gear of the massage assembly according to the rolling direction, wherein when the rolling direction is the first direction, the adjustment direction is the increasing gear, and when the rolling direction is the second direction, The adjustment direction is lower gear; the number of adjustment gears of the control gear is determined according to the number of pulses output by the encoder during the preset time; the adjusted control gear of the massage component is determined according to the adjustment direction and the number of adjustment gears.
步骤610,获取调节后的控制档位对应的控制参数。Step 610: Obtain control parameters corresponding to the adjusted control gear.
步骤612,根据调节后的控制档位对应的控制参数生成控制指令,并根据控制指令控制按摩组件的运行,以使按摩组件的运行状态与调节后的控制档位对应的控制参数匹配。Step 612: Generate a control instruction according to the control parameter corresponding to the adjusted control gear, and control the operation of the massage assembly according to the control instruction, so that the operation state of the massage assembly matches the control parameter corresponding to the adjusted control gear.
本申请实施例提供的按摩设备的控制方法的描述可参照上述各实施例中提供的按摩设备中的相关描述,在此不再一一赘述。For the description of the method for controlling the massage equipment provided in the embodiments of the present application, reference may be made to the relevant descriptions in the massage equipment provided in the foregoing embodiments, and details are not repeated here.
在本申请实施例中,通过滚轮的滚动方向即可区分控制档位的调节方向,通过一个滚轮即可实现控制档位的调节,操作更为便捷,且提高操作的准确度。In the embodiment of the present application, the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
如图7所示,在一个实施例中,上述按摩设备的控制方法,还包括以下步骤:As shown in FIG. 7, in one embodiment, the control method of the above-mentioned massage device further includes the following steps:
步骤702,当滚轮被按压时,获取滚轮装置的按键触发的按压信号。Step 702: When the scroll wheel is pressed, obtain a pressing signal triggered by a button of the scroll wheel device.
步骤704,根据按压信号生成状态切换指令,并根据状态切换指令对按摩设备的目标功能的工作状态进行切换。Step 704: Generate a state switching instruction according to the pressing signal, and switch the working state of the target function of the massage device according to the state switching instruction.
在一个实施例中,步骤根据按压信号生成状态切换指令,包括:根据按压信号获取滚轮被按压的按压时长;确定按压时长所属的时长范围,并根据时长范围生成状态切换指令。In one embodiment, the step of generating the state switching instruction according to the pressing signal includes: obtaining the pressing duration of the scroll wheel according to the pressing signal; determining the duration range to which the pressing duration belongs, and generating the state switching instruction according to the duration range.
在一个实施例中,步骤根据时长范围生成状态切换指令,包括:当按压时长属于第一时长范围时,获取待切换的目标按摩模式,并根据目标按摩模式生成模式切换指令。In one embodiment, the step of generating the state switching instruction according to the time range includes: when the pressing time belongs to the first time range, acquiring the target massage mode to be switched, and generating the mode switching instruction according to the target massage mode.
步骤根据状态切换指令对按摩设备的目标功能的工作状态进行切换,包括:根据模式切换指令将正在运行的按摩模块的按摩模式切换至目标按摩模式,并控制正在运行的按摩模块的按摩模式按照目标按摩模式执行按摩功能。The step of switching the working state of the target function of the massage device according to the state switching command includes: switching the massage mode of the running massage module to the target massage mode according to the mode switching command, and controlling the massage mode of the running massage module according to the target The massage mode performs massage functions.
在一个实施例中,按摩组件包括加热模块,目标功能为加热功能。步骤根据时长范围生成 状态切换指令,包括:当按压时长属于第二时长范围时,生成加热开启指令。In one embodiment, the massage component includes a heating module, and the target function is a heating function. The step of generating a state switching instruction according to the time range includes: generating a heating start instruction when the pressing time belongs to the second time range.
步骤根据状态切换指令对按摩设备的目标功能的工作状态进行切换,包括:根据加热开启指令控制加热模块开启加热功能,直至加热模块的温度达到目标温度。The step of switching the working state of the target function of the massage device according to the state switching instruction includes: controlling the heating module to turn on the heating function according to the heating start instruction until the temperature of the heating module reaches the target temperature.
本申请实施例提供的按摩设备的控制方法的描述可参照上述各实施例中提供的按摩设备中的相关描述,在此不再一一赘述。For the description of the method for controlling the massage equipment provided in the embodiments of the present application, reference may be made to the relevant descriptions in the massage equipment provided in the foregoing embodiments, and details are not repeated here.
在本申请实施例中,结合滚轮的滚动方向及按压操作,可实现多种不同的操作方式,使操作更为便捷,提高操作的准确率。In the embodiment of the present application, in combination with the scrolling direction of the roller and the pressing operation, a variety of different operation modes can be realized, which makes the operation more convenient and improves the accuracy of the operation.
如图8所示,在一个实施例中,提供一种按摩设备的控制装置800,可应用于上述的按摩设备。该按摩设备的控制装置800,包括滚动方向确定模块810及控制模块820。As shown in FIG. 8, in one embodiment, a control device 800 for massage equipment is provided, which can be applied to the above-mentioned massage equipment. The control device 800 of the massage device includes a rolling direction determination module 810 and a control module 820.
滚动方向确定模块810,用于当按摩设备的滚轮进行转动时,根据生成的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向。The rolling direction determining module 810 is used for determining the rolling direction of the roller according to the generated first pulse signal and the second pulse signal when the roller of the massage device rotates.
在一个实施例中,滚动方向确定模块810,包括记录单元及比较单元。In one embodiment, the scroll direction determining module 810 includes a recording unit and a comparing unit.
记录单元,用于记录获取滚轮装置生成的第一脉冲信号的第一时刻,以及获取滚轮装置生成的第二脉冲信号的第二时刻。The recording unit is used to record the first time when the first pulse signal generated by the roller device is acquired, and the second time when the second pulse signal generated by the roller device is acquired.
比较单元,用于比较第一时刻与第二时刻的先后顺序,并根据比较结果确定滚轮的滚动方向,其中,若比较结果为第一时刻先于第二时刻,则滚动方向为第一方向,若比较结果为第二时刻先于第一时刻,则滚动方向为第二方向。The comparison unit is used to compare the sequence of the first time and the second time, and determine the scrolling direction of the scroll wheel according to the comparison result, wherein if the comparison result is that the first time is before the second time, the scrolling direction is the first direction, If the comparison result is that the second moment is earlier than the first moment, the scroll direction is the second direction.
控制模块820,用于根据滚动方向生成控制指令,并根据控制指令控制按摩设备的按摩组件的运行。The control module 820 is configured to generate control instructions according to the scroll direction, and control the operation of the massage components of the massage device according to the control instructions.
在一个实施例中,控制模块820,还用于按照滚动方向调节按摩组件的控制参数,根据调节后的控制参数生成控制指令,并根据控制指令控制按摩组件的运行,以使按摩组件的运行状态与调节后的控制参数匹配。In one embodiment, the control module 820 is also used to adjust the control parameters of the massage assembly according to the scrolling direction, generate control instructions according to the adjusted control parameters, and control the operation of the massage assembly according to the control instructions, so that the operation status of the massage assembly Match the adjusted control parameters.
在本申请实施例中,当按摩设备的滚轮发生转动时,可根据滚轮装置生成的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向,并根据滚动方向生成控制指令,以根据该控制指令控制按摩设备的按摩组件的运行,用户仅需简单操作滚轮即可实现对按摩设备的控制,而无需对多个按键进行区分,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。In the embodiment of the present application, when the roller of the massage device rotates, the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction, so as to follow the control command To control the operation of the massage components of the massage equipment, the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple buttons, which can simplify the control method of the massage equipment, prevent misoperation, and improve Operational efficiency.
在一个实施例中,上述按摩设备的控制装置800,除了包括滚动方向确定模块810及控制模块820,还包括信号获取模块及脉动数确定模块。In one embodiment, the control device 800 of the above-mentioned massage equipment includes a signal acquisition module and a pulse number determination module in addition to the scroll direction determination module 810 and the control module 820.
信号获取模块,用于当滚轮转动预设角度时,分别获取滚轮装置的编码器生成的一个第一脉冲信号及一个第二脉冲信号。The signal acquisition module is used to respectively acquire a first pulse signal and a second pulse signal generated by the encoder of the roller device when the roller rotates by a preset angle.
在一个实施例中,预设角度为根据滚轮转动一周时编码器输出的脉动数量确定的,脉动数量与按摩组件的控制档位数量匹配,不同控制档位分别对应不同的控制参数。In one embodiment, the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates one circle, the number of pulsations matches the number of control gears of the massage assembly, and different control gears correspond to different control parameters.
在一个实施例中,预设角度为360度与脉动数量的比值。In one embodiment, the preset angle is the ratio of 360 degrees to the number of pulsations.
脉动数确定模块,用于根据预设时长内连续获取到第一脉冲信号及第二脉冲信号的次数确定预设时长内编码器输出的脉动数量,其中,连续获取到一个第一脉冲信号及一个第二脉冲信号对应一个脉动。The pulse number determination module is used to determine the number of pulses output by the encoder within the preset time period according to the number of times the first pulse signal and the second pulse signal are continuously acquired within the preset time period, wherein one first pulse signal and one pulse signal are continuously acquired The second pulse signal corresponds to a pulse.
在一个实施例中,控制模块820,包括档位调节单元、参数获取单元及指令生成单元。In one embodiment, the control module 820 includes a gear adjustment unit, a parameter acquisition unit, and an instruction generation unit.
档位调节单元,用于根据滚动方向及预设时长内编码器输出的脉动数量确定按摩组件的调节后的控制档位。The gear adjustment unit is used to determine the adjusted control gear of the massage component according to the scrolling direction and the number of pulses output by the encoder within the preset duration.
在一个实施例中,档位调节单元,还用于根据滚动方向确定按摩组件的控制档位的调节方向,根据预设时长内编码器输出的脉动数量确定控制档位的调节档位数量,并根据调节方向及调节档位数量确定按摩组件的调节后的控制档位,其中,滚动方向为第一方向时,调节方向为增加档位,滚动方向为第二方向时,调节方向为降低档位。In one embodiment, the gear adjustment unit is further configured to determine the adjustment direction of the control gear of the massage assembly according to the scroll direction, and determine the number of adjustment gears of the control gear according to the number of pulses output by the encoder within a preset time period, and Determine the adjusted control gear of the massage assembly according to the adjustment direction and the number of adjustment gears. When the rolling direction is the first direction, the adjustment direction is increasing gear, and when the scrolling direction is the second direction, the adjustment direction is decreasing gear. .
参数获取单元,用于获取调节后的控制档位对应的控制参数;The parameter acquisition unit is used to acquire the control parameter corresponding to the adjusted control gear;
指令生成单元,用于根据调节后的控制档位对应的控制参数生成控制指令,并根据控制指令控制按摩组件的运行,以使按摩组件的运行状态与调节后的控制档位对应的控制参数匹配。The instruction generation unit is used to generate control instructions according to the control parameters corresponding to the adjusted control gear, and control the operation of the massage component according to the control instructions, so that the operation state of the massage component matches the control parameter corresponding to the adjusted control gear .
在本申请实施例中,通过滚轮的滚动方向即可区分控制档位的调节方向,通过一个滚轮即可实现控制档位的调节,操作更为便捷,且提高操作的准确度。In the embodiment of the present application, the adjustment direction of the control gear can be distinguished by the scrolling direction of the roller, and the adjustment of the control gear can be realized by one roller, which makes the operation more convenient and improves the accuracy of the operation.
在一个实施例中,上述按摩设备的控制装置800,除了包括滚动方向确定模块810、控制模块820、信号获取模块及脉动数确定模块,还包括In one embodiment, the control device 800 of the above-mentioned massage equipment includes a scroll direction determination module 810, a control module 820, a signal acquisition module, and a pulse number determination module, as well as
信号获取模块,还用于当滚轮被按压时,获取滚轮装置的按键触发的按压信号。The signal acquisition module is also used to acquire the pressing signal triggered by the button of the scroll wheel device when the scroll wheel is pressed.
控制模块820,还用于根据按压信号生成状态切换指令,并根据状态切换指令对按摩设备的目标功能的工作状态进行切换。The control module 820 is also configured to generate a state switching instruction according to the pressing signal, and switch the working state of the target function of the massage device according to the state switching instruction.
在一个实施例中,控制模块820,还用于根据按压信号获取滚轮被按压的按压时长;确定按压时长所属的时长范围,并根据时长范围生成状态切换指令。In one embodiment, the control module 820 is further configured to obtain the pressing duration of the scroll wheel according to the pressing signal; determine the duration range to which the pressing duration belongs, and generate a state switching instruction according to the duration range.
在一个实施例中,按摩组件包括至少一个按摩模块,目标功能为按摩功能。控制模块820,还用于当按压时长属于第一时长范围时,获取待切换的目标按摩模式,并根据目标按摩模式生成模式切换指令,再根据模式切换指令将正在运行的按摩模块的按摩模式切换至目标按摩模式,并控制正在运行的按摩模块的按摩模式按照目标按摩模式执行按摩功能。In one embodiment, the massage component includes at least one massage module, and the target function is a massage function. The control module 820 is also used for obtaining the target massage mode to be switched when the pressing time belongs to the first time range, and generating a mode switching command according to the target massage mode, and then switching the massage mode of the running massage module according to the mode switching command Go to the target massage mode, and control the massage mode of the running massage module to execute the massage function according to the target massage mode.
在一个实施例中,按摩组件包括加热模块,目标功能为加热功能。控制模块820,还用于当按压时长属于第二时长范围时,生成加热开启指令,并根据加热开启指令控制加热模块开启加热功能,直至加热模块的温度达到目标温度。In one embodiment, the massage component includes a heating module, and the target function is a heating function. The control module 820 is also configured to generate a heating start instruction when the pressing time period belongs to the second time period range, and control the heating module to start the heating function according to the heating start instruction until the temperature of the heating module reaches the target temperature.
在本申请实施例中,当按摩设备的滚轮发生转动时,可根据滚轮装置生成的第一脉冲信号及第二脉冲信号确定滚轮的滚动方向,并根据滚动方向生成控制指令,以根据该控制指令控制按摩设备的按摩组件的运行,用户仅需简单操作滚轮即可实现对按摩设备的控制,而无需对多个按键进行区分,能够简化按摩设备的控制方式,防止出现误操作的情况,提高了操作效率。In the embodiment of the present application, when the roller of the massage device rotates, the rolling direction of the roller can be determined according to the first pulse signal and the second pulse signal generated by the roller device, and a control command is generated according to the rolling direction, so as to follow the control command To control the operation of the massage components of the massage equipment, the user only needs to operate the scroll wheel to realize the control of the massage equipment without distinguishing multiple buttons, which can simplify the control method of the massage equipment, prevent misoperation, and improve Operational efficiency.
图9为另一个实施例中按摩设备的结构框图。如图9所示,按摩设备900可以包括一个或多个如下部件:处理器910、与处理器910耦合的存储器920、与处理器910耦合连接的滚轮装置930,其中存储器920可存储有一个或多个计算机程序,一个或多个计算机程序可以被配置为由一个或多个处理器910执行时实现如上述各实施例描述的方法。Fig. 9 is a structural block diagram of a massage device in another embodiment. As shown in FIG. 9, the massage device 900 may include one or more of the following components: a processor 910, a memory 920 coupled to the processor 910, and a roller device 930 coupled to the processor 910. The memory 920 may store one or more components. Multiple computer programs, one or more computer programs may be configured to be executed by one or more processors 910 to implement the methods described in the foregoing embodiments.
处理器910可以包括一个或者多个处理核。处理器910利用各种接口和线路连接整个按摩设备900内的各个部分,通过运行或执行存储在存储器920内的指令、程序、代码集或指令集,以及调用存储在存储器920内的数据,执行按摩设备900的各种功能和处理数据。可选地,处理器910可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field -Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器910可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器910中,单独通过一块通信芯片进行实现。The processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire massage device 900, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 920, and calling data stored in the memory 920. Various functions and processing data of the massage device 900. Optionally, the processor 910 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). A kind of hardware form to realize. The processor 910 may be integrated with 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 910, but may be implemented by a communication chip alone.
存储器920可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器920可用于存储指令、程序、代码、代码集或指令集。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储按摩设备900在使用中所创建的数据等。The memory 920 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM). The memory 920 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 920 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an 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 massage device 900 during use, and so on.
可以理解地,按摩设备900可包括比上述结构框图中更多或更少的结构元件,例如,包括电源模块、扬声器、蓝牙模块、传感器等,还可在此不进行限定。It is understandable that the massage device 900 may include more or less 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 embodiment of the present application discloses a computer-readable storage medium that stores a computer program, where the computer program is executed by a processor to implement the method described in the above-mentioned embodiment.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的方法。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等。A person 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 processes of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disk, a ROM, and so on.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括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 this application, it should be understood that the size of the sequence numbers of the above-mentioned 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 prior art 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 part or all of the steps of the above methods of the various embodiments of the present application.
以上对本申请实施例公开的一种按摩设备、按摩设备的控制方法、装置及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明 只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A massage device, a massage device control method, device, and storage medium disclosed in the embodiments of the application are described in detail above. Specific examples are used in this article to illustrate the principles and implementations of the application. The description of the above embodiments It is only used to help understand the methods and core ideas 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 (27)
- 一种按摩设备,其中,包括控制器、滚轮装置及按摩组件,所述控制器分别与所述滚轮装置及按摩组件电连接;A massage device, which includes a controller, a roller device and a massage component, the controller is electrically connected with the roller device and the massage component;所述滚轮装置,用于当所述滚轮装置的滚轮进行转动时,向所述控制器分别发送第一脉冲信号及第二脉冲信号;The roller device is used to send a first pulse signal and a second pulse signal to the controller when the roller of the roller device rotates;所述控制器,用于根据所述第一脉冲信号及第二脉冲信号确定所述滚轮的滚动方向,根据所述滚动方向生成控制指令,并向所述按摩组件发送所述控制指令;The controller is configured to determine the scroll direction of the roller according to the first pulse signal and the second pulse signal, generate a control instruction according to the scroll direction, and send the control instruction to the massage component;所述按摩组件,用于根据所述控制指令运行。The massage component is used to operate according to the control instruction.
- 根据权利要求1所述的按摩设备,其中,所述控制器,还用于根据分别接收所述第一脉冲信号及第二脉冲信号的接收时刻的先后顺序确定所述滚轮的滚动方向,其中,若所述第一脉冲信号对应的接收时刻先于所述第二脉冲信号对应的接收时刻,则所述滚动方向为第一方向,若所述第二脉冲信号对应的接收时刻先于所述第一脉冲信号对应的接收时刻,则所述滚动方向为第二方向。The massage device according to claim 1, wherein the controller is further configured to determine the rolling direction of the roller according to the sequence of receiving moments of receiving the first pulse signal and the second pulse signal, respectively, wherein: If the receiving time corresponding to the first pulse signal is earlier than the receiving time corresponding to the second pulse signal, the scroll direction is the first direction, and if the receiving time corresponding to the second pulse signal is earlier than the first pulse signal. The receiving moment corresponding to a pulse signal, the scroll direction is the second direction.
- 根据权利要求2所述的按摩设备,其中,所述控制器,还用于按照所述滚动方向调节所述按摩组件的控制参数,并根据调节后的控制参数生成所述控制指令;The massage device according to claim 2, wherein the controller is further configured to adjust the control parameters of the massage component according to the scroll direction, and generate the control instruction according to the adjusted control parameters;所述按摩组件,还用于根据所述控制指令运行,以使运行状态与所述调节后的控制参数匹配。The massage component is also used to operate according to the control instruction, so that the operating state matches the adjusted control parameter.
- 根据权利要求1至3任一所述的按摩设备,其中,所述滚轮装置包括编码器,所述编码器与所述控制器电连接;The massage device according to any one of claims 1 to 3, wherein the roller device includes an encoder, and the encoder is electrically connected to the controller;所述编码器,用于当所述滚轮转动预设角度时,向所述控制器分别发送一次第一脉冲信号及一次第二脉冲信号。The encoder is used to send a first pulse signal and a second pulse signal to the controller respectively when the roller rotates by a predetermined angle.
- 根据权利要求4所述的按摩设备,其中,所述预设角度为根据所述滚轮转动一周时所述编码器输出的脉动数量确定的,所述脉动数量与所述按摩组件的控制档位数量匹配,不同控制档位分别对应不同的控制参数。The massage device according to claim 4, wherein the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates one circle, the number of pulsations and the number of control gears of the massage component Matching, different control gears correspond to different control parameters.
- 根据权利要求5所述的按摩设备,其中,所述预设角度为360度与所述脉动数量的比值。The massage device according to claim 5, wherein the preset angle is a ratio of 360 degrees to the number of pulsations.
- 根据权利要求5或6所述的按摩设备,其中,所述控制器,还用于根据预设时长内连续接收到所述第一脉冲信号及第二脉冲信号的次数确定所述编码器在所述预设时长内输出的脉动数量,其中,连续接收到一个第一脉冲信号及一个第二脉冲信号对应一个脉动;The massage device according to claim 5 or 6, wherein the controller is further configured to determine that the encoder is in the position according to the number of times that the first pulse signal and the second pulse signal are continuously received within a preset time period. The number of pulsations output within the preset time period, where one first pulse signal and one second pulse signal are continuously received corresponding to one pulsation;所述控制器,还用于根据所述滚动方向及所述预设时长内输出的脉动数量确定所述按摩组件的调节后的控制档位,并获取所述调节后的控制档位对应的控制参数,根据所述调节后的控制档位对应的控制参数生成所述控制指令;The controller is further configured to determine the adjusted control gear position of the massage component according to the scroll direction and the number of pulses output within the preset time period, and obtain the control corresponding to the adjusted control gear position Parameter, generating the control instruction according to the control parameter corresponding to the adjusted control gear;所述按摩组件,还用于根据所述控制指令运行,以使运行状态与所述调节后的控制档位对 应的控制参数匹配。The massage component is also used to operate according to the control command, so that the operating state matches the control parameter corresponding to the adjusted control gear.
- 根据权利要求7所述的按摩设备,其中,所述控制器还用于根据所述滚动方向确定所述按摩组件的控制档位的调节方向,根据所述预设时长内输出的脉动数量确定所述控制档位的调节档位数量,并根据所述调节方向及调节档位数量确定所述按摩组件的调节后的控制档位,其中,所述滚动方向为第一方向时,所述调节方向为增加档位,所述滚动方向为第二方向时,所述调节方向为降低档位。The massage device according to claim 7, wherein the controller is further configured to determine the adjustment direction of the control gear of the massage component according to the scroll direction, and determine the adjustment direction according to the number of pulses output during the preset time period. The number of adjustment gears of the control gear, and the adjusted control gear of the massage assembly is determined according to the adjustment direction and the number of adjustment gears, wherein, when the rolling direction is the first direction, the adjustment direction In order to increase the gear position, when the scroll direction is the second direction, the adjustment direction is the lower gear position.
- 根据权利要求1至3任一所述的按摩设备,其中,所述控制器还用于当检测到所述滚轮停止转动时,根据所述滚轮在本次转动过程中的滚动方向及所述按摩组件的当前档位确定目标档位,并获取所述目标档位对应的控制参数,根据所述目标档位对应的控制参数生成所述控制指令,其中,所述目标档位为所述当前档位的相邻档位;The massage device according to any one of claims 1 to 3, wherein the controller is further configured to, when detecting that the roller stops rotating, according to the rolling direction of the roller during the current rotation and the massage The current gear position of the component determines the target gear position, and obtains the control parameter corresponding to the target gear position, and generates the control instruction according to the control parameter corresponding to the target gear position, wherein the target gear position is the current gear position Adjacent stalls of the position;所述按摩组件,还用于根据所述控制指令运行,以使运行状态与所述目标档位对应的控制参数匹配。The massage component is also used to operate according to the control instruction, so that the operating state matches the control parameter corresponding to the target gear.
- 根据权利要求1至3任一所述的按摩设备,其中,所述滚轮装置包括按键,所述按键与所述控制器电连接;The massage device according to any one of claims 1 to 3, wherein the roller device comprises a button, and the button is electrically connected with the controller;所述按键,用于当所述滚轮被按压时,向所述控制器发送按压信号;The button is used to send a pressing signal to the controller when the scroll wheel is pressed;所述控制器,还用于根据所述按压信号生成状态切换指令,所述状态切换指令用于对所述按摩设备的目标功能的工作状态进行切换。The controller is further configured to generate a state switching instruction according to the pressing signal, and the state switching instruction is used to switch the working state of the target function of the massage device.
- 根据权利要求10所述的按摩设备,其中,所述控制器,还用于确定持续接收到所述按压信号的接收时长所属的时长范围,并根据所述时长范围生成所述状态切换指令。10. The massage device according to claim 10, wherein the controller is further configured to determine a time length range to which the receiving time length of the pressing signal is continuously received, and to generate the state switching instruction according to the time length range.
- 根据权利要求11所述的按摩设备,其中,所述按摩组件包括至少一个按摩模块,所述按摩模块与所述控制器电连接,所述目标功能为按摩功能;The massage device according to claim 11, wherein the massage component comprises at least one massage module, the massage module is electrically connected to the controller, and the target function is a massage function;所述控制器,还用于当所述按压信号的接收时长属于第一时长范围时,获取待切换的目标按摩模式,根据所述目标按摩模式生成模式切换指令,并向当前正在运行的按摩模块发送所述模式切换指令,所述模式切换指令用于控制所述正在运行的按摩模块按照所述目标按摩模式执行所述按摩功能。The controller is further configured to obtain the target massage mode to be switched when the receiving time length of the pressing signal belongs to the first time length range, generate a mode switching instruction according to the target massage mode, and send it to the currently running massage module The mode switching instruction is sent, and the mode switching instruction is used to control the running massage module to execute the massage function according to the target massage mode.
- 根据权利要求11所述的按摩设备,其中,所述按摩组件包括加热模块,所述加热模块与所述控制器电连接,所述目标功能为加热功能;The massage device according to claim 11, wherein the massage component comprises a heating module, the heating module is electrically connected to the controller, and the target function is a heating function;所述控制器,还用于当所述按压信号的接收时长属于第二时长范围时,生成加热开启指令,并向所述加热模块发送所述加热开启指令;The controller is further configured to generate a heating start instruction when the receiving time length of the pressing signal belongs to a second time period range, and send the heating start instruction to the heating module;所述加热模块,用于根据所述加热开启指令开始进行加热,直至所述加热模块的温度达到目标温度。The heating module is configured to start heating according to the heating on instruction until the temperature of the heating module reaches a target temperature.
- 一种按摩设备的控制方法,其中,包括:A method for controlling massage equipment, including:当滚轮装置的滚轮进行转动时,根据所述滚轮装置生成的第一脉冲信号及第二脉冲信号确 定所述滚轮的滚动方向;When the roller of the roller device rotates, determining the rolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device;根据所述滚动方向生成控制指令,并根据所述控制指令控制按摩组件的运行。A control instruction is generated according to the scroll direction, and the operation of the massage assembly is controlled according to the control instruction.
- 根据权利要求14所述的方法,其中,所述根据所述滚轮装置生成的第一脉冲信号及第二脉冲信号确定所述滚轮的滚动方向,包括:The method according to claim 14, wherein the determining the scrolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device comprises:记录获取所述滚轮装置生成的第一脉冲信号的第一时刻,以及获取所述滚轮装置生成的第二脉冲信号的第二时刻;Record the first time when the first pulse signal generated by the roller device is acquired, and the second time when the second pulse signal generated by the roller device is acquired;比较所述第一时刻与第二时刻的先后顺序,并根据比较结果确定所述滚轮的滚动方向,其中,若所述比较结果为所述第一时刻先于所述第二时刻,则所述滚动方向为第一方向,若所述比较结果为所述第二时刻先于所述第一时刻,则所述滚动方向为第二方向;Compare the sequence of the first time and the second time, and determine the scrolling direction of the scroll wheel according to the comparison result, wherein if the comparison result is that the first time is before the second time, the The scroll direction is the first direction, and if the comparison result is that the second time is earlier than the first time, the scroll direction is the second direction;所述根据所述滚动方向生成控制指令,并根据所述控制指令控制按摩组件的运行,包括:The generating a control instruction according to the scroll direction and controlling the operation of the massage component according to the control instruction includes:按照所述滚动方向调节按摩组件的控制参数;Adjusting the control parameters of the massage component according to the rolling direction;根据调节后的控制参数生成控制指令,并根据所述控制指令控制所述按摩组件的运行,以使所述按摩组件的运行状态与所述调节后的控制参数匹配。A control instruction is generated according to the adjusted control parameter, and the operation of the massage assembly is controlled according to the control instruction, so that the operation state of the massage assembly matches the adjusted control parameter.
- 根据权利要求14或15所述的方法,其中,在所述根据所述滚轮装置生成的第一脉冲信号及第二脉冲信号确定所述滚轮的滚动方向之前,所述方法还包括:The method according to claim 14 or 15, wherein before the determining the scrolling direction of the roller according to the first pulse signal and the second pulse signal generated by the roller device, the method further comprises:当所述滚轮转动预设角度时,分别获取所述滚轮装置的编码器生成的一个第一脉冲信号及一个第二脉冲信号。When the roller rotates by a predetermined angle, a first pulse signal and a second pulse signal generated by the encoder of the roller device are respectively acquired.
- 根据权利要求16所述的方法,其中,所述预设角度为根据所述滚轮转动一周时所述编码器输出的脉动数量确定的,所述脉动数量与按摩组件的控制档位数量匹配,不同控制档位分别对应不同的控制参数。The method according to claim 16, wherein the preset angle is determined according to the number of pulsations output by the encoder when the roller rotates once, and the number of pulsations matches the number of control gears of the massage assembly, and is different The control gears correspond to different control parameters respectively.
- 根据权利要求17所述的方法,其中,所述预设角度为360度与所述脉动数量的比值。The method according to claim 17, wherein the predetermined angle is a ratio of 360 degrees to the number of pulsations.
- 根据权利要求17或18所述的方法,其中,在所述根据所述滚动方向生成控制指令之前,所述方法还包括:The method according to claim 17 or 18, wherein, before the generating the control instruction according to the scroll direction, the method further comprises:根据预设时长内连续获取到所述第一脉冲信号及第二脉冲信号的次数确定所述预设时长内所述编码器输出的脉动数量,其中,连续获取到一个第一脉冲信号及一个第二脉冲信号对应一个脉动;The number of pulses output by the encoder within the preset time period is determined according to the number of times the first pulse signal and the second pulse signal are continuously acquired within the preset time period, wherein a first pulse signal and a first pulse signal are continuously acquired. Two pulse signals correspond to one pulse;所述根据所述滚动方向生成控制指令,并根据所述控制指令控制按摩组件的运行,包括:The generating a control instruction according to the scroll direction and controlling the operation of the massage component according to the control instruction includes:根据所述滚动方向及所述预设时长内所述编码器输出的脉动数量确定按摩组件的调节后的控制档位;Determining the adjusted control gear of the massage component according to the scroll direction and the number of pulses output by the encoder within the preset time period;获取所述调节后的控制档位对应的控制参数;Acquiring the control parameter corresponding to the adjusted control gear;根据所述调节后的控制档位对应的控制参数生成控制指令,并根据所述控制指令控制所述按摩组件的运行,以使所述按摩组件的运行状态与所述调节后的控制档位对应的控制参数匹配。Generate a control instruction according to the control parameter corresponding to the adjusted control gear, and control the operation of the massage assembly according to the control instruction, so that the operation state of the massage assembly corresponds to the adjusted control gear The control parameters match.
- 根据权利要求19所述的方法,其中,所述根据所述滚动方向及所述预设时长内所述编码器输出的脉动数量确定按摩组件的调节后的控制档位,包括:The method according to claim 19, wherein the determining the adjusted control gear position of the massage component according to the scroll direction and the number of pulses output by the encoder within the preset time period comprises:根据所述滚动方向确定按摩组件的控制档位的调节方向,其中,所述滚动方向为第一方向时,所述调节方向为增加档位,所述滚动方向为第二方向时,所述调节方向为降低档位;The adjustment direction of the control gear of the massage assembly is determined according to the rolling direction, wherein when the rolling direction is the first direction, the adjustment direction is the increasing gear, and when the rolling direction is the second direction, the adjustment The direction is to lower the gear;根据所述预设时长内所述编码器输出的脉动数量确定所述控制档位的调节档位数量;Determining the number of adjustment gears of the control gear according to the number of pulsations output by the encoder within the preset time period;根据所述调节方向及调节档位数量确定所述按摩组件的调节后的控制档位。The adjusted control gear of the massage assembly is determined according to the adjustment direction and the number of adjustment gears.
- 根据权利要求14或15所述的方法,其中,所述根据所述滚动方向生成控制指令,并根据所述控制指令控制按摩组件的运行,包括:The method according to claim 14 or 15, wherein the generating a control instruction according to the scroll direction, and controlling the operation of the massage component according to the control instruction, comprises:当检测到所述滚轮停止转动时,根据所述滚轮在本次转动过程中的滚动方向及按摩组件的当前档位确定目标档位,其中,所述目标档位为所述当前档位的相邻档位;When it is detected that the roller stops rotating, the target gear is determined according to the rolling direction of the roller during the current rotation and the current gear of the massage assembly, wherein the target gear is the phase of the current gear. Adjacent stall获取所述目标档位对应的控制参数,并根据所述目标档位对应的控制参数生成控制指令;Acquiring the control parameter corresponding to the target gear, and generating a control instruction according to the control parameter corresponding to the target gear;根据所述控制指令控制按摩组件的运行,以使所述按摩组件的运行状态与所述目标档位对应的控制参数匹配。The operation of the massage component is controlled according to the control instruction, so that the operation state of the massage component matches the control parameter corresponding to the target gear.
- 根据权利要求14或15所述的方法,其中,所述方法还包括:The method according to claim 14 or 15, wherein the method further comprises:当所述滚轮被按压时,获取所述滚轮装置的按键触发的按压信号;When the scroll wheel is pressed, acquiring a pressing signal triggered by a button of the scroll wheel device;根据所述按压信号生成状态切换指令,并根据所述状态切换指令对按摩设备的目标功能的工作状态进行切换。A state switching instruction is generated according to the pressing signal, and the working state of the target function of the massage device is switched according to the state switching instruction.
- 根据权利要求22所述的方法,其中,所述根据所述按压信号生成状态切换指令,包括:The method according to claim 22, wherein said generating a state switching instruction according to said pressing signal comprises:根据所述按压信号获取所述滚轮被按压的按压时长;Acquiring, according to the pressing signal, the pressing duration of the roller being pressed;确定所述按压时长所属的时长范围,并根据所述时长范围生成状态切换指令。Determine the duration range to which the pressing duration belongs, and generate a state switching instruction according to the duration range.
- 根据权利要求23所述的方法,其中,所述按摩组件包括至少一个按摩模块,所述目标功能为按摩功能;The method according to claim 23, wherein the massage component includes at least one massage module, and the target function is a massage function;所述根据所述时长范围生成状态切换指令,包括:The generating a state switching instruction according to the time length range includes:当所述按压时长属于第一时长范围时,获取待切换的目标按摩模式,并根据所述目标按摩模式生成模式切换指令;When the pressing duration belongs to the first duration range, acquiring the target massage mode to be switched, and generating a mode switching instruction according to the target massage mode;所述根据所述状态切换指令对所述按摩设备的目标功能的工作状态进行切换,包括:The switching the working state of the target function of the massage device according to the state switching instruction includes:根据所述模式切换指令将正在运行的按摩模块的按摩模式切换至所述目标按摩模式,并控制所述正在运行的按摩模块的按摩模式按照所述目标按摩模式执行所述按摩功能。The massage mode of the running massage module is switched to the target massage mode according to the mode switching instruction, and the massage mode of the running massage module is controlled to execute the massage function according to the target massage mode.
- 根据权利要求23所述的方法,其中,所述按摩组件包括加热模块,所述目标功能为加热功能;The method according to claim 23, wherein the massage component includes a heating module, and the target function is a heating function;所述根据所述时长范围生成状态切换指令,包括:The generating a state switching instruction according to the time length range includes:当所述按压时长属于第二时长范围时,生成加热开启指令;When the pressing time period belongs to the second time period range, a heating start instruction is generated;所述根据所述状态切换指令对所述按摩设备的目标功能的工作状态进行切换,包括:The switching the working state of the target function of the massage device according to the state switching instruction includes:根据所述加热开启指令控制所述加热模块开启加热功能,直至所述加热模块的温度达到目标温度。Control the heating module to start the heating function according to the heating start instruction until the temperature of the heating module reaches the target temperature.
- 一种按摩设备,其中,包括存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求14至25任一所述的方法。A massage 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 14 to 25 Methods.
- 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求14至25任一所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 14 to 25 when the computer program is executed by a processor.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010568499.1A CN111759685A (en) | 2020-06-19 | 2020-06-19 | Massage device, control method and device of massage device, and storage medium |
CN202010568499.1 | 2020-06-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021253951A1 true WO2021253951A1 (en) | 2021-12-23 |
Family
ID=72721329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/086896 WO2021253951A1 (en) | 2020-06-19 | 2021-04-13 | Massage device, control method for massage device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111759685A (en) |
WO (1) | WO2021253951A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111759685A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Massage device, control method and device of massage device, and storage medium |
CN111759686A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Control method and device of massage equipment, massage equipment and storage medium |
CN112675011A (en) * | 2020-12-08 | 2021-04-20 | 未来穿戴技术有限公司 | Control method of massage apparatus, and computer storage medium |
CN113133912B (en) * | 2020-12-31 | 2023-04-21 | 未来穿戴技术有限公司 | Gear output control method and device and computer storage medium |
CN113081723B (en) * | 2021-03-30 | 2023-04-07 | 未来穿戴技术有限公司 | Massage control method, massage instrument and computer readable storage medium |
CN113317970B (en) * | 2021-04-19 | 2023-04-11 | 未来穿戴技术有限公司 | Massage control method, massage instrument and computer readable storage medium |
CN115869479A (en) * | 2022-12-05 | 2023-03-31 | 佛山市星曼信息科技有限公司 | Neck massager and control method thereof |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100538044B1 (en) * | 2003-03-13 | 2005-12-21 | 이태후 | Apparatus for massaging an abdomen and method for controlling thereof |
CN201185000Y (en) * | 2008-04-22 | 2009-01-21 | 英华达(上海)电子有限公司 | Portable electronic device and rolling wheel structure thereof |
CN101951437A (en) * | 2010-09-01 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Mobile terminal with toggle roller and detection method of rolling state of toggle roller |
TW201503880A (en) * | 2013-07-17 | 2015-02-01 | Tatung Co | Massaging device and operating method thereof |
CN206183628U (en) * | 2016-08-30 | 2017-05-24 | 山东省嘉林电子科技有限公司 | Main and collateral channels massage appearance |
CN107071952A (en) * | 2017-04-26 | 2017-08-18 | 广东美的厨房电器制造有限公司 | A kind of micro-wave oven and its control method and control device |
CN208079199U (en) * | 2017-10-11 | 2018-11-09 | 北京小米移动软件有限公司 | Mobile terminal |
DE102018211216A1 (en) * | 2018-07-06 | 2020-01-09 | Robert Bosch Gmbh | Encoder wheel arrangement and method for determining an absolute angle position and a direction of rotation |
CN111759686A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Control method and device of massage equipment, massage equipment and storage medium |
CN111759685A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Massage device, control method and device of massage device, and storage medium |
CN112354082A (en) * | 2020-09-10 | 2021-02-12 | 未来穿戴技术有限公司 | Massage apparatus, control method of massage apparatus, and computer-readable storage medium |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101505325B (en) * | 2009-01-15 | 2011-11-16 | 上海华勤通讯技术有限公司 | Mobile terminal with rolling wheel press-key, implementation method for press-key and lamp |
CN102743275B (en) * | 2012-07-24 | 2014-04-09 | 爱侣健康科技有限公司 | Mouse roller type sexual massager |
CN103162725A (en) * | 2013-02-28 | 2013-06-19 | 重庆大学 | Photoelectric encoder rotating pulse display device |
CN204951765U (en) * | 2015-07-16 | 2016-01-13 | 陈少忠 | Adopt rotary encoder to realize mode switch's infinitely variable subassembly |
CN205490473U (en) * | 2016-03-18 | 2016-08-17 | 厦门瑞尔特卫浴科技股份有限公司 | Magnetic control formula rotary switch and have electrical installation of this rotary switch |
CN205649627U (en) * | 2016-04-14 | 2016-10-19 | 武秀玲 | Vein blood vessel vertically adheres to massage device |
CN106686834A (en) * | 2017-02-28 | 2017-05-17 | 四川长虹电子部品有限公司 | Different-lighting-mode control system and method of LED (light-emitting diode) table lamps |
CN207033790U (en) * | 2017-04-11 | 2018-02-23 | 宁波兴隆巨创机电科技有限公司 | A kind of electric fan of roller control |
CN107333077A (en) * | 2017-06-21 | 2017-11-07 | 广东长虹电子有限公司 | A kind of control method of a button and its television set of application |
CN108272453A (en) * | 2018-01-03 | 2018-07-13 | 上海东软医疗科技有限公司 | Positioning device, method, system and the magnetic resonance imaging device of patient bed |
CN108071155B (en) * | 2018-01-15 | 2023-09-15 | 厦门科牧智能技术有限公司 | One-key control method, control terminal and control system of intelligent closestool |
CN210583073U (en) * | 2019-05-05 | 2020-05-22 | 王成玉 | Eye massager |
CN110822931A (en) * | 2019-10-14 | 2020-02-21 | 中山百得厨卫有限公司 | Control method combining rotation and pressing operation and electric ceramic stove applying control method |
-
2020
- 2020-06-19 CN CN202010568499.1A patent/CN111759685A/en active Pending
-
2021
- 2021-04-13 WO PCT/CN2021/086896 patent/WO2021253951A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100538044B1 (en) * | 2003-03-13 | 2005-12-21 | 이태후 | Apparatus for massaging an abdomen and method for controlling thereof |
CN201185000Y (en) * | 2008-04-22 | 2009-01-21 | 英华达(上海)电子有限公司 | Portable electronic device and rolling wheel structure thereof |
CN101951437A (en) * | 2010-09-01 | 2011-01-19 | 惠州Tcl移动通信有限公司 | Mobile terminal with toggle roller and detection method of rolling state of toggle roller |
TW201503880A (en) * | 2013-07-17 | 2015-02-01 | Tatung Co | Massaging device and operating method thereof |
CN206183628U (en) * | 2016-08-30 | 2017-05-24 | 山东省嘉林电子科技有限公司 | Main and collateral channels massage appearance |
CN107071952A (en) * | 2017-04-26 | 2017-08-18 | 广东美的厨房电器制造有限公司 | A kind of micro-wave oven and its control method and control device |
CN208079199U (en) * | 2017-10-11 | 2018-11-09 | 北京小米移动软件有限公司 | Mobile terminal |
DE102018211216A1 (en) * | 2018-07-06 | 2020-01-09 | Robert Bosch Gmbh | Encoder wheel arrangement and method for determining an absolute angle position and a direction of rotation |
CN111759686A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Control method and device of massage equipment, massage equipment and storage medium |
CN111759685A (en) * | 2020-06-19 | 2020-10-13 | 未来穿戴(深圳)有限公司 | Massage device, control method and device of massage device, and storage medium |
CN112354082A (en) * | 2020-09-10 | 2021-02-12 | 未来穿戴技术有限公司 | Massage apparatus, control method of massage apparatus, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111759685A (en) | 2020-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021253951A1 (en) | Massage device, control method for massage device, and storage medium | |
WO2021253950A1 (en) | Massage apparatus control method, massage apparatus, and storage medium | |
WO2022001160A1 (en) | State prompting method of massage device, massage device, and storage medium | |
WO2021244137A1 (en) | Pulse current output control method, massage device, electronic device, and storage medium | |
CN112354082B (en) | Massage device, control method for massage device, and computer-readable storage medium | |
WO2021248948A1 (en) | Wearing state detection method, low-frequency electrical stimulation apparatus, and electronic device | |
US20170151124A1 (en) | Massager with touch-sensing head | |
JP2015180352A (en) | Configuration of stimulator | |
US20130103119A1 (en) | High-frequency treatment device | |
WO2020088427A1 (en) | Robotic exoskeleton of hand and feedback control method therefor | |
CN112138279A (en) | Pulse signal output control method and device, massage equipment and storage medium | |
WO2022007404A1 (en) | Massage device control method and system, massage device, and mobile terminal | |
CN215841213U (en) | Massage device | |
CN205234933U (en) | Appearance is treated in portable moxibustion | |
TW200843543A (en) | Audio device, playing apparatus and method of automatically closing the audio device | |
TW201709071A (en) | Interface controller and method of operating a device including the same | |
CN215385863U (en) | Portable electron moxibustion device with power management | |
CN114053580A (en) | Massage device, control method and device of massage device, and storage medium | |
JPH0428598Y2 (en) | ||
CN113893459B (en) | Current control method and equipment for beauty instrument and beauty instrument | |
CN117599342B (en) | Energy output control method, device, equipment and medium for beauty equipment | |
JPH06190017A (en) | Tapping massage machine | |
CN117796942B (en) | Toothbrush control method, toothbrush control device, toothbrush and storage medium | |
CN113304020B (en) | Massager, method and device for acquiring physiological information and electronic equipment | |
JP6128429B2 (en) | Massage equipment |
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: 21825150 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: 21825150 Country of ref document: EP Kind code of ref document: A1 |