Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1a is a view of an application scenario of a method for controlling a massage apparatus according to an embodiment. As shown in fig. 1a, the mobile terminal 10 can establish a communication connection with the massage device 20, and the massage device 20 connected thereto can be controlled by the mobile terminal 10, wherein the massage part 202 of the massage device 20 can act on a body part of the user, such as the skin, joints, etc. of the user, to provide massage services.
The user may select a massage mode on the mobile terminal 10 and may also select operating parameters in the massage mode. The mobile terminal 10 may receive the triggered selection operation, determine a selected target massage mode according to the selection operation, and acquire the operation parameters selected in the target massage mode. The mobile terminal 10 may generate control instructions based on the selected operating parameters and transmit the control instructions to the connected massage device 20. The massage device 20 receives the control command transmitted from the connected mobile terminal 10 and controls the operation state of the massage member 202 according to the control command to ensure that the operation state of the massage member 202 matches the operation parameter selected by the user.
Fig. 1b is a circuit block diagram of a massage device in one embodiment. As shown in fig. 1b, the massage device 20 includes a master MCU (micro controller Unit) 204, a wireless communication module 206 connected to the master MCU204, a massage Unit 202, and a driving circuit 208 respectively connected to the master MCU204 and the massage Unit 202. The massage device 20 can receive the control command sent by the mobile terminal 10 through the wireless communication module 206, and the wireless communication module 206 outputs the control command to the main control MCU 204. The main control MCU204 may analyze the control command, generate a control signal corresponding to the control command, and output the control signal to the driving circuit 208. The drive circuit 208 may process the control signals to generate drive signals that may be used to drive the operation of the massage component 202 and output the drive signals to the massage component 202 to control the operation of the massage component 202. It will be appreciated that the massage device may include more or fewer circuit modules than shown in fig. 1b, and is not limited thereto.
As shown in fig. 2, in an embodiment, a method for controlling a massage device is provided, and the method is applicable to a mobile terminal such as a mobile phone, a tablet computer, and a smart wearable device, and the embodiment of the present application is not limited thereto. The operating system of the mobile terminal may include, but is not limited to, an Android operating system, an IOS (apple) operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone operating system, and the like, which is not limited in the embodiment of the present application. The method for controlling the massage device can comprise the following steps:
and step 210, determining the selected target massage mode according to the triggered selection operation, and acquiring the running parameters selected in the target massage mode.
The mobile terminal may establish a communication connection with the massage device, optionally, the communication connection may be established through wireless communication methods such as bluetooth, Wi-Fi (wireless fidelity), infrared, and the like, or may also be established through wired communication methods such as a USB (universal serial Bus) interface and a data transmission line, and the like, which is not limited herein.
In some embodiments, the mobile terminal may display a control page for the connected massage device, which may include one or more massage modes that are selectable. The massage modes refer to operation modes of massage components in the massage device, and the massage modes of different types of massage devices may be different, for example, the massage mode of the neck massage apparatus may include a relaxation mode, a vitality mode, an intelligent mode, and the like, and the massage mode of the face massage apparatus may include a cleaning mode, an essence introduction mode, a lifting mode, and the like. The selectable massage modes can be different for different types of massage equipment in the same type, for example, the massage mode of the neck massage apparatus with the type X001 can comprise a relaxing mode, an active mode and an intelligent mode, and the massage mode of the neck massage apparatus with the type Y002 can comprise a relaxing mode and an active mode.
As a specific embodiment, the massage modes selectable by the massage apparatus may be set in advance by a manufacturer and stored in the server. After the mobile terminal establishes communication connection with the massage device, device information of the connected massage device can be acquired, wherein the device information can include, but is not limited to, a device model, a device name, and the like of the massage device. The mobile terminal can upload the equipment information of the connected massage equipment to the server, and the server can receive the equipment information, search the set massage mode according to the equipment information and then send the searched massage mode to the mobile terminal. The mobile terminal receives the massage mode sent by the server and can display the massage mode in a control page of the massage equipment. In another embodiment, the massage mode of the massage device set by the manufacturer in advance can also be stored in the mobile terminal, and after the mobile terminal is connected with the massage device, the selectable massage mode corresponding to the device information can be directly searched from the memory according to the device information of the connected massage device and displayed in the control page of the massage device.
In some embodiments, the massage mode of the massage device may also be set by the user according to actual needs, and is not limited herein.
The control page of the massage device may further include one or more operation parameters of one or more operation states selectable in the massage mode, in addition to the one or more massage modes selectable, wherein the operation state may refer to a massage state of a massage component in the massage device, for example, the operation state may include an operation time, a heating state, a massage strength, and the like, but is not limited thereto. As an embodiment, for different massage modes of the same massage device, the same operation state may correspond to different parameter ranges, and after the user selects a massage mode, the operation parameters of the operation state may be selected within the parameter range corresponding to the massage mode. For example, the massage force of the relaxation mode of the massage device corresponds to a parameter range of 1-9 grades, and the massage force of the activity mode corresponds to a parameter range of 7-15 grades. The different parameter ranges corresponding to the same operation state in different massage modes may be parameter ranges with crossed values, or completely different parameter ranges, and are not limited herein.
As another embodiment, the same operating state may correspond to the same parameter range in different massage modes. For example, in the three modes of the relaxation mode, the vitality mode and the intelligent mode of the massage device, the parameter range corresponding to the running time can be 0-30 minutes.
After the user selects a desired massage mode, one or more operating parameters of the operating state in the massage mode may be further selected. The mobile terminal may receive the triggered selection operation, determine a massage mode selected by the user according to the selection operation, and determine the massage mode selected by the user as a target massage mode. The operating parameters selected in the target massage mode may be further acquired according to the triggered selection operation. Alternatively, the triggered selection operation may include, but is not limited to, a click operation, a slide operation, an enter character operation, and the like.
As an alternative, different selection operations may be used to select the massage mode and the operating parameters of different operating states. For example, the massage mode may be selected by a click operation, the operation time in the target massage mode may be selected by a slide, the temperature parameter of the heating state in the target massage mode may be selected by inputting a number, and the like. It is to be understood that the specific selection operation is not limited thereto.
Fig. 3 is an interface schematic diagram of a control page of the massage device in one embodiment. As shown in fig. 3, the control page 302 of the cervical vertebra massager with the model number X409 includes selectable massage modes of an intelligent mode, a relaxing mode and an active mode, and the mobile terminal can determine that the selected target massage mode is the relaxing mode 304 according to a selection operation triggered by the user. The comfort mode 304 may include three operation states of operation time, heating and force, and the user may select the operation parameters of the three operation states, for example, the operation time may be selected to be 15 minutes by a sliding operation, the heating may be selected to be a low-grade heating by a sliding operation or a clicking operation, the force may be selected to be a 4 th grade by a sliding operation or a clicking operation, and the like.
In some embodiments, the different massage modes may further respectively set default operation parameters corresponding to the respective operation states, where the default operation parameters may refer to operation parameters displayed on the control page after the user selects the massage mode. After determining the target massage mode according to the selection operation, the mobile terminal may obtain default operation parameters corresponding to each operation state in the target massage mode, and display the default operation parameters in the control page, optionally, the default operation parameters may all be minimum values (e.g., 0), or may set in advance the recommended operation parameters in the target massage mode for a manufacturer or a user. For example, the selected target massage mode is a soothing mode, which corresponds to a default operation time of 20 minutes, a default massage force level of 3, a default heating state of low temperature level, etc., the selected target massage mode is a vital mode, which corresponds to a default operation time of 15 minutes, a default massage force level of 10, a default heating state of high temperature level, etc. The user can directly adopt the default operation parameters corresponding to each operation state in the target massage mode, and can also select the operation parameters of the operation states again. The method can help the user to complete the selection of the operation parameters more quickly, simplify the selection operation and improve the operation efficiency.
Step 220, generating a control instruction according to the operation parameters.
After the mobile terminal obtains the selected operation parameters in the selected target massage mode, a control instruction can be generated according to the operation parameters, and the control instruction can be used for controlling the massage equipment. In one embodiment, the control page of the massage device may further include an activation button that the user may activate to control the massage device to operate according to the selected operating parameters. After detecting that the starting button is triggered, the mobile terminal can acquire the selected target massage mode and the operation parameters selected in the target massage mode, and generates a control instruction according to the operation parameters.
And step 230, sending a control instruction to the massage equipment connected with the mobile terminal, wherein the control instruction is used for instructing the massage equipment to control the massage component based on the operation parameters.
The mobile terminal may send the control instruction to the connected massage device. In some embodiments, the massage device receives a control instruction sent by the mobile terminal, and may parse the control instruction to obtain an operation parameter included in the control instruction. The massage device can control the operation of the massage component according to the operation parameters contained in the control instruction, so that the operation state of the massage component is matched with the operation parameters.
As an embodiment, the operation parameter may include a force parameter, and the force parameter is used for representing the force when the massage device massages the human body. The massage component of the massage device may include electrode pads, through which electrical signals may be output, which may include current signals and/or voltage signals, and may act on the skin of the user to generate a massage effect. After the massage equipment receives the control instruction, the massage equipment can analyze the control instruction and acquire the force parameters contained in the control instruction. The massage equipment can generate an electric signal matched with the force parameter according to the force parameter and output the electric signal through the electrode plate, so that a user can feel the force effect corresponding to the force parameter. As a specific implementation manner, the main control MCU of the massage device may generate a control signal according to the force parameter, the main control MCU may transmit the control signal to the driving circuit, and the driving circuit may convert the control signal through the digital-to-analog converter, convert the digital signal into an analog signal, and amplify the analog signal by using components such as an amplifier to obtain the driving signal. The driving circuit can output a driving signal to the control circuit connected with the electrode plate, and the driving signal can be used for driving the control circuit connected with the electrode plate to generate an electric signal matched with the force parameter and outputting the electric signal through the electrode plate.
As another embodiment, the operating parameter may include a temperature parameter that is indicative of a temperature at which the massage device is massaging the person. The massage component of the massage device may include a heating element, which may convert electric energy into heat energy, and the type of the heating element may be various, such as a metal heating wire, but is not limited thereto. After the massage equipment receives the control instruction, the massage equipment can analyze the control instruction, acquire the temperature parameter contained in the control instruction and adjust the temperature of the heating element according to the temperature parameter. Further, the massage device may control the energization state of the heating element according to the temperature parameter. The massage device may detect a temperature of the heating element, may control the heating element to be in an unpowered state when the temperature of the heating element matches the temperature parameter, and may control the heating element to be in a powered state when the temperature of the heating element is detected to not match the temperature parameter.
As a specific embodiment, the heating element may be connected to a temperature sensor and a conductive switch, the temperature sensor may be connected to a main control MCU of the massage device, and the temperature sensor may be used to detect the temperature of the heating element and transmit the detected temperature to the main control MCU. The main control MCU receives the temperature of the heating element collected by the temperature sensor, can judge whether the temperature of the heating element is matched with the temperature parameter, and can generate a control signal for controlling the conduction switch to be turned off and transmit the control signal out of the driving module if the temperature of the heating element is matched with the temperature parameter. The driving module can utilize components such as an amplifier to amplify the control signal and the like so as to generate a driving signal, and the driving signal is transmitted to the conductive switch so as to control the conductive switch to be turned off. If the temperature of the heating element is not matched with the temperature parameter and the conductive switch is in a closed state, the main control MCU can generate a control signal for controlling the conductive switch to be opened and transmit the control signal out of the driving module. The driving module can process the control signal to generate a driving signal and transmit the driving signal to the conductive switch to control the conductive switch to be switched on. After the conductive switch is turned on, the heating element is in a power-on state, so that electric energy can be continuously converted into heat energy, and the temperature is increased.
As yet another embodiment, the operation parameter may include a frequency parameter, and the frequency parameter may be used to represent the number of massages per unit time when the massage device massages the human body, for example, 50 times/second, 34 times/second, and the like. The massage device may comprise a vibration module in the massage part, optionally the vibration module may be provided with a motor or the like to generate a vibration effect. After the massage equipment receives the control instruction, the massage equipment can analyze the control instruction and acquire the frequency parameters contained in the control instruction. The massage equipment can adjust the vibration frequency of the vibration module according to the frequency parameter, so that the vibration frequency of the vibration module is matched with the frequency parameter. As a specific embodiment, the main control MCU of the massage apparatus may generate a control signal for adjusting the vibration frequency of the vibration module according to the frequency parameter. The main control MCU can transmit the control signal to the drive circuit, the drive circuit can convert the control signal through the digital-to-analog converter, convert the digital signal into an analog signal, amplify the analog signal by using components such as an amplifier and the like, and can adjust the speed by using components such as pulse broadband modulation and the like to obtain the drive signal. The driving circuit can output the driving signal to a control circuit connected with the vibration module so as to drive an electric signal generated on the control circuit, thereby controlling the vibration frequency of the vibration module to be matched with the frequency parameter.
In some embodiments, the massage device may also control the frequency at which the electrode pads generate current according to a frequency parameter such that the frequency at which the electrode pads generate current matches the frequency parameter. The operation state of each module in the massage part of the massage equipment is controlled by using the operation parameters, for example, the operation of the electrode plate is controlled by using the force parameter, the operation of the heating element is controlled by using the temperature parameter, and the like, so that more refined control on the massage equipment can be realized, and different requirements of users are met.
It should be understood that the operating parameters and the manners of controlling the massage components by the massage devices in the embodiments of the present application are not limited to those described in the above embodiments, the operating parameters and the manners of controlling the massage components by different massage devices may be different, and the manners of controlling the massage components by the massage devices described in the above embodiments may be arbitrarily combined, and are not limited herein.
In one embodiment, the control page of the massage device may further include a pause button, when the mobile terminal detects that the pause button is triggered, a pause instruction may be sent to the massage device to pause the operation of the massage device, and after the user triggers the start button again, the massage device may continue to operate according to the previously selected operation parameters without resetting, thereby further simplifying the user operation. Alternatively, the start button and the pause button may be the same button, and the start/pause function may be implemented by different triggering timings. The setting mode of the start button and the pause button is not limited, and only the start and pause functions can be realized.
In the embodiment of the application, the mobile terminal determines the selected target massage mode according to the triggered selection operation, acquires the operation parameters selected in the target massage mode, generates the control instruction according to the operation parameters, and sends the control instruction to the massage equipment connected with the mobile terminal, wherein the control instruction is used for instructing the massage equipment to control the massage component based on the selected operation parameters, the control of the massage equipment is realized through the mobile terminal, the mode of controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
As shown in fig. 4, in one embodiment, another method of controlling a massage apparatus is provided, which may be used for the mobile terminal described above, and may include the steps of:
step 402, searching massage equipment in a preset range through a wireless communication module.
The wireless communication module may include a bluetooth module, a Wi-Fi module, a local area network communication module, an infrared module, or the like, which is not limited herein. In some embodiments, the mobile terminal may search for a massage apparatus within a preset range in a connectable state through the wireless communication module, wherein the connectable state may refer to a state in which the massage apparatus is not connected to other mobile terminals. The preset range can be set according to actual requirements, for example, within a range of 30 meters, within a range of 50 meters, and the like. Optionally, different wireless communication modules may be set to different preset ranges, for example, the preset range of the Wi-Fi module may be larger, and the preset range of the bluetooth module may be smaller, which may improve the accuracy of searching for the massage device.
A device list is generated based on the searched massage devices, the device list including the searched device information of the at least one massage device, step 404.
The mobile terminal may obtain the searched device information of the massage device within the preset range, where the device information may include, but is not limited to, a product model, a device number, a device name, and the like of the massage device. A device list including the searched device information of the at least one massage device may be generated and displayed.
In some embodiments, the device list may include device information of one or more searched massage devices in a connectable state, and since the searched massage devices may have established connection with other mobile terminals, in order to prevent a case where connection is impossible, only the massage devices in the connectable state may be presented in the device list. After the mobile terminal searches the massage equipment, whether the massage equipment establishes communication connection with other mobile terminals can be judged, and if the communication connection is established, the massage equipment is not displayed in the equipment list.
In some embodiments, the device list may also search for device information for one or more massage devices having a signal strength greater than an intensity threshold. After the mobile terminal searches the massage equipment, whether the signal intensity of the massage equipment is greater than the intensity threshold value or not can be judged, and if the signal intensity of the massage equipment is not greater than the intensity threshold value, the massage equipment is not displayed in an equipment list. Only the massage equipment with the signal intensity larger than the intensity threshold value is displayed in the equipment list, so that the stability of the subsequently established communication connection can be improved, and the communication quality is ensured.
Step 406, detecting a connection operation for the device list, and acquiring device information corresponding to the connection operation.
And step 408, establishing communication connection with the massage equipment matched with the corresponding equipment information based on the equipment information corresponding to the connection operation.
The user may select any one of the massage devices in the list of devices to connect. The mobile terminal can acquire the device information of the massage device to be connected according to the detected connection operation and establish communication connection with the massage device based on the device information. In some embodiments, the device information may further include a communication address of the massage device, for example, if a communication connection is established by using a bluetooth module, the device information may include a bluetooth communication address of the massage device, if a communication connection is established by using a Wi-Fi module, the device information may include an IP (Internet Protocol) address of the massage device, and the like. The mobile terminal can establish communication connection with the massage equipment according to the communication address of the massage equipment to be connected.
FIG. 5 is a diagram illustrating an interface of a device list in one embodiment. As shown in fig. 5, if the mobile terminal searches that the connectable massage devices within the preset range include a cervical vertebra massager having a product model of X409 and a face massager having a product model of a333, a device list may be generated and displayed. The user can select any massage equipment displayed in the equipment list to be connected, and after the mobile terminal establishes communication connection with the massage equipment selected by the user, the operation of the connected massage equipment can be controlled.
In one embodiment, after the mobile terminal searches for a massage device, it may determine whether the massage device is a history massage device, which may refer to a massage device that the mobile terminal has previously established a communication connection. The searched equipment information of the massage equipment can be obtained, the equipment information is compared with the stored equipment information of the historical massage equipment, if the equipment information of the historical massage equipment matched with the searched equipment information of the massage equipment is found, the searched massage equipment can be judged to be the historical massage equipment, the mobile terminal can be directly in communication connection with the searched massage equipment, a user does not need to perform connection operation, user operation can be simplified, and connection efficiency is improved.
And step 410, determining the selected target massage mode according to the triggered selection operation, and acquiring the operation parameters selected in the target massage mode.
Step 420, generating a control instruction according to the operation parameters.
And 430, sending a control instruction to the massage equipment connected with the mobile terminal, wherein the control instruction is used for instructing the massage equipment to control the massage component based on the operation parameters.
The descriptions of steps 410-430 can refer to the descriptions related to the above embodiments, and are not repeated herein.
In some embodiments, after the massage device receives a control instruction sent by the mobile terminal and controls the massage component to operate according to the control instruction, a state parameter of the massage component may be acquired, and the state parameter may be used to represent a current operation state of the massage component. For example, the status parameters may include the current temperature generated by the massage component, the current level generated by the electrode pads, and the like. Alternatively, the massage apparatus may collect the state parameters of the massage component every preset time period, for example, every 15 seconds, every 20 seconds, etc., without limitation, and transmit the collected state parameters to the mobile terminal.
In some embodiments, when the operation time of the massage device is too long, the operation state of the massage component may not match the initially selected operation parameter, or the operation of the massage component according to the same operation parameter may cause a poor massage effect when the operation time is too long, so that the operation state of the massage component needs to be adjusted. The mobile terminal receives the state parameters returned by the massage equipment and can judge whether the operation parameters need to be adjusted according to the state parameters. If the difference between the state parameter returned by the massage equipment and the expected state is larger than the set value, the operation parameter can be adjusted according to the state parameter, optionally, the expected state and the set value can be set according to requirements, and different types of state parameters can correspond to different expected states and set values. For example, if the temperature currently generated by the massage component exceeds the desired temperature value by 3 degrees celsius and is greater than the set value by 1 degree celsius, the temperature parameter may be decreased.
The mobile terminal can regenerate the control instruction according to the adjusted operation parameters and send the regenerated control instruction to the massage equipment. The massage device receives the regenerated control instruction, and can control the massage component according to the adjusted operation parameters contained in the regenerated control instruction, so that the operation state of the massage component can be adjusted, and the adjusted operation state is matched with the adjusted operation parameters. The operation parameters are adjusted according to the state parameters returned by the massage equipment, so that the operation state of the massage component can be ensured to be in a stable expected state, and the control on the massage equipment is realized more intelligently.
In the embodiment of the application, the mobile terminal can search the massage equipment within the preset range, generate the equipment list and be connected with the massage equipment according to the detected connection operation, so that the connected massage equipment is controlled, the mode for controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
As shown in fig. 6, in one embodiment, another method for controlling a massage apparatus is provided, which is applicable to the mobile terminal described above, and the method may include the steps of:
step 602, searching for a massage device within a preset range through a wireless communication module.
Step 604, generating a device list based on the searched massage devices, wherein the device list comprises the searched device information of at least one massage device.
Step 606, detecting a connection operation for the device list, and acquiring device information corresponding to the connection operation.
And step 608, establishing communication connection with the massage equipment matched with the corresponding equipment information based on the equipment information corresponding to the connection operation.
The descriptions of steps 602-608 can refer to the related descriptions in the above embodiments, and are not repeated herein.
Step 610, obtaining a recommended massage mode according to the logged-in user information, wherein the recommended massage mode comprises a parameter range of at least one operation state of the massage equipment.
In some embodiments, a user may input a user identifier at a mobile terminal and log in using the user identifier, where the user identifier may include a user account, a user password, or an identity number of the user, and the user identifier may be used to uniquely identify the user. After the mobile terminal is in communication connection with the massage equipment, when the mobile terminal enters a control page of the massage equipment, a recommended massage mode can be selected and displayed in the control page. In this embodiment, the mobile terminal may obtain logged-in user information, where the user information may include at least the user identifier and may further include personal information of other users, such as age, gender, occupation, and physical health status of the user, and may select a recommended massage mode from a plurality of stored massage modes according to the user information.
At step 612, default operating parameters for at least one operating condition within the corresponding parameter range are determined.
After the mobile terminal selects the recommended massage mode, the default operation parameters of each operation state in the recommended massage mode can be further determined, and the determined default operation parameters can refer to the operation parameters recommended to the user. Optionally, the massage mode may include one or more operation states, each operation state may correspond to a different parameter range, the massage mode is different, the operation states included in the massage mode may be the same or different, and the corresponding parameter ranges of the same operation state in different massage modes may be different or the same. The default operating parameters of each operating state in the selected fixed recommended massage mode within the corresponding parameter range can be determined.
As an optional implementation manner, the mobile terminal may obtain the user massage requirement according to the user information, where the user massage requirement includes a massage effect requirement, for example, using a cervical vertebra massager to relieve neck fatigue, using a facial massager to achieve a lifting effect, an anti-acne effect, and the like. The user massage requirements may also include specific massage status requirements, such as force requirements, temperature requirements, time requirements, and the like. The user massage requirements can be matched with personal information such as the age, sex, occupation, physical health condition and the like of the user contained in the user information.
In one embodiment, the user massage requirements corresponding to different personal information may be set, for example, but not limited to, the occupation is white-collar workers, the user massage requirements are people with neck fatigue relieving and cervical spondylosis preventing, the age is over 60, and the user massage requirements are people with neck pain relieving. Optionally, the user information may also be input into the demand analysis model by using a pre-constructed demand analysis model, and the input user information is analyzed by the demand analysis model to obtain the user massage demand. The demand analysis model may be a neural network learning model or the like, and may collect massage demands of a large number of users with different personal information in advance, for example, massage demands of a large number of male users and female users with different age groups, different professional groups, and different body health states. The demand analysis model can be trained according to a large number of collected massage demands and corresponding personal information. The machine learning model is used for analyzing the user massage requirements, so that the user massage requirements obtained through analysis can be more accurate and can be more fit with the real requirements of the user.
The mobile terminal can select a recommended massage mode from one or more preset massage modes according to the massage requirements of the user, can pre-store the corresponding relation between the massage requirements of the user and the recommended massage mode, and selects the recommended massage mode according to the corresponding relation. For example, the occupation of the user is white-collar workers, the massage requirement of the user is to relieve neck fatigue and prevent cervical spondylosis, and the corresponding recommended massage mode may be a vitality mode, but is not limited thereto.
Furthermore, after the recommended massage mode is selected according to the massage requirement of the user, the default operation parameters of each operation state in the recommended massage mode can be further adjusted according to the massage requirement of the user. For example, the massage requirement of the user is neck fatigue relieving, the massage strength is moderate, the selected recommended massage mode is an activity mode, and the default operation parameter of the massage strength can be further set to be 9 levels. When the recommended massage mode is selected, the default operation parameters are adjusted according to the massage requirements of the same user, so that the recommended operation parameters can better meet the real requirements of the user, and the massage effect of the massage equipment is improved.
As another alternative, the mobile terminal may obtain the history massage record according to the logged user information. When the mobile terminal controls the massage equipment to operate each time and the massage function is realized, corresponding massage records can be generated and stored, wherein the massage records can comprise information such as user identification, selected target massage modes, operation parameters and the like.
The mobile terminal can search the historical massage records corresponding to the user identifications according to the logged-in user identifications, and count the selection times of all massage modes in the historical massage records, namely count the times of all massage modes selected as target massage modes, and determine the massage mode with the most selection times as a recommended massage mode. For example, in the history of the massage of the face massage apparatus, if the number of times of the cleaning mode is 3, the number of times of the pulling mode is 5, and the number of times of the essence mode introduction is 10, the essence mode introduction may be determined as the recommended massage mode. The recommended massage mode is determined according to the selection times of the massage modes in the historical massage records, so that the selected recommended massage mode can be more accurate.
Further, after the mobile terminal determines the massage mode with the largest number of selection times as the recommended massage mode, the mobile terminal may also count the number of selection times of the operation parameters of each operation state of the recommended massage mode in the historical massage records, and determine the operation parameter with the largest number of selection times corresponding to each operation state as the default operation parameter of the operation state. For example, for a cervical vertebra massager, a recommended massage mode determined according to a historical massage record is a relaxing mode, and in the historical massage record, when a user uses the relaxing mode to massage, the force parameter is selected to be the 5 th level 3 times, the force parameter is selected to be the 4 th level 2 times, and the force parameter is selected to be the 6 th level 7 times, so that the default operation parameter of the massage force can be determined to be the 6 th level; if the temperature parameter selects the middle-grade temperature for 4 times and selects the low-grade temperature for 8 times, the default operation parameter of the massage temperature can be determined to be the low-grade temperature and the like. And the default operation parameters are determined by using the selection times of the state parameters of each operation state in the historical records, so that the determined default operation parameters are more accurate and fit with the requirements of users.
As another specific implementation manner, after obtaining the historical massage records according to the logged user information, the mobile terminal may obtain the massage mode that was selected last time according to the historical massage records, and use the massage mode that was selected last time as the recommended massage mode. Wherein, the massage mode selected last time may refer to a target massage mode selected from the massage records with the storage time shortest from the current time. Furthermore, the operation parameters of each operation state selected in the massage mode selected at the last time can be obtained according to the historical massage records, and the operation parameters of each operation state are determined to be the default operation parameters. The massage device is characterized in that the massage device comprises a massage device body, a control page is arranged on the massage device body, the massage device body is provided with a massage mode display screen, the massage mode display screen is arranged on the control page, and the massage mode display screen is used for displaying the massage mode and the operation parameter selected by the user.
It should be understood that the manners of obtaining the recommended massage mode and determining the default operation parameters of the recommended massage mode are not limited to the manners described in the above embodiments, and the manners described above may also be combined, for example, a massage mode selected last time may be used as the recommended massage mode, and then the default operation parameters of each operation state in the recommended massage mode may be determined according to the massage requirement of the user, which is not listed herein. The above-described examples are merely illustrative of the embodiments of the present application and are not intended to limit the embodiments of the present application.
And 614, when the control page of the massage equipment is entered, displaying a recommended massage mode containing default operation parameters on the control page.
The mobile terminal can display the acquired recommended massage modes in the control page, and can set the state parameters of each running state in the recommended massage modes as the determined default running parameters. The user can directly use the recommended massage mode and the default operation parameters displayed in the control page, so that the selection operation is simplified, and the user can select the massage mode again or adjust the operation parameters of each operation state in the recommended massage mode again.
And step 616, determining the selected target massage mode according to the triggered selection operation, and acquiring the running parameters selected in the target massage mode.
And step 618, generating a control instruction according to the operation parameters.
And step 620, sending a control instruction to the massage equipment connected with the mobile terminal, wherein the control instruction is used for instructing the massage equipment to control the massage component based on the operation parameters.
The descriptions of steps 616-620 can refer to the related descriptions in the above embodiments, and are not repeated herein.
In some embodiments, the user may collect a selected target massage mode and an operation parameter selected in the target massage mode, the mobile terminal obtains the triggered collection operation, may generate a custom mode according to the target massage mode and the selected operation parameter, and stores the generated custom mode, where the custom mode may include the target massage mode and the operation parameter selected by the user. Furthermore, the user can set the mode name of the user-defined mode, and the mobile terminal can acquire the input mode name and store the mode name corresponding to the generated user-defined mode. As an alternative embodiment, the mobile terminal may also assign a pattern identifier to the generated custom pattern, for example, assign a pattern number, or directly use the time of generating the custom pattern as the pattern identifier, and store the pattern identifier corresponding to the custom pattern, which is not limited herein.
The mobile terminal can generate a mode list according to one or more stored user-defined modes, and the mode list can comprise target massage modes and operation parameters corresponding to the one or more stored user-defined modes. After the mobile terminal is connected with the massage equipment, the user can access the mode list corresponding to the massage equipment.
As a specific embodiment, the generated pattern list may correspond to a device identification of the massage device. The mobile terminal may acquire a device identification of the connected massage device according to the Access operation, such as a device number, a device name, or a Media Access Control (MAC) address of the massage device, but is not limited thereto. The corresponding stored user-defined mode can be obtained according to the equipment identification, and the user-defined modes corresponding to different equipment identifications can be different. The mobile terminal can generate a mode list corresponding to the equipment identifier according to the user-defined mode corresponding to the equipment identifier, and can enter a collection page containing the mode list to display each stored user-defined mode in the mode list. The user can directly select any one of the user-defined modes in the mode list, and the mobile terminal can generate a control instruction according to the operation parameters contained in the selected user-defined mode and send the control instruction to the massage equipment so as to control the massage equipment to operate according to the selected user-defined mode.
FIG. 7a is an interface diagram of a mode list in one embodiment. As shown in fig. 7a, each user-defined mode collected by the user can be displayed in the mode list corresponding to the cervical vertebra massager with the product model number of X409, and the user-defined mode may include a target massage mode and operation parameters selected by the user, for example, the first mode collected by the user, the target massage mode is a relaxation mode, the heating gear is low, the force gear is 10 gears, and the time gear is 15 minutes. The user can directly select from the mode list, the mobile terminal can determine the selected user-defined mode according to the selection operation, acquire the target massage mode and the operation parameters contained in the selected user-defined mode, and can generate a control instruction according to the operation parameters, so that the operation of the massage equipment is controlled by using the control instruction. By storing the selected target massage mode and the operation parameters as the user-defined mode, the stored user-defined mode can be directly selected in the follow-up process, the massage mode and the operation parameters do not need to be selected again when the massage equipment is connected every time, the operation is simplified, and the operation efficiency of controlling the massage equipment can be further improved.
In some embodiments, the mobile terminal may also record the operation of the user using the massage device each time, may store device information of the massage device connected each time, and data of the selected target massage mode, the operation parameters, and the like, and generate a history massage record. After the mobile terminal is connected with the massage equipment, the user can access the historical massage record corresponding to the massage equipment. As a specific implementation manner, the mobile terminal may obtain an equipment identifier of the connected massage equipment, and search for a corresponding historical massage record according to the equipment identifier, so as to display the searched historical massage record.
The user can select a target massage mode and operation parameters contained in any historical massage record, and the mobile terminal can generate a control instruction according to the operation parameters in the selected historical massage record and send the control instruction to the massage equipment so as to control the massage equipment to operate according to the operation parameters of the selected historical massage record. By recording the operation of using the massage equipment every time and generating the historical massage records, the user can directly access and select the historical massage records to control the massage equipment without reselecting the massage mode and the operation parameters when the massage equipment is connected every time, the operation is simplified, and the operation efficiency of controlling the massage equipment can be further improved.
Fig. 7b is a schematic interface diagram of a history massage record in one embodiment. As shown in fig. 7b, the historical footprint corresponding to the cervical vertebra massager with the product model number X409 may include the historical massage records using the cervical vertebra massager, and the historical massage records may include the selected target massage mode and the operation parameters. Alternatively, the historical massage records may be arranged in the order of the storage time of the massage records from near to far, for example, the massage record arranged at the first in fig. 7b is the massage record closest to the current time, and the massage record arranged at the third is the massage record farthest from the current time. The history of the massage records may also include the storage time of the massage records, and is not limited to the content shown in fig. 7 b.
It should be understood that fig. 7a and 7b are only used to illustrate a specific application interface in the embodiment of the present application, and are not limited to the embodiment of the present application, and the mode list and the historical massage records may be displayed in other manners, which are not limited herein.
In some embodiments, after the user selects the customized mode or the historical massage record, the massage mode and the operation parameters included in the customized mode or the historical massage record may be adjusted again, that is, after the user selects the customized mode or the historical massage record, the mobile terminal may perform the steps 616 to 620.
Step 622, collecting the using information of the used massage device, wherein the using information at least comprises the device information of the massage device, the selected target massage mode and the operation parameters.
Step 624, uploading the usage information to the server for the server to analyze the selected target massage mode and the operation parameters of the same device information.
In some embodiments, when the massage apparatus finishes the massage service provided this time, an end instruction may be generated and sent to the mobile terminal. The end command may be used to indicate that the present control of the massage device has been completed. After receiving the ending instruction, the mobile terminal may acquire the use information of the massage device used this time, where the use information may include a target massage mode selected by the user when the user uses the massage device this time and an operation parameter selected in the target massage mode, and may also include device information of the massage device used this time. The mobile terminal can upload the collected use information to the server. The server can receive the use information sent by one or more mobile terminals and analyze the use information of the same equipment.
Alternatively, the server may store the use information corresponding to the same device information collectively, for example, the use information corresponding to the same product model may be stored collectively, or the like. The target massage modes and the operation parameters contained in the uniformly stored use information can be analyzed to obtain required analysis data, for example, the preference degree of the users of the massage equipment with various product models to various massage modes can be counted, and the preference degree of the users to the operation parameter selection of various operation states under the same massage mode can also be counted. The interests and needs of the user can be analyzed, so that the set massage mode and/or default operating parameters and the like can be adjusted.
In some embodiments, the mobile terminal may also collect user information and upload the user information to the server along with the usage information. The server can analyze big data of the user information and the use information, and analyze the use habits of using the massage equipment aiming at different crowds, for example, the habits of selecting massage modes of different age groups can be analyzed, the habits of selecting massage strength of users with different professions can be analyzed, the time length of using the massage equipment by different crowds can be analyzed, and the like, but the method is not limited to this. The server is used for analyzing the use information collected by the mobile terminal, and data support can be provided for subsequent product and market adjustment, so that the massage equipment and the mode for controlling the massage equipment are more intelligent.
In the embodiment of the application, the massage equipment is controlled through the mobile terminal, so that the mode of controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately. In addition, a recommended massage mode can be obtained according to the user information, and the default operation parameters in the recommended massage mode are determined, so that the requirements of the user are met, and the intelligence of controlling the massage equipment is improved.
As shown in fig. 8, in one embodiment, another method of controlling a massage apparatus is provided, which is applicable to the massage apparatus described above, and which may include the steps of:
and 810, receiving a control instruction sent by the mobile terminal connected with the massage equipment, wherein the control instruction is generated by the mobile terminal according to the operation parameters selected in the target massage mode, and the target massage mode is the massage mode selected by the triggered selection operation.
In some embodiments, a communication connection may be established with the mobile terminal before the massage device receives the control instruction. The massage equipment can open the wireless communication module and receive the wireless connection request sent by the mobile terminal through the wireless communication module. Alternatively, the wireless connection request may be generated according to a detected connection operation for the massage device after the mobile terminal searches for the massage device, or may be generated when the mobile terminal determines that the massage device is a history massage device after the mobile terminal searches for the massage device. The massage device may establish a connection with the mobile terminal based on the received wireless connection request.
And step 820, controlling the running state of the massage component according to the control instruction so as to enable the running state of the massage component to be matched with the running parameters.
In some embodiments, the operating parameter may include a force parameter and the massage component of the massage device may include an electrode pad. The massage equipment receives the control instruction, and can analyze the control instruction to obtain the force parameter. The massage equipment can generate an electric signal matched with the force parameter according to the force parameter and output the electric signal through the electrode plate.
In some embodiments, the operating parameter may include a temperature parameter and the massage component of the massage device may include a heating element. The massage equipment receives the control instruction, can analyze the control instruction to obtain the temperature parameter, and adjusts the temperature of the heating element according to the temperature parameter. Alternatively, the massage device may control the energization state of the heating element according to the temperature parameter, control the heating element to be in the non-energized state when it is detected that the temperature of the heating element matches the temperature parameter, and control the heating element to be in the energized state when it is detected that the temperature of the heating element does not match the temperature parameter.
In some embodiments, the control instruction may be generated by the mobile terminal according to a target massage mode selected in a control page of the massage device and an operating parameter selected in the target massage mode. Optionally, the recommended massage mode may be obtained by the mobile terminal according to logged user information, and the default operating parameter of the at least one operating state is in a parameter range corresponding to the operating state in the recommended massage mode.
In one embodiment, the recommended massage mode may be selected by the mobile terminal from one or more preset massage modes based on a user massage requirement, wherein the user massage requirement may be obtained by the mobile terminal according to the logged user information. The default operating parameter of the at least one operating state corresponding to the recommended massage mode may be an operating parameter determined by the mobile terminal according to the user massage requirement within a parameter range corresponding to the at least one operating state in the recommended massage mode. When the recommended massage mode is selected, the default operation parameters are adjusted according to the massage requirements of the same user, so that the recommended operation parameters can better meet the real requirements of the user, and the massage effect of the massage equipment is improved.
In one embodiment, the recommended massage mode may be a massage mode selected the most number of times from among historical massage records stored in the mobile terminal corresponding to the logged-in user information. The recommended massage mode is determined according to the selection times of the massage modes in the historical massage records, so that the selected recommended massage mode can be more accurate.
In one embodiment, the recommended massage mode may be a massage mode that was selected most recently among the history massage records stored in the mobile terminal corresponding to the logged-in user information. The default operating parameter for the at least one operating state may be an operating parameter for the at least one operating state selected in the most recently selected massage mode. The massage device is characterized in that the massage device comprises a massage device body, a control page is arranged on the massage device body, the massage device body is provided with a massage mode display screen, the massage mode display screen is arranged on the control page, and the massage mode display screen is used for displaying the massage mode and the operation parameter selected by the user.
In some embodiments, the target massage mode and the selected operation parameters may be used to generate a customized mode and stored in the mobile terminal, and the mode list generated by the mobile terminal may include one or more target massage modes and operation parameters corresponding to the stored customized mode. By storing the selected target massage mode and the operation parameters as the user-defined mode, the stored user-defined mode can be directly selected in the follow-up process, the massage mode and the operation parameters do not need to be selected again when the massage equipment is connected every time, the operation is simplified, and the operation efficiency of controlling the massage equipment can be further improved.
In one embodiment, the massage device may obtain a state parameter corresponding to a current operation state of the massage component, send the state parameter to the mobile terminal, where the state parameter is used to instruct the mobile terminal to adjust the selected operation parameter, and regenerate the control instruction according to the adjusted operation parameter. The massage device can receive the regenerated control instruction sent by the mobile terminal and adjust the running state of the massage component according to the regenerated control instruction so as to enable the running state of the massage component to be matched with the adjusted running parameters. The operation parameters are adjusted according to the state parameters of the massage equipment, so that the operation state of the massage component can be ensured to be in a stable expected state, and the control on the massage equipment is realized more intelligently.
In some embodiments, when the massage device finishes the massage service provided this time, the massage device may send a finishing instruction to the mobile terminal, where the finishing instruction may be used to instruct the mobile terminal to collect the usage information of the massage device used this time. The mobile terminal can upload the use information to the server so that the server can analyze the selected target massage mode and the operation parameters of the same equipment information. The server is used for analyzing the use information collected by the mobile terminal, and data support can be provided for subsequent product and market adjustment, so that the massage equipment and the mode for controlling the massage equipment are more intelligent.
For the description of the method for controlling a massage device applied to a massage device provided in the embodiments of the present application, reference may be made to the related description of the method for controlling a massage device applied to a mobile terminal provided in the above embodiments, and details are not repeated here.
In the embodiment of the application, the massage device can receive a control instruction sent by the mobile terminal, the mobile terminal determines a selected target massage mode according to a triggered selection operation, obtains an operation parameter selected in the target massage mode, generates the control instruction according to the operation parameter, and the massage device can receive the control instruction sent by the mobile terminal and control the operation state of the massage component according to the control instruction so as to enable the operation state of the massage component to be matched with the operation parameter. The massage equipment is controlled through the mobile terminal, so that the mode for controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
As shown in fig. 9, in one embodiment, an apparatus 900 for controlling a massage device is provided, and the apparatus 900 for controlling a massage device is applicable to the mobile terminal described above. The apparatus 900 for controlling a massage device may include a selection module 910, an instruction generation module 920, and a transmission module 930.
And the selection module is used for determining the selected target massage mode according to the triggered selection operation and acquiring the selected running parameters in the target massage mode.
And the instruction generating module is used for generating a control instruction according to the operation parameters.
And the sending module is used for sending a control instruction to the massage equipment connected with the mobile terminal, and the control instruction is used for instructing the massage equipment to control the massage component based on the operation parameters.
In one embodiment, the operating parameter comprises a force parameter and the massage component of the massage device comprises an electrode pad. The control instruction is also used for indicating the massage equipment to generate an electric signal matched with the force parameter according to the force parameter and outputting the electric signal through the electrode plate. And/or
The operating parameter comprises a temperature parameter and the massage component of the massage device comprises a heating element. The control instructions are further configured to instruct the massage device to control the heating element to be in an energized state when the temperature of the heating element is detected to match the temperature parameter, and to be in an energized state when the temperature of the heating element is detected to not match the temperature parameter.
In the embodiment of the application, the mobile terminal determines the selected target massage mode according to the triggered selection operation, acquires the operation parameters selected in the target massage mode, generates the control instruction according to the operation parameters, and sends the control instruction to the massage equipment connected with the mobile terminal, wherein the control instruction is used for instructing the massage equipment to control the massage component based on the selected operation parameters, the control of the massage equipment is realized through the mobile terminal, the mode of controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
In one embodiment, the apparatus 900 for controlling a massage device includes a searching module, a device list generating module, a detecting module, a connecting module, a receiving module, and an adjusting module in addition to the selecting module 910, the instruction generating module 920, and the sending module 930.
And the searching module is used for searching the massage equipment within the preset range through the wireless communication module.
And the equipment list generating module is used for generating an equipment list based on the searched massage equipment, wherein the equipment list comprises the searched equipment information of at least one massage equipment.
And the detection module is used for detecting the connection operation aiming at the equipment list and acquiring the equipment information corresponding to the connection operation.
And the connection module is used for establishing communication connection with the massage equipment matched with the corresponding equipment information based on the equipment information corresponding to the connection operation.
In one embodiment, the connection module is further configured to establish a communication connection with the searched massage device when the searched massage device is a history massage device.
And the receiving module is used for receiving the state parameters returned by the massage equipment, and the state parameters are used for representing the current running state of the massage component of the massage equipment.
And the adjusting module is used for adjusting the selected operating parameters according to the state parameters.
The instruction generating module 920 is further configured to regenerate the control instruction according to the adjusted operating parameter.
The sending module 930 is further configured to send the regenerated control instruction to the massage apparatus, where the regenerated control instruction is used to instruct the massage apparatus to control the massage component based on the adjusted operating parameter.
In the embodiment of the application, the mobile terminal can search the massage equipment within the preset range, generate the equipment list and be connected with the massage equipment according to the detected connection operation, so that the connected massage equipment is controlled, the mode for controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
In one embodiment, the apparatus 900 for controlling a massage device includes a recommended mode obtaining module, a default parameter determining module, a display module, a user-defined module, a mode list generating module, a collecting module, and an uploading module, in addition to the selecting module 910, the instruction generating module 920, the sending module 930, the searching module, the device list generating module, the detecting module, the connecting module, the receiving module, and the adjusting module.
And the recommended mode acquisition module is used for acquiring a recommended massage mode according to the logged user information, wherein the recommended massage mode comprises at least one parameter range of the running state of the massage equipment.
And the default parameter determining module is used for determining default operating parameters of at least one operating state in a corresponding parameter range.
In one embodiment, the recommendation mode acquisition module includes a requirement acquisition unit and a selection unit.
The demand acquisition unit is used for acquiring a user massage demand according to the logged user information;
the selection unit is used for selecting a recommended massage mode from one or more preset massage modes based on the massage requirements of the user.
And the default parameter determining module is also used for adjusting the default operating parameters of at least one operating state according to the massage requirements of the user in the parameter range corresponding to at least one operating state in the recommended massage mode.
In one embodiment, the recommended mode obtaining module is further configured to obtain a historical massage record according to the logged user information, count the selection times of each massage mode in the historical massage record, and determine the massage mode with the largest selection time as the recommended massage mode.
In one embodiment, the recommended mode acquiring module is further configured to acquire a massage mode selected last time according to the historical massage records, and use the massage mode selected last time as the recommended massage mode.
And the default parameter determining module is also used for acquiring the operating parameter of at least one operating state selected in the massage mode selected at the last time according to the historical massage record and determining the operating parameter of at least one selected operating state as the default operating parameter.
And the display module is used for displaying a recommended massage mode containing default operation parameters on a control page when the massage equipment enters the control page.
And the custom module is used for generating a custom mode according to the target massage mode and the selected operation parameters and storing the custom mode.
And the mode list generating module is used for generating a mode list according to one or more stored user-defined modes, and the mode list comprises target massage modes and operation parameters corresponding to the one or more user-defined modes.
The acquisition module is used for acquiring the use information of the massage equipment, and the use information at least comprises the equipment information of the massage equipment, the selected target massage mode and the selected operation parameters.
And the uploading module is used for uploading the use information to the server so that the server can analyze the selected target massage mode and the operation parameters of the same equipment information.
In the embodiment of the application, the massage equipment is controlled through the mobile terminal, so that the mode of controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately. In addition, a recommended massage mode can be obtained according to the user information, and the default operation parameters in the recommended massage mode are determined, so that the requirements of the user are met, and the intelligence of controlling the massage equipment is improved.
As shown in fig. 10, in one embodiment, another apparatus 1000 for controlling a massage device is provided, and the apparatus 1000 for controlling a massage device is applicable to the massage device described above. The apparatus for controlling a massage device may include a command receiving module 1010 and a control module 1020.
The instruction receiving module 1010 is configured to receive a control instruction sent by a mobile terminal connected to the massage device, where the control instruction is generated by the mobile terminal according to an operation parameter selected in a target massage mode, and the target massage mode is a massage mode selected by a triggered selection operation.
And the control module 1020 is used for controlling the operation state of the massage component according to the control instruction so as to enable the operation state of the massage component to be matched with the operation parameters.
In one embodiment, the operating parameter comprises a force parameter and the massage component of the massage device comprises an electrode pad.
The control module 1020 is further configured to generate an electrical signal matched with the strength parameter according to the strength parameter, and output the electrical signal through the electrode plate. And/or
The operating parameter comprises a temperature parameter and the massage component of the massage device comprises a heating element.
The control module 1020 is further configured to control the energization state of the heating element according to the temperature parameter, control the heating element to be in the non-energization state when it is detected that the temperature of the heating element matches the temperature parameter, and control the heating element to be in the energization state when it is detected that the temperature of the heating element does not match the temperature parameter.
In one embodiment, the apparatus 1000 for controlling a massage device further comprises a connection module.
The connection module comprises an opening unit, a receiving unit and a connection unit.
And the opening unit is used for opening the wireless communication module.
The massage equipment comprises a receiving unit, a wireless communication module and a processing unit, wherein the receiving unit is used for receiving a wireless connection request sent by the mobile terminal through the wireless communication module, the wireless connection request is generated according to detected connection operation aiming at the massage equipment after the massage equipment is searched by the mobile terminal, or the wireless connection request is generated when the massage equipment is determined to be historical massage equipment after the massage equipment is searched by the mobile terminal;
and the connection unit is used for establishing communication connection with the mobile terminal according to the wireless connection request.
In one embodiment, the control instruction is generated by the mobile terminal according to a target massage mode selected in a control page of the massage device and the selected operation parameters in the target massage mode. The control page of the massage equipment comprises a recommended massage mode and at least one default operation parameter of the running state of the massage equipment in the recommended massage mode, the recommended massage mode is obtained by the mobile terminal according to logged user information, and the at least one default operation parameter of the running state is in a parameter range corresponding to the running state in the recommended massage mode.
In one embodiment, the recommended massage mode is that the mobile terminal selects from one or more preset massage modes based on user massage requirements, and the user massage requirements are obtained by the mobile terminal according to logged user information; and the default operation parameter of the at least one operation state is an operation parameter determined by the mobile terminal according to the massage requirement of the user in the parameter range corresponding to the at least one operation state in the recommended massage mode.
In one embodiment, the recommended massage mode is a massage mode with the largest selection number in the history massage records stored in the mobile terminal and corresponding to the logged-in user information.
In one embodiment, the recommended massage mode is a massage mode selected most recently from historical massage records stored by the mobile terminal and corresponding to the logged-in user information; the default operating parameter of at least one operating state is the operating parameter of at least one operating state selected in the massage mode selected last time.
In one embodiment, the target massage mode and the selected operation parameters are used for generating a user-defined mode and are stored in the mobile terminal, and a mode list generated by the mobile terminal comprises one or more target massage modes and operation parameters corresponding to the stored user-defined mode.
In one embodiment, the apparatus 1000 for controlling a massage device further includes an obtaining module and a sending module.
And the acquisition module is used for acquiring the state parameters corresponding to the current running state of the massage component.
And the sending module is used for sending the state parameters to the mobile terminal, wherein the state parameters are used for indicating the mobile terminal to adjust the selected operation parameters, and regenerating the control instruction according to the adjusted operation parameters.
The instruction receiving module 1010 is further configured to receive the regenerated control instruction sent by the mobile terminal.
The control module 1020 is further configured to adjust the operation state of the massage component according to the regenerated control instruction, so that the operation state of the massage component matches the adjusted operation parameter.
In an embodiment, the sending module is further configured to send an end instruction to the mobile terminal when the massage device ends the massage service provided this time, where the end instruction is used to instruct the mobile terminal to collect the use information of the massage device used this time, and the use information at least includes device information of the massage device, a selected target massage mode and an operation parameter, and then upload the use information to the server, so that the server analyzes the selected target massage mode and the operation parameter of the same device information.
In the embodiment of the application, the massage device can receive a control instruction sent by the mobile terminal, the mobile terminal determines a selected target massage mode according to a triggered selection operation, obtains an operation parameter selected in the target massage mode, generates the control instruction according to the operation parameter, and the massage device can receive the control instruction sent by the mobile terminal and control the operation state of the massage component according to the control instruction so as to enable the operation state of the massage component to be matched with the operation parameter. The massage equipment is controlled through the mobile terminal, so that the mode for controlling the massage equipment can be simplified, and the operation efficiency is improved. In addition, the mobile terminal can be used for selecting the operation parameters in the massage mode, so that the operation state of the massage component in the massage equipment can be controlled more accurately.
Fig. 11 is a block diagram of a mobile terminal in one embodiment. As shown in fig. 11, mobile terminal 1100 may include one or more of the following components: a processor 1110, a memory 1120 coupled with the processor 1110, and a wireless communication module 1130 coupled with the processor 1110. The memory 1120 may store one or more applications, which may be configured to be executed by the one or more processors 1110, wherein the one or more applications are configured to perform the method of controlling a massage apparatus applicable to a mobile terminal as described in the embodiments above.
Processor 1110 may include one or more processing cores. Processor 1110 interfaces with various portions of the overall mobile terminal 1100 using various interfaces and circuitry to perform various functions of the mobile terminal 1100 and process data by executing or performing instructions, programs, code sets, or instruction sets stored in memory 1120 and invoking data stored in memory 1120. Alternatively, the processor 1110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1110 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be appreciated that the modem can be implemented by a single communication chip without being integrated into the processor 1110.
The Memory 1120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 1120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by mobile terminal 1100 during use, and the like.
The wireless communication module 1130 may provide a solution for wireless communication applied to the mobile terminal 1100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The mobile terminal 1100 can establish a communication connection with the massage apparatus through the wireless communication module 1130, thereby implementing data transmission with the massage apparatus.
It is understood that the mobile terminal 1100 may include more or less structural elements than those shown in the above-described structural block diagrams, for example, a power source, an input button, a camera, a speaker, a screen, a Radio Frequency (RF) circuit, a sensor, etc., which are not limited herein.
Fig. 12 is a block diagram showing the structure of a massage apparatus in one embodiment. As shown in fig. 12, the massage device 1200 may include one or more of the following components: a processor 1210, a memory 1220 coupled with the processor 1210, a wireless communication module 1230, and a massage component 1240. The memory 1220 may store one or more applications, which may be configured to be executed by the one or more processors 1210, wherein the one or more applications are configured to perform a method of controlling a massage device that may be applied to the massage device as described in the embodiments above.
The wireless communication module 1230 may provide a solution for wireless communication including wireless lan, bluetooth, etc. applied to the massage apparatus 1200. The massage device 1200 can establish a communication connection with the mobile terminal through the wireless communication module 1230, so as to realize data transmission with the mobile terminal.
The massage components 1240 may include components such as electrode pads and heating elements, and each component of the massage components 1240 may operate according to instructions transmitted by the processor 1210 and act on the skin, joints, etc. of the user to generate a massage effect.
It is understood that the massage apparatus 1200 may include more or less structural elements than those shown in the above structural block diagrams, for example, a power source, a speaker, an input button, etc., which are not limited herein.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to realize the method described in the embodiments.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The method and apparatus for controlling a massage device, the mobile terminal, the massage device, and the storage medium disclosed in the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present application. Meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.