Sound effect mode switching method and device, sound equipment and storage medium
By receiving and analyzing sound mode switching commands in the audio device and automatically configuring the target sound effect parameters, the poor playback effect caused by the use of the same sound mode by the audio device in the prior art is solved, and more flexible and efficient sound mode switching is achieved.
Patent Information
- Application Number
- CN202311545942.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
In the prior art, audio equipment uses the same sound mode to play the sound of the film source, resulting in poor playback effect.
When the terminal device establishes a network connection with multiple audio devices, it receives and analyzes the sound mode switching command, obtains the target sound mode parameters according to the association relationship between the sound mode and the configuration parameters, and configures them to the amplifier module of the corresponding audio device to realize automatic switching of the sound mode.
Real-time automatic switching of sound effects mode is realized, the flexibility of switching external sound effects modes is improved, and better sound effects are obtained. By obtaining the relationship between the sound effects mode and configuration parameters in advance, the process of manually setting sound effects is eliminated, and the intelligence and efficiency of sound effects are improved.
Smart Images

Figure CN120021277A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of audio processing, and in particular, to a method for switching sound effect modes, a projection device, and a storage medium. Background Art
[0002] With the continuous development of audio technology, terminal devices such as smart TVs, laptops, projection devices, etc. can form a network with multiple audio devices when playing a video source, and play the sound of the video source through the audio devices. In the related art, during the process of playing the sound of a video source by a terminal device, the audio device plays the sound of the video source using the same sound effect mode. However, this method has the problem of poor playback effect. Summary of the Invention
[0003] This application is expected to provide a method, a device, an audio device, and a storage medium for switching sound effect modes to solve the problem in the related art that the audio device plays the sound of a video source using the same sound effect mode, resulting in a poor playback effect.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, an embodiment of this application provides a method for switching sound effect modes, the method including:
[0006] When a terminal device establishes a network connection with multiple audio devices, receiving a sound effect mode switching instruction sent by the terminal device; wherein, the sound effect mode switching instruction carries a target sound effect mode matching the content type of the audio data stream currently played by the terminal device;
[0007] Parsing the sound effect mode switching instruction, and obtaining target sound effect parameters of a first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; wherein, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the audio devices in the networked audio composed of the multiple audio devices;
[0008] Configuring the target sound effect parameters into the power amplifier module of the first audio device, and outputting the audio data stream through the configured power amplifier module.
[0009] In a second aspect, this application provides a sound effect mode switching device, the device including:
[0010] A receiving module, configured to receive a sound effect mode switching instruction sent by the terminal device when the terminal device establishes a network connection with multiple audio devices; wherein, the sound effect mode switching instruction carries a target sound effect mode matching the content type of the audio data stream currently played by the terminal device;
[0011] A processing module, configured to parse the sound effect mode switching instruction, and obtain target sound effect parameters of a first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; wherein, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one audio device in a networked audio composed of the multiple audio devices;
[0012] A configuration module, configured to configure the target sound effect parameters into a power amplifier module of the first audio device;
[0013] An output module, configured to output the audio data stream through the configured power amplifier module.
[0014] In a third aspect, the present application provides an audio device, which includes: a processor, a memory, and a communication bus;
[0015] The communication bus is used to implement a communication connection between the processor and the memory;
[0016] The processor is configured to execute a sound effect mode switching program stored in the memory to implement the sound effect mode switching method described above.
[0017] In a fourth aspect, the present application provides a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the sound effect mode switching method described above.
[0018] An embodiment of the present application provides a sound effect mode switching method, device, audio device, and storage medium. When a terminal device establishes a network with multiple audio devices, the audio device obtains, according to a sound effect mode switching instruction carried in the terminal device and carrying a target sound effect mode matching the content type of the audio data stream currently played by the terminal device, target sound effect parameters of a first audio device corresponding to the target sound effect mode in the association relationship between the sound effect mode and the configuration parameters, and configures them into a power amplifier module of the first audio device, so as to output the audio data stream currently played by the terminal device through the configured power amplifier module; thus, based on the target sound effect parameters corresponding to the target sound effect mode set for the first audio device, the sound effect of the power amplifier module is set, realizing real-time automatic switching of the target sound effect mode matching the audio data stream currently played by the terminal device, achieving improved flexibility in switching the sound effect mode of an external audio, and further obtaining a better sound effect; at the same time, obtaining the association relationship between the sound effect mode and the configuration parameters in advance saves the process of the user manually setting the sound effect by adjusting the position and sound effect parameters of the audio device, realizes intelligent sound effect setting, saves time, and improves the sound effect setting efficiency of surround sound. Description of the Drawings
[0019] Figure 1 An optional schematic diagram of the network architecture for the implementation sound effect mode switching method provided by the embodiments of the present application;
[0020] Figure 2 An optional flowchart of the sound effect mode switching method provided by the embodiments of the present application;
[0021] Figure 3 An optional structural diagram of the internal module of the audio device provided by the embodiments of the present application;
[0022] Figure 4 An optional flowchart of the sound effect mode switching method provided by the embodiments of the present application;
[0023] Figure 5 An optional flowchart of the sound effect mode switching method provided by the embodiments of the present application;
[0024] Figure 6 A schematic diagram of the distribution process of the sound effect files corresponding to the sound effect modes set for each audio device provided by the embodiments of the present application;
[0025] Figure 7 An optional flowchart of the sound effect mode switching method provided by the embodiments of the present application;
[0026] Figure 8 An optional flowchart of the sound effect mode switching method provided by the embodiments of the present application;
[0027] Figure 9 An optional structural diagram of the sound effect mode switching device provided by the embodiments of the present application;
[0028] Figure 10 An optional structural diagram of the audio device provided by the embodiments of the present application. Detailed implementation manners
[0029] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0030] In the description, claims, and above-mentioned drawings of this application, terms such as "first" and "second" are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0031] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of this application. The phrase appearing in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0032] See Figure 1 , Figure 1 FIG. is a schematic diagram of the network architecture for the implementation sound effect mode switching method provided by this application. The network architecture at least includes a terminal device 100 and at least one audio device 200; wherein, the terminal device 100 and the audio device 200 can be connected through a network. Of course, the terminal device 100 and the audio device 200 can also be directly connected through Wireless Fidelity peer to peer (WiFi P2P). In this regard, this application does not make specific limitations. Among them, WIFIP2P is to directly establish wireless peer-to-peer communication between devices through WiFi, without the need for a router or the Internet. That is to say, WIFIP2P can establish a connection between devices without a network, and this method has the characteristics of high speed and low latency.
[0033] Here, the terminal device 100 includes but is not limited to a projection device, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a camera, a wearable device, a smart TV, a smart camera, a smart projector, a laptop computer, and a desktop computer, etc. Here, a projection device is a device that can project an image or video onto a projection surface such as a curtain, a wall, or the surface where other items are located; the projection device includes but is not limited to a projector, a projection controller, a micro projection controller, a projection control machine, a smart camera, a smart projection control machine, etc.
[0034] Here, the audio device 200 can be referred to as a remote device connected to the terminal device 100. The audio device 200 is a device for restoring and playing audio signals. The types of audio devices include Bluetooth audio devices, bookshelf audio devices, wireless audio devices, floor-standing audio devices, multimedia speakers, audio headphones, and stage audio devices. It should be noted that different types of audio devices are suitable for different occasions and uses. Selecting a suitable audio device according to the scenario and use can improve the sound quality and listening experience. Here, the network includes but is not limited to local area networks, metropolitan area networks, and wide area networks.
[0035] See Figure 2 , Figure 2 is a schematic diagram of an implementation process of the audio effect mode switching method provided by an embodiment of the present application. The audio effect mode switching method can be applied to Figure 1 the audio device in the network architecture shown. The audio effect mode switching method includes the following steps:
[0036] Step 201: When the terminal device establishes a network connection with multiple audio devices, receive the audio effect mode switching instruction sent by the terminal device.
[0037] Among them, the audio effect mode switching instruction carries a target audio effect mode that matches the content type of the audio data stream currently played by the terminal device.
[0038] In some embodiments, the terminal device establishing a network with multiple audio devices can be understood as the terminal device establishing a network with multiple audio devices through WIFI P2P. It should be noted that if a network is established between the terminal device and multiple audio devices, the terminal device can determine the distribution orientation of each audio device relative to the terminal device, so as to set the audio effect parameters corresponding to different audio effect modes for the corresponding audio device, so that the overall networked audio enters the target audio effect mode that matches the content type of the audio data stream currently played by the terminal device.
[0039] In the embodiments of the present application, the audio effect mode includes audio effect parameters that match the content type of the audio data stream currently played by the terminal device. The audio effect modes include but are not limited to movie audio effect mode, music audio effect mode, and sports audio effect mode. Here, the audio effect parameters include at least one of channel type, dialogue enhancement, bass boost, or volume control. Among them, the channel type can include left channel, right channel, left surround, and right surround, etc.
[0040] In an embodiment of the present application, when the terminal device has established a network connection with multiple audio devices, if the user switches the program currently played by the terminal device, the terminal device needs to send a switching sound effect mode instruction to the audio devices connected to it. Further, the first audio device among the multiple audio devices receives the sound effect mode switching instruction sent by the terminal device, so that the first audio device switches the currently set sound effect mode of itself to a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device, and the target sound effect mode is different from the current sound effect mode of the first audio device.
[0041] Step 202: Analyze the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters.
[0042] Among them, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the audio devices in the networked audio composed of multiple audio devices.
[0043] In an embodiment of the present application, the association relationship between the sound effect mode and the configuration parameters may be the corresponding relationship between the sound effect mode and the configuration parameters stored in the form of a data table, or may be the corresponding relationship between the sound effect mode and the configuration parameters stored in other mapping manners. In this regard, the present application does not make specific limitations.
[0044] In an embodiment of the present application, after the first audio device receives the sound effect mode switching instruction sent by the terminal device, it analyzes the sound effect mode switching instruction to obtain the target sound effect mode that matches the content type of the audio data stream currently played by the terminal device. Further, the first audio device obtains the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters, where the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device.
[0045] In some embodiments, before performing step 202 to obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters, the following steps may also be performed.
[0046] The first step: Receive the association relationship between the sound effect mode and the configuration parameters sent by the terminal device.
[0047] Among them, the association relationship between the sound effect mode and the configuration parameters is established by the terminal device based on the target sound channel of the first audio device determined according to the position of the first audio device in the networked audio and the sound effect parameters of multiple sound effect modes corresponding to the target sound channel.
[0048] Step 2: Store the association relationship between the sound effect mode and the configuration parameters in the storage module of the first audio device.
[0049] In the embodiment of the present application, when the terminal device has established a networking connection with multiple audio devices, the terminal device determines the distribution orientation of each audio device relative to the terminal device and / or the distance between each audio device and the terminal device based on the position of each audio device in the networked audio. Further, according to the distribution orientation and distance of each audio device, the target channel of each audio device is determined, and at the same time, various sound effect parameters matching different content types are adjusted for each audio device. All the sound effect parameters corresponding to the same content type and the target channel are combined into a sound effect mode matching the content type, so as to obtain multiple sound effect modes corresponding to multiple content types, and then the association relationship between the sound effect mode and the configuration parameters, such as the sound effect configuration parameter relationship table, is established. Among them, the association relationship includes the target channel of the first audio device and the sound effect parameters of the sound effect modes corresponding to multiple content types configured for the target channel. Finally, the association relationship between the sound effect mode and the configuration parameters is stored in the storage module of the first audio device.
[0050] In a realizable application scenario, taking the example that the terminal device has established a networking connection with two audio devices, audio device 1 is located on the left side of the terminal device, and audio device 2 is located on the right side of the terminal device. At this time, the terminal device determines that the target channel of audio device 1 is the left channel and the target channel of audio device 2 is the right channel according to the distribution orientation and distance of the audio devices, and at the same time, sets other sound effect parameters matching different content types for audio device 1 and 2 respectively. The other sound effect parameters corresponding to the same content type and the target channel are combined into a sound effect mode matching the content type. It should be noted that for the same content type, the sound effect modes set by the terminal device for audio device 1 and 2 are also different. Exemplarily, for movie type, the sound effect parameters corresponding to the sound effect mode set by the terminal device for audio device 1 include: left channel, bass boost, and volume level 1; the sound effect parameters corresponding to the sound effect mode set by the terminal device for audio device 2 include: right channel, bass boost, and volume level 2. Further, the terminal device sends the association relationship including the sound effect parameters corresponding to multiple sound effect modes configured for audio device 1 to audio device 1 for storage, and sends the association relationship including the sound effect parameters corresponding to multiple sound effect modes configured for audio device 2 to audio device 2 for storage.
[0051] As described above, the terminal device sets and distributes different power amplifier sound effect files (i.e., the association relationship between the sound effect mode and the configuration parameters) according to the different target channels of different audio devices in the networked audio system; that is to say, the audio devices in the networked audio system have different configured sound effect parameters under the same sound effect mode. Therefore, when different roles are assigned to each audio device during networking, different power amplifier sound effect files are distributed to the audio devices, so that it is not necessary for each audio device to store all the sound effect files in its storage space, thus saving the storage space of the audio device. Further, when the terminal device plays a specific type of content, the audio device can quickly find the sound effect mode corresponding to the specific type of content from the association relationship between the sound effect mode and the configuration parameters stored in the storage module and output sound, so as to achieve a better sound effect and prevent the problem of time-consuming when the sound effect file is downloaded only when the sound effect is switched.
[0052] Step 203: Configure the target sound effect parameters into the power amplifier module of the first audio device, and output the audio data stream through the configured power amplifier module.
[0053] In the embodiment of the present application, the power amplifier module is used to amplify the input weak signal and generate a large enough current to drive the speaker to reproduce sound.
[0054] In the embodiment of the present application, after the first audio device obtains the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters, it configures the sound effect parameters of each channel in the power amplifier module of the first audio device according to the target sound effect parameters, and outputs the audio data stream through the configured power amplifier module.
[0055] In some embodiments, if the channel obtained by parsing the audio data stream does not include the target channel corresponding to the first audio device, the power amplifier module of the first audio device is controlled to be in the sleep state;
[0056] Through the real-time monitoring of the power consumption management module of the first audio device, it is determined whether the channel obtained by parsing the audio data stream includes the target channel. If so, the power amplifier module is controlled to switch from the sleep state to the working state.
[0057] In the embodiment of the present application, if the channel obtained by parsing the audio data stream does not include the target channel corresponding to the first audio device, the first audio device controls the power amplifier module to be in the sleep state; at the same time, through the real-time monitoring of the power consumption management module of the first audio device, it is determined whether the channel obtained by parsing the audio data stream includes the target channel. If the channel obtained by parsing the audio data stream includes the target channel, the power amplifier module is controlled to switch from the sleep state to the working state.
[0058] In an achievable scenario, take the example where a terminal device forms a network with three audio devices 1, 2, and 3. Audio device 1 is located on the left side of the terminal device, audio device 2 is located on the right side of the terminal device, and audio device 3 is located in the front left of the terminal device. At this time, the terminal device determines that the target channel of audio device 1 is the left channel, the target channel of audio device 2 is the right channel, and the target channel of audio device 3 is the left surround channel according to the distribution orientation and distance of the audio devices. At the same time, other audio effect parameters matching different content types are set for audio devices 1, 2, and 3 respectively, and the other audio effect parameters and target channels corresponding to the same content type are combined into an audio effect mode matching the content type. Further, the terminal device parses the audio data stream and obtains that the audio data stream only includes the left channel and the right channel corresponding to the audio effect mode. Since the channels obtained by parsing the audio data stream include the target channels corresponding to audio devices 1 and 2, the audio effect parameters of the target channels corresponding to audio devices 1 and 2 are set, so as to output sound; while the channels obtained by parsing the audio data stream do not include the target channel corresponding to audio device 3, so the power amplifier module of audio device 3 is controlled to be in a sleep state, thereby reducing the power consumption of the audio device; in the case where the terminal device switches the audio-visual data stream and then switches the audio effect mode, through the power consumption management module of the audio device, it is monitored in real time whether the channels obtained by parsing the audio data stream include the target channels of the audio device. If so, the power amplifier module is controlled to switch from the sleep state to the working state. In this way, the power consumption management module in the audio device judges the channel data in the audio data stream according to the characteristics of the audio data stream, dynamically turns on and off the audio devices corresponding to the channels, or controls the audio devices of the channels to enter the sleep mode, so as to realize the dynamic management of the power consumption of the internal modules of the audio, and achieve the reduction of the overall power consumption.
[0059] An embodiment of the present application provides a method for switching sound effect modes. When the terminal device establishes a network connection with multiple audio devices, the audio device obtains, according to the sound effect mode switching instruction carried in the data sent by the terminal device and matching the content type of the audio data stream currently played by the terminal device, the target sound effect parameters of the first audio device corresponding to the target sound effect mode in the association relationship between the sound effect mode and the configuration parameters, and configures them into the power amplifier module of the first audio device, so as to output the audio data stream currently played by the terminal device through the configured power amplifier module. In this way, based on the target sound effect parameters corresponding to the target sound effect mode set for the first audio device, the sound effect of the power amplifier module is set, realizing the real-time automatic switching of the target sound effect mode matching the audio data stream currently played by the terminal device, achieving the improvement of the flexibility of the external audio sound effect mode switching, and thus obtaining a better sound effect. At the same time, by obtaining in advance the association relationship between the sound effect mode and the configuration parameters, the process of the user manually setting the sound effect by adjusting the position and sound effect parameters of the audio device is omitted, realizing the intelligentization of the sound effect setting, saving time, and improving the sound effect setting efficiency of the surround sound.
[0060] In some embodiments, for the structure of the internal modules of the audio device, refer to Figure 3 As shown, the internal modules of the audio device include a communication module 31, a storage module 32, a power consumption management module 33, a processor 34, a power amplifier module 35, and a control module 36. Among them, the communication module 31 is used for communicating with other devices, the storage module 32 is used for storing information, the power consumption management module 33 is used for monitoring whether the power amplifier module is in a sleep state, the processor 34 is used for processing the received data and sending the processing results to each module, the power amplifier module 35 is used for outputting sound, and the control module 36 is at least used for controlling whether the power amplifier module is in a sleep state or a normal working state. It should be noted that the number of power amplifier modules can be a first number, such as one, or a second number, such as two or more. In this regard, the present application does not make specific limitations.
[0061] When the number of power amplifier modules is the first number, refer to Figure 4 , Figure 4 FIG. is a schematic flowchart of an implementation of the sound effect mode switching method provided by the embodiment of the present application. This sound effect mode switching method can be applied to Figure 1 the audio device in the network architecture shown in FIG., and this sound effect mode switching method includes the following steps:
[0062] Step 401: When the terminal device establishes a network connection with multiple audio devices, receive the sound effect mode switching confirmation instruction sent by the terminal device;
[0063] In the embodiments of the present application, the sound effect mode switching confirmation instruction is used to confirm whether each audio device in the network can perform sound effect mode switching;
[0064] Step 402: Generate a first confirmation instruction corresponding to the sound effect mode switching confirmation instruction and send it to the terminal device;
[0065] Among them, the first confirmation instruction is used to confirm that the first audio device can perform sound effect mode switching.
[0066] In the embodiments of the present application, when the terminal device establishes a network connection with multiple audio devices, the terminal device sends a sound effect mode switching confirmation instruction to each audio device in the networked audio to confirm whether it can perform sound effect mode switching. When each audio device indicates that it can perform sound effect mode switching, the audio device sends a first confirmation instruction to the terminal device to inform the terminal device that the audio device can perform sound effect mode switching; thus, in the embodiments of the present application, in order to pre-confirm whether the internal state of each audio device is busy and whether the network is unobstructed before switching the sound effect mode, so as to reduce the time difference for the sound effect mode switching instruction to reach each audio, and suppress the inconsistent order of the mute actions of the audio devices inside the network, thereby improving the user experience.
[0067] Step 403: Receive the sound effect mode switching instruction sent by the terminal device;
[0068] Among them, the sound effect mode switching instruction carries a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device;
[0069] Step 404: Control itself to be in a mute state.
[0070] In the embodiments of the present application, after the terminal device receives the first confirmation instruction sent by each audio device indicating that the sound effect mode can be switched, the terminal device sends a sound effect mode switching instruction to each audio device, so that each audio device switches the current sound effect mode to a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device; further, after the first audio device receives the sound effect mode switching instruction, it first controls the first audio device to be in a mute state. Thus, in the embodiments of the present application, in order to prevent popping sounds from occurring during the setting of sound effect parameters to the power amplifier module when the audio device switches the sound effect mode, a mute measure is taken to improve the user experience.
[0071] Step 405: Analyze the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters;
[0072] Among them, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the audio devices in the networked audio composed of multiple audio devices;
[0073] Step 406: Configure the target sound effect parameters into the power amplifier module of the first audio device, and send a sound effect mode switching completion instruction to the terminal device;
[0074] Step 407: Receive the unmute instruction sent by the terminal device;
[0075] Among them, the unmute instruction is generated based on the terminal device receiving the sound effect mode switching completion instructions sent by all audio devices;
[0076] Step 408: Unmute according to the unmute instruction, and output the audio data stream through the configured power amplifier module.
[0077] In the embodiment of the present application, after the first audio device controls itself to be in the mute state, the first audio device parses the sound effect mode switching instruction, and obtains the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; further, the first audio device configures the target sound effect parameters into the power amplifier module of the first audio device. After the configuration is completed, the first audio device sends a sound effect mode switching completion instruction to the terminal device. Since in the networked audio, the time required for different audio devices to configure the target sound effect parameters is different, in order to avoid the problem that the effective sound output times are uneven after the sound effect parameters of the audio devices are set, resulting in a poor user experience, after the terminal device receives the sound effect mode switching completion instructions sent by all audio devices in the network, the terminal device uniformly sends an unmute instruction to each audio device in the network. Each audio device in the network unmutes according to the unmute instruction, and outputs the audio data stream through the configured power amplifier module. In this way, the problem that the time required for different audio devices to configure the target sound effect parameters is different, and if the sound effect parameters of the audio devices are set and take effect immediately, resulting in uneven sound output times of each audio device is avoided, and the user experience is improved.
[0078] In the case where the number of power amplifier modules is the second number, refer to Figure 5 , Figure 5 is a schematic flowchart of an implementation process of the sound effect mode switching method provided by the embodiment of the present application. The sound effect mode switching method can be applied to Figure 1 the audio device in the network architecture shown, and the sound effect mode switching method includes the following steps:
[0079] Step 501: Receive the sound effect mode switching instruction sent by the terminal device when the terminal device establishes a network connection with multiple audio devices;
[0080] Among them, the sound effect mode switching instruction carries a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device;
[0081] Step 502: Analyze the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters;
[0082] Among them, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one audio device in a networked audio composed of multiple audio devices;
[0083] Step 503: Select an idle power amplifier module from the second number of power amplifier modules, and configure the target sound effect parameters to the selected power amplifier module.
[0084] In the embodiment of the present application, when the terminal device establishes a network connection with multiple audio devices, the terminal device sends a sound effect mode switching instruction to each audio device in the networked audio. Then, if the audio device includes a second number of power amplifier modules, after receiving the sound effect mode switching instruction, the audio device analyzes the sound effect mode switching instruction, and obtains the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; further, the audio device selects an idle power amplifier module from the second number of power amplifier modules; and configures the target sound effect parameters to the selected power amplifier module. In this way, the audio device uses multiple power amplifier modules, and when other power amplifier modules are in use, the target sound effect parameters are configured to an idle power amplifier module, which does not affect the normal use of the power amplifier module, and avoids the problem of affecting the user experience due to a long setting time when there is only one power amplifier module.
[0085] It should be noted that there is no sequence between selecting an idle power amplifier module from the second number of power amplifier modules in step 503 and obtaining the target sound effect parameters in step 502, that is, step 503 can be executed before step 502, can be executed after step 502, or can be executed synchronously with step 502. In this regard, the present application does not make specific restrictions.
[0086] Step 504: Send a sound effect mode switching completion instruction to the terminal device.
[0087] In the embodiments of the present application, for an audio device using multiple power amplifier modules, the target audio effect parameters are configured into an idle power amplifier module. After the configuration is completed, the first audio device can send an audio effect mode switching completion instruction to the terminal device to inform the terminal device that the audio device can perform the switching of the data stream. Thus, in the embodiments of the present application, in order to pre-confirm whether each audio device is ready internally and whether the network is unobstructed before the data stream switching, etc., so as to reduce the response pace of the data stream switching instruction reaching each audio device and suppress the inconsistent sequence of the mute actions of the audio devices in the network, thereby improving the user experience.
[0088] Step 505: Receive the data stream switching instruction sent by the terminal device;
[0089] Step 506: Control the first audio device to be in the mute state.
[0090] In the embodiments of the present application, after the terminal device receives the audio effect mode switching completion instructions sent by all audio devices, the terminal device sends a data stream switching instruction to each audio device. After the first audio device receives the data stream switching instruction, it first controls the first audio device to be in the mute state. Thus, in the embodiments of the present application, in order to prevent popping sounds from being generated by the power amplifier module during the data stream switching of the audio device, a mute measure is taken to improve the user experience.
[0091] Step 507: Switch the data stream channel of the audio data stream to the selected power amplifier module so that the audio data stream is output through the selected power amplifier module;
[0092] Among them, the configured power amplifier module includes the selected power amplifier module;
[0093] Step 508: Send a data stream switching completion instruction to the terminal device;
[0094] Step 509: Receive the unmute instruction sent by the terminal device;
[0095] Among them, the unmute instruction is generated based on the terminal device receiving the data stream switching completion instructions sent by all audio devices;
[0096] Step 510: Unmute according to the unmute instruction and output the audio data stream through the selected power amplifier module.
[0097] In the embodiment of the present application, after the first audio device controls itself to be in a mute state, the first audio device switches the data stream channel of the audio data stream to the selected power amplifier module, so that the audio data stream is output through the selected power amplifier module. After the switching of the audio data stream is completed, the first audio device sends a data stream switching completion instruction to the terminal device. Since in a networked audio system, the time lengths for different audio devices to switch data streams are different, in order to avoid the problem that the effective sound output times are uneven after the data stream switching of the audio devices is completed, resulting in a poor user experience, after the terminal device receives the data stream switching completion instructions sent by all audio devices in the network, the terminal device uniformly sends an unmute instruction to each audio device in the network. Each audio device in the network unmutes according to the unmute instruction and outputs the audio data stream through the selected power amplifier module. In this way, the problem that the time lengths required for different audio devices to switch data streams are different, resulting in uneven time sequences of sound output from each audio device, is avoided, and the user experience is improved.
[0098] To better understand the present application, the following further details the technical solutions of the above embodiments of the present application in combination with a specific application example.
[0099] Taking the terminal device as a projection device as an example, a combination is formed based on the networking of the projection device and multiple audio devices. In the related art, during the process of the projection device playing the sound of a video source, the audio devices play the sound of the video source using the same sound effect mode. However, this method has the problem of poor playback effect.
[0100] Here, the networked audio system consists of multiple audio devices, and each audio device plays a different role in the network, such as: left channel, right channel, left surround, right surround, etc. The projection device can set the entire networked audio system to enter a certain sound effect mode, such as: movie sound effect, music sound effect, sports sound effect, etc. The projection device has multiple sound effect modes that need to be set for each audio device in the network to achieve a better sound effect for different played video sources. In the embodiment of the present application, referring to Figure 6 as shown, the implementation solution for the process of the projection device sending the sound effect files corresponding to the sound effect modes set for each audio device is as follows:
[0101] Step S601: The projection device configures the audio device combination based on user operations and forms a network with multiple audio devices.
[0102] Step S602: The projection device assigns audio device roles to the audio devices according to their positions.
[0103] Here, the audio device role can be understood as the channel type, such as left channel, right channel, left surround sound, and right surround sound. Exemplarily, the left channel is assigned to audio device 1 according to its position, and the right channel is assigned to audio device 2 according to its position.
[0104] Step S603: The projection device distributes the audio power amplifier parameter file to the audio device corresponding to the audio role according to the role.
[0105] Here, the projection device searches for the audio power amplifier parameter file corresponding to the audio role from the audio power amplifier parameter files corresponding to the audio modes with multiple roles, and distributes the corresponding audio to the corresponding audio.
[0106] Exemplarily, the projection device searches for the audio power amplifier parameter file corresponding to the left channel from the audio power amplifier parameter files of the movie sound effect, the music sound effect, and the sports sound effect, that is, the left-channel audio power amplifier parameter files of the movie sound effect, the music sound effect, and the sports sound effect, and distributes them to Speaker 1. Similarly, the projection device searches for the audio power amplifier parameter file corresponding to the right channel from the audio power amplifier parameter files of the movie sound effect, the music sound effect, and the sports sound effect, that is, the right-channel audio power amplifier parameter files of the movie sound effect, the music sound effect, and the sports sound effect, and distributes them to Speaker 2.
[0107] Step S604: The audio stores and parses the audio power amplifier parameter file corresponding to the audio role into the storage module.
[0108] As can be seen from the above, since the roles of the speakers in the networked speakers are different, the power amplifier sound effect file parameters of each speaker in the networked speakers are different under the same sound effect. Therefore, when different roles are assigned to each speaker during networking, different power amplifier sound effect files are distributed to the speakers. In this way, each speaker only needs to store the sound effect files related to itself, so that it is not necessary for each speaker to have the space to store all the sound effect files, which saves the storage space of the speakers. At the same time, after the network is established, each sound effect file is distributed to the corresponding speaker to prevent the problem of time-consuming when the sound effect file is distributed only when the sound effect is switched, so as to facilitate quick switching during subsequent sound effect mode switching.
[0109] In the embodiment of the present application, the internal modules of the audio device may include a communication module, a storage module, a power consumption management module, a processor, a power amplifier module, and a control module. Among them, the power amplifier module may be one or more. It should be noted that different numbers of power amplifier modules perform different methods for switching sound effect modes.
[0110] In the case where the number of power amplifier modules is one, taking two speakers as an example for illustration, refer to Figure 7 As shown, in the case where the projection device and the speakers form a network, the method steps for switching the sound effect mode are as follows:
[0111] Step S701: The projection device sends an audio effect switching confirmation instruction to each speaker within the network.
[0112] Step S702: Each speaker sends a confirmation message to the projection device.
[0113] Step S703: The projection device receives the confirmation messages sent by all speakers and generates an audio effect mode switching instruction.
[0114] Among them, the audio effect mode switching instruction is used to switch the current audio effect mode to a target audio effect mode that matches the content type of the audio data stream currently projected by the terminal device. The audio effect mode switching instruction carries the target audio effect mode, such as the movie audio effect mode.
[0115] It should be noted that in order to pre-confirm whether the internal state of each speaker is busy and whether the network is unobstructed before switching the audio effect mode, reduce the time difference for the audio effect mode switching instruction to reach each speaker, and suppress the inconsistent sequence of static actions of the speakers within the network, thereby improving the user experience.
[0116] Step S704: The projection device sends an audio effect mode switching instruction to each speaker.
[0117] Step S705: After receiving the instruction, the speaker mutes itself to prevent the speaker from producing popping sounds, parses the audio effect mode switching instruction to obtain the target audio effect mode, and searches in the memory for the target audio effect parameters corresponding to the target audio effect mode and configures them to the power amplifier module.
[0118] Step S706: After the speaker configuration is completed, it sends a configuration completed instruction to the projection device.
[0119] Step S707: The projection device receives the configuration completed instructions sent by all speakers.
[0120] Step S708: The projection device sends an unmute instruction to each speaker within the network.
[0121] Step S709: According to the unmute instruction, the speaker unmutes itself and outputs the audio data stream through the configured power amplifier module.
[0122] As described above, in the embodiments of the present application, in order to pre-confirm whether the internal states of each audio device are busy and whether the network is unobstructed before switching the sound effect mode, so as to reduce the time difference for the sound effect mode switching instruction to reach each audio device and suppress the inconsistent sequence of mute actions of the audio devices within the network. Further, in order to prevent popping sounds from occurring during the process of setting the sound effect parameters to the power amplifier module when the audio device switches the sound effect mode, a mute measure is taken when the sound effect mode switching instruction is received. Finally, after the terminal device receives the sound effect mode switching completion instructions sent by all the audio devices in the network, the terminal device uniformly sends an unmute instruction to each audio device in the network. Each audio device in the network unmutes according to the unmute instruction and outputs the audio data stream through the configured power amplifier module. In this way, the problem that the time required for different audio devices to configure the target sound effect parameters is different, and if the sound effect parameters of the audio device take effect immediately after being set, resulting in uneven output times of each audio device is avoided, improving the user experience.
[0123] In the case where the number of power amplifier modules is multiple, taking a network containing two audio devices as an example for illustration, refer to Figure 8 As shown, in the case where the projection device and the audio device form a network, the method steps for performing the sound effect mode switching are as follows:
[0124] Step S801: The projection device sends a sound effect switching preparation command to each audio device in the network;
[0125] Here, the sound effect switching preparation command carries the target sound effect mode, and the target sound effect mode is the sound effect mode matching the content type of the audio data stream currently projected by the terminal device.
[0126] Step S802: After receiving the command, the audio device selects an unused power amplifier module and sets the target sound effect parameters corresponding to the target sound effect mode into the selected power amplifier module.
[0127] Step S803: The projection device sends a query to each audio device to determine whether the preparation is completed.
[0128] Step S804: The audio device replies to the projection device that the preparation is completed.
[0129] Here, the projection device queries each audio device to determine whether the preparation is completed respectively, aiming to pre-confirm whether each audio device is ready internally and whether the network is unobstructed before the data stream switching, reduce the response pace of the data stream switching instruction reaching each audio device, and suppress the inconsistent sequence of mute actions of the audio devices within the network, thereby improving the user experience.
[0130] Step S805: The projection device determines that all audio devices have completed the preparation;
[0131] Step S806: The projection device sends a data stream switching instruction to all speakers.
[0132] Step S807: After receiving the data stream switching instruction, the speaker mutes itself to prevent popping sounds and switches the data stream channel of the audio data stream to the selected power amplifier module.
[0133] Step S808: The speaker sends a data stream switching completion instruction to the projection device.
[0134] Step S809: The projection device receives the data stream switching completion instructions from all speakers within the network.
[0135] Step S810: Send an unmute instruction to all speakers.
[0136] Step S811: According to the unmute instruction, the speaker unmutes itself and outputs the audio data stream through the selected power amplifier module.
[0137] As can be seen from the above, in the embodiment of the present application, the audio device uses multiple power amplifier modules. When other power amplifier modules are in use, the target audio effect parameters are configured to an idle power amplifier module, which does not affect the normal use of the power amplifier module and avoids the problem of long setting time when there is only one power amplifier module. Then, in order to pre-confirm whether each audio device is ready and the network is unobstructed before data stream switching, etc., to reduce the response pace of the data stream switching instruction reaching each audio device and suppress the inconsistent sequence of mute actions of the audio devices within the network; further, in order to prevent popping sounds from being generated by the power amplifier module during the data stream switching of the audio device, a mute measure is taken before the audio data stream is switched; finally, after the terminal device receives the data stream switching completion instructions sent by all audio devices in the network, the terminal device uniformly sends an unmute instruction to each audio device in the network. Each audio device in the network unmutes itself according to the unmute instruction and outputs the audio data stream through the selected power amplifier module. In this way, the problem that the time required for different audio devices to switch the data stream is different, resulting in uneven time sequences of the sounds output by each audio device, is avoided, and the user experience is improved.
[0138] In other embodiments of the present application, the power consumption management module included in the speaker determines whether there is channel data of the speaker in the audio data stream. If not, it controls the power amplifier module in the speaker to enter the sleep state; if it exists and the power amplifier module is in the sleep state, it controls the power amplifier module to exit the sleep state and continuously monitors whether there is channel data of the speaker in the audio data stream. In this way, according to whether there is channel data in the audio data stream, the speakers of the channels are dynamically turned off, turned on, or controlled to enter the sleep state, thereby achieving power saving for the overall combination.
[0139] An embodiment of the present application provides a sound effect mode switching device, which can be used to implement Figure 2 , Figures 4 to 5 a sound effect mode switching method provided by the corresponding embodiment. As shown in Figure 9 , the sound effect mode switching device 9 includes a receiving module 901, a processing module 902, a configuration module 903, an output module 904, a sending module 905, and a control module 906:
[0140] The receiving module 901 is configured to receive a sound effect mode switching instruction sent by the terminal device when the terminal device establishes a networking connection with multiple audio devices; wherein, the sound effect mode switching instruction carries a target sound effect mode matching the content type of the audio data stream currently played by the terminal device;
[0141] The processing module 902 is configured to parse the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; wherein, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the audio devices in the networking audio composed of multiple audio devices;
[0142] The configuration module 903 is configured to configure the target sound effect parameters to the power amplifier module of the first audio device;
[0143] The output module 904 is configured to output the audio data stream through the configured power amplifier module.
[0144] In other embodiments of the present application, the receiving module 901 is further configured to receive the association relationship between the sound effect mode and the configuration parameters sent by the terminal device; wherein, the association relationship between the sound effect mode and the configuration parameters is established by the terminal device based on the target sound channel of the first audio device determined according to the position of the first audio device in the networking audio and the sound effect parameters of multiple sound effect modes corresponding to the target sound channel; the processing module 902 is further configured to store the association relationship between the sound effect mode and the configuration parameters in the storage module of the first audio device.
[0145] In other embodiments of the present application, the number of power amplifier modules is the first number, the receiving module 901 is further configured to receive a sound effect mode switching confirmation instruction sent by the terminal device; the processing module 902 is further configured to generate a first confirmation instruction corresponding to the sound effect mode switching confirmation instruction and send it to the terminal device, wherein the first confirmation instruction is used to confirm that the first audio device can perform sound effect mode switching; the sending module 905 is configured to send a sound effect mode switching completion instruction to the terminal device.
[0146] In other embodiments of the present application, the control module 906 is used to control the first audio device to be in a mute state; the receiving module 901 is also used to receive an unmute instruction sent by the terminal device, wherein the unmute instruction is generated based on the sound effect mode switching completion instruction received by the terminal device from all audio devices; the control module 906 is also used to unmute according to the unmute instruction.
[0147] In other embodiments of the present application, the number of power amplifier modules is the second number, and the processing module 902 is further used to select a power amplifier module in an idle state from the second number of power amplifier modules, and configure the target sound effect parameters to the selected power amplifier module; the receiving module 901 is further used to receive a data stream switching instruction sent by the terminal device; the control module 906 is further used to switch the data stream channel of the audio data stream to the selected power amplifier module, so that the audio data stream is output through the selected power amplifier module; wherein the configured power amplifier module includes the selected power amplifier module; the sending module 905 is further used to send a data stream switching completion instruction to the terminal device.
[0148] In other embodiments of the present application, the sending module 905 is further used to send a sound effect mode switching completion instruction to the terminal device; the control module 906 is further used to control the first audio device to be in a mute state; the receiving module 901 is further used to receive an unmute instruction sent by the terminal device, wherein the unmute instruction is generated based on the data stream switching completion instruction sent by all audio devices received by the terminal device; the control module 906 is further used to unmute according to the unmute instruction.
[0149] In other embodiments of the present application, the control module 906 is also used to control the power amplifier module of the first audio device to be in a dormant state if the channel obtained by parsing the audio data stream does not include the target channel corresponding to the first audio device; and to monitor in real time through the power consumption management module of the first audio device whether the channel obtained by parsing the audio data stream includes the target channel, and if so, control the power amplifier module to switch from the dormant state to the working state.
[0150] The present application embodiment provides an audio device, which can be used to implement Figure 2 、 Figures 4 to 5 A corresponding embodiment provides a method for switching sound effect modes, refer to Figure 10 As shown, the audio device 200 ( Figure 10 The audio device 200 in corresponds to Figure 9 The sound effect mode switching device 9) in comprises: a processor 1001, a memory 1002 and a communication bus 1003, wherein:
[0151] The communication bus 1003 is used to realize the communication connection between the processor 1001 and the memory 1002;
[0152] The processor 1001 is configured to execute the sound effect mode switching program stored in the memory 1002 to implement the following steps:
[0153] When the terminal device establishes a network connection with multiple audio devices, receive the sound effect mode switching instruction sent by the terminal device; wherein, the sound effect mode switching instruction carries a target sound effect mode matching the content type of the audio data stream currently played by the terminal device;
[0154] Analyze the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameters; wherein, the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the audio devices in the networked audio composed of multiple audio devices;
[0155] Configure the target sound effect parameters into the power amplifier module of the first audio device, and output the audio data stream through the configured power amplifier module.
[0156] An embodiment of the present application provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figure 2 、 Figures 4 to 5 A sound effect mode switching method provided by the corresponding embodiment.
[0157] It should be noted here that the descriptions of the above storage medium and device embodiments are similar to those of the above method embodiments, and have beneficial effects similar to those of the same method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0158] The above computer storage medium / memory can be a read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various terminals including one or any combination of the above memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0159] It should be understood that the "one embodiment" or "an embodiment" or "the embodiments of the present application" or "the foregoing embodiments" or "some embodiments" or "some implementations" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" or "the embodiments of the present application" or "the foregoing embodiments" or "some embodiments" or "some implementations" that appear throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the order numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0160] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.
[0161] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0162] In addition, each functional unit in the embodiments of the present application may be all integrated in a processing unit, or each unit may be separately regarded as a unit, or two or more units may be integrated in one unit; the above integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0163] The methods disclosed in several method embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments.
[0164] The features disclosed in several product embodiments provided by the present application can be arbitrarily combined without conflict to obtain new product embodiments.
[0165] The features disclosed in several method or device embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0166] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), magnetic disks, or optical disks and other various media that can store program codes.
[0167] Alternatively, if the above integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the related technology can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the various embodiments of the present application. And the foregoing storage medium includes: removable storage devices, ROM, magnetic disks, or optical disks and other various media that can store program codes.
[0168] It should be noted that the attached drawings in the embodiments of the present application are only for illustrating the schematic positions of various components on the terminal device, and do not represent the actual positions in the terminal device. The actual positions of each component or each area can be changed or offset accordingly according to the actual situation (for example, the structure of the terminal device). Moreover, the proportions of different parts in the terminal device in the figure do not represent the actual proportions.
[0169] The above are only the implementation manners of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for switching sound effect modes, characterized in that: Applied to a first audio device, the method comprises: In the case where a terminal device establishes a networking connection with a plurality of audio devices, receiving a sound effect mode switching instruction sent by the terminal device; wherein the sound effect mode switching instruction carries a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device; Parse the sound effect mode switching instruction, and obtain the target sound effect parameters of the first audio device corresponding to the target sound effect mode according to the association relationship between the sound effect mode and the configuration parameter; wherein the association relationship is the sound effect parameters corresponding to the multiple sound effect modes configured for the first audio device, and the first audio device is one of the networked audio devices composed of the multiple audio devices; The target sound effect parameters are configured to the power amplifier module of the first audio device, and the audio data stream is output through the configured power amplifier module.
2. The method according to claim 1, characterized in that: The method comprises: Receiving the association relationship between the sound effect mode and the configuration parameters sent by the terminal device; The association relationship between the sound effect mode and the configuration parameter is established by the terminal device based on the position of the first audio device in the networked audio device, and the sound effect parameters of the plurality of sound effect modes corresponding to the target channel; The association relationship between the sound effect mode and the configuration parameter is stored in the storage module of the first audio device.
3. The method according to claim 1 or 2, characterized in that: The number of the power amplifier modules is a first number, and before receiving the sound effect mode switching instruction sent by the terminal device, the method further includes: Receiving a sound effect mode switching confirmation instruction sent by the terminal device; Generate a first confirmation instruction corresponding to the sound effect mode switching confirmation instruction, and send the first confirmation instruction to the terminal device, wherein the first confirmation instruction is used to confirm that the first audio device can switch the sound effect mode; Correspondingly, after configuring the target sound effect parameters to the power amplifier module of the first audio device, the method includes: sending a sound effect mode switching completion instruction to the terminal device.
4. The method according to claim 3, characterized in that After receiving the sound effect mode switching instruction sent by the terminal device, the method includes: Controlling the first audio device to be in a mute state; Accordingly, before outputting the audio data stream through the configured power amplifier module, the method further includes: Receiving an unmute instruction sent by the terminal device, wherein the unmute instruction is generated based on the sound effect mode switching completion instruction sent by all audio devices received by the terminal device; The mute function is canceled according to the mute cancel instruction.
5. The method according to claim 1 or 2, characterized in that: The number of the power amplifier modules is the second number, and configuring the target sound effect parameters to the power amplifier modules of the first audio device, and outputting the audio data stream through the configured power amplifier modules, includes: Selecting a power amplifier module in an idle state from the second number of power amplifier modules, and configuring the target sound effect parameters to the selected power amplifier module; Receiving a data stream switching instruction sent by the terminal device; Switching the data stream channel of the audio data stream to the selected power amplifier module so that the audio data stream is output through the selected power amplifier module; wherein the configured power amplifier module includes the selected power amplifier module; Sending the data stream switching completion instruction to the terminal device.
6. The method according to claim 5, characterized in that After configuring the target sound effect parameters to the selected power amplifier module, the method includes: sending a sound effect mode switching completion instruction to the terminal device; Correspondingly, after receiving the data stream switching instruction sent by the terminal device, the method further includes: controlling the first audio device to be in a mute state; Accordingly, before outputting the audio data stream through the configured power amplifier module, the method further includes: Receiving an unmute instruction sent by the terminal device, wherein the unmute instruction is generated based on the data stream switching completion instruction sent by all audio devices received by the terminal device; The mute function is canceled according to the mute cancel instruction.
7. The method according to claim 1 or 2, characterized in that: The method further comprises: If the channels obtained by parsing the audio data stream do not include the target channel corresponding to the first audio device, controlling the power amplifier module of the first audio device to be in a dormant state; The power consumption management module of the first audio device monitors in real time whether the channels obtained by parsing the audio data stream include the target channel, and if so, controls the power amplifier module to switch from the sleep state to the working state.
8. A sound effect mode switching device, characterized in that: The sound effect mode switching device comprises: A receiving module, configured to receive a sound effect mode switching instruction sent by a terminal device when a terminal device establishes a networking connection with a plurality of audio devices; wherein the sound effect mode switching instruction carries a target sound effect mode that matches the content type of the audio data stream currently played by the terminal device; a processing module, configured to parse the sound effect mode switching instruction, and obtain a target sound effect parameter of a first audio device corresponding to the target sound effect mode according to an association relationship between the sound effect mode and the configuration parameter; wherein the association relationship is the sound effect parameters corresponding to multiple sound effect modes configured for the first audio device, and the first audio device is one of the networked audio devices composed of the multiple audio devices; A configuration module, used to configure the target sound effect parameters to the power amplifier module of the first audio device; The output module is used to output the audio data stream through the configured power amplifier module.
9. An audio device, characterized in that: The audio device comprises: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the sound effect mode switching program stored in the memory to implement the sound effect mode switching method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the sound effect mode switching method as described in any one of claims 1 to 7.