An audio signal control method and apparatus

By adjusting the speaker's control voltage according to the ambient temperature in the wearable device, the problem of insufficient power supply in low-temperature environments is solved, extending the device's usage time and ensuring normal operation, while avoiding excessive power consumption.

CN115202606BActive Publication Date: 2026-07-21GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG XIAOTIANCAI TECH CO LTD
Filing Date
2021-04-09
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In low-temperature environments, wearable devices may experience insufficient power supply, leading to a decline in device performance. In particular, when the battery is low, the high power consumption of the speaker may exacerbate the rate of power loss and affect the normal operation of the device.

Method used

By judging the ambient temperature, different control strategies are adopted to reduce the control voltage from the audio amplifier to the speaker. The appropriate control strategy is selected according to the ambient temperature to alleviate power consumption and prevent the power supply from being depleted too quickly.

Benefits of technology

In low-power conditions, it extends the usage time of wearable devices, prevents sudden shutdown, and ensures normal operation and user experience, especially in low-temperature environments, by reducing the rate of power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202606B_ABST
    Figure CN115202606B_ABST
Patent Text Reader

Abstract

The application discloses an audio signal control method and device, the method is based on a wearable device, the wearable device comprises a power supply, an audio power amplifier and a loudspeaker; the method comprises: when the power of the power supply is lower than a threshold power, determining whether the temperature of the current environment is lower than a threshold temperature; if yes, reducing the control voltage output by the audio power amplifier to the loudspeaker according to a first control strategy; if not, reducing the control voltage output by the audio power amplifier to the loudspeaker according to a second control strategy; the voltage amount reduced by the first control strategy to the control voltage output by the audio power amplifier to the loudspeaker is greater than the voltage amount reduced by the second control strategy to the control voltage output by the audio power amplifier to the loudspeaker, which can avoid the power consumption of the power supply caused by the power supply of the loudspeaker being too fast, and avoid the standby time of the wearable device in the low power state and other use performances being seriously negatively affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio signal processing technology, and in particular to an audio signal control method and apparatus. Background Technology

[0002] To enable audio playback, wearable devices are often equipped with speakers, and the power supply of the wearable device powers the speakers during the process of outputting audio signals.

[0003] It is evident that speakers consume electrical energy to operate. Besides speakers, wearable devices also include other components that require power, such as the display screen. Each component of a wearable device plays a role in meeting user needs to varying degrees. When the power supply is sufficient, it can power not only the speakers but also other components of the wearable device; however, if the power supply is insufficient, and the speakers consume too much energy, it may result in insufficient power being supplied to other components. Summary of the Invention

[0004] This specification provides an audio signal control method and apparatus to partially solve the aforementioned problems existing in the prior art.

[0005] The embodiments in this specification adopt the following technical solutions:

[0006] This specification provides an audio signal control method, the method comprising:

[0007] In an optional embodiment of this specification, the method is based on a wearable device, the wearable device including: a power supply, an audio amplifier, and a speaker; the method includes:

[0008] When the power supply is below a threshold power level, determine whether the current ambient temperature is below a threshold temperature.

[0009] If so, then according to the first control strategy, the control voltage output by the audio power amplifier to the speaker is reduced;

[0010] If not, then according to the second control strategy, the control voltage output by the audio power amplifier to the speaker is reduced; the amount of voltage reduction by the first control strategy on the control voltage output by the audio power amplifier to the speaker is greater than the amount of voltage reduction by the second control strategy on the control voltage output by the audio power amplifier to the speaker.

[0011] In an optional embodiment of this specification, the first control strategy includes several sub-strategies, each sub-strategy corresponding to a different ambient temperature.

[0012] The step of reducing the control voltage output by the audio power amplifier to the speaker according to the first control strategy includes:

[0013] Based on the current ambient temperature, at least one sub-strategy for reducing the control voltage output by the audio power amplifier to the speaker is selected from among the sub-strategies of the first control strategy.

[0014] Based on the selected sub-strategy, the control voltage output by the audio amplifier to the speaker is reduced.

[0015] In an optional embodiment of this specification, the first control strategy and / or the second control strategy are obtained through the following steps:

[0016] The control voltage is reduced by an initial step size, which is then determined as the target step size.

[0017] When the power supply is below a threshold power level, the control voltage output from the audio amplifier to the speaker is reduced using the target step size, and the rate of power reduction is detected. If the rate of reduction is greater than a preset threshold rate, the target step size is reduced to redetermine the target step size until the detected rate of reduction is greater than the preset threshold rate.

[0018] Based on the determined target step size, determine the first control strategy and / or the second control strategy.

[0019] In an optional embodiment of this specification, the method is followed by:

[0020] Obtain the power level of the power source again;

[0021] If the power level of the power source is not lower than the threshold power level when it is acquired again, the first control strategy and / or the second control strategy shall be disabled.

[0022] In one optional embodiment of this specification, the method is performed by the control system of the wearable device; or, the method is performed by a client controlling the audio amplifier.

[0023] In one optional embodiment of this specification, the wearable device is a smartwatch; or, the client is installed on the smartwatch.

[0024] In an optional embodiment of this specification, the wearable device includes a PMIC detection module, and the power level of the power source is detected by the PMIC detection module.

[0025] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned audio signal control method.

[0026] This specification provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the aforementioned audio signal control method.

[0027] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

[0028] The process described in this manual controls the audio signal output by the speaker using a control voltage. This control voltage is determined based on the ambient temperature, ensuring that when the wearable device's power supply is low (below a threshold), it avoids excessive power consumption to the speaker, thus preventing severe negative impacts on standby time and other performance characteristics. Furthermore, the process uses ambient temperature as a factor in determining the control voltage, ensuring that the temperature's influence on the power supply's operating state is reflected in the speaker control, making the resulting control voltage suitable for various ambient temperatures. Moreover, wearable devices (such as smartwatches, smart bands, and smart glasses) are typically small, leaving limited space for large-capacity batteries; furthermore, to maintain user comfort, their weight should not be excessive, making them unsuitable for large batteries. Therefore, wearable devices are more prone to low power issues compared to other electronic products. The process described in this manual alleviates this problem to some extent by controlling the speaker's control voltage. Attached Figure Description

[0029] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0030] Figure 1 This is a schematic diagram of a wearable device structure provided in an embodiment of this specification;

[0031] Figure 2 An audio signal control process provided in the embodiments of this specification;

[0032] Figure 3 This specification provides a process for determining a first control strategy and / or a second control strategy, as exemplified in the embodiments thereof.

[0033] Figure 4 This is a schematic diagram of the structure of an audio signal control device provided in the embodiments of this specification;

[0034] Figure 5 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of an electronic device. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.

[0036] Understandably, in low-temperature environments (in this manual, "environment" refers to the speaker's operating environment), the power supply is constrained by its own electrolyte, chemical reaction conditions, and other factors. The electrical energy stored in the power supply cannot be effectively output, resulting in rapid power loss and insufficient power supply capacity.

[0037] At this point, if the impact of the environment on the power supply capacity is not considered, and the operation of various components of the wearable device (including but not limited to the speaker) is controlled according to the general strategy, the power loss rate may be aggravated, causing the control system of the wearable device to fail to perform normal control, and / or the wearable device to shut down in a short period of time.

[0038] Furthermore, wearable devices (such as smartwatches, smart bracelets, and smart glasses) are typically small, leaving limited space for large-capacity batteries. Since wearable devices are often designed to accompany users in their daily lives, they are usually not constantly charging during use to provide convenience. This makes them prone to running out of power.

[0039] Furthermore, to ensure a comfortable user experience, wearable devices should not be too heavy, making them increasingly unsuitable for large batteries. The small size of wearable devices, coupled with their frequent exposure to the external environment, makes it difficult for them to effectively retain heat and withstand low temperatures.

[0040] In view of this, this specification provides an audio signal control method to at least partially solve the problem of wearable device use caused by insufficient power supply in low-temperature environments, which exists in the prior art.

[0041] The technical solutions provided by various embodiments of this application are described in detail below with reference to the accompanying drawings. The processes described herein are applied to wearable devices; for example, the wearable device may include, for instance,... Figure 1 The structure shown. Figure 1 The wearable device shown may include: a central control unit, an audio amplifier, and a speaker.

[0042] The central control unit is equipped with the control system of the wearable device. In one optional embodiment, the processes described in this specification (exemplary, such as...) Figure 1 The control process A shown can be executed by this control system.

[0043] In addition, an audio amplifier client is installed in the audio amplifier. In another optional embodiment, the process described in this specification (exemplary, such as...) Figure 1 The control process shown in B) can be executed by the audio amplifier client.

[0044] Furthermore, in another optional embodiment of this specification, the processes in this specification (exemplary, such as...) Figure 1 The control process C) shown can be executed by a server that is communicatively connected to the wearable device. Specifically, the server can receive various data collected by the wearable device, and based on this, and using the process described in this specification, obtain the control voltage for controlling the speaker, according to the data pre-stored in the server.

[0045] As can be seen, the entity executing the process in this specification can be selected and / or adjusted according to the actual scenario. For ease of explanation, the object executing the audio signal control process is referred to as the designated execution entity in this specification.

[0046] Figure 2 An audio signal control process provided in the embodiments of this specification may specifically include the following steps:

[0047] S200: Obtain power from the power source.

[0048] This manual does not impose specific restrictions on the method of obtaining power supply capacity. The power supply can be detected by a designated execution entity to obtain its capacity; alternatively, the power supply can be detected by an execution entity other than the designated one. After obtaining the power supply capacity, the other execution entity generates a capacity detection signal and sends it to the designated execution entity, enabling the designated execution entity to obtain the power supply capacity. The capacity detection signal indicates the power supply capacity.

[0049] This manual does not impose specific limitations on how the power supply's capacity is represented. For example, the capacity can be represented as a percentage, where 100% capacity means the power supply is fully charged; 50% capacity means the power supply is half of its full capacity (this example will be used exemplarily below). Another example is that the capacity can be represented as a numerical value (e.g., 5000mA).

[0050] This manual does not impose specific limitations on the power source. For example, the power source can be a battery with an integrated structure; in this case, the battery's charge can be used as the power source's charge. As another example, the power source can also be a battery pack composed of multiple batteries; in this case, the battery pack's charge can be used as the power source's charge.

[0051] S202: Determine whether the power supply's charge level is below the threshold charge level. If the determination result is yes, proceed to step S204; if the determination result is no, proceed to step S200 again.

[0052] The threshold power level mentioned in this manual is used to determine whether the power supply is in a low-power state. A low-power state is defined as a condition where, due to power limitations, the power supply cannot provide power to electronic devices for extended periods and / or stably. The threshold power level can be an empirical value or set by the user. For example, 5% power can be defined as the threshold power level.

[0053] In optional embodiments of this specification, the threshold power consumption can also be determined based on the power consumption of the wearable device within a preset time period from the current time. Specifically, the power consumption rate of the wearable device within a preset time period from the current time (e.g., the past 10 minutes or half an hour with the current time as the endpoint) can be determined. The threshold power consumption is determined based on the power consumption rate, such that the threshold power consumption is positively correlated with the power consumption rate. Furthermore, the threshold power consumption can also be determined based on the degree of deviation of the current ambient temperature from the temperature when the power supply is in normal operating condition, such that the threshold power consumption is positively correlated with the degree of deviation.

[0054] As can be seen, this manual determines the user's recent usage habits of the wearable device by setting a time period from the current time. Since the user may continue to use these habits in the future, the wearable device can determine the control voltage for subsequent steps based on the user's usage habits and recent usage.

[0055] If the power supply's charge level is lower than the threshold charge level, it indicates that the power supply is in a low-power state; if the power supply's charge level is not lower than the threshold charge level, it indicates that the power supply is not in a low-power state.

[0056] If the judgment result is that the power supply is not in a low power state, the power supply power is obtained again until the judgment result is yes, so as to achieve continuous monitoring of the power supply power.

[0057] S204: Determine whether the current ambient temperature is lower than the threshold temperature. If the determination result is yes, proceed to step S206; if the determination result is no, proceed to step S208.

[0058] After determining that the power supply is in a low-power state, the process in this specification further determines what decision should be made based on the impact of ambient temperature on the power supply's ability to provide power.

[0059] As mentioned above, excessively low ambient temperatures may negatively impact power supply performance. The purpose of this step, which uses a threshold temperature, is to determine whether this negative impact exists. If the result is yes, it indicates a high probability that the current ambient temperature will negatively affect power supply performance; if the result is no, it indicates a low probability that the current ambient temperature will negatively affect power supply performance.

[0060] Since wearable devices are worn on the user's body during use, their primary purpose is to provide a high-quality user experience. Therefore, when conditions permit, excessive intervention in the power supply is unnecessary. The judgment performed in this step assesses the degree of such intervention to ensure that the performance of the wearable device is not significantly affected.

[0061] In this specification, the threshold temperature can be an empirical value or set by the user. For example, 0°C can be set as the threshold temperature.

[0062] S206: According to the first control strategy, reduce the control voltage output by the audio power amplifier to the speaker.

[0063] In this specification, the first control strategy and / or the second control strategy mentioned later can be strategies that have been formulated in the past. Therefore, step S208 and subsequent steps can be procedures for invoking strategies that have already been formulated in the past.

[0064] In an optional embodiment of this specification, the first control strategy includes several sub-strategies, each corresponding to a different temperature. The process of reducing the control voltage according to the first control strategy may be as follows: based on the current ambient temperature, select at least one sub-strategy from the sub-strategies of the first control strategy to reduce the control voltage output by the audio power amplifier to the speaker (i.e., select a sub-strategy that matches the current ambient temperature as the sub-strategy for reducing the control voltage output by the audio power amplifier to the speaker). Based on the selected sub-strategy, reduce the control voltage output by the audio power amplifier to the speaker.

[0065] As can be seen, the process described in this manual can pre-determine matching sub-strategies for different ambient temperatures. This ensures the performance of the wearable device during subsequent use and prevents it from shutting down due to low battery.

[0066] S208: According to the second control strategy, reduce the control voltage output by the audio power amplifier to the speaker.

[0067] When performing this step, the power supply is already in a low-power state. Even if the ambient temperature does not have a significant negative impact on the power supply, excessive power consumption should still be avoided during subsequent use. However, excessive intervention in the control voltage of the speaker output is unnecessary at this stage. Therefore, the amount by which the first control strategy in this specification reduces the control voltage output from the audio amplifier to the speaker is greater than the amount by which the second control strategy reduces the control voltage output from the audio amplifier to the speaker.

[0068] In an optional embodiment of this specification, after adjusting the control voltage, the power level of the power supply can be obtained again; if the power level of the power supply obtained again is not lower than the threshold power level, the first control strategy and / or the second control strategy are disabled.

[0069] If the power level of the power source is not lower than the threshold power level when it is obtained again, it indicates that the power source is currently charging. Therefore, the possibility of negative impact caused by excessive power consumption is small. The strategies implemented in the aforementioned steps (e.g., the first control strategy and the second control strategy) can be disabled to prioritize meeting the user's needs.

[0070] As can be seen from the foregoing, one of the technical effects that the process described in this specification aims to achieve is to ensure that when the power supply is in a low power state, the power level of the wearable device decreases gradually during subsequent use (for example, from 5% to 4%, then to 3%, and so on), rather than the power level decreases abruptly (for example, from 5% directly to 2%, without going through 4% and 3% in between, which would be considered a sharp decrease).

[0071] In addition, some wearable devices also perform human condition monitoring functions under certain circumstances, and when necessary, play the monitoring results and / or related prompts via audio signals, such as monitoring a patient's organ function or reminding the patient to take medication. If the wearable device's power supply is limited by low temperatures and cannot provide efficient power, the monitoring function will be difficult to sustain. Being able to maintain a certain level of power supply will largely prevent the wearable device from losing performance due to low battery.

[0072] Furthermore, if the wearable device is a children's watch intended for children, it may also be responsible for locating the child and interacting with the parent. If the children's watch consumes too much battery, it may result in the parent being unable to monitor the child, posing a significant risk.

[0073] In order to achieve the technical effect of a gradual decrease in the power supply, in an optional embodiment of this specification, such as... Figure 3As shown, the following steps can be taken when determining the first control strategy and / or the second control strategy in the history:

[0074] S300: Reduce the control voltage by an initial step size, and determine it as the target step size.

[0075] In this specification, the initial step size for reducing the control voltage can be an empirical value. Since the target step size will be adjusted in subsequent steps, the initial step size for reducing the control voltage can be determined according to actual needs. For example, the initial step size for reducing the control voltage can be determined to be 0.1mV.

[0076] S302: When the power of the power supply is lower than the threshold power, the control voltage output by the audio power amplifier to the speaker is reduced by using the target step size.

[0077] Using the target step size, reducing the control voltage output by the audio power amplifier to the speaker is achieved by subtracting the target step size from the control voltage output by the audio power amplifier to the speaker, and determining the result as the reduced control voltage, so that the speaker operates under the reduced control voltage.

[0078] S304: Detect the rate of decrease of the power supply and determine whether the rate of decrease is greater than a preset threshold rate; if yes, proceed to step S306; if no, proceed to step S308.

[0079] When the speaker operates based on the reduced control voltage, the rate of decrease in power supply (the degree of power decrease per unit time) is detected to determine the impact of the reduced control voltage on power consumption.

[0080] The threshold rate in this specification can be determined according to actual needs.

[0081] If the reduction rate is greater than the preset threshold rate, it indicates that even though the control voltage was reduced using the target step size, the power consumption was still too fast, and the effect of reducing the control voltage was not significant. If the reduction rate is not greater than the preset threshold rate, it indicates that the effect of reducing the control voltage was significant.

[0082] S306: Reduce the target step size to redetermine the target step size, and based on the redetermined target step size, reduce the control voltage output by the audio power amplifier to the speaker. Continue until the detected reduction rate is greater than a preset threshold rate, then proceed to step S308.

[0083] In an optional embodiment of this specification, the reduction in the target step size when determining the first control strategy is less than the reduction in the target step size when determining the second control strategy. This makes the resulting first control strategy more sensitive and timely in adjusting the control voltage.

[0084] S308: Determine the first control strategy and / or the second control strategy based on the determined target step size.

[0085] Specifically, the target step size can be used as the degree of control voltage reduction corresponding to the first control strategy and / or the second control strategy. Then, when executing the first control strategy and / or the second control strategy subsequently, the current control voltage output to the speaker can be reduced by the target step size to obtain a redefined control voltage. Afterwards, the speaker is controlled based on the redefined control voltage.

[0086] In addition, the technical effects to be achieved by the process described in this specification may also include: controlling the control voltage of the speaker to alleviate the power supply pressure and ensure the performance of the speaker, thereby avoiding any impact on the user experience.

[0087] When formulating the first control strategy and / or the second control strategy, the number of times the target step size is redefined can be counted. If the number of consecutive redefined target step sizes exceeds the threshold, it indicates that continuing to adjust the target step size may have a significant impact on the audio signal output by the speaker and may affect the user experience. In this case, the target step size can be stopped from being adjusted, and the first control strategy and / or the second control strategy can be formulated based on the current target step size.

[0088] In an optional embodiment of this specification, the wearable device includes a PMIC detection module, and the power level of the power source is detected by the PMIC detection module.

[0089] It should be noted that the wearable devices mentioned in this manual can be electronic watches, electronic bracelets, electronic glasses, etc. Furthermore, the wearable devices mentioned in this manual can also be portable instruments such as heart rate monitors and blood pressure monitors used to perform detection functions. When a specific condition is detected, the instrument can emit a sound signal through a speaker installed on it.

[0090] Based on the same idea, the embodiments in this specification also provide corresponding audio signal control devices, such as... Figure 4 As shown. The audio signal control device is applied to the designated execution entity. That is, the audio signal control device can be applied to at least one of the wearable device's master control device, the wearable device's audio amplifier, and a server communicatively connected to the wearable device, to implement the aforementioned audio signal control method.

[0091] Figure 4 A schematic diagram of an audio signal control device provided in the embodiments of this specification includes:

[0092] The ambient temperature judgment module 400 is configured to: when the power of the power supply is lower than the threshold power, determine whether the current ambient temperature is lower than the threshold temperature.

[0093] The first control strategy execution module 402 is configured to reduce the control voltage output by the audio power amplifier to the speaker according to the first control strategy.

[0094] The second control strategy execution module 404 is configured to: reduce the control voltage output by the audio power amplifier to the speaker according to the second control strategy; the amount of voltage reduction by the first control strategy on the control voltage output by the audio power amplifier to the speaker is greater than the amount of voltage reduction by the second control strategy on the control voltage output by the audio power amplifier to the speaker.

[0095] In an optional embodiment of this specification, the first control strategy includes several sub-strategies, each corresponding to a different ambient temperature. The first control strategy execution module 402 is specifically configured to, based on the current ambient temperature, select at least one sub-strategy from the sub-strategies of the first control strategy for reducing the control voltage output by the audio power amplifier to the speaker; and reduce the control voltage output by the audio power amplifier to the speaker according to the selected sub-strategy.

[0096] In an optional embodiment of this specification, the audio signal control device further includes a strategy generation module.

[0097] The strategy generation module is specifically configured as follows: The control voltage is reduced by an initial step size, which is then determined as the target step size; when the power supply's charge level is lower than a threshold charge level, the control voltage output from the audio amplifier to the speaker is reduced using the target step size, and the rate of decrease in the power supply's charge level is detected; if the rate of decrease is greater than a preset threshold rate, the target step size is reduced to redetermine the target step size until the detected rate of decrease is greater than the preset threshold rate; based on the determined target step size, the first control strategy and / or the second control strategy are determined.

[0098] In an optional embodiment of this specification, the audio signal control device further includes a policy prohibition module. The policy prohibition module is configured to: acquire the power level of the power source again; and disable the first control policy and / or the second control policy when the acquired power level is not lower than a threshold power level.

[0099] In one optional embodiment of this specification, the wearable device is a smartwatch; or, the client is installed on the smartwatch.

[0100] In an optional embodiment of this specification, the wearable device includes a PMIC detection module, and the power level of the power source is detected by the PMIC detection module.

[0101] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described embodiments. Figure 2 The provided audio signal control process.

[0102] The embodiments in this specification also propose Figure 5 The diagram shows a schematic structural representation of the electronic device. Figure 5 At the hardware level, this electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then executes it to achieve the above. Figure 2 The audio signal control process described above. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0103] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0104] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0105] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0106] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0107] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0111] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0112] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0113] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0114] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0115] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0116] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0117] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0118] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. An audio signal control method, characterized by, The method is based on a wearable device, the wearable device including: a power supply, an audio amplifier, and a speaker; the method includes: When the power supply's charge is lower than a threshold charge, it is determined whether the current ambient temperature is lower than a threshold temperature. The threshold charge is determined based on the power consumption rate within a preset time period from the current moment, or the degree of deviation of the current ambient temperature from the temperature when the power supply is in normal operating condition. If so, then according to the first control strategy, the control voltage output by the audio power amplifier to the speaker is reduced; If not, then according to the second control strategy, the control voltage output by the audio power amplifier to the speaker is reduced; the amount of voltage reduction by the first control strategy on the control voltage output by the audio power amplifier to the speaker is greater than the amount of voltage reduction by the second control strategy on the control voltage output by the audio power amplifier to the speaker. The first control strategy and / or the second control strategy are obtained through the following steps: The control voltage is reduced by an initial step size, which is then determined as the target step size. When the power supply is below a threshold power level, the control voltage output from the audio amplifier to the speaker is reduced using the target step size, and the rate of power reduction is detected. If the rate of reduction is greater than a preset threshold rate, the target step size is reduced to redetermine the target step size until the detected rate of reduction is greater than the preset threshold rate. Based on the determined target step size, determine the first control strategy and / or the second control strategy; Wherein, the magnitude by which the target step size is reduced when determining the first control strategy is less than the magnitude by which the target step size is reduced when determining the second control strategy.

2. The method as described in claim 1, characterized in that, The first control strategy includes several sub-strategies, each corresponding to a different ambient temperature. The step of reducing the control voltage output by the audio power amplifier to the speaker according to the first control strategy includes: Based on the current ambient temperature, at least one sub-strategy for reducing the control voltage output by the audio power amplifier to the speaker is selected from among the sub-strategies of the first control strategy. Based on the selected sub-strategy, the control voltage output by the audio amplifier to the speaker is reduced.

3. The method as described in claim 1, characterized in that, Following the method, the method also includes: Obtain the power level of the power source again; If the power level of the power source is not lower than the threshold power level when it is acquired again, the first control strategy and / or the second control strategy shall be disabled.

4. The method as described in claim 1, characterized in that, The method is executed by the control system of the wearable device; or, the method is executed by a client controlling the audio amplifier.

5. The method as described in claim 4, characterized in that, The wearable device is a smartwatch; or, the client is installed on the smartwatch.

6. The method as described in claim 4, characterized in that, The wearable device includes a PMIC detection module, and the power level of the power source is detected by the PMIC detection module.

7. An audio signal control device, characterized in that, The apparatus is used to implement the method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1-6.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method described in any one of claims 1-6.