Intelligent device and sound equalizer configuration method

Automatically switching the sound equalizer mode through pattern recognition and configuration data solves the problem of smart device sound effects being limited to a single effect, enables the sound equalizer to adapt to different scenarios, and improves the user experience.

CN120636451APending Publication Date: 2025-09-12QINGDAO HISENSE MEDIA NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510559077.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The sound equalizer of existing smart devices cannot automatically adjust the sound effects according to different usage scenarios after being set by the user, resulting in the sound effects being limited to a single effect and unable to adapt to changing usage environments and scenarios.

Method used

Through the pattern recognition data and pattern configuration data, the smart device automatically identifies and switches the mode of the sound equalizer, and uses the program configuration information of the first mode or the second mode for processing to ensure that the sound effect matches the current usage scenario.

Benefits of technology

The sound equalizer is now able to automatically adapt to different sound effects in different usage scenarios, improving the adaptability of sound effects and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120636451A_ABST
    Figure CN120636451A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses intelligent equipment and a sound equalizer configuration method. The method comprises the following steps: acquiring mode configuration data corresponding to a first mode of a sound equalizer; acquiring equalizer configuration data of the sound equalizer, wherein the equalizer configuration data comprises first program configuration information corresponding to the first mode and second program configuration information corresponding to the second mode; in response to the media asset playing instruction, acquiring mode recognition data; if it is determined that the sound equalizer is in a first mode based on the mode identification data and the mode configuration data, processing the sound equalizer according to first program configuration information; and if it is determined that the sound equalizer is in a second mode based on the mode identification data and the mode configuration data, processing the sound equalizer according to the second program configuration information. Therefore, mode expansion is carried out on each sound equalizer, and the mode of the sound equalizer is automatically matched by utilizing the mode identification data, so that a sound effect matched with a use scene is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing technology, and in particular to a smart device and a sound equalizer configuration method. Background Art

[0002] Smart devices can perform audio processing on the content being played. Audio processing programs include equalizer programs. Equalizer programs are audio processing programs specific to sound equalizers. Sound equalizers can adjust the different frequency components of an audio signal to compensate for imperfections in the audio output device and sound field, achieving specific sound effects.

[0003] Users can set the type of sound equalizer in their smart devices, including but not limited to classical, jazz, pop, rock, etc. In this way, when users listen to media resources provided by playback applications, they can hear sound effects that match the preset sound equalizer.

[0004] The configuration parameters of the sound equalizer are preset on the smart device. After the user sets the sound equalizer to a specific type, the smart device performs audio processing based on the configuration parameters of the target type. Unless the user switches the sound equalizer type, the sound effect produced by the sound equalizer remains unchanged. However, users may expect the same type of sound equalizer to produce sound effects that are adapted to different usage scenarios. Summary of the Invention

[0005] The embodiments of the present application provide a smart device and a sound equalizer configuration method, so that the sound equalizer is no longer limited to a single sound effect, but can produce sound effects adapted to different usage scenarios.

[0006] In a first aspect, an embodiment of the present application provides a smart device, including:

[0007] A user input interface, used to receive operation instructions input by a user;

[0008] The controller is configured to execute:

[0009] Obtaining mode configuration data corresponding to a first mode of the sound equalizer;

[0010] Acquire equalizer configuration data of the sound equalizer, the equalizer configuration data including first program configuration information corresponding to the first mode and second program configuration information corresponding to the second mode;

[0011] Responding to a media asset playback instruction, acquiring pattern recognition data;

[0012] If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the first mode, processing the sound equalizer according to the first program configuration information;

[0013] If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the second mode, the sound equalizer is processed according to the second program configuration information.

[0014] The technical solution provided by the above first aspect embodiment has the following beneficial effects: the present application sets a first mode and a second mode for each type of sound equalizer, and identifies the mode of the sound equalizer through pattern recognition data and pattern configuration data. If the sound equalizer is in the first mode, the sound equalizer is processed using the program configuration information corresponding to the first mode; if the sound equalizer is in the second mode, the sound equalizer is processed using the second mode and the corresponding program configuration information. In this way, during the media playback process, the pattern recognition data can be used to automatically match the mode of the sound equalizer, thereby generating a sound effect adapted to the usage scenario. By expanding and matching the mode of each sound equalizer, the sound equalizer is no longer limited to a single sound effect, but can generate sound effects adapted to different usage scenarios.

[0015] In some embodiments of the first aspect, the pattern recognition data includes the system time of the smart device, and the mode configuration data includes a preset time period for the execution of the first mode; if the controller determines that the sound equalizer is in the first mode based on the pattern recognition data and the mode configuration data, the sound equalizer is processed according to the first program configuration information, and is specifically configured as follows: if the system time is within the preset time period, the time dimension information mapped by the sound equalizer is set to a first state value, and the first state value is used to indicate that the sound equalizer is set to the first mode; a first processing instruction is sent to the audio driver layer according to the time dimension information, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information. The technical solution provided by this embodiment has the following beneficial effects: the pattern recognition data includes the device system time, and the system time can measure the world time of the device's location / region from the time dimension; the mode configuration data includes a preset time period for the execution of the first mode, and the preset time period limits the time period used for the first mode judgment. If the system time is within the preset time period, indicating that the sound equalizer meets the execution standard of the first mode in the time dimension, the first state value is used to indicate that the equalizer has been set to the first mode, thereby controlling the audio driver layer to process the sound equalizer according to the first program configuration information of the first mode, so that the smart device outputs a sound effect that matches the first mode of the current type of sound equalizer, thereby adapting to the sound effect usage requirements of users for the sound equalizer in different time periods.

[0016] In some embodiments of the first aspect, if the controller determines that the sound equalizer is in the second mode based on the pattern recognition data and the mode configuration data, then processing the sound equalizer according to the second program configuration information is specifically configured as follows: if the system time is not within the preset time period, setting the time dimension information to a second state value, the second state value being used to indicate that the sound equalizer is set to the second mode; and sending a second processing instruction to the audio driver layer based on the time dimension information, the second processing instruction being used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information. The technical solution provided by this embodiment has the following beneficial effects: if the system time is not within the preset time period, it indicates that the sound equalizer does not meet the execution standard of the first mode in the time dimension and meets the execution standard of the second mode by default, so that the second state value can be used to indicate that the equalizer is set to the second mode, thereby controlling the audio driver layer to process the sound equalizer according to the second program configuration information of the second mode, so that the smart device outputs a sound effect that matches the second mode of the current type of sound equalizer, thereby adapting to the sound effect usage requirements of the sound equalizer for users in different time periods.

[0017] In some embodiments of the first aspect, the pattern recognition data includes ambient light intensity, and the mode configuration data includes the on / off status of the ambient light control function; if the controller determines that the sound equalizer is in the first mode based on the pattern recognition data and the mode configuration data, then the sound equalizer is processed according to the first program configuration information, and is specifically configured as follows: if the smart device has light detection capability and the ambient light control function is in the on state, then the light sensing device is controlled to detect the ambient light intensity of the environment in which the smart device is located; if the ambient light intensity is less than a threshold, the light dimension information mapped by the sound equalizer is set to a first state value, and the first state value is used to indicate that the sound equalizer is set to the first mode; a first processing instruction is sent to the audio driver layer according to the light dimension information, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information. The technical solution provided by this embodiment has the following beneficial effects: the pattern recognition data includes the ambient light intensity, which can measure the light intensity of the device's environment from the light dimension. The light intensity is correlated with factors such as region, time, and environmental scene, and may affect the user's requirements for sound effect playback; the mode configuration data includes the on / off status of the ambient light control function, which indicates whether the ambient light control function is enabled. If the smart device itself has light detection capabilities and the ambient light control function is turned on, the intensity of the ambient light can be analyzed by detecting the ambient light intensity and the threshold, and then a mode that matches the ambient light intensity can be determined. For example, if the ambient light intensity is less than the threshold, indicating that the light in the environment is weak, the sound equalizer meets the execution standard of the first mode in the light dimension, and the first state value is used to indicate that the equalizer has been set to the first mode, thereby controlling the audio driver layer to process the sound equalizer according to the first program configuration information of the first mode, so that the smart device outputs a sound effect that matches the first mode of the current type of sound equalizer, thereby adapting to the user's requirements for the sound effect of the sound equalizer under different ambient light conditions.

[0018] In some embodiments of the first aspect, if the controller determines that the sound equalizer is in the second mode based on the pattern recognition data and the mode configuration data, then the controller processes the sound equalizer according to the second program configuration information, and is specifically configured as follows: if the ambient light intensity is not less than the threshold, the light dimension information is set to a second state value, the second state value is used to indicate that the sound equalizer is set to the second mode; and a second processing instruction is sent to the audio driver layer according to the light dimension information, the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information. The technical solution provided by this embodiment has the following beneficial effects: if the ambient light intensity is not less than the threshold, it indicates that the ambient light is strong, indicating that the sound equalizer meets the execution standard of the second mode in the light dimension. In this way, the second state value can be used to indicate that the equalizer has been set to the second mode, thereby controlling the audio driver layer to process the sound equalizer according to the second program configuration information of the second mode, so that the smart device outputs a sound effect that matches the second mode of the current type of sound equalizer, thereby adapting to the user's requirements for the sound effect of the sound equalizer under different ambient light conditions.

[0019] In some embodiments of the first aspect, if the controller determines that the sound equalizer is in the second mode based on the pattern recognition data and the mode configuration data, then the sound equalizer is processed according to the second program configuration information, and is specifically configured as follows: if the ambient light control function is in the off state, the light dimension information is set to a second state value, the second state value is used to indicate that the sound equalizer is set to the second mode; and a second processing instruction is sent to the audio driver layer according to the light dimension information, the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information. The technical solution provided by this embodiment has the following beneficial effects: if it is recognized that the ambient light control function is turned off, it indicates that the smart device does not have the authority to access the light sensing device and perform ambient light intensity detection. In this way, the smart device cannot match the mode of the sound equalizer according to the ambient light intensity, and the sound equalizer is set to the second mode by default, thereby controlling the audio driver layer to process the sound equalizer according to the second program configuration information of the second mode, so that the smart device outputs a sound effect that matches the second mode of the current type of sound equalizer.

[0020] In some embodiments of the first aspect, the pattern recognition data also includes ambient light intensity, and the mode configuration data also includes the on / off status of the ambient light control function; if the controller determines that the sound equalizer is in the first mode based on the pattern recognition data and the mode configuration data, the sound equalizer is processed according to the first program configuration information, and is specifically configured as follows: if the system time is not within the preset time period, the time dimension information mapped by the sound equalizer is set to a second state value, and the light detection capability of the smart device is queried; wherein the second state value is used to indicate that the sound equalizer is set to the second mode; if the smart device has light detection capability and the ambient light control function is on, the light sensing device is controlled to detect the ambient light intensity of the environment in which the smart device is located; if the ambient light intensity is less than a threshold, the light dimension information mapped by the sound equalizer is set to the first state value; based on the time dimension information and the light dimension information, a first processing instruction is sent to the audio driver layer, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information. The technical solution provided by this embodiment has the following beneficial effects: this embodiment coordinates the time dimension and the ambient light dimension, and when the system time is not within the preset time period, the time dimension information is set to the second state value, and the ambient light intensity is used to collaboratively identify the mode of the sound equalizer. For example, during the daytime, due to factors such as cloudy weather or light blocking, the indoor light is dim. At this time, the ambient light intensity can be used to match the mode of the sound equalizer. If the ambient light intensity is less than the threshold, indicating that the light is weak and adapted to the first mode, the light dimension information is set to the first state value. If at least one of the light dimension information and the time dimension information is set to the first state value, the sound equalizer is processed according to the first mode, so that the smart device outputs a sound effect that matches the first mode of the current type of sound equalizer.

[0021] In some embodiments of the first aspect, the controller is further configured to execute: if the mode configuration data is not obtained, and the equalizer configuration data is obtained, then the time dimension information mapped by the sound equalizer is set to a second state value, and the second state value is used to indicate that the sound equalizer is set to the second mode; according to the time dimension information, a second processing instruction is sent to the audio driver layer, and the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information. The technical solution provided by this embodiment has the following beneficial effects: if the smart device has no available mode configuration data, there is a lack of basis for distinguishing the sound equalizer mode, and the smart device cannot process the sound equalizer. The sound equalizer can be set to the second mode by default, and the sound equalizer can be processed according to the second mode to ensure that the sound equalizer can be effectively processed and the media sound is played normally.

[0022] In some embodiments of the first aspect, the controller is further configured to execute: if the equalizer configuration data is not acquired, then after a preset time period, reacquire the mode configuration data and the equalizer configuration data. The technical solution provided by this embodiment has the following beneficial effect: if the smart device has no available equalizer configuration data, even if the mode category of the sound equalizer is determined, the sound equalizer cannot be processed. In this way, after a preset time period, the mode configuration data and the equalizer configuration data can be reacquired to perform a new round of equalizer pattern recognition and processing.

[0023] In some embodiments of the first aspect, before executing the step of sending the second processing instruction to the audio driver layer according to the time dimension information, the controller is further configured to execute: querying the light detection capability of the smart device; if the smart device does not have the light detection capability, starting the timing according to the preset duration. The technical solution provided by this embodiment has the following beneficial effects: if the mode configuration data is not obtained, the smart device cannot perform pattern recognition on the sound equalizer based on the mode configuration data. In order to improve the accuracy of the sound equalizer pattern recognition and the accuracy of the audio playback processing based on the usage scenario, in this embodiment, when the mode configuration data is not obtained, the ambient light control function can be automatically called. If the smart device does not have the light detection capability, the ambient light control function cannot be used. The controller can then wait for a preset duration, and then re-acquire the mode configuration data and equalizer configuration data after the preset duration to perform a new round of equalizer pattern recognition and processing.

[0024] In some embodiments of the first aspect, after querying the light detection capability of the smart device, the controller is further configured to execute: if the smart device has light detection capability, control the light sensing device to detect the ambient light intensity of the environment in which the smart device is located; if the ambient light intensity is less than a threshold, set the light dimension information mapped by the sound equalizer to a first state value, and the first state value is used to indicate that the sound equalizer is set to the first mode; send a first processing instruction to the audio driver layer according to the light dimension information, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information. The technical solution provided by this embodiment has the following beneficial effects: in this embodiment, when the mode configuration data is not obtained, the sound equalizer can be set to the second mode by default, and then the ambient light control function can be called automatically. If the smart device has light detection capability, the true mode of the sound equalizer is determined by comparing the ambient light intensity and the threshold. If the ambient light intensity is less than the threshold, the light dimension information is set to the first state value, and the time dimension information is set to the second state value. When at least one of the light dimension information and the time dimension information is set to the first state value, the sound equalizer is in the first mode, and the sound equalizer is processed according to the first mode, thereby improving the accuracy of the sound equalizer mode recognition and the accuracy of the audio playback processing based on the usage scenario; in this way, when there is no available mode configuration data, the smart device autonomously enables the light control function to accurately identify the mode of the sound equalizer, thereby adapting to the needs of the actual usage scenario.

[0025] In some embodiments of the first aspect, after controlling the light sensing device to detect the ambient light intensity of the environment in which the smart device is located, the controller is further configured to execute:

[0026] If the ambient light intensity is not less than the threshold, the light dimension information mapped by the sound equalizer is set to the second state value; according to the time dimension information or the light dimension information, a second processing instruction is sent to the audio driver layer, and the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information. The technical solution provided by this embodiment has the following beneficial effects: based on the previous embodiment, if the ambient light intensity is not less than the threshold, indicating that the ambient light is strong, the light dimension information is set to the second state value, and at this time the time dimension information is also set to the second state value, and the sound equalizer is determined to be in the second mode, and the sound equalizer is processed according to the second mode, thereby improving the accuracy of the sound equalizer mode recognition and the accuracy of the audio playback processing based on the usage scenario; in this way, when there is no available mode configuration data, the smart device autonomously enables the light control function to accurately identify the mode of the sound equalizer, thereby adapting to the needs of the actual usage scenario.

[0027] In some embodiments of the first aspect, the smart device further includes a display, and the controller is further configured to execute: in response to a mode setting instruction input by a user, control the display to display a mode setting page, the mode setting page being used to set first mode configuration data, the first mode configuration data being mode configuration data set by the user through the smart device; storing the first mode configuration data set by the user based on the mode setting page, and recording the first generation time of the first mode configuration data in the smart device. The technical solution provided by this embodiment has the following beneficial effects: for a smart device with display capability, a user can quickly display a mode setting page through a mode setting instruction, and customize the mode configuration data (referred to as: first mode configuration data) through the mode setting page, the first mode configuration data being local mode configuration data, the smart device can perform mode recognition on the sound equalizer based on the locally stored first mode configuration data, and record the generation time of the data in the smart device (referred to as the first generation time) when storing the first mode configuration data, so as to perform data update according to the generation time.

[0028] In some embodiments of the first aspect, the smart device further comprises a communication device for communicating with the terminal device, and the controller is further configured to execute: receiving second mode configuration data and a second generation time sent by the terminal device, wherein the second mode configuration data is mode configuration data set by a user through a smart home application installed by the terminal device, and the second generation time is the generation time of the second mode configuration data in the terminal device; and storing the second mode configuration data and the second generation time. The technical solution provided by this embodiment has the following beneficial effects: the smart device can communicate with the terminal device, and the user can set mode configuration data (hereinafter referred to as second mode configuration data) based on an application such as a smart home on the terminal device side, and the terminal device pushes the second mode configuration data to the smart device, so that the smart device can receive and store the second mode configuration data, and perform mode recognition on the sound equalizer based on the locally stored second mode configuration data, and record the generation time of the data in the smart device (hereinafter referred to as second generation time) when storing the second mode configuration data, so as to perform data update according to the generation time.

[0029] In some embodiments of the first aspect, the controller is further configured to execute: the controller is further configured to execute: if the first generation time is earlier than the second generation time, the local mode configuration data is updated to the second mode configuration data, and the second generation time is set to the target generation time corresponding to the local mode configuration data; if the first generation time is later than the second generation time, the local mode configuration data is updated to the first mode configuration data, and the first generation time is set to the target generation time corresponding to the local mode configuration data. The technical solution provided by this embodiment has the following beneficial effects: this embodiment provides an update strategy for local mode configuration data, that is, by comparing the first generation time and the second generation time, it is determined which mode configuration data is the latest, thereby updating the local mode configuration data, and using the latest local mode configuration data to perform pattern recognition on the sound equalizer, thereby improving the accuracy of equalizer pattern recognition and adapting to the dynamically changing usage needs of users.

[0030] In some embodiments of the first aspect, the smart device also includes a communication device, which is used to communicate with the server, and the controller executes to obtain mode configuration data corresponding to the first mode of the sound equalizer, and is specifically configured to: send a data acquisition request to the server, the data acquisition request is used to obtain cloud mode configuration data from the server, and the cloud mode configuration data is the mode configuration data set by the server; receive the cloud mode configuration data and a third generation time sent by the server, and the third generation time is the generation time of the cloud mode configuration data in the server; if the third generation time is earlier than the target generation time, update the local mode configuration data to the mode configuration data corresponding to the first mode of the sound equalizer; if the third generation time is later than the target generation time, update the cloud mode configuration data to the mode configuration data corresponding to the first mode of the sound equalizer. The technical solution provided by this embodiment has the following beneficial effects: the smart device can also communicate with the server, and the server can set the mode configuration data in the cloud (referred to as cloud mode configuration data). In this way, the smart device can obtain the cloud mode configuration data from the server through a data acquisition request, and compare the generation time with the local mode configuration data stored locally to update the mode configuration data stored in the smart device. In this way, the smart device can use the latest mode configuration data to perform pattern recognition on the sound equalizer, thereby improving the accuracy of equalizer pattern recognition.

[0031] In a second aspect, an embodiment of the present application further provides a method for configuring a sound equalizer, including:

[0032] Obtaining mode configuration data corresponding to a first mode of the sound equalizer;

[0033] Acquire equalizer configuration data of the sound equalizer, the equalizer configuration data including first program configuration information corresponding to the first mode and second program configuration information corresponding to the second mode;

[0034] Responding to a media asset playback instruction, acquiring pattern recognition data;

[0035] If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the first mode, processing the sound equalizer according to the first program configuration information;

[0036] If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the second mode, the sound equalizer is processed according to the second program configuration information.

[0037] The technical solution provided by the above-mentioned second aspect embodiment has the following beneficial effects: the present application sets a first mode and a second mode for each type of sound equalizer, and identifies the mode of the sound equalizer through pattern recognition data and pattern configuration data. If the sound equalizer is in the first mode, the sound equalizer is processed using the program configuration information corresponding to the first mode; if the sound equalizer is in the second mode, the sound equalizer is processed using the second mode and the corresponding program configuration information. In this way, during the media playback process, the pattern recognition data can be used to automatically match the mode of the sound equalizer, thereby generating a sound effect adapted to the usage scenario. By expanding and matching the mode of each sound equalizer, the sound equalizer is no longer limited to a single sound effect, but can generate sound effects adapted to different usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate some embodiments of the present application or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0039] Figure 1 A schematic diagram of an operation scenario between a smart device and a control device provided in some embodiments of the present application;

[0040] Figure 2 A schematic diagram of the hardware configuration of the smart device provided in some embodiments of the present application;

[0041] Figure 3 A schematic diagram of the software configuration of the smart device provided in some embodiments of the present application;

[0042] Figure 4A schematic diagram of an equalizer setting method in a smart device provided in some embodiments of the present application;

[0043] Figure 5 A schematic diagram of mode settings for a sound equalizer provided in some embodiments of the present application;

[0044] Figure 6 A flowchart of a first method for configuring a sound equalizer provided in some embodiments of the present application;

[0045] Figure 7 A flowchart of a second method for configuring a sound equalizer provided in some embodiments of the present application;

[0046] Figure 8 A flowchart of a third method for configuring a sound equalizer provided in some embodiments of the present application;

[0047] Figure 9 A schematic diagram of a first prompt page displayed on a smart device provided in some embodiments of the present application;

[0048] Figure 10 A schematic diagram of a second prompt page displayed on a smart device provided in some embodiments of the present application;

[0049] Figure 11 A flowchart of a fourth method for configuring a sound equalizer provided in some embodiments of the present application;

[0050] Figure 12 A flowchart of a fifth method for configuring a sound equalizer provided in some embodiments of the present application;

[0051] Figure 13 A flowchart of a sixth method for configuring a sound equalizer provided in some embodiments of the present application;

[0052] Figure 14 A schematic diagram of a mode setting page A1 displayed on a smart device provided in some embodiments of the present application;

[0053] Figure 15 A schematic diagram of a mode setting page A2 displayed on a smart device provided in some embodiments of the present application;

[0054] FIG16( a ) is a schematic diagram of an application interface of a smart home application displayed on a terminal device according to some embodiments of the present application;

[0055] FIG16( b ) is a schematic diagram of a mode setting page B displayed on a terminal device according to some embodiments of the present application;

[0056] Figure 17 A schematic diagram of a system framework of a smart device provided in some embodiments of the present application;

[0057] Figure 18 A timing interaction diagram of the sound equalizer configuration provided for some embodiments of the present application. DETAILED DESCRIPTION

[0058] The following embodiments are described in detail, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numbers in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following embodiments are not intended to represent all possible implementations consistent with the present application. They are merely examples of systems and methods consistent with certain aspects of the present application, as detailed in the claims.

[0059] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.

[0060] In the specification and claims of this application and the accompanying drawings, the terms "first," "second," "third," etc. are used to distinguish similar or similar objects or entities, and are not necessarily intended to limit a particular order or sequence, unless otherwise noted. It should be understood that the terms used in this manner are interchangeable under appropriate circumstances.

[0061] The terms "comprise," "include," and "have," and any variations thereof, are intended to cover but not exclude inclusion; for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0062] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functionality associated with that element.

[0063] In the embodiments of the present application, the smart device generally refers to an electronic device that has at least audio processing capabilities, wherein the audio processing capabilities include at least sound equalizer processing, and may also include processing programs such as dynamic gain adjustment, dynamic range compression, and volume adjustment.

[0064] Figure 1 Schematic diagram of operation scenarios between smart devices and control devices provided in some embodiments of the present application.

[0065] In some embodiments, reference Figure 1The smart devices 200 include, but are not limited to, smart TVs 200a, smart voice devices 200b, smart refrigerators 200c, smart speakers, Bluetooth speakers, terminal devices, and other electronic devices with audio processing and playback capabilities (such as smart teaching aids). The terminal devices may include fixed terminals such as computers, laptops, and desktop computers, as well as mobile terminals such as smartphones and tablet computers.

[0066] In some embodiments, reference Figure 1 , the user can operate the smart device 200 through touch operation, the mobile terminal 300, and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that the smart device 200 can recognize and respond to. For example, the control device 100 can be a remote control, a stylus pen, a handle, etc.

[0067] The mobile terminal 300 can function as a control device for performing human-computer interaction between a user and the smart device 200. The mobile terminal 300 can also function as a communication device for establishing a communication connection with the smart device 200 and exchanging data. In some embodiments, the mobile terminal 300 can install software applications with the smart device 200, enabling connection and communication via a network communication protocol, enabling one-to-one control operations and data communication. Audio and video content displayed on the mobile terminal 300 can also be transmitted to the smart device 200 for synchronized display.

[0068] In some embodiments, the mobile terminal 300 or other electronic devices can also simulate the functions of the control device 100 by running an application program that controls the smart device 200 .

[0069] like Figure 1 As shown in FIG, the smart device 200 also communicates data with the server 400 through various communication methods. The smart device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0070] Figure 2 Some embodiments of this application provide Figure 1 FIG. 2 is a block diagram of the hardware configuration of the smart device 200.

[0071] In some embodiments, the smart device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0072] In some embodiments, detector 230 is used to collect signals from the external environment or external interactions. For example, detector 230 includes a light receiver (also referred to as a light sensing device), which is a sensor for collecting ambient light intensity. Alternatively, detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures. Alternatively, detector 230 includes a sound collector, such as a microphone, for receiving external sounds.

[0073] In some embodiments, the display 260 includes a display component for presenting images and a driver component for driving image display. The display 260 is configured to receive image signals output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces.

[0074] In some embodiments, the communication device 220 is a component used to communicate with an external device or server 400 according to various communication protocol types. The smart device 200 may be provided with multiple communication devices 220 depending on the communication methods supported. For example, if the smart device 200 supports wireless network communication, the smart device 200 may be provided with a communication device 220 that includes WiFi functionality. If the smart device 200 supports Bluetooth connection communication, the smart device 200 needs to be provided with a communication device 220 that includes Bluetooth functionality.

[0075] The communication device 220 can establish a communication connection between the smart device 200 and an external device (e.g., a terminal device) or the server 400 via a wireless or wired connection. A wired connection can connect the smart device 200 to an external device via a data cable, an interface, or other components. A wireless connection can connect the smart device 200 to an external device via a wireless signal or wireless network. The smart device 200 can establish a connection with an external device directly or indirectly through a gateway, a router, a connection device, or the like.

[0076] In some embodiments, the controller 250 may include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processor, and a power processor, and first to nth interfaces for input / output. The controller 250 controls the operation of the smart device and responds to user operations through various software control programs stored in a memory. The controller 250 controls the overall operation of the smart device 200.

[0077] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).

[0078] In some embodiments, the audio output device 270 may be a local speaker of the smart device 200, or an external audio output device connected to the smart device 200. For the external audio output device connected to the smart device 200, the smart device 200 may also be provided with an external audio output terminal, through which the audio output device may be connected to the smart device 200 to output the sound of the smart device 200.

[0079] In some embodiments, the user input interface 280 may be configured to receive operation instructions inputted by a user.

[0080] To facilitate user interaction, in some embodiments, the smart device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the smart device 200. The operating system can control the smart device to provide a user interface. For example, the operating system can directly control the smart device to provide a user interface, or it can provide a user interface by running an application program. The operating system also allows the user to interact with the smart device 200.

[0081] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for smart devices.

[0082] Figure 3 A schematic diagram of the software configuration of the smart device provided in some embodiments of the present application.

[0083] The operating system can be divided into different modules or layers according to the functions implemented, e.g. Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (referred to as "application layer"), the application framework layer (referred to as "framework layer"), the system library layer and the kernel layer.

[0084] In some embodiments, the application layer provides services and interfaces for applications, enabling the smart device 200 to run applications and interact with users based on these applications. The application layer can host at least one application, which can include built-in window programs, system settings programs, or clock programs within the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0085] In some embodiments, see Figure 3The application layer can run multiple applications, such as Application 1, Application 2, Application 3, Application 4, etc. The embodiments of this application involve processes such as media playback, audio processing, and output. The application layer can set applications related to these functional configurations, such as local media centers, streaming media applications, and music applications. The controller can implement the technical solutions of the embodiments of this application by running at least one related application in the application process.

[0086] The framework layer provides applications with an application programming interface (API) and programming framework. The application framework layer includes predefined functions. The application framework layer acts as a processing center, determining the actions taken by applications in the application layer. Through the API, applications can access system resources and services during execution.

[0087] See also Figure 3 In the embodiment of the present application, the application framework layer includes a view system, managers, content providers, etc., wherein the view system can design and implement the interface and interaction of the application, and the view system includes lists, grids, text boxes, buttons, etc. The manager includes at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing system services or applications with access to the system location service; a package manager for retrieving various information related to the application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0088] In some embodiments, the activity manager is used to manage the lifecycle of each application and common navigation back functions, such as controlling application exit, opening, and back. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, taking screenshots, and controlling changes in display windows, such as shrinking, shaking, or distorting the display window.

[0089] In some embodiments, the system runtime layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library contained in the system runtime layer, such as the C / C++ instruction library, to implement the functions to be implemented by the framework layer.

[0090] In some embodiments, the kernel layer is a functional layer between the hardware and software of the smart device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. Figure 3 As shown, the kernel layer can be configured with hardware drivers, and the drivers included in the kernel layer can be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0091] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the smart device 200 in the embodiment of the present application. Depending on factors such as the functions of the smart device and the type of operating system, the number of layers and specific layer types contained in the operating system may be expressed in other forms.

[0092] In some embodiments, the controller 250 of the smart device 200 may execute an audio processing program for the media asset in response to a media asset playing instruction.

[0093] In some embodiments, see Figure 3 The system kernel of the smart device 200 has a driver layer, which includes an audio driver layer. In response to a media playback instruction, the controller can run the audio driver layer and control the audio driver layer to execute an audio processing program, including an equalizer processing program.

[0094] In some embodiments, the sound equalizer can adjust the different frequency components of the audio signal to compensate for defects in the audio output device and the sound field, thereby enabling the audio output device to output specific sound effects. Audio output devices include, but are not limited to, built-in speakers in smart devices, Bluetooth playback devices (e.g., Bluetooth headsets, Bluetooth speakers, etc.), and external amplifier devices connected via interfaces (e.g., USB, HDMI, etc.) (e.g., wired headsets, smart speakers, etc.).

[0095] Figure 4 Schematic diagram of the equalizer setting method in the smart device provided in some embodiments of the present application. Taking the smart device as a smart phone as an example, the user can set the type of sound equalizer in the smart device, referring to Figure 4 View (a), View (b), View (c) and View (d) of the screen. Users can open the equalizer setting page based on the operation path of [Settings]-[Sound] or [Music]-[Equalizer].

[0096] In some embodiments, reference Figure 4 In view (d), the equalizer setting page also includes an off control 41. In response to the user clicking on the off control 11, the controller sets the sound equalizer to the off state, that is, turns off the sound equalizer function. In this way, the controller does not execute the equalizer processing program when executing the audio processing program in response to the media playback instruction.

[0097] In some embodiments, reference Figure 4 View (d) shows an example equalizer setting page, which includes various types of sound equalizer option controls 42, and the types of sound equalizers include but are not limited to: classical music, pop music, jazz, rock music, R&B, dance music, electronic music, acoustic music, etc.

[0098] In some embodiments, after a user selects a target type of sound equalizer based on the equalizer settings page, the controller can retrieve the configuration data for the target type of sound equalizer and control the audio driver layer to execute the equalizer processing program based on the configuration data. For example, if the user has selected the "Jazz" equalizer type, the controller will retrieve the configuration data for the "Jazz" equalizer and, by executing the "Jazz" equalizer processing program, ultimately cause the audio output device to output media audio content with a "Jazz" sound effect.

[0099] The configuration data of the sound equalizer is generally preset in the smart device. After the user sets the sound equalizer to the target type, the smart device performs audio processing according to the configuration data of the sound equalizer of the target type. If the user does not switch the sound equalizer type, the sound effect produced by the sound equalizer will not change, resulting in a limited and single sound effect that is not suitable for different usage environments and scenarios.

[0100] However, users may expect the same type of sound equalizer to produce sound effects adapted to different usage scenarios. For example, for a "Pop Music" equalizer, during the day, users do not expect to make too many adjustments to the "Pop Music" equalizer to maintain the natural sound quality of the music, thereby providing users with a clear and natural sound experience; at night, the "Pop Music" equalizer may need to be appropriately adjusted. For example, the volume of music at night is usually set lower, and users hope to still hear the music clearly at a low volume while reducing interference from ambient noise. Currently, smart devices only support switching between equalizer types, and do not support adaptive adjustment of the sound effects of any equalizer based on user usage scenarios.

[0101] Figure 5 Schematic diagram of the mode setting of the sound equalizer provided in some embodiments of the present application. Figure 5, this application sets multiple modes for each type of sound equalizer. The modes configured by the sound equalizer are referred to as "equalizer modes" below. Each equalizer mode provides a sound effect that matches an environmental scene / usage scene, so that the controller can identify the equalizer mode and perform audio processing according to the equalizer configuration data that matches the mode. This application solution is applicable to the case where the sound equalizer function is enabled, refer to Figure 4 In view (d), if the user selects the "off" option, the controller does not perform the equalizer mode recognition procedure and does not perform the equalizer processing procedure.

[0102] In some embodiments, see Figure 5 The equalizer modes include, but are not limited to, the first mode, the second mode, and other modes. The first mode, also known as night mode, late night mode, or night mode, corresponds to the equalizer mode used when playing audio at night. The second mode, also known as day mode, corresponds to the equalizer mode used when playing audio during the day. Other modes can be configured based on the user's usage environment, scenarios, and needs, and are not specifically limited in this application.

[0103] Figure 6 A flowchart of a first method for configuring a sound equalizer provided in some embodiments of the present application.

[0104] In some embodiments, method 1 may be executed by the controller 250, such as Figure 6 As shown, the method 1 includes the following steps:

[0105] Step S61: Acquire mode configuration data corresponding to the first mode of the sound equalizer.

[0106] In some embodiments, the mode configuration data includes conditional parameters for identifying the first mode.

[0107] In some embodiments, assuming the first mode is night mode, the mode configuration data may include information describing the night time period, which defines the start and end times of the night mode. For example, if the night time period is 20:00-06:00, this indicates that the night mode of the sound equalizer starts at 20:00 and ends at 06:00 the next morning. Therefore, the smart device processes the sound equalizer according to the first mode during the 20:00-06:00 period.

[0108] In some embodiments, the user can customize the setting mode configuration data through the smart device.

[0109] In some embodiments, a user can customize the mode configuration data of the sound equalizer of a smart device through a related application in a terminal device, wherein the related application is, for example, a smart home application.

[0110] In some embodiments, the server can set the mode configuration data in the cloud. In this way, after the smart device is turned on, the controller 250 can request the server to obtain the mode configuration data and store the mode configuration data in the local device.

[0111] Step S62: Acquire equalizer configuration data of the sound equalizer.

[0112] In some embodiments, the equalizer configuration data includes program configuration information corresponding to various modes of the sound equalizer. The controller 250 can execute equalizer processing programs corresponding to different modes according to the program configuration information, thereby configuring the sound equalizer to the desired target mode.

[0113] In some embodiments, if the sound equalizer includes a first mode and a second mode, the equalizer configuration data includes: program configuration information corresponding to the first mode (abbreviated as: first program configuration information), and program configuration information corresponding to the second mode (abbreviated as: second program configuration information).

[0114] In some embodiments, the equalizer configuration data may be built-in to the smart device when it leaves the factory.

[0115] In some embodiments, the server can set the equalizer configuration data in the cloud. In this way, after the smart device is turned on, the controller 250 can request the server to obtain the equalizer configuration data and store the equalizer configuration data in the local device.

[0116] Step S63: Responding to the media resource playing instruction, obtaining pattern recognition data.

[0117] In some embodiments, users can play local media assets through applications such as local media centers. Users can also play online media assets through applications such as media player applications or streaming media applications. "Media assets" are short for media resources, and media assets can include music, videos, documents, images, presentations, and the like, including audio content.

[0118] In some embodiments, the mode recognition data includes discriminant parameters for determining an equalizer mode.

[0119] In some embodiments, assuming the first mode is night mode, the mode configuration data may include information describing the nighttime period. Thus, the controller 250 identifies the equalizer mode based on the time dimension. Therefore, the mode recognition data is a time variable and may include information describing the time at which the user uses the smart device. For example, the mode recognition data may include the system time of the smart device, which represents the universal time at the location / region where the smart device is located.

[0120] Step S64: If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the first mode, the sound equalizer is processed according to the first program configuration information.

[0121] Step S65: If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the second mode, the sound equalizer is processed according to the second program configuration information.

[0122] In some embodiments, after obtaining the mode configuration data and mode recognition data, the controller 250 can perform mode recognition on the sound equalizer to determine the target mode of the sound equalizer, and process the sound equalizer according to the program configuration information corresponding to the target mode, so as to ultimately enable the audio output device to play sound effects that match the current equalizer type and target mode.

[0123] In some embodiments, each type of sound equalizer may include a first mode and a second mode. If the sound equalizer is determined to be in the first mode through equalizer mode identification, the first program configuration information is called and the equalizer processing program is executed. If the sound equalizer is determined to be in the second mode, the second program configuration information is called and the equalizer processing program is executed.

[0124] In the embodiment provided by the above method one, a first mode and a second mode are set for each type of sound equalizer, and the mode of the sound equalizer is identified through pattern recognition data and pattern configuration data. If the sound equalizer is in the first mode, the sound equalizer is processed using the program configuration information corresponding to the first mode; if the sound equalizer is in the second mode, the sound equalizer is processed using the second mode and the corresponding program configuration information. In this way, during the media playback process, the pattern recognition data can be used to automatically match the mode of the sound equalizer, thereby generating a sound effect adapted to the usage scenario. By expanding and matching the mode of each sound equalizer, the sound equalizer is no longer limited to a single sound effect, but can generate sound effects adapted to different usage scenarios.

[0125] Figure 7 This is a flowchart of a second method for configuring a sound equalizer provided in some embodiments of the present application.

[0126] In some embodiments, Figure 7 The sound equalizer configuration method executed in scenario A is shown. Scenario A is to identify the equalizer mode from the time dimension. In this scenario, the mode configuration data includes the preset time period for the first mode to be executed, and the mode identification data includes the system time of the smart device. Method 2 can be executed by the controller 250, such as Figure 7 As shown, the second method includes the following steps:

[0127] Step S71 : acquiring mode configuration data corresponding to a first mode of the sound equalizer, wherein the mode configuration data includes a preset time period during which the first mode is executed.

[0128] Step S72: Acquire equalizer configuration data of the sound equalizer.

[0129] Step S73: In response to the media resource playing instruction, obtain the system time of the smart device.

[0130] Step S74: determine whether the system time is within a preset time period.

[0131] If the system time is within the preset time period, step S75 and step S76 are executed; if the system time is not within the preset time period, step S77 and step S78 are executed.

[0132] Step S75: setting the time dimension information of the sound equalizer mapping to a first state value.

[0133] In some embodiments, to set and store the mode of the sound equalizer, the controller can maintain a time dimension information (mTimenight) at the application layer. The time dimension information is associated with a method of identifying the equalizer mode from the time dimension. The status value of the time dimension information can indicate the mode category to which the sound equalizer is set.

[0134] In some embodiments, if the system time is within a preset time period, for example, the preset time period is 20:00 to 06:00 and the system time is 22:30, then the system time is within the interval range of the preset time period, and the controller can set the time dimension information to a first state value, and the first state value is used to indicate that the sound equalizer is set to the first mode.

[0135] In some embodiments, the first state value is not limited to a specific value. For example, mTimenight=true indicates that the time dimension information is set to the first state value.

[0136] Step S76: Send a first processing instruction to the audio driver layer according to the time dimension information.

[0137] In some embodiments, the controller can process audio by running an audio driver layer. The audio driver layer obtains the decoded and mixed audio data, performs a series of audio processing on the audio data, including but not limited to: dynamic gain adjustment, equalizer processing, dynamic range compression, etc., and transmits the processed audio data to an audio output device for playback.

[0138] In some embodiments, when the time dimension information is a first state value, the controller may generate a first processing instruction and send the first processing instruction to the audio driver layer. In this way, the audio driver layer responds to the first processing instruction, calls the first program configuration information, and processes the sound equalizer according to the first program configuration information.

[0139] In some embodiments, the controller can synchronize the time dimension information to the audio driver layer. In this way, the audio driver layer reads the state value of the time dimension information, and when the time dimension information is a first state value, calls the first program configuration information and processes the sound equalizer according to the first program configuration information.

[0140] Step S77: setting the time dimension information of the sound equalizer mapping to a second state value.

[0141] In some embodiments, if the system time is not within the preset time period, for example, the preset time period is 20:00-06:00 and the system time is 15:45, then the system time is outside the interval range of the preset time period, and the controller can set the time dimension information to a second state value, and the second state value is used to indicate that the sound equalizer is set to the second mode.

[0142] In some embodiments, the second state value is not limited in its value setting mode. For example, mTimenight=false indicates that the time dimension information is set to the second state value.

[0143] Step S78: Send a second processing instruction to the audio driver layer according to the time dimension information.

[0144] In some embodiments, when the time dimension information is a second state value, the controller may generate a second processing instruction and send the second processing instruction to the audio driver layer. In this way, the audio driver layer responds to the second processing instruction, calls the second program configuration information, and processes the sound equalizer according to the second program configuration information.

[0145] In some embodiments, the controller can synchronize the time dimension information to the audio driver layer. In this way, the audio driver layer reads the state value of the time dimension information, and when the time dimension information is a second state value, calls the second program configuration information and processes the sound equalizer according to the second program configuration information.

[0146] In the embodiment provided by the above-mentioned method 2, the pattern recognition data includes the system time of the smart device, which can measure the world time of the device's location / region from a time dimension; the mode configuration data includes a preset time period for the execution of the first mode, which defines the time period used for the first mode determination. If the system time is within the preset time period, indicating that the sound equalizer meets the execution standard of the first mode in the time dimension, a first state value is used to indicate that the equalizer has been set to the first mode, thereby controlling the audio driver layer to process the sound equalizer according to the first program configuration information of the first mode, so that the smart device outputs a sound effect that matches the first mode of the current type of sound equalizer. If the system time is not within the preset time period, indicating that the sound equalizer does not meet the execution standard of the first mode in the time dimension and meets the execution standard of the second mode by default, a second state value can be used to indicate that the equalizer has been set to the second mode, thereby controlling the audio driver layer to process the sound equalizer according to the second program configuration information of the second mode, so that the smart device outputs a sound effect that matches the second mode of the current type of sound equalizer, thereby adapting to the sound effect usage requirements of the sound equalizer for different time periods.

[0147] Figure 8 This is a flowchart of a third method for configuring a sound equalizer provided in some embodiments of the present application.

[0148] In some embodiments, Figure 8 The sound equalizer configuration method executed in scenario B is shown. Scenario B is to identify the equalizer mode from the ambient light dimension. In this scenario, the mode configuration data includes the on / off status of the ambient light control function, and the mode recognition data includes the ambient light intensity. Method 3 can be executed by the controller 250, such as Figure 8 As shown, the third method includes the following steps:

[0149] Step S81 : obtaining mode configuration data corresponding to a first mode of the sound equalizer, wherein the mode configuration data includes an on / off state of an ambient light control function.

[0150] Step S82: Acquire equalizer configuration data of the sound equalizer.

[0151] Step S83: In response to the media playback instruction, query the light detection capability of the smart device.

[0152] In some embodiments, the smart device may be configured with a detector, and the controller 250 may determine whether the smart device has light detection capability by querying the hardware configuration of the detector.

[0153] In some embodiments, if the detector includes a light sensing device (or light receiver), the smart device has light detection capabilities, and the controller 250 can control the light sensing device to detect the ambient light intensity. If the detector does not include a light sensing device, the smart device does not have light detection capabilities and cannot detect the ambient light intensity in the environment in which the smart device is located.

[0154] Step S84: determine whether the smart device has light detection capability.

[0155] If the smart device does not have light detection capabilities, indicating that the hardware of the smart device does not support the ambient light control function, the smart device cannot detect the ambient light intensity and cannot identify the equalizer mode based on the ambient light intensity. The controller can then execute step S89, i.e., default to the second mode for the sound equalizer processing to avoid equalizer processing anomalies and failures. If the smart device has light detection capabilities, step S85 is executed.

[0156] Step S85: Determine whether the ambient light control function is in an on state.

[0157] If the ambient light control function is in the on state, step S86 is executed; if the ambient light control function is in the off state, step S89 is executed.

[0158] Step S86: Control the light sensing device to detect the ambient light intensity of the environment where the smart device is located.

[0159] In some embodiments, the controller can turn on the light sensing device and control the light sensing device to collect ambient light and detect the ambient light intensity. The ambient light intensity is used to measure the light intensity in the environment where the smart device is located. The light intensity is related to factors such as region, time, and scene environment, and may affect the user's requirements for sound effect playback. For example, if the curtains are drawn indoors, the ambient light is usually dim; for example, if the lights are not turned on indoors during dusk, the ambient light is usually dim. Therefore, the ambient light intensity can be used to identify the equalizer mode from the ambient light dimension.

[0160] Step S87: determine whether the ambient light intensity is less than a threshold.

[0161] In some embodiments, in order to measure the intensity of ambient light, a threshold can be preset. If the ambient light intensity is less than the threshold, it indicates that the ambient light is weak, and step S88 is executed; conversely, if the ambient light intensity is not less than the threshold, it indicates that the ambient light is strong, and step S89 is executed.

[0162] Step S88, set the light dimension information mapped by the sound equalizer to a first state value, and send a first processing instruction to the audio driver layer according to the light dimension information.

[0163] In some embodiments, to set and store the mode of the sound equalizer, the controller can maintain light dimension information (mLightnight) at the application layer. The light dimension information is associated with a method of identifying the equalizer mode from the ambient light dimension. The status value of the light dimension information can indicate the mode category to which the sound equalizer is set.

[0164] In some embodiments, if the ambient light intensity is less than a threshold value, the controller may set the light dimension information to a first state value, the first state value being used to indicate that the sound equalizer is set to a first mode.

[0165] In some embodiments, the first state value is not limited to a specific value. For example, mLightnight=true indicates that the light dimension information is set to the first state value.

[0166] In some embodiments, when the light dimension information is at a first state value, the controller may generate a first processing instruction and send the first processing instruction to the audio driver layer. In this way, the audio driver layer responds to the first processing instruction, calls the first program configuration information, and processes the sound equalizer according to the first program configuration information.

[0167] In some embodiments, the controller can synchronize the light dimension information to the audio driver layer. In this way, the audio driver layer reads the state value of the light dimension information, and when the light dimension information is a first state value, calls the first program configuration information and processes the sound equalizer according to the first program configuration information.

[0168] Step S89, set the light dimension information to the second state value, and send a second processing instruction to the audio driver layer according to the light dimension information.

[0169] In some embodiments, if the ambient light intensity is not less than the threshold, the controller may set the light dimension information to a second state value, where the second state value is used to indicate that the sound equalizer is set to the second mode.

[0170] In some embodiments, the second state value is not limited to a specific value. For example, mLightnight=false indicates that the light dimension information is set to the second state value.

[0171] In some embodiments, when the light dimension information is at the second state value, the controller may generate a second processing instruction and send the second processing instruction to the audio driver layer. In this way, the audio driver layer responds to the second processing instruction, calls the second program configuration information, and processes the sound equalizer according to the second program configuration information.

[0172] In some embodiments, the controller can synchronize the light dimension information to the audio driver layer. In this way, when the light dimension information is a second state value, the audio driver layer calls the second program configuration information and processes the sound equalizer according to the second program configuration information.

[0173] Figure 9 A schematic diagram of a first prompt page displayed on a smart device provided in some embodiments of the present application.

[0174] In some embodiments, the controller responds to the media playback instruction and controls the display to display the following information when it is found that the smart device does not have the light detection capability: Figure 9 The first prompt page of the example is Figure 9 As shown, the first prompt page displays a prompt message for prompting that the ambient light control function is unavailable. The prompt message is, for example, "The smart device is not equipped with a light sensor and cannot identify the equalizer mode according to the ambient light intensity. The daytime mode is used by default."

[0175] Figure 10 A schematic diagram of a second prompt page displayed on a smart device provided in some embodiments of the present application.

[0176] In some embodiments, the controller responds to the media playback instruction and controls the display to display the image when it finds that the smart device has light detection capability but the ambient light control function is turned off. Figure 10 The second prompt page of the example is Figure 10 As shown, the second prompt page displays a prompt message for prompting that the ambient light control function has been turned off. The prompt message is, for example, "The ambient light control function has been turned off, the equalizer mode cannot be adjusted according to the ambient light intensity, and the daytime mode has been used by default."

[0177] In the embodiment provided by the above method three, the ambient light intensity can measure the light intensity of the device's environment from the light dimension. The light intensity is related to factors such as region, time, and environmental scene, which may affect the user's requirements for the playback of sound effects. If the smart device has light detection capabilities and the ambient light control function is turned on, the ambient light intensity can be analyzed based on the ambient light intensity and threshold, and then a target mode that matches the ambient light intensity can be determined, so that the smart device outputs a sound effect that matches the target mode of the current type of sound equalizer, thereby adapting to the user's requirements for the sound effect of the sound equalizer at different time periods. If the ambient light control function is turned off, it indicates that the smart device does not have permission to access the light sensor and perform ambient light intensity detection. In this way, the smart device cannot match the sound equalizer mode based on the ambient light intensity. The sound equalizer can be set to the second mode by default, so that the smart device outputs a sound effect that matches the second mode of the current type of sound equalizer. If the smart device does not have light detection capabilities, it cannot collect ambient light and detect light intensity. In this way, the sound equalizer can be set to the second mode by default to ensure that the sound equalizer can be effectively processed.

[0178] Figure 11 Flowchart of a fourth method for configuring a sound equalizer provided in some embodiments of the present application.

[0179] In some embodiments, Figure 11 The following figure shows a method for configuring a sound equalizer in scenario C. Scenario C identifies the equalizer mode based on the coordinated use of the time dimension and the ambient light dimension. The mode configuration data in this scenario includes the preset time period for the first mode to be executed and the on / off status of the ambient light control function. The mode recognition data includes the system time of the smart device and the ambient light intensity detected by the light sensor. Method 4 can be executed by the controller 250, such as Figure 11 As shown, the fourth method includes the following steps:

[0180] Step S111: obtaining mode configuration data corresponding to a first mode of the sound equalizer.

[0181] Step S112: Acquire equalizer configuration data of the sound equalizer.

[0182] Step S113: In response to the media resource playing instruction, the system time of the smart device is obtained.

[0183] Step S114: determine whether the system time is within a preset time period.

[0184] If the system time is within the preset time period, step S115 is executed; if the system time is not within the preset time period, step S116 is executed.

[0185] Step S115: Set the time dimension information mapped by the sound equalizer to a first state value, and send a first processing instruction to the audio driver layer according to the time dimension information.

[0186] In some embodiments, if the system time is within a preset time period, the time dimension information will be set to a first state value, indicating that the system time is within the start and end time range of the first mode. The sound equalizer will then be matched to the first mode in terms of the time dimension. The controller sends a first processing instruction to the audio driver layer to control the audio driver layer to process the sound equalizer according to the first program configuration information of the first mode, so that the audio output device outputs a sound effect that matches the first mode of the current type of sound equalizer.

[0187] Step S116: Set the time dimension information mapped by the sound equalizer to the second state value, and query the light detection capability of the smart device.

[0188] In some embodiments, if the system time is outside the preset time period, the time dimension information is set to the second state value, indicating that the system time is outside the start and end time range of the first mode. However, the time dimension is only one factor to consider in pattern recognition and matching. In some scenarios, such as a bedroom with curtains drawn and lights off, the indoor light is dim, and the user may prefer to use night mode to listen to audio in the bedroom. To improve the accuracy of pattern recognition and matching, the ambient light dimension can be further used as a synergistic factor to identify the equalizer mode.

[0189] Step S117: determine whether the smart device has light detection capability.

[0190] In some embodiments, when the system time is not within the preset time period, the controller may further query the light detection capability of the smart device. If the smart device has light detection capability, step S118 is executed; if the smart device does not have light detection capability, step S1113 is executed.

[0191] Step S118: determine whether the ambient light control function is in an on state.

[0192] If the ambient light control function is in the on state, step S119 is executed; if the ambient light control function is in the off state, step S1112 is executed.

[0193] Step S119: controlling the light sensing device to detect the ambient light intensity of the environment where the smart device is located.

[0194] Step S1110 , determining whether the ambient light intensity is less than a threshold.

[0195] If the ambient light intensity is less than the threshold, indicating that the ambient light is weak, then step S1111 is executed; otherwise, if the ambient light intensity is not less than the threshold, indicating that the ambient light is strong, then step S1112 is executed.

[0196] Step S1111, set the light dimension information mapped by the sound equalizer to the first state value, and send a first processing instruction to the audio driver layer according to the time dimension information and the light dimension information.

[0197] In some embodiments, the controller can determine the collaborative control strategy of the equalizer mode based on the time dimension information and the light dimension information. The collaborative control strategy can be configured as follows: if the status value of at least one of mTimenight and mLightnight is true, the sound equalizer is set to the first mode, and the controller sends a first processing instruction to the audio driver layer so that the audio driver layer processes the sound equalizer according to the first program configuration information.

[0198] In some embodiments, based on the above collaborative control strategy, the following scenarios may be included:

[0199] Case a: mTimenight = true, and mLightnight = true, then the equalizer mode is identified as the first mode;

[0200] Case b: mTimenight = true, and mLightnight = false, then the equalizer mode is identified as the first mode;

[0201] Case c: mTimenight = false, and mLightnight = true, then the equalizer mode is identified as the first mode;

[0202] Case d: mTimenight=false, and mLightnight=false, then the equalizer mode is identified as the second mode.

[0203] In some embodiments, the status values ​​of mTimenight and mLightnight can also be represented by 0 and 1, where "1" is equivalent to "true" and "0" is equivalent to "false". In this way, the above-mentioned collaborative control strategy is equivalent to performing an OR operation on the status values ​​of mTimenight and mLightnight, that is, mTimenight OR mLightnight. In this way, the equalizer mode can be determined based on mTimenight and mLightnight. The representation of the status values ​​of mTimenight and mLightnight is not limited to the embodiments of the present application.

[0204] In some embodiments, the collaborative control strategy may also configure priorities of the time dimension and the light dimension.

[0205] In some embodiments, if the time dimension takes precedence over the light dimension, the controller prioritizes the equalizer mode based on the smart device's system time and the preset time period during which the first mode is executed. If the system time is within the preset time period, mTimenight is set to true, and the controller no longer identifies the equalizer mode based on the light dimension. If the system time is not within the preset time period, mTimenight is set to false, and the controller continues to identify the equalizer mode based on the smart device's light detection capabilities, the on / off status of the ambient light control function, and the ambient light intensity.

[0206] In some embodiments, if the light dimension takes precedence over the time dimension, the controller prioritizes the smart device's light detection capabilities, the ambient light control function's on / off status, and the ambient light intensity to identify the equalizer mode. If mLightnight is set to true, the controller no longer identifies the equalizer mode based on the time dimension. If mLightnight is set to false, the controller continues to identify the equalizer mode based on the smart device's system time and a preset time period.

[0207] For step S1111, when it is determined that the system time is not within the preset time period, the controller has set the time dimension information to the second state value (i.e., mTimenight = false), and when it is determined that the ambient light intensity is less than the threshold, the light dimension information is set to the first state value (i.e., mLightnight = true). Therefore, it belongs to the above situation c. In this way, the controller sends a first processing instruction to the audio driver layer to instruct the audio driver layer to process the sound equalizer according to the first mode.

[0208] Step S1112, set the light dimension information mapped by the sound equalizer to a second state value, and send a second processing instruction to the audio driver layer based on the time dimension information and the light dimension information.

[0209] For step S1112, when it is determined that the system time is not within the preset time period, the controller has set the time dimension information to the second state value (i.e., mTimenight = false). When it is determined that the ambient light intensity is not less than (i.e., greater than or equal to) the threshold, the light dimension information is set to the second state value (i.e., mLightnight = false). Therefore, it belongs to the above situation d. In this way, the controller sends a second processing instruction to the audio driver layer to instruct the audio driver layer to process the sound equalizer according to the second mode.

[0210] For step S1112, when it is determined that the system time is not within the preset time period, the controller has set the time dimension information to the second state value (i.e., mTimenight = false); if the ambient light control function is in the off state, it indicates that although the smart device has the ambient light control function, it does not have the authority to use the ambient light control function to identify the equalizer mode (the function is off, indicating that it is not authorized), then the light dimension information can be set to the second state value (i.e., mLightnight = false) by default, so it also belongs to the above situation d, so the controller sends a second processing instruction to the audio driver layer.

[0211] For step S1112, when it is determined that the system time is not within the preset time period, the controller has set the time dimension information to the second state value (i.e., mTimenight = false); if the smart device does not have light detection capabilities, the smart device cannot collect ambient light for light intensity measurement, and it does not have ambient light control function, then the light dimension information can be set to the second state value (i.e., mLightnight = false) by default, so it also belongs to the above situation d, so the controller sends a second processing instruction to the audio driver layer.

[0212] Step S1113: Start timing according to the preset duration. When the timing time reaches the preset duration, return to step S111.

[0213] In some embodiments, the system time of the smart device is variable, and the ambient light intensity may also change dynamically depending on factors such as the ambient scene and world time. Furthermore, the server or user may update mode configuration data, and the server may update equalizer configuration data, all of which may cause the sound equalizer mode to change.

[0214] In some embodiments, after executing the i-th (i≥1) round of the equalizer configuration process according to steps S111 to S1113, the controller may start a timer (or timer) and control the timer to start timing. When the timing time reaches a preset duration (not limited, for example, 60 seconds), the equalizer configuration process of the i+1th round may be executed, that is, returning to step S111, reacquiring the mode configuration data, the equalizer configuration data, and the mode recognition data, and re-identifying the equalizer mode, so as to implement a cycle of the equalizer configuration process every preset interval.

[0215] In the embodiment provided by the above method four, a mechanism for collaboratively identifying the equalizer mode using the time dimension and the ambient light dimension is shown. If the system time is within a preset period, the time dimension information is set to a first state value; if the system time is not within the preset period, the time dimension information is set to a second state value, and the ambient light intensity is used to collaboratively identify the mode of the sound equalizer. For example, during the daytime, due to factors such as cloudy weather or light blocking, the indoor light is dim, and the user may tend to prefer the first mode. Furthermore, if the ambient light intensity is less than a threshold, the light dimension information is set to the first state value; if the ambient light intensity is not less than a threshold, the light dimension information is set to the second state value. When at least one of the light dimension information and the time dimension information is set to the first state value, the sound equalizer is processed according to the first mode, so that the smart device outputs a sound effect that matches the first mode of the current type of sound equalizer, thereby improving the accuracy of equalizer mode recognition and configuration, and adapting the sound effect of the media audio to the user's usage environment and scenario.

[0216] In some embodiments, when executing any of the above methods 1 to 4, the controller may also encounter the following situations:

[0217] Case e: The controller can obtain the mode configuration data and the equalizer configuration data. In this case, the equalizer can be processed according to any one of methods 1 to 4.

[0218] Case f: The controller obtains the equalizer configuration data but fails to obtain the mode configuration data, resulting in a lack of basis for determining the equalizer mode.

[0219] Case g: The controller obtains the mode configuration data but fails to obtain the equalizer configuration data, resulting in the audio output layer being unable to effectively process the sound equalizer.

[0220] Case h: The controller fails to obtain the mode configuration data and the equalizer configuration data, resulting in the inability to identify the equalizer mode and execute the equalizer processing program (even the second mode cannot be processed).

[0221] Figure 12 Flowchart of a fifth method for configuring a sound equalizer provided in some embodiments of the present application.

[0222] In some embodiments, for the above situations e to h, a method five is further provided, which can be executed by the controller 250, such as Figure 12 As shown, the method five comprises the following steps:

[0223] Step S121: Acquire mode configuration data corresponding to the first mode of the sound equalizer.

[0224] Step S122: Acquire equalizer configuration data of the sound equalizer.

[0225] Step S123: Determine whether the equalizer configuration data is obtained.

[0226] If the equalizer configuration data is not obtained, step S124 is executed. If the equalizer configuration data is obtained, step S125 is executed.

[0227] Step S124, controlling the timer to start timing, and when the timing time reaches the preset duration, returning to step S121.

[0228] In some embodiments, for scenarios g and h, if the equalizer configuration data is not obtained, the audio driver layer cannot perform mode processing on the sound equalizer regardless of whether the mode configuration data is obtained. Thus, the controller can use a timing mechanism to wait for a preset time period and then re-acquire the mode configuration data and equalizer configuration data after the preset time period.

[0229] In some embodiments, users can customize the setting mode configuration data, and the server side can configure the mode configuration data and equalizer configuration data in the cloud, so that the mode configuration data and equalizer configuration data can be dynamically updated. Therefore, after a preset time interval, the mode configuration data and equalizer configuration data are retrieved to perform a new round of equalizer pattern recognition and processing, thereby improving the accuracy of equalizer processing.

[0230] Step S125: Determine whether the mode configuration data is obtained.

[0231] If the mode configuration data is obtained, corresponding to situation e, step S126 and step S127 are executed. If the equalizer configuration data is not obtained, step S128 is executed.

[0232] Step S126 , in response to the media asset play instruction, obtaining pattern recognition data.

[0233] Step S127 , determining the target mode of the sound equalizer according to the mode recognition data and the mode configuration data, and processing the sound equalizer according to the program configuration information corresponding to the target mode.

[0234] Among them, step S126 and step S127 can refer to the specific implementation methods of the above-mentioned methods one to four, and will not be repeated here.

[0235] Step S128: Set the time dimension information mapped by the sound equalizer to a second state value, and send a second processing instruction to the audio driver layer according to the time dimension information.

[0236] In some embodiments, for situation f, if the equalizer configuration data is obtained but the available mode configuration data is not obtained, the controller can perform mode processing on the sound equalizer, but due to the lack of a basis for distinguishing the equalizer mode, the controller cannot accurately identify the equalizer mode and is therefore unsure which mode to use for equalizer processing. To this end, the controller can set the time dimension information mapped by the sound equalizer to a second state value, i.e., set mTimenight = false, thereby setting the sound equalizer to the second mode. In this way, when the equalizer mode cannot be identified, the sound equalizer can be effectively processed and the media audio can be played normally.

[0237] Figure 13 Flowchart of a sixth method for configuring a sound equalizer provided in some embodiments of the present application.

[0238] In some embodiments, for the above situations e to h, a method 6 is further provided, which can be executed by the controller 250, such as Figure 13 As shown, the sixth method includes the following steps:

[0239] Step S131: Acquire mode configuration data corresponding to the first mode of the sound equalizer.

[0240] Step S132: Acquire equalizer configuration data of the sound equalizer.

[0241] Step S133: Determine whether the equalizer configuration data is obtained.

[0242] If the equalizer configuration data is not obtained, step S134 is executed. If the equalizer configuration data is obtained, step S135 is executed.

[0243] Step S134, controlling the timer to start timing, and when the timing time reaches the preset duration, returning to step S131.

[0244] Step S135: determine whether the mode configuration data is obtained.

[0245] If the mode configuration data is obtained, corresponding to situation e, step S136 and step S137 are executed. If the equalizer configuration data is not obtained, step S138 is executed.

[0246] Step S136 , in response to the media asset play instruction, obtaining pattern recognition data.

[0247] Step S137 , determining the target mode of the sound equalizer according to the mode recognition data and the mode configuration data, and processing the sound equalizer according to the program configuration information corresponding to the target mode.

[0248] Among them, step S136 and step S137 can refer to the specific implementation methods of the above-mentioned methods one to four, and will not be repeated here.

[0249] Step S138: setting the time dimension information of the sound equalizer mapping to a second state value.

[0250] Step S139: determine whether the smart device has light detection capability.

[0251] If the smart device does not have light detection capability, then step S134 is executed. If the smart device has light detection capability, then step S1310 is executed.

[0252] In some embodiments, if the mode configuration data is not obtained, the controller cannot perform mode recognition on the sound equalizer based on the mode configuration data. To improve the accuracy of the sound equalizer mode recognition and the accuracy of the audio playback processing based on the usage scenario, the controller can automatically call the ambient light control function when the mode configuration data is not obtained. If the smart device does not have light detection capabilities, the ambient light control function cannot be used. The controller can wait for a preset time period, and then re-acquire the mode configuration data and equalizer configuration data after the preset time period to perform a new round of equalizer mode recognition and processing.

[0253] Step S1310: Control the light sensing device to detect the ambient light intensity of the environment where the smart device is located.

[0254] Step S1311: determine whether the ambient light intensity is less than a threshold.

[0255] If the ambient light intensity is less than the threshold, step S1312 is executed; if the ambient light intensity is not less than the threshold, step S1313 is executed.

[0256] Step S1312, set the light dimension information mapped by the sound equalizer to a first state value, and send a first processing instruction to the audio driver layer according to the light dimension information.

[0257] Step S1313, set the light dimension information mapped by the sound equalizer to a second state value, and send a second processing instruction to the audio driver layer according to the time dimension information or the light dimension information.

[0258] In some embodiments, to improve the accuracy of the sound equalizer's pattern recognition and the accuracy of audio playback processing based on the usage scenario, the controller can automatically invoke the ambient light control function when the mode configuration data is not obtained. If the smart device has light detection capabilities, the controller can automatically enable the ambient light control function without obtaining the on / off status of the ambient light control function from the mode configuration data. By comparing the ambient light intensity with the threshold, the actual mode of the sound equalizer can be determined. This improves the accuracy of the sound equalizer's pattern recognition and the accuracy of audio playback processing based on the usage scenario, adapting to the needs of actual usage scenarios.

[0259] In some embodiments, if the ambient light intensity is less than the threshold, the controller sets mLightnight to the first state value. In step S138, the controller has previously set mTimenight to the second state value. Based on the collaborative control strategy of the aforementioned cases a to d examples, the equalizer mode can be determined to be the first mode.

[0260] In some embodiments, if the ambient light intensity is not less than the threshold, the controller sets mLightnight to the second state value. In step S138, the controller has previously set mTimenight to the second state value. Based on the collaborative control strategy of the aforementioned cases a to d examples, the equalizer mode can be determined to be the second mode.

[0261] Figure 14 Schematic diagram of the mode setting page A1 displayed on a smart device provided in some embodiments of the present application.

[0262] In the aforementioned methods 1 to 6, the controller all includes the step of obtaining mode configuration data. In some embodiments, for a smart device with display capability, the user can customize the mode configuration data through the smart device. Figure 14 , the user can open the mode setting page A1 by inputting the mode setting instruction.

[0263] In some embodiments, the input method of the mode setting instruction is not limited to: entering a preset operation (such as pressing a preset button on a remote control); or, accessing the shortcut menu of the smart device and triggering the mode setting shortcut button included in the shortcut menu; or, entering a specific voice instruction, which contains the mode configuration data intended to set the first mode of the sound equalizer.

[0264] In some embodiments, the controller controls the display to display a mode setting page A1 in response to a mode setting instruction input by the user. The mode setting page A1 is used to enable the user to set mode configuration data (hereinafter referred to as: first mode configuration data) on the smart device.

[0265] In some embodiments, see Figure 14 The mode setting page A1 includes a start time setting control 141 and an end time setting control 142 corresponding to the first mode of the sound equalizer, as well as an ambient light cooperative control switch control 143. The start time setting control 141 is used to set the start time corresponding to the first mode, and the end time setting control 142 is used to set the end time corresponding to the first mode. The start time and end time can be used to define the preset time period included in the first mode configuration data.

[0266] In some embodiments, see Figure 14 The ambient light collaborative control switch control 143 is used to set the on / off state of the ambient light control function. If the user sets the ambient light collaborative control switch control 143 to the on state (on), the ambient light control function is turned on. If the user sets the ambient light collaborative control switch control 143 to the off state (off), the ambient light control function is turned off.

[0267] In some embodiments, if the ambient light collaborative control switch control 143 is set to the on state (on), the equalizer mode is identified based on the coordination of the time dimension and the ambient light dimension according to the fourth method above. If the ambient light collaborative control switch control 143 is set to the off state (off), the equalizer mode is identified only from the time dimension according to the first or second method above.

[0268] In some embodiments, see Figure 14 Mode setting page A1 may further include a save button 144. Save button 144 is used to cause the controller to store the first mode configuration data set by the user based on mode setting page A1. In response to the user clicking save button 144, the controller obtains and stores the first mode configuration data based on the mode setting-related operations previously input by the user based on mode setting page A1 (e.g., operations of setting a start time, setting an end time, or turning a switch on or off), and records the time when the first mode configuration data was generated in the smart device (hereinafter referred to as the first generation time).

[0269] In some embodiments, the mode setting page A1 may not include the save button 144. The controller may synchronously update the first mode configuration data on the local machine based on the mode setting-related operations input by the user on the mode setting page A1, and record the first generation time based on the input time of the mode setting-related operations. For example, if the user sets the start time to 19:30 at 2025-04-24 15:35:42, the controller will add the start time parameter (19:30) to the first mode configuration data and update the first generation time to 2025-04-24 15:35:42.

[0270] Figure 15 Schematic diagram of the mode setting page A2 displayed on a smart device provided in some embodiments of the present application.

[0271] In some embodiments, see Figure 15 , Mode Setting Page A2 and Figure 14 The difference between the example mode setting page A1 and the example mode setting page A2 is that the mode setting page A2 also includes a time coordination control switch control 145, which is used to set the time control function to on or off. The time control function refers to the time dimension, which determines the equalizer mode based on the device system time and the preset time period.

[0272] In some embodiments, if the user sets the time coordination control switch control 145 to the on state (on), the time control function is turned on. Figure 15 (a), the controller controls the display to display a start time setting control 141 and an end time setting control 142 on the mode setting page A2 so that the user can set the start and end time of the preset period.

[0273] In some embodiments, if the user sets the time coordination control switch control 145 to the off state (off), the time control function is turned off. Figure 15 In view (b), the mode setting page A2 may not display the start time setting control 141 and the end time setting control 142.

[0274] In some embodiments, if the ambient light collaborative control switch control 143 and the time collaborative control switch control 145 are both set to the on state (on), the equalizer mode is identified based on the coordination of the time dimension and the ambient light dimension according to the above method four.

[0275] In some embodiments, if the ambient light collaborative control switch control 143 is set to the off state (off) and the time collaborative control switch control 145 is set to the on state (on), the equalizer mode is identified only from the time dimension according to the above method one or method two.

[0276] In some embodiments, if the ambient light collaborative control switch control 143 is set to the on state (on) and the time collaborative control switch controls 145 are all set to the off state (off), then according to the above method three, the equalizer mode is identified only from the ambient light dimension.

[0277] In some embodiments, if the ambient light collaborative control switch control 143 and the time collaborative control switch control 145 are both set to the off state (off), the controller may not obtain the mode configuration data and mode recognition data, but only obtain the equalizer configuration data, and according to the second program configuration information included in the equalizer configuration data, the sound equalizer is processed according to the second mode by default.

[0278] In some embodiments, the smart device further includes a communication device, based on which a communication connection between the smart device and the terminal device can be achieved. The user can set mode configuration data (hereinafter referred to as "second mode configuration data") through a smart home application installed on the terminal device, and send the second mode configuration data to the smart device.

[0279] Figure 16(a) is a schematic diagram of an application interface of a smart home application displayed on a terminal device provided in some embodiments of the present application.

[0280] In some embodiments, taking the terminal device as a smartphone as an example, see Figure 4 In view (a), the controller launches the smart home application in response to the user clicking on the shortcut icon of the smart furniture application (e.g., "Smart Home"). After the smart furniture application is launched, the controller can obtain a list of connected devices, which includes smart devices connected to the terminal device; the terminal device can obtain a target device from the list of connected devices, which is a smart device with audio processing and playback capabilities. Referring to Figure 16(a), the terminal device can control the display to display device-related information of the target device on the application interface. The target device includes, for example, a smart TV in the living room, a smart TV in the master bedroom, a Bluetooth speaker in the second bedroom, a smart refrigerator in the kitchen, etc.

[0281] Figure 16(b) is a schematic diagram of the mode setting page B displayed by the terminal device provided in some embodiments of the present application.

[0282] In some embodiments, based on the application page shown in FIG16(a), the user can select a device object (hereinafter referred to as the first device) for audio playback as needed. Referring to FIG16(b), taking the living room TV as an example, after the user selects the first device to be set on the application page of the smart home application, the terminal device controls the display to display the mode setting page B corresponding to the first device. Mode setting page B includes device information for the first device. Mode setting page B can refer to the design of mode setting page A1 or mode setting page A2, allowing the user to customize the second mode configuration data based on mode setting page B.

[0283] In some embodiments, the terminal device can obtain the second mode configuration data set by the user based on the mode setting page B, and record the generation time of the second mode configuration data on the terminal device (hereinafter referred to as the second generation time). The terminal device can send the second mode configuration data and the second generation time to the smart device. The smart device receives the second mode configuration data, stores the second mode configuration data, and records the second generation time.

[0284] In some embodiments, the first mode configuration data set by the user through the smart device and the second mode configuration data set across devices by the terminal device can be collectively referred to as local mode configuration data. The controller 250 can update the local mode configuration data by comparing the first generation time and the second generation time.

[0285] In some embodiments, if the first generation time is earlier than the second generation time, it means that the second mode configuration data is generated later, that is, the second mode configuration data is the latest data, then the controller can update the local mode configuration data to the second mode configuration data, and set the second generation time to the target generation time corresponding to the local mode configuration data.

[0286] In some embodiments, if the first generation time is later than the second generation time, it means that the first mode configuration data is generated later and the first mode configuration data is the latest data, then the local mode configuration data is updated to the first mode configuration data, and the first generation time is set to the target generation time corresponding to the local mode configuration data.

[0287] In this way, by comparing the first generation time and the second generation time, it is determined which mode configuration data is the latest, so that the local mode configuration data is updated, and the latest local mode configuration data is used to perform pattern recognition on the sound equalizer, thereby improving the accuracy of equalizer pattern recognition and adapting to the user's dynamically changing usage needs.

[0288] In some embodiments, the smart device can also achieve a communication connection with the server based on the communication device, and the server can set the mode configuration data in the cloud (hereinafter referred to as: cloud mode configuration data) and record the generation time of the cloud mode configuration data on the server (hereinafter referred to as: third generation time). For example, the server can collect usage data of a large number of users, and based on the usage data, calculate the setting preferences of most users for the equalizer mode, and use this as a consideration to set the cloud mode configuration data. The reference basis and mechanism for the server to set the mode configuration data are not limited to this embodiment.

[0289] In some embodiments, after the smart device is powered on, it may send a data acquisition request to the server. The server responds to the data acquisition request and sends the cloud mode configuration data and the third generation time to the smart device. The smart device receives and stores the cloud mode configuration data and the third generation time.

[0290] In some embodiments, the smart device can obtain the target generation time corresponding to the local mode configuration data, and update the mode configuration data used when identifying the equalizer mode by comparing the target generation time with the third generation time.

[0291] In some embodiments, if the third generation time is earlier than the target generation time, it means that the generation time of the local mode configuration data is later and the local mode configuration data is the latest data, then the local mode configuration data is updated to the mode configuration data used when identifying the equalizer mode.

[0292] In some embodiments, if the third generation time is later than the target generation time, it means that the generation time of the cloud mode configuration data is later and the cloud mode configuration data is the latest data, then the cloud mode configuration data is updated to the mode configuration data used when identifying the equalizer mode.

[0293] In this way, the smart device can obtain cloud mode configuration data from the server through a data acquisition request, and compare the generation time with the local mode configuration data stored in the local device to update the mode configuration data stored in the smart device, so that the smart device can use the latest mode configuration data to perform mode recognition on the sound equalizer, thereby improving the accuracy of equalizer mode recognition.

[0294] In some embodiments, the smart device 200 may generate first mode configuration data (mapping a first generation time), the terminal device 300 may generate second mode configuration data (mapping a second generation time), and the server may generate cloud mode configuration data (mapping a third generation time).

[0295] The updating principle of the mode configuration data is as follows: the smart device 200 determines the newness of the mode configuration data from three different sources according to the early or late data generation time, and then uses the latest mode configuration data as the identification of the equalizer mode.

[0296] In some embodiments, assuming that after the smart device 200 is turned on, before sending a data acquisition request to the server, the currently stored data is mode configuration data data1, and the generation time corresponding to the mode configuration data data1 is Time1; after the smart device 200 sends a data acquisition request to the server, it obtains the mode configuration data data2 sent by the server, and the generation time corresponding to the mode configuration data data2 is Time2; assuming that Time1<Time2, the smart device 200 updates the data to mode configuration data data2 and Time2, and deletes the previously stored mode configuration data data1 and Time1.

[0297] In some embodiments, smart device 200 receives mode configuration data data3 from terminal device 300. Mode configuration data data3 is generated at time Time3. Assuming Time2 > Time3, smart device 200 does not update data, discarding mode configuration data data3 and Time3, and continues to use mode configuration data data2 for sound equalizer mode recognition.

[0298] Figure 17 A schematic diagram of a system framework of a smart device provided in some embodiments of the present application.

[0299] In some embodiments, as Figure 17 As shown in FIG, the system framework of the smart device includes: application layer, Java framework layer, Native framework layer, hardware interface layer and audio driver layer.

[0300] In some embodiments, as Figure 17 As shown, the application layer can run applications installed on smart devices, including but not limited to local media centers, streaming media applications, and other applications related to media playback. The application layer can also trigger events related to sound adjustment, including but not limited to: mode setting events, volume adjustment events, etc.

[0301] In some embodiments, as Figure 17 As shown, the application layer may further include an intelligent agent module (i.e., an AI module). The controller executes the equalizer pattern recognition provided by the aforementioned embodiment, as well as the state value maintenance of the time dimension information and the light dimension information, and other programs by running the intelligent agent module.

[0302] In some embodiments, as Figure 17 As shown, the Java framework layer can implement related sound services (such as volume adjustment service). The Java framework layer also provides Java layer services for various external power amplifier devices, including but not limited to: Bluetooth service, HDMI service, wired service, etc., responsible for transmitting connection information and command events, thereby realizing the connection and control of external power amplifier devices.

[0303] In some embodiments, as Figure 17 As shown, the Native framework layer includes but is not limited to audio policy services, audio playback services, and audio codec services. The audio policy service is used to transmit adjustment commands for the local speakers and various peripherals; the audio codec service is used to decode audio data and transmit the decoded audio data to the audio playback service; the audio playback service is used to mix the audio data and write the processed audio data to the hardware interface layer; the hardware interface layer then transmits the audio data to the audio driver layer; the audio driver layer processes the audio data, including but not limited to dynamic gain adjustment, equalizer mode processing, dynamic range compression, and other processing procedures.

[0304] In some embodiments, as Figure 17 As shown, the hardware interface layer includes but is not limited to the primary module, Bluetooth module, HDMI module, USB module, etc. The primary module is used to connect to the smart device's speakers, the Bluetooth module is used to connect to external Bluetooth devices (such as Bluetooth headsets, Bluetooth speakers, etc.), the HDMI module is used to connect to external audio output devices connected via the HDMI interface, and the USB module is used to connect to external audio output devices connected via the USB interface.

[0305] In some embodiments, as Figure 17 As shown, the audio driver layer includes but is not limited to: audio driver, Bluetooth driver, HDMI driver, and USB driver. The audio driver corresponds to the primary module, the Bluetooth driver corresponds to the Bluetooth module, the HDMI driver corresponds to the HDMI module, and the USB driver corresponds to the USB module, implementing driver control for different types of audio output devices.

[0306] In some embodiments, as Figure 17 As shown, the audio driver layer is associated with audio output devices, enabling the transfer of audio data to the audio output devices for audio output and playback. The audio driver is associated with the device's built-in speakers, the Bluetooth driver is associated with Bluetooth devices, the HDMI driver is associated with external amplifiers connected via the HDMI interface, and the USB driver is associated with USB devices and wired headphones connected via the USB interface.

[0307] Figure 18 A timing interaction diagram of the sound equalizer configuration provided for some embodiments of the present application.

[0308] based on Figure 17 Example system architecture, in some embodiments, such as Figure 18 As shown, the interaction objects of the timing interaction diagram include the intelligent body module, media resource playback application, audio encoding and decoding service, audio playback service, hardware interface layer, audio driver layer and server.

[0309] In some embodiments, as Figure 18 As shown, after the smart device is turned on, the intelligent body module sends a first data acquisition request to the server. The server responds to the first data acquisition request and sends the cloud mode configuration data and the third generation time to the smart device.

[0310] In some embodiments, as Figure 18 As shown, the intelligent agent module sends a second data acquisition request to the server. The server responds to the second data acquisition request and sends the equalizer configuration data to the smart device. The first data acquisition request and the second data acquisition request can be sent simultaneously, in sequence, or combined.

[0311] In some embodiments, as Figure 18 As shown, the intelligent agent module updates the mode configuration data and the equalizer configuration data.

[0312] In some embodiments, as Figure 18 As shown, the intelligent body module can transmit the equalizer configuration data to the audio driver layer so that the audio driver layer can process the sound equalizer after determining the equalizer mode.

[0313] In some embodiments, as Figure 18 As shown, the intelligent body module receives the media playback instruction sent by the media playback application and obtains pattern recognition data.

[0314] In some embodiments, as Figure 18 As shown, the intelligent body module identifies the equalizer mode according to the mode configuration data and the mode recognition data, and sets the light dimension information and the time dimension information.

[0315] In some embodiments, as Figure 18 As shown, the media asset playback application receives the media asset playback instruction, starts playing the target media asset, and sends a decoding instruction to the audio codec service.

[0316] In some embodiments, as Figure 18 As shown, the audio codec service decodes the audio data of the target media asset in response to the decoding instruction, obtains PCM (Pulse Code Modulation) audio data, and sends the PCM audio data to the media asset playback application.

[0317] In some embodiments, as Figure 18 As shown, the media player application writes PCM audio data to the audio player service by calling Audio Track.

[0318] In some embodiments, as Figure 18As shown, the audio playback service mixes the audio data of all current playback services and writes the mixed audio data into the audio hardware interface layer.

[0319] In some embodiments, as Figure 18 As shown, the audio hardware interface layer writes the audio data to the corresponding driver in the audio driver layer according to the current audio output type.

[0320] In some embodiments, as Figure 18 As shown, the audio driver layer can obtain the status values ​​of the light dimension information and the time dimension information from the intelligent agent module, and then determine the target mode of the sound equalizer. The audio driver layer calls the target program configuration information corresponding to the target mode in the equalizer configuration data, executes the equalizer processing program according to the target program configuration information, and then transmits the audio data after audio processing to the current audio output device, so that the audio output device outputs and plays the audio content of the target media asset.

[0321] Some embodiments of the present application further provide a computer storage medium that can store a program. When the computer storage medium is configured in a smart device, the program, when executed, can include the program steps involved in the sound equalizer configuration method in each of the above embodiments. The computer storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0322] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

[0323] For ease of explanation, the above description has been presented in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations are possible. The above embodiments have been selected and described to better explain the content of this disclosure, thereby enabling those skilled in the art to better utilize the embodiments.

Claims

1. A smart device, characterized in that: include: A user input interface, used to receive operation instructions input by a user; The controller is configured to execute: Obtaining mode configuration data corresponding to a first mode of the sound equalizer; Acquire equalizer configuration data of the sound equalizer, the equalizer configuration data including first program configuration information corresponding to the first mode and second program configuration information corresponding to the second mode; Responding to a media asset playback instruction, acquiring pattern recognition data; If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the first mode, processing the sound equalizer according to the first program configuration information; If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the second mode, the sound equalizer is processed according to the second program configuration information.

2. The smart device according to claim 1, wherein: The mode recognition data includes the system time of the smart device, and the mode configuration data includes a preset time period during which the first mode is executed; If the controller determines that the sound equalizer is in the first mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the first program configuration information is specifically configured to: If the system time is within the preset time period, setting the time dimension information mapped by the sound equalizer to a first state value, where the first state value is used to indicate that the sound equalizer is set to the first mode; A first processing instruction is sent to the audio driver layer according to the time dimension information, where the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information.

3. The smart device according to claim 2, wherein: If the controller determines that the sound equalizer is in the second mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the second program configuration information is specifically configured to: If the system time is not within the preset time period, setting the time dimension information to a second state value, where the second state value is used to indicate that the sound equalizer is set to the second mode; A second processing instruction is sent to the audio driver layer according to the time dimension information, where the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information.

4. The smart device according to claim 1, wherein: The mode recognition data includes the ambient light intensity, and the mode configuration data includes the on / off status of the ambient light control function; If the controller determines that the sound equalizer is in the first mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the first program configuration information is specifically configured to: If the smart device has light detection capability and the ambient light control function is turned on, controlling the light sensing device to detect the ambient light intensity of the environment in which the smart device is located; If the ambient light intensity is less than a threshold, setting the light dimension information mapped by the sound equalizer to a first state value, where the first state value is used to indicate that the sound equalizer is set to the first mode; A first processing instruction is sent to the audio driver layer according to the light dimension information, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information.

5. The smart device according to claim 4, characterized in that If the controller determines that the sound equalizer is in the second mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the second program configuration information is specifically configured to: If the ambient light intensity is not less than the threshold, setting the light dimension information to a second state value, where the second state value is used to indicate that the sound equalizer is set to the second mode; A second processing instruction is sent to the audio driver layer according to the light dimension information, and the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information.

6. The smart device according to claim 4, wherein: If the controller determines that the sound equalizer is in the second mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the second program configuration information is specifically configured to: If the ambient light control function is in an off state, setting the light dimension information to a second state value, the second state value being used to indicate that the sound equalizer is set to the second mode; A second processing instruction is sent to the audio driver layer according to the light dimension information, and the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information.

7. The smart device according to claim 2, wherein: The pattern recognition data also includes the ambient light intensity, and the pattern configuration data also includes the on / off status of the ambient light control function; If the controller determines that the sound equalizer is in the first mode based on the mode recognition data and the mode configuration data, then processing the sound equalizer according to the first program configuration information is specifically configured to: If the system time is not within the preset time period, setting the time dimension information mapped by the sound equalizer to a second state value, and querying the light detection capability of the smart device; wherein the second state value is used to indicate that the sound equalizer is set to the second mode; If the smart device has light detection capability and the ambient light control function is turned on, controlling the light sensing device to detect the ambient light intensity of the environment in which the smart device is located; If the ambient light intensity is less than a threshold, setting the light dimension information mapped by the sound equalizer to the first state value; According to the time dimension information and the light dimension information, a first processing instruction is sent to the audio driver layer, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information.

8. The smart device according to claim 1, wherein: The controller is further configured to perform: If the mode configuration data is not obtained and the equalizer configuration data is obtained, setting the time dimension information of the sound equalizer mapping to a second state value, where the second state value is used to indicate that the sound equalizer is set to the second mode; A second processing instruction is sent to the audio driver layer according to the time dimension information, where the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information.

9. The smart device according to claim 1, wherein: The controller is further configured to perform: If the equalizer configuration data is not obtained, the mode configuration data and the equalizer configuration data are re-acquired after a preset time period.

10. The smart device according to claim 8, wherein: Before executing the step of sending a second processing instruction to the audio driver layer according to the time dimension information, the controller is further configured to execute: querying the light detection capability of the smart device; If the smart device does not have light detection capability, timing starts according to the preset time length.

11. The smart device according to claim 10, wherein: After querying the light detection capability of the smart device, the controller is further configured to execute: If the smart device has light detection capability, controlling the light sensing device to detect the ambient light intensity of the environment in which the smart device is located; If the ambient light intensity is less than a threshold, setting the light dimension information mapped by the sound equalizer to a first state value, where the first state value is used to indicate that the sound equalizer is set to the first mode; A first processing instruction is sent to the audio driver layer according to the light dimension information, and the first processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the first program configuration information.

12. The smart device according to claim 11, wherein: After controlling the light sensing device to detect the ambient light intensity of the environment where the smart device is located, the controller is further configured to execute: If the ambient light intensity is not less than a threshold, setting the light dimension information mapped by the sound equalizer to the second state value; According to the time dimension information or the light dimension information, a second processing instruction is sent to the audio driver layer, and the second processing instruction is used to instruct the audio driver layer to process the sound equalizer according to the second program configuration information.

13. The smart device according to claim 1, wherein: The smart device further includes a display, and the controller is further configured to execute: In response to a mode setting instruction input by a user, controlling the display to display a mode setting page, wherein the mode setting page is used to set first mode configuration data, where the first mode configuration data is mode configuration data set by the user through the smart device; The first mode configuration data set by the user based on the mode setting page is stored, and a first generation time of the first mode configuration data in the smart device is recorded.

14. The smart device according to claim 13, wherein: The smart device further includes a communication device, the communication device being configured to communicate with the terminal device, and the controller is further configured to execute: receiving second mode configuration data and a second generation time sent by the terminal device, where the second mode configuration data is mode configuration data set by a user through a smart home application installed by the terminal device, and the second generation time is the time when the second mode configuration data is generated in the terminal device; The second mode configuration data and the second generation time are stored.

15. The smart device according to claim 14, wherein: The controller is further configured to perform: If the first generation time is earlier than the second generation time, updating the local mode configuration data to the second mode configuration data, and setting the second generation time to the target generation time corresponding to the local mode configuration data; If the first generation time is later than the second generation time, the local mode configuration data is updated to the first mode configuration data, and the first generation time is set to the target generation time corresponding to the local mode configuration data.

16. The smart device according to claim 15, wherein: The smart device further includes a communication device configured to communicate with a server, and the controller executes the acquisition of mode configuration data corresponding to the first mode of the sound equalizer, specifically configured as follows: Sending a data acquisition request to the server, wherein the data acquisition request is used to acquire cloud mode configuration data from the server, wherein the cloud mode configuration data is mode configuration data set by the server; receiving the cloud mode configuration data and a third generation time sent by the server, where the third generation time is the generation time of the cloud mode configuration data in the server; If the third generation time is earlier than the target generation time, updating the local mode configuration data to mode configuration data corresponding to the first mode of the sound equalizer; If the third generation time is later than the target generation time, the cloud mode configuration data is updated to mode configuration data corresponding to the first mode of the sound equalizer.

17. A method for configuring a sound equalizer, characterized in that: include: Obtaining mode configuration data corresponding to a first mode of the sound equalizer; Acquire equalizer configuration data of the sound equalizer, the equalizer configuration data including first program configuration information corresponding to the first mode and second program configuration information corresponding to the second mode; Responding to a media asset playback instruction, acquiring pattern recognition data; If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the first mode, processing the sound equalizer according to the first program configuration information; If it is determined based on the mode recognition data and the mode configuration data that the sound equalizer is in the second mode, the sound equalizer is processed according to the second program configuration information.