Volume control method, device and storage medium based on massage chair and mobile terminal
By monitoring environmental noise and user preferences in real time, combining adaptive volume control and speaker array optimization, the personalized setting problem of massage chair music volume control and incoming call vibration reminder is solved, and the adaptive and even distribution of music volume is achieved, which enhances the User experience and versatility of massage chairs.
Patent Information
- Application Number
- CN202410609039.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The existing massage chairs have difficulty in personalizing the music volume control and call vibration reminder, which affects the user experience, and it is difficult to achieve user-adapted volume adjustment while maintaining the quality of music playback and massage effect.
By monitoring the environmental noise level in real time, combining the user's volume preferences, the adaptive volume control algorithm is used to dynamically adjust the music volume, and the speaker array is optimized to achieve uniform music distribution. At the same time, the Bluetooth connection is used to receive incoming calls, and the vibration module is driven to remind the user according to the priority level. , and turn down the music volume when the vibration reminds.
It realizes the adaptation of music volume always within the user's comfort range, improves the user experience, and enhances the versatility and user interaction of the massage chair through uniform music distribution and accurate call reminders.
Smart Images

Figure CN118519603B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to massage chair control, and in particular to a volume control method, device and storage medium based on a massage chair and a mobile terminal. Background Art
[0002] When designing the volume control and call vibration reminder functions of massage chairs, we faced a complex technical contradiction. On the one hand, massage chairs need to provide a comfortable and relaxing massage experience, and music playback is an integral part of this. The volume control system must be able to adapt to different ambient noise levels and adjust according to the user's personal preferences to ensure the best music playback effect. At the same time, the location design of the speakers is also crucial, and the music needs to be evenly distributed to avoid localized sounds that are too loud or too quiet. On the other hand, in modern life, people need to keep their communications open at all times, even when enjoying a massage. Therefore, massage chairs need to have the function of reminding users in the form of vibration when receiving an incoming call, instead of traditional ringtone reminders. This can ensure that users do not miss important calls while maintaining a relaxing atmosphere. However, the design of the call vibration reminder function needs to consider how to convert the incoming call signal of the mobile phone into a slight vibration that is distinguished from the normal massage mode without affecting the normal massage program of the massage chair. The intensity and frequency of the vibration should be easy for users to identify, and personalized settings should also be provided to allow users to adjust according to their answering habits and vibration sensitivity. To sum up, the technical contradiction faced is how to achieve personalized volume control and vibration reminders for incoming calls, while ensuring that the music playback quality and massage effect of the massage chair are not affected and maintaining the user's relaxation experience. Summary of the invention
[0003] In order to overcome the shortcomings of the prior art, one of the objects of the present invention is to provide a volume control method based on a massage chair and a mobile terminal, which can solve the problem in the prior art that the music volume of the massage chair cannot adapt to the user when the user is using the massage chair, thus affecting the user experience.
[0004] The second purpose of the present invention is to provide a volume control device based on a massage chair and a mobile terminal, which can solve the problem in the prior art that the music volume of the massage chair cannot adapt to the user during the user's use of the massage chair, thereby affecting the user's experience.
[0005] The third object of the present invention is to provide a computer-readable storage medium, which can solve the problem in the prior art that the music volume of the massage chair cannot be adapted to the user during the user's use of the massage chair, thereby affecting the user's experience.
[0006] One of the purposes of the present invention is achieved by the following technical solution:
[0007] A volume control method based on a massage chair and a mobile terminal, the volume control method comprising:
[0008] Noise monitoring step: acquiring original noise audio data of the monitoring environment where the massage chair is located in real time and performing feature extraction on the original noise audio data to obtain a real-time environmental noise index of the monitoring environment;
[0009] Music volume control step: dynamically adjusting the music playback volume of the massage chair according to the real-time environmental noise index of the monitored environment and the user volume preference setting level;
[0010] Incoming call identification step: connecting the massage chair with a mobile terminal via Bluetooth communication to obtain an incoming call signal from the mobile terminal and identifying the incoming call information of the incoming call signal, and then obtaining the priority of the incoming call signal according to the incoming call information of the incoming call signal;
[0011] Incoming call control step: when the priority of the incoming call signal meets the preset requirements, the vibration module installed inside the massage chair is driven to vibrate to remind the user to answer the incoming call signal; at the same time, the music playback volume of the massage chair is lowered to a preset value during the vibration reminder.
[0012] Furthermore, the noise monitoring step specifically includes:
[0013] Noise pickup step: picking up original noise audio data in the monitoring environment in real time by a sound pickup device installed in the monitoring environment; the sound pickup device includes a condenser microphone;
[0014] Preprocessing step: preprocessing the original noisy audio data; wherein the preprocessing includes removing the silent segments in the original noisy audio data by setting a silent threshold and performing noise reduction on the original noisy audio data by using a median filter;
[0015] Identification calculation step: extracting features from the preprocessed noise audio data to obtain feature parameters, and obtaining the environmental noise index of the monitoring environment according to the feature parameters of the noise audio data and a pre-constructed noise assessment model; wherein the feature parameters include energy, bandwidth and harmonic components of the noise;
[0016] The noise assessment model is specifically constructed through the following steps: first, each piece of original noise audio data and the corresponding environmental noise index in the historical monitoring data of the monitoring environment are collected to construct a data set, and features are extracted for each piece of original noise audio data in the data set to obtain corresponding feature parameters; then, the feature parameters of each piece of original noise audio data are used as input data of a support vector regression model constructed by the system, and the corresponding environmental noise index is used as output data of the support vector regression model constructed by the system to train the support vector regression model, thereby constructing the noise assessment model.
[0017] Furthermore, the music volume control step specifically includes: dynamically adjusting the music playback volume of the massage chair according to the ambient noise index of the monitoring environment and the user volume preference level and the adaptive volume control algorithm constructed by the system; wherein each user volume preference level is provided with a corresponding noise index range;
[0018] The adaptive volume control algorithm is used to map the calculated environmental noise index to the interval [0,1] to obtain a normalized noise index, and construct the music playback volume of the massage chair according to the following formula; wherein the formula is specifically:
[0019] Vopt=Vbase*(1+k*Lnorm);
[0020] Where: Vopt is the adjusted music playback volume of the massage chair;
[0021] Vbase is the base music playback volume of the monitoring environment where the massage chair is located, which is a constant;
[0022] k is the volume adjustment coefficient of the user volume preference level, and different volume adjustment coefficients are used for different user volume preference levels;
[0023] Lnorm is the normalized noise index, specifically: Lnorm=(LA-Lmin) / (Lmax-Lmin); wherein LA is the environmental noise index; Lmin and Lmax are respectively the minimum and maximum values of the environmental noise index in the monitoring environment, which are obtained based on the environmental noise index calculated historically.
[0024] Furthermore, the music volume control step further includes: driving a plurality of speakers arranged in the monitoring environment to play music according to the music playback volume of the massage chair obtained after dynamic adjustment; wherein the installation positions of the plurality of speakers arranged in the monitoring environment are specifically obtained by the following steps:
[0025] Speaker layout step: obtaining the layout structure data of the massage chair and inputting it into the speaker array optimization design model pre-built by the system to obtain the layout plan of the speakers of the massage chair; wherein the layout plan of the speakers of the massage chair includes the number of speakers, installation positions and speaker directions;
[0026] Speaker layout optimization step: optimizing the layout of the speakers of the massage chair using a sound field synthesis method, so that the music can be played evenly in different music playing areas of the massage chair;
[0027] Speaker layout verification step: using simulation technology to drive each speaker to play music on the optimized layout of the massage chair's speakers, thereby obtaining a sound pressure level distribution diagram of different music playing areas of the massage chair; and judging the volume of different music playing areas of the massage chair based on the sound pressure level distribution diagram of different music playing areas of the massage chair, and then judging whether the volume of different music playing areas of the massage chair meets the requirements:
[0028] If so, the number, installation positions and speaker orientations of the speakers provided in the monitoring environment are obtained according to the layout plan of the speakers of the massage chair;
[0029] If not, return to the speaker layout optimization step to continue adjusting the layout of the speakers of the massage chair;
[0030] The layout structure data of the massage chair includes the length, width and height of the massage chair; and the different music playing areas of the massage chair include the head, back and legs of the massage chair.
[0031] Furthermore, the caller identification step specifically includes:
[0032] Incoming call signal acquisition step: by connecting the massage chair with the mobile terminal via Bluetooth communication to acquire the incoming call status information sent by the mobile terminal and performing CRC check on the incoming call status information; and when the CRC check passes, parsing the data frame of the incoming call status information to extract the incoming call information of the incoming call signal; wherein the data frame of the incoming call status information includes a frame header of the data frame, a data length of the data frame, an incoming call type, a telephone number and CRC check data; the incoming call information of the incoming call signal includes an incoming call type and a telephone number;
[0033] Priority determination step: deriving the priority of the incoming call signal according to the incoming call information of the incoming call signal and a priority decision tree model of the incoming call signal in the system;
[0034] Among them, the priority decision tree model of the incoming call signal is constructed by the hierarchical definition of the priority of the incoming call signal constructed by the system, the historical incoming call data of the user's mobile terminal collected, and the user's incoming call mark; the historical incoming call data of the user's mobile terminal includes the incoming call number, the number of incoming calls, the number of calls answered, the duration of each call answering, the call time and whether the call seems to be marked; the user's incoming call mark includes important numbers, regular numbers, and unknown numbers.
[0035] Furthermore, the incoming call control step specifically includes: when the priority of the incoming call signal is greater than the preset priority, driving the vibration module installed in the massage chair to vibrate and remind according to the preset vibration parameters; at the same time, during the vibration reminder process, driving and controlling the massage chair to perform massage work according to the first preset massage mode;
[0036] When the incoming call signal is answered, the massage chair is driven to suspend massage; and when the user finishes answering the incoming call, the massage chair is driven to perform massage again according to a second preset massage mode;
[0037] The step of lowering the music playback volume of the massage chair to a preset volume value during the vibration reminder process further includes: driving and controlling the operation of a speaker installed in the massage chair according to the preset volume value, and playing an incoming call ringtone of the incoming call signal to the user;
[0038] When the vibration reminder starts, the timer is started for timing, and when the timing time reaches the preset time and the incoming call signal is not answered, the call information of the incoming call signal is recorded and a new missed call is generated, and then the new missed call is stored in the missed call list; at the same time, the music playback volume of the massage chair is restored to the music playback volume of the massage chair when the massage is paused.
[0039] Furthermore, the vibrating reminder by driving the vibration module installed in the massage chair according to the preset vibration parameters specifically includes: generating a pulse width modulation signal according to the preset vibration parameters and sending the pulse width modulation signal to each vibration module to control the corresponding vibration module to vibrate; wherein the preset vibration parameters include vibration frequency and vibration intensity; the vibration module is a linear motor, there are one or more linear motors, each linear motor is installed in the corresponding target vibration area of the massage chair; the target vibration area of the massage chair does not overlap with the massage area of the massage chair;
[0040] The preset vibration parameters are obtained according to a vibration reminder optimization model constructed in the system; wherein, the vibration reminder optimization model is obtained through the following steps: obtaining the user's vibration history setting data and historical vibration feedback data stored in the system to construct a training sample of a machine learning model, so as to train and obtain the vibration reminder optimization model; wherein, the user's vibration history setting data includes the user's vibration frequency and vibration intensity for vibration reminders obtained by providing the user with a parameter setting page for vibration reminders; the historical vibration feedback data includes the vibration reminder time each time the user answers an incoming call signal and whether there is vibration intensity adjustment data.
[0041] Furthermore, it also includes: a feedback experience step: when the user finishes using the massage chair, a feedback report collection form of the massage chair usage experience is sent to the user through a mobile terminal or the touch screen of the massage chair to obtain the user's feedback experience data on the use of the massage chair, and then generate a user's massage chair usage record to construct the user's massage chair usage data set.
[0042] The second object of the present invention is achieved by adopting the following technical solution:
[0043] A volume control device based on a massage chair and a mobile terminal includes a memory and a processor. The memory stores a volume control program running on the processor. The volume control program is a computer program. When the processor executes the volume control program, the steps of the volume control method based on a massage chair and a mobile terminal adopted as one of the purposes of the present invention are implemented.
[0044] The third object of the present invention is achieved by adopting the following technical solution:
[0045] A computer-readable storage medium stores a volume control program, which is a computer program. When the volume control program is executed by a processor, the volume control program implements the steps of a volume control method based on a massage chair and a mobile terminal as one of the purposes of the present invention.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention monitors the ambient noise level in real time and analyzes the intensity and frequency characteristics of the noise. Based on this, combined with the user's preset volume preference, an adaptive volume control algorithm is used to dynamically adjust the music playback volume to ensure that the music playback always remains within a volume range that is comfortable for the user, so as to better adapt to the user and improve the user experience. At the same time, in order to ensure the unique business scenario of music playback quality and user massage experience, a speaker array optimization design is adopted, and through the reasonable layout of multiple micro-speakers and the use of sound field synthesis methods, the uniform distribution of music in different music playback areas of the massage chair is achieved, so as to avoid the local volume being too loud or too low and affecting the user experience.
[0048] The present invention also links the massage chair with the mobile terminal through Bluetooth to achieve wireless connection between the massage chair and the user's mobile terminal so as to receive incoming call signals in real time; at the same time, by using a signal analysis algorithm to determine the type and priority of the incoming call, it is ensured that when an important or urgent call is received, the vibration reminder function of the massage chair can accurately remind the user, so that the user can answer the important or urgent call in time. While vibrating to remind, the present invention can automatically lower the music playback volume to the user's preset incoming call volume, ensuring that the user can clearly hear the incoming call ringtone without interfering with the massage experience. The present invention provides an intelligent, user-experience-centric, multifunctional massage chair solution that aims to enhance the user's massage experience through advanced environmental adaptability and user interactivity. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flow chart of a volume control method based on a massage chair and a mobile terminal provided by the present invention;
[0050] Figure 2 for Figure 1 Flow chart of step S1 in FIG.
[0051] Figure 3 for Figure 1 Flow chart of step S2 in FIG. DETAILED DESCRIPTION
[0052] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0053] like Figure 1 As shown, the present invention provides a preferred embodiment, a volume control method based on a massage chair and a mobile terminal, specifically comprising:
[0054] Step S1, acquiring original noise audio data of the monitoring environment where the massage chair is located in real time and performing feature extraction on the original noise audio data to obtain a real-time environmental noise index of the monitoring environment.
[0055] Specifically, the monitoring environment refers to the space where the massage chair is installed. For example, if it is installed in a closed space, the monitoring environment also refers to the closed space. For another example, if it is installed in a semi-open space or an open space, a certain area can be designated as the monitoring environment based on the location of the massage chair as the center.
[0056] When collecting the original noise audio data, this embodiment collects the noise in the monitoring environment where the massage chair is located by installing a sound pickup device, such as a microphone, in the monitoring environment to obtain the original noise audio data. The microphone can be a condenser microphone, the sensitivity of which can reach -42±2dB, and the frequency response range is 20Hz~20kHz, which can effectively capture various noises in the environment.
[0057] Furthermore, if Figure 2 As shown, step S1 specifically includes:
[0058] Step S11: pick up original noise audio data in the monitoring environment in real time through a sound pickup device installed in the monitoring environment.
[0059] Step S12: pre-process the collected original noise audio data.
[0060] Among them, the preprocessing includes removing silent segments and noise reduction processing. Specifically, the silent segments in the original noise audio data are removed by setting the silent threshold, such as setting the silent threshold to -60dB. In this way, when filtering the original noise audio data, the audio segments below the silent threshold are regarded as silent segments and deleted from the audio segments of the original noise audio data. During the noise reduction processing, the median filter is used to perform noise reduction processing on the original noise audio data, such as the filter window size can be set to 50ms.
[0061] Step S13: extracting features from the preprocessed noise audio data to obtain feature parameters, and obtaining environmental noise indicators of the monitoring environment based on the feature parameters of the noise audio data and a pre-built noise assessment model.
[0062] Specifically, feature extraction is performed on the pre-processed noise audio data to extract characteristic parameters. The characteristic parameters include noise energy, bandwidth and harmonic components. In actual operation, the noise audio data can be analyzed in the time domain and frequency domain to extract time domain features and frequency domain features, including noise intensity and frequency distribution, and then the spectrum of the noise obtained by Fourier transform is extracted, and characteristic parameters such as noise energy, bandwidth and harmonic components are extracted from the spectrum.
[0063] When calculating the environmental noise index, this embodiment implements the conversion of the audio signal into the environmental noise index by inputting the extracted characteristic parameters into a pre-built noise assessment model to map the original noise audio data into the environmental noise index.
[0064] Preferably, in this embodiment, when establishing the noise assessment model, a support vector regression algorithm (SVR) model is used to implement it. Specifically, first, each piece of original noise audio data and the corresponding environmental noise index in the historical monitoring data of the monitoring environment are collected to construct a data set, and each piece of original noise data in the data set is feature extracted to obtain the corresponding feature parameters. Then, the feature parameters of each piece of original noise audio data are used as the input data of the support vector regression model constructed by the system, and the corresponding environmental noise index is used as the output data of the support vector regression model constructed by the system, so as to train the support vector regression model and construct a noise assessment model. By pre-constructing the noise assessment model, the original noise audio data is mapped to the environmental noise index, so that the music playback volume of the massage chair can be controlled according to the environmental noise index later.
[0065] In addition, when the support vector regression model is trained in this embodiment, the kernel function can select the Gaussian kernel function; at the same time, the parameters of the SVR model are optimized by cross-validation to obtain the optimal noise assessment model. In this way, when the original noise audio data of the monitoring environment is obtained and the noise features are extracted, the noise features are then input into the constructed noise assessment model to obtain the environmental noise index corresponding to the original noise audio data of the environment.
[0066] Step S2: dynamically adjust the music playback volume of the massage chair according to the real-time environmental noise index of the monitored environment and the user's volume preference setting level.
[0067] Preferably, this embodiment uses an adaptive volume control algorithm to achieve dynamic adjustment of the music playback volume of the massage chair. Specifically, by pre-building an adaptive volume control algorithm, and then inputting the acquired real-time environmental noise index and the user volume preference level into the adaptive volume control algorithm to calculate the optimal music playback volume, the optimal value of the current music playback volume can be obtained, thereby achieving dynamic adjustment of the music playback volume of the massage chair. While dynamically adjusting the music playback volume according to the noise of the monitored environment, the user volume preference setting level is also adapted to meet the user's personalized design and improve the user experience.
[0068] More preferably, the adaptive volume control algorithm is used to map the calculated real-time environmental noise index to the interval [0,1] to obtain a normalized noise index, and construct the music playback volume of the massage chair according to formula (5).
[0069] Among them, formula (5) is specifically: V opt =V base *(1+k*L norm )(5);
[0070] Where: V opt The volume of music played by the massage chair after adjustment; V base is the reference music playback volume of the monitoring environment where the massage chair is located, which is a constant; k is the volume adjustment coefficient of the user's volume preference level, and different volume adjustment coefficients are used for different user volume preference levels; L norm is the normalized noise index, specifically: L norm =(L A -L min ) / (L max -L min ), where L A is the environmental noise index; L min and L max They are the minimum and maximum values of the environmental noise index in the monitoring environment, respectively, and are obtained based on the environmental noise index calculated historically.
[0071] Preferably, according to actual needs, the user volume preference setting levels include quiet, standard and noisy, and each level corresponds to a corresponding noise index range, for example, each level corresponds to the range of environmental noise index: [0,50], (50,70], (70,90] respectively.
[0072] In addition, after calculating the music playback volume of the massage chair according to the adaptive volume control algorithm, this embodiment also determines whether the calculated music playback volume is within the user's comfortable volume range. If not, the volume optimization mechanism is triggered, and the music playback volume is adjusted to the user's comfortable volume range through the volume optimization mechanism, and then the final music playback volume of the massage chair is obtained to achieve adaptive volume control. For example, specifically, the value range of the user's comfortable volume range can be set, that is, the upper limit of the music playback volume and the lower limit of the music playback volume. By setting the upper and lower limits, it is possible to avoid the calculated volume being too loud or too low, causing damage to the user's ears or not being able to hear any sound, etc., affecting the user's music experience. That is, if the calculated music playback volume V of the massage chair is opt Exceeds [V min , V max ] range, the volume optimization mechanism is triggered, and the music playback volume of the massage chair is increased to V opt Set to the lower limit of music playback volume V min Or music playback volume upper limit V max , ensuring the user's comfort when listening to music.
[0073] Preferably, step S2 further comprises: driving a speaker arranged in the monitoring environment to play music according to the music playing volume of the massage chair obtained after dynamic adjustment. The speaker comprises one or more speakers, which are installed in different music playing areas of the massage chair to achieve uniform distribution of music playing.
[0074] More preferably, the layout of the speakers in this embodiment adopts an array-type optimized design. Specifically, Figure 3 As shown, step S2 also includes:
[0075] Step S21, obtain the layout structure of the massage chair and input it into the speaker array optimization design model pre-built by the system to obtain the layout plan of the speakers of the massage chair. Among them, the layout plan of the speakers includes the number of speakers, installation positions and speaker orientations. Specifically, in practical applications, the structural layout data of the massage chair can be obtained through the massage chair structure database, including the size parameters of the massage chair such as length, width, height, and the position coordinates of different music playback areas such as the head, back, and legs.
[0076] Step S22: using a sound field synthesis method to optimize the layout of the loudspeakers of the massage chair, so that the music can be played evenly in different music playing areas of the massage chair.
[0077] Due to the different areas, locations and environments where massage chairs are installed, in order to ensure a better music experience, the layout of the speakers of massage chairs with the same layout structure may be different. Therefore, this embodiment also optimizes and adjusts the layout of the speakers obtained. Specifically, this embodiment uses a sound field synthesis method to optimize and adjust the layout of the speakers obtained, so that the music can be played evenly in different music playback areas of the massage chair.
[0078] That is, the layout structure data of the massage chair is input into the speaker array design optimization model to determine the layout of the speakers. For example, 4 speakers are arranged in the head area of the massage chair, 6 speakers are arranged in the back area, and 4 speakers are arranged in the leg area. The position coordinates of each speaker are (x i ,y i ,z i ). Where i is the serial number of the speaker, and its value range is [1, 2, ..., 14], indicating the serial number of the speaker.
[0079] Among them, when optimizing the layout of the speakers of the massage chair, the following objective function is used:
[0080] J = ∑∑(p(x m ,y m , z m )-pavg ) 2 .
[0081] In the formula, p(x m ,y m , z m) represents the sound pressure level of the mth area; p avg It represents the average value of the sound pressure level in all areas.
[0082] The sound pressure level can be calculated using the following formula:
[0083] p(x,y,z)=∑G i *e -jkri / r i .
[0084] Where: G i is the driving signal of the ith speaker; k is the wave number; r i is the distance from the ith speaker to the point (x, y, z); j is an imaginary unit, which is often used in physics and engineering to represent the rotation factor or the imaginary part of a complex number. Here, j represents the complex number characteristics of the sound wave propagation process, reflecting the amplitude attenuation and phase change of the sound wave.
[0085] That is, the optimization design of the speaker layout is converted into solving G i , and minimize the objective function J. Specifically, the above formula can be solved by using a gradient descent method or a genetic algorithm to determine the optimal design of the loudspeaker layout solution.
[0086] Step S23: using simulation technology to drive each speaker to play music based on the optimized layout of the speakers of the massage chair, thereby obtaining a sound pressure level distribution diagram of different music playing areas of the massage chair.
[0087] This embodiment verifies the speaker layout plan through simulation optimization to determine whether the speaker layout plan meets the requirements of step S24, and determines the volume of different music playing areas of the massage chair according to the sound pressure level distribution diagram of different music playing areas of the massage chair, and then determines whether the volume of different music playing areas of the massage chair meets the requirements: if so, execute step S25; if not, execute step S22 to continue to adjust the speaker layout plan of the massage chair.
[0088] Step S25, deriving the number, installation positions and speaker orientations of the speakers in the monitoring environment according to the layout plan of the speakers of the massage chair.
[0089] That is, this embodiment verifies the layout of the speaker through simulation technology to determine whether the layout of the speaker meets the requirements, and when the optimized layout of the speaker meets the requirements, the number of speakers, installation positions, and speaker orientations can be obtained according to the layout. Similarly, when the verification fails, it means that the layout of the speaker is not good enough, and it needs to be further optimized until a layout of the speaker of the massage chair that meets the requirements is obtained. For example: the calculated sound pressure level of the head area of the massage chair is 80dB, the sound pressure level of the back area is 75dB, and the sound pressure level of the leg area is 85dB. Since the sound pressure levels of different music playback areas are different, it means that the volume distribution of different music playback areas of the massage chair is not uniform enough, and it is necessary to re-adopt the sound field synthesis technology to optimize and adjust the layout of the speaker until the difference in the sound pressure level of each area is within 3dB.
[0090] When the layout plan of the speakers of the massage chair is determined, the speakers can be installed at corresponding positions of the massage chair according to the layout plan.
[0091] In addition, when verifying the layout of the speaker of the massage chair, in addition to using simulation technology to judge, users can also be invited to test the layout of the speaker to evaluate the actual effect. At the same time, set the rating level, for example: set 5 rating levels: very uneven, uneven, general, uniform, very uniform, and set corresponding scores for each rating level, which are 1 point, 2 points, 3 points, 4 points, and 5 points respectively. When the user test is completed, the distribution of the music playback volume of the speaker will be scored. After all users have completed the test, the scores of all users are collected and the final average score is obtained. According to the average score, check whether the layout of the speaker meets the requirements. In addition, when the score submitted by the user is lower than 3 points, feedback issues are also collected from the user so that the system can optimize the layout of the speaker according to the feedback issues so that the layout of the speaker meets the requirements. Through the iterative process of continuous optimization design, simulation verification and user evaluation, this embodiment can eventually obtain a layout of the speaker with uniform music distribution and high user satisfaction.
[0092] Step S3, connecting the massage chair to the mobile terminal via Bluetooth communication to obtain the incoming call signal of the mobile terminal and identifying the incoming call information of the incoming call signal, and then deriving the priority of the incoming call signal according to the incoming call information of the incoming call signal.
[0093] Specifically, the massage chair of this embodiment is provided with a Bluetooth communication module, and the massage chair can be connected to the mobile terminal through Bluetooth to realize data interaction between the massage chair and the mobile terminal, such as playing the music of the mobile terminal, playing the ringtone of incoming calls, etc. Through the Bluetooth connection, the user can choose to play his favorite music according to the music APP on his mobile terminal. The massage chair of this embodiment is connected to the mobile terminal to play the volume of the music played by the mobile terminal through the speaker, so as to meet the user's personalized music playback needs.
[0094] Similarly, when there is an incoming call signal on the mobile terminal, the information of the incoming call signal can be sent to the massage chair via Bluetooth in a timely manner, and the massage chair can choose to identify the incoming call signal, and then choose whether to notify the user to answer the call according to the priority of the incoming call signal. Since there may be many situations for incoming call signals, such as important or urgent calls, or unknown calls (such as harassing calls, etc.), in order to prevent the user from being frequently disturbed by incoming calls during their massage experience, this embodiment also receives the incoming call signal of the mobile terminal in a timely manner, and identifies the type of the incoming call signal to obtain the priority of the incoming call signal, so as to determine whether to notify the user to answer the call according to the priority level.
[0095] More specifically, step S3 further includes:
[0096] Step S31, connect the massage chair with the mobile terminal via Bluetooth communication to obtain the incoming call status information sent by the mobile terminal. In the specific implementation, you can choose to integrate a communication module that supports Bluetooth 4.0 and above to establish a wireless connection with the user's mobile terminal and realize data transmission. At the same time, after the Bluetooth connection is established, the mobile terminal will periodically send incoming call status information to the massage chair. For example, after the connection is established, the mobile terminal continues to send incoming call status information to the massage chair in a period of 20ms. Each incoming call status information will contain incoming call information such as call status and phone number.
[0097] Step S32, performing CRC check on the incoming call status information, and when the CRC check on the incoming call status information passes, parsing the received data frame of the incoming call status information to extract the incoming call information of the incoming call signal. Preferably, the data frame of the incoming call status information includes a frame header of the data frame, a data length of the data frame, a call type, a telephone number, and CRC check data. The call information of the incoming call signal includes a call type and a telephone number.
[0098] That is, when the massage chair receives the data frame sent by the mobile terminal, it first performs a CRC check on the data frame to determine whether the data of the received call status information is complete and correct. If the CRC check passes, the data frame is further parsed. More specifically, the parsing of the data frame in this embodiment can adopt a state machine algorithm, and extract the key information of the call signal according to the format definition of the data frame. For example, the format of the data frame of the call status information is: | Frame header (2 bytes) | Data length (1 byte) | Call status (1 byte) | Phone number (11 bytes) | CRC check (2 bytes) |. Among them, the call type field is 0x00, indicating no call. The call type field is 0x01, indicating an ordinary phone. The call type field is 0x02, indicating a video call. The call type field is 0x03, indicating an unknown type.
[0099] The incoming call information of the incoming call signal, that is, the incoming call type and telephone number, is obtained by identifying the data frame of each incoming call status information according to the format of the above data frame, so as to determine the incoming call type and telephone number of the incoming call signal, and then the priority of the incoming call signal is obtained by combining the priority decision model constructed in the system.
[0100] In this embodiment, the priority of the incoming call signal is obtained by using a priority decision model. Specifically, a decision tree model is pre-constructed in the system, so that the incoming call type and phone number of the identified incoming call signal are added to the decision tree model to output the priority of the incoming call signal. Among them, the decision tree model is to collect the historical incoming call data of the user so as to extract the label of the phone number according to the historical incoming call data of the user, such as the phone number is a work number, a home number, an unknown number, etc.; at the same time, set the priority setting rules, such as using the phone number as a judgment criterion: when the phone number is a work number or a home number, in order to avoid missing calls, its priority is generally set to a high priority; on the contrary, when the phone number is an unknown number, such as a harassing call, etc., to avoid disturbing the user, its priority is set to a low priority; for other numbers, its priority can be set to a medium priority; when the call type is the judgment criterion: when the incoming call type of the incoming call signal is a video call voice call, its priority is higher; when the incoming call type of the incoming call signal is a voice call, its priority is medium; when the incoming call signal is a message notification, its priority is the lowest. The present invention generates a decision tree model by setting the priority setting rules mentioned above to realize the judgment of the priority of the incoming call signal.
[0101] Step S4: When the priority of the incoming call signal meets the preset requirements, the vibration module installed inside the massage chair is driven to vibrate to remind the user to answer the incoming call signal; at the same time, during the vibration reminder, the music playback volume of the massage chair is lowered to a preset value. After the priority of the incoming call signal is identified, different incoming call processing strategies are executed according to the different priorities of the incoming call signal, so as to ensure that the user will not miss important or urgent calls while ensuring the user's massage experience. Specifically, for example, the incoming call processing strategy may include: pausing massage, gradually reducing massage intensity, etc.
[0102] Specifically, when the priority of the incoming call signal is greater than the preset priority, the vibration reminder is performed according to the preset vibration parameters by driving the vibration module installed in the massage chair. For example, when the incoming call signal is a video call, its priority is higher than the preset priority, and the vibration reminder in the massage chair is driven to perform a vibration reminder to remind the user to answer the call. On the contrary, when the priority of the incoming call signal is lower than the preset priority, in order to ensure the user's massage experience, the vibration reminder function is not triggered, and the call information of the missed call is saved and a missed call list is generated, so that the user can check the missed calls later.
[0103] In addition, when the incoming call signal is answered, the massage chair is driven to suspend massage; and when the incoming call signal is answered, the massage chair is driven to perform massage again according to the second preset massage mode.
[0104] Since the incoming call reminder in this embodiment also adopts vibration reminder, therefore, during the vibration reminder process, the massage chair is driven and controlled to work according to the first preset massage mode. Specifically, for example, when a high-priority incoming call signal is received, the massage of the massage chair can be paused, and the massage can be resumed after the user finishes answering the call. At the same time, the process of pausing the massage can be gradual (for example: first reduce the massage intensity from the current value to 0, and then stop the massage to avoid the discomfort caused by the sudden interruption of the massage to the user); after the pause time is over, the massage intensity is restored to the level before the pause in the same gradual manner. Among them, the massage intensity gradual change formula: massage intensity = current intensity * (1-t / gradient time). In the formula, t is the time in the gradual change process, in seconds; the gradual change time can be determined according to the specific settings of the massage chair, generally 1-2 seconds. On the contrary, when a low-priority incoming call signal is received, the massage can be not paused, but the user can be reminded of the incoming call by reducing the massage intensity. For example, the massage intensity is reduced to 50%, lasting for 30 seconds, and then gradually restored to the original intensity. This will not interrupt the user's massage experience, but also serve as a call reminder. Similarly, when the priority of the incoming call signal received is low, such as a harassing call, the massage will not be paused, and the user will not be notified of the incoming call, and a missed call message will be generated for the user to check later.
[0105] More preferably, in step S4, during the vibration reminder process, the music playback volume of the massage chair is lowered to a preset volume value, specifically including: controlling the operation of the speaker installed in the massage chair according to the preset volume value, and playing the incoming call ringtone of the incoming call signal to the user. The user can be further reminded of the incoming call by synchronously playing the incoming call ringtone. That is, during the incoming call reminder process, this embodiment also lowers the music playback volume of the massage chair to a preset value, and drives the music of the speaker provided in the monitoring environment to play according to the preset value. By lowering the music playback volume of the massage chair, it is ensured that the user can hear the incoming call ringtone or feel the incoming call reminder. At the same time, during the process of answering the incoming call, the music playback volume is also lowered to the preset value to ensure that the user can answer the call.
[0106] Preferably, step S4 further includes: when the vibration reminder starts, starting the timer to count, and when the timing time reaches the preset time and the incoming call signal is not answered, recording the call information of the incoming call signal to generate a new missed call, and then storing the new missed call in the missed call list. At the same time, the music playback volume of the massage chair is restored to the music playback volume of the massage chair when the massage chair is paused, that is, the music playback volume of the massage chair is reset. When the music playback volume of the massage chair is restored, continue to execute steps S1-step S2 to dynamically adjust the music playback volume of the massage chair until the user ends the massage.
[0107] Specifically, the call status and missed call time can be checked at regular intervals by using a timer interrupt method. The call status flag is read to determine whether the user has answered the call. If the user has answered the call, the timing is stopped and the missed call processing flow is exited. When the vibration reminder is triggered and the timing time reaches the preset time threshold, the missed call event is triggered, and the incoming call signal is recorded as a missed call and saved in the missed call record table for the user to view later. At the same time, according to the previously recorded music playback volume parameters, the music playback volume of the massage chair is adjusted back to the normal level to restore the music playback effect. Among them, the incoming call signal is recorded as a missed call and saved in the missed call record table, and the caller number and call time of the incoming call signal are also saved. At the same time, the timestamp and status fields of the missed call record table are updated, marked as the latest missed call, so that the user can view it later; the missed call counter is increased by 1 to record the accumulated number of missed calls.
[0108] Preferably, in step S6, driving the vibration module installed in the massage chair to vibrate according to preset vibration parameters to remind specifically includes: generating a pulse width modulation signal according to the preset vibration parameters and sending the pulse width modulation information to each vibration module to control the corresponding vibration module to vibrate.
[0109] Among them, the preset vibration parameters include vibration frequency and vibration intensity.
[0110] Preferably, the vibration module is installed in the vibration target vibration area of the massage chair, and the vibration reminder is realized by driving the vibration module to remind the user of the incoming call. Among them, the vibration target vibration area of the massage chair can be set on the backrest, seat or armrest of the massage chair to distinguish it from the massage area of the massage chair. Furthermore, the vibration module in this embodiment adopts a linear motor, and the linear motor is driven to generate effective vibration in the vibration target vibration area to achieve the purpose of reminding the user.
[0111] Preferably, the present invention uses PWM (pulse width modulation) technology to control the vibration intensity and frequency of the linear motor, thereby forming a rhythmic micro-vibration effect. Specifically, different priorities can set different vibration intensities and frequencies. In this way, after the priority of the incoming call signal, the corresponding vibration intensity and vibration can be matched from the system, and then the duty cycle and frequency of the PWM signal can be used to control the linear motor to provide the corresponding vibration effect. Different vibration effects can be produced by different duty cycle and frequency combinations. The generation of PWM signals can be achieved using a single-chip microcomputer or a PWM control chip. Different types of incoming calls can correspond to different vibration modes to distinguish the priority of reminders. For calls from important contacts, vibrations with longer duration (such as 5 seconds) and higher intensity (such as a duty cycle of 80%) can be used; and for emergency calls, vibrations with higher frequency (such as 200Hz) and faster rhythm (such as 2 times per second) can be used. These vibration modes can be achieved by a pre-designed PWM parameter table. After identifying the caller information of the incoming call signal, the corresponding PWM parameters can be quickly looked up in the table and applied to the motor control. When the user answers the call or the call ends, the vibration reminder needs to be stopped. The massage chair can give differentiated vibration reminders according to the type of incoming call. This intelligent interactive method can greatly improve the user experience of the massage chair, allowing users to enjoy the massage while not missing important calls.
[0112] In addition, for the vibration intensity and frequency of the massage chair, the user's vibration reminder can be personalized by collecting the vibration reminder intensity and frequency data fed back by the user to meet the user's personalized needs. Specifically, by collecting the user's historical data on the use of the massage chair, a machine learning algorithm is used to build the user's vibration reminder model, so that when the user is using the massage chair, when the mobile terminal is connected to the massage chair via Bluetooth communication, the user's historical data on the use of the massage chair can be obtained from the cloud, and a setting page for the vibration reminder intensity and frequency can be provided to the user to collect the user's setting data, so as to use the machine learning algorithm to build the user's vibration reminder model. Once an incoming call signal is detected and the vibration reminder is triggered, the corresponding vibration efficiency can be generated according to the vibration parameter data in the user's vibration reminder model to meet the user's answering habits and vibration sensitivity.
[0113] Among them, the historical data of users using the massage chair may include the adjustment of the vibration reminder intensity and frequency every time the user answers the phone, the time when the user receives a call reminder, etc., and the corresponding user's vibration feedback data is obtained at the same time. In this way, the user's historical setting data and vibration feedback data are used as training samples and input into the decision tree and support vector machine model to train the vibration reminder model. According to the vibration reminder model, the vibration reminder intensity and frequency parameters are dynamically adjusted to obtain the optimized vibration reminder mode. At the same time, when the data of new users using the massage chair is recorded, the vibration reminder model is updated by updating the training samples.
[0114] When the user uses the massage chair for the first time, the user can also be provided with a vibration reminder parameter setting page through the mobile terminal or the touch screen of the massage chair to obtain the user's setting parameters for the intensity and frequency of the vibration reminder as the user's initial value of the vibration reminder. After receiving the incoming call, the user can be provided with the vibration reminder parameter setting page again to obtain the user's updated parameters for the intensity and frequency of the vibration reminder and update the initial value stored in the system.
[0115] Specifically, the user can set the intensity and frequency of the vibration reminder through the control panel on the massage chair or the mobile phone APP, for example, set the vibration intensity to 50% and the frequency to 100Hz. These setting parameters will be saved in the memory of the massage chair as the initial value of the personalized vibration reminder. When a call is received, these parameters are read and converted into the duty cycle and frequency value of the PWM signal, and the linear motor is controlled to vibrate with the corresponding intensity and frequency to remind the user to answer the call. At the same time, the user's adjustment of the vibration reminder every time he answers the call is also recorded, such as the user adjusts the vibration intensity from 50% to 60%, and the frequency from 100Hz to 120Hz. These adjustment data will be saved to form the user's historical setting data. In addition, this embodiment also installs a pressure sensor and an acceleration sensor on the massage chair to collect the user's feedback data under the vibration reminder, such as the time to answer the call after the vibration reminder starts. Specifically, if the user answers the call within 3 seconds after the vibration reminder starts, it means that the current vibration intensity and frequency settings are valid; on the contrary, when the user adjusts the vibration intensity multiple times during the vibration reminder process, it means that the current vibration intensity setting may not be appropriate. Collect the user's historical setting data and vibration feedback data to form training samples, where each sample contains multiple features such as vibration intensity, frequency, user adjustment behavior, feedback behavior, etc.; then input these training samples into a machine learning model, such as a decision tree model, select the optimal features through indicators such as information gain, and recursively construct a decision tree. Among them, each non-leaf node of the decision tree represents a feature, such as vibration intensity>60%; each leaf node represents a decision result, such as keeping the current vibration intensity unchanged. When the decision tree model is established, it can be used to predict the optimal vibration reminder parameters. At the same time, the user's acceptance and adjustment of the optimized vibration reminder mode can be continuously recorded, added to the original training sample set, and re-entered into the machine learning model for training, so as to achieve continuous optimization of the model. This online learning method allows the vibration reminder mode to evolve over time and always keep in sync with user habits and preferences. The massage chair can intelligently adjust the intensity and frequency of the vibration reminder, giving users a more intimate and comfortable human-computer interaction experience.
[0116] Furthermore, in order to ensure that the user can clearly hear the incoming call ringtone, in this embodiment, when the vibration reminder function is triggered, the music playback volume of the massage chair is also reduced to a preset value to ensure that the user can clearly hear the incoming call ringtone. That is, when the vibration reminder function is triggered, the volume reduction mechanism is triggered. Specifically, the incoming call volume parameter preset by the user can be obtained and used as the target value for reducing the music playback volume, and then the audio data of the music playback of the massage chair is processed in real time to reduce the amplitude of the audio signal and realize the volume reduction function. Specifically, by analyzing the spectrum of the audio signal, the main frequency band of the music playback is determined, and selective attenuation is performed within the frequency band to avoid affecting the sounds of other frequency bands (such as incoming call ringtones). According to the target value of the volume reduction and the original volume of the music playback, the volume attenuation coefficient is calculated to control the attenuation degree of the audio signal. The audio data after the volume is reduced is transmitted to the audio player to replace the original audio data, so as to realize the real-time adjustment of the music playback volume. The state of the vibration reminder is continuously monitored. If the vibration reminder ends or the user answers the phone, the volume reduction function is stopped and the music playback volume is restored to the original level to ensure that the massage experience is not affected.
[0117] More preferably, the present invention also includes: an experience feedback step: when the user finishes using the massage chair, a feedback report collection form of the massage chair usage experience is sent to the user through the mobile terminal or the touch screen of the massage chair to construct the user's massage chair usage data set.
[0118] Among them, the user's massage chair data set includes multiple user massage chair usage records, such as the start time of use, the end time of use, the number of calls answered, the vibration reminder time for each call answered, the music playback volume setting data, the massage setting data and other data.
[0119] Specifically, users' satisfaction evaluation and improvement memory of the volume control and vibration reminder functions during the use of the massage chair can be collected through feedback methods such as online questionnaires or emails, and user feedback data can be obtained and uploaded to the cloud server. The cloud server then uses a support vector machine or decision tree algorithm to perform sentiment analysis on the user feedback data to determine the user's satisfaction with the current volume control and vibration reminder functions. Specifically, users can express their subjective feelings by selecting a preset satisfaction level (very satisfied, satisfied, average, dissatisfied, very dissatisfied) or filling in open-ended opinions and suggestions. These feedback data are uploaded to the cloud server and regularly summarized and analyzed.
[0120] These event data will be uploaded to the cloud server regularly, and together with the user feedback data, they form the basis of big data analysis. On the cloud server, you can use big data processing frameworks such as Hadoop and Spark to perform ETL (extraction, transformation, loading) operations on the data, converting structured and unstructured data into a unified format for subsequent analysis. The text content in the user feedback data can be processed by word segmentation and stop word removal to extract keywords and sentiment tendencies. For user satisfaction analysis, the support vector machine (SVM) algorithm can be used for sentiment classification. Use user feedback data as training samples, manually annotate positive, negative, neutral and other sentiment labels, and train the SVM model. During the training process, you can use methods such as grid search to optimize the hyperparameters of the SVM, such as the penalty coefficient C, the kernel function type, etc., to improve the classification accuracy of the model. When new user feedback data arrives, you can use the trained SVM model to predict sentiment and obtain quantitative evaluation results of user satisfaction. For user preference distribution analysis, you can use statistical methods to calculate the distribution of various parameters. For volume adjustment data, the volume level most frequently used by users, the average amplitude of volume adjustment, etc. can be calculated: Copycode Most commonly used volume = mode (new volume) Average adjustment amplitude = mean (|new volume - old volume|) For vibration reminder data, the average trigger frequency, answering rate, etc. can be calculated: Average trigger frequency = sum (incoming_call) / (max (timestamp) - min (timestamp)) Answering rate = sum (answered) / sum (incoming_call) Based on the results of user satisfaction and preference distribution analysis, the optimization direction and improvement measures can be determined. If users are generally dissatisfied with the current vibration rhythm, they can try to adjust the frequency and intensity parameters of the vibration; if the user's most commonly used volume level is concentrated between 60 and 70, the default volume can be set within this range. After determining the optimization strategy, the update package can be pushed to the user's massage chair through OTA technology. OTA updates can be incremental updates, transmitting only the changed parts, reducing the amount of data and update time. At the same time, the A / B test method can be used to randomly divide users into an experimental group and a control group, push the new version of the firmware to the experimental group, and push the old version of the firmware to the control group. By comparing the feedback and usage data of the two groups of users, the effect of the new function can be evaluated. During the entire optimization process, it is necessary to continuously monitor the changing trends of user feedback and usage data to evaluate the effectiveness of the optimization measures. The effect can be quantified by setting KPIs (key performance indicators). For example, the optimization goals are to increase user satisfaction by 10% and reduce the number of volume adjustments by 20%. Regularly review the optimization results, dynamically adjust the optimization strategy according to the actual results, and form a closed-loop continuous optimization mechanism so that the intelligent functions of the massage chair can always meet the needs of users and provide a relaxing and comfortable massage experience.
[0121] Embodiment 2
[0122] The present invention also provides another embodiment, a volume control device based on a massage chair and a mobile terminal, including a memory and a processor, wherein the memory stores a volume control program running on the processor, and the volume control program is a computer program. When the processor executes the volume control program, the steps of the volume control method based on the massage chair and the mobile terminal provided in the first embodiment are implemented.
[0123] Embodiment 3
[0124] The present invention provides another embodiment, a computer-readable storage medium, on which a volume control program is stored. The volume control program is a computer program. When the volume control program is executed by a processor, the steps of the volume control method based on a massage chair and a mobile terminal provided in the first embodiment are implemented.
[0125] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.
Claims
1. A volume control method based on a massage chair and a mobile terminal, characterized in that: The volume control method comprises: Noise monitoring step: acquiring original noise audio data of the monitoring environment where the massage chair is located in real time and performing feature extraction on the original noise audio data to obtain a real-time environmental noise index of the monitoring environment; Music volume control step: dynamically adjusting the music playback volume of the massage chair according to the real-time environmental noise index of the monitored environment and the user volume preference setting level; the music volume control step specifically includes: dynamically adjusting the music playback volume of the massage chair according to the environmental noise index of the monitored environment and the user volume preference level and the adaptive volume control algorithm constructed by the system; wherein each user volume preference level is provided with a corresponding noise index range; The adaptive volume control algorithm is used to map the calculated environmental noise index to the interval [0,1] to obtain a normalized noise index, and construct the music playback volume of the massage chair according to the following formula; wherein the formula is specifically: V opt =V base *(1+k*L norm ); Where: V opt Adjust the volume of music played on the massage chair; V base is the reference music playback volume of the monitoring environment where the massage chair is located, which is a constant; k is the volume adjustment coefficient of the user volume preference level, and different volume adjustment coefficients are used for different user volume preference levels; L norm is the normalized noise index, specifically: L norm =(L A -L min ) / (L max -L min ), where L A is the environmental noise index; L min and L max are respectively the minimum and maximum values of the environmental noise index in the monitoring environment, which are obtained based on the environmental noise index calculated historically; Incoming call identification step: connecting the massage chair with a mobile terminal via Bluetooth communication to obtain an incoming call signal from the mobile terminal and identifying the incoming call information of the incoming call signal, and then obtaining the priority of the incoming call signal according to the incoming call information of the incoming call signal; Incoming call control step: when the priority of the incoming call signal meets the preset requirement, the vibration module installed inside the massage chair is driven to vibrate to remind the user to answer the incoming call signal; at the same time, the music playback volume of the massage chair is lowered to a preset value during the vibration reminder process; The incoming call control step specifically includes: when the priority of the incoming call signal is greater than the preset priority, driving the vibration module installed in the massage chair to vibrate and remind according to the preset vibration parameters; at the same time, during the vibration reminder process, driving and controlling the massage chair to perform massage work according to the first preset massage mode; When the incoming call signal is answered, the massage chair is driven to suspend massage; and when the user finishes answering the incoming call, the massage chair is driven to perform massage again according to a second preset massage mode; The step of lowering the music playback volume of the massage chair to a preset volume value during the vibration reminder process further includes: driving and controlling the operation of a speaker installed in the massage chair according to the preset volume value, and playing an incoming call ringtone of the incoming call signal to the user; When the vibration reminder starts, the timer is started to count, and when the timing time reaches the preset time and the incoming call signal is not answered, the call information of the incoming call signal is recorded and a new missed call is generated, and then the new missed call is stored in the missed call list; at the same time, the music playback volume of the massage chair is restored to the music playback volume of the massage chair when the massage is paused; The method of driving the vibration module installed in the massage chair to vibrate and remind according to the preset vibration parameters specifically includes: generating a pulse width modulation signal according to the preset vibration parameters and sending the pulse width modulation signal to each vibration module to control the corresponding vibration module to vibrate; wherein the preset vibration parameters include vibration frequency and vibration intensity; the vibration module is a linear motor, there are one or more linear motors, and each linear motor is installed in a corresponding target vibration area of the massage chair; the target vibration area of the massage chair does not overlap with the massage area of the massage chair; The preset vibration parameters are obtained according to a vibration reminder optimization model constructed in the system; wherein, the vibration reminder optimization model is obtained through the following steps: obtaining the user's vibration history setting data and historical vibration feedback data stored in the system to construct a training sample of a machine learning model, so as to train and obtain the vibration reminder optimization model; wherein, the user's vibration history setting data includes the user's vibration frequency and vibration intensity for vibration reminders obtained by providing the user with a parameter setting page for vibration reminders; the historical vibration feedback data includes the vibration reminder time each time the user answers an incoming call signal and whether there is vibration intensity adjustment data.
2. The volume control method based on a massage chair and a mobile terminal according to claim 1, characterized in that: The noise monitoring step specifically includes: Noise pickup step: picking up original noise audio data in the monitoring environment in real time by a sound pickup device installed in the monitoring environment; the sound pickup device includes a condenser microphone; Preprocessing step: preprocessing the original noisy audio data; wherein the preprocessing includes removing the silent segments in the original noisy audio data by setting a silent threshold and performing noise reduction on the original noisy audio data by using a median filter; Identification calculation step: extracting features from the preprocessed noise audio data to obtain feature parameters, and obtaining the environmental noise index of the monitoring environment according to the feature parameters of the noise audio data and a pre-constructed noise assessment model; wherein the feature parameters include energy, bandwidth and harmonic components of the noise; The noise assessment model is specifically constructed through the following steps: first, each piece of original noise audio data and the corresponding environmental noise index in the historical monitoring data of the monitoring environment are collected to construct a data set, and features are extracted for each piece of original noise audio data in the data set to obtain corresponding feature parameters; then, the feature parameters of each piece of original noise audio data are used as input data of a support vector regression model constructed by the system, and the corresponding environmental noise index is used as output data of the support vector regression model constructed by the system to train the support vector regression model, thereby constructing the noise assessment model.
3. The volume control method based on a massage chair and a mobile terminal according to claim 1, characterized in that: The music volume control step further includes: driving a plurality of speakers arranged in the monitoring environment to play music according to the music playing volume of the massage chair obtained after dynamic adjustment; wherein the installation positions of the plurality of speakers arranged in the monitoring environment are specifically obtained by the following steps: Speaker layout step: obtaining the layout structure data of the massage chair and inputting it into the speaker array optimization design model pre-built by the system to obtain the layout plan of the speakers of the massage chair; wherein the layout plan of the speakers of the massage chair includes the number of speakers, installation positions and speaker directions; Speaker layout optimization step: optimizing the layout of the speakers of the massage chair by using a sound field synthesis method, so that the music can be played evenly in different music playing areas of the massage chair; Speaker layout verification step: using simulation technology to drive each speaker to play music on the optimized layout of the massage chair's speakers, thereby obtaining a sound pressure level distribution diagram of different music playing areas of the massage chair; and judging the volume of different music playing areas of the massage chair based on the sound pressure level distribution diagram of different music playing areas of the massage chair, and then judging whether the volume of different music playing areas of the massage chair meets the requirements: If so, the number, installation positions and speaker orientations of the speakers provided in the monitoring environment are obtained according to the layout plan of the speakers of the massage chair; If not, return to the speaker layout optimization step to continue adjusting the layout of the speakers of the massage chair; The layout structure data of the massage chair includes the length, width and height of the massage chair; and the different music playing areas of the massage chair include the head, back and legs of the massage chair.
4. The volume control method based on a massage chair and a mobile terminal according to claim 1, characterized in that: The caller identification step specifically includes: Incoming call signal acquisition step: by connecting the massage chair with the mobile terminal via Bluetooth communication to acquire the incoming call status information sent by the mobile terminal and performing CRC check on the incoming call status information; and when the CRC check passes, parsing the data frame of the incoming call status information to extract the incoming call information of the incoming call signal; wherein the data frame of the incoming call status information includes a frame header of the data frame, a data length of the data frame, an incoming call type, a telephone number and CRC check data; the incoming call information of the incoming call signal includes an incoming call type and a telephone number; Priority determination step: deriving the priority of the incoming call signal according to the incoming call information of the incoming call signal and a priority decision tree model of the incoming call signal in the system; Among them, the priority decision tree model of the incoming call signal is constructed by the hierarchical definition of the priority of the incoming call signal constructed by the system, the historical incoming call data of the user's mobile terminal collected, and the user's incoming call mark; the historical incoming call data of the user's mobile terminal includes the incoming call number, the number of incoming calls, the number of calls answered, the duration of each call answering, the call time and whether the call seems to be marked; the user's incoming call mark includes important numbers, regular numbers, and unknown numbers.
5. The volume control method based on a massage chair and a mobile terminal according to claim 1, characterized in that: Also includes: Feedback experience step: When the user finishes using the massage chair, a feedback report collection form for the massage chair usage experience is sent to the user through a mobile terminal or the touch screen of the massage chair to obtain the user's feedback experience data on the use of the massage chair, and then generate the user's massage chair usage record to construct the user's massage chair usage data set.
6. A volume control device based on a massage chair and a mobile terminal, comprising a memory and a processor, characterized in that: The memory stores a volume control program running on the processor, and the volume control program is a computer program. When the processor executes the volume control program, the steps of the volume control method based on the massage chair and the mobile terminal as described in any one of claims 1-5 are implemented.
7. A computer-readable storage medium having a volume control program stored thereon, characterized in that: The volume control program is a computer program, and when the volume control program is executed by a processor, the steps of the volume control method based on a massage chair and a mobile terminal as described in any one of claims 1 to 5 are implemented.
