Detailed Description
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 schematically shows a structural diagram of a massage mode control system provided in an embodiment of the present application. As shown in fig. 1, the massagemode control system 10 may include:massage device 110,electronic device 120, andserver 130. Wherein:
themassage device 110 may be an electrical stimulation device, for example, a massage device such as a neck massage device, a waist massage device, or an eye massage device, or may be a therapeutic electronic device that performs therapy using electrodes, or the like. In particular, themassage device 110 may comprise an electrode set which may be applied to a body part of the user, such as the skin, joints, etc. of the user, to provide a massage service. The number of the electrode groups may be one or more, and preferably, the number of the electrode groups may include at least two, and the electrode groups are symmetrically disposed on themassage device 110, so that a body feeling similar to that of a massage using both hands can be generated when the electrode groups are turned on. Possibly, themassage device 110 may also comprise a speaker, or an audio interface. The speaker may be used to play audio signals such as voice prompts or music. The audio interface can be used for connecting an external earphone, and a user can listen to music and the like through the external earphone while enjoying massage. In the embodiment of the present application, themassage apparatus 110 may include a plurality of massage modes. Themassage devices 110 corresponding to different massage modes output different massage signals. Specifically, different massage modes may correspond to different electrode combinations, different signal frequencies, different signal intensities, and the like.
Theelectronic device 120 may perform short-range Communication with themassage device 110, such as but not limited to bluetooth, Wireless-Fidelity (Wi-Fi), Near Field Communication (NFC), ZigBee, and other Communication methods. Theelectronic device 120 may be installed with application software (APP) for controlling the massage device 110 (hereinafter, control APP), such as but not limited to future wearing APP. As shown in fig. 1, theelectronic device 120 may establish a connection with themassage device 110 via bluetooth for data transmission. Specifically, the user may control themassage apparatus 110 through a control APP installed on theelectronic apparatus 120. Such as, but not limited to, turning themassage device 110 on or off, switching massage modes of themassage device 110, controlling themassage device 110 to play or pause music, etc. The electronic device related in the embodiment of the present application may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, and the like.
Theserver 130 may be a server corresponding to the control APP, and is configured to manage a user account, user information, and the like of the control APP. Theserver 130 may establish a network connection with theelectronic device 120. The network connection may be through a cellular network connection, or a wireless connection. In this embodiment, theserver 130 may obtain the user data from theelectronic device 120, and recommend the massage mode for the user according to the user data. Specifically, theserver 130 may input the user data into the detection model, thereby obtaining a massage pattern corresponding to the user data. The detection model may be trained from a large number of user data of known massage patterns. The user data may specifically be user music data. Specifically, the user music data may include at least one of: history music play records, music collection records, music being played. In the embodiment of the present application, the user music data may be simply referred to as music data.
Next, several massage mode control methods provided by the embodiments of the present application will be described with reference to the massage mode control system shown in fig. 1. The massage mode control method provided by the application mainly has three methods. In particular, the division may be made by determining the execution subject of the target massage pattern. The execution subject for determining the massage mode can be specifically divided into: electronic equipment, server and massage equipment. The three massage mode control methods are described below.
The first embodiment is as follows: a target massage pattern is determined by the electronic device.
Fig. 2 is a schematic flow chart illustrating a massage mode control method provided by an embodiment of the present application. As shown in fig. 2, the massage mode control method at least includes the following steps:
s201: the electronic device obtains user data.
Specifically, the user data may specifically be user music data. The user music data may include at least one of: history music play records, music collection records, music being played, etc.
Possibly, the history music play record may be a history music play record in third party music software. The music collection record may be a music collection record in third party music software. The music being played may be music being played in third party music software.
The third-party music software may be, for example, but not limited to, QQ music, cool dog music, internet music, and the like. The third-party music software can open an interface for controlling the APP, namely the APP is controlled to have the right to acquire historical music playing records, music collection records, music being played and the like in the third-party music software.
Possibly, a music playing function may be included in the control APP. The history music play record may be a record of the user playing music by controlling the APP. The music collection record may be a record of the user collecting music by controlling the APP. The music being played may be the music being played by the user through the control APP.
Fig. 3 illustrates a user interface diagram of an electronic device. As shown in fig. 3, the third party music software may be music in theuser interface 30 and the control APP may be future wear in theuser interface 30. The user can play music by clicking amusic icon 301, and the user can control the work of the massage equipment by clicking anicon 302 of the future wearing APP.
Fig. 4 illustrates an interface diagram of a history music play record and a music collection record. As shown in a in fig. 4, the history music play record is a music record of "most recently played" of the user. As shown in b in fig. 4, the music collection record is the music record of "my collection" of the user.
S202: the electronic device determines a target massage pattern from the plurality of massage patterns according to the user data.
If the user data is user music data, the corresponding target massage pattern may be matched according to the style of the user music data, and specifically, for example, if it is determined that the ratio of classical music is high according to the historical music play records of the user, the user may prefer a quiet or calm massage pattern, and the user may prefer a gentle massage pattern. For another example, if the percentage of rock music is determined to be high based on the user's music collection history, the user may prefer a hot or boldly nature, and the user may prefer to output a more intense massage pattern, such as a tapping pattern.
Specifically, the user data may be input into a preset model, and a target massage pattern corresponding to the user data may be determined. The preset model can be obtained by training a large amount of user data of known target massage modes, and comprises the association relation data between the massage modes and the user data. The user data for the large number of known target massage patterns may be gathered from different users. The model obtained through training of a large amount of user data has high accuracy of the recommended target massage mode.
It should be understood that the correspondence between the user data and the preference or the personality characteristic of the user is merely an exemplary illustration, and other correspondences may also be used in the specific implementation, which is not limited in the embodiment of the present application. The correspondence between the user preferences or the personality characteristics and the target massage mode is also only an exemplary description, and in a specific implementation, other correspondences may be provided, which is not limited in the embodiment of the present application.
Specifically, the above-mentioned target massage pattern may be one selected from a massage pattern library. Wherein, the massage mode library can comprise a plurality of massage modes. The massage signals output by the massage devices corresponding to different massage modes are different. Specifically, different massage modes may correspond to different electrode combinations, different signal frequencies, different signal intensities, and the like.
Possibly, the target massage pattern may be a customized massage pattern generated from the user data. That is, the target massage pattern may not belong to any one of the massage pattern libraries. The electronic equipment can customize the massage mode according to the user data by the user, so that the recommended massage mode is suitable for each user, and the accuracy of the recommended massage mode is improved.
S203: the electronic device sends the target massage pattern to the massage device.
Specifically, the electronic device may establish a data connection with the massage device via short-range wireless communication (e.g., without limitation, bluetooth). The electronic device may send the target massage pattern to the massage device via bluetooth.
S204: the massage apparatus outputs a massage signal in the above-described target massage mode.
Possibly, massage signals corresponding to the respective massage modes may be stored in the massage device. The electronic device may transmit identification information of the target massage pattern to the massage device. The massage device can search the massage signal corresponding to the identification information.
Possibly, the electronic device may directly output a control signal corresponding to the target recommended mode. The massage device can control the electrode plates to output corresponding massage signals according to the control signals.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved.
In some possible embodiments, before sending the target massage mode to the massage device, the electronic device may also push the target massage mode to the user by controlling the APP, and send the target massage mode to the massage device after receiving a confirmation instruction of the user on the target massage mode. Therefore, the user can independently select whether to experience the recommended mode, the user requirement is more met, and the user experience is improved.
In some possible embodiments, before obtaining the user data, it may be determined whether the user has a need to recommend a massage mode. After determining that the user has a need to recommend the massage mode, the method flow in the embodiment of fig. 2 is executed, so that excessive interference caused by actively recommending the massage mode for the user can be prevented.
Specifically, if the massage apparatus is in the music massage mode, receiving an instruction for instructing to stop outputting the massage signal, it can be determined that the user is less satisfied with the current massage mode. The electronic device may then obtain user data in response to the instruction for instructing to stop outputting the massage signal, and execute the method flow in the embodiment of fig. 2.
Wherein, under the music massage mode, massage equipment can be according to the audio frequency characteristic output massage signal of the music of acquireing. Specifically, the massage device may connect to the electronic device via bluetooth and decode music played by the electronic device. The massage device can decode the rhythm of music played by the Electronic device, and convert the rhythm into TENS (Transcutaneous electric Nerve Stimulation) or EMS (Electronic Muscle stimulator) pulse signals to perform rhythmic massage. It can be appreciated that different songs may correspond to different massage tempos, respectively.
Possibly, the above-mentioned instruction to pause the music massage mode may be input by the user based on a key on the massage device. The massage device can send the instruction to the electronic device through the Bluetooth.
Possibly, the above-mentioned instruction to pause the music massage mode may be input by the user based on a user interface in the control APP on the electronic device.
In some possible embodiments, the user data may be music being played. After the user switches music, the electronic equipment can recommend the target massage mode again according to the switched music, so that the user requirements can be known in time, the proper massage mode can be dynamically recommended for the user, and the user experience is improved.
Specifically, after S204, the method further includes: receiving an instruction for switching music; responding to the instruction, acquiring the switched music data, and judging whether the target massage mode needs to be switched according to the switched music data; and if the target massage mode needs to be switched, sending the switched target massage mode to the massage equipment.
Fig. 5 is a schematic diagram illustrating a user interface for switching music according to an embodiment of the present application. As shown in fig. 5, themusic playing interface 50 may include apause control 501, a playnext control 502, and a playprevious control 503. The above-mentioned instruction for switching music may be that the user clicks thecontrol 502 or 503. As shown in a of fig. 5, when the currently played music is "dreamitpassable", the corresponding target massage mode is the massage mode a. When the user switches the music to the next "boy", the corresponding target massage mode is the massage mode B.
It can be known that when one piece of music is played and then automatically switched to the next piece of music, it can also be regarded as an instruction for switching music.
Not limited to the above-mentioned instruction for switching music being input by clicking thecontrol 502 or thecontrol 503, in a specific implementation, the user may also input the instruction for switching music by pressing a key on the massage device, or the user may press a mechanical key on the electronic device to input the instruction for switching music, or the user may press a key on an earphone externally connected to the electronic device to input the instruction for switching music. After the massage device detects the instruction, the massage device can send the instruction to the electronic device through the bluetooth, which is not limited in the embodiment of the present application.
Further, after the target massage mode is judged to need to be switched, the user can be prompted whether the switching is needed or not. And if the fact that the user needs to switch the massage mode is determined, the switched target recommendation mode is sent to the massage equipment. Therefore, the massage mode can be switched according to the will of the user, and the user experience is improved.
Specifically, if it is determined that the target massage mode needs to be switched according to the switched music data, the electronic device may display a first prompt message; the first prompt message is used for prompting whether the user needs to switch the massage mode. Receiving a command for switching a massage mode input by a user; and responding to the instruction for switching the massage modes, and sending the switched target massage mode to the massage equipment.
Fig. 6 is a schematic view showing an interface for switching the target massage mode. As shown in fig. 6, theuser interface 60 of the massage device control APP may include at least: apattern library control 601, apattern list 602, a pattern detailsarea 603, apause control 604, and afavorites control 605. Wherein: thepattern library control 601 may be used to see what massage patterns supported by the massage device are specifically included. Thepattern list 602 may be used to see what specific massage patterns the user has used. Icons of the massage modes can be further included in themode list 602, and each icon can be used for receiving a click operation of a user to implement a function of switching the massage modes. Themode detail area 603 may be used to show parameters of the massage mode currently being used, such as information on remaining time, degree of heat application, force, etc. In addition, the mode detailsarea 603 can also be used to adjust the degree and intensity of heat application, etc.Stowage setting control 605 may be used to stow or cancel stowage of the current massage mode.
When it is determined that the target massage mode needs to be switched according to the currently played music, the electronic device may display a prompt box 606 (i.e., a first prompt message) in the currently displayed interface.Prompt box 606 may includecontrols 6061 and 6062. Thecontrol 6061 may be configured to receive an instruction to switch the massage mode, and thecontrol 6062 may be configured to receive an instruction to refuse to switch the massage mode. It should be noted that, theprompt box 606 is not limited to be displayed in theuser interface 60, and in a specific implementation, theprompt box 606 may be displayed in any user interface displayed by the electronic device when music is switched. For example, if the user inputs an instruction to switch music by clicking thecontrol 502 shown in a in fig. 5, aprompt box 606 may be displayed in theuser interface 50. The embodiments of the present application do not limit this.
It is to be appreciated that, not limited to the above-listedcontrols 6061 and 6062, other controls may be included in a specific implementation for receiving a user input instruction to temporarily not experience a switched massage mode.
In some possible embodiments, after the electronic device sends the target massage pattern to the massage device, feedback information of the user on the target massage pattern may be acquired, and the target event may be executed according to the feedback information.
Specifically, the feedback information may include positive feedback information and negative feedback information. The forward feedback information may be used to indicate that the user is satisfied with the recommended target massage pattern. Negative feedback information may be used to indicate that the user is dissatisfied with the recommended target massage pattern.
Possibly, the feedback information is forward feedback information. The target event includes adding a target massage pattern to a preset list. The preset list may be, for example, a mode favorites list.
Wherein the forward feedback information is at least one of: the time length of the user experiencing the target massage mode exceeds a preset threshold value, the user adds a preset label to the target massage mode, and the user issues forward evaluation aiming at the target massage mode. The preset threshold may be, but is not limited to, 10 minutes. The preset tags may be, for example, "i like," "my favorite," etc. The forward rating may be a rating that contains a first category word. In the embodiment of the present application, the positive evaluation may be referred to as positive evaluation or positive evaluation. The first category of words may be, for example, but not limited to, words such as "good", "like", "comfortable", "not wrong", and the like.
FIG. 7 illustrates auser interface 70 for presenting favorites provided by an embodiment of the present application. As shown in FIG. 7, the favorites list may include one or more favorite massage patterns. If the duration of user experience mode A exceeds a preset threshold, mode A may be added to the favorites list. If the user adds a preset tag for mode F, mode F may be added to the favorites list. If the user has experienced pattern X and has published an evaluation for pattern X that includes words of the first category, pattern X may be added to the favorites list. In fact, for the electronic device, the favorite mode a is to add a specific tag to the mode a.
Possibly, the feedback information is negative feedback information. The target event includes deleting the target massage pattern.
Wherein the negative feedback information is at least one of the following: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of a preset list, and the user carries out negative evaluation aiming at the target massage mode. Wherein the negative rating may be a rating comprising a second category of words. In the embodiment of the present application, negative evaluation may also be referred to as negative evaluation or negative evaluation. The second category of words may be, for example, but not limited to, words such as "bad", "uncomfortable", "painful", etc.
Fig. 8 is a schematic view illustrating a user interface for deleting a target massage pattern according to an embodiment of the present application. As shown in fig. 8, the initial my massage mode list is a, and if the user inputs a negative rating for mode B, mode B may be removed from the my massage mode list, as shown in B of fig. 8.
Further, when the electronic device receives negative feedback information of a user, the target event further includes updating the preset model according to the feedback information. The preset model is continuously updated according to the feedback information of the user, so that the precision of the model can be continuously improved, and the accuracy of the massage mode recommendation is improved.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
Example two: the target massage pattern is determined by the server.
Fig. 9 is a schematic flow chart illustrating another massage mode control method provided in the embodiment of the present application. As shown in fig. 9, the massage mode control method may include at least the following steps:
s901: the electronic device obtains user data.
Specifically, S901 is identical to S201, and is not described herein again.
S902: the electronic device sends the user data to the server.
Specifically, the electronic device may transmit the user data to the server through mobile data or a wireless network.
S903: the server determines a target massage pattern from the plurality of massage patterns according to the user data.
Specifically, the process of determining the target massage pattern by the server may refer to the process of determining the target massage pattern by the electronic device in S202, and will not be described herein again.
S904: the server sends the target massage to the electronic device.
S905: the electronic device sends the target massage pattern to the massage device.
Specifically, S905 is identical to S203, and is not described herein again.
S906: the massage apparatus outputs a massage signal in the above-described target massage mode.
Specifically, S906 is identical to S204, and is not described herein again.
The difference between the embodiment of the present application and the first embodiment is that an execution subject for determining the target massage mode is a server, rather than an electronic device, and compared with the first embodiment, the embodiment of the present application transfers the above process to the server, so that the processing pressure of the electronic device can be reduced, the server can store more data, the training of the model can be more accurate, and further, the recommended target massage mode can be more accurate.
Example three: a target massage pattern is determined by the massage device.
Fig. 10 is a schematic flow chart illustrating another massage mode control method provided in the embodiment of the present application. As shown in fig. 10, the massage mode control method may include at least the following steps:
s1001: the electronic device obtains user data.
Specifically, S1001 is identical to S201, and is not described here.
S1002: the electronic device sends the user data to the massage device.
Specifically, the electronic device may transmit the user data to the massage device through a short-range wireless communication manner such as bluetooth.
S1003: the massage apparatus determines a target massage pattern from among a plurality of massage patterns based on the user data.
Specifically, the process of determining the target massage pattern by the massage device may refer to the process of determining the target massage pattern by the electronic device in S202, and will not be described herein again.
S1004: the massage apparatus outputs a massage signal in the above-described target massage mode.
Specifically, S1004 is identical to S204, and is not described herein again.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved.
Next, a specific massage mode control method provided in the embodiment of the present application will be described with reference to fig. 11. As shown in fig. 11, the massage mode control method may include at least the following steps:
s1101: the massage device outputs a massage signal in a music massage mode.
Specifically, in the music massage mode, the massage apparatus may output a massage signal according to the acquired audio characteristics of the music. Specifically, the massage device may connect to the electronic device via bluetooth and decode music played by the electronic device. The massage device can decode the rhythm of music played by the electronic device and convert the music into TENS/EMS pulse signals to perform rhythmic massage. It can be appreciated that different songs may correspond to different massage tempos, respectively.
S1102: judging whether an instruction indicating to stop outputting the massage signal is received; if so, go to S1103, otherwise, go to S1102.
Possibly, the user may interrupt the music massage mode based on a key on the massage device. The massage device can send the instruction to the electronic device through the Bluetooth. I.e., an instruction to stop outputting the massage signal may be detected by a key on the massage apparatus.
Possibly, the user may interrupt the music massage mode based on a user interface in a control APP installed in the electronic device. I.e. the instruction to stop outputting the massage signal, can be detected by a corresponding control in a user interface of the control APP installed in the electronic device.
S1103: and acquiring the information of the music playing record or the music currently playing.
Specifically, the music playing record is the history music playing record mentioned in S201 in the foregoing embodiment of fig. 2. The currently playing music is the currently playing music mentioned in S201 in the foregoing embodiment of fig. 2
S1104: and analyzing the music playing record or the music playing record to determine a target massage mode.
Specifically, the possible preference/character characteristics of the user may be determined according to the music playing record or on-air music, and then the target massage mode may be determined according to the possible preference/character characteristics of the user.
The target massage mode can be any one massage mode in a massage mode library. The massage pattern library may be stored in a server, and include a plurality of massage patterns. The target massage pattern may also be a custom generated massage pattern according to the user's possible preferences/personality characteristics.
Specifically, the process of determining the possible preference/character characteristics of the user according to the music playing record or on playing music may refer to the related description in S202 in the embodiment of fig. 2, and will not be described herein again. The specific process of determining the target massage mode according to the possible preference/character characteristics of the user, or automatically generating the customized massage mode according to the possible preference/character characteristics of the user may refer to the related description in S202 of the embodiment in fig. 2, and will not be described herein again.
S1105: judging whether an instruction for confirming an experience target massage mode is received or not; if so, S1106 is performed, and if not, S1107 is performed.
Specifically, the process of determining whether the instruction of confirming the massage mode recommended by the experience target is received may refer to the related description about theprompt box 606 in fig. 6, and details are not repeated here.
S1106: and outputting massage signals according to the target massage mode, and storing the target massage mode.
Specifically, the massage device may output the massage signal according to the target massage mode, which may specifically refer to the related description in S204 of the embodiment in fig. 2, and will not be described herein again. After the user experiences the target massage pattern, the massage apparatus may include the target massage pattern, and specifically, the target massage pattern may be added to the list of my massage patterns shown in fig. 8.
S1107: the target massage pattern is deleted.
Possibly, after the electronic device or the server determines the target massage mode, if the electronic device does not store the target massage mode, the electronic device may obtain a massage signal corresponding to the target massage mode from the server. If the user chooses not to experience the target massage mode, the electronic device may delete the target massage mode, and specifically delete the massage signal corresponding to the target massage mode.
S1108: and obtaining user evaluation.
Specifically, the user may input an evaluation for the target massage pattern. The evaluation may be a positive evaluation or a negative evaluation.
S1109: judging whether positive evaluation is carried out; if yes, S1110 is executed, and if no, S1107 is executed.
In particular, the positive rating may be a rating that contains a first category word. The first category of words may be, for example, but not limited to, words such as "good", "like", "comfortable", "not wrong", and the like.
In particular, the negative rating may be a rating that contains a second category of words. The second category of words may be, for example, but not limited to, words such as "bad", "uncomfortable", "painful", etc.
S1110: and collecting the target massage mode.
Specifically, if the positive evaluation of the user for the target massage mode input indicates that the user has a high degree of satisfaction with the target massage mode, the target massage mode may be collected so that the user may continue to experience the mode the next time.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented.
Fig. 12 is a schematic structural diagram of another massage mode control system according to an embodiment of the present application. As shown in fig. 12, the massagemode control system 120 may include an electronic device 1210 and a massage device 1220. Wherein, the massage device 1220 may include: a music playing module 1221, a pulsevoltage generating module 1222, an electrical stimulation device 1223 and anelectrode plate 1224. Wherein:
the electronic device 1210 can establish a data connection with the massage device 1220 via short-range communication (e.g., bluetooth). Specifically, the music playing module 1221 may receive a music signal sent by the electronic device 1210 and play music. Possibly, the music playing module 1221 may include a bluetooth chip, a power amplifier and a speaker. The bluetooth chip may specifically adopt a torch core bluetooth chip, and is configured to establish a connection with the electronic device 1210 and receive audio data. The power amplifier is used for outputting audio data output by the Bluetooth device to the loudspeaker. The speaker is used for playing out audio.
The electronic device 1210 may also send a control signal to the pulsevoltage generation module 1222 to cause the pulsevoltage generation module 1222 to generate a pulse voltage according to the control signal. The pulse voltage generated by the pulsevoltage generation module 1222 is transmitted to the electrical stimulation device 1223 so that the electrical stimulation device 1223 outputs the pulse voltage through theelectrode pad 1224. Theelectrode sheet 1224 may contact the human body to achieve a massage effect.
Fig. 13 schematically shows a structural diagram of an electronic device provided in an embodiment of the present application. As shown in fig. 13, theelectronic device 130 may include at least: a first obtainingmodule 1310, a first determiningmodule 1320, and afirst sending module 1330. Wherein:
a first obtainingmodule 1310 for obtaining user data;
a first determiningmodule 1320 for determining a target massage mode from a plurality of massage modes according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
afirst sending module 1330 configured to send the target massage pattern to the massage apparatus, so that the massage apparatus outputs a massage signal in the target massage pattern.
In some possible embodiments, theelectronic device 130 further includes: and a pushing module. Wherein:
the pushing module is specifically configured to push the target massage pattern to the user before thefirst sending module 1330 sends the target massage pattern to the user.
Thefirst sending module 1330 is specifically configured to send the target massage mode to the massage device if receiving a confirmation instruction of the user on the target massage mode.
In some possible embodiments, theelectronic device 130 further includes: and executing the module. Wherein:
a first obtainingmodule 1310, configured to obtain feedback information of the user on the target massage mode;
and the execution module is used for executing the target event according to the feedback information.
In some possible embodiments, the feedback information is forward feedback information; the target event comprises adding the target massage mode to a preset list;
the forward feedback information is at least one of: the time length of the user experiencing the target massage mode exceeds a preset threshold value, the user adds a preset label to the target massage mode, and the user issues forward evaluation aiming at the target massage mode.
In some possible embodiments, the feedback information is negative feedback information; the target event comprises deleting the target massage pattern;
the negative feedback information is at least one of the following: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of a preset list, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, the first determiningmodule 1320 is specifically configured to: inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; the preset model is obtained by training user data of a plurality of known target massage modes;
theelectronic device 130 further includes an updating module, specifically configured to update the preset model according to the feedback information.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, the first determiningmodule 1320 is specifically configured to determine a style of the music data, and determine a target massage pattern matching the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, the user data is music being played;
theelectronic device 130 further includes: the receiving module is used for receiving an instruction for switching music;
the judging module is used for responding to the instruction, acquiring the switched music data and judging whether the target massage mode needs to be switched according to the switched music data;
thefirst sending module 1330 is further configured to send the switched target massage mode to the massage device if the determining module determines that the target massage mode needs to be switched.
In some possible embodiments, thefirst sending module 1330 specifically includes: display element, receiving element and transmitting element. Wherein:
the display unit is specifically configured to: if the target massage mode needs to be switched, displaying first prompt information; the first prompt message is used for prompting the user whether to switch the massage mode;
the receiving unit is specifically configured to: receiving a command for switching a massage mode input by the user;
the sending unit is specifically configured to: and responding to the instruction for switching the massage mode, and sending the switched target massage mode to the massage equipment.
In some possible embodiments, the receiving module is further configured to: receiving an instruction for instructing to stop outputting the massage signal in the music massage mode; in the music massage mode, the massage equipment outputs massage signals according to the acquired audio characteristics of the music;
the first obtainingmodule 1310 is specifically configured to: in response to the instruction, user data is obtained.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
It should be noted that, when the electronic device provided in the foregoing embodiment executes the massage mode control method provided in the first embodiment of the present application, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the electronic device may be divided into different functional modules to complete all or part of the functions described above. In addition, the electronic device provided in the above embodiment and the massage mode control method embodiment provided in the first embodiment of the present application belong to the same concept, and details of implementation processes thereof are referred to in the method embodiment, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Fig. 14 schematically illustrates a structural diagram of a server provided in an embodiment of the present application. As shown in fig. 14, theserver 140 may include at least: a receivingmodule 1410, a second determiningmodule 1420, and asecond sending module 1430. Wherein:
areceiving module 1410, configured to receive user data sent by an electronic device;
a second determiningmodule 1420 for determining a target massage pattern from the plurality of massage patterns according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
asecond sending module 1430, configured to send the target massage mode to the electronic device, so that the electronic device will control the massage device to output a massage signal in the target massage mode.
In some possible embodiments, the second determiningmodule 1420 is specifically configured to: inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; the preset model is obtained by training user data of a plurality of known target massage modes;
thereceiving module 1410 is further configured to: receiving negative feedback information of the user on the target massage mode, which is sent by the electronic equipment;
theserver 140 further includes an updating module, configured to update the preset model according to the negative feedback information; wherein the negative feedback information is at least one of: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of the preset list, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, the second determiningmodule 1420 is specifically configured to: and determining the style of the music data, and determining a target massage pattern matched with the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, the user data is music being played;
thereceiving module 1410 is further configured to: receiving the switched music data sent by the electronic equipment;
the second determiningmodule 1420 is specifically configured to: determining whether the target massage mode needs to be switched or not from a plurality of massage modes according to the switched music data;
thesecond sending module 1430 is specifically configured to: and if the target massage mode needs to be switched, sending the switched target massage mode to the electronic equipment, so that the electronic equipment sends the switched target massage mode to massage equipment, and the massage equipment outputs massage signals in the switched target massage mode.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
It should be noted that, when the server provided in the foregoing embodiment executes the massage mode control method provided in the second embodiment of the present application, only the division of the functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the server provided in the above embodiment and the massage mode control method embodiment provided in the second embodiment of the present application belong to the same concept, and details of implementation processes thereof are referred to in the method embodiment, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Fig. 15 is a schematic structural diagram schematically illustrating a massage apparatus provided in an embodiment of the present application. As shown in fig. 15, themassage apparatus 150 may include at least: asecond acquisition module 1510, athird determination module 1520, and anoutput module 1530. Wherein:
a second obtainingmodule 1510, configured to obtain user data from the electronic device;
a third determiningmodule 1520 for determining a target massage pattern from the plurality of massage patterns according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
anoutput module 1530 for outputting the massage signal in the target massage mode.
In some possible embodiments, the third determiningmodule 1520 is specifically configured to: inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; wherein the preset model is trained from user data of a plurality of known target massage patterns.
In some possible embodiments, the second obtainingmodule 1510 is further configured to: acquiring negative feedback information of the user on the target massage mode;
themassage device 150 further comprises an updating module, configured to update the preset model according to the negative feedback information; wherein the negative feedback information is at least one of: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of the preset list, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, the third determiningmodule 1520 is specifically configured to: and determining the style of the music data, and determining a target massage pattern matched with the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, themassage device 150 further comprises: the receiving module is used for receiving an instruction for indicating to stop outputting the massage signal in the music massage mode; in the music massage mode, the massage equipment outputs massage signals according to the acquired audio characteristics of the music;
the second obtainingmodule 1510 is specifically configured to: in response to the instruction, user data is obtained.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
It should be noted that, when the massage apparatus provided in the third embodiment of the present application executes the massage mode control method provided in the third embodiment of the present application, the division of the functional modules is merely used as an example, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the functions described above. In addition, the massage device provided by the above embodiment and the massage mode control method embodiment provided by the third embodiment of the present application belong to the same concept, and details of implementation processes are shown in the method embodiments, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 16, theelectronic device 160 may include: at least oneprocessor 1601, at least onenetwork interface 1604, auser interface 1603,memory 1605, at least onecommunication bus 1602.
Wherein acommunication bus 1602 is used to enable connective communication between these components.
Where theuser interface 1603 may include a Display screen (Display), theoptional user interface 1603 may also include a standard wired interface, a wireless interface.
Thenetwork interface 1604 may optionally comprise a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1601 may include one or more processing cores, among other things. Theprocessor 1601 interfaces with various components throughout theelectronic device 160 using various interfaces and lines to perform various functions of theelectronic device 160 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in thememory 1605 and invoking data stored in thememory 1605. Optionally, theprocessor 1601 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Theprocessor 1601 may integrate one or more 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 the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into theprocessor 1601, but may be implemented by a single chip.
TheMemory 1605 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, thememory 1605 includes a non-transitory computer-readable storage medium. Thememory 1605 may be used to store instructions, programs, code sets, or instruction sets. Thememory 1605 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 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 store data and the like referred to in the above respective method embodiments. Thememory 1605 may alternatively be at least one memory device located remotely from theprocessor 1601 as previously described. As shown in fig. 16, amemory 1605, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a massage mode control application program.
In theelectronic device 160 shown in fig. 16, theuser interface 1603 is mainly used to provide an input interface for a user to obtain data input by the user; and theprocessor 1601 may be configured to invoke the massage mode control application stored in thememory 1605 and specifically perform the following operations:
acquiring user data;
determining a target massage pattern from a plurality of massage patterns according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
sending the target massage mode to the massage device so as to enable the massage device to output massage signals in the target massage mode.
In some possible embodiments, before theprocessor 1601 sends the target massage pattern to the massage apparatus, the following steps are further performed: pushing the target massage mode to the user;
and if a confirmation instruction of the user on the target massage mode is received, executing the target massage mode and sending the target massage mode to the massage equipment.
In some possible embodiments, after theprocessor 1601 sends the target massage pattern to the massage apparatus, the processor is further configured to:
acquiring feedback information of a user on the target massage mode;
and executing the target event according to the feedback information.
In some possible embodiments, the feedback information is forward feedback information; the target event comprises adding the target massage mode to a preset list;
the forward feedback information is at least one of: the time length of the user experiencing the target massage mode exceeds a preset threshold value, the user adds a preset label to the target massage mode, and the user issues forward evaluation aiming at the target massage mode.
In some possible embodiments, the feedback information is forward feedback information; the target event comprises adding the target massage mode to a preset list;
the forward feedback information is at least one of: the time length of the user experiencing the target massage mode exceeds a preset threshold value, the user adds a preset label to the target massage mode, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, theprocessor 1601, when determining the target massage pattern according to the user data, specifically performs:
inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; the preset model is obtained by training user data of a plurality of known target massage modes;
theprocessor 1601 is further configured to, after the obtaining of the feedback information of the user on the target massage mode: and updating the preset model according to the feedback information.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, theprocessor 1601 is specifically configured to perform, when determining the target massage pattern from the plurality of massage patterns based on the user data: and determining the style of the music data, and determining a target massage pattern matched with the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, the user data is music being played;
after theprocessor 1601 sends the target massage pattern to the massage apparatus, the processor is further configured to:
receiving an instruction for switching music;
responding to the instruction, acquiring the switched music data, and judging whether the target massage mode needs to be switched according to the switched music data;
and if the target massage mode needs to be switched, sending the switched target massage mode to the massage equipment.
In some possible embodiments, theprocessor 1601 is configured to execute, if the target massage mode needs to be switched, sending the switched target massage mode to the massage device, and specifically execute:
if the target massage mode needs to be switched, displaying first prompt information; the first prompt message is used for prompting the user whether to switch the massage mode;
receiving a command for switching a massage mode input by the user;
and responding to the instruction for switching the massage mode, and sending the switched target massage mode to the massage equipment.
In some possible embodiments, theprocessor 1601 is further configured to, before performing the obtaining of the user data:
receiving an instruction for instructing to stop outputting the massage signal in the music massage mode; in the music massage mode, the massage equipment outputs massage signals according to the acquired audio characteristics of the music;
when theprocessor 1601 executes to acquire user data, it specifically executes: in response to the instruction, user data is obtained.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
Please refer to fig. 17, which provides a schematic structural diagram of a server according to an embodiment of the present application. As shown in fig. 17, theserver 170 may include: at least oneprocessor 1701, at least onenetwork interface 1703,memory 1704, and at least onecommunication bus 1702.
Thecommunication bus 1702 is used to enable, among other things, connectivity communication between these components.
Thenetwork interface 1703 may optionally include a standard wired interface or a wireless interface (e.g., WI-FI interface).
Theprocessor 1701 may include one or more processing cores, among others. Theprocessor 1701 connects various parts throughout theserver 170 using various interfaces and lines, and executes various functions of theserver 170 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in thememory 1704 and calling data stored in thememory 1704. Alternatively, theprocessor 1701 may be implemented in at least one hardware form of DSP, FPGA, or PLA. Theprocessor 1701 may integrate one or a combination of a CPU, a 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 the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a single chip without being integrated into theprocessor 1701.
Memory 1704 may include RAM or ROM. Optionally, thememory 1704 includes a non-transitory computer-readable medium. Thememory 1704 may be used to store instructions, programs, code, sets of codes, or sets of instructions. Thememory 1704 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for 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 store data and the like referred to in the above respective method embodiments. Thememory 1704 may optionally be at least one memory device located remotely from theprocessor 1701. As shown in fig. 17, thememory 1704, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a massage mode control application program.
In theserver 170 shown in fig. 17, theprocessor 1701 may be configured to invoke a massage pattern control application stored in thememory 1704 and specifically perform the following operations:
receiving user data sent by electronic equipment;
determining a target massage pattern from a plurality of massage patterns according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
sending the target massage mode to the electronic equipment, so that the electronic equipment controls the massage equipment to output massage signals in the target massage mode.
In some possible embodiments, theprocessor 1701, when determining a target massage pattern from a plurality of massage patterns based on the user data, specifically performs:
inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; the preset model is obtained by training user data of a plurality of known target massage modes;
after theprocessor 1701 sends the target massage pattern to the electronic device, theprocessor 1701 is further configured to:
receiving negative feedback information of the user on the target massage mode, which is sent by the electronic equipment;
updating the preset model according to the negative feedback information; wherein the negative feedback information is at least one of: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of the preset list, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, theprocessor 1701, when determining a target massage pattern from a plurality of massage patterns based on the user data, specifically performs: and determining the style of the music data, and determining a target massage pattern matched with the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, the user data is music being played;
after theprocessor 1701 sends the target massage pattern to the electronic device, theprocessor 1701 is further configured to:
receiving the switched music data sent by the electronic equipment;
when theprocessor 1701 determines a target massage pattern from among a plurality of massage patterns according to the user data, it specifically executes: determining whether the target massage mode needs to be switched or not from a plurality of massage modes according to the switched music data;
theprocessor 1701 sends the target massage pattern to the electronic device, so that the electronic device sends the target massage pattern to a massage device, and when the massage device outputs a massage signal in the target massage pattern, theprocessor 1701 specifically executes:
and if the target massage mode needs to be switched, sending the switched target massage mode to the electronic equipment, so that the electronic equipment sends the switched target massage mode to massage equipment, and the massage equipment outputs massage signals in the switched target massage mode.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
Please refer to fig. 18, which provides a schematic structural diagram of a massage apparatus according to an embodiment of the present application. As shown in fig. 18, themassage apparatus 180 may include: at least oneprocessor 1801, at least one nearfield communication module 1804, auser interface 1803,memory 1805, and at least onecommunication bus 1802.
Acommunication bus 1802 is used to enable, among other things, connectivity communication between these components.
Theuser interface 1803 may include keys, and theoptional user interface 1803 may also include a standard wired interface or a wireless interface.
The nearfield communication module 1804 can optionally include a bluetooth module, an NFC module, a Wi-Fi module, and the like.
Theprocessor 1801 may include one or more processing cores, among others. Theprocessor 1801 interfaces with various interfaces and circuitry throughout the various portions of themassage device 180 to perform various functions of themassage device 180 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in thememory 1805, as well as invoking data stored in thememory 1805. Optionally, theprocessor 1801 may be implemented in at least one hardware form of a DSP, an FPGA, and a PLA. Theprocessor 1801 may integrate one or a combination of a CPU, a 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 the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into theprocessor 1801, but may be implemented by a single chip.
Thememory 1805 may include a RAM and a ROM. Optionally, thememory 1805 includes a non-transitory computer-readable medium. Thememory 1805 may be used to store instructions, programs, code sets, or instruction sets. Thememory 1805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for 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 store data and the like referred to in the above respective method embodiments. Thememory 1805 may optionally be at least one storage device located remotely from theprocessor 1801. As shown in fig. 18, thememory 1805, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a massage mode control application program.
In themassage apparatus 180 shown in fig. 18, theuser interface 1803 is mainly used as an interface for providing input to the user, and acquiring data input by the user; theprocessor 1801 may be configured to call the massage mode control application stored in thememory 1805, and specifically perform the following operations:
obtaining user data from an electronic device;
determining a target massage pattern from a plurality of massage patterns according to the user data; massage signals output by massage equipment corresponding to different massage modes are different;
and outputting massage signals in the target massage mode.
In some possible embodiments, when theprocessor 1801 determines the target massage mode from the plurality of massage modes according to the user data, the following steps are specifically performed:
inputting the user data into a preset model, and determining a target massage mode corresponding to the user data; wherein the preset model is trained from user data of a plurality of known target massage patterns.
In some possible embodiments, after determining the target massage pattern from the plurality of massage patterns according to the user data, theprocessor 1801 is further configured to perform:
acquiring negative feedback information of the user on the target massage mode;
updating the preset model according to the negative feedback information; wherein the negative feedback information is at least one of: the time length of the user experiencing the target massage mode does not exceed a preset threshold value, the user moves the target massage mode out of the preset list, and the user issues negative evaluation aiming at the target massage mode.
In some possible embodiments, the user data comprises music data, the music data comprising at least one of: history music play records, music collection records, music being played.
In some possible embodiments, when theprocessor 1801 determines the target massage mode from the plurality of massage modes according to the user data, the following steps are specifically performed: and determining the style of the music data, and determining a target massage pattern matched with the style of the music data from a plurality of massage patterns according to the style of the music data.
In some possible embodiments, theprocessor 1801 is further configured to perform, before acquiring the user data:
receiving an instruction for instructing to stop outputting the massage signal in the music massage mode; in the music massage mode, the massage equipment outputs massage signals according to the acquired audio characteristics of the music;
when theprocessor 1801 acquires user data, it specifically executes: in response to the instruction, user data is obtained.
According to the massage device and the massage method, the target massage mode can be determined by combining the user data, so that the massage device outputs the corresponding massage signals, the proper massage mode can be recommended for each user individually, the massage signals output by the massage device meet different requirements of different users, the recommendation accuracy of the massage mode is improved, and the user experience is improved. In addition, before the user data is acquired, whether the user has the requirement of recommending the massage mode can be judged. After the fact that the user has the requirement of recommending the massage mode is determined, the massage mode is recommended to the user, and therefore excessive interference caused to the user due to the fact that the massage mode is actively recommended to the user can be prevented. In addition, the embodiment of the application can also know the user requirements in time according to the music switched by the user, dynamically recommend a proper massage mode for the user, and improve the user experience.
Embodiments of the present application also provide a computer-readable storage medium, which stores instructions that, when executed on a computer or a processor, cause the computer or the processor to perform one or more of the steps in the embodiment shown in fig. 2. The respective constituent modules of the electronic device described above may be stored in the computer-readable storage medium if they are implemented in the form of software functional units and sold or used as independent products.
Embodiments of the present application also provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or a processor, cause the computer or the processor to perform one or more of the steps in the embodiment shown in fig. 9 described above. The respective constituent modules of the above-described server, if implemented in the form of software functional units and sold or used as independent products, may be stored in the computer-readable storage medium.
Embodiments of the present application also provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or processor, cause the computer or processor to perform one or more of the steps in the embodiment shown in fig. 10 described above. The respective constituent modules of the above-described massage apparatus, if implemented in the form of software functional units and sold or used as independent products, may be stored in the computer-readable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
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 computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks. The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
The above-described embodiments are merely preferred embodiments of the present application, and are not intended to limit the scope of the present application, and various modifications and improvements made to the technical solutions of the present application by those skilled in the art without departing from the design spirit of the present application should fall within the protection scope defined by the claims of the present application.