Massage control method and device, foot bath, and storage medium
By obtaining the user's motion data and automatically setting the massage parameters of the foot bath, it solves the problem of cumbersome massage parameter settings in the existing technology, realizes automated operation, and improves the user experience and device intelligence.
Patent Information
- Application Number
- CN202310075212.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-07-07
- Filing Date
- 2023-01-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-01-31
AI Technical Summary
When using existing foot baths, users need to manually set massage parameters according to different physical conditions, which is a cumbersome process and poor user experience.
By obtaining the user's motion data, including motion mode and motion time, the AI chip or cloud server is used to automatically set massage parameters, including massage intensity, massage duration, etc., to achieve massage operations in automatic mode.
There is no need for manual settings by the user, and the appropriate massage parameters are automatically matched, which improves the user experience, simplifies the operation process, and improves the intelligence and convenience of use of the foot bath.
Smart Images

Figure CN115998603B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of foot baths, and in particular to a massage control method and device, a foot bath, and a computer-readable storage medium. Background Art
[0002] At present, foot baths are equipped with various massage functions when they leave the factory, such as foot massage, leg massage, etc. When using, users need to set some functional parameters under the massage function according to their own needs, such as massage intensity, massage time, etc. However, each time the user uses it, their physical condition is different, and the parameters that need to be set are also different. The process is cumbersome and the user experience is poor. Summary of the invention
[0003] To solve the above technical problems, the embodiments of the present application provide a massage control method and device, a foot bath, and a computer-readable storage medium, which aim to solve the cumbersome technical problem of the process of determining the functional parameters under the functional mode, and can automatically determine the corresponding massage parameters without manual setting by the user.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0005] According to one aspect of an embodiment of the present application, a massage control method is provided, comprising:
[0006] Acquiring motion data of the object, the motion data including a motion mode and a motion time corresponding to the motion mode;
[0007] Set massage parameters of massage mode according to exercise mode and exercise time;
[0008] Perform massage operation according to the massage parameters of the massage mode.
[0009] According to one aspect of an embodiment of the present application, a massage control device is provided, comprising:
[0010] An acquisition module configured to acquire motion data of an object, the motion data including a motion mode and a motion time corresponding to the motion mode;
[0011] A setting module, configured to set massage parameters of a massage mode according to the exercise mode and exercise time;
[0012] The massage module is configured to perform massage operations according to massage parameters of the massage mode.
[0013] According to one aspect of an embodiment of the present application, a foot bath is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the foot bath implements the massage control method as described above.
[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the massage control method as described above.
[0015] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the massage control method provided in the above various optional embodiments.
[0016] In the technical solution provided in the embodiments of the present application, the massage parameters of the massage mode are automatically set according to the object's movement mode and movement time, so that the massage operation is automatically performed without the object manually determining the corresponding functional parameters in the functional mode. At the same time, the massage parameters determined by analyzing the object's movement data can better adapt the object for massage and enhance the user experience.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 It is a schematic diagram of an implementation environment involved in this application;
[0020] Figure 2 is a flow chart of a massage control method involved in the present application;
[0021] Figure 3 is a flowchart of step S210 in an embodiment of the present application;
[0022] Figure 4is a flowchart of step S220 in an embodiment of the present application;
[0023] Figure 5 is a flowchart of step S420 in an embodiment of the present application;
[0024] Figure 6 is a flowchart of step S530 in an embodiment of the present application;
[0025] Figure 7 is a flowchart of step S230 in an embodiment of the present application;
[0026] Figure 8 is a flow chart of a massage control method involved in the present application;
[0027] Fig. 9 is a flow chart of a massage control method involved in the present application;
[0028] Fig.10 is a block diagram of a massage control device involved in the present application;
[0029] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing the footbath of the embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0034] See also Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment involved in the present application. The implementation environment includes a smart terminal 110 and a footbath 120. The footbath 120 has a built-in wireless communication module, including a WiFi (Wireless-Fidelity) module, a Bluetooth module, etc., so that the smart terminal 110 and the footbath 120 can communicate via a wireless network.
[0035] The smart terminal 110 runs a corresponding application for recording the motion data of the object. After the smart terminal 110 is paired with the foot bath 120, the motion data recorded by the smart terminal 110 can be sent to the foot bath 120 to facilitate the subsequent execution of the massage control method. The smart terminal 110 can be any electronic device that can record motion data, such as a smart watch, a smart phone, a tablet, etc.
[0036] The foot bath 120 is provided with a plurality of modes, such as a manual mode and an automatic mode. In the manual mode, the subject determines the corresponding massage parameters by himself / herself to perform massage; in the automatic mode, the corresponding massage parameters are automatically determined based on the motion data acquired by the terminal without any operation by the user.
[0037] In automatic mode, the AI (Artificial Intelligence) chip or cloud server built into the foot bath 120, AI is a theory, method, technology and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science, which attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machine has the functions of perception, reasoning and decision-making. The cloud server can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and basic cloud computing services such as big data and artificial intelligence platforms. Through AI chips or cloud servers, it can intelligently match appropriate massage parameters for massage according to the motion data of the object.
[0038] Figure 2 is a flowchart of a massage control method according to an exemplary embodiment. The method can be applied to Figure 1 The implementation environment shown in Figure 1 The footbath 120 is specifically implemented in the context of the illustrated embodiment.
[0039] like Figure 2 As shown, in an exemplary embodiment, the massage control method may include steps S210 to S230, which are described in detail as follows:
[0040] Step S210, obtaining motion data of the object, where the motion data includes a motion mode and a motion time corresponding to the motion mode.
[0041] In an embodiment of the present application, the above-mentioned massage control method is used in a foot bath to obtain motion data recorded on an intelligent terminal connected to the foot bath, wherein the motion data includes motion modes and the time corresponding to the motion modes, and the motion modes include slow walking, running, rope skipping, hiking, mountain climbing, etc.
[0042] In one embodiment of the present application, see Figure 3 , obtaining the motion data of the object in step S210 includes steps S310 and S320, which are described in detail as follows:
[0043] Step S310: If it is detected that the designated mode is turned on, a data acquisition permission request is initiated to the paired smart terminal.
[0044] In the embodiment of the present application, the footbath is provided with a manual mode and an automatic mode. In the embodiment of the present application, the automatic mode is used as the designated mode. After the footbath is powered on, it will enter the pairing mode through the pairing button provided on the footbath. The pairing button can be a single button or a combination of two or more buttons. The smart terminal is provided with an application program or a small program, etc., through which the footbath is searched and paired with the footbath through the application program or the small program, so that the footbath is successfully paired with the smart device; when the footbath is successfully paired with the smart terminal, the footbath sends a data acquisition operation request to the smart terminal.
[0045] Step S320, receiving a response message sent by the smart terminal to indicate that the permission is passed, and obtaining the motion data from the smart terminal.
[0046] In an embodiment of the present application, after the smart device receives a request for data acquisition permission, the object needs to agree to the request on the smart terminal, that is, the object can automatically generate a corresponding message indicating that the permission has been granted by agreeing to the request for data acquisition permission, and send it to the foot bath. When the foot bath receives the response message from the smart terminal indicating that the permission has been granted, the corresponding motion data is obtained from the smart terminal.
[0047] Step S220, setting massage parameters of the massage mode according to the exercise mode and exercise time.
[0048] In the embodiment of the present application, under different exercise modes, the object will have different fatigue at different positions, and the object will have different exercise durations and fatigue levels under different exercise modes. Therefore, the corresponding massage parameters can be intelligently set according to the exercise mode and exercise time to meet the corresponding massage needs according to the object's exercise data.
[0049] Among them, the above-mentioned massage parameters may include at least one of the following: massage intensity, massage duration, water temperature, surfing intensity, surfing duration, etc. The massage parameters can also be set in the form of massage gear, temperature gear, surfing gear, etc., which are not limited here.
[0050] By intelligently setting appropriate massage parameters for the object according to the object's movement pattern, the user does not need to set massage parameters for different functions one by one, which can improve the intelligence of the foot bath.
[0051] In one embodiment of the present application, see Figure 4 In step S220, massage parameters of the massage mode are set according to the exercise mode and the exercise time, including steps S410 and S420, which are described in detail as follows:
[0052] Step S410, determining a first weight of the massage mode according to the motion mode, the first weight is pre-set according to the relationship between the motion part corresponding to the motion mode and the massage mode, and determining a second weight of the massage mode according to the motion time and the reference time of the motion mode.
[0053] In the embodiment of the present application, since the force applied by the object is different in each motion mode, each motion mode has its corresponding first weight in each massage mode. Specifically, the first weight is determined in advance through multiple experiments. The first weight of each motion mode in each massage mode is determined through multiple experiments. Specifically, the first weights of each massage mode in each motion mode correspond to the following table 1:
[0054]
[0055] Table 1
[0056] After determining the corresponding exercise mode, the corresponding first weight can be directly determined according to the records in Table 1. The coefficients such as an, bn... in Table 1 above are set according to the relationship between the exercise part and the massage method. For example, when in the slow walking exercise mode, the values of the first weights b1 and d1 for foot massage and calf massage can be relatively large, that is, b1 + d1 > 0.5; when in the skipping exercise mode, the value of the first weight d3 for calf massage can be set relatively large. When the above four massage modes operate simultaneously, a1 + b1 + c1 + d1 = 1, a2 + b2 + c2 + d2 = 1, and so on, an + bn + cn + dn = 1, n = 1, 2, 3... In other embodiments, the first weight can be obtained by performing real-time analysis on the exercise mode.
[0057] The second weight is calculated based on the reference time and exercise time of each exercise mode. Specifically, the exercise time and reference time under each exercise mode are shown in the following Table 2. Different exercise modes are respectively set with reference times. According to the reference time and exercise time corresponding to the exercise mode, the exercise time is divided by the reference time to calculate the corresponding second weight. For example: the exercise time of slow walking is t1, and the reference time of slow walking is T1 at the same time, then the second weight of slow walking is S1 = t1 / T1. If T1 < t1, then S1 = 1.
[0058] Sport Mode Slow Walk running jump rope ··· ··· Base time / minute T1 T2 T3 ··· Tn Exercise time / minute t1 t2 t3 ··· tn
[0059] Table 2
[0060] Step S420, set the massage parameters of the massage mode according to the first weight and the second weight.
[0061] In the embodiments of the present application, the massage parameters in the massage mode are calculated according to the first weight and the second weight. In the embodiments of the present application, the corresponding weights are determined through the exercise mode and the exercise time, and then the corresponding massage parameters are set according to the weights. The massage parameters can be automatically calculated according to the exercise mode and the exercise time, without the user manually adjusting the massage parameters, improving the user experience of using the foot bath device.
[0062] In an embodiment of the present application, please refer to Figure 5 , in step S420, setting the massage parameters of the massage mode according to the first weight and the second weight includes steps S510 to S530, which are introduced in detail as follows:
[0063] Step S510, obtain the massage reference data of the massage mode, and perform weighted processing on the massage reference data based on the first weight and the second weight to obtain the massage target data of the massage mode.
[0064] In the embodiment of the present application, the massage mode on the foot bath includes a constant temperature foot bath, a foot massage, an instep airbag massage, a calf massage, etc. Each massage mode has its corresponding massage reference data, such as the massage reference data of the constant temperature foot bath is the lowest water temperature and the highest water temperature, and the massage reference data of the foot massage, the instep airbag massage, and the calf massage are all corresponding massage reference strengths, and the massage reference strengths of the above-mentioned foot massage, the instep airbag massage, and the calf massage can adopt the same numerical value or different numerical values. The massage reference data are weighted by the first weight and the second weight to obtain the massage target data. By step S520, the massage reference time of the massage mode is obtained, and the massage reference time is weighted based on the first weight and the second weight to obtain the massage target time of the massage mode.
[0065] In the embodiment of the present application, each massage mode also includes a corresponding massage reference time. Similarly, the massage reference time of each massage mode can use the same value or different values. In the same exercise mode, the corresponding second weight is calculated according to the exercise time and the reference time, and the massage reference time is weighted by the first weight and the second weight to calculate the corresponding massage target time.
[0066] Specifically: if the subject's exercise data is slow walking for tm minutes, the massage parameters of the massage mode are set as follows according to the exercise data:
[0067] In the massage mode of constant temperature foot bath, the lowest water temperature of the massage benchmark data is set to 35 degrees, the highest water temperature is set to 48 degrees, the massage benchmark time is 60 minutes, and the massage target water temperature and massage target time of the massage target data are calculated as follows:
[0068] Massage target water temperature = 35 + a1*S1*(48-35) = 35 + a1*(tm / T1)*13;
[0069] Massage target time = a1*S1*60 = a1*(tm / T1)*60.
[0070] In the foot massage mode, the massage benchmark intensity of the massage benchmark data is set to 3, and the massage benchmark time is 60 minutes. The massage intensity of the massage target data and the massage target time are calculated as follows:
[0071] Massage intensity = b1*S1*3 = b1*(tm / T2)*3;
[0072] Massage target time = b1*S1*60 = b1*(tm / T2)*60.
[0073] In the airbag massage mode, the massage benchmark intensity of the massage benchmark data is set to 3, the massage benchmark time is 60 minutes, and the massage intensity of the massage target data and the massage target time are calculated as follows:
[0074] Massage intensity = c1*S1*3 = c1*(tm / T2)*3;
[0075] Massage target time = c1*S1*60 = c1*(tm / T2)*60.
[0076] In the massage mode of calf massage, the massage base intensity of the massage base data is set to 3, the massage base time is 60 minutes, and the massage intensity of the massage target data and the massage target time are calculated as follows:
[0077] Massage intensity = d1*S1*3 = d1*(tm / T2)*3;
[0078] Massage target time = d1*S1*60 = d1*(tm / T2)*60.
[0079] In other massage modes, the corresponding massage target data and massage target time can be calculated in the same manner as above.
[0080] Step S530: Using the massage target data and the massage target time as massage parameters of the massage mode.
[0081] In the embodiment of the present application, the calculated massage target data and massage target time are directly used as massage parameters of the massage mode. The embodiment of the present application determines the first weight and the second weight through the motion data, and automatically calculates the corresponding massage parameters according to the determined first weight and second weight. It can well match the required massage parameters in different motion modes, and can complete the massage operation without manual operation of the subject, thereby improving the subject's usage experience of the foot bath.
[0082] In one embodiment of the present application, see Figure 6 In step S530, the massage target data and the massage target time are used as massage parameters of the massage mode, including steps S610 to S620, which are described in detail as follows:
[0083] Step S610, obtaining the parameter threshold and time threshold of the massage mode.
[0084] In the embodiment of the present application, each massage mode has its corresponding parameter threshold and time threshold. For example, in the above-mentioned constant temperature foot bath, sole massage, instep airbag massage, and calf massage modes, the highest water temperature or massage reference strength can be directly used as the parameter threshold of the corresponding massage mode, and 60 minutes in the above-mentioned calculated massage target time can be used as the time threshold of each massage mode. In other embodiments, the parameter threshold and time threshold of each massage mode can be set to different values.
[0085] Step S620, detecting whether the massage target data is less than the parameter threshold, and whether the massage target time is less than the time threshold.
[0086] In the embodiment of the present application, it is detected whether the massage target data is less than the parameter threshold and whether the massage target time is less than the time threshold. The setting of the parameter threshold ensures that the water temperature or massage intensity is within the tolerance range of the human body. At the same time, the setting of the time threshold also ensures that the massage target time is within a certain time range.
[0087] Step S630: If the massage target data is less than the parameter threshold, and the massage target time is less than the time threshold, the massage target data and the massage target time are used as massage parameters of the massage mode.
[0088] In the embodiment of the present application, when the massage target data is less than the parameter threshold and the massage target time is less than the time threshold, the massage target data and the massage target time are used as massage parameters. When either the massage target data or the massage target time is greater than or equal to the corresponding threshold, the corresponding threshold is used as the massage parameter, that is, when the massage target data is greater than or equal to the parameter threshold and the massage target time is less than the time threshold, the parameter threshold and the massage target time are used as the massage parameters of the massage mode.
[0089] Step S230, performing a massage operation according to the massage parameters of the massage mode.
[0090] In the embodiment of the present application, after the corresponding massage parameters are determined according to the exercise mode and exercise time, the massage operation is performed directly according to the massage parameters without the need for the object to perform the operation.
[0091] In one embodiment of the present application, see Figure 7 , the exercise mode includes multiple types; the massage mode includes multiple types; in step S230, a massage operation is performed according to the massage parameters of the massage mode, including steps S710 and S720, which are described in detail as follows:
[0092] Step S710, for the same massage mode, the values corresponding to the massage parameters corresponding to the various motion modes are compared to determine the maximum massage parameter value of each massage mode.
[0093] In the embodiment of the present application, when the subject is exercising, most of them exercise in multiple sports modes. When there are multiple sports modes, the corresponding massage parameters in various sports modes are determined, such as the corresponding massage parameters in the four massage modes of constant temperature foot bath, sole massage, instep airbag massage, and calf massage in the slow walking and running sports modes. After determining all the massage parameters, the corresponding maximum massage parameters are determined in different sports modes. For example, in the slow walking and running sports modes, in the massage mode of instep airbag massage, the massage target time is ta and tb respectively, where ta>tb, and the massage intensity is ma and mb respectively, where ma>mb, then the massage target time in the massage parameters in the massage mode is determined as ta, and the massage intensity is determined as ma.
[0094] Step S720, performing massage operations simultaneously according to the maximum massage parameter values of each massage mode.
[0095] In the embodiment of the present application, after determining the maximum massage parameter value in each massage mode, multiple massage modes are used to massage the object simultaneously. By having multiple massage modes working simultaneously, relaxation can be achieved at different levels, while reducing the total massage time of the user to a certain extent.
[0096] In one embodiment of the present application, see Figure 8 After performing a massage operation according to the massage parameters of the massage mode in step S210, the massage control method further includes steps S810 to S830, which are described in detail as follows:
[0097] Step S810, detecting whether input massage parameters are received.
[0098] In the embodiment of the present application, the subject can manually input massage parameters according to his / her needs before or during the massage. The subject can directly determine the input parameters on the foot bath, such as Figure 1 The footbath shown is provided with a mode control and a parameter control. The mode control is used to select the required massage mode, and the parameter control is used to select the corresponding massage parameters. At the same time, the footbath is also provided with a display to facilitate viewing the corresponding data when using the controls. The subject can also input the input massage parameters on the smart terminal paired with the footbath, and then transmit the input massage parameters to the footbath through the smart terminal, so that the footbath performs massage operations according to the input parameters.
[0099] Step S820: If the input massage parameter is received, the massage parameter of the massage mode is adjusted according to the input massage parameter.
[0100] In the embodiment of the present application, after receiving the input massage parameter, the original massage parameter is adjusted by the input massage parameter. In other embodiments, when the massage operation has not yet started, after detecting the massage input massage parameter, the input massage parameter is directly used as the massage parameter of the massage mode.
[0101] Step S830, performing a massage operation using the massage parameters of the adjusted massage mode.
[0102] In the embodiment of the present application, the massage operation is performed by adjusting the massage parameters of the massage mode. In the embodiment of the present application, during the massage process, if the subject is not satisfied with the massage effect, the massage parameters can be input at any time to adjust the massage parameters in operation, so that the massage effect of the adjusted massage parameters can better meet the subject's expectations.
[0103] In one embodiment of the present application, see Fig. 9 , Fig. 9 A massage control method according to an exemplary embodiment includes steps S901 to S910, which are described in detail as follows:
[0104] Step S901, after the foot bath is powered on, detect whether a key operation for pairing is received.
[0105] In the embodiments of the present application, when the subject needs to use the footbath, the subject powers on the footbath, and the user operates a button on the footbath to put the footbath into a pairing state.
[0106] Step S902: If a key operation for pairing is received, it is detected whether a pairing request initiated by the smart terminal is received.
[0107] In an embodiment of the present application, when the footbath enters the pairing state, the object can search for the footbath on the smart terminal. When the smart terminal cannot search the footbath, it indicates that pairing is impossible. When the smart terminal can search for the footbath, the object operates on the smart terminal and initiates a pairing request to the footbath.
[0108] Step S903: If a pairing request initiated by the smart terminal is received, pairing is performed according to the pairing request, and a data acquisition permission request is initiated to the smart terminal.
[0109] In the embodiment of the present application, after receiving the pairing request, the foot bath performs pairing, and after the pairing is successful, initiates a data acquisition permission request to the smart terminal.
[0110] Step S904: Detect whether a response message indicating permission is passed is received from the smart terminal.
[0111] In an embodiment of the present application, after receiving a request for data acquisition permission, the smart terminal will pop up a corresponding page for the subject to choose whether to agree to the subsequent footbath to obtain the motion data on the smart terminal. When the subject chooses not to agree, the footbath cannot obtain the motion data and automatically enters manual mode to allow the subject to input the massage parameters by themselves; when the subject agrees to the subsequent acquisition of the motion data, a corresponding response message indicating that the permission has been granted will be sent to the footbath.
[0112] Step S905: if a response message is received, check whether the footbath is in a designated mode.
[0113] In the embodiment of the present application, after receiving the response message, it is determined whether the footbath is in the specified mode, that is, whether the footbath is in the automatic mode.
[0114] Step S906: If the mode is specified, a motion data acquisition request is sent to the smart terminal to acquire the motion data of the object.
[0115] In an embodiment of the present application, when the footbath is in a specified mode, a motion data acquisition request is initiated to the smart terminal. After receiving the motion data acquisition request, the smart terminal retrieves the corresponding motion data and returns it to the footbath. The retrieved motion data is the most recent motion data from the current moment.
[0116] Step S907: Process the motion data through an AI chip or a cloud server to obtain massage parameters of the massage mode.
[0117] In the embodiment of the present application, the motion data is processed by an AI chip or a cloud server, that is, the massage parameters of the massage mode are calculated by the motion mode and motion time in the motion data. A large number of AI algorithms are set in the AI chip to process the motion data, and the massage parameters can be automatically and quickly calculated. The specific calculation of the massage parameters of the massage mode is as before, and will not be repeated here.
[0118] Step S908, performing massage operation according to the massage parameters of the massage mode.
[0119] In an embodiment of the present application, massage parameters are automatically calculated based on motion data without the need for manual input. At the same time, the massage parameters calculated based on the motion data can more accurately meet the massage needs of the subject and enhance the subject's massage experience with the foot bath.
[0120] Step S909, detecting whether input massage parameters are received.
[0121] In the embodiment of the present application, it is detected whether the input massage parameters are received, that is, it is detected whether the foot bath is in the manual mode. In the manual mode, the subject can input the massage parameters by himself.
[0122] Step S910: If an input massage parameter is received, a massage operation is performed according to the input massage parameter.
[0123] In the embodiment of the present application, after receiving the input type massage parameters, the massage operation is directly performed according to the input type massage parameters.
[0124] In an exemplary embodiment of the present application, see Fig.10 , Fig.10 is a block diagram of a massage control device according to an exemplary embodiment, comprising:
[0125] The acquisition module 1010 is configured to acquire motion data of the object, where the motion data includes a motion mode and a motion time corresponding to the motion mode;
[0126] A setting module 1020, configured to set massage parameters of the massage mode according to the exercise mode and exercise time;
[0127] The massage module 1030 is configured to perform a massage operation according to the massage parameters of the massage mode.
[0128] In an exemplary embodiment of the present application, the setting module 1020 includes:
[0129] a determination submodule configured to determine a first weight of the massage mode according to the motion mode, the first weight being pre-set according to the relationship between the motion part corresponding to the motion mode and the massage mode, and to determine a second weight of the massage mode according to the motion time and the reference time of the motion mode;
[0130] A setting submodule is configured to set massage parameters of the massage mode according to the first weight and the second weight.
[0131] In an exemplary embodiment of the present application, a submodule is provided, including:
[0132] A first acquisition unit is configured to acquire massage reference data of the massage mode, and perform weighted processing on the massage reference data based on the first weight and the second weight to obtain massage target data of the massage mode;
[0133] A second acquisition unit is configured to acquire a massage reference time of the massage mode, and perform weighted processing on the massage reference time based on the first weight and the second weight to obtain a massage target time of the massage mode;
[0134] As a unit, it is configured to use the massage target data and the massage target time as massage parameters of the massage mode.
[0135] In an exemplary embodiment of the present application, as a unit, it includes:
[0136] An acquisition subunit configured to acquire a parameter threshold and a time threshold of a massage mode;
[0137] a detection subunit, configured to detect whether the massage target data is less than a parameter threshold, and whether the massage target time is less than a time threshold;
[0138] As a subunit, it is configured to use the massage target data and the massage target time as massage parameters of the massage mode if the massage target data is less than the parameter threshold and the massage target time is less than the time threshold.
[0139] In an exemplary embodiment of the present application, the exercise mode includes multiple types; the massage mode includes multiple types; the massage module 1030 includes:
[0140] a comparison submodule configured to compare the values corresponding to the massage parameters corresponding to the various motion modes for the same massage mode, so as to determine the maximum massage parameter value of each massage mode;
[0141] The massage submodule is configured to simultaneously perform massage operations according to the maximum massage parameter values of each massage mode.
[0142] In an exemplary embodiment of the present application, the acquisition module 1010 includes:
[0143] The initiating submodule is configured to initiate a data acquisition permission request to the paired smart terminal if it detects that the specified mode is turned on;
[0144] The acquisition submodule is configured to receive a response message sent by the smart terminal to indicate that the permission is passed, and to acquire the motion data from the smart terminal.
[0145] In an exemplary embodiment of the present application, the massage control device further includes:
[0146] A detection module configured to detect whether an input massage parameter is received;
[0147] an adjustment module, configured to adjust the massage parameters of the massage mode according to the input massage parameters if the input massage parameters are received;
[0148] The massage operation module is configured to perform massage operation through massage parameters of the adjusted massage mode.
[0149] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module, sub-module, unit, and sub-unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0150] An embodiment of the present application also provides a foot bath, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the foot bath implements the massage control method provided in the above-mentioned embodiments.
[0151] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing the footbath of the embodiment of the present application is shown.
[0152] It should be noted that Fig.11 The computer system 1100 of the footbath shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0153] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103, such as executing the method described in the above embodiment. In the RAM 1103, various programs and data required for system operation are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through the bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0154] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0155] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0156] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0157] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0159] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method described above is implemented. The computer-readable storage medium may be included in the footbath described in the above embodiment, or may exist independently without being assembled into the footbath.
[0160] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in each of the above embodiments.
[0161] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A massage control method, characterized in that: include: Acquiring motion data of an object, the motion data including a motion mode and a motion time corresponding to the motion mode; Setting massage parameters of a massage mode according to the exercise mode and the exercise time; Performing massage operation according to massage parameters of the massage mode; The exercise modes include multiple types; the massage modes include multiple types; and the massage operation performed according to the massage parameters of the massage modes includes: For the same massage mode, the values corresponding to the massage parameters corresponding to the various motion modes are compared to determine the maximum massage parameter value of each massage mode; Performing massage operations simultaneously according to the maximum massage parameter values of the respective massage modes; Wherein, the massage parameters of the massage mode are set according to the exercise mode and the exercise time, including: Determining a first weight of the massage mode according to the motion mode, wherein the first weight is pre-set according to the relationship between the motion part corresponding to the motion mode and the massage mode, and determining a second weight of the massage mode according to the motion time and the reference time of the motion mode; setting massage parameters of the massage mode according to the first weight and the second weight; Wherein, setting the massage parameters of the massage mode according to the first weight and the second weight includes: Acquire massage reference data of the massage mode, and perform weighted processing on the massage reference data based on the first weight and the second weight to obtain massage target data of the massage mode; Acquire a massage reference time of the massage mode, and perform weighted processing on the massage reference time based on the first weight and the second weight to obtain a massage target time of the massage mode; The massage target data and the massage target time are used as massage parameters of the massage mode.
2. The method according to claim 1, characterized in that The step of using the massage target data and the massage target time as massage parameters of the massage mode includes: Obtaining parameter thresholds and time thresholds of the massage mode; Detecting whether the massage target data is less than the parameter threshold, and whether the massage target time is less than the time threshold; If the massage target data is smaller than the parameter threshold, and the massage target time is smaller than the time threshold, the massage target data and the massage target time are used as massage parameters of the massage mode.
3. The method according to claim 1 or 2, characterized in that The acquiring the motion data of the object comprises: If it is detected that the specified mode is turned on, a data acquisition permission request is initiated to the paired smart terminal; A response message indicating that the permission is passed is received from the smart terminal, and the motion data is obtained from the smart terminal.
4. The method according to claim 1 or 2, characterized in that: After performing the massage operation according to the massage parameters of the massage mode, the method further includes: Check whether the input massage parameters are received; If the input massage parameter is received, adjusting the massage parameter of the massage mode according to the input massage parameter; The massage operation is performed by adjusting the massage parameters of the massage mode.
5. A massage control device, characterized in that: include: An acquisition module configured to acquire motion data of an object, wherein the motion data includes a motion mode and a motion time corresponding to the motion mode; A setting module, configured to set massage parameters of a massage mode according to the exercise mode and the exercise time; a massage module configured to perform a massage operation according to massage parameters of the massage mode; The exercise modes include multiple types; the massage modes include multiple types; and the massage operation performed according to the massage parameters of the massage modes includes: For the same massage mode, the values corresponding to the massage parameters corresponding to the various motion modes are compared to determine the maximum massage parameter value of each massage mode; Performing massage operations simultaneously according to the maximum massage parameter values of the respective massage modes; Wherein, the massage parameters of the massage mode are set according to the exercise mode and the exercise time, including: Determining a first weight of the massage mode according to the motion mode, wherein the first weight is pre-set according to the relationship between the motion part corresponding to the motion mode and the massage mode, and determining a second weight of the massage mode according to the motion time and the reference time of the motion mode; setting massage parameters of the massage mode according to the first weight and the second weight; Wherein, setting the massage parameters of the massage mode according to the first weight and the second weight includes: Acquire massage reference data of the massage mode, and perform weighted processing on the massage reference data based on the first weight and the second weight to obtain massage target data of the massage mode; Acquire a massage reference time of the massage mode, and perform weighted processing on the massage reference time based on the first weight and the second weight to obtain a massage target time of the massage mode; The massage target data and the massage target time are used as massage parameters of the massage mode.
6. A foot bath, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the foot bath to implement the massage control method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the massage control method according to any one of claims 1 to 4.
