WO2021223473A1 - 按摩控制方法、装置、计算机设备和计算机可读存储介质 - Google Patents

按摩控制方法、装置、计算机设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2021223473A1
WO2021223473A1 PCT/CN2021/074617 CN2021074617W WO2021223473A1 WO 2021223473 A1 WO2021223473 A1 WO 2021223473A1 CN 2021074617 W CN2021074617 W CN 2021074617W WO 2021223473 A1 WO2021223473 A1 WO 2021223473A1
Authority
WO
WIPO (PCT)
Prior art keywords
massage
posture information
user
current
current posture
Prior art date
Application number
PCT/CN2021/074617
Other languages
English (en)
French (fr)
Inventor
刘杰
张伟仪
莫之特
Original Assignee
未来穿戴技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 未来穿戴技术有限公司 filed Critical 未来穿戴技术有限公司
Publication of WO2021223473A1 publication Critical patent/WO2021223473A1/zh

Links

Images

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
    • A61H7/00Devices for suction-kneading massage; Devices for massaging the skin by rubbing or brushing not otherwise provided for
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/30ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to physical therapies or activities, e.g. physiotherapy, acupressure or exercising
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/63ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for local operation
    • 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/5005Control means thereof for controlling frequency distribution, modulation or interference of a driving signal
    • 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
    • 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
    • A61H2230/00Measuring physical parameters of the user
    • A61H2230/04Heartbeat characteristics, e.g. E.G.C., blood pressure modulation
    • A61H2230/045Heartbeat characteristics, e.g. E.G.C., blood pressure modulation used as a control parameter for the apparatus
    • 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
    • A61H2230/00Measuring physical parameters of the user
    • A61H2230/62Posture
    • A61H2230/625Posture used as a control parameter for the apparatus

Definitions

  • the present invention relates to the technical field of health management, in particular to a massage control method, device, computer equipment and computer readable storage medium.
  • buttons are generally set on massage equipment, for example, a massage mode switching button, which is used for users to switch between different massage modes.
  • Different massage modes correspond to different massage parameters, such as massage intensity parameters.
  • the user needs to manually adjust the physical buttons to select the corresponding massage method according to their own massage needs.
  • an embodiment of the present application provides a massage control method, which is applied to a massage device, and the method includes:
  • the target massage mode corresponding to the current posture information obtains the target massage mode corresponding to the current posture information, where different posture information corresponds to different massage modes;
  • the current working parameters of the massage device are set as the massage parameters included in the target massage mode; the massage parameters include at least the massage intensity parameters.
  • the massage device is provided with an acceleration sensor to obtain the current posture information of the user, including:
  • the classification model is used to classify the action feature information to obtain the user's current posture information.
  • obtaining the current posture information of the user includes:
  • heart rate data is not greater than the heart rate threshold, it is determined that the current posture information of the user is the resting posture.
  • obtaining the current posture information of the user includes:
  • obtaining the target massage mode corresponding to the current posture information according to the current posture information includes:
  • the mapping table includes the mapping relationship between each posture information and each massage mode. Different massage modes correspond to different massage parameters;
  • the massage mode corresponding to the found current posture information is determined as the target massage mode.
  • the massage control method further includes:
  • the current posture information is the first preset posture
  • the current state of the massage device is the standby state, judging whether the posture information of the user has changed after the preset time period, and the first preset posture is the target stationary posture among multiple stationary postures;
  • obtaining the target massage mode corresponding to the current posture information includes:
  • the target massage mode corresponding to the current posture information is obtained according to the current posture information.
  • the massage control method further includes:
  • the massage device is controlled to stop the massage;
  • the second preset posture is the target motion posture with the motion amplitude greater than the threshold.
  • the massage control method further includes:
  • the massage device is controlled to stop the massage.
  • the massage control method after setting the current working parameters of the massage device as the massage parameters included in the target massage mode, the massage control method further includes:
  • the current working parameters of the massage device are adjusted according to the changed posture information.
  • the massage control method further includes:
  • an embodiment of the present application provides a massage control device, which is applied to massage equipment, and the device includes:
  • the first obtaining module is used to obtain the current posture information of the user
  • the second acquisition module is configured to acquire the target massage mode corresponding to the current posture information according to the current posture information acquired by the first acquisition module, where different posture information corresponds to different massage modes;
  • the massage control module is used to set the current working parameters of the massage device to the massage parameters included in the target massage mode acquired by the second acquisition module; the massage parameters include at least massage intensity parameters.
  • an embodiment of the present application provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in the first aspect when the computer program is executed by the processor.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of the method in the first aspect are implemented.
  • the embodiment of the application obtains the current posture information of the user; obtains the target massage mode corresponding to the current posture information according to the current posture information; sets the current working parameters of the massage device as the massage parameters included in the target massage mode; thus, through the user
  • the current posture information determines the corresponding target massage method, which realizes the automatic adjustment of the working parameters of the massage device; by associating the current working parameters of the massage device with the user’s current posture information, the massage control accuracy of the massage device is improved, thereby improving Improve the massage effect and user experience of the massage equipment.
  • Fig. 1 is an application scenario of a massage control method provided by an embodiment
  • Figure 2 is a schematic flow chart of a massage control method provided by an embodiment
  • FIG. 3 is a schematic flowchart of a massage control method provided by another embodiment
  • Figure 4 is a schematic flow chart of a massage control method provided by another embodiment
  • Figure 5 is a schematic flow chart of a massage control method provided by another embodiment
  • Figure 6 is a schematic flow chart of a massage control method provided by another embodiment
  • FIG. 7 is a schematic flowchart of a massage control method provided by another embodiment
  • FIG. 8 is a schematic flowchart of a massage control method provided by another embodiment
  • FIG. 9 is a schematic flowchart of a massage control method provided by another embodiment.
  • FIG. 10 is a structural block diagram of a massage control device provided by an embodiment
  • Fig. 11 is an internal structure diagram of a computer device provided by an embodiment.
  • the massage control method, device, computer equipment, and computer-readable storage medium provided by the embodiments of this application are designed to solve the problem that in traditional technology, when a user uses a massage device, the user manually adjusts the physical buttons of the massage device according to his own massage needs. Choosing the corresponding massage method causes the technical problem of poor massage control accuracy of the massage equipment.
  • the massage control method provided in the embodiment of the present application can be applied to the application scenario shown in FIG. 1, and specifically applied to the massage device 101.
  • the massage device 101 obtains the user's current posture information; the massage device 101 obtains a preset target massage mode corresponding to the current posture information according to the user's current posture information; different posture information corresponds to different massage modes;
  • the massage device 101 sets the massage parameters included in the target massage mode as the current working parameters of the massage device 101; the massage parameters include at least massage intensity parameters.
  • FIG. 1 only illustrates a massage device worn on the neck.
  • the massage device 101 can be, but not limited to, a neck massager, an eye massager, or Massage equipment for massaging other parts of the human body.
  • the execution body of the massage control method provided by the embodiments of the present application may be a massage control device, and the massage control device may be implemented as part or all of the massage equipment through software, hardware, or a combination of software and hardware.
  • the execution subject is a massage device as an example for description.
  • FIG. 2 shows a schematic flowchart of a massage control method provided by an embodiment of the present application.
  • This embodiment relates to the specific implementation process of the massage device setting the current working parameters of the massage device according to the current posture information of the user.
  • the massage control method of this embodiment may include the content of steps S100 to S300:
  • Step S100 Acquire current posture information of the user.
  • the massage device can collect the user's motion data through the sensor set in the massage device, and then use a machine learning model to extract motion feature information from the motion data, and classify the extracted motion feature information, so as to obtain the user's current Posture information.
  • the sensor may be an acceleration sensor, a gyroscope sensor, or the like.
  • the massage device may also obtain the user's heart rate data, and compare the user's heart rate data with a preset heart rate threshold to determine whether the user's current posture information is a motion posture or a static posture.
  • the massage device can specifically obtain the user's heart rate data through a photoelectric sensor provided in the massage device.
  • the massage device can also obtain the user's historical posture information.
  • the historical posture information can be the user's historical posture information at the previous moment of the current moment.
  • the massage device stores the historical posture information; the massage device stores the historical posture information.
  • the posture information is input into the posture prediction model to obtain the current posture information of the user, and so on. This embodiment does not make specific restrictions here.
  • the posture information may be postures such as walking, running, lying flat, sitting still, and standing.
  • Step S200 Acquire a target massage mode corresponding to the current posture information according to the current posture information.
  • the massage methods corresponding to different posture information are different.
  • the massage device is preset with massage modes corresponding to each posture information.
  • Different massage modes correspond to different massage parameters, and the massage parameters include at least massage intensity parameters.
  • the massage intensity parameter of the corresponding massage mode is larger; when the posture information is walking, the massage intensity parameter of the corresponding massage mode is smaller, and so on.
  • the massage device After obtaining the current posture information of the user, the massage device searches for a preset target massage mode corresponding to the current posture information according to the current posture information.
  • the massage device may also obtain the target massage mode corresponding to the current posture information from the user terminal.
  • the massage device can send the user's current posture information and query instructions to the user terminal.
  • the user terminal searches for a preset target massage mode corresponding to the current posture information and returns it to the massage device, and the massage device receives the information corresponding to the current posture.
  • the target massage method is not specifically limited in this embodiment.
  • step S300 the current working parameters of the massage device are set as the massage parameters included in the target massage mode.
  • the massage parameters include at least massage intensity parameters.
  • the massage device sets the current working parameters of the massage device as the massage parameters included in the target massage mode.
  • the massage device sets the massage intensity parameter value included in the current working parameter as the massage intensity parameter included in the target massage mode.
  • the massage intensity parameter value is specifically used to indicate the current micro-current pulse value of the massage device.
  • the massage parameters of the target massage mode may also include massage temperature parameters, massage frequency parameters, etc.; the massage device may also set the massage temperature parameters and massage frequency parameters included in the target massage mode as current working parameters of the massage device
  • the massage temperature parameter value and massage frequency parameter value in, etc., are not specifically limited here.
  • the current posture information of the user is obtained; the target massage mode corresponding to the current posture information is obtained according to the current posture information, wherein the massage modes corresponding to different posture information are different; the current working parameters of the massage device are set as the target massage
  • the massage parameters include the massage parameters; the massage parameters include at least the massage intensity parameters; thus, the corresponding target massage method is determined by the user’s current posture information, and the automatic adjustment of the working parameters of the massage device is realized; by comparing the current working parameters of the massage device with The current posture information of the user is correlated, which improves the massage control accuracy of the massage device, thereby improving the massage effect and user experience of the massage device.
  • Fig. 3 is a schematic flowchart of a massage control method provided by another embodiment.
  • step S100 includes step S110, step S120, and step S130, specifically:
  • Step S110 using an acceleration sensor to collect acceleration data of the user.
  • the massage device is provided with an acceleration sensor, and the massage device acquires the current posture information of the user, specifically, firstly using the acceleration sensor to collect acceleration data of the user.
  • the massage device controls the acceleration sensor to sample according to a certain period.
  • the acceleration sensor collects the user's motion acceleration value every 50ms.
  • the massage device first obtains the current posture information.
  • the movement acceleration value collected by the acceleration sensor within a certain period of time before the time.
  • the massage device obtains the user's motion acceleration value within 10s before the current moment as acceleration data.
  • the acceleration sensor may be a three-axis acceleration sensor. In other embodiments, the acceleration sensor may also be a single-axis acceleration sensor or a two-axis acceleration sensor, etc., which is not specifically limited herein.
  • Step S120 using a feature extraction model to extract motion feature information from the acceleration data.
  • the massage device then uses the feature extraction model to extract motion feature information from the acceleration data.
  • the massage device before feature extraction, the massage device first preprocesses the acceleration data, such as noise filtering, data smoothing, etc., and then, the massage device inputs the preprocessed acceleration data into the feature extraction model. Extract action feature information.
  • the feature extraction model can be implemented by the DTW (Dynamic Time Warping) algorithm.
  • the massage device uses the feature extraction model to extract time-domain action feature information from the pre-processed acceleration data, such as mean value and standard deviation. , Inclination angle, crest interval, crest and trough value, etc.
  • the massage device may also use a feature extraction model to extract frequency domain action feature information from acceleration data, or extract frequency domain action feature information and time domain action feature information, which is not specifically limited here.
  • Step S130 Use a classification model to classify the action feature information to obtain the current posture information of the user.
  • the massage device uses a classification model to classify the action feature information to obtain the user's current posture information.
  • the classification model may be a Naive Bayesian Model (NBM), a Bayesian Network Model (BNM), a decision tree (J48), or a Naive Bayesian Tree (Naive Bayesian Model, BNM). , NBT), Locally Weighted Learning (LWL), etc.
  • the massage device inputs the motion feature information into the classification model, and obtains the category of the user's current posture information output by the classification model.
  • the acceleration sensor is used to collect user acceleration data
  • the feature extraction model is used to extract motion feature information from the acceleration data
  • the classification model is used to classify the motion feature information to obtain the user's current posture information; thus, combined with the massage device
  • the acceleration sensor can accurately obtain the user's current posture information, thereby improving the massage control accuracy of the massage device.
  • Fig. 4 is a schematic flow chart of a massage control method provided by another embodiment.
  • step S100 includes step S140, step S150, and step S160, specifically:
  • Step S140 Obtain the heart rate data of the user.
  • the massage device can determine the user's current posture information based on the user's heart rate data.
  • the massage device is provided with a photoelectric sensor, and the massage device obtains the user's heart rate data through the photoelectric sensor.
  • step S150 the heart rate data is compared with the heart rate threshold, and if the heart rate data is greater than the heart rate threshold, it is determined that the user's current posture information is an exercise posture.
  • the massage device compares the user's heart rate data with a preset heart rate threshold. The user has a higher heart rate during exercise. If the user's heart rate data is greater than the heart rate threshold, the user's current posture information is determined to be the exercise posture.
  • step S160 if the heart rate data is not greater than the heart rate threshold, it is determined that the current posture information of the user is the resting posture.
  • the massage device compares the user's heart rate data with a preset heart rate threshold, and if the heart rate data is not greater than the heart rate threshold, it determines that the user's current posture information is a resting posture.
  • the massage device may set a plurality of different heart rate thresholds, in descending order of the first heart rate threshold, the second heart rate threshold, the third heart rate threshold, etc.; if the user If the heart rate data of the user is greater than the first heart rate threshold, the user’s current posture information is determined to be a vigorous exercise posture. If the user’s heart rate data is lower than the first heart rate threshold and greater than the second heart rate threshold, then the user’s current posture information is determined to be a medium-intensity exercise Posture and so on.
  • the user’s heart rate data is obtained; the heart rate data is compared with the heart rate threshold. If the heart rate data is greater than the heart rate threshold, it is determined that the user’s current posture information is the exercise posture; if the heart rate data is not greater than the heart rate threshold, the user’s current posture is determined
  • the posture information is the static posture; therefore, the user’s heart rate data can be used to easily and quickly determine whether the user is currently in a motion posture or a stationary posture, which reduces the difficulty for the massage device to obtain the user’s current posture information, which is beneficial to the massage control of this embodiment Application promotion of the method.
  • Fig. 5 is a schematic flow chart of a massage control method provided by another embodiment.
  • step S100 includes step S170 and step S180, specifically:
  • Step S170 Obtain historical posture information of the user.
  • the historical posture information is the posture information of the user at the target historical moment.
  • the massage device obtains the user's historical posture information, and predicts the user's current posture information based on the user's historical posture information.
  • the massage device will fail to acquire the user's acceleration data or the user's heart rate data through the sensor.
  • the massage device can acquire the user's historical posture information.
  • the historical posture information is the posture information of the user at the target historical moment, and the target historical moment may be the previous moment of the current moment.
  • the current time and the target historical time are set, that is, the time interval between the current time and the previous time is 5 minutes. If the current time is 15:45, the massage device acquires the user's posture information at 15:40 as the historical posture information. In other embodiments, the time interval between the current time and the previous time may also be 1 minute, 3 minutes, etc., which is not specifically limited here.
  • Step S180 input the historical posture information into the posture prediction model to obtain the current posture information of the user.
  • the massage device inputs the historical posture information into the posture prediction model to obtain the current posture information of the user.
  • the user’s historical posture information is obtained; the historical posture information is input into the posture prediction model to obtain the user’s current posture information; thus, the situation where massage control cannot be performed due to the failure to obtain the user’s current posture information is avoided In this embodiment, the reliability of the massage control of the massage device is improved.
  • Fig. 6 is a schematic flowchart of a massage control method provided by another embodiment.
  • step S200 includes step S210 and step S220, specifically:
  • Step S210 according to the current posture information, search for the massage mode corresponding to the current posture information in the preset mapping table.
  • the mapping table includes the mapping relationship between each posture information and each massage mode, and different massage modes correspond to different massage parameters.
  • a mapping table including the mapping relationship between each posture information and each massage mode is preset in the massage device.
  • Different massage methods correspond to different massage parameters, such as massage intensity parameters, massage temperature parameters, massage frequency parameters, and so on.
  • the massage device After the massage device obtains the user's current posture information, it searches the mapping table for the massage mode corresponding to the current posture information.
  • Step S220 Determine the massage mode corresponding to the found current posture information as the target massage mode.
  • the massage device determines the massage mode corresponding to the current posture information found as the target massage mode, thus, through the current posture information of the user, the target massage mode corresponding to the current posture information is determined, thereby realizing the automatic adjustment of the working parameters of the massage device; By associating the current working parameters of the massage device with the current posture information of the user, the massage control accuracy of the massage device is improved, thereby improving the massage effect and user experience of the massage device.
  • Fig. 7 is a schematic flowchart of a massage control method provided by another embodiment. On the basis of any one of the embodiments in FIGS. 2 to 5, as shown in FIG. 7, in the massage control method of this embodiment, step S400 is further included after step S100:
  • step S400 if the current posture information is the first preset posture, and the current state of the massage device is the standby state, it is determined whether the posture information of the user has changed after the preset time period.
  • the first preset posture is the target stationary posture among multiple stationary postures.
  • the massage device After the massage device obtains the user's current posture information, if it recognizes that the current posture information is the first preset posture, and the current state of the massage device is the standby state, that is, the massage device is not currently massaging, the interval is preset Over time, the massage device detects whether the user's posture information has changed.
  • the first preset posture is a target stationary posture among multiple stationary postures, for example, the first preset posture is a sitting posture.
  • step S200 includes step S230:
  • step S230 if the posture information of the user has not changed, the target massage mode corresponding to the current posture information is acquired according to the current posture information.
  • the massage device will use the current posture information , Acquire the target massage mode corresponding to the current posture information, and set the current working parameters of the massage device as the massage parameters included in the target massage mode, thereby controlling the massage device to automatically turn on. In this way, the user's posture information is monitored.
  • the massage device automatically starts the massage, which improves the user's experience and massage effect.
  • this embodiment further includes step a after step S100:
  • Step a If the current posture information is the second preset posture, control the massage device to stop massaging.
  • the second preset posture is a target motion posture with a motion amplitude greater than a threshold value.
  • the massage device when the massage device is in the working state, if the massage device obtains the user's current posture information through the acceleration sensor, and detects that the current posture information is the second preset posture, the second preset posture is more vigorous, such as running. Posture, the massage device controls the massage device to stop the massage.
  • the acceleration sensor may be a three-axis acceleration sensor, including x-axis, y-axis, and z-axis; The acceleration value and the acceleration value corresponding to the z-axis.
  • the massage device can determine the current posture by separately determining whether the acceleration value corresponding to the x-axis is greater than the threshold value, the acceleration value corresponding to the y-axis is greater than the threshold value, or whether the acceleration value corresponding to the z-axis is greater than the threshold value. Whether the information is the second preset posture.
  • the acceleration value corresponding to the x-axis If there is at least one acceleration value greater than the threshold among the acceleration value corresponding to the x-axis, the acceleration value corresponding to the y-axis, and the acceleration value corresponding to the z-axis, it means that the acceleration of the user in the corresponding direction is large, and the current posture information of the user is determined to be The more severe posture is the second preset posture.
  • the massage device may also obtain the combined acceleration value of the acceleration value corresponding to the x-axis, the acceleration value corresponding to the y-axis, and the acceleration value corresponding to the z-axis. Specifically, the massage device may determine the acceleration value corresponding to the x-axis. Value, the acceleration value corresponding to the y-axis, and the square root of the acceleration value corresponding to the z-axis to get the combined acceleration value. If the combined acceleration value is greater than the preset threshold, it means that the user’s overall acceleration is greater, then It is determined that the current posture information of the user is a more severe posture, that is, the second preset posture.
  • the acceleration sensor may also be a single-axis acceleration sensor or a two-axis acceleration sensor, which is not specifically limited here.
  • this embodiment further includes step b after step S100:
  • Step b If the current posture information is the sleeping posture, control the massage device to stop the massage.
  • the massage device when the massage device is working, the massage device obtains the user's current posture information. Specifically, the massage device obtains the user's heart rate data, and compares the user's heart rate data with the sleep threshold. If the user's heart rate data is low At the sleep threshold, it is determined that the current posture information of the user is the sleep posture, and the massage device controls the massage device to stop massaging, thereby avoiding interference to the user's sleep and improving the user's experience.
  • Fig. 8 is a schematic flowchart of a massage control method provided by another embodiment. On the basis of any one of the embodiments in FIGS. 2 to 7, as shown in FIG. 8, the massage control method of this embodiment further includes step S510 and step S520:
  • step S510 according to a preset time period, it is detected whether the posture information of the user has changed.
  • step S520 if the user's posture information changes, the current working parameters of the massage device are adjusted according to the changed posture information.
  • the massage device obtains the user's current posture information, and according to the current posture information, obtains the target massage mode corresponding to the current posture information, and after setting the current working parameters of the massage device as the massage parameters included in the target massage mode, according to the preset Set the time period to detect whether the user's posture information has changed. If the user’s posture information changes, the posture information after the change is acquired, and the massage mode corresponding to the posture information after the change is searched, and the massage parameters included in the found massage mode are set as the current working parameters of the massage device. Therefore, the dynamic update of the working parameters of the massage device is realized, and the reliability of the massage control in this embodiment is improved.
  • Fig. 9 is a schematic flowchart of a massage control method provided by another embodiment.
  • the massage control method of this embodiment further includes step S610 and step S620, specifically:
  • step S610 it is detected whether the massage device is worn correctly.
  • step S620 if the massage device is not worn correctly, the massage intensity parameter in the current working parameters of the massage device is reduced.
  • detecting whether the massage device is worn correctly can be detecting whether the massage device is worn too loosely or too tightly. If the massage device is not worn correctly, the massage intensity parameter in the current working parameters of the massage device is reduced to avoid If the massage device is not worn correctly and the massage intensity parameter is large, the tingling sensation on the skin of the user is caused. As a result, the intelligent massage control of the massage device is realized and the user experience is improved.
  • steps in the flowcharts 2-9 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
  • a massage control device which is applied to massage equipment, and the device includes:
  • the first obtaining module 10 is used to obtain the current posture information of the user
  • the second obtaining module 20 is configured to obtain the target massage mode corresponding to the current posture information according to the current posture information obtained by the first obtaining module 10, where different posture information corresponds to different massage modes;
  • the massage control module 30 is configured to set the current working parameters of the massage device as the massage parameters included in the target massage mode acquired by the second acquisition module; the massage parameters include at least massage intensity parameters.
  • the massage device is provided with an acceleration sensor
  • the first acquisition module 10 includes:
  • the collection sub-module is used to collect the user's acceleration data by using the acceleration sensor
  • the feature extraction sub-module is used to extract motion feature information from the acceleration data collected by the acceleration sensor by using the feature extraction model
  • the classification sub-module is used to classify the action feature information extracted by the feature extraction model by using the classification model to obtain the current posture information of the user.
  • the first obtaining module 10 includes:
  • the acquisition sub-module is used to acquire the user's heart rate data
  • the first determining sub-module is configured to compare the heart rate data acquired by the acquiring sub-module with a heart rate threshold, and if the heart rate data acquired by the acquiring sub-module is greater than the heart rate threshold, determine that the current posture information of the user is an exercise posture;
  • the second determining sub-module is configured to determine that the current posture information of the user is the resting posture if the heart rate data obtained by the obtaining sub-module is not greater than the heart rate threshold.
  • the first obtaining module 10 includes:
  • the acquisition sub-module is used to acquire the user's historical posture information, which is the posture information of the user at the target historical moment;
  • the prediction sub-module is used to input the historical posture information obtained by the obtaining sub-module into the posture prediction model to obtain the current posture information of the user.
  • the second obtaining module 20 includes:
  • the search sub-module is used to find the massage mode corresponding to the current posture information in the preset mapping table according to the current posture information.
  • the mapping table includes the mapping relationship between each posture information and each massage mode, and massages corresponding to different massage modes. The parameters are different;
  • the determining sub-module is used to determine the massage mode corresponding to the current posture information found by the searching sub-module as the target massage mode.
  • the device further includes:
  • the detection module is used to determine whether the user's posture information has changed after the preset time if the current posture information is the first preset posture and the current state of the massage device is the standby state.
  • the first preset posture is among a variety of static postures The static attitude of the target;
  • the second acquisition module 20 is also used for obtaining the target massage mode corresponding to the current posture information according to the current posture information if the posture information of the user has not changed.
  • the massage control module is configured to control the massage device to stop massaging if the current posture information is the second preset posture; the second preset posture is a target motion posture with a motion amplitude greater than a threshold.
  • the massage control module is configured to control the massage device to stop the massage if the current posture information is the sleeping posture.
  • the device further includes:
  • the detection module is used to detect whether the user's posture information has changed according to a preset time period
  • the adjustment module is used to adjust the current working parameters of the massage device according to the changed posture information if the posture information of the user changes.
  • the device further includes:
  • the detection module is used to detect whether the massage equipment is worn correctly
  • the adjustment module is used to reduce the massage intensity parameter in the current working parameters of the massage device if the massage device is not worn correctly.
  • the massage control device provided in this embodiment can execute the above-mentioned embodiment of the massage control method, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the various modules in the above-mentioned massage control device can be implemented in whole or in part by software, hardware and a combination thereof.
  • the above-mentioned modules can be embedded in the form of hardware or independent of the processor in the massage device, or can be stored in the memory of the massage device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device as shown in FIG. 11 is also provided.
  • the computer device may be a massage device, and its internal structure diagram may be as shown in FIG. 11.
  • the computer equipment includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator's network, NFC (near field communication) or other technologies.
  • the computer program is executed by the processor to realize a massage control method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
  • the target massage mode corresponding to the current posture information obtains the target massage mode corresponding to the current posture information, where different posture information corresponds to different massage modes;
  • the current working parameters of the massage device are set as the massage parameters included in the target massage mode; the massage parameters include at least the massage intensity parameters.
  • the processor further implements the following steps when executing the computer program:
  • the classification model is used to classify the action feature information to obtain the user's current posture information.
  • the processor further implements the following steps when executing the computer program:
  • heart rate data is not greater than the heart rate threshold, it is determined that the current posture information of the user is the resting posture.
  • the processor further implements the following steps when executing the computer program:
  • the processor further implements the following steps when executing the computer program:
  • the mapping table includes the mapping relationship between each posture information and each massage mode. Different massage modes correspond to different massage parameters;
  • the massage mode corresponding to the found current posture information is determined as the target massage mode.
  • the processor further implements the following steps when executing the computer program:
  • the current posture information is the first preset posture
  • the current state of the massage device is the standby state, judging whether the posture information of the user has changed after the preset time period, and the first preset posture is the target stationary posture among multiple stationary postures;
  • obtaining the target massage mode corresponding to the current posture information includes:
  • the target massage mode corresponding to the current posture information is obtained according to the current posture information.
  • the processor further implements the following steps when executing the computer program:
  • the massage device is controlled to stop the massage;
  • the second preset posture is the target motion posture with the motion amplitude greater than the threshold.
  • the processor further implements the following steps when executing the computer program:
  • the massage device is controlled to stop the massage.
  • the processor further implements the following steps when executing the computer program:
  • the current working parameters of the massage device are adjusted according to the changed posture information.
  • the processor further implements the following steps when executing the computer program:
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Ramb microsecond) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • RDRAM synchronous chain Channel
  • RDRAM direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the target massage mode corresponding to the current posture information obtains the target massage mode corresponding to the current posture information, where different posture information corresponds to different massage modes;
  • the current working parameters of the massage device are set as the massage parameters included in the target massage mode; the massage parameters include at least the massage intensity parameters.
  • the classification model is used to classify the action feature information to obtain the user's current posture information.
  • heart rate data is not greater than the heart rate threshold, it is determined that the current posture information of the user is the resting posture.
  • the mapping table includes the mapping relationship between each posture information and each massage mode. Different massage modes correspond to different massage parameters;
  • the massage mode corresponding to the found current posture information is determined as the target massage mode.
  • the current posture information is the first preset posture
  • the current state of the massage device is the standby state, judging whether the posture information of the user has changed after the preset time period, and the first preset posture is the target stationary posture among multiple stationary postures;
  • obtaining the target massage mode corresponding to the current posture information includes:
  • the target massage mode corresponding to the current posture information is obtained according to the current posture information.
  • the massage device is controlled to stop the massage;
  • the second preset posture is the target motion posture with the motion amplitude greater than the threshold.
  • the massage device is controlled to stop the massage.
  • the current working parameters of the massage device are adjusted according to the changed posture information.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Surgery (AREA)
  • Rehabilitation Therapy (AREA)
  • Primary Health Care (AREA)
  • Pain & Pain Management (AREA)
  • Physiology (AREA)
  • Molecular Biology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Dermatology (AREA)
  • Business, Economics & Management (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Dentistry (AREA)
  • General Business, Economics & Management (AREA)
  • Cardiology (AREA)
  • Massaging Devices (AREA)

Abstract

一种按摩控制方法包括:获取用户的当前姿态信息(S100);根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式(S200),其中,不同姿态信息所对应的按摩方式不同;将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数(S300);按摩参数至少包括按摩强度参数。采用该方法能够提升按摩设备的按摩控制精度。还公开了相应的装置、计算机设备和计算机可读存储介质。

Description

按摩控制方法、装置、计算机设备和计算机可读存储介质
本申请要求于2020年5月8日提交中国专利局,申请号为202010380231.5,申请名称为“按摩控制方法、装置、计算机设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及健康管理技术领域,特别是涉及一种按摩控制方法、装置、计算机设备和计算机可读存储介质。
背景技术
随着人们生活质量的提高和健康意识的增强,越来越多的按摩设备出现在人们的日常生活中,如颈部按摩仪、眼部按摩仪等。
目前,按摩设备上普遍会设置物理按键,例如,按摩方式切换按键,用于用户切换不同的按摩方式,不同的按摩方式对应的按摩参数不同,按摩参数如按摩强度参数。用户在使用按摩设备时,需要根据自己的按摩需求,手动调节物理按键来选择相应的按摩方式。
但是,目前按摩设备的智能化水平较低,上述由用户手动调节物理按键的按摩控制方法,按摩方式的调控准确性较差,按摩设备的按摩控制精度较差。
发明内容
基于此,有必要针对上述技术问题,提供一种能够提升按摩设备的按摩控制精度的按摩控制方法、装置、计算机设备和计算机可读存储介质。
第一方面,本申请实施例提供了一种按摩控制方法,应用于按摩设备,该方法包括:
获取用户的当前姿态信息;
根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数。
在其中一个实施例中,按摩设备设置有加速度传感器,获取用户的当前姿态信息,包括:
利用加速度传感器采集用户的加速度数据;
采用特征提取模型从加速度数据中提取动作特征信息;
采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息。
在其中一个实施例中,获取用户的当前姿态信息,包括:
获取用户的心率数据;
将心率数据与心率阈值进行比较,若心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态;
若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
在其中一个实施例中,获取用户的当前姿态信息,包括:
获取用户的历史姿态信息,历史姿态信息是用户在目标历史时刻的姿态信息;
将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
在其中一个实施例中,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,包括:
根据当前姿态信息,在预置的映射表中查找当前姿态信息对应的按摩方式,映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
将查找到的当前姿态信息对应的按摩方式确定为目标按摩方式。
在其中一个实施例中,获取用户的当前姿态信息之后,按摩控制方法还包括:
若当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,判断预设时长后用户的姿态信息是否发生变化,第一预设姿态为多种静止姿态中的目标静止姿态;
对应地,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,包括:
若用户的姿态信息未发生变化,则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
在其中一个实施例中,获取用户的当前姿态信息之后,按摩控制方法还包括:
若当前姿态信息为第二预设姿态,则控制按摩设备停止按摩;第二预设姿态为运动幅度大于阈值的目标运动姿态。
在其中一个实施例中,获取用户的当前姿态信息之后,按摩控制方法还包括:
若当前姿态信息为睡眠姿态,则控制按摩设备停止按摩。
在其中一个实施例中,将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数之后,按摩控制方法还包括:
按照预设的时间周期,检测用户的姿态信息是否发生变化;
若用户的姿态信息发生变化,则根据变化后的姿态信息调整按摩设备的当前工作参数。
在其中一个实施例中,将目标按摩方式对应的按摩参数设置为按摩设备的当前工作参数之后,按摩控制方法还包括:
检测按摩设备是否佩戴正确;
若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数。
第二方面,本申请实施例提供一种按摩控制装置,应用于按摩设备,该装置包括:
第一获取模块,用于获取用户的当前姿态信息;
第二获取模块,用于根据第一获取模块获取的当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
按摩控制模块,用于将按摩设备的当前工作参数设置为第二获取模块获取的目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数。
第三方面,本申请实施例提供一种计算机设备,包括存储器和处理器,存储器存储有 计算机程序,处理器执行计算机程序时实现如上述第一方面的方法的步骤。
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上述第一方面的方法的步骤。
本申请实施例通过获取用户的当前姿态信息;根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式;将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数;由此,通过用户的当前姿态信息确定对应的目标按摩方式,实现了按摩设备的工作参数的自动调控;通过将按摩设备的当前工作参数与用户的当前姿态信息相关联,提升了按摩设备的按摩控制精度,进而提升了按摩设备的按摩效果及用户体验。避免了传统技术中,需要用户根据自己的按摩需求,手动调节按摩设备的物理按键来选择相应的按摩方式,所造成的按摩方式的调控准确性较差、按摩设备的按摩控制精度较差,且多次调节容易导致用户体验差的问题。
附图说明
图1为一个实施例提供的按摩控制方法的应用场景;
图2为一个实施例提供的按摩控制方法的流程示意图;
图3为另一个实施例提供的按摩控制方法的流程示意图;
图4为另一个实施例提供的按摩控制方法的流程示意图;
图5为另一个实施例提供的按摩控制方法的流程示意图;
图6为另一个实施例提供的按摩控制方法的流程示意图;
图7为另一个实施例提供的按摩控制方法的流程示意图;
图8为另一个实施例提供的按摩控制方法的流程示意图;
图9为另一个实施例提供的按摩控制方法的流程示意图;
图10为一个实施例提供的按摩控制装置的结构框图;
图11为一个实施例提供的计算机设备的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例提供的按摩控制方法、装置、计算机设备和计算机可读存储介质,旨在解决传统技术中,用户使用按摩设备时,由用户根据自己的按摩需求,手动调节按摩设备的物理按键来选择相应的按摩方式,所造成的按摩设备的按摩控制精度较差的技术问题。下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体地实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
本申请实施例提供的按摩控制方法,可以应用于如图1所示的应用场景中,具体是应用在按摩设备101中。如图1所示,按摩设备101获取用户的当前姿态信息;按摩设备 101根据用户的当前姿态信息,获取预置的与该当前姿态信息对应的目标按摩方式;不同姿态信息对应的按摩方式不同;按摩设备101将目标按摩方式包括的按摩参数设置为按摩设备101的当前工作参数;按摩参数至少包括按摩强度参数。需要说明的是,图1中仅示例了一种佩戴于颈部的按摩设备,在实际应用的过程中,按摩设备101可以但不限于是颈部按摩仪、眼部按摩仪,还可以是用于人体其它任意部位按摩的按摩设备。
需要说明的是,本申请实施例提供的按摩控制方法,其执行主体可以是按摩控制装置,该按摩控制装置可以通过软件、硬件或者软硬件结合的方式实现成为按摩设备的部分或者全部。下述方法实施例中,均以执行主体是按摩设备为例来进行说明。
请参考图2,其示出了本申请实施例提供的一种按摩控制方法的流程示意图。本实施例涉及的是按摩设备根据用户的当前姿态信息设置按摩设备的当前工作参数的具体实现过程。如图2所示,本实施例按摩控制方法可以包括步骤S100至S300的内容:
步骤S100,获取用户的当前姿态信息。
本实施例中,按摩设备可以通过按摩设备中设置的传感器采集用户的运动数据,然后采用机器学习模型从运动数据中提取动作特征信息,并对提取的动作特征信息进行分类,从而得到用户的当前姿态信息。作为一种实施方式,传感器可以是加速度传感器、陀螺仪传感器等。
作为一种实施方式,按摩设备还可以获取用户的心率数据,将用户的心率数据和预设的心率阈值进行比较,来确定用户的当前姿态信息是运动姿态或静止姿态。其中,按摩设备具体可以通过按摩设备中设置的光电传感器获取用户的心率数据。
作为一种实施方式,按摩设备还可以获取用户的历史姿态信息,该历史姿态信息可以是当前时刻的上一时刻该用户的历史姿态信息,按摩设备存储有该历史姿态信息;按摩设备将该历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息,等等。本实施例在此不做具体限制。
本实施例中,作为一种实施方式,姿态信息可以是步行、跑步、平躺、静坐、站立等姿态。
步骤S200,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
其中,不同姿态信息所对应的按摩方式不同。
本实施例中,按摩设备中预置有各姿态信息分别对应的按摩方式,不同的按摩方式对应的按摩参数不同,按摩参数至少包括按摩强度参数。例如,姿态信息为静坐时,对应的按摩方式的按摩强度参数较大;姿态信息为步行时,对应的按摩方式的按摩强度参数较小,等等。按摩设备获取到用户的当前姿态信息后,根据当前姿态信息,查找预置的与当前姿态信息对应的目标按摩方式。
在其它实施例中,作为一种实施方式,按摩设备也可以从用户终端获取与当前姿态信息对应的目标按摩方式。具体地,按摩设备可以发送用户的当前姿态信息和查询指令至用户终端,用户终端查找预置的与该当前姿态信息对应的目标按摩方式,并返回给按摩设备, 按摩设备接收与当前姿态信息对应的目标按摩方式,本实施例在此不做具体限制。
步骤S300,将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数。
其中,按摩参数至少包括按摩强度参数。
按摩设备将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数。例如,按摩设备将当前工作参数中包括的按摩强度参数值设置为目标按摩方式所包括的按摩强度参数。按摩强度参数值具体用于指示按摩设备当前工作的微电流脉冲值。
作为一种实施方式,目标按摩方式的按摩参数还可以包括按摩温度参数、按摩频率参数,等等;按摩设备还可以将目标按摩方式包括的按摩温度参数、按摩频率参数设置为按摩设备当前工作参数中的按摩温度参数值、按摩频率参数值等,在此不做具体限制。
本实施例通过获取用户的当前姿态信息;根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数;由此,通过用户的当前姿态信息确定对应的目标按摩方式,实现了按摩设备的工作参数的自动调控;通过将按摩设备的当前工作参数与用户的当前姿态信息相关联,提升了按摩设备的按摩控制精度,进而提升了按摩设备的按摩效果及用户体验。避免了传统技术中,需要用户根据自己的按摩需求,手动调节按摩设备的物理按键来选择相应的按摩方式,所造成的按摩方式的调控准确性较差、按摩设备的按摩控制精度较差,且多次调节容易导致用户体验差的问题。
图3为另一个实施例提供的按摩控制方法的流程示意图。在上述图2所示实施例的基础上,如图3所示,本实施例按摩控制方法中,步骤S100包括步骤S110、步骤S120和步骤S130,具体地:
步骤S110,利用加速度传感器采集用户的加速度数据。
本实施例中,按摩设备设置有加速度传感器,按摩设备获取用户的当前姿态信息,具体是首先利用加速度传感器采集用户的加速度数据。
作为一种实施方式,按摩设备控制加速度传感器按照一定的周期进行采样,例如,加速度传感器每50ms采集一次用户的运动加速度值,当按摩设备需要获取用户的当前姿态信息时,按摩设备则首先获取当前时刻之前一定时长内加速度传感器采集的运动加速度值。例如,按摩设备获取当前时刻之前10s内用户的运动加速度值作为加速度数据。
本实施例中,加速度传感器可以是三轴加速度传感器,在其它实施例中,加速度传感器也可以是单轴加速度传感器或两轴加速度传感器,等等,在此不做具体限制。
步骤S120,采用特征提取模型从加速度数据中提取动作特征信息。
按摩设备接着采用特征提取模型从加速度数据中提取动作特征信息。作为一种实施方式,在特征提取之前,按摩设备首先对加速度数据进行预处理,预处理如噪声过滤、数据平滑等等,然后,按摩设备将预处理后的加速度数据输入至特征提取模型中,提取动作特征信息。
本实施例中,特征提取模型可以通过DTW(Dynamic Time Warping,动态时间归整)算法实现,按摩设备通过特征提取模型从预处理后的加速度数据中提取时域动作特征信息,如均值、标准差、倾角、波峰间隔、波峰波谷值等。
在其它实施例中,按摩设备也可以采用特征提取模型从加速度数据中提取频域动作特征信息,或提取频域动作特征信息和时域动作特征信息,在此不做具体限制。
步骤S130,采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息。
按摩设备采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息。本实施例中,分类模型可以是朴素贝叶斯模型(Naive Bayesian Model,NBM)、贝叶斯网络模型(Bayesian Network Model,BNM)、判决树(J48)、朴素贝叶斯树(Naive Bayesian Tree,NBT)、局部加权学习(Locally Weighted Learning,LWL),等等。按摩设备将动作特征信息输入至分类模型中,得到分类模型输出的用户的当前姿态信息的类别。
本实施例利用加速度传感器采集用户的加速度数据,采用特征提取模型从加速度数据中提取动作特征信息,采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息;由此,结合按摩设备中的加速度传感器,可以准确获取用户的当前姿态信息,从而提升了按摩设备的按摩控制精度。
图4为另一个实施例提供的按摩控制方法的流程示意图。在上述图2所示实施例的基础上,如图4所示,本实施例按摩控制方法中,步骤S100包括步骤S140、步骤S150和步骤S160,具体地:
步骤S140,获取用户的心率数据。
本实施例中,按摩设备可以通过用户的心率数据确定用户的当前姿态信息。具体地,按摩设备中设置有光电传感器,按摩设备通过光电传感器获取用户的心率数据。
步骤S150,将心率数据与心率阈值进行比较,若心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态。
按摩设备将用户的心率数据与预设的心率阈值进行比较,用户在运动时的心率较高,若用户的心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态。
步骤S160,若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
按摩设备将用户的心率数据与预设的心率阈值进行比较,若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
在其它实施例中,作为一种实施方式,按摩设备可以设置多个不同的心率阈值,按照从大到小依次为第一心率阈值、第二心率阈值、第三心率阈值,等等;若用户的心率数据大于第一心率阈值,则确定用户的当前姿态信息为剧烈运动姿态,若用户的心率数据低于第一心率阈值且大于第二心率阈值,则确定用户的当前姿态信息为中强度运动姿态等。
本实施例通过获取用户的心率数据;将心率数据与心率阈值进行比较,若心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态;若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态;由此,通过用户的心率数据,即可简单快速地确定用 户当前是运动姿态还是静止姿态,降低了按摩设备获取用户的当前姿态信息的难度,有利于本实施例按摩控制方法的应用推广。
图5为另一个实施例提供的按摩控制方法的流程示意图。在上述图2所示实施例的基础上,如图5所示,本实施例按摩控制方法中,步骤S100包括步骤S170和步骤S180,具体地:
步骤S170,获取用户的历史姿态信息。
其中,历史姿态信息是用户在目标历史时刻的姿态信息。
本实施例中,按摩设备获取用户的历史姿态信息,并基于用户的历史姿态信息预测用户的当前姿态信息。
作为一种实施方式,若按摩设备存在传感器故障等情况,按摩设备通过传感器获取用户的加速度数据或者用户的心率数据则会失败,为了正常进行按摩控制,按摩设备可以获取用户的历史姿态信息。历史姿态信息是用户在目标历史时刻的姿态信息,目标历史时刻可以是当前时刻的上一时刻。
例如,设置当前时刻与目标历史时刻,即当前时刻与上一时刻的时间间隔为5分钟,当前时刻如为15:45,按摩设备则获取15:40时该用户的姿态信息作为历史姿态信息。在其它实施例中,当前时刻与上一时刻的时间间隔还可以是为1分钟、3分钟,等等,在此不做具体限制。
步骤S180,将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
按摩设备将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
本实施例通过获取用户的历史姿态信息;将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息;由此,避免了由于获取用户的当前姿态信息失败导致的无法进行按摩控制的情况,本实施例提升了按摩设备的按摩控制的可靠性。
图6为另一个实施例提供的按摩控制方法的流程示意图。在上述图2至图5中任意一个实施例的基础上,如图6所示,本实施例按摩控制方法中,步骤S200包括步骤S210和步骤S220,具体地:
步骤S210,根据当前姿态信息,在预置的映射表中查找当前姿态信息对应的按摩方式。
其中,映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同。
本实施例中,具体地,按摩设备中预置有包括各姿态信息与各按摩方式之间的映射关系的映射表。不同的按摩方式对应的按摩参数不同,按摩参数如按摩强度参数、按摩温度参数、按摩频率参数,等等。
按摩设备获取用户的当前姿态信息后,在映射表中查找当前姿态信息对应的按摩方式。
步骤S220,将查找到的当前姿态信息对应的按摩方式确定为目标按摩方式。
按摩设备将查找到的当前姿态信息对应的按摩方式确定为目标按摩方式,由此,通过用户的当前姿态信息,确定当前姿态信息对应的目标按摩方式,实现了按摩设备的工作参数的自动调控;通过将按摩设备的当前工作参数与用户的当前姿态信息相关联,提升了按摩设备的按摩控制精度,进而提升了按摩设备的按摩效果及用户体验。
图7为另一个实施例提供的按摩控制方法的流程示意图。在上述图2至图5中任意一个实施例的基础上,如图7所示,本实施例按摩控制方法中,步骤S100之后还包括步骤S400:
步骤S400,若当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,判断预设时长后用户的姿态信息是否发生变化。
其中,第一预设姿态为多种静止姿态中的目标静止姿态。
本实施例中,按摩设备获取用户的当前姿态信息后,若识别到当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,即按摩设备当前未开始按摩,则间隔预设时长,按摩设备检测用户的姿态信息是否发生变化。第一预设姿态为多种静止姿态中的目标静止姿态,例如,第一预设姿态为静坐姿态。
对应地,步骤S200包括步骤S230:
步骤S230,若用户的姿态信息未发生变化,则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
若用户的姿态信息未发生变化,例如,间隔预设时长后,用户的当前姿态信息仍然为静坐姿态,为了避免用户长时间保持第一预设姿态不利于身体健康,按摩设备则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数,从而控制按摩设备自动开启。由此,实现对用户的姿态信息进行监控,在用户长时间保持第一预设姿态时,按摩设备自动开启按摩,提升了用户的使用体验及按摩效果。
在另一个实施例中,在上述图2所示实施例的基础上,本实施例步骤S100之后还包括步骤a:
步骤a,若当前姿态信息为第二预设姿态,则控制按摩设备停止按摩。
其中,第二预设姿态为运动幅度大于阈值的目标运动姿态。
本实施例中,当按摩设备处于工作状态时,若按摩设备通过加速度传感器获取用户的当前姿态信息,且检测到当前姿态信息为第二预设姿态,第二预设姿态如跑步等较剧烈的姿态,按摩设备则控制按摩设备停止按摩。
本实施例中,作为一种实施方式,加速度传感器可以是三轴加速度传感器,包括x轴、y轴、z轴;按摩设备获取三轴加速度传感器测量的x轴对应的加速度值、y轴对应的加速度值以及z轴对应的加速度值,按摩设备可以通过单独判断x轴对应的加速度值是否大于阈值、y轴对应的加速度值是否大于阈值或z轴对应的加速度值是否大于阈值,来确定当前姿态信息是否为第二预设姿态。若x轴对应的加速度值、y轴对应的加速度值以及z 轴对应的加速度值中存在至少一个大于阈值的加速度值,则表示用户在对应方向的加速度较大,则确定用户的当前姿态信息为较剧烈的姿态,即为第二预设姿态。
作为一种实施方式,按摩设备还可以获取x轴对应的加速度值、y轴对应的加速度值以及z轴对应的加速度值三者的合加速度值,具体地,按摩设备可以对x轴对应的加速度值、y轴对应的加速度值以及z轴对应的加速度值三者的平方和开根号得到该合加速度值,若该合加速度值大于预设的阈值,则表示用户整体的加速度较大,则确定用户的当前姿态信息为较剧烈的姿态,即为第二预设姿态。
在其它实施例中,加速度传感器也可以是单轴加速度传感器或两轴加速度传感器,在此不做具体限制。
由此,可以避免在用户剧烈运动时按摩设备与用户皮肤之间的摩擦较大对用户造成的不适感,同时也可以避免在用户剧烈运动时按摩造成的按摩资源浪费。
在另一个实施例中,在上述图2所示实施例的基础上,本实施例步骤S100之后还包括步骤b:
步骤b,若当前姿态信息为睡眠姿态,则控制按摩设备停止按摩。
本实施例中,当按摩设备处于工作状态时,按摩设备获取用户的当前姿态信息,具体地,按摩设备获取用户的心率数据,将用户的心率数据与睡眠阈值进行比较,若用户的心率数据低于该睡眠阈值,则确定用户的当前姿态信息为睡眠姿态,按摩设备则控制按摩设备停止按摩,由此,可以避免对用户睡眠的干扰,提升用户的使用体验。
图8为另一个实施例提供的按摩控制方法的流程示意图。在上述图2至图7中任意一个实施例的基础上,如图8所示,本实施例按摩控制方法还包括步骤S510和步骤S520:
步骤S510,按照预设的时间周期,检测用户的姿态信息是否发生变化。
步骤S520,若用户的姿态信息发生变化,则根据变化后的姿态信息调整按摩设备的当前工作参数。
本实施例中,按摩设备获取用户的当前姿态信息,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数后,按照预设的时间周期,检测用户的姿态信息是否发生变化。若用户的姿态信息发生变化,则获取变化后的姿态信息,并查找与变化后的姿态信息对应的按摩方式,并将查找到的按摩方式包括的按摩参数设置为按摩设备当前的工作参数,由此,实现了按摩设备的工作参数的动态更新,提升了本实施例按摩控制的可靠性。
图9为另一个实施例提供的按摩控制方法的流程示意图。在上述图2至图7中任意一个实施例的基础上,如图9所示,本实施例按摩控制方法还包括步骤S610和步骤S620,具体地:
步骤S610,检测按摩设备是否佩戴正确。
步骤S620,若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数。
本实施例中,检测按摩设备是否佩戴正确,可以是检测按摩设备是否佩戴的过松或者过紧,若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数,避免由于按摩设备佩戴不正确,按摩强度参数较大对用户皮肤造成的刺痛感,由此,实现了按摩设备的智能按摩控制,提升了用户体验。
应该理解的是,虽然流程图2-9中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图10所示,提供了一种按摩控制装置,应用于按摩设备,该装置包括:
第一获取模块10,用于获取用户的当前姿态信息;
第二获取模块20,用于根据第一获取模块10获取的当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
按摩控制模块30,用于将按摩设备的当前工作参数设置为第二获取模块获取的目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数。
在一实施例中,按摩设备设置有加速度传感器,第一获取模块10包括:
采集子模块,用于利用加速度传感器采集用户的加速度数据;
特征提取子模块,用于采用特征提取模型从加速度传感器采集的加速度数据中提取动作特征信息;
分类子模块,用于采用分类模型对特征提取模型提取的动作特征信息进行分类,得到用户的当前姿态信息。
在一实施例中,第一获取模块10包括:
获取子模块,用于获取用户的心率数据;
第一确定子模块,用于将获取子模块获取的心率数据与心率阈值进行比较,若获取子模块获取的心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态;
第二确定子模块,用于若获取子模块获取的心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
在一实施例中,第一获取模块10包括:
获取子模块,用于获取用户的历史姿态信息,历史姿态信息是用户在目标历史时刻的姿态信息;
预测子模块,用于将获取子模块获取的历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
在一实施例中,第二获取模块20包括:
查找子模块,用于根据当前姿态信息,在预置的映射表中查找当前姿态信息对应的按摩方式,映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
确定子模块,用于将查找子模块查找到的当前姿态信息对应的按摩方式确定为目标按摩方式。
在一实施例中,该装置还包括:
检测模块,用于若当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,判断预设时长后用户的姿态信息是否发生变化,第一预设姿态为多种静止姿态中的目标静止姿态;
对应地,第二获取模块20还用于若用户的姿态信息未发生变化,则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
在一实施例中,按摩控制模块用于若当前姿态信息为第二预设姿态,则控制按摩设备停止按摩;第二预设姿态为运动幅度大于阈值的目标运动姿态。
在一实施例中,按摩控制模块用于若当前姿态信息为睡眠姿态,则控制按摩设备停止按摩。
在一实施例中,该装置还包括:
检测模块,用于按照预设的时间周期,检测用户的姿态信息是否发生变化;
调整模块,用于若用户的姿态信息发生变化,则根据变化后的姿态信息调整按摩设备的当前工作参数。
在一实施例中,该装置还包括:
检测模块,用于检测按摩设备是否佩戴正确;
调整模块,用于若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数。
本实施例提供的按摩控制装置,可以执行上述按摩控制方法实施例,其实现原理和技术效果类似,在此不再赘述。关于按摩控制装置的具体限定可以参见上文中对于按摩控制方法的限定,在此不再赘述。上述按摩控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于按摩设备中的处理器中,也可以以软件形式存储于按摩设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,还提供了一种如图11所示的计算机设备,该计算机设备可以是按摩设备,其内部结构图可以如图11所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程 序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种按摩控制方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
获取用户的当前姿态信息;
根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
利用加速度传感器采集用户的加速度数据;
采用特征提取模型从加速度数据中提取动作特征信息;
采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
获取用户的心率数据;
将心率数据与心率阈值进行比较,若心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态;
若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
获取用户的历史姿态信息,历史姿态信息是用户在目标历史时刻的姿态信息;
将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
根据当前姿态信息,在预置的映射表中查找当前姿态信息对应的按摩方式,映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
将查找到的当前姿态信息对应的按摩方式确定为目标按摩方式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,判断预设时长后用户的姿态信息是否发生变化,第一预设姿态为多种静止姿态中的目标静止姿态;
对应地,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,包括:
若用户的姿态信息未发生变化,则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若当前姿态信息为第二预设姿态,则控制按摩设备停止按摩;第二预设姿态为运动幅度大于阈值的目标运动姿态。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若当前姿态信息为睡眠姿态,则控制按摩设备停止按摩。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
按照预设的时间周期,检测用户的姿态信息是否发生变化;
若用户的姿态信息发生变化,则根据变化后的姿态信息调整按摩设备的当前工作参数。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
检测按摩设备是否佩戴正确;
若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Ramb微秒)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:
获取用户的当前姿态信息;
根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
将按摩设备的当前工作参数设置为目标按摩方式包括的按摩参数;按摩参数至少包括按摩强度参数。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
利用加速度传感器采集用户的加速度数据;
采用特征提取模型从加速度数据中提取动作特征信息;
采用分类模型对动作特征信息进行分类,得到用户的当前姿态信息。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
获取用户的心率数据;
将心率数据与心率阈值进行比较,若心率数据大于心率阈值,则确定用户的当前姿态信息为运动姿态;
若心率数据不大于心率阈值,则确定用户的当前姿态信息为静止姿态。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
获取用户的历史姿态信息,历史姿态信息是用户在目标历史时刻的姿态信息;
将历史姿态信息输入至姿态预测模型中,得到用户的当前姿态信息。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
根据当前姿态信息,在预置的映射表中查找当前姿态信息对应的按摩方式,映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
将查找到的当前姿态信息对应的按摩方式确定为目标按摩方式。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若当前姿态信息为第一预设姿态,且按摩设备的当前状态为待机状态,判断预设时长后用户的姿态信息是否发生变化,第一预设姿态为多种静止姿态中的目标静止姿态;
对应地,根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式,包括:
若用户的姿态信息未发生变化,则根据当前姿态信息,获取与当前姿态信息对应的目标按摩方式。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若当前姿态信息为第二预设姿态,则控制按摩设备停止按摩;第二预设姿态为运动幅度大于阈值的目标运动姿态。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若当前姿态信息为睡眠姿态,则控制按摩设备停止按摩。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
按照预设的时间周期,检测用户的姿态信息是否发生变化;
若用户的姿态信息发生变化,则根据变化后的姿态信息调整按摩设备的当前工作参数。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
检测按摩设备是否佩戴正确;
若按摩设备佩戴不正确,则减小按摩设备的当前工作参数中的按摩强度参数。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此 而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种按摩控制方法,应用于按摩设备,包括:
    获取用户的当前姿态信息;
    根据所述当前姿态信息,获取与所述当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
    将所述按摩设备的当前工作参数设置为所述目标按摩方式包括的按摩参数;所述按摩参数至少包括按摩强度参数。
  2. 根据权利要求1所述的方法,其中,所述按摩设备设置有加速度传感器,所述获取用户的当前姿态信息,包括:
    利用所述加速度传感器采集所述用户的加速度数据;
    采用特征提取模型从所述加速度数据中提取动作特征信息;
    采用分类模型对所述动作特征信息进行分类,得到所述用户的当前姿态信息。
  3. 根据权利要求1所述的方法,其中,所述获取用户的当前姿态信息,包括:
    获取所述用户的心率数据;
    将所述心率数据与心率阈值进行比较,若所述心率数据大于所述心率阈值,则确定所述用户的当前姿态信息为运动姿态;
    若所述心率数据不大于所述心率阈值,则确定所述用户的当前姿态信息为静止姿态。
  4. 根据权利要求1所述的方法,其中,所述获取用户的当前姿态信息,包括:
    获取所述用户的历史姿态信息,所述历史姿态信息是所述用户在目标历史时刻的姿态信息;
    将所述历史姿态信息输入至姿态预测模型中,得到所述用户的当前姿态信息。
  5. 根据权利要求1所述的方法,其中,所述根据所述当前姿态信息,获取与所述当前姿态信息对应的目标按摩方式,包括:
    根据所述当前姿态信息,在预置的映射表中查找所述当前姿态信息对应的按摩方式,所述映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
    将查找到的所述当前姿态信息对应的按摩方式确定为所述目标按摩方式。
  6. 根据权利要求1至5中任一项所述的方法,其中,所述获取用户的当前姿态信息之后,还包括:
    若所述当前姿态信息为第一预设姿态,且所述按摩设备的当前状态为待机状态,判断预设时长后所述用户的姿态信息是否发生变化,所述第一预设姿态为多种静止姿态中的目标静止姿态;
    对应地,所述根据所述当前姿态信息,获取与所述当前姿态信息对应的目标按摩方式,包括:
    若所述用户的姿态信息未发生变化,则根据所述当前姿态信息,获取与所述当前姿态 信息对应的目标按摩方式。
  7. 根据权利要求1至5中任一项所述的方法,其中,所述获取用户的当前姿态信息之后,还包括:
    若所述当前姿态信息为第二预设姿态,则控制所述按摩设备停止按摩;所述第二预设姿态为运动幅度大于阈值的目标运动姿态。
  8. 根据权利要求1至5中任一项所述的方法,其中,所述获取用户的当前姿态信息之后,还包括:
    若所述当前姿态信息为睡眠姿态,则控制所述按摩设备停止按摩。
  9. 根据权利要求1至5中任一项所述的方法,其中,所述将所述按摩设备的当前工作参数设置为所述目标按摩方式包括的按摩参数之后,还包括:
    按照预设的时间周期,检测所述用户的姿态信息是否发生变化;
    若所述用户的姿态信息发生变化,则根据变化后的姿态信息调整所述按摩设备的当前工作参数。
  10. 根据权利要求1至5中任一项所述的方法,其中,所述将所述目标按摩方式对应的按摩参数设置为所述按摩设备的当前工作参数之后,还包括:
    检测所述按摩设备是否佩戴正确;
    若所述按摩设备佩戴不正确,则减小所述按摩设备的当前工作参数中的按摩强度参数。
  11. 一种按摩控制装置,应用于按摩设备,包括:
    第一获取模块,用于获取用户的当前姿态信息;
    第二获取模块,用于根据所述第一获取模块获取的所述当前姿态信息,获取与所述当前姿态信息对应的目标按摩方式,其中,不同姿态信息所对应的按摩方式不同;
    按摩控制模块,用于将所述按摩设备的当前工作参数设置为所述第二获取模块获取的所述目标按摩方式包括的按摩参数;所述按摩参数至少包括按摩强度参数。
  12. 根据权利要求11所述的装置,其中,所述第一获取模块包括:
    采集子模块,用于利用所述按摩设备的加速度传感器采集所述用户的加速度数据;
    特征提取子模块,用于采用特征提取模型从所述加速度传感器采集的所述加速度数据中提取动作特征信息;
    分类子模块,用于采用分类模型对所述特征提取模型提取的所述动作特征信息进行分类,得到所述用户的当前姿态信息。
  13. 根据权利要求11所述的装置,其中,所述第一获取模块包括:
    获取子模块,用于获取所述用户的心率数据;
    第一确定子模块,用于将所述获取子模块获取的所述心率数据与心率阈值进行比较,若所述获取子模块获取的所述心率数据大于所述心率阈值,则确定所述用户的当前姿态信息为运动姿态;
    第二确定子模块,用于若所述获取子模块获取的所述心率数据不大于所述心率阈值,则确定所述用户的当前姿态信息为静止姿态。
  14. 根据权利要求11所述的装置,其中,所述第一获取模块包括:
    获取子模块,用于获取所述用户的历史姿态信息,所述历史姿态信息是所述用户在目标历史时刻的姿态信息;
    预测子模块,用于将所述获取子模块获取的所述历史姿态信息输入至姿态预测模型中,得到所述用户的当前姿态信息。
  15. 根据权利要求11所述的装置,其中,所述第二获取模块包括:
    查找子模块,用于根据所述当前姿态信息,在预置的映射表中查找所述当前姿态信息对应的按摩方式,所述映射表包括各姿态信息与各按摩方式之间的映射关系,不同的按摩方式对应的按摩参数不同;
    确定子模块,用于将所述查找子模块查找到的所述当前姿态信息对应的按摩方式确定为所述目标按摩方式。
  16. 根据权利要求11至15中任一项所述的装置,还包括:
    检测模块,用于若所述当前姿态信息为第一预设姿态,且所述按摩设备的当前状态为待机状态,判断预设时长后所述用户的姿态信息是否发生变化,所述第一预设姿态为多种静止姿态中的目标静止姿态;
    对应地,所述第二获取模块还用于若所述用户的姿态信息未发生变化,则根据所述当前姿态信息,获取与所述当前姿态信息对应的目标按摩方式。
  17. 根据权利要求11至15中任一项所述的装置,还包括:
    检测模块,用于按照预设的时间周期,检测所述用户的姿态信息是否发生变化;
    调整模块,用于若所述用户的姿态信息发生变化,则根据变化后的姿态信息调整所述按摩设备的当前工作参数。
  18. 根据权利要求11至15中任一项所述的装置,还包括:
    检测模块,用于检测所述按摩设备是否佩戴正确;
    调整模块,用于若所述按摩设备佩戴不正确,则减小所述按摩设备的当前工作参数中的按摩强度参数。
  19. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至10中任一项所述的方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至10中任一项所述的方法的步骤。
PCT/CN2021/074617 2020-05-08 2021-02-01 按摩控制方法、装置、计算机设备和计算机可读存储介质 WO2021223473A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010380231.5 2020-05-08
CN202010380231.5A CN113616494B (zh) 2020-05-08 2020-05-08 按摩控制方法、装置、计算机设备和计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021223473A1 true WO2021223473A1 (zh) 2021-11-11

Family

ID=78377019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/074617 WO2021223473A1 (zh) 2020-05-08 2021-02-01 按摩控制方法、装置、计算机设备和计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN113616494B (zh)
WO (1) WO2021223473A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116859479A (zh) * 2023-09-05 2023-10-10 深圳市倍轻松科技股份有限公司 按摩设备佩戴状态的智能检测方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114209568A (zh) * 2022-01-18 2022-03-22 中山大学附属第三医院 一种基于大数据反馈的用于呼吸辅助的胸腹部处理装置

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050113723A1 (en) * 2003-10-16 2005-05-26 Kenji Ueyama Relaxation system, relaxation method, relaxation program, massage system, massage method, massage program, physical activity determiner, physical activity determination method, and physical activity determination program
CN105853136A (zh) * 2016-04-21 2016-08-17 北京小米移动软件有限公司 目标按摩设备的控制方法及装置
CN105944215A (zh) * 2016-04-14 2016-09-21 湖南灵之心心理咨询服务有限公司 一种音乐放松椅的自动放松方法
CN107456368A (zh) * 2016-06-03 2017-12-12 发美利稻田株式会社 具备按摩机的施疗系统
CN110051516A (zh) * 2019-04-23 2019-07-26 成都信息工程大学 一种按摩机器人
WO2019194392A1 (ko) * 2018-04-05 2019-10-10 주식회사 세라젬 심박수 측정 기능을 구비한 온열 치료기의 제어장치 및 그 제어방법
CN110946745A (zh) * 2019-10-31 2020-04-03 珠海格力电器股份有限公司 智能按摩设备控制方法、装置、服务器及存储介质
CN111557839A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 一种可穿戴按摩仪调节方法及可穿戴按摩仪
CN111558164A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 颈部按摩仪及其控制方法、具有存储功能的装置
CN111558156A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 颈部按摩仪的使用方法、颈部按摩仪及存储装置
CN211583162U (zh) * 2019-12-13 2020-09-29 奥佳华智能健康科技集团股份有限公司 一种按摩椅的用户坐姿检测装置及按摩椅
CN112155959A (zh) * 2020-09-04 2021-01-01 苏州皇宫绣量子科技有限公司 一种智能调整力度的按摩器材及其工作方法
CN112190257A (zh) * 2020-09-17 2021-01-08 未来穿戴技术有限公司 按摩仪的控制方法及终端设备、计算机可读存储介质
CN112316303A (zh) * 2020-11-04 2021-02-05 银河之星成都新能源有限公司 颈椎按摩仪智能控制方法
CN112545851A (zh) * 2020-11-03 2021-03-26 未来穿戴技术有限公司 按摩方法及装置、电子设备、计算机可读存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106389097B (zh) * 2016-11-09 2018-10-12 广州大学 一种智能按摩手套
CN106778476A (zh) * 2016-11-18 2017-05-31 中国科学院深圳先进技术研究院 人体姿态识别方法及人体姿态识别装置
CN108664122A (zh) * 2018-04-04 2018-10-16 歌尔股份有限公司 一种姿态预测方法和装置
KR20190076928A (ko) * 2019-06-11 2019-07-02 엘지전자 주식회사 신체 케어 장치
CN110876613B (zh) * 2019-09-27 2022-07-22 深圳先进技术研究院 一种人体运动状态识别方法、系统及电子设备
CN110850745B (zh) * 2019-10-16 2021-05-25 珠海格力电器股份有限公司 一种应用于按摩沙发的控制方法、装置及存储介质

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050113723A1 (en) * 2003-10-16 2005-05-26 Kenji Ueyama Relaxation system, relaxation method, relaxation program, massage system, massage method, massage program, physical activity determiner, physical activity determination method, and physical activity determination program
CN105944215A (zh) * 2016-04-14 2016-09-21 湖南灵之心心理咨询服务有限公司 一种音乐放松椅的自动放松方法
CN105853136A (zh) * 2016-04-21 2016-08-17 北京小米移动软件有限公司 目标按摩设备的控制方法及装置
CN107456368A (zh) * 2016-06-03 2017-12-12 发美利稻田株式会社 具备按摩机的施疗系统
WO2019194392A1 (ko) * 2018-04-05 2019-10-10 주식회사 세라젬 심박수 측정 기능을 구비한 온열 치료기의 제어장치 및 그 제어방법
CN110051516A (zh) * 2019-04-23 2019-07-26 成都信息工程大学 一种按摩机器人
CN110946745A (zh) * 2019-10-31 2020-04-03 珠海格力电器股份有限公司 智能按摩设备控制方法、装置、服务器及存储介质
CN211583162U (zh) * 2019-12-13 2020-09-29 奥佳华智能健康科技集团股份有限公司 一种按摩椅的用户坐姿检测装置及按摩椅
CN111557839A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 一种可穿戴按摩仪调节方法及可穿戴按摩仪
CN111558164A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 颈部按摩仪及其控制方法、具有存储功能的装置
CN111558156A (zh) * 2020-03-23 2020-08-21 广东艾诗凯奇智能科技有限公司 颈部按摩仪的使用方法、颈部按摩仪及存储装置
CN112155959A (zh) * 2020-09-04 2021-01-01 苏州皇宫绣量子科技有限公司 一种智能调整力度的按摩器材及其工作方法
CN112190257A (zh) * 2020-09-17 2021-01-08 未来穿戴技术有限公司 按摩仪的控制方法及终端设备、计算机可读存储介质
CN112545851A (zh) * 2020-11-03 2021-03-26 未来穿戴技术有限公司 按摩方法及装置、电子设备、计算机可读存储介质
CN112316303A (zh) * 2020-11-04 2021-02-05 银河之星成都新能源有限公司 颈椎按摩仪智能控制方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116859479A (zh) * 2023-09-05 2023-10-10 深圳市倍轻松科技股份有限公司 按摩设备佩戴状态的智能检测方法及装置
CN116859479B (zh) * 2023-09-05 2024-01-19 深圳市倍轻松科技股份有限公司 按摩设备佩戴状态的智能检测方法及装置

Also Published As

Publication number Publication date
CN113616494B (zh) 2023-07-04
CN113616494A (zh) 2021-11-09

Similar Documents

Publication Publication Date Title
US11080891B2 (en) Method and system for detecting dangerous situation
WO2021223473A1 (zh) 按摩控制方法、装置、计算机设备和计算机可读存储介质
US11561621B2 (en) Multi media computing or entertainment system for responding to user presence and activity
US10228891B2 (en) Method and apparatus for controlling display device, and intelligent pad
US20180309792A1 (en) Multi-factor and context sensitive biometric authentication system
US11423899B2 (en) Controlling device output according to a determined condition of a user
JP2018529976A (ja) 血液細胞評価の強化
US20170083679A1 (en) Systems and methods for using non-medical devices to predict a health risk profile
US11116403B2 (en) Method, apparatus and system for tailoring at least one subsequent communication to a user
US11783689B2 (en) Intelligent seating for wellness monitoring
WO2023273658A1 (zh) 用于设定温度调节的空调控制方法及装置、空调
US10552772B2 (en) Break management system
US20230233794A1 (en) Deep learning-based sleep assistance system through optimization of ultradian rhythm
CN112446017A (zh) 一种补光控制方法、系统、存储介质和计算机设备
US11256998B2 (en) Pattern recognition and prediction using a knowledge engine
US11793455B1 (en) Hardware sensor system for controlling sleep environment
CN111726271A (zh) 起夜情况下的电器配置方法和智能家居系统
CN113616461A (zh) 按摩控制方法、装置、计算机设备和计算机可读存储介质
CN106773708B (zh) 多功能护理床远程控制方法以及系统
CN108538392A (zh) 一种信息处理方法及系统
US20190076077A1 (en) Device and system for detecting muscle seizure of a subject
CN109259731A (zh) 一种基于舌诊的中风前兆预警方法、电子设备及存储介质
Alikhani et al. DynaFuse: Dynamic Fusion for Resource Efficient Multi-Modal Machine Learning Inference
EP4186414A1 (en) Electronic device and electronic device control method
WO2023032617A1 (ja) 判定システム、判定方法、及び、プログラム

Legal Events

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

Ref document number: 21800255

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21800255

Country of ref document: EP

Kind code of ref document: A1