[go: up one dir, main page]

CN113952202B - Massage output control method and device, mobile terminal and massage equipment - Google Patents

Massage output control method and device, mobile terminal and massage equipment Download PDF

Info

Publication number
CN113952202B
CN113952202B CN202111266922.3A CN202111266922A CN113952202B CN 113952202 B CN113952202 B CN 113952202B CN 202111266922 A CN202111266922 A CN 202111266922A CN 113952202 B CN113952202 B CN 113952202B
Authority
CN
China
Prior art keywords
massage
sensor data
mobile terminal
determining
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111266922.3A
Other languages
Chinese (zh)
Other versions
CN113952202A (en
Inventor
谭斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies Co Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202111266922.3A priority Critical patent/CN113952202B/en
Publication of CN113952202A publication Critical patent/CN113952202A/en
Application granted granted Critical
Publication of CN113952202B publication Critical patent/CN113952202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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
    • A61H23/00Percussion or vibration massage, e.g. using supersonic vibration; Suction-vibration massage; Massage with moving diaphragms
    • A61H23/02Percussion or vibration massage, e.g. using supersonic vibration; Suction-vibration massage; Massage with moving diaphragms with electric or magnetic drive
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/36014External stimulators, e.g. with patch electrodes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/36014External stimulators, e.g. with patch electrodes
    • A61N1/3603Control systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5007Control means thereof computer controlled
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5023Interfaces to the user
    • A61H2201/5035Several programs selectable
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5058Sensors or detectors
    • A61H2201/5084Acceleration sensors

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biophysics (AREA)
  • Epidemiology (AREA)
  • Pain & Pain Management (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Rehabilitation Therapy (AREA)
  • Massaging Devices (AREA)

Abstract

The application discloses a massage output control method, a massage output control device, a mobile terminal and massage equipment, wherein the method comprises the steps that the mobile terminal collects sensor data in a preset period based on a motion sensor; and determining massage parameters according to the sensor data, and sending the massage parameters to a massage device connected with the mobile terminal so that the massage device performs massage output according to the massage parameters. When a user uses the massage equipment to massage, the mobile terminal can determine the massage parameters meeting the massage requirements of the user, and the massage equipment massages the user according to the massage parameters, so that the massage equipment outputs according to the massage requirements of the user, and diversified massage experience is provided for the user.

Description

Massage output control method and device, mobile terminal and massage equipment
Technical Field
The application relates to the technical field of intelligent massage equipment, in particular to a massage output control method and device, a mobile terminal and massage equipment.
Background
At present, two kinds of massage devices exist in the market, one is a traditional massage device with a fixed massage technique or a fixed massage mode, and the other is an intelligent massage device capable of supporting free combination of different massage modes. However, the two kinds of massage devices are still limited for users, and users cannot customize the massage force and frequency of the massage devices according to their own needs, so as to influence diversified massage experiences of the users.
Disclosure of Invention
The embodiment of the application provides a massage output control method, a massage output control device, a mobile terminal and massage equipment, which can control the massage equipment to perform massage output according to the massage requirement of a user.
In a first aspect, an embodiment of the present application provides a massage output control method, where the method is applied to a mobile terminal, the mobile terminal includes a motion sensor, and the method includes:
acquiring sensor data within a preset period based on the motion sensor;
and determining massage parameters according to the sensor data, and sending the massage parameters to a massage device connected with the mobile terminal so that the massage device performs massage output according to the massage parameters.
In a second aspect, an embodiment of the present application provides a massage output control method, which is applied to a massage apparatus, including:
Receiving massage parameters sent by a mobile terminal connected with massage equipment, and determining massage signals according to the massage parameters; the massage parameters are determined by the mobile terminal based on sensor data acquired by the motion sensor within a preset period of time;
And carrying out massage output according to the massage signals.
In a third aspect, an embodiment of the present application provides a mobile terminal, where the mobile terminal includes a motion sensor, and further includes:
The acquisition module is used for acquiring sensor data in a preset period based on the motion sensor;
The first processing module is used for determining massage parameters according to the sensor data and sending the massage parameters to the massage equipment connected with the mobile terminal so that the massage equipment performs massage output according to the massage parameters.
In a fourth aspect, an embodiment of the present application provides a massage apparatus including:
The receiving module is used for receiving massage parameters sent by the mobile terminal connected with the massage equipment and determining massage signals according to the massage parameters; the massage parameters are determined by the mobile terminal based on sensor data acquired by the motion sensor within a preset period of time;
and the output module is used for massaging and outputting according to the massaging signals.
In a fifth aspect, an embodiment of the present application provides a massage output control system, including the mobile terminal provided in the third aspect of the embodiment of the present application and the massage device provided in the fourth aspect of the embodiment of the present application.
In a sixth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps provided in the first or second aspects of embodiments of the present application.
In a seventh aspect, an embodiment of the present application further provides a mobile terminal, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by a processor and to perform the method steps provided in the first aspect of the embodiments of the present application.
In an eighth aspect, an embodiment of the present application further provides a massage apparatus including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by a processor and to perform the method steps provided by the second aspect of the embodiments of the present application.
In the embodiment of the application, the mobile terminal collects sensor data in a preset period based on the motion sensor; and determining massage parameters according to the sensor data, and sending the massage parameters to a massage device connected with the mobile terminal so that the massage device performs massage output according to the massage parameters. When a user uses the massage equipment to massage, the mobile terminal can determine the massage parameters meeting the massage requirements of the user, and the massage equipment massages the user according to the massage parameters, so that the massage equipment outputs according to the massage requirements of the user, and diversified massage experience is provided for the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a massage output control system according to an embodiment of the present application;
fig. 2 is a schematic diagram of an internal structure of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic view of an internal structure of a massage apparatus according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a massage output control method according to an embodiment of the present application;
Fig. 5 is a schematic diagram of correspondence between massage parameters and massage signals according to an embodiment of the present application;
fig. 6 is a flowchart of another massage output control method according to an embodiment of the present application;
fig. 7 is a schematic diagram of acceleration data waveforms collected by an acceleration sensor according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a first correspondence list according to an embodiment of the present application;
fig. 9 is a flowchart of another massage output control method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a second correspondence list according to an embodiment of the present application;
FIG. 11 is a flow chart of a massage output control method according to another embodiment of the present application;
FIG. 12 is a schematic diagram of an acceleration data waveform collected by an acceleration sensor according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 14 is a schematic structural view of a massage apparatus according to an embodiment of the present application;
Fig. 15 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application;
fig. 16 is a schematic structural view of still another massage apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
The terms first, second, third and the like in the description and in the claims and in the above drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an architecture of a massage output control system according to an embodiment of the application.
As shown in fig. 1, the massage output control system may at least include a mobile terminal 101 and a massage device 102, wherein:
The mobile terminal 101 may communicate with the massaging device 102 over a short distance, such as, but not limited to, bluetooth, wireless-Fidelity (Wi-Fi), near field Communication (NEAR FIELD Communication), zigBee, and the like. The mobile terminal 101 may be installed with application software (APP) for controlling the massaging device 102 (hereinafter referred to as control APP), such as, but not limited to, future wearing APP. Specifically, after the user opens the control APP at the mobile terminal 101, data transmission may be performed to the massage device 102 through the control APP, for example, but not limited to, transmitting massage parameters to the massage device 102, where the massage device 102 may be the massage device 102 that completes a matching connection with the mobile terminal 101. In the process of transmitting the massage parameters to the massage device 102, the mobile terminal 101 may acquire sensor data based on a motion sensor disposed in the mobile terminal 101, where the motion sensor may be, but is not limited to, at least one of an acceleration sensor, a gyroscope sensor, a gravity sensor, or a magnetic sensor, determine a corresponding massage parameter according to the acquired sensor data, and transmit the corresponding massage parameter to the massage device 102 that has completed the matched connection. It will be appreciated that the mobile terminal 101 may also transmit control instructions to the massage device 102, such as, but not limited to, turning the massage device 102 on or off, switching the massage mode of the massage device 102, etc.
It will also be appreciated that, when the mobile terminal 101 performs data transmission to the massage device 102 through the control APP, sensor data acquired based on a motion sensor in the mobile terminal 101 may be displayed in real time in an interface of the control APP, for example, after a user opens the control APP and selects an instruction for data transmission, the sensor data acquired in real time may be presented in a current display interface of the control APP, where the sensor data may be, but is not limited to, a waveform chart with periodic fluctuations.
Here, the mobile terminal 101 may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook, an Ultra-mobile Personal Computer, a UMPC, a handheld computer, a netbook, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a wearable electronic device, a virtual reality device, or the like.
It should be noted that, in the process of transmitting the above massage parameters to the massage device 102, the mobile terminal 101 may also acquire sensor data based on a motion sensor disposed in the mobile terminal 101, and upload the sensor data to a server corresponding to the control APP, so that the server determines the corresponding massage parameters according to the uploaded sensor data, and returns the massage parameters to the mobile terminal 101. It can be appreciated that the mobile terminal 101 can reduce the operation pressure and the operation memory by uploading the sensor data to the server, so as to improve the use experience of the user for controlling the massaging device 102 based on the mobile terminal 101.
The massage device 102 may be an electro-stimulation device that performs massage output by using electrode plate sets, or may be a vibration device that performs massage output by using vibration massage heads, for example, but not limited to, a wearable intelligent massage device such as a neck massage device, a waist massage device, an eye massage device, etc. The massaging device 102 may perform massaging on the designated massaging portion according to the massaging parameters, for example, after the massaging device 102 completes the matching connection with the mobile terminal 101, a corresponding massaging signal may be determined according to the massaging parameters sent by the mobile terminal 101, and massaging on the massaging portion based on the massaging signal. It will be appreciated that the massage device 102 may include a plurality of massage modes, and may also massage the massage region according to a massage mode corresponding to the massage signals after determining the corresponding massage signals according to the massage parameters. In addition, the massage device 102 may also include a speaker for playing a reminder message corresponding to the massage signal to the user.
It should be emphasized that in the above-mentioned massage output control system composed of the mobile terminal 101 and the massage device 102, the mobile terminal 101 may also directly transmit the sensor data to the massage device 102 after collecting the sensor data based on the motion sensor, so that the massage device 102 determines the massage parameters and corresponding massage signals according to the sensor data and performs massage output according to the massage signals.
Taking the mobile terminal to determine the corresponding massage parameters according to the acquired sensor data and transmit the corresponding massage parameters to the massage device with the matched connection, reference may be made to the schematic internal structure of the mobile terminal provided by the embodiment of the application shown in fig. 2. As shown in fig. 2, the mobile terminal 200 may include a data acquisition module 201, a data conversion module 202, and a communication module 203, wherein the data module 201 may acquire sensor data based on a motion sensor built in the mobile terminal 202, for example, may acquire acceleration of the mobile terminal in x-axis, y-axis, and z-axis based on an acceleration sensor. The data conversion module 202 may convert the sensor data into massage parameters according to the acquired sensor data, and the massage parameters may be, but not limited to, massage frequency or massage force, for example, may convert sensor data in a preset time period into massage force in a preset time period. The communication module 203 may send the converted massage parameters to the corresponding massage device, for example, send the converted massage parameters to the paired massage device via bluetooth.
The massage device may also determine a corresponding massage signal according to the obtained massage parameter, and massage the massage location based on the massage signal, for example, refer to an internal structure schematic diagram of a massage device shown in fig. 3. As shown in fig. 3, the massaging device 300 may include a communication module 301, a data parsing module 302, a control module 303, a power module 304, and an output module 305, where the communication module 301 may receive massaging parameters sent by the communication module of the mobile terminal, for example, obtain massaging parameters sent by the mobile terminal through bluetooth. The data parsing module 302 may convert the massage parameters into corresponding massage signals, which may be circuit control signals corresponding to the massage parameters, for example, when the massage parameters are massage forces, the massage signals may be voltage signals corresponding to the massage forces. The control module 303 may control a circuit control signal corresponding to the massage signal in combination with the massage signal, for example, determine the circuit control signal corresponding to the massage signal from the power module. The power module 304 may send the circuit control signal to the output module 305 according to the circuit control signal corresponding to the massage signal determined by the control module 303, so that the output module 305 outputs according to the circuit control signal, where the output module 305 may be, but is not limited to, an electrode sheet set, a vibration motor, or the like.
Next, the present application will be described in further detail taking a case where the mobile terminal determines a corresponding massage parameter according to the acquired sensor data and transmits the corresponding massage parameter to the massage apparatus.
Referring to fig. 4, fig. 4 is a flow chart illustrating a massage output control method according to an embodiment of the application.
As shown in fig. 4, the massage output control method may include at least the steps of:
step 401, the mobile terminal collects sensor data in a preset period based on the motion sensor.
Specifically, a plurality of types of motion sensors may be installed in the mobile terminal, for example, but not limited to, any one of an acceleration sensor, a gyroscope sensor, a gravity sensor, or a magnetic force sensor, wherein each sensor may be used to perform a different function, and the acceleration sensor may determine a motion state of the mobile terminal according to acceleration acquired in different coordinate axes, for example, and further apply the determined motion state to an application scenario of the mobile terminal such as game control, image processing, and the like.
Here, taking a motion sensor as an acceleration sensor as an example, the mobile terminal may collect acceleration data within a preset period based on the acceleration sensor under user operation, wherein the preset period may be determined by the mobile terminal when performing massage output control on the massage apparatus. Possibly, after the user opens the control APP provided at the mobile terminal and completes the matching connection with the massage device, a preset period, for example, 2 seconds, 5 seconds, 10 seconds, 1 minute, ten minutes, fifteen minutes, thirty minutes, or the like, may be selected by the user at the display interface, and acceleration data within the set preset period may be collected by the mobile terminal based on the acceleration sensor according to the user's operation after the preset period is determined. It will be appreciated that the mobile terminal may also present the collected acceleration data on a display interface in order to give the user a more intuitive experience.
Possibly, after the user opens the control APP provided at the mobile terminal and completes the matching connection with the massage device, a preset period may be set by default by the mobile terminal, for example, the default preset period is 2 seconds, 5 seconds, 10 seconds, 1 minute, ten minutes, fifteen minutes, thirty minutes, or the like, and acceleration data within the set preset period is acquired based on the acceleration sensor according to the user's operation.
Preferably, the sensor data of the mobile terminal in the preset period may fluctuate periodically, that is, the operation of the user controlling the mobile terminal may be periodic operation, for example, but not limited to, holding the mobile terminal and swinging up and down or swinging left and right, so that the motion sensor collects the sensor data of the periodic fluctuation in the preset period.
It can be appreciated that the mobile terminal can also present acceleration data on the display interface, for example, the mobile terminal can start a data acquisition visualization program based on the control APP, and present the acceleration data on the interface in the form of an image or the like in real time, so as to facilitate more visual experience for a user.
It should be noted that the preset period may not be limited to a fixed value, and may be reset according to a user's selection, for example, and the embodiment is not limited thereto.
Step 402, the mobile terminal determines massage parameters according to the sensor data.
Specifically, after the mobile terminal collects the sensor data within the preset period, the massage parameters of the massage device which is connected in a matched manner can be determined according to the sensor data. Wherein the massage parameters may include, but are not limited to, massage force or massage frequency. Possibly, taking the massage parameter as an example of the massage force, the mobile terminal may determine the corresponding massage force according to the peak value in the sensor data within the preset period, and it may be understood that the peak value in the sensor data may be the maximum value in the sensor data, and different peak values may correspond to the sensor data corresponding to different periods within the preset period. Possibly, taking the massage parameter as an example of the massage frequency, the mobile terminal may determine the corresponding massage frequency according to the time intervals of adjacent peaks in the sensor data within the preset period, and it may be understood that the time intervals of any two adjacent peaks in the sensor data may be respectively different. Of course, the mobile terminal may also determine the massage strength and massage frequency of the coupled massage device based on the peaks in the sensor data and the time intervals.
Step 403, the mobile terminal sends the massage parameters to a massage device connected with the mobile terminal.
In particular, the mobile terminal may transmit the massage parameters to the massage device having completed the matched connection with the mobile terminal after determining the corresponding massage parameters according to the sensor data, wherein the connection manner may be implemented based on short-range communication, for example, but not limited to, the mobile terminal connecting with a bluetooth signal corresponding to the massage device among the searched bluetooth signals.
It can be understood that after the mobile terminal collects the sensor data in the preset period, the sensor data can be sent to a background server corresponding to the control APP of the mobile terminal, the background server determines corresponding massage parameters according to the sensor data, and the massage parameters determined by the background server are sent to the massage equipment which has completed matched connection with the mobile terminal.
Step 404, the massage device determines a massage signal according to the massage parameters.
Specifically, after receiving the massage parameters, the massage device may determine corresponding massage signals according to the massage parameters, where the massage signals may be circuit control signals corresponding to the massage parameters, for example, when the massage parameters are massage forces, the massage signals may be voltage magnitudes or current magnitudes corresponding to the massage forces. For another example, when the massage parameter is a massage frequency, the massage signal may be a voltage frequency or a current frequency corresponding to the massage frequency.
Fig. 5 is a schematic diagram showing a correspondence between massage parameters and massage signals. In fig. 5, 5a shows a schematic diagram of a correspondence between a massage force and a voltage amplitude, and when the massage force is a, the corresponding voltage amplitude is a. When the massage force is B, the corresponding voltage amplitude is B. When the massage force is C, the corresponding voltage amplitude is C. It is understood that the ratio of the massage force a to the voltage amplitude a may be consistent with the ratio of the massage force B to the voltage amplitude B and the ratio of the massage force C to the voltage amplitude C, where the voltage amplitude may be understood as an absolute value of a minimum voltage value and an absolute value of a maximum voltage value in a period due to the periodic output of the voltage signal or the current signal by the massage device.
It should be noted that, in the above-mentioned schematic diagram of the correspondence between the massage force and the voltage amplitude, the unit corresponding to the massage force may be, but is not limited to, newton (N), the voltage amplitude may be, but is not limited to, millivolts (mV), and the current amplitude may be, but is not limited to, milliampere (mA).
Fig. 5b shows a schematic diagram of correspondence between the massage frequency and the voltage waveform, and when the massage frequency is F1, the corresponding voltage frequency is F1 and the corresponding voltage waveform may be a sine wave. When the massage frequency is F2, the corresponding voltage frequency is F2 and the corresponding voltage waveform may be a sine wave. When the massage frequency is F3, the corresponding voltage frequency is F3 and the corresponding voltage waveform may be a trapezoidal wave. It is understood that the voltage waveform may be set according to a frequency range in which the voltage frequency is located, for example, the voltage waveform corresponding to the frequency range including the voltage frequency f1 and the frequency f2 may be a sine wave, and the voltage waveform corresponding to the frequency range including the voltage frequency f3 may be a trapezoidal wave. Of course, the voltage waveform in the present embodiment may be a sawtooth wave, a triangular wave, or the like, and is not limited thereto.
The massage device can determine the massage signals corresponding to the massage parameters according to at least one of the above-mentioned massage force and voltage amplitude corresponding relation diagrams and massage frequency and voltage waveform corresponding relation diagrams, and at least one of the massage signals can be updated within a preset time interval, so that the accuracy of the massage signals is improved, and better massage experience is brought to the user.
Step 405, the massage device performs massage output according to the massage signal.
Specifically, the massage device may perform massage output on the massage part according to the massage signal after determining the corresponding massage signal according to the massage parameter. It can be understood that before the massage device performs massage output on the massage part according to the massage signal, the user can wear the massage device on the massage part, possibly the mobile terminal opens the control APP to complete connection of the massage device, and determines a corresponding massage signal according to the massage parameter sent by the mobile terminal, and performs massage output on the massage part according to the massage signal by the massage device. Possibly, the massage device can directly control the massage output of the massage part by the user, then the user opens the control APP at the mobile terminal to complete the connection of the massage device, corresponding massage signals are determined according to the massage parameters sent by the mobile terminal, and the massage device continuously performs the massage output of the massage part according to the massage signals.
The massage device can perform different forms of massage output on the massage part according to the type of the massage head. Possibly, when the massage device is a neck massage device, the type of the massage head may be one or more groups of electrode plates, and the massage part is electrically stimulated and output through the electrode plates. Possibly, when the massage device is a leg massage machine, the type of massage head may be a vibration unit controlled by one or more vibration motors, through which the massage part is vibrationally output. Here, the present embodiment may not be limited to the above-mentioned neck massage device or leg massage device.
In the embodiment of the application, when a user uses the massage equipment to massage, the massage parameters meeting the massage requirements of the user can be determined through the mobile terminal, and the massage equipment massages the user according to the massage parameters, so that the massage equipment outputs according to the massage requirements of the user, and diversified massage experience is provided for the user.
As an embodiment of the present application, reference may be made to a flowchart of yet another massage output control method shown in fig. 6.
As shown in fig. 6, the massage output control method is applied to a mobile terminal, and at least may include the following steps:
step 601, collecting sensor data in a preset period based on a motion sensor.
Specifically, step 601 corresponds to step 401, and will not be described herein.
Step 602, determining an average value of the sum of absolute values of all wave peaks of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of absolute values of all wave peaks.
Specifically, the mobile terminal may acquire sensor data periodically fluctuating in a preset period based on the motion sensor under the operation of the user, determine an average value of the sum of absolute values of peaks corresponding to a plurality of fluctuation periods (e.g., 2,4, 10) in the periodically fluctuating sensor data, and determine the massage force according to the calculated average value. The user operation may be an operation of periodically shaking the mobile terminal, taking the motion sensor as an acceleration sensor as an example, the user may perform up-and-down reciprocating arm swinging motion on the mobile terminal along a vertical direction after holding the mobile terminal, and the acceleration sensor may collect acceleration data of the mobile terminal in a Y-axis direction according to the up-and-down reciprocating arm swinging motion of the user on the mobile terminal in the vertical direction, and specifically, refer to an acceleration data waveform schematic diagram collected by the acceleration sensor shown in fig. 7. As shown in fig. 7, the acceleration data may be represented in a rectangular plane coordinate system with acceleration as a Y axis and time as an X axis, and the acceleration data records four fluctuation periods, and the time periods may be represented as t1 to t2, t2 to t3, t3 to t4, and t4 to t5, respectively, where the peak a1 is collected in the time period t1 to t2, the peak a2 is collected in the time period t2 to t3, the peak a3 is collected in the time period t3 to t4, and the peak a4 is collected in the time period t4 to t 5. Further, the mobile terminal can calculate an average value of the four peaks according to the peak a1, the peak a2, the peak a3 and the peak a4, and determine the corresponding massage force according to the average value.
It can be understood that when the user holds the mobile terminal without starting the up-and-down reciprocating swing arm motion, the acceleration collected by the acceleration sensor of the mobile terminal in the Y-axis direction is 9.8 meters per square second (m/s 2). When a user holds the mobile terminal to swing down, the acceleration collected by the acceleration sensor of the mobile terminal in the Y-axis direction is larger than 9.8 meters per square second, and the acceleration data collected by the acceleration sensor corresponding to the operation of the user to swing down can be regarded as data corresponding to the massage output of the massage equipment which the user wants to control, and can be understood as the action of the user to swing down is equivalent to the action of the massage head of the massage equipment to massage the massage part. When a user holds the mobile terminal to swing up, the acceleration acquired by the acceleration sensor of the mobile terminal in the Y-axis direction can descend from the acceleration wave crest corresponding to the downward swing arm, the acceleration becomes 9.8 meters per square second when the user holds the mobile terminal at a position where the movement is not started, the acceleration can be less than 9.8 meters per square second in the continuous rising process of the swing arm until the acceleration wave trough is reached, the upward swing action of the user is to ensure that the acceleration sensor of the mobile terminal can periodically acquire sensor data comprising a plurality of wave crests, and the upward swing action can not serve as the data corresponding to massage output of the massage equipment which the user wants to control.
In the acceleration data waveform diagram shown in fig. 7, the accelerations corresponding to the peak a1, the peak a2, the peak a3, and the peak a4 are respectively equal and all greater than 0, but in the present embodiment, the periodic sensor data collected by other sensors may not be limited to have all peaks greater than 0 and all peaks are equal, and the sensor data waveform diagram may not be limited to a sine wave, such as other regular waveforms or irregular waveforms.
It should be noted that, when the massage head corresponding to the massage device connected to the mobile terminal in a matching manner performs the massage on the massage part according to the reciprocating motion, for example, but not limited to, a massage device such as a fascia gun, the massage force needs to be determined by combining peaks and troughs corresponding to a plurality of fluctuation periods in the sensor data. Specifically, the mobile terminal may calculate the absolute values of the differences between the trough and the crest in the multiple fluctuation periods in the sensor data in the preset period, calculate the average value of the absolute values of the differences based on the sum of the absolute values of the differences in the multiple fluctuation periods, and further determine the corresponding massage force according to the average value of the absolute values of the differences. It can be understood that taking the motion sensor as an acceleration sensor as an example, the motion of the user holding the mobile terminal to perform the up-and-down reciprocating arm swinging can be regarded as the motion of the massage head of the massage device to massage the massage part according to the reciprocating motion, and at this time, the massage force corresponding to the absolute value of the difference between the acceleration of the up-swinging arm and the acceleration of the down-swinging arm in the same fluctuation period is the massage force of the massage device to massage the massage part.
And 603, transmitting the massage force to a massage device connected with the mobile terminal.
Specifically, after determining the massage force according to the average value of the sum of absolute values of all wave peaks in the sensor data, the mobile terminal can send the massage force to the massage equipment connected with the mobile terminal, the massage equipment determines corresponding massage electric signals according to the massage force, and controls the massage head to massage and output the massage part according to the massage electric signals, so that the massage part can feel the massage force which the user wants to experience when controlling the mobile terminal.
It will be appreciated herein that when the mobile terminal collects sensor data within a preset period, the massage frequency of the massage force may also be set according to the preset period. Possibly, the mobile terminal can determine the times of occurrence of all wave peaks according to the sensor data, obtain the massage frequency corresponding to the massage force according to the times in combination with the preset time period, send the massage force and the massage frequency to the massage equipment connected with the mobile terminal, determine corresponding massage electric signals according to the massage force and the massage frequency by the massage equipment, and control the massage head to massage and output the massage parts according to the massage electric signals.
Possibly, the mobile terminal may further default a massage frequency corresponding to the preset period, for example, a frequency consistent with the operating frequency of the massage device that completes connection is used as a default massage frequency, the massage force and the default massage frequency are sent to the massage device that is connected to the mobile terminal, the massage device determines a corresponding massage electric signal according to the massage force and the default massage frequency, and the massage head is controlled to perform massage output on the massage part according to the massage electric signal. It will be appreciated that the massage frequency may also be set by the user on the control APP of the mobile terminal, for example, but not limited to, the user setting the single operation time of the massage head of the massage device to 500 ms, and the mobile terminal may determine the corresponding massage frequency according to the single operation time selected by the user and the preset period.
As still another embodiment of the present application, the determining the massage force according to the average value of the sum of absolute values of all peaks specifically includes:
Matching the average value of the sum of all wave crest absolute values with a preset first corresponding relation to obtain a massage force value corresponding to the average value of the sum of all wave crest absolute values; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
Specifically, after obtaining an average value of the sum of all the peak absolute values in the sensor data, the mobile terminal may match the average value with a plurality of preset peak absolute values in a preset first corresponding relationship, and use a preset massage force value corresponding to the preset peak absolute value that is successfully matched as the massage force sent to the massage device. Fig. 8 is a schematic structural diagram of a first correspondence list according to an embodiment of the present application. As shown in fig. 8, the first correspondence list may include three peak absolute values A1, A2 and A3, and massage forces F1, F2 and F3 corresponding to the three peak absolute values A1, A2 and A3, respectively. When the average value is equal to the peak absolute value A1, the massage force F1 may be regarded as the massage force of the massage device connected to the mobile terminal. When the average value is equal to the peak absolute value A2, the massage force F2 may be regarded as the massage force of the massage device connected to the mobile terminal. When the average value is equal to the peak absolute value A3, the massage force F3 may be regarded as the massage force of the massage device connected to the mobile terminal. It is to be understood that the peak absolute value A1, the peak absolute value A2, and the peak absolute value A3 mentioned above may not be limited to fixed values, and may be fixed intervals, for example, that is, when the average value belongs to an interval corresponding to any one of the peak absolute value A1, the peak absolute value A2, and the peak absolute value A3, the corresponding massage force may be regarded as the massage force of the massage device connected to the mobile terminal.
As a further embodiment of the present application, please refer to fig. 9, which is a schematic flow chart of a further massage output control method according to the present application.
As shown in fig. 9, the massage output control method is applied to a mobile terminal, and at least may include the following steps:
Step 901, collecting sensor data in a preset period based on a motion sensor.
Specifically, step 901 corresponds to step 601 and step 401, and will not be described herein.
Step 902, determining an average value of the sum of absolute values of all wave peaks of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of absolute values of all wave peaks.
Specifically, step 902 corresponds to step 602, and will not be described herein.
Step 903, determining an average value of the sum of the intervals of all adjacent two peaks of the sensor data in a plurality of fluctuation periods, and determining the massage frequency according to the average value of the sum of the intervals of all adjacent two peaks.
Specifically, after determining the massage force according to the average value of the sum of absolute values of all wave peaks, the mobile terminal may determine the massage frequency according to the average value of the sum of intervals of all adjacent two wave peaks in a plurality of fluctuation periods in the sensor data. Specifically, referring to the acceleration data waveform diagram shown in fig. 7, the acceleration data waveform diagram includes four peaks of peak a1, peak a2, peak a3 and peak a4, the mobile terminal may calculate an interval time between peak a1 and peak a2, an interval time between peak a2 and peak a3, and an interval time between peak a3 and peak a4, and determine a corresponding massaging frequency according to an average value of a sum of the three intervals.
Preferably, the average value of the sum of the interval time of all adjacent two wave peaks is matched with a preset second corresponding relation to obtain the massage frequency corresponding to the average value of the sum of the interval time; the second corresponding relation comprises a plurality of preset interval times and preset massage frequencies corresponding to the preset interval times respectively.
Specifically, after obtaining an average value of the sum of the interval times of all adjacent two peaks in the sensor data, the mobile terminal may match the average value with a plurality of preset interval times in a preset second corresponding relationship, and use a preset massage frequency corresponding to the preset interval time that is successfully matched as the massage frequency sent to the massage device. Reference may be made herein to fig. 10 for a schematic structural diagram of a second correspondence list according to an embodiment of the present application. As shown in fig. 10, the first correspondence list may include three intervals t1, t2, and t3, and a massaging frequency f1, a massaging frequency f2, and a massaging frequency f3 corresponding to the three intervals t1, t2, and t3, respectively. When the average value is equal to the interval time t1, the massage frequency f1 may be regarded as the massage frequency of the massage device connected to the mobile terminal. When the average value is equal to the interval time t2, the massage frequency f2 may be regarded as the massage frequency of the massage device connected to the mobile terminal. When the average value is equal to the interval time t3, the massage frequency f3 may be regarded as the massage frequency of the massage device connected to the mobile terminal. It is to be understood that the above-mentioned interval time t1, interval time t2 and interval time t3 may not be limited to a fixed value, and may be, for example, a fixed interval, that is, when the average value belongs to any one of the interval time t1, interval time t2 or interval time t3, the corresponding massage frequency may be regarded as the massage frequency of the massage device connected to the mobile terminal.
Step 904, sending the massage force and the massage frequency to a massage device connected with the mobile terminal.
Specifically, after determining the massage force according to the average value of the sum of absolute values of all wave peaks in the sensor data and determining the massage frequency according to the average value of the sum of interval time of all adjacent two wave peaks, the mobile terminal can send the massage force and the massage frequency to massage equipment connected with the mobile terminal, the massage equipment determines corresponding massage electric signals according to the massage force, and controls the massage head to massage and output the massage part according to the massage electric signals, so that the massage part can feel the massage force and the massage frequency which the user wants to experience when controlling the mobile terminal.
As a further embodiment of the present application, please refer to fig. 11, which illustrates a flowchart of a further massage output control method according to the present application.
As shown in fig. 11, the massage output control method is applied to a mobile terminal, and may at least include the following steps:
step 1101, collecting sensor data in a preset period based on the motion sensor.
Specifically, step 1101 corresponds to step 901, step 601, and step 401, and will not be described herein.
Step 1102, determining an absolute value of a peak of the sensor data in the current fluctuation period, and determining the massage force according to the absolute value of the peak in the current fluctuation period.
Specifically, the mobile terminal may not be limited to the above embodiment in which the massage force is determined based on the average value of the sum of absolute values of all peaks in the sensing data, and may determine the massage force in real time based on the absolute value of the peak of the sensing data in the current fluctuation period, for example. The current fluctuation period can be understood as a fluctuation period of a wave crest included in sensor data acquired by a motion sensor of the mobile terminal in real time according to shaking operation of the mobile terminal by a user, and the mobile terminal can determine corresponding massage force according to an absolute value of the wave crest in the fluctuation period.
Further, when the sensor data collected by the mobile terminal includes a fluctuation period of a peak adjacent to the peak, the mobile terminal may determine the corresponding massage force according to an absolute value of the peak adjacent to the peak in the fluctuation period. It can be understood that, whenever the sensor data collected by the mobile terminal in real time includes a fluctuation period, the massage force corresponding to the fluctuation period can be determined according to the absolute value of the peak in the fluctuation period, and the absolute value of the peak in each fluctuation period can be different.
Preferably, the determining the massage force according to the absolute value of the wave crest in the current fluctuation period specifically includes:
matching the absolute value of the wave crest in the current fluctuation period with a preset first corresponding relation to obtain a massage force value corresponding to the absolute value of the wave crest; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
Specifically, after obtaining the absolute value of the peak in the current fluctuation period in the sensor data, the mobile terminal can match the average value with a plurality of preset peak absolute values in a preset first corresponding relation, and takes a preset massage force value corresponding to the preset peak absolute value which is successfully matched as the massage force sent to the massage equipment. The schematic structural diagram of the first correspondence list provided in the embodiment of the present application shown in fig. 8 can be referred to herein. As shown in fig. 8, the first correspondence list may include three peak absolute values A1, A2 and A3, and massage forces F1, F2 and F3 corresponding to the three peak absolute values A1, A2 and A3, respectively. When the average value is equal to the peak absolute value A1, the massage force F1 may be regarded as the massage force of the massage device connected to the mobile terminal. When the average value is equal to the peak absolute value A2, the massage force F2 may be regarded as the massage force of the massage device connected to the mobile terminal. When the average value is equal to the peak absolute value A3, the massage force F3 may be regarded as the massage force of the massage device connected to the mobile terminal. It is to be understood that the peak absolute value A1, the peak absolute value A2, and the peak absolute value A3 mentioned above may not be limited to fixed values, and may be fixed intervals, for example, that is, when the average value belongs to an interval corresponding to any one of the peak absolute value A1, the peak absolute value A2, and the peak absolute value A3, the corresponding massage force may be regarded as the massage force of the massage device connected to the mobile terminal.
And step 1103, determining the massage signal output time according to the time corresponding to the wave crest of the sensor data in the current fluctuation period.
Specifically, after determining the massage force according to the absolute value of the peak in the current fluctuation period, the mobile terminal may determine the massage signal output time according to the time corresponding to the peak in the current fluctuation period. After determining the massage force of the current fluctuation period, the mobile terminal can determine the output time of the massage device when the massage device outputs the massage according to the massage force corresponding to the current fluctuation period based on the time corresponding to the wave crest in the current fluctuation period, so that the massage experience is brought to the user, and the working time of the massage force can be set by default by the mobile terminal, for example, but not limited to, the single working time of the massage head of the massage device is set to 500 milliseconds. Of course, the working time of the massage force may also be set by the user on the control APP of the mobile terminal, which is not limited thereto.
It can be understood that after the massage device finishes massage output according to the massage force corresponding to the current fluctuation period according to the working time, the massage device can stop outputting and wait for the massage force corresponding to the next fluctuation period sent by the mobile terminal, so as to continue to perform massage output according to the massage force corresponding to the next fluctuation period according to the working time set by default.
Preferably, the mobile terminal may further determine the massage duration according to the duration of the forward wave in the current fluctuation period. Specifically, after determining the massage force according to the absolute value of the peak in the current fluctuation period, the mobile terminal can determine the massage signal output time according to the time corresponding to the peak in the current fluctuation period, and determine the massage time for the massage force to be output from the massage signal output time according to the duration of the forward wave in which the peak in the current fluctuation period is located. Taking the motion sensor as an acceleration sensor as an example, reference may be made to a schematic diagram of acceleration data waveforms collected by another acceleration sensor according to the embodiment of the present application shown in fig. 12. As shown in fig. 12, when the mobile terminal collects, according to the acceleration sensor, that the time period corresponding to the current fluctuation period including the peak in the acceleration data is t1 to t3, the acceleration a1 corresponding to the peak in the current fluctuation period may be determined according to the time period, the massage signal output time may be determined according to the time corresponding to the acceleration a1 in the acceleration data waveform schematic diagram, and the duration and the corresponding massage time may be determined according to the start time t2 and the end time t3 of the forward wave where the acceleration a1 is located. The determination of the massage duration may also be obtained according to a corresponding relationship between a preset duration and a massage duration, for example, but not limited to, according to a matching result between the duration in the current fluctuation period and the duration preset in the corresponding relationship, and the corresponding preset massage duration is used as the massage duration for performing massage output.
It will be further appreciated that the above-mentioned determination of the output timing of the massage signal may also be determined according to the start timing of the forward wave in the current fluctuation period, for example, taking the acceleration data waveform shown in fig. 12 as an example, the output timing of the massage signal may be determined according to the start timing t2 of the forward wave at which the acceleration a1 is located, so that the massage device performs massage output more synchronously with the sensor data collected by the mobile terminal.
And 1104, transmitting the massage force and the massage signal output time to a massage device connected with the mobile terminal.
Specifically, the mobile terminal can send the determined massage force and the corresponding massage signal output time to the massage device connected with the mobile terminal in real time, so that the massage device converts the corresponding massage electric signal according to the massage force and the corresponding massage signal output time, and performs massage output on the massage part according to the massage electric signal. When the working time length of each massage force is set by the mobile terminal by default, the massage equipment can also massage and output the massage part according to the working time length set by default and the massage electric signal. When the working time of the massage force is determined by the duration of the forward wave in the current fluctuation period, the massage equipment can also massage and output the massage part according to the duration corresponding to the current fluctuation period and the massage signal.
As still another embodiment of the present application, after collecting sensor data within a preset period based on the motion sensor, before determining massage parameters according to the sensor data, the method further includes:
Screening and filtering the sensor data to remove data which is not in a fluctuation period in the sensor data;
determining massage parameters according to the sensor data, specifically comprising:
And determining massage parameters according to the filtered sensor data.
Specifically, after the mobile terminal collects the sensor data based on the motion sensor, due to the fact that interference data exist in the sensor data, data which are not in a fluctuation period in the sensor data can be filtered, and massage parameters are determined according to the filtered sensor data, so that accuracy and efficiency of massage output of the massage equipment are guaranteed. Here, the motion sensor is taken as an acceleration sensor, and reference may be made to the aforementioned schematic diagram of the acceleration data waveform shown in fig. 12. In the acceleration data waveform schematic diagram, a data segment 1 and a data segment 2 are marked, wherein the data segment 1 is positioned at the front segment of the whole acceleration data, the data segment 2 is positioned at the tail segment of the whole acceleration data, it can be seen that the acceleration data positioned in the data segment 1 and the acceleration data positioned in the data segment 2 are not positioned in a fluctuation period, that is, the acceleration data positioned in the data segment 1 and the acceleration data positioned in the data segment 2 are invalid data, and based on the mobile terminal, the acceleration data positioned in the data segment 1 and the acceleration data positioned in the data segment 2 in the whole acceleration data can be filtered out, so that massage parameters can be determined according to the rest acceleration data.
In the present application, the motion sensor may not be limited to the acceleration sensor mentioned by way of example above, but may also be, for example, a gyro sensor, a magnetic force sensor, or a direction sensor. Taking a motion sensor as a gyroscope sensor as an example, a user can hold the mobile terminal to shake left and right along the plane of the mobile terminal, the gyroscope sensor can collect angular acceleration of the mobile terminal when shake left and right, and corresponding massage force can be determined according to the maximum value or the minimum value of the collected angular acceleration, so that massage equipment connected with the mobile terminal can massage and output a massage part according to a massage signal corresponding to the massage force. It can be understood that the mobile terminal can also determine the corresponding massage frequency according to the interval time of the adjacent maximum value or the adjacent minimum value in the collected angular acceleration data, or can also set the fixed massage frequency at the mobile terminal according to the user, so that the massage equipment can massage and output the massage part according to the designated massage frequency.
The motion sensor is taken as an example of a magnetic sensor, a user can hold a magnetic object such as a magnet to periodically approach and separate from the mobile terminal, the magnetic touch sensor can collect magnetic force changes of the magnetic object in the approach and separate from processes, the magnetic force can be gradually increased when the magnetic object approaches, the magnetic force can be gradually reduced when the magnetic object separates from, and corresponding massage force can be determined according to the collected maximum value or the magnetic force minimum value, so that massage equipment connected with the mobile terminal can massage and output massage positions according to massage signals corresponding to the massage force. It can be understood that the mobile terminal can also determine the corresponding massage frequency according to the interval time of the adjacent maximum value or the adjacent minimum value in the collected magnetic force data, or can also set the fixed massage frequency at the mobile terminal according to the user, so that the massage equipment can massage and output the massage part according to the designated massage frequency.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
As shown in fig. 13, the mobile terminal 1300 may at least include an acquisition module 1301 and a first processing module 1302, wherein:
an acquisition module 1301 for acquiring sensor data within a preset period based on the motion sensor;
The first processing module 1302 is configured to determine a massage parameter according to the sensor data, and send the massage parameter to a massage device connected to the mobile terminal, so that the massage device performs massage output according to the massage parameter.
In some possible embodiments, the massage parameters include: massage force; the sensor data periodically fluctuates in a preset period.
In some possible embodiments, the first processing module 1302 is specifically configured to:
And determining the average value of the sum of all wave crest absolute values of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of all wave crest absolute values.
In some possible embodiments, the first processing module 1302 is specifically configured to:
Matching the average value of the sum of all wave crest absolute values with a preset first corresponding relation to obtain a massage force value corresponding to the average value of the sum of all wave crest absolute values; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
In some possible embodiments, the massage parameters further comprise: the massage frequency;
the mobile terminal 1300 further includes a second processing module for determining an average value of a sum of intervals of all adjacent two peaks of the sensor data in the plurality of fluctuation periods after determining an average value of a sum of absolute values of all peaks of the sensor data in the plurality of fluctuation periods, and determining a massage frequency according to the average value of the sum of intervals of all adjacent two peaks.
In some possible embodiments, the second processing module is specifically configured to:
matching the average value of the sum of the interval time of all adjacent two wave peaks with a preset second corresponding relation to obtain a massage frequency corresponding to the average value of the sum of the interval time; the second corresponding relation comprises a plurality of preset interval time and preset massage frequency corresponding to each of the preset interval time.
In some possible embodiments, the massage parameters further comprise: massage signal output time;
the first processing module 1302 is specifically configured to:
determining the absolute value of a wave crest of the sensor data in the current fluctuation period, and determining the massage force according to the absolute value of the wave crest in the current fluctuation period;
and determining the massage signal output time according to the time corresponding to the wave crest of the sensor data in the current fluctuation period.
In some possible embodiments, the massage parameters further comprise: massage time;
the first processing module 1302 is specifically configured to:
and determining the massage duration according to the duration of the forward wave in the current fluctuation period.
In some possible embodiments, the first processing module 1302 is specifically configured to:
Matching the absolute value of the wave crest in the current fluctuation period with a preset first corresponding relation to obtain a massage force value corresponding to the absolute value of the wave crest; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
In some possible embodiments, the mobile terminal 1300 further includes a third processing module, configured to, after the motion sensor collects the sensor data within the preset period, screen and filter the sensor data to remove data that is not in the fluctuation period in the sensor data, before determining the massage parameters according to the sensor data;
the first processing module 1302 is specifically configured to:
And determining massage parameters according to the filtered sensor data.
In some possible embodiments, the mobile terminal 1300 further includes a presentation module for presenting the sensor data after the sensor data is collected over a preset period of time based on the motion sensor.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a massage apparatus according to an embodiment of the present application.
As shown in fig. 14, the massage apparatus 1400 may include at least a receiving module 1401 and an output module 1402, wherein:
a receiving module 1401, configured to receive a massage parameter sent by a mobile terminal connected to the massage device, and determine a massage signal according to the massage parameter; the massage parameters are determined by the mobile terminal based on sensor data acquired by the motion sensor within a preset period of time;
The output module 1402 is configured to perform massage output according to the massage signal.
Referring to fig. 15, fig. 15 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
As shown in fig. 15, the electronic device 1500 may include: at least one processor 1501, at least one network interface 1504, a user interface 1503, a memory 1505, a touch screen 1506, motion sensors 1507, and at least one communication bus 1502.
Wherein a communication bus 1502 may be used to facilitate communications among the various components described above.
The user interface 1503 may include keys, and the optional user interface may also include a standard wired interface, a wireless interface, among others.
The network interface 1504 may optionally include a bluetooth module, an NFC module, a Wi-Fi module, and the like, among others.
The motion sensor 1507 may be, but is not limited to, an acceleration sensor, a gyro sensor, a magnetic force sensor, or the like.
Wherein the processor 1501 may include one or more processing cores. The processor 1501 uses various interfaces and lines to connect various portions of the overall electronic device 1500, perform various functions of the routing device 1500, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1505, and invoking data stored in the memory 1505. In the alternative, processor 1501 may be implemented in at least one hardware form of DSP, FPGA, PLA. The processor 1501 may integrate one or a combination of several of a CPU, GPU, modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1501 and may be implemented on a single chip.
The memory 1505 may include RAM or ROM. Optionally, the memory 1505 includes a non-transitory computer-readable medium. Memory 1505 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1505 may include a stored program region that may store instructions for implementing an operating system, instructions for at least one function (e.g., touch function, sound play function, image play function, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. Memory 1505 may also optionally be at least one memory device located remotely from the processor 1501. As shown in FIG. 15, an operating system, a network communication module, a user interface module, and a massage output control application program may be included in memory 1505, which is one type of computer storage medium.
In particular, the processor 1501 may be used to invoke the massage output control application program stored in the memory 1505 and to perform the following operations in particular:
acquiring sensor data within a preset period based on the motion sensor;
and determining massage parameters according to the sensor data, and sending the massage parameters to a massage device connected with the mobile terminal so that the massage device performs massage output according to the massage parameters.
In some possible embodiments, the massage parameters include: massage force; the sensor data periodically fluctuates in a preset period.
In some possible embodiments, the processor 1501 is specifically configured to perform:
And determining the average value of the sum of all wave crest absolute values of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of all wave crest absolute values.
In some possible embodiments, the processor 1501 is configured to perform, in particular, when determining the massage force from the average value of the sum of the absolute values of all the peaks:
Matching the average value of the sum of all wave crest absolute values with a preset first corresponding relation to obtain a massage force value corresponding to the average value of the sum of all wave crest absolute values; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
In some possible embodiments, the massage parameters further comprise: the massage frequency;
The processor 1501, after determining the average value of the sum of absolute values of all peaks of the sensor data over a plurality of fluctuation periods, is further configured to perform:
Determining an average value of the sum of the interval times of all adjacent two wave crests of the sensor data in a plurality of fluctuation periods, and determining the massage frequency according to the average value of the sum of the interval times of all adjacent two wave crests.
In some possible embodiments, the processor 1501 is configured to perform, in particular, when determining the massage frequency from the average value of the sum of the intervals of all adjacent two peaks:
matching the average value of the sum of the interval time of all adjacent two wave peaks with a preset second corresponding relation to obtain a massage frequency corresponding to the average value of the sum of the interval time; the second corresponding relation comprises a plurality of preset interval time and preset massage frequency corresponding to each of the preset interval time.
In some possible embodiments, the massage parameters further comprise: massage signal output time;
The processor 1501 is specifically configured to perform:
determining the absolute value of a wave crest of the sensor data in the current fluctuation period, and determining the massage force according to the absolute value of the wave crest in the current fluctuation period;
and determining the massage signal output time according to the time corresponding to the wave crest of the sensor data in the current fluctuation period.
In some possible embodiments, the massage parameters further comprise: massage time;
The processor 1501 is also specifically configured to perform, when determining the massage parameters from the sensor data:
and determining the massage duration according to the duration of the forward wave in the current fluctuation period.
In some possible embodiments, the processor 1501 is configured to, when determining the massage force from the absolute value of the peak in the current fluctuation period, specifically perform:
Matching the absolute value of the wave crest in the current fluctuation period with a preset first corresponding relation to obtain a massage force value corresponding to the absolute value of the wave crest; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
In some possible embodiments, the processor 1501 is further configured to, after collecting sensor data within a preset period based on the motion sensor, determine massage parameters from the sensor data, perform:
Screening and filtering the sensor data to remove data which is not in a fluctuation period in the sensor data;
determining massage parameters according to the sensor data, specifically comprising:
And determining massage parameters according to the filtered sensor data.
In some possible embodiments, the processor 1501 is further configured to perform, after collecting sensor data within a preset period based on the motion sensor:
Sensor data is shown.
Referring to fig. 16, fig. 16 is a schematic structural diagram of another massage apparatus according to an embodiment of the present application.
As shown in fig. 16, the electronic device 1600 may include: at least one processor 1601, at least one network interface 1604, a user interface 1603, a memory 1605, a touch screen 1606, and at least one communication bus 1602.
Wherein a communication bus 1602 may be used to enable the connection communication of the various components described above.
The user interface 1603 may include keys, among other things, and the optional user interface may also include a standard wired interface, a wireless interface.
The network interface 1604 may optionally include a bluetooth module, an NFC module, a Wi-Fi module, etc.
Wherein the processor 1601 may include one or more processing cores. The processor 1601 utilizes various interfaces and lines to connect various portions of the overall electronic device 1600, performing various functions of the routing device 1600 and processing data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1605, and invoking data stored in the memory 1605. Alternatively, the processor 1601 may be implemented in at least one hardware form of DSP, FPGA, PLA. The processor 1601 may integrate one or a combination of a CPU, GPU, modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1601 and may be implemented by a single chip.
The memory 1605 may include RAM or ROM. Optionally, the memory 1605 includes a non-transitory computer-readable medium. Memory 1605 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1605 may include a stored program area that may store instructions for implementing an operating system, instructions for at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc., and a stored data area; the storage data area may store data or the like referred to in the above respective method embodiments. Memory 1605 may also optionally be at least one storage device located remotely from the aforementioned processor 1601. As shown in fig. 16, an operating system, a network communication module, a user interface module, and a massage output control application program may be included in the memory 1605, which is one type of computer storage medium.
In particular, the processor 1601 may be configured to invoke the massage output control application stored in the memory 1605 and to specifically perform the following operations:
Receiving massage parameters sent by a mobile terminal connected with massage equipment, and determining massage signals according to the massage parameters; the massage parameters are determined by the mobile terminal based on sensor data acquired by the motion sensor within a preset period of time;
And carrying out massage output according to the massage signals.
Embodiments of the present application also provide a computer-readable storage medium having instructions stored therein, which when executed on a computer or processor, cause the computer or processor to perform one or more of the steps of the embodiments shown in fig. 4 or 6 or 9 or 11 described above. The above-described constituent modules of the electronic apparatus may be stored in the computer-readable storage medium if implemented in the form of software functional units and sold or used as independent products.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disk (DIGITAL VERSATILE DISC, DVD)), or a semiconductor medium (e.g., a Solid state disk (Solid STATE DISK, SSD)), or the like.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program, which may be stored in a computer-readable storage medium, instructing relevant hardware, and which, when executed, may comprise the embodiment methods as described above. And the aforementioned storage medium includes: various media capable of storing program code, such as ROM, RAM, magnetic or optical disks. The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
The above-described embodiments are merely illustrative of the preferred embodiments of the present application and are not intended to limit the scope of the present application, and various modifications and improvements made by those skilled in the art to the technical solution of the present application should fall within the scope of protection defined by the claims of the present application without departing from the design spirit of the present application.

Claims (16)

1. A massage output control method, wherein the method is applied to a mobile terminal including a motion sensor, the method comprising:
acquiring sensor data within a preset period of time based on the motion sensor;
Determining massage parameters according to the sensor data, and sending the massage parameters to massage equipment connected with the mobile terminal so that the massage equipment performs massage output according to the massage parameters; the massage parameters include: massage force; the sensor data periodically fluctuates in the preset period;
Wherein, the determining massage parameters according to the sensor data specifically comprises: and determining the average value of the sum of all wave crest absolute values of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of all wave crest absolute values.
2. The method according to claim 1, wherein said determining the massage force from the average value of the sum of the absolute values of all peaks, in particular comprises:
Matching the average value of the sum of all wave crest absolute values with a preset first corresponding relation to obtain a massage force value corresponding to the average value of the sum of all wave crest absolute values; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
3. The method of claim 2, wherein the massage parameters further comprise: the massage frequency;
after said determining an average of the sum of absolute values of all peaks of the sensor data over a plurality of fluctuation periods, the method further comprises:
And determining an average value of the sum of the interval time of all adjacent two wave crests of the sensor data in a plurality of fluctuation periods, and determining the massage frequency according to the average value of the sum of the interval time of all adjacent two wave crests.
4. A method according to claim 3, wherein said determining the massage frequency from the average value of the sum of the intervals of all adjacent two peaks comprises:
Matching the average value of the sum of the interval time of all the adjacent two wave peaks with a preset second corresponding relation to obtain a massage frequency corresponding to the average value of the sum of the interval time; the second corresponding relation comprises a plurality of preset interval times and preset massage frequencies corresponding to the preset interval times respectively.
5. The method of claim 1, wherein the massage parameters further comprise: massage signal output time;
The step of determining massage parameters according to the sensor data specifically comprises the following steps:
Determining the absolute value of a wave crest of the sensor data in the current fluctuation period, and determining the massage force according to the absolute value of the wave crest in the current fluctuation period;
and determining the massage signal output time according to the time corresponding to the wave crest of the sensor data in the current fluctuation period.
6. The method of claim 5, wherein the massage parameters further comprise: massage time;
the method for determining massage parameters according to the sensor data specifically further comprises the following steps:
and determining the massage duration according to the duration of the forward wave in the current fluctuation period.
7. The method according to claim 5, wherein said determining the massage effort from the absolute value of the peak in the current fluctuation period comprises:
Matching the absolute value of the wave crest in the current fluctuation period with a preset first corresponding relation to obtain a massage force value corresponding to the absolute value of the wave crest; the first corresponding relation comprises a plurality of preset wave crest absolute values and preset massage force values corresponding to the preset wave crest absolute values respectively.
8. The method of any of claims 1-7, wherein after the sensor data is collected over a preset period of time based on the motion sensor, before the massage parameters are determined from the sensor data, further comprising:
Screening and filtering the sensor data to remove data which is not in a fluctuation period in the sensor data;
The step of determining massage parameters according to the sensor data specifically comprises the following steps:
And determining massage parameters according to the filtered sensor data.
9. The method of claim 1, wherein after the sensor data is collected over a preset period of time based on the motion sensor, the method further comprises:
the sensor data is shown.
10. A massage output control method, characterized in that the method is applied to a massage apparatus, the method comprising:
receiving massage parameters sent by a mobile terminal connected with the massage equipment, and determining massage signals according to the massage parameters; the massage parameters are determined by the mobile terminal based on sensor data acquired by a motion sensor within a preset period of time; the massage parameters include: massage force; the sensor data periodically fluctuates in the preset period;
The process for determining the massage parameters specifically comprises the following steps: determining an average value of the sum of absolute values of all wave peaks of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of absolute values of all wave peaks;
And carrying out massage output according to the massage signals.
11. A mobile terminal, the mobile terminal comprising a motion sensor, the mobile terminal further comprising:
The acquisition module is used for acquiring sensor data in a preset period based on the motion sensor;
The first processing module is used for determining massage parameters according to the sensor data and sending the massage parameters to massage equipment connected with the mobile terminal so that the massage equipment performs massage output according to the massage parameters; the massage parameters include: massage force; the sensor data periodically fluctuates in the preset period; wherein, the determining massage parameters according to the sensor data specifically comprises: and determining the average value of the sum of all wave crest absolute values of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of all wave crest absolute values.
12. A massage apparatus, characterized by comprising:
The receiving module is used for receiving massage parameters sent by the mobile terminal connected with the massage equipment and determining massage signals according to the massage parameters; the massage parameters are determined by the mobile terminal based on sensor data acquired by a motion sensor within a preset period of time; the massage parameters include: massage force; the sensor data periodically fluctuates in the preset period; the process for determining the massage parameters specifically comprises the following steps: determining an average value of the sum of absolute values of all wave peaks of the sensor data in a plurality of fluctuation periods, and determining the massage force according to the average value of the sum of absolute values of all wave peaks;
And the output module is used for carrying out massage output according to the massage signals.
13. A massage output control system, comprising: the mobile terminal of claim 11 and the massage device of claim 12.
14. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any of claims 1-9 or 10.
15. A mobile terminal comprising a processor and a memory;
the processor is connected with the memory;
The memory is used for storing executable program codes;
The processor runs a program corresponding to executable program code stored in the memory by reading the executable program code for performing the method according to any one of claims 1-9.
16. A massage apparatus comprising a processor and a memory;
the processor is connected with the memory;
The memory is used for storing executable program codes;
The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of claim 10.
CN202111266922.3A 2021-10-28 2021-10-28 Massage output control method and device, mobile terminal and massage equipment Active CN113952202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111266922.3A CN113952202B (en) 2021-10-28 2021-10-28 Massage output control method and device, mobile terminal and massage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111266922.3A CN113952202B (en) 2021-10-28 2021-10-28 Massage output control method and device, mobile terminal and massage equipment

Publications (2)

Publication Number Publication Date
CN113952202A CN113952202A (en) 2022-01-21
CN113952202B true CN113952202B (en) 2024-07-09

Family

ID=79468033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111266922.3A Active CN113952202B (en) 2021-10-28 2021-10-28 Massage output control method and device, mobile terminal and massage equipment

Country Status (1)

Country Link
CN (1) CN113952202B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105853136A (en) * 2016-04-21 2016-08-17 北京小米移动软件有限公司 Control method and device for target massage device
CN108553757A (en) * 2018-01-12 2018-09-21 广州聚注通用技术研究院有限公司 A kind of self-adjusting system of massage device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080191648A1 (en) * 2003-02-27 2008-08-14 Yoshiteru Ito Closed Loop Control Of Linear Vibration Actuator
JP4409907B2 (en) * 2003-10-28 2010-02-03 九州日立マクセル株式会社 Massage machine
CN111493874B (en) * 2018-07-25 2023-05-30 佛山市丈量科技有限公司 A human respiratory rate measurement system and an intelligent seat equipped with the measurement system
CN109009960A (en) * 2018-08-07 2018-12-18 厦门极乐岛科技有限公司 Electronic reciprocal massage machine and interaction massage system
CN210865068U (en) * 2019-12-12 2020-06-26 深圳市晶哲电子科技有限公司 Novel wireless remote control adult product massager
CN111558163A (en) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 Neck massager, motion detection method thereof and computer readable storage medium
CN112842806B (en) * 2020-12-28 2023-01-20 未来穿戴技术有限公司 Output control method and device for massage equipment, massage equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105853136A (en) * 2016-04-21 2016-08-17 北京小米移动软件有限公司 Control method and device for target massage device
CN108553757A (en) * 2018-01-12 2018-09-21 广州聚注通用技术研究院有限公司 A kind of self-adjusting system of massage device

Also Published As

Publication number Publication date
CN113952202A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
US11291796B2 (en) Method and apparatus for adjusting user emotion
EP3628381A1 (en) Game picture display method and apparatus, storage medium and electronic device
CN102655551B (en) Sensing feedback method and device
CN110096131B (en) Touch interaction method and device and touch wearable equipment
CN106793827B (en) A kind of data communications method and data communication system
CN102387241B (en) A kind of mobile terminal and transmission processing method thereof
CN106878390B (en) Electronic pet interactive control method, device and wearable device
CN110166848B (en) Live broadcast interaction method, related device and system
CN110389659A (en) The system and method for dynamic haptic playback are provided for enhancing or reality environment
CN106325112A (en) Information processing method and electronic equipment
US10118102B2 (en) Information processing system, information processing apparatus, storage medium having stored therein information processing program, and information processing method
CN104035550A (en) Information providing mode switching method and device
CN113633278A (en) Motion monitoring method, terminal device and computer-readable storage medium
CN104640233A (en) Method, device and system for building communication connection among electronic equipment
CN111736483A (en) Intelligent feedback housekeeper system and feedback method for same
CN107843250A (en) Vibration air navigation aid, device and wearable device for wearable device
CN113952202B (en) Massage output control method and device, mobile terminal and massage equipment
CN202472907U (en) Remote controller and display control system
CN113893123A (en) Massage data processing method and device, electronic equipment and storage medium
CN105117012A (en) Display interface adjusting method and smart watch
CN112000561B (en) Image generation method, image generation device, medium and electronic equipment
CN103312897A (en) Mobile terminal and sending processing method thereof
CN112188450B (en) Input peripheral based input method and related device
CN115328770A (en) Application program testing method and device, electronic equipment and storage medium
CN114487644A (en) Charge state detection method, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant