CN113518287A - Method for adjusting device state, terminal device and computer readable storage medium - Google Patents

Method for adjusting device state, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN113518287A
CN113518287A CN202110798917.0A CN202110798917A CN113518287A CN 113518287 A CN113518287 A CN 113518287A CN 202110798917 A CN202110798917 A CN 202110798917A CN 113518287 A CN113518287 A CN 113518287A
Authority
CN
China
Prior art keywords
temperature value
determining
loudspeaker
temperature
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110798917.0A
Other languages
Chinese (zh)
Other versions
CN113518287B (en
Inventor
矫珊珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202110798917.0A priority Critical patent/CN113518287B/en
Publication of CN113518287A publication Critical patent/CN113518287A/en
Application granted granted Critical
Publication of CN113518287B publication Critical patent/CN113518287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/007Protection circuits for transducers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a method for adjusting equipment state, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: when detecting that loudspeaker equipment in terminal equipment starts to operate, determining operation data of the loudspeaker equipment based on a smart PA temperature module; determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. According to the method and the device, the operation data of the loudspeaker equipment are determined through the smart PA, the operation temperature value of the loudspeaker equipment is accurately predicted according to the operation data and the initial operation data, and the state of the loudspeaker equipment is adjusted according to the operation temperature value, so that the loudspeaker equipment is protected from being damaged while working with the maximum stroke and the maximum average power.

Description

Method for adjusting device state, terminal device and computer readable storage medium
Technical Field
The present application relates to the field of data processing and smart PA technologies, and in particular, to a method for adjusting a device status, a terminal device, and a computer-readable storage medium.
Background
At present, as the requirements of users on the tone quality and loudness of audio play in multimedia equipment are higher and higher, in order to obtain the best low-frequency effect and loudness, the driving power and the low-frequency response tuning parameters of the speaker equipment can only be increased under normal conditions, and in the process of increasing the driving power and the low-frequency response tuning parameters of the speaker equipment, the driving power and the low-frequency response tuning parameters of the speaker equipment are not easy to control, so that the probability of damage to the speaker equipment is increased.
Disclosure of Invention
The present application mainly aims to provide a method for adjusting a device status, a terminal device and a computer-readable storage medium, which aim to protect a speaker device.
In order to achieve the above object, an embodiment of the present application provides a method for adjusting a device state, where the method for adjusting the device state includes:
the method comprises the steps that when the fact that loudspeaker equipment in terminal equipment starts to run is detected, operation data of the loudspeaker equipment are determined based on a smart PA temperature module;
determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data;
adjusting a state of the speaker device based on the operating temperature value.
Optionally, before the step of detecting that a speaker device in the terminal device starts to run and determining the operation data of the speaker device based on the smart PA temperature module, the method further includes:
determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment based on a thermistor, and determining a first environment temperature value of the environment where the loudspeaker equipment is located through a temperature sensor;
determining a corresponding temperature difference value based on the first environment temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the loudspeaker device based on the temperature difference value;
determining the initial temperature value and the initial resistance value as the initial operation data.
Optionally, the step of determining an initial temperature value and an initial resistance value of the speaker apparatus based on the temperature difference value comprises:
detecting whether the temperature difference value is within a first preset temperature range or not;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment as an initial temperature value of the loudspeaker equipment;
determining a present device voltage and a present device current for the loudspeaker device, determining an initial resistance value for the loudspeaker device based on the present device voltage and the present device current.
Optionally, the step of determining the operation data of the speaker device based on the smart PA temperature module when detecting that the speaker device in the terminal device starts to operate includes:
when the starting operation of the loudspeaker equipment is detected, determining whether the loudspeaker equipment is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environment temperature value of the current environment through a temperature sensor, and determining whether the second environment temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
Optionally, the step of determining operational data of the loudspeaker device based on smart PA temperature module comprises:
determining an operating voltage and an operating current of the loudspeaker device when operating based on the smart PA temperature module;
determining an operation resistance value of the speaker apparatus at the time of operation based on the operation voltage and the operation current, and determining the operation resistance value as operation data of the speaker apparatus.
Optionally, the operation data is an operation resistance value of the speaker device during operation, the initial operation data is an initial temperature value and an initial resistance value of the speaker device, and the step of determining the operation temperature value corresponding to the speaker device based on the operation data and the initial operation data includes:
and calculating based on the operation resistance value of the loudspeaker equipment during operation, the initial temperature value and the initial resistance value to obtain the operation temperature value corresponding to the loudspeaker equipment.
Optionally, the step of adjusting the state of the speaker apparatus based on the operating temperature value includes:
detecting whether the operating temperature value is greater than a preset temperature value or not;
and if the operating temperature value is detected to be greater than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
Optionally, after the step of detecting whether the operating temperature value is greater than a preset temperature value, the method further includes:
and if the operation temperature value is detected to be less than or equal to the preset temperature value, keeping the current output power of the loudspeaker equipment.
The embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a device state adjustment program stored in the memory and running on the processor, and the device state adjustment program, when executed by the processor, implements the steps of the device state adjustment method described above.
An embodiment of the present application further provides a computer-readable storage medium, where an apparatus state adjustment program is stored on the computer-readable storage medium, and when the apparatus state adjustment program is executed by a processor, the method for adjusting an apparatus state as described above is implemented.
According to the adjusting method of the equipment state, the terminal equipment and the computer readable storage medium, when the fact that the loudspeaker equipment in the terminal equipment starts to run is detected, the running data of the loudspeaker equipment is determined based on a smart PA temperature module; determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the running data of the loudspeaker equipment is determined through the smart PA, the running temperature value of the loudspeaker equipment is accurately predicted according to the running data and the initial running data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker equipment is adjusted according to the operation temperature value, so that the loudspeaker equipment is protected from being damaged while the loudspeaker equipment works with the maximum stroke and the maximum average power, and the loudspeaker equipment is protected.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a method for adjusting the status of a device according to the present application;
FIG. 3 is a schematic flow chart diagram illustrating another embodiment of a method for adjusting the status of a device according to the present application;
fig. 4 is a schematic flowchart illustrating the method for adjusting the state of the device according to the present application to determine initial operating data.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: when detecting that loudspeaker equipment in terminal equipment starts to operate, determining operation data of the loudspeaker equipment based on a smart PA temperature module; determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the running data of the loudspeaker equipment is determined through the smart PA, the running temperature value of the loudspeaker equipment is accurately predicted according to the running data and the initial running data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker equipment is adjusted according to the operation temperature value, so that the loudspeaker equipment is protected from being damaged while the loudspeaker equipment works with the maximum stroke and the maximum average power, and the loudspeaker equipment is protected.
Specifically, referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, a network interface 1004, a user interface 1003, and a communication bus 1002. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally include a standard wired interface (e.g., a USB (Universal Serial Bus) interface), and a wireless interface (e.g., a bluetooth interface). The network interface 1004 may include a standard wired interface, a Wireless interface (e.g., WI-FI (Wireless-Fidelity)) interface, a bluetooth interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001. Optionally, the terminal device may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an adjustment program of a device state. The operating system is a program for managing and controlling hardware and software resources of the terminal device, and supports an adjustment program of the device state and the operation of other software or programs.
The processor 1001 may be configured to call an adjustment program of the device state stored in the memory 1005, and perform the following operations:
the method comprises the steps that when the fact that loudspeaker equipment in terminal equipment starts to run is detected, operation data of the loudspeaker equipment are determined based on a smart PA temperature module;
determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data;
adjusting a state of the speaker device based on the operating temperature value.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment based on a thermistor, and determining a first environment temperature value of the environment where the loudspeaker equipment is located through a temperature sensor;
determining a corresponding temperature difference value based on the first environment temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the loudspeaker device based on the temperature difference value;
determining the initial temperature value and the initial resistance value as the initial operation data.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
detecting whether the temperature difference value is within a first preset temperature range or not;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment as an initial temperature value of the loudspeaker equipment;
determining a present device voltage and a present device current for the loudspeaker device, determining an initial resistance value for the loudspeaker device based on the present device voltage and the present device current.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
when the starting operation of the loudspeaker equipment is detected, determining whether the loudspeaker equipment is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environment temperature value of the current environment through a temperature sensor, and determining whether the second environment temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
determining an operating voltage and an operating current of the loudspeaker device when operating based on the smart PA temperature module;
determining an operation resistance value of the speaker apparatus at the time of operation based on the operation voltage and the operation current, and determining the operation resistance value as operation data of the speaker apparatus.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
and calculating based on the operation resistance value of the loudspeaker equipment during operation, the initial temperature value and the initial resistance value to obtain the operation temperature value corresponding to the loudspeaker equipment.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
detecting whether the operating temperature value is greater than a preset temperature value or not;
and if the operating temperature value is detected to be greater than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
Further, the processor 1001 may call the adjustment program of the device state stored in the memory 1005, and also perform the following operations:
and if the operation temperature value is detected to be less than or equal to the preset temperature value, keeping the current output power of the loudspeaker equipment.
According to the method and the device, when the fact that the loudspeaker device in the terminal device starts to operate is detected, the operation data of the loudspeaker device is determined based on a smart PA temperature module; determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the running data of the loudspeaker equipment is determined through the smart PA, the running temperature value of the loudspeaker equipment is accurately predicted according to the running data and the initial running data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker equipment is adjusted according to the operation temperature value, so that the loudspeaker equipment is protected from being damaged while the loudspeaker equipment works with the maximum stroke and the maximum average power, and the loudspeaker equipment is protected.
Based on the foregoing terminal device architecture, but not limited to the foregoing architecture, the present application provides an embodiment of a method for adjusting a device status, and it should be noted that although a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in an order different from that in this case.
In the method for adjusting the device status provided in some embodiments of the present application, a terminal device is taken as an execution subject for example.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for adjusting the device status according to the present application. The method for adjusting the equipment state comprises the following steps:
and step S40, when detecting that the loudspeaker device in the terminal device starts to operate, determining the operation data of the loudspeaker device based on the smart PA intelligent power amplifier temperature module.
It should be noted that the terminal device is a multimedia device carrying speaker devices (speakers ), the terminal device at least includes a microcomputer (e.g., CPU) with data processing and a temperature sensor (e.g., an infrared temperature sensor), the terminal device may be, for example, a sound (smart sound), a smart speaker, and an earphone (smart earphone), the terminal device may be wired or wireless, may be wearable, or may be fixed three-dimensional, and the present embodiment is not limited.
When a user needs to start the loudspeaker device in the terminal device, the terminal device can be started through a key or a Bluetooth mode, the loudspeaker device is started and operated while the terminal device detects that the loudspeaker device is started and operated, the current output power of the loudspeaker device is detected through a smart PA (power amplifier) temperature module, wherein the output power is determined according to the operation of the user on the loudspeaker device. And then, the terminal equipment determines the operating current and the operating voltage corresponding to the current output power of the loudspeaker equipment, and the current operating data of the loudspeaker equipment is obtained through calculation of the operating current and the operating voltage.
Further, the step S40 includes;
step S401, when detecting that the loudspeaker equipment is started to run, determining whether the loudspeaker equipment is started for the first time;
step S402, if the loudspeaker device is determined to be started for the first time, determining a second environment temperature value of the current environment through a temperature sensor, and determining whether the second environment temperature value is within a second preset temperature range;
step S403, if it is determined that the second ambient temperature value is within the second preset temperature range, determining the operation data of the speaker device based on a smart PA temperature module.
Specifically, after the terminal device detects that the speaker device is started and operated, it determines whether the speaker device is started for the first time, and if the terminal device determines that the speaker device is started for the first time, the terminal device determines an ambient temperature value of an environment where the speaker device is currently located through the temperature sensor, and detects whether the ambient temperature value of the environment where the speaker device is currently located is within a first preset temperature range, where the first preset temperature range is set by a technician according to an actual situation, and this embodiment is not limited.
If the terminal device determines that the ambient temperature value of the current environment of the speaker device is within the first preset temperature range, it is determined that the initial operation data in the speaker device does not need to be reset, then the terminal device determines the operation current and the operation voltage corresponding to the current output power of the speaker device, and the current operation data of the speaker device is obtained through calculation of the operation current and the operation voltage, wherein the initial operation data is data set by a technician before the speaker device leaves a factory.
If the terminal equipment determines that the environmental temperature value of the current environment of the loudspeaker equipment is out of the first preset temperature range, the current environment of the loudspeaker equipment is determined to be in a high-temperature zone or a low-temperature zone, initial operation data in the loudspeaker equipment needs to be reset, then the terminal equipment determines operation current and operation voltage corresponding to the current output power of the loudspeaker equipment, and the current operation data of the loudspeaker equipment is obtained through calculation of the operation current and the operation voltage.
And if the terminal equipment determines that the loudspeaker equipment is not started for the first time, directly determining the operating current and the operating voltage corresponding to the current output power of the loudspeaker equipment, and calculating through the operating current and the operating voltage to obtain the current operating data of the loudspeaker equipment.
Further, it should be noted that the step of resetting the initial operation data in the speaker device is as follows, the terminal device determines a circuit board temperature value of a circuit board connected to the speaker device when the speaker device is started for the first time, and determines a temperature difference between the circuit board temperature value and an environmental temperature value of a current environment of the speaker device, if the terminal device determines that the temperature difference is within a second preset temperature range, the terminal device determines a current device voltage and a current device current of the speaker device, determines a device resistance value of the speaker device according to the device current and the device voltage, and determines the circuit board temperature value and the device resistance value of the circuit board connected to the speaker device as the updated initial operation data, where the second preset temperature range is set by a technician according to an actual situation, and this embodiment is not limited.
Further, the step S403 includes:
step S4031, determining an operating voltage and an operating current of the speaker apparatus when operating based on the smart PA temperature module;
step S4032, determining an operation resistance value of the speaker device when operating based on the operation voltage and the operation current, and determining the operation resistance value as operation data of the speaker device.
Specifically, after the terminal device determines that the speaker device is started to operate, the terminal device determines an operating current and an operating voltage corresponding to the current output power of the speaker device, and calculates the current operating resistance value of the speaker device through the operating current and the operating voltage, wherein the operating resistance value is the current operating data of the speaker device.
And step S50, determining an operation temperature value corresponding to the loudspeaker device based on the operation data and the initial operation data.
If the terminal device determines that the initial operation data of the speaker device does not need to be reset and determines the operation data of the speaker device, the terminal device calculates according to the operation resistance value (operation data) of the speaker device, the initial temperature value and the initial resistance value (initial operation data) of the speaker device, and obtains the current operation temperature value of the speaker device.
If the terminal equipment determines that the initial operation data of the loudspeaker equipment needs to be reset and determines the operation data of the loudspeaker equipment, calculating according to the operation resistance value (operation data) of the loudspeaker equipment and the initial temperature value and the initial resistance value after the loudspeaker equipment is reset to obtain the current operation temperature value of the loudspeaker equipment.
Further, the step S50 includes:
step S501, calculating based on the operation resistance value of the loudspeaker device during operation, the initial temperature value and the initial resistance value to obtain an operation temperature value corresponding to the loudspeaker device.
Specifically, after the terminal device determines the operation resistance value of the speaker device and the initial temperature value and the initial resistance value of the speaker device, the operation resistance value, the initial temperature value and the initial resistance value are input into a preset temperature calculation formula, and the operation temperature value corresponding to the operation of the speaker device is calculated through the preset temperature calculation formula.
Further, it should be noted that the preset temperature calculation formula is set by a technician, and the preset temperature calculation formula of the embodiment may be T ═ T0+(1/α)*(R/R0-1),T0And R0Are an initial temperature value and an initial resistance value of the speaker device. α is a temperature coefficient, which is determined by the material of the coil in the speaker device. R operating resistance value of the loudspeaker device. T is an operation temperature value at which the speaker apparatus operates.
Step S60, adjusting the state of the speaker device based on the operation temperature value.
After the terminal device determines the operating temperature value of the speaker device, the operating temperature value is compared with a preset temperature value, whether the current operating output power of the speaker device is greater than a preset power threshold value is determined according to the operating temperature value and the preset temperature value, a corresponding determination result is obtained, and then the terminal device adjusts the output power of the speaker device according to the determination result, namely, the output gain of the speaker device is adjusted, namely, the output state of the speaker device is adjusted. The preset temperature value and the preset power threshold are set by a technician according to an actual situation, and the embodiment is not limited.
Further, the step S60 includes:
step S601, detecting whether the operation temperature value is larger than a preset temperature value;
step S602, if the operation temperature value is detected to be greater than the preset temperature value, reducing the output power corresponding to the loudspeaker device;
step S603, if it is detected that the operating temperature value is less than or equal to the preset temperature value, maintaining the current output power of the speaker device.
Specifically, the terminal device detects whether the operating temperature value is greater than a preset temperature value, and if the terminal device detects that the operating temperature value is greater than the preset temperature value, the terminal device determines that the output power of the speaker device currently operating is greater than a preset power threshold value, and the output power of the speaker device currently operating needs to be reduced, that is, the output volume of the speaker device currently operating is reduced. If the terminal device detects that the operating temperature value is smaller than or equal to the preset temperature value, the terminal device determines that the output power of the loudspeaker device in the current operation is smaller than or equal to the preset power threshold value, and the output power of the loudspeaker device in the current operation does not need to be reduced, namely the output volume of the loudspeaker device in the current operation is kept.
The method comprises the steps that when the fact that loudspeaker equipment in terminal equipment starts to run is detected, operation data of the loudspeaker equipment are determined based on a smart PA temperature module; determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the running data of the loudspeaker equipment is determined through the smart PA, the running temperature value of the loudspeaker equipment is accurately predicted according to the running data and the initial running data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker equipment is adjusted according to the operation temperature value, so that the loudspeaker equipment is protected from being damaged while the loudspeaker equipment works with the maximum stroke and the maximum average power, and the loudspeaker equipment is protected.
Referring to fig. 3, fig. 3 is a schematic flow chart of another embodiment of the method for adjusting the device status of the present application. Before the step S40, the method further includes:
and step S10, determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment based on the thermistor, and determining a first environment temperature value of the environment where the loudspeaker equipment is located through the temperature sensor.
It should be noted that, before the terminal device leaves the factory, the speaker device in the terminal device needs to be subjected to parameter setting before leaving the factory.
The terminal equipment determines a circuit board temperature value in the circuit board through a thermistor in the circuit board connected with the loudspeaker equipment, and then the terminal equipment determines an environment temperature value of the current environment where the loudspeaker equipment is located through a temperature sensor in the terminal equipment.
It should be noted that, a production workshop for performing parameter setting before leaving a factory on the speaker device is fixed, so the ambient temperature value of the current environment of the speaker device is equivalent to the temperature value of the production workshop, and since the temperature value of the production workshop is fixed, the ambient temperature value of the current environment of the speaker device is also fixed, which is not limited in this embodiment, and in actual production, the temperature value of the production workshop is generally set to be close to the room temperature value, i.e., 25 ℃ (celsius degrees) to 27 ℃.
Step S20, determining a corresponding temperature difference value based on the first environment temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the loudspeaker device based on the temperature difference value;
step S30, determining the initial temperature value and the initial resistance value as the initial operation data.
After the terminal device determines the circuit board temperature value of the circuit board and the environment temperature value of the current environment of the speaker device, the terminal device calculates a difference between the circuit board temperature value and the environment temperature value to obtain a temperature difference between the current environment of the circuit board and the current environment of the speaker device, and detects whether the temperature difference is within a preset temperature range, wherein a technician in the preset temperature range sets the temperature according to the design of the circuit board, and the embodiment is not limited.
If the terminal device detects that the temperature difference value is within the preset temperature range, it is determined that the circuit board of the loudspeaker device is not in a heating state, namely, the loudspeaker does not play a signal. Then, the terminal device determines the device current and the device voltage in the speaker device at that time, and calculates a resistance value of the speaker device based on the device voltage and the device current. Then, the terminal device determines the circuit board temperature value in the circuit board at this time as an initial temperature value of the speaker device, determines the resistance value of the speaker device at this time as an initial resistance value of the speaker device, and writes the initial temperature value and the initial resistance value into the speaker device.
If the terminal equipment detects that the temperature difference value is out of the preset temperature range, it is determined that the circuit board of the loudspeaker equipment is in a heating state, namely, the loudspeaker has a playing signal. Then, the terminal device shuts down the speaker device, restarts the speaker device after a preset time interval, and calibrates the initial operation data, where the preset time interval is determined according to the heat dissipation capability of the heat dissipation device in the terminal device, and this embodiment is not limited.
Furthermore, when the terminal device detects that the circuit board of the speaker device is in a heating state, that is, the speaker has a playing signal, the terminal device can directly start a heat dissipation device (a heat dissipation fan) in the terminal device, and the circuit board is directly cooled by the heat dissipation device.
In addition, if the speaker is usedWhen the circuit board of the speaker device is in a heating state to perform initial operation data setting of the speaker device, an initial temperature value T of the speaker device may be caused0And an initial resistance value R0A higher value leads to a higher temperature calculated during actual use of the loudspeaker device, which triggers an adjustment of the gain too early.
Further, the step S20 includes:
step S201, detecting whether the temperature difference value is within a first preset temperature range;
step S202, if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment as an initial temperature value of the loudspeaker equipment;
step S203, determining a current device voltage and a current device current of the speaker device, and determining an initial resistance value of the speaker device based on the current device voltage and the current device current.
Specifically, the terminal device detects whether the temperature difference value is within a preset temperature range, and if the terminal device detects that the temperature difference value is within the preset temperature range, the terminal device determines that the circuit board of the speaker device is not in a heating state, that is, the speaker does not play a signal. Then, the terminal device determines the device current and the device voltage in the speaker device at that time, and calculates a resistance value of the speaker device based on the device voltage and the device current. Then, the terminal device determines the circuit board temperature value in the circuit board at this time as an initial temperature value of the speaker device, determines the resistance value of the speaker device at this time as an initial resistance value of the speaker device, and writes the initial temperature value and the initial resistance value into the speaker device.
Further, referring to fig. 4, fig. 4 is a schematic flowchart of a process for determining initial operation data, in which the terminal device monitors a circuit board temperature through a thermistor (the terminal device determines a circuit board temperature value in the circuit board through a thermistor in the circuit board connected to the speaker device), and monitors a difference (a temperature) between the temperature (the circuit board temperature value) and a room temperature (an environmental temperature value of an environment where the speaker device is currently located)Temperature difference) is within a set range (within a preset temperature range), if the difference between the temperature monitored by the terminal equipment and the room temperature is within the set range, a temperature value (circuit board temperature value) is written into T0(initial temperature value of speaker device), R is calculated by adding pilot tone through V/I signal0(the terminal device determines the device current and the device voltage in the speaker device at that time, and calculates the resistance value of the speaker device from the device voltage and the device current). If the difference between the temperature monitored by the terminal device and the room temperature is outside the set range, the terminal device powers off the product (speaker device) for 10 minutes (the preset duration, which is exemplified by 10 minutes in this embodiment, and is not limited to 10 minutes), and then powers on again.
The method comprises the steps that a circuit board temperature value of a circuit board connected with the loudspeaker equipment is determined based on a thermistor, and a first environment temperature value of the environment where the loudspeaker equipment is located is determined through a temperature sensor; determining a corresponding temperature difference value based on the first environment temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the loudspeaker device based on the temperature difference value; the initial temperature value and the initial resistance value are determined as initial operation data. In the embodiment, the initial operation data is set for the loudspeaker equipment before the loudspeaker equipment leaves the factory, and the operation temperature value during the operation of the loudspeaker equipment is predicted through the set initial operation data, so that the prediction accuracy of the temperature value is improved.
The present application further provides an apparatus for adjusting a device status, the apparatus for adjusting a device status includes:
the determining module is used for determining the operation data of the loudspeaker equipment based on the smart PA temperature module when the loudspeaker equipment in the terminal equipment is detected to start to operate;
the determining module is further used for determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data;
and the adjusting module is used for adjusting the state of the loudspeaker equipment based on the operation temperature value.
The function implementation of each module in the device state adjustment apparatus corresponds to each step in the device state adjustment method embodiment, and the function and implementation process thereof are not described in detail here.
The present invention also provides a computer-readable storage medium having stored thereon a device state adjustment program, which when executed by a processor, implements the steps of the device state adjustment method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the method for adjusting the device status described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of software goods stored in a computer-readable storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and including instructions for enabling a terminal device to complete the methods according to the embodiments of the present application.

Claims (10)

1. A method for adjusting a device state is characterized by comprising the following steps:
the method comprises the steps that when the fact that loudspeaker equipment in terminal equipment starts to run is detected, operation data of the loudspeaker equipment are determined based on a smart PA temperature module;
determining an operating temperature value corresponding to the loudspeaker device based on the operating data and the initial operating data;
adjusting a state of the speaker device based on the operating temperature value.
2. The method for adjusting device status according to claim 1, wherein before the step of detecting that the speaker device in the terminal device starts to run and determining the operation data of the speaker device based on the smart PA temperature module, the method further comprises:
determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment based on a thermistor, and determining a first environment temperature value of the environment where the loudspeaker equipment is located through a temperature sensor;
determining a corresponding temperature difference value based on the first environment temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the loudspeaker device based on the temperature difference value;
determining the initial temperature value and the initial resistance value as the initial operation data.
3. The method of adjusting a device state of claim 2, wherein the step of determining an initial temperature value and an initial resistance value for the speaker device based on the temperature difference value comprises:
detecting whether the temperature difference value is within a first preset temperature range or not;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker equipment as an initial temperature value of the loudspeaker equipment;
determining a present device voltage and a present device current for the loudspeaker device, determining an initial resistance value for the loudspeaker device based on the present device voltage and the present device current.
4. The method for adjusting device status according to claim 1, wherein the step of determining the operation data of the speaker device based on the smart PA temperature module upon detecting that the speaker device in the terminal device starts operating comprises:
when the starting operation of the loudspeaker equipment is detected, determining whether the loudspeaker equipment is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environment temperature value of the current environment through a temperature sensor, and determining whether the second environment temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
5. The method of adjusting a device state of claim 4, wherein the step of determining operational data of the speaker device based on a smart PA temperature module comprises:
determining an operating voltage and an operating current of the loudspeaker device when operating based on the smart PA temperature module;
determining an operation resistance value of the speaker apparatus at the time of operation based on the operation voltage and the operation current, and determining the operation resistance value as operation data of the speaker apparatus.
6. The method for adjusting a device state according to claim 1, wherein the operation data is an operation resistance value of the speaker device during operation, the initial operation data is an initial temperature value and an initial resistance value of the speaker device, and the step of determining the operation temperature value corresponding to the speaker device based on the operation data and the initial operation data comprises:
and calculating based on the operation resistance value of the loudspeaker equipment during operation, the initial temperature value and the initial resistance value to obtain the operation temperature value corresponding to the loudspeaker equipment.
7. The method of adjusting a device state according to claim 1, wherein the step of adjusting the state of the speaker device based on the operating temperature value comprises:
detecting whether the operating temperature value is greater than a preset temperature value or not;
and if the operating temperature value is detected to be greater than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
8. The method for adjusting the status of equipment according to any one of claims 1 to 7, wherein after the step of detecting whether the operating temperature value is greater than a preset temperature value, the method further comprises:
and if the operation temperature value is detected to be less than or equal to the preset temperature value, keeping the current output power of the loudspeaker equipment.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a device state adjustment program stored on the memory and running on the processor, the device state adjustment program, when executed by the processor, implementing the steps of the device state adjustment method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a device state adjustment program, which when executed by a processor implements the steps of the device state adjustment method according to any one of claims 1 to 8.
CN202110798917.0A 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium Active CN113518287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110798917.0A CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110798917.0A CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113518287A true CN113518287A (en) 2021-10-19
CN113518287B CN113518287B (en) 2023-04-25

Family

ID=78067319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110798917.0A Active CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113518287B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050242760A1 (en) * 2002-03-20 2005-11-03 Toyota Jidosha Kabushiki Kaisha Motor temperature estimator and motor controller
EP2589941A2 (en) * 2011-07-16 2013-05-08 Valeo Schalter und Sensoren GmbH Method and device for compensating for the temperature of at least one temperature-dependent parameter
CN104038882A (en) * 2014-05-26 2014-09-10 小米科技有限责任公司 Loudspeaker debugging model calibration method and loudspeaker debugging method and device
CN105975051A (en) * 2016-06-16 2016-09-28 重庆蓝岸通讯技术有限公司 Method for controlling heating of electronic product by adjusting output power of loudspeaker
US20170026767A1 (en) * 2015-07-24 2017-01-26 Nxp B.V. Temperature sensing
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device
CN108566612A (en) * 2018-06-29 2018-09-21 青岛海信电器股份有限公司 A kind of loud speaker detection method, terminal device and computer storage media
CN110225434A (en) * 2019-05-31 2019-09-10 Oppo(重庆)智能科技有限公司 Excess temperature protection method, device and computer storage medium and electronic equipment
CN112565976A (en) * 2019-09-10 2021-03-26 北京小米移动软件有限公司 Speaker driving circuit, temperature protection method, terminal device, and storage medium
CN112965551A (en) * 2021-01-29 2021-06-15 维沃移动通信有限公司 Heating control method and device for loudspeaker

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050242760A1 (en) * 2002-03-20 2005-11-03 Toyota Jidosha Kabushiki Kaisha Motor temperature estimator and motor controller
EP2589941A2 (en) * 2011-07-16 2013-05-08 Valeo Schalter und Sensoren GmbH Method and device for compensating for the temperature of at least one temperature-dependent parameter
CN104038882A (en) * 2014-05-26 2014-09-10 小米科技有限责任公司 Loudspeaker debugging model calibration method and loudspeaker debugging method and device
US20170026767A1 (en) * 2015-07-24 2017-01-26 Nxp B.V. Temperature sensing
CN105975051A (en) * 2016-06-16 2016-09-28 重庆蓝岸通讯技术有限公司 Method for controlling heating of electronic product by adjusting output power of loudspeaker
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device
CN108566612A (en) * 2018-06-29 2018-09-21 青岛海信电器股份有限公司 A kind of loud speaker detection method, terminal device and computer storage media
CN110225434A (en) * 2019-05-31 2019-09-10 Oppo(重庆)智能科技有限公司 Excess temperature protection method, device and computer storage medium and electronic equipment
CN112565976A (en) * 2019-09-10 2021-03-26 北京小米移动软件有限公司 Speaker driving circuit, temperature protection method, terminal device, and storage medium
CN112965551A (en) * 2021-01-29 2021-06-15 维沃移动通信有限公司 Heating control method and device for loudspeaker

Also Published As

Publication number Publication date
CN113518287B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US20120207329A1 (en) Audio device volume manager using measured volume perceived at a first audio device to control volume generation by a second audio device
US20120020487A1 (en) Audio device volume manager using measured distance between first and second audio devices to control volume generation by the second audio device
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
US10027301B2 (en) Method and electronic device for controlling volume
CN112997470B (en) Audio output control method and device, computer readable storage medium and electronic equipment
WO2022199518A1 (en) Audio signal processing method and apparatus, electronic device, and storage medium
KR20190066810A (en) Electronic device for controlling clock frequency and operating method thereof
JP2011526015A (en) System and method for reducing factory program time for wireless devices
CN107948904B (en) Sound box aging test method and device and computer readable storage medium
CN111541975B (en) Audio signal adjusting method and electronic equipment
CN113518287B (en) Device state adjusting method, terminal device and computer readable storage medium
CN111049972B (en) Audio playing method and terminal equipment
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN112965551A (en) Heating control method and device for loudspeaker
CN113168303A (en) Audio processing method and device, computer readable storage medium and electronic equipment
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN115866128A (en) Electronic device control method, electronic device control device, electronic device control medium, and electronic device
CN111142837B (en) Sounding method, device, equipment and storage medium based on television display mode
CN111629263A (en) Display picture compensation method and device, electronic equipment and storage medium
CN110874199B (en) Visual data processing method and electronic equipment
CN110377126B (en) Temperature estimation method and device, electronic equipment and storage medium
JP2023519942A (en) Scheduling request configuration method, terminal and network equipment
CN113341786A (en) Equipment energy consumption control method and device and computer readable storage medium
CN111479198A (en) Audio signal processing method and electronic equipment
CN111813213A (en) Power saving method, terminal and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221123

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 workshop 1, phase III, Geer Photoelectric Industrial Park, 3999 Huixian Road, Yongchun community, Qingchi street, high tech Zone, Weifang City, Shandong Province

Applicant before: GoerTek Optical Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant