Music control method, device and equipment for massage equipment and storage medium

By obtaining user parameters to generate personalized massage music and performing frequency and amplitude processing, the problem of the single combination of music and massage in existing massage equipment is solved, personalized matching of massage equipment and music is achieved, and the user experience is improved.

CN120748348AInactive Publication Date: 2025-10-03浙江荣泰健康电器有限公司
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202511221566.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-29
Publication Date
2025-10-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When using existing massage equipment, the combination of music and massage is too simple and cannot be personalized according to the user's specific parameters, resulting in insufficient user experience.

Method used

By obtaining user parameters, the preset large language model is used to generate initial massage music, and the preset algorithm is used to process the frequency and amplitude to generate the target massage music to drive the massage vibrator for massage, ensuring the matching of music and massage.

Benefits of technology

The matching degree between the generated initial massage music and the user parameters is improved, and the matching degree between the vibration of the massage vibrator and the target massage music is enhanced, thereby improving the user's massage experience and pleasure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120748348A_ABST
    Figure CN120748348A_ABST
Patent Text Reader

Abstract

The invention provides a music control method and device of massage equipment, the massage equipment and a storage medium, and relates to the technical field of equipment control, and the method comprises the following steps: obtaining user parameters of a current massage object, the user parameters comprise at least one of a user input text parameter, a user emotion parameter, a user pressure parameter, a current environment parameter and a preset mode parameter; according to the user parameters and a preset large language model, initial massage music is generated, and the initial massage music is audio of a target frequency band matched with the user parameters; performing frequency and amplitude processing on the initial massage music by adopting a preset algorithm to obtain target massage music; and driving the massage vibrator to massage according to the target massage music. The diversity of the generated music and the matching degree of the music and the massage equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device control technology, and in particular to a music control method, apparatus, device and storage medium for massage equipment. Background Art

[0002] As the pace of modern life continues to accelerate, problems such as work stress, social anxiety, and prolonged sitting are becoming increasingly prominent, and people's physical and mental health are facing unprecedented challenges. Music relaxation and massage therapy are gradually becoming important means for urban people to relieve physical and mental fatigue and release internal stress.

[0003] Currently, with many massage devices, users can activate the device, select the massage mode and intensity according to their personal preferences, and the device will start working immediately. At the same time, the built-in sound system automatically plays soothing background music, such as natural white noise or light music, to create an immersive and relaxing atmosphere.

[0004] However, during use, traditional massage devices can only play built-in music or music selected by users based on Bluetooth functions, so the combination of massage devices and music is too simple. Summary of the Invention

[0005] The purpose of this application is to address the deficiencies in the above-mentioned prior art and provide a music control method, device, equipment and storage medium for a massage device, so as to improve the diversity of generated music and the matching degree between music and massage devices.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows: In a first aspect, an embodiment of the present application provides a music control method for a massage device, the method comprising: Acquire user parameters of the current massage object, wherein the user parameters include at least one of the following: a user input text parameter, a user emotion parameter, a user pressure parameter, a current environment parameter, and a preset mode parameter; generating initial massage music according to the user parameters and a preset large language model, wherein the initial massage music is audio of a target frequency band matching the user parameters; Using a preset algorithm, frequency and amplitude processing is performed on the initial massage music to obtain target massage music; The massage vibrator is driven to perform massage according to the target massage music.

[0007] Optionally, the preset large language model is obtained by training using a user sample data set and a sample music set, wherein the user sample data set includes multiple groups of user sample parameters, each group of user sample parameters includes at least one of the following: user input text parameters, user emotion parameters, user stress parameters, current environment parameters, preset mode parameters, and each group of user sample parameters is associated with one or more sample music in the sample music set.

[0008] Optionally, generating initial massage music according to the user parameters and a preset large language model includes: According to the user parameters and the preset large language model, audio within a target frequency band with a preset duration matching the user parameters is written.

[0009] Optionally, the using of a preset algorithm to perform frequency and amplitude processing on the initial massage music to obtain target massage music includes: Based on a preset frequency band range, waveform processing is performed on the initial massage music to obtain filtered massage music; The filtered massage music is amplitude compressed according to a preset threshold to obtain the target massage music.

[0010] Optionally, driving a massage vibrator to perform massage according to the target massage music includes: obtaining a target music beat according to the target massage music; The massage vibrator is driven according to the massage frequency corresponding to the target music beat.

[0011] Optionally, driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: Determining the massage frequency corresponding to the target music beat according to the mapping relationship between the target music beat and the preset beat frequency; The massage vibrator is controlled based on the massage frequency by a preset proportional-differential-integral algorithm.

[0012] Optionally, the massage device is provided with a plurality of groups of massage vibrators, each group of massage vibrators being used to massage a corresponding body area; The step of driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: During the playing of the target massage music, the current corresponding target body area is determined according to the massage frequency corresponding to the current target music beat; According to the massage frequency corresponding to the target music beat, the massage vibrator corresponding to the target body area is driven to perform massage.

[0013] In a second aspect, another embodiment of the present application provides a music control device for a massage device, the device comprising: An acquisition module is used to acquire user parameters of the current massage object, wherein the user parameters include at least one of the following: a user input text parameter, a user emotion parameter, a user pressure parameter, a current environment parameter, and a preset mode parameter; a generation module, configured to generate initial massage music according to the user parameters and a preset large language model, wherein the initial massage music is audio of a target frequency band matching the user parameters; a processing module, configured to process the frequency and amplitude of the initial massage music using a preset algorithm to obtain target massage music; The driving module is used to drive the massage vibrator to perform massage according to the target massage music.

[0014] In the third aspect, another embodiment of the present application provides a massage device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the massage device is running, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to perform the steps of the music control method for the massage device as described in any of the first aspects above.

[0015] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the music control method for a massage device as described in any one of the first aspects above are executed.

[0016] The beneficial effects of this application are: The present application provides a music control method, apparatus, device, and storage medium for a massage device. The method obtains user parameters of the current massage subject and generates initial massage music based on the user parameters and a preset large language model. This method ensures that the generated initial massage music matches the user parameters, improving the matching degree between the initial massage music and the current user parameters, avoiding the problem of overly uniform music built into the massage device, and increasing the diversity of the generated initial massage music. A preset algorithm is then used to process the frequency and amplitude of the initial massage music to obtain target massage music. The massage vibrator is then driven to perform massage based on the target massage music, ensuring that the vibration of the massage vibrator matches the target massage music, thereby enhancing the user's massage experience and pleasure. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A schematic diagram of the structure of a music control method for a massage device provided in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart for determining target massage music in a music control method for a massage device provided in an embodiment of the present application; Figure 3 A schematic diagram of the process of driving a massage vibrator in a music control method of a massage device provided in an embodiment of the present application; Figure 4 A schematic diagram of the process of driving a massage vibrator in another music control method for a massage device provided in an embodiment of the present application; Figure 5 A schematic structural diagram of a music control device for a massage device provided in an embodiment of the present application; Figure 6 A schematic structural diagram of a massage device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0019] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0020] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0021] At present, massage devices usually play music during use. However, the massage devices can only play built-in music or music selected by the user based on Bluetooth functions, so the combination of massage devices and music is too simple. To this end, the present application provides a music control method for a massage device, which obtains user parameters of a massage object, generates initial massage music based on the user parameters and a preset large language model, uses a preset algorithm to process the frequency and amplitude of the initial massage music, obtains target massage music, and drives the massage vibrator to perform massage according to the target massage music. The present application generates initial massage music based on the user parameters of the current massage object, improves the matching degree between the generated initial massage music and the user parameters, and the diversity of the music, and at the same time drives the massage vibrator based on the target massage music, improves the matching degree between the vibration of the massage vibrator and the target massage music, and enhances the massage experience of the user.

[0022] Among them, the massage device in the embodiment of the present application can be a wearable massage device, a portable massage device, a massage chair, a massage bed, etc. The embodiment of the present application does not limit this.

[0023] The following describes a music control method for a massage device provided by an embodiment of the present application with reference to a plurality of drawings. Figure 1 This is a structural diagram of a music control method for a massage device provided in an embodiment of the present application, such as Figure 1 As shown, the method includes: Step 101: Obtain user parameters of the current massage object.

[0024] Specifically, user parameters can be obtained after the user triggers a massage operation. For example, in a massage chair, user parameters can be obtained after the user lies down in the massage chair and starts the massage. User parameters include at least one of the following: user input text parameters, user emotion parameters, user stress parameters, current environment parameters, and preset mode parameters.

[0025] The text parameters input by the user can be text obtained through voice recognition or manually entered by the user. They can include massage intensity, massage time, massage environment, massage area, etc. For example, the input text can be "Please help me massage my waist with a stronger force, focusing on my waist." This embodiment of the present application is not limited to this. The user's emotional parameters can be obtained by capturing the user's facial information through a preset camera on the massage device and recognizing the user's facial information to obtain the user's emotional parameters. The emotional parameters can be joy, calmness, anxiety, pain, etc., or can be obtained by analyzing vital signs such as heart rate collected by the massage device. This embodiment of the present application is not limited to this. The user's stress parameters can be determined based on the user's heart rate using a preset heart rate sensor on the massage device. The current environmental parameters can be collected by an environmental sensor on the massage device or by synchronizing data via a network. The environmental parameters can be daytime, nighttime, rainy, cloudy, sunny, etc. This embodiment of the present application is not limited to this. The preset mode parameters can be determined by the user's selection. The preset mode can be a local massage, such as a waist massage, neck massage, or full body massage. This embodiment of the present application is not limited to this.

[0026] Optionally, user parameters of the current massage object are obtained, wherein user emotion parameters, user stress parameters, and current environmental parameters can be automatically obtained through a preset camera, heart rate sensor, and environmental sensor on the massage device, and user input text parameters and preset mode parameters can be input through the current massage object.

[0027] Step 102: Generate initial massage music based on user parameters and a preset large language model.

[0028] The initial massage music is audio of a target frequency band that matches the user parameters.

[0029] Optionally, in one implementation, user parameters are input into a preset large language model, corresponding prompt words are generated based on the large language model, and a preset music generation platform is called to generate initial massage music based on the prompt words and the preset music generation platform. The preset music generation platform can be a music generation platform such as an artificial intelligence composition platform or an automatic music arrangement system, and this embodiment of the application does not limit this.

[0030] Optionally, the preset large language model is obtained by training with a user sample data set and sample prompt words, wherein the sample prompt words can be extracted based on a large number of music samples, such as capturing keywords and attribute words of various music from a music platform. There is no specific restriction here, and the corresponding music generation platform can randomly generate some music clips based on the prompt words.

[0031] In another possible implementation, the preset large language model can directly generate initial massage music, which can be some music clips. The preset large language model is trained using a user sample data set and a sample music set, wherein the user sample data set includes multiple groups of user sample parameters, and each group of user sample parameters includes at least one of the following: user input text parameters, user emotion parameters, user stress parameters, current environment parameters, and preset mode parameters. Each group of user sample parameters is associated with one or more sample music in the sample music set. The sample music set can contain a large number of recorded music clips, which can be classified according to different user sample parameters. For example, different rhythms, beats, and styles correspond to different user sample parameters, which are not limited here.

[0032] For example, when the current environmental parameter input is a sunny day, the corresponding sample music is bright high-frequency overtones; when the current environmental parameter input is night and the preset massage parameter is sleep mode, the corresponding sample music is α wave music; when the preset massage parameter input is waist massage, the corresponding sample music is continuous sine wave music, etc. The embodiments of the present application do not limit this.

[0033] Step 103: Using a preset algorithm, perform frequency and amplitude processing on the initial massage music to obtain target massage music.

[0034] The preset algorithm may be a filtering algorithm or a compression algorithm.

[0035] Optionally, the music frequency and music amplitude in the initial massage music may have large jumps. If so, it may be impossible to accurately control the massage device based on the initial massage music. In this case, a preset algorithm is used to process the frequency and amplitude of the initial massage music to obtain the target massage music so that it can better cooperate with the massage device.

[0036] Step 104: driving the massage vibrator to perform massage according to the target massage music.

[0037] The massage vibrator is installed on the massage device and is used to perform the massage function of the massage device. The massage vibrators in different locations on the massage device are different, specifically designed to suit the muscle distribution, bone structure, and nerve distribution of different parts of the human body. For example, the vibrator on the shoulder can be designed as a large circle or oval, the vibrator on the waist can be designed as a long strip, and the vibrator on the arm can be smaller, etc.

[0038] Optionally, the massage vibrator is driven according to the target massage music so that the vibration of the massage vibrator matches the target massage music, thereby enabling the massage vibrator to perform a massage based on the target massage music. Specifically, the massage vibrator can be driven to perform a massage based on the frequency of the target massage music, or the massage vibrator can be controlled to perform a massage based on the frequency of the target massage music and the position of the massage vibrator.

[0039] In an embodiment of the present application, user parameters for the current massage subject are obtained, and initial massage music is generated based on the user parameters and a preset large language model. This ensures that the generated initial massage music matches the user parameters, improving the matching degree between the initial massage music and the current user parameters, avoiding the problem of overly simple music built into the massage device, and increasing the diversity of the generated initial massage music. Thus, a preset algorithm is used to process the frequency and amplitude of the initial massage music to obtain target massage music. The massage vibrator is driven to perform massage according to the target massage music, ensuring that the vibration of the massage vibrator matches the target massage music, thereby enhancing the user's massage experience and user pleasure.

[0040] Based on the above embodiment, the present application further provides a process for generating initial massage music in a music control method for a massage device. In step 102, the initial massage music is generated based on user parameters and a preset large language model, including: Based on user parameters and a preset large language model, compose audio within a target frequency band with a preset duration that matches the user parameters.

[0041] Among them, the preset duration is determined according to the user parameters. For example, when the preset mode parameter in the user parameters is the sleep mode, the preset duration parameter can be 6-8 hours. The target frequency band range can be determined according to the user parameters, and the initial massage music within the target frequency band range is generated to improve the matching efficiency with the massage vibrator and the user experience. For example, when the environmental parameter in the user parameters is a night environment, the target frequency band range can be 8-12 Hz. When the preset massage parameter in the user parameters is a waist massage, the target frequency band range can be continuous 80 Hz, etc., which is specifically determined according to the user parameters, and the embodiments of the present application do not limit this.

[0042] Optionally, user parameters are input into a preset large language model, a preset duration is determined based on the user parameters, corresponding prompt words are generated based on the user parameters, the preset duration and the target frequency band range, a preset music generation platform is called, and initial massage music is generated based on the prompt words and the preset music generation platform.

[0043] Alternatively, a preset duration is determined according to user parameters, and based on the user parameters, the preset duration and the target frequency band range, a preset large language model generates initial massage music according to previous training and relevant rules of music composition.

[0044] In an embodiment of the present application, initial massage music is generated through user parameters, preset duration and target frequency band range, which can ensure the accuracy of the generated initial massage music, so that the initial massage music matches the user parameters, thereby improving the user's massage experience.

[0045] Based on the above embodiments, the present application also provides a process for determining target massage music in a music control method for a massage device. Figure 2 This is a flow chart of determining target massage music in a music control method for a massage device provided in an embodiment of the present application, such as Figure 2 As shown, in the above step 103, a preset algorithm is used to process the frequency and amplitude of the initial massage music to obtain the target massage music, including: Step 201: Based on a preset frequency band range, waveform processing is performed on the initial massage music to obtain filtered massage music.

[0046] Among them, the preset frequency band range can be 20-200 Hz, and the music within this frequency band is adapted to the music frequency band required by human bone conduction.

[0047] Optionally, based on a preset frequency band, a low-pass filter is used to filter the initial massage music to obtain filtered massage music, that is, massage music within the preset frequency band in the initial massage music. The low-pass filter may be a second-order Butterworth low-pass filter that implements filtering using a time-domain difference equation.

[0048] Optionally, before waveform processing is performed on the initial massage music based on a preset frequency band range to obtain the filtered massage music, the initial massage music is preprocessed, specifically, the multiple channels in the initial massage music are merged into a single channel, thereby eliminating phase interference in the initial massage music.

[0049] Step 202: The filtered massage music is amplitude compressed according to a preset threshold to obtain target massage music.

[0050] Optionally, the filtered massage music is amplitude compressed according to a preset threshold and a preset compression ratio so that the power of the target massage music is within a preset power range, wherein the preset threshold is -20dBFS, the preset compression ratio is 4:1, and the preset power range is 8-20 watts.

[0051] For example, when the peak value of the drum sound in the filtered massage music is -10dBFS, the excess part exceeding the preset threshold value of -20dBFS is 10dB. After the excess part of 10dB is compressed to 2.5dB according to the preset compression ratio, the final output part is -20dBFS + 2.5dB = -17.5dBFS.

[0052] In an embodiment of the present application, the initial massage music is waveform-processed based on a preset frequency band range to obtain filtered massage music, which can ensure that the filtered massage music meets the range of bone conduction, thereby improving the user's music experience, and the filtered massage music is amplitude-compressed according to a preset threshold value, which can ensure the power stability of the target massage music, thereby adapting to a variety of massage equipment.

[0053] Based on the above embodiments, the present application also provides a process for driving a massage vibrator in a music control method of a massage device. Figure 3 This is a flow chart of driving a massage vibrator in a music control method of a massage device provided in an embodiment of the present application, such as Figure 3 As shown, in the above step 104, driving the massage vibrator to perform massage according to the target massage music includes: Step 301: Obtain a target music tempo according to the target massage music.

[0054] Optionally, a target music tempo is calculated based on the target massage music using short-time energy analysis and an autocorrelation algorithm. The target massage music is divided into multiple short-time frames, and the energy sequence of each short-time frame is calculated. Points with sudden energy increases in the energy sequence are identified as candidate beats. The autocorrelation of the energy sequence is then calculated to determine the beat period, thereby obtaining the target music tempo.

[0055] Step 302: Drive the massage vibrator according to the massage frequency corresponding to the target music beat.

[0056] Optionally, a massage frequency corresponding to the target music beat is determined based on the target music beat, and the massage vibrator is driven based on the massage frequency so that the frequency of the massage vibrator is consistent with the massage frequency corresponding to the target music beat. Specifically, the massage frequency corresponding to the target music beat is converted through a mapping relationship based on the target music beat, or the massage frequency corresponding to the target music beat is converted through a frequency multiplication / division enhancement method based on the target music beat.

[0057] Alternatively, the target massage music may be generated by an external computer and transmitted to the target massage device. The target massage music may be encoded before being transmitted to the target massage device to reduce transmission load. Specifically, the massage device may collect user parameters of the current massage subject and transmit them to the external computer. The external computer then generates initial massage music, processes it to obtain the target massage music, and then feeds it back to the massage device for further control. Alternatively, the entire process may be performed by the massage device itself, and this application is not limiting.

[0058] After receiving the target massage music, the massage device decodes the target massage music. Specifically, the massage device is provided with a power amplifier module, which decodes the target massage music. The power amplifier module can be a TPA3255D class power amplifier module.

[0059] In an embodiment of the present application, the target music beat is obtained according to the target massage music, and the massage vibrator is driven according to the massage frequency corresponding to the target music beat. This can ensure that the massage frequency of the target massage music is consistent with the vibration frequency of the massage vibrator, so that the user's hearing and touch during massage are highly synchronized, thereby improving the user's massage experience and enhancing the user's immersive experience.

[0060] Based on the above embodiment, the present application also provides another process of driving a massage vibrator in a music control method of a massage device. Figure 4 A schematic diagram of the process of driving a massage vibrator in another music control method for a massage device provided in an embodiment of the present application is shown as follows: Figure 4 As shown, in the above step 302, driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: Step 401: Determine the massage frequency corresponding to the target music beat according to the mapping relationship between the target music beat and the preset beat frequency.

[0061] The preset beat-frequency mapping relationship may be a direct mapping relationship, a proportional mapping relationship, or a rhythm pattern mapping relationship. The direct mapping relationship may determine the massage frequency corresponding to the target music beat based on the target music beat and a preset coefficient; the proportional mapping relationship may determine the massage frequency corresponding to the target music beat by linearly mapping the target music beat based on a preset beat range; and the rhythm pattern mapping relationship may determine the massage frequency corresponding to the target music beat based on the strength and rhythm changes of the beat.

[0062] Optionally, after determining the massage frequency corresponding to the target music beat according to the mapping relationship between the target music beat and the preset beat frequency, the massage frequency corresponding to the target music beat is adjusted based on the preset massage frequency range so that the massage frequency corresponding to the target music beat is within the preset massage frequency range. The preset massage frequency range can be 1-5 Hz.

[0063] Step 402: Control the massage vibrator based on the massage frequency using a preset proportional-differential-integral algorithm.

[0064] Optionally, the massage frequency is compared with the actual vibration frequency of the massage vibrator, and the actual vibration frequency of the massage vibrator is controlled to be consistent with the massage frequency through a preset proportional-differential-integral algorithm according to the current error size.

[0065] In an embodiment of the present application, a massage frequency corresponding to the target music beat is determined based on a mapping relationship between the target music beat and a preset beat frequency. The massage vibrator is then controlled based on the massage frequency using a preset proportional-differential-integral algorithm. This application can enhance the synchronization between the massage frequency and the actual vibration frequency of the massage vibrator, as well as the accuracy of the massage vibrator massage.

[0066] Based on the above embodiment, the massage device is provided with multiple groups of massage vibrators, each group of massage vibrators is used to massage a corresponding body area, so as to better adapt the massage to different areas of the body and better match the tolerance and health needs of different areas of the body. To this end, the embodiment of the present application provides a process for driving the massage vibrators in a music control method of a massage device, Figure 4 A schematic diagram of a process for driving a massage vibrator in a music control method for a massage device provided in an embodiment of the present application is shown as follows: Figure 4 As shown, in the above step 104, driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: Step 401: During the playback of the target massage music, the current corresponding target body area is determined according to the massage frequency corresponding to the current target music beat.

[0067] The massage area can be divided into low-frequency, medium-frequency, and high-frequency areas. The low-frequency area can be 30-60 Hz, which includes the neck, shoulder, and waist areas; the medium-frequency area can be 60-90 Hz, which includes the limbs; and the high-frequency area can be 90-120 Hz, which can cover areas such as Zusanli and the liver.

[0068] For example, during the playback of target massage music, if the massage frequency corresponding to the current target music beat is in the low-frequency zone, the current target body area can be determined to be the area corresponding to the low-frequency zone; if the massage frequency corresponding to the current target music beat is in the medium-frequency zone, the current target body area can be determined to be the area corresponding to the medium-frequency zone; if the massage frequency corresponding to the current target music beat is in the high-frequency zone, the current target body area can be determined to be the area corresponding to the high-frequency zone. Of course, the frequency ranges can be divided more finely, and this is not limited here.

[0069] Step 402: according to the massage frequency corresponding to the target music beat, the massage vibrator corresponding to the target body area is driven to perform massage.

[0070] Optionally, if the massage frequency corresponding to the current target music beat is in the low-frequency region, it can be determined that the current target body area is in the region corresponding to the low-frequency region, and the massage vibrator corresponding to the low-frequency region is driven to perform massage. If the massage frequency corresponding to the current target music beat is in the medium-frequency region, it can be determined that the current target body area is in the region corresponding to the medium-frequency region, and the massage vibrator corresponding to the medium-frequency region is driven to perform massage. If the massage frequency corresponding to the current target music beat is in the high-frequency region, it can be determined that the current target body area is in the region corresponding to the high-frequency region, and the massage vibrator corresponding to the high-frequency region is driven to perform massage.

[0071] Optionally, the massage frequency corresponding to the current target music beat is in the low-frequency zone, and it can be determined that the current corresponding target body area is the area corresponding to the low-frequency zone, then the massage vibrator corresponding to the low-frequency zone is driven for massage, and the vibrations of the massage vibrators in the medium-frequency zone and the high-frequency zone are adjusted so that the massage vibrators in the medium-frequency zone and the high-frequency zone vibrate according to the frequencies corresponding to the areas.

[0072] Optionally, the massage frequency corresponding to the current target music beat is the mid-frequency zone. It can be determined that the current corresponding target body area is the area corresponding to the mid-frequency zone, and the massage vibrator corresponding to the mid-frequency zone is driven for massage, and the vibration of the massage vibrators in the low-frequency zone and the high-frequency zone is adjusted so that the massage vibrators in the low-frequency zone and the high-frequency zone vibrate according to the frequency corresponding to the area.

[0073] Optionally, the massage frequency corresponding to the current target music beat is in the high-frequency zone, and the current corresponding target body area can be determined to be the area corresponding to the high-frequency zone. The massage vibrator corresponding to the high-frequency zone is then driven to perform massage, and the vibrations of the massage vibrators in the low-frequency zone and the medium-frequency zone are adjusted so that the massage vibrators in the low-frequency zone and the medium-frequency zone vibrate according to the frequencies corresponding to the areas.

[0074] Of course, in order to meet the needs of some users who like to massage the whole body together, a universal massage frequency can also be set for each area to maintain the massage of each area. For example, when the massage vibrator corresponding to the target body area is driven to massage according to the massage frequency corresponding to the target music beat, other areas can use the universal massage frequency to maintain the massage state, and the massage vibrator corresponding to the target body area can be massaged according to the massage frequency corresponding to the target music beat, or the user can choose which areas to massage, and this application does not impose any restrictions.

[0075] Optionally, when the signal strength of the target massage music exceeds a preset intensity threshold, the target massage music is adjusted to keep it within the preset intensity threshold, thereby reducing the power consumption of the massage device. When the target massage beat is strong, the vibrator is activated with high power, while limiting the duration of a single beat. When the target massage beat is weak, the device switches to low power mode, reducing the overall power consumption of the massage setup. When no signal is input to the massage device, the massage device enters standby mode.

[0076] In an embodiment of the present application, the current corresponding target body area is determined according to the massage frequency corresponding to the target music beat, and the massage vibrator massage corresponding to the target body area is determined according to the massage frequency of the target music beat. This application realizes regional synchronization of massage equipment and music through differentiated vibration design for body parts, improves the targetedness and effectiveness of massage, and thus enhances the diversity and fun of user experience.

[0077] Based on the same inventive concept, the embodiment of the present application also provides a music control device for a massage device corresponding to the music control method for a massage device. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the music control method for the massage device in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0078] Figure 5 This is a structural diagram of a music control device for a massage device provided in an embodiment of the present application, such as Figure 5 As shown, the device includes: an acquisition module 501, a generation module 502, a processing module 503 and a driving module 504; wherein the acquisition module 501 is used to obtain user parameters of the current massage object, and the user parameters include at least one of the following: user input text parameters, user emotion parameters, user pressure parameters, current environment parameters, and preset mode parameters; A generation module 502 is configured to generate initial massage music based on user parameters and a preset large language model, where the initial massage music is audio of a target frequency band that matches the user parameters; The processing module 503 is used to process the frequency and amplitude of the initial massage music using a preset algorithm to obtain the target massage music; The driving module 504 is used to drive the massage vibrator to perform massage according to the target massage music.

[0079] Optionally, the preset large language model is obtained by training using a user sample data set and a sample music set, wherein the user sample data set includes multiple groups of user sample parameters, each group of user sample parameters includes at least one of the following: user input text parameters, user emotion parameters, user stress parameters, current environment parameters, preset mode parameters, and each group of user sample parameters is associated with one or more sample music in the sample music set.

[0080] Optionally, the generating module 502 is specifically configured to: write audio within a target frequency band with a preset duration matching the user parameters according to the user parameters and a preset large language model.

[0081] Optionally, the processing module 503 is specifically configured to: perform waveform processing on the initial massage music based on a preset frequency band range to obtain filtered massage music; The filtered massage music is amplitude compressed according to a preset threshold to obtain the target massage music.

[0082] Optionally, the driving module 504 is specifically configured to: obtain a target music tempo according to the target massage music; The massage vibrator is driven according to the massage frequency corresponding to the target music beat.

[0083] Optionally, the driving module 504 is specifically configured to: determine a massage frequency corresponding to the target music beat according to a mapping relationship between the target music beat and a preset beat frequency; The massage vibrator is controlled based on the massage frequency through a preset proportional-differential-integral algorithm.

[0084] Optionally, the massage device is provided with a plurality of groups of massage vibrators, each group of massage vibrators being used to massage a corresponding body area; the driving module 504 is specifically configured to: during the playback of the target massage music, determine the current corresponding target body area according to the massage frequency corresponding to the current target music beat; According to the massage frequency corresponding to the target music beat, the massage vibrator corresponding to the target body area is driven to perform massage.

[0085] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0086] The present application also provides a massage device. Figure 6 A schematic diagram of the structure of a massage device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the massage device includes: a processor 601, a memory 602, and optionally, a bus 603. The memory 602 stores machine-readable instructions executable by the processor 601 (for example, Figure 5 The apparatus includes an acquisition module 501, a generation module 502, a processing module 503, and execution instructions corresponding to the driving module 504, etc.), when the massage device is running, the processor 601 communicates with the memory 602 via a bus 603, and when the machine-readable instructions are executed by the processor 601, the steps of the above-mentioned music control method for a massage device are performed.

[0087] The massage device of the present application may also include specific massage-related control components, such as massage vibrators, which are connected to the processor 601 and are controlled by the processor, which will not be described in detail here.

[0088] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned music control method for a massage device are executed.

[0089] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0090] Furthermore, the functional units in the various embodiments of the present application may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. If the functions are implemented as software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, may be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a massage device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0091] The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the protection scope of the present application.

Claims

1. A music control method for a massage device, characterized in that: The method comprises: Acquire user parameters of the current massage object, wherein the user parameters include at least one of the following: a user input text parameter, a user emotion parameter, a user pressure parameter, a current environment parameter, and a preset mode parameter; generating initial massage music according to the user parameters and a preset large language model, wherein the initial massage music is audio of a target frequency band matching the user parameters; Using a preset algorithm, frequency and amplitude processing is performed on the initial massage music to obtain target massage music; The massage vibrator is driven to perform massage according to the target massage music.

2. The method according to claim 1, characterized in that The preset large language model is obtained by training using a user sample data set and a sample music set, wherein the user sample data set includes multiple groups of user sample parameters, each group of user sample parameters includes at least one of the following: user input text parameters, user emotion parameters, user stress parameters, current environment parameters, and preset mode parameters, and each group of user sample parameters is associated with one or more sample music in the sample music set.

3. The method according to claim 2, characterized in that Generating initial massage music according to the user parameters and the preset large language model includes: According to the user parameters and the preset large language model, audio within a target frequency band with a preset duration matching the user parameters is written.

4. The method according to claim 1, wherein The method of using a preset algorithm to process the frequency and amplitude of the initial massage music to obtain the target massage music includes: Based on a preset frequency band range, waveform processing is performed on the initial massage music to obtain filtered massage music; The filtered massage music is amplitude compressed according to a preset threshold to obtain the target massage music.

5. The method according to claim 1, wherein The step of driving the massage vibrator to perform massage according to the target massage music comprises: obtaining a target music beat according to the target massage music; The massage vibrator is driven according to the massage frequency corresponding to the target music beat.

6. The method according to claim 5, characterized in that The step of driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: Determining the massage frequency corresponding to the target music beat according to the mapping relationship between the target music beat and the preset beat frequency; The massage vibrator is controlled based on the massage frequency by a preset proportional-differential-integral algorithm.

7. The method according to claim 6, characterized in that The massage device is provided with a plurality of groups of massage vibrators, each group of massage vibrators being used to massage a corresponding body area; The step of driving the massage vibrator according to the massage frequency corresponding to the target music beat includes: During the playing of the target massage music, the current corresponding target body area is determined according to the massage frequency corresponding to the current target music beat; According to the massage frequency corresponding to the target music beat, the massage vibrator corresponding to the target body area is driven to perform massage.

8. A music control device for a massage device, characterized in that: The device comprises: An acquisition module is used to acquire user parameters of the current massage object, wherein the user parameters include at least one of the following: a user input text parameter, a user emotion parameter, a user pressure parameter, a current environment parameter, and a preset mode parameter; a generation module, configured to generate initial massage music according to the user parameters and a preset large language model, wherein the initial massage music is audio of a target frequency band matching the user parameters; a processing module, configured to process the frequency and amplitude of the initial massage music using a preset algorithm to obtain target massage music; The driving module is used to drive the massage vibrator to perform massage according to the target massage music.

9. A massage device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the massage device is running, the processor executes the machine-readable instructions to perform the steps of the music control method for the massage device as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the music control method for a massage device as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Music rhythm determination method, device, equipment and storage medium

    CN109584902A

  • Music beat detection method and system

    CN111508457A

  • Motor driving method, device and system, game terminal and storage medium

    CN117138328A

  • Sleep aiding method, device and equipment and computer readable storage medium

    CN117258109A

  • Music beat real-time tracking method, device and equipment

    CN118072699A