Audio-regulated sound playing method, playing system and electronic device
By pre-storing a personalized control sound database in the range hood, and generating a mixture of target control sound and noise based on user preferences, the problem of poor user experience is solved, personalized audio control sound playback is achieved, and the user experience is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU ROBAM APPLIANCES CO LTD
- Filing Date
- 2023-03-23
- Publication Date
- 2026-04-14
AI Technical Summary
Existing range hoods with audio injection capabilities cannot provide personalized sound adjustments based on different users' preferences, resulting in a poor user experience.
By pre-storing a database of personalized control sounds in the range hood, personalized control sounds are selected based on the user's playback preferences. Combining user preference data and parameters, a target control sound is generated and mixed with the range hood noise to provide a personalized superimposed sound experience.
It enhances the user experience by providing personalized sound playback control solutions to meet the auditory needs of different users and improve the sound quality of the range hood.
Smart Images

Figure CN116320892B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of range hood technology, and in particular to an audio-controlled sound playback method, playback system, and electronic device. Background Technology
[0002] When people cook in the kitchen, the range hood in the kitchen will produce noise. In order to improve people's cooking experience, range hoods with audio injection function were developed. This type of range hood adds another audible sound (control sound) to the original range hood noise (target sound), so that the user hears a mixture of the two (superimposed sound). The addition of the control sound improves the sound quality of the target sound and enhances the auditory comfort of the range hood.
[0003] However, existing range hoods with audio injection functions generally mix pre-set control sounds with target sounds. Different users may have completely different experiences with the same audio. Uniform control sounds cannot bring a good user experience and will reduce the user's sense of use. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, system and electronic device for playing audio control sounds, thereby providing each user with the best control sound playback solution and improving the user experience.
[0005] In a first aspect, embodiments of the present invention provide a method for playing audio control sounds, applied to a range hood. The range hood has a pre-stored personalized control sound database, which is constructed based on control sounds selected by the user's playback preferences. The method includes: when receiving an instruction to activate the audio injection function, acquiring the working state of the range hood; the working state includes a normal working state and a stopped working state; if the working state of the range hood is the normal working state, determining a target control sound from the personalized control sound database; the target control sound is the control sound last played when the range hood was last used; playing the target control sound to mix the target control sound with a target sound to obtain a superimposed sound; the target sound is the noise emitted by the range hood during operation.
[0006] Furthermore, user playback preferences include playback by type, playback by group, and playback by annoyance level.
[0007] Furthermore, the steps for setting user playback preferences include: acquiring user preference data; preference data includes scene preferences, usage frequency, and volume preferences; determining target preference parameters corresponding to the user's preference data based on the preset correspondence between preference data and preference parameters; wherein, preference parameters include sound type, psychological parameters, and annoyance level; if the proportion of sound type in the target preference parameters is greater than a first threshold, the user's playback preference is determined to be playback by type; if the proportion of psychological parameters in the target preference parameters is greater than a first threshold, the user's playback preference is determined to be playback by group; if the proportion of annoyance level in the target preference parameters is greater than a first threshold, the user's playback preference is determined to be playback by annoyance level.
[0008] Furthermore, the personalized control sound database is established through the following steps: obtaining user playback preferences; if the user's playback preference is to play by type, obtaining all initial control sound samples in the initial personalized control sound database whose control sound type is the target control sound type as category control sound samples; if the user's playback preference is to play by group, obtaining all initial control sound samples in the initial personalized control sound database whose psychological parameters are the target psychological parameters as group control sound samples; if the user's playback preference is to play by annoyance level, obtaining all initial control sound samples in the initial personalized control sound database whose annoyance level is the target annoyance level as annoyance level control sound samples; and constructing a personalized control sound database based on the category control sound samples, or the group control sound samples, or the annoyance level control sound samples.
[0009] Furthermore, the initial personalized control sound database is established through the following steps: taking user preference data and target preference parameters as input, initial control sound samples are obtained through a pre-trained control sound selection model; and the initial personalized control sound database is determined based on the initial control sound samples.
[0010] Furthermore, the control sound selection model is established through the following steps: acquiring multiple control sound samples and multiple target sound samples; preprocessing the control sound samples and target sound samples to obtain preprocessed control sound samples and preprocessed target sound samples, respectively; generating multiple superimposed sound samples with different signal-to-noise ratios based on the preprocessed control sound samples and preprocessed target sound samples; acquiring the preference parameters of the superimposed sound samples and the preference data of the subjects given by multiple subjects; using the preference parameters and preference data as inputs and the preprocessed control sound samples corresponding to the superimposed sound samples as outputs to train the initial control sound model until the preset training conditions are met, thus obtaining a trained control sound model.
[0011] Furthermore, the method also includes: recording the number of loops of the current control sound and the number of times the audio injection function is triggered before the target control sound finishes playing; when the number of loops is greater than or equal to the preset number of loops, or the number of triggers is greater than or equal to the preset number of triggers, the current control sound is switched to any other control sound in the personalized control sound database according to the user's playback preference.
[0012] Secondly, embodiments of the present invention provide an audio control sound playback system applied to a range hood. The range hood has a pre-stored personalized control sound database, which is constructed based on control sounds selected according to user playback preferences. The system includes: a working state judgment module, used to obtain the working state of the range hood when receiving an audio injection function activation command; the working state includes a normal working state and a stopped working state; a control sound selection module, used to determine a target control sound from the personalized control sound database if the working state of the range hood is normal working state; the target control sound is the control sound last played when the range hood was last used; and a control sound playback module, used to play the target control sound so that the target control sound and the target sound are mixed to obtain a superimposed sound; the target sound is the noise emitted by the range hood during operation.
[0013] Thirdly, embodiments of the present invention provide an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described above.
[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, the program code causing the processor to perform the method described above.
[0015] This invention provides a method, system, and electronic device for playing audio control sounds, applied to a range hood. The range hood has a pre-stored personalized control sound database, constructed based on control sounds selected from user playback preferences. The method includes: when receiving an audio injection function activation command, acquiring the range hood's operating status; the operating status includes normal operation and stopped operation; if the range hood is in normal operation, determining a target control sound from the personalized control sound database; the target control sound is the control sound last played during the range hood's previous use; playing the target control sound to mix the target control sound with a superimposed sound; the target sound is the noise emitted by the range hood during operation. In this method, by selecting control sounds based on user preference data and parameters to construct a personalized control sound database, and by playing control sounds from different users' personalized control sound databases, the optimal control sound playback scheme is provided for each user, thereby improving the user experience.
[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0017] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart of an audio control sound playback method provided in Embodiment 1 of the present invention;
[0020] Figure 2 A flowchart illustrating the steps for setting user playback preferences according to Embodiment 1 of the present invention;
[0021] Figure 3 A flowchart illustrating the steps for establishing a personalized controllable sound database as provided in Embodiment 1 of the present invention;
[0022] Figure 4 A flowchart illustrating the steps for establishing the initial personalized control sound database provided in Embodiment 1 of the present invention;
[0023] Figure 5 A flowchart illustrating the steps for establishing the controlled acoustic selection model provided in Embodiment 1 of the present invention;
[0024] Figure 6 This is a flowchart of the control sound switching process provided in Embodiment 1 of the present invention;
[0025] Figure 7 This is a schematic diagram of an audio control sound playback system provided in Embodiment 2 of the present invention.
[0026] Icons: 1-Working status judgment module; 2-Control sound selection module; 3-Control sound playback module. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] To facilitate understanding of this embodiment, the embodiments of the present invention will be described in detail below.
[0029] Example 1:
[0030] Figure 1 This is a flowchart of an audio control sound playback method provided in Embodiment 1 of the present invention.
[0031] Reference Figure 1 The method of playing audio control sounds is applied to range hoods. The range hood has a pre-stored database of personalized control sounds, which is constructed based on the control sounds selected by the user's playback preferences.
[0032] Here, different users have different preferences for different sounds. The personalized control sound database can provide pre-stored control sounds that match the user's preferences based on user preference data, preference parameters, and playback preferences. When the range hood produces noise, the database selects a control sound to play in order to reduce the noise of the range hood and play the user's preferred control sound to improve the user experience.
[0033] The methods include:
[0034] Step S101: When the audio injection function is activated, the working status of the range hood is obtained; the working status includes normal working status and stopped working status.
[0035] Here, the audio function activation command can be input by the user through the range hood's touch panel, through the range hood's remote control device, or through a mobile phone, computer, or other remote control device. The remote control device is communicatively connected to the range hood.
[0036] Step S102: If the range hood is in normal working condition, determine the target control sound from the personalized control sound database; the target control sound is the control sound that was last played when the range hood was last used.
[0037] Step S103: Play the target control sound so that the target control sound and the target sound are mixed to obtain a superimposed sound; the target sound is the noise emitted by the range hood when it is running.
[0038] Here, the target audio can be selected to continue playing from the last position, or it can be selected to start playing again from the beginning.
[0039] Audio injection is a noise control method that improves the overall quality of sound (such as comfort and pleasantness) by adding one sound to alter the auditory perception of another. The sound added to the original noise during audio injection is called the modulating sound, the original noise (usually the noise from a range hood) is called the target sound, and the mixture of the target sound and the modulating sound is called the superimposed sound.
[0040] In one embodiment, user playback preferences include playback by type, playback by group, and playback by annoyance level.
[0041] Figure 2 This is a flowchart illustrating the steps for setting user playback preferences according to Embodiment 1 of the present invention.
[0042] Reference Figure 2 The steps for setting user playback preferences include:
[0043] Step S201: Obtain user preference data; preference data includes scene preference, usage frequency and volume preference.
[0044] Here, after the range hood is initialized, user preference data is sent to the range hood's touch panel or a remote control device connected to the range hood in the form of a user preference questionnaire. The control module in the range hood determines the user's preference data based on the user's answers in the user preference questionnaire. The user preference questionnaire is pre-set to meet the survey criteria.
[0045] Scene preferences include cooking scenarios such as hot pot, stir-fry, and steaming; usage frequency refers to the frequency of using the range hood, including three times a day, twice a day, and once a week; volume preference refers to the volume of the range hood when it is used, which can be set to low, medium, and high.
[0046] Step S202: Based on the preset correspondence between preference data and preference parameters, determine the target preference parameters corresponding to the user's preference data; wherein, the preference parameters include the type of sound to be controlled, psychological parameters, and annoyance level.
[0047] Here, the pre-defined correspondence between preference data and subjective evaluation data is obtained through a prior subjective evaluation experiment.
[0048] The types of controlled sounds include natural sounds, musical instrument sounds, and artificially synthesized sounds. Natural sounds include the sound of flowing water, birdsong, and campfire; musical instrument sounds include the sound of piano and guzheng; and artificially synthesized sounds include white noise.
[0049] Psychological parameters include loudness, sharpness, harshness, tone modulation, and wave intensity;
[0050] Annoyance level refers to the annoyance response caused by noise. In this embodiment, annoyance level can be quantified. Generally, multiple people can rate the annoyance level of the same sound, and the specific numerical value of the annoyance level is obtained based on the ratings. In this embodiment, annoyance level is distinguished according to sound pressure level. That is, users can rate multiple sounds at different sound pressure levels, and then obtain the specific numerical value of the annoyance level of the sound based on the ratings. This is the annoyance level evaluation experiment.
[0051] Step S203: If the proportion of the control sound type in the target preference parameters is greater than the first threshold, determine that the user's playback preference is playback by type.
[0052] Here, the first threshold can be set according to the actual situation, and can be set to 0.6. When the proportion of the control sound type in the target preference parameters exceeds 0.6, it indicates that the user prefers the control sound to be continuous. Without considering the influence of psychological parameters and annoyance level, and only considering the control sound type, the user's playback preference is determined to be playback by type.
[0053] Step S204: If the proportion of psychological parameters in the target preference parameters is greater than the first threshold, determine that the user's playback preference is playback by group.
[0054] Here, when the proportion of psychological parameters in the target preference parameters exceeds 0.6, it indicates that users are more inclined to select control sounds based on objective indicators such as loudness, sharpness, roughness, tone modulation, and fluctuation intensity. Without considering the influence of control sound type and annoyance level, and only considering psychological parameters, the user's playback preference is determined to be playback by group.
[0055] Step S205: If the proportion of annoyance level in the target preference parameters is greater than the first threshold, determine that the user's playback preference is playback based on annoyance level.
[0056] Here, when the proportion of annoyance level in the target preference parameters exceeds 0.6, it indicates that the user is more inclined to consider the audio injection effect and the effect of controlling the sound to eliminate the target sound. Without considering the influence of psychological parameters and the type of control sound, and only considering annoyance level, the user's playback preference is determined to be playback based on annoyance level.
[0057] Figure 3 A flowchart illustrating the steps for establishing a personalized controllable sound database as provided in Embodiment 1 of the present invention.
[0058] In one embodiment, reference is made to Figure 3 The personalized sound control database is established through the following steps:
[0059] Step S301: Obtain user playback preferences.
[0060] Step S302: If the user's playback preference is playback by type, obtain all initial control sound samples in the initial personalized control sound database whose control sound type is the target control sound type as category control sound samples.
[0061] Here, the initial personalized control sound database is a database of control sounds constructed based on user preference data and preference parameters. All control sounds in each category of control samples have the same control sound type.
[0062] Step S303: If the user's playback preference is grouped playback, obtain all initial control sound samples with the target psychological parameters from the initial personalized control sound database as group control sound samples.
[0063] Here, the psychological parameters of all controlled sounds in each group's controlled sound sample are the same.
[0064] Step S304: If the user's playback preference is to play according to the annoyance level, obtain all initial control sound samples with an annoyance level of the target annoyance level from the initial personalized control sound database as annoyance level control sound samples.
[0065] Here, the psychological parameters for all annoyance levels in each annoyance level control sound sample are the same.
[0066] Step S305: Construct a personalized control sound database based on category-controlled sound samples, or group-controlled sound samples, or annoyance-level controlled sound samples.
[0067] Specifically, when the user's playback preference is to play by type, a personalized control sound database is constructed based on category-based control sound samples; when the user's playback preference is to play by group, a personalized control sound database is constructed based on group-based control sound samples; and when the user's playback preference is to play by annoyance level, a personalized control sound database is constructed based on annoyance level control sound samples.
[0068] Figure 4 A flowchart illustrating the steps for establishing the initial personalized control sound database provided in Embodiment 1 of the present invention.
[0069] In one embodiment, reference is made to Figure 4 The initial personalized sound database is established through the following steps:
[0070] Step S401: The user's preference data and target preference parameters are used as inputs to obtain the initial control sound sample through the pre-trained control sound selection model.
[0071] Step S402: Determine the initial personalized control sound database based on the initial control sound samples.
[0072] Figure 5 This is a flowchart illustrating the steps involved in establishing the control sound selection model according to Embodiment 1 of the present invention.
[0073] Reference Figure 5 The sound selection model for regulation is established through the following steps:
[0074] Step S501: Obtain multiple control sound samples and multiple target sound samples.
[0075] Here, we acquire different subcategories of control sounds within the same type. For example, we can obtain different water flow sounds (subcategories) such as streams, waterfalls, and springs (major categories) through online or on-site collection. More than five subcategories of sounds within the same type are required. Next, we collect the binaural noise of the range hood according to the range hood sound quality testing standards.
[0076] Step S502: Preprocess the control sound sample and the target sound sample to obtain the preprocessed control sound sample and the preprocessed target sound sample, respectively.
[0077] Step S503: Based on the preprocessed control sound sample and the preprocessed target sound sample, generate multiple superimposed sound samples with different signal-to-noise ratios.
[0078] Here, the acquired modulated sound and target sound samples are preprocessed. The sampling rate of all samples is adjusted to be consistent. Superimposed sounds at different signal-to-noise ratios are synthesized. The sound pressure level of each modulated sound is changed in 2dB steps within the range of [20, 20]dB signal-to-noise ratio to synthesize superimposed sounds of different modulated sound series.
[0079] Step S504: Obtain the preference parameters of the superimposed sound samples given by multiple subjects and the subjects' preference data.
[0080] Specifically, a subjective evaluation experiment was conducted, recruiting 50 participants aged 18-50 with kitchen cooking experience and normal hearing as indicated by hearing tests. The experiment was conducted in a simulated kitchen setting, using relevant equipment and following psychoacoustic experimental rules, employing a reference rating method. The acoustic environment of the experimental site was stable throughout the experiment, free from other noise interference. Experimenters explained the experimental purpose, procedures, and precautions. Prior to the test, participants underwent auditory training, listening to both the initial target sound and the superimposed sound formed by the control sound and the target sound.
[0081] Here, the participants' preference data was obtained through a pre-set user preference questionnaire.
[0082] Among the participants' preference parameters, a 9-level rating scale was set up to allow them to evaluate their own level of annoyance. Scales for loudness, sharpness, roughness, tone modulation, and fluctuation intensity were also set up to allow participants to evaluate their own psychological parameters. Finally, a scale for controlling voice type was set up to allow participants to evaluate their own controlling voice type.
[0083] Based on subjective evaluation experiments, the correspondence between preference data and preference parameters was determined.
[0084] Step S505: Using preference parameters and preference data as input, and superimposing the preprocessed control sound sample corresponding to the sound sample as output, the initial control sound model is trained until the preset training conditions are met, and a trained control sound model is obtained.
[0085] Here, during the training process, the data can be divided into a training set and a validation set in a 7:3 ratio.
[0086] Figure 6 This is a flowchart of the control sound switching process provided in Embodiment 1 of the present invention.
[0087] In one embodiment, reference is made to Figure 6 The methods also include:
[0088] Step S601: Record the current number of cycles of the control sound and the number of times the audio injection function activation command is triggered before the target control sound finishes playing.
[0089] Here, each time the sound is controlled, the loop count of the current sound is incremented by 1. Some sound controls have a short storage time and will be played in a loop. To prevent user auditory fatigue, the loop count is counted.
[0090] Before the target control sound finishes playing, each audio injection function activation command is triggered once, and the trigger count is incremented by 1. Playing the same control sound for a long time will cause auditory fatigue in the user, resulting in a decrease in the control effect.
[0091] Step S602: When the number of loops is greater than or equal to the preset number of loops, or the number of triggers is greater than or equal to the preset number of triggers, the current control sound is switched to any other control sound in the personalized control sound database according to the user's playback preference.
[0092] Here, the preset number of loops and preset trigger coefficient can be set according to the user's actual situation.
[0093] This invention provides a method for playing audio control sounds, applied to a range hood. The range hood has a pre-stored personalized control sound database, constructed based on control sounds selected according to user playback preferences. The method includes: when receiving an audio injection function activation command, acquiring the operating status of the range hood; the operating status includes a normal operating status and a stopped operating status; if the range hood is in a normal operating status, determining a target control sound from the personalized control sound database; the target control sound is the control sound last played during the range hood's previous use; playing the target control sound to mix the target control sound with a superimposed sound; the target sound is the noise emitted by the range hood during operation. In this method, by selecting control sounds based on user preference data and preference parameters to construct a personalized control sound database, and by playing control sounds from different users' personalized control sound databases, an optimal control sound playback scheme is provided for each user, thereby improving the user experience.
[0094] Example 2:
[0095] Figure 7 This is a schematic diagram of an audio control sound playback system provided in Embodiment 2 of the present invention.
[0096] Reference Figure 7 An audio control sound playback system is used in range hoods. The range hood has a pre-stored personalized control sound database, which is constructed based on control sounds selected according to user playback preferences. The system includes:
[0097] The working status judgment module 1 is used to obtain the working status of the range hood when it receives the audio injection function start command; the working status includes normal working status and stopped working status.
[0098] The control sound selection module 2 is used to determine the target control sound from the personalized control sound database if the range hood is in normal working condition; the target control sound is the control sound last played when the range hood was last used.
[0099] The control sound playback module 3 is used to play the target control sound so that the target control sound and the target sound are mixed to obtain a superimposed sound; the target sound is the noise emitted by the range hood when it is running.
[0100] This invention provides an audio control sound playback system applied to a range hood. The range hood has a pre-stored personalized control sound database, constructed based on control sounds selected according to user playback preferences. The method includes: when receiving an audio injection function activation command, acquiring the range hood's operating status; the operating status includes normal operation and stopped operation; if the range hood is in normal operation, determining a target control sound from the personalized control sound database; the target control sound is the control sound last played during the range hood's previous use; playing the target control sound to mix the target control sound with a superimposed sound; the target sound is the noise emitted by the range hood during operation. In this method, by selecting control sounds and constructing a personalized control sound database based on user preference data and parameters, and by playing control sounds from different users' personalized control sound databases, the optimal control sound playback scheme is provided for each user, thereby improving the user experience.
[0101] This invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the audio control sound playback method provided in the above embodiments.
[0102] This invention also provides a computer-readable storage medium storing a computer program. The computer program, when run by a processor, executes the steps of the audio control sound playback method described above.
[0103] The computer program product provided in this embodiment of the invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0104] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0105] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0106] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0107] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0108] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for playing audio-controlled sound, characterized in that, The method is applied to range hoods, wherein the range hood has a pre-stored personalized control sound database, which is constructed based on control sounds selected according to user playback preferences; the method includes: When an audio injection function activation command is received, the operating status of the range hood is obtained; the operating status includes normal operating status and stopped operating status. If the range hood is in normal working condition, a target control sound is determined from the personalized control sound database; the target control sound is the control sound last played when the range hood was last used. Play the target control sound to mix the target control sound with the target sound to obtain a superimposed sound; the target sound is the noise emitted by the range hood during operation. The user playback preferences include playback by type, playback by group, and playback by annoyance level; The steps for setting user playback preferences include: Obtain the user's preference data; the preference data includes scenario preference, usage frequency, and volume preference; wherein, the scenario preference is cooking scenario; the usage frequency is the usage frequency of the range hood; and the volume preference is the volume of the range hood when it is used. Based on the pre-defined correspondence between preference data and preference parameters, the target preference parameters corresponding to the user's preference data are determined; wherein, the preference parameters include the type of sound to be controlled, psychological parameters, and annoyance level; If the proportion of the controlled sound type in the target preference parameters is greater than a first threshold, the user's playback preference is determined to be playback by type. If the proportion of the psychological parameter in the target preference parameters is greater than the first threshold, the user's playback preference is determined to be playback by group. If the proportion of annoyance level in the target preference parameters is greater than the first threshold, the user's playback preference is determined to be playback based on annoyance level.
2. The method for playing audio-controlled sounds according to claim 1, characterized in that, The personalized sound database is established through the following steps: Obtain the user's playback preferences; If the user's playback preference is playback by type, obtain all initial control sound samples in the initial personalized control sound database whose control sound type is the target control sound type as category control sound samples; If the user's playback preference is to play by group, obtain all the initial control sound samples in the initial personalized control sound database whose psychological parameters are the target psychological parameters as the group control sound samples; If the user's playback preference is to play according to the annoyance level, obtain all the initial control sound samples with an annoyance level of the target annoyance level from the initial personalized control sound database as annoyance level control sound samples. The personalized control sound database is constructed based on the category-controlled sound samples, or the group-controlled sound samples, or the annoyance-level controlled sound samples.
3. The method for playing audio-controlled sounds according to claim 2, characterized in that, The initial personalized control sound database is established through the following steps: The user's preference data and the target preference parameters are used as inputs to obtain the initial control sound sample through a pre-trained control sound selection model. The initial personalized control sound database is determined based on the initial control sound samples.
4. The method for playing audio-controlled sounds according to claim 3, characterized in that, The controlled acoustic selection model is established through the following steps: Acquire multiple controlled acoustic samples and multiple target acoustic samples; The controlled sound sample and the target sound sample are preprocessed to obtain the preprocessed controlled sound sample and the preprocessed target sound sample, respectively. Based on the preprocessed controlled sound sample and the preprocessed target sound sample, multiple superimposed sound samples with different signal-to-noise ratios are generated. Obtain the preference parameters of the superimposed sound samples given by multiple subjects and the preference data of the subjects; The preference parameters and the preference data are used as inputs, and the preprocessed control sound samples corresponding to the superimposed sound samples are used as outputs to train the initial control sound model until the preset training conditions are met, thus obtaining a trained control sound model.
5. The method for playing audio-controlled sounds according to claim 1, characterized in that, The method further includes: Record the current number of cycles of the control sound and the number of times the audio injection function activation command is triggered before the target control sound finishes playing; When the number of cycles is greater than or equal to the preset number of cycles, or when the number of triggers is greater than or equal to the preset number of triggers, the current control sound is switched to any other control sound in the personalized control sound database according to the user's playback preference.
6. An audio-controlled sound playback system, characterized in that, The system is applied to range hoods, wherein the range hood has a pre-stored personalized control sound database, which is constructed based on control sounds selected according to user playback preferences; the system includes: The working status determination module is used to obtain the working status of the range hood when it receives the audio injection function start command; the working status includes normal working status and stopped working status; The control sound selection module is used to determine a target control sound from the personalized control sound database if the range hood is in normal working condition; the target control sound is the control sound last played when the range hood was last used. The control sound playback module is used to play the target control sound so that the target control sound and the target sound are mixed to obtain a superimposed sound; the target sound is the noise emitted by the range hood when it is running; The user playback preferences include playback by type, playback by group, and playback by annoyance level; The volume control selection module is also used to acquire the user's preference data; the preference data includes scene preference, usage frequency and volume preference; wherein, the scene preference is cooking scene; the usage frequency is the usage frequency of the range hood; and the volume preference is the volume of the range hood when using the range hood. Based on the pre-defined correspondence between preference data and preference parameters, the target preference parameters corresponding to the user's preference data are determined; wherein, the preference parameters include the type of sound to be controlled, psychological parameters, and annoyance level; If the proportion of the controlled sound type in the target preference parameters is greater than a first threshold, the user's playback preference is determined to be playback by type. If the proportion of the psychological parameter in the target preference parameters is greater than the first threshold, the user's playback preference is determined to be playback by group. If the proportion of annoyance level in the target preference parameters is greater than the first threshold, the user's playback preference is determined to be playback based on annoyance level.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it implements the method described in any one of claims 1-5.
8. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program executes the steps of the method as described in any one of claims 1-5 when it runs.
Citation Information
Patent Citations
Earphone equalizer adjusting method and device, server and medium
CN112333596A
Audio injection method and device for range hood, range hood and range hood system
CN114017823A