CN114630237A - Audio device, control method and device thereof and electronic device - Google Patents

Audio device, control method and device thereof and electronic device Download PDF

Info

Publication number
CN114630237A
CN114630237A CN202210240894.6A CN202210240894A CN114630237A CN 114630237 A CN114630237 A CN 114630237A CN 202210240894 A CN202210240894 A CN 202210240894A CN 114630237 A CN114630237 A CN 114630237A
Authority
CN
China
Prior art keywords
circuit
audio
sub audio
audio circuit
sub
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
CN202210240894.6A
Other languages
Chinese (zh)
Other versions
CN114630237B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210240894.6A priority Critical patent/CN114630237B/en
Publication of CN114630237A publication Critical patent/CN114630237A/en
Application granted granted Critical
Publication of CN114630237B publication Critical patent/CN114630237B/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

Abstract

The application discloses audio equipment, a control method and a control device of the audio equipment and electronic equipment, and belongs to the technical field of audio equipment, wherein the audio equipment comprises: the first audio playing circuit comprises a first sub audio circuit and a second sub audio circuit, the second audio playing circuit comprises a third sub audio circuit and a fourth sub audio circuit, the first sub audio circuit is associated with the third sub audio circuit, and the second sub audio circuit is associated with the fourth sub audio circuit; the control method of the audio equipment comprises the following steps: acquiring the working state of a first audio playing circuit; under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal, the third sub audio circuit is deactivated, and the fourth sub audio circuit works normally; and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit.

Description

Audio device, control method and device thereof and electronic device
Technical Field
The application belongs to the technical field of audio equipment, and particularly relates to a control method of audio equipment, a control device of the audio equipment, the audio equipment and electronic equipment.
Background
With the improvement of life quality, the requirement of users on the sound effect quality of audio equipment is higher and higher.
At present, audio equipment adopts a four-loudspeaker method, and a high-frequency loudspeaker and a low-frequency loudspeaker are respectively carried on a left sound channel and a right sound channel, so that a stereo effect is formed.
When the loudspeaker in the left channel or the right channel is damaged, the sound effect quality of one channel is greatly reduced, so that the stereo field is unbalanced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a control method of an audio device, a control apparatus of an audio device, an electronic device, and a readable storage medium, which can solve a problem that a stereo field is unbalanced when a speaker in a left channel or a right channel is damaged.
In a first aspect, an embodiment of the present application provides a method for controlling an audio device, where the audio device includes: the first audio playing circuit comprises a first sub audio circuit and a second sub audio circuit, the second audio playing circuit comprises a third sub audio circuit and a fourth sub audio circuit, the first sub audio circuit is associated with the third sub audio circuit, and the second sub audio circuit is associated with the fourth sub audio circuit;
the control method of the audio device comprises the following steps:
acquiring the working state of a first audio playing circuit;
under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal, the third sub audio circuit is deactivated, and the fourth sub audio circuit works normally;
and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the sound channel modes of the third sub audio circuit and the fourth sub audio circuit.
In a second aspect, an embodiment of the present application provides a control apparatus for an audio device, where the audio device includes: the first audio playing circuit comprises a first sub audio circuit and a second sub audio circuit, the second audio playing circuit comprises a third sub audio circuit and a fourth sub audio circuit, the first sub audio circuit is associated with the third sub audio circuit, and the second sub audio circuit is associated with the fourth sub audio circuit;
the control device of the audio equipment comprises:
the acquisition module is used for acquiring the working state of the first audio playing circuit;
the control module is used for deactivating the third sub audio circuit and normally operating the fourth sub audio circuit under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal; and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit.
In a third aspect, embodiments of the present application provide an audio device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as in the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes the control device of the audio device in the foregoing embodiment, or an audio device.
In a fifth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a seventh aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, by detecting the working state of the first audio circuit, under the condition that the first audio circuit has a fault, the second audio circuit can be adjusted in time, the influence effect on the sound effect of the audio equipment is reduced, the problem of unbalanced pain points of the stereo field of the audio equipment is solved, and the stereo field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
It should be noted that, in this embodiment, the obtained operating state of the first audio playing circuit is obtained, and the first audio playing circuit is any audio playing circuit in the audio device. Therefore, for the control method of the audio equipment, the working state of the second audio circuit can be acquired, and then the first audio circuit is adjusted correspondingly.
Drawings
FIG. 1 is one of the schematic block diagrams of an audio device in an embodiment of the present application;
FIG. 2 is a flow chart illustrating a control method of an audio device according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an audio device in an embodiment of the present application;
FIG. 4 is a schematic diagram of the first sub-audio circuit and the second sub-audio circuit in the embodiment of the present application;
FIG. 5 is a schematic block diagram of a control device of an audio apparatus in an embodiment of the present application;
FIG. 6 is a second schematic block diagram of an audio device in an embodiment of the present application;
FIG. 7 is a schematic block diagram of an electronic device in an embodiment of the application;
fig. 8 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Reference numerals are as follows:
111 first soundhole, 112 second soundhole, 121 third soundhole, 122 fourth soundhole, 410 smart power amplifier, 420 speaker.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a control method of an audio device, a control apparatus of an audio device, an electronic device, and a readable storage medium, which are provided by the embodiments of the present application, with reference to the accompanying drawings and application scenarios thereof.
In an embodiment of the present application, a method for controlling an audio device is provided, where the audio device includes: the audio playback device comprises a first audio playback circuit and a second audio playback circuit.
Illustratively, the first audio playback circuit functions as a left channel circuit and the second audio playback circuit functions as a right channel circuit, so that an audio device having the first audio playback circuit and the second audio playback circuit can produce a stereo effect.
The first audio playing circuit comprises a first sub audio circuit and a second sub audio circuit, the second audio playing circuit comprises a third sub audio circuit and a fourth sub audio circuit, the first sub audio circuit is associated with the third sub audio circuit, the first sub audio circuit and the third sub audio circuit sound simultaneously to form a stereo effect, the second sub audio circuit is associated with the fourth sub audio circuit, and the second sub audio circuit and the fourth sub audio circuit sound simultaneously to form the stereo effect. Illustratively, the first sub audio circuit may function as a high frequency circuit and the second sub audio circuit may function as a low frequency circuit. The third sub audio circuit functions as a high frequency circuit, and the fourth sub audio circuit functions as a low frequency circuit.
As shown in fig. 1, the first sub audio circuit includes: first power amplifier unit and first speaker, second sub audio circuit include: a second power amplifier unit and a second loudspeaker. Wherein the first speaker may be a tweeter and the second speaker is a woofer. The third sub audio circuit includes: third power amplifier unit and third speaker, fourth sub audio circuit include: a fourth power amplifier unit and a fourth loudspeaker.
The audio device further includes: the controller is electrically connected with the first audio playing circuit and the second audio playing circuit;
the controller controls the four power amplification units to work through an I2C (Inter-Integrated Circuit) module, transmits audio data to the four power amplification units through an I2S (Inter-IC Sound, audio bus built in the Integrated Circuit) module, and respectively transmits left and right channel audio data of a stereo Sound source to the four power amplification units through the same group of I2S modules according to an I2S protocol, wherein the first power amplification unit and the second power amplification unit are in a group, transmits data of one channel, the third power amplification unit and the fourth power amplification unit are in a group, transmits data of the other channel, and finally acts on the four loudspeakers to form stereo Sound effect.
As shown in fig. 2, the control method of the audio apparatus includes:
step 202, acquiring a working state of a first audio playing circuit;
in the using process of the audio device, the working state of the first audio playing is detected, whether the first audio playing circuit is abnormal or not can be determined, and therefore the first audio playing circuit can be adjusted in time when the first audio playing circuit is abnormal.
Step 204, under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal, the third sub audio circuit is deactivated, and the fourth sub audio circuit works normally; and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit.
During the use of the audio device, if the first sub audio circuit and/or the second sub audio circuit is/are detected to be damaged, the third sub audio circuit and/or the fourth sub audio circuit needs to be adjusted.
Specifically, if the first sub audio circuit is damaged and the second sub audio circuit is working normally, only one audio circuit is working in the left channel circuit and two audio circuits are working in the right channel circuit, which may cause the problem of unbalanced sound field in the left and right channels, and at this time, one sub audio circuit in the second audio playing circuit needs to be deactivated. For example, if the first sub audio circuit is a high frequency circuit, the high frequency circuit in the second audio playback circuit is deactivated. At this time, the sound fields of the first audio playing circuit and the second audio playing circuit reach balance again, so that the problem of damage of the first sub audio circuit is solved.
Accordingly, if the second sub audio circuit is damaged and the first sub audio circuit is normally operated, the fourth sub audio circuit is deactivated and the third sub audio circuit is normally operated.
As shown in fig. 3, the audio device is provided with a first sound hole 111, a second sound hole 112, a third sound hole 121 and a fourth sound hole 122, wherein the sound effect of the first audio playback circuit is emitted through the first sound hole 111 and the second sound hole 112, and the sound effect of the second audio playback circuit is emitted through the third sound hole 121 and the fourth sound hole 122.
When the first sub audio circuit and the second sub audio circuit are completely damaged, the left channel cannot work normally, the influence caused by the failure of the left channel is reduced, and the channel modes of the third sub audio circuit and the fourth sub audio circuit need to be adjusted. For example, the third sub audio circuit and the fourth sub audio circuit are both adjusted to the mono mode. Moreover, after the single-channel playing mode is switched, audio data can be ensured not to be lost as much as possible, and power consumption of the audio equipment can be reduced.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has a fault, so that the problem of pain points of the audio equipment in which the stereo field is unbalanced is solved, and the stereo field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
It should be noted that, in this embodiment, the obtained working state of the first audio playing circuit is the working state of the first audio playing circuit, and the first audio playing circuit is any audio playing circuit in the audio device. Therefore, for the control method of the audio equipment, the working state of the second audio circuit can be acquired, and then the first audio circuit is adjusted correspondingly.
In one possible embodiment, obtaining the operating state of the first audio playback circuit includes: the controller transmits audio data to the first power amplifier unit and the second power amplifier unit.
After obtaining the operating condition of the first audio playback circuit, the method further includes: the controller determines that the first sub audio circuit is damaged and the second sub audio circuit works normally when receiving the feedback signal of the second power amplifier unit within the preset time and not receiving the feedback signal of the first power amplifier unit; and under the condition that the controller does not receive the feedback signals of the first power amplification unit and the second power amplification unit within the preset time length, determining that both the first sub audio circuit and the second sub audio circuit are damaged.
In this embodiment, when the audio device is operating, the controller transmits audio data to the first power amplifier unit and the second power amplifier unit. After the first power amplifier unit and the second power amplifier unit receive the audio data, signals need to be fed back to the controller, and if the controller does not receive the feedback signals sent by the first power amplifier unit and/or the second power amplifier unit within a preset time length, it is indicated that the first power amplifier unit and/or the second power amplifier unit are abnormal currently, that is, it is determined that the first power amplifier unit and/or the second power amplifier unit are damaged.
It should be noted that, if the first power amplifier unit and the second power amplifier unit both work normally, the controller should receive two feedback signals, that is, both the first power amplifier unit and the second power amplifier unit may transmit the feedback signals to the controller.
When the controller receives only the feedback signal of the second power amplifier unit and receives the feedback signal of the first power amplifier unit, it indicates that the first sub audio circuit including the first power amplifier unit is damaged, and the second sub audio circuit including the second power amplifier unit normally operates.
When the controller does not receive the feedback signals of the first power amplifier unit and the second power amplifier unit within the preset time length, the first sub audio circuit and the second sub audio circuit are both damaged.
Whether the sub audio circuit is damaged or not is judged by whether the feedback signal of the power amplification unit is received or not, and the accuracy of the detection result is improved.
In one possible application, the controller learns whether the power amplifier unit is failed or not by polling the I2C module.
In a possible embodiment, obtaining the operating state of the first audio playing circuit includes: acquiring impedance values of a first loudspeaker and a second loudspeaker;
after obtaining the operating condition of the first audio playback circuit, the method further includes: when the impedance value of the first loudspeaker is larger than or equal to a set value and the impedance value of the second loudspeaker is smaller than the set value, the first sub audio circuit is determined to be damaged, and the second sub audio circuit works normally; and determining that the first sub audio circuit and the second sub audio circuit are damaged under the condition that the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to a set value.
In this embodiment, when the audio device is in operation, the impedance values of the first speaker and the second speaker need to be obtained, and if the impedance value of the first speaker and/or the second speaker is greater than or equal to the set value, it is indicated that the first speaker and/or the second speaker is abnormal at present, that is, it is determined that the first speaker and/or the second speaker is damaged.
In particular, the impedance value of a normal speaker is generally close to 8 ohms, and when the speaker fails, which is usually caused by the blowing of its internal coil, the path inside the speaker corresponds to an open state after the coil is blown, so that the impedance value of the speaker tends to be infinite. Based on this, whether the loudspeaker is damaged or not can be judged by detecting the impedance value of the loudspeaker by using the power amplification unit.
As shown in fig. 4, the power amplifier unit and the power amplifier unit in this embodiment both belong to an intelligent power amplifier 410, and the intelligent power amplifier 410 can sample and detect the voltage and the current of the speaker 420 during operation, so as to obtain the current impedance value of the speaker 420. The impedance value of the speaker 420 is fed back to the controller through the I2S module, and when the impedance value of the speaker 420 is detected to be greater than or equal to a certain set threshold value, it is determined that the speaker 420 is in the silent mode.
It should be noted that, when the audio device works, the first power amplifier unit and the second power amplifier unit may detect impedance values of the first speaker and the second speaker, respectively.
When the impedance value of the first loudspeaker is larger than or equal to the set value and the impedance value of the second loudspeaker is smaller than the set value, the first sub audio circuit is damaged, and the second sub audio circuit works normally.
When the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to the set value, the first sub audio circuit and the second sub audio circuit are both damaged.
Whether the sub-audio circuit is damaged or not is judged by detecting the impedance values of the first loudspeaker and the second loudspeaker, and the accuracy of the detection result is further improved.
In a possible embodiment, in the case that the first sub audio circuit is damaged and the second sub audio circuit is normal, the control method further includes: and adjusting the audio parameters of the second sub audio circuit and the fourth sub audio circuit.
In this embodiment, the first sub audio circuit and the third sub audio circuit are used as high frequency circuits, and the second sub audio circuit and the fourth sub audio circuit are used as low frequency circuits. Under the condition that the first sub audio circuit is damaged and the second sub audio circuit normally works, after the third sub audio circuit is stopped, the audio equipment loses the sound effect sent by the high-frequency circuit, and only the second low frequency and the fourth low frequency work are left, so that the audio parameters of the second sub audio circuit and the fourth sub audio circuit need to be adjusted, and the sound effect of the high-frequency band is made up.
Similarly, when the first sub-audio circuit is damaged and the second sub-audio circuit is working normally, the third sub-audio circuit is deactivated, so that the audio parameters of the fourth sub-audio circuit need to be adjusted.
In order to ensure the stereo effect of the audio device as much as possible, different audio parameters can be stored according to different speaker schemes, and the audio parameters can be used for debugging the optimal sound effect according to different speaker matching schemes and different speaker characteristics, for example, the parameters mainly compensate the high-frequency effect according to the scheme of matching two low-frequency speakers. The two high-frequency loudspeaker schemes are used, and the parameters are used for mainly compensating the low-frequency effect. By the method, the optimal sound effect design can be obtained, the optimal sound effect is presented to the user, and the satisfaction degree of the user is improved.
According to the control method of the audio equipment provided by the embodiment of the application, the execution main body can be a control device of the audio equipment. In the embodiment of the present application, a method for executing shooting by a control device of an audio device is taken as an example, and the control device of the audio device provided in the embodiment of the present application is described.
As shown in fig. 5, some of the present applications provide a control device 500 of an audio apparatus, the audio apparatus including: the audio player comprises a first audio playing circuit and a second audio playing circuit;
the first audio playing circuit is used as a left channel circuit, and the second audio playing circuit is used as a right channel circuit, so that the audio equipment with the first audio playing circuit and the second audio playing circuit can generate a stereo effect.
The first audio playing circuit comprises a first sub audio circuit and a second sub audio circuit, the second audio playing circuit comprises a third sub audio circuit and a fourth sub audio circuit, the first sub audio circuit is associated with the third sub audio circuit, the first sub audio circuit and the third sub audio circuit sound simultaneously to form a stereo effect, the second sub audio circuit is associated with the fourth sub audio circuit, and the second sub audio circuit and the fourth sub audio circuit sound simultaneously to form the stereo effect. Illustratively, the first sub audio circuit may function as a high frequency circuit and the second sub audio circuit may function as a low frequency circuit. The third sub audio circuit functions as a high frequency circuit, and the fourth sub audio circuit functions as a low frequency circuit.
The control apparatus 500 of the audio device includes:
an obtaining module 510, configured to obtain a working state of a first audio playing circuit;
the control module 520 is used for deactivating the third sub audio circuit and normally operating the fourth sub audio circuit under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal; and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit.
In this embodiment, by detecting the operating state of the first audio circuit, the second audio circuit can be adjusted in time when the first audio circuit has a fault, so as to solve the pain point problem of the unbalanced stereo field of the audio device, and keep the stereo field of the audio device balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
In a possible embodiment, the obtaining module is specifically configured to: the controller transmits audio data to the first power amplification unit and the second power amplification unit;
after the working state of the first audio playing circuit is obtained, the obtaining module is further configured to: the controller determines that the first sub audio circuit is damaged and the second sub audio circuit works normally when receiving the feedback signal of the second power amplification unit within a preset time and not receiving the feedback signal of the first power amplification unit; and under the condition that the controller does not receive the feedback signals of the first power amplification unit and the second power amplification unit within the preset time length, determining that both the first sub audio circuit and the second sub audio circuit are damaged.
In a possible embodiment, the obtaining module is specifically configured to: acquiring impedance values of a first loudspeaker and a second loudspeaker; after the operating state of the first audio playback circuit is obtained, the obtaining module is further configured to: when the impedance value of the first loudspeaker is larger than or equal to a set value and the impedance value of the second loudspeaker is smaller than the set value, the first sub audio circuit is determined to be damaged, and the second sub audio circuit works normally; and determining that the first sub audio circuit and the second sub audio circuit are damaged under the condition that the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to a set value.
In a possible embodiment, the control device further comprises: and the adjusting module is used for adjusting the audio parameters of the second sub audio circuit and the fourth sub audio circuit under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal.
The control device of the audio device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), an assistant, or a self-service machine, and the embodiments of the present application are not limited in particular.
The control device of the audio device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting provided by the embodiment of the present application can implement the process implemented by the method embodiment in fig. 2, and is not described here again to avoid repetition.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has a fault, so that the problem of pain points of the audio equipment in which the stereo field is unbalanced is solved, and the stereo field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
Optionally, as shown in fig. 6, an audio device 600 is further provided in an embodiment of the present application, and includes a processor 610 and a memory 620, where the memory 620 stores a program or an instruction that can be executed on the processor 610, and when the program or the instruction is executed by the processor 610, the steps of the embodiment of the control method of the audio device are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes the control apparatus 500 of the audio device in the foregoing embodiment, or the audio device 600, and the electronic device in this embodiment can achieve the same technical effect, and is not described here again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic hardware structure diagram of an electronic device 800 implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 810 is configured to obtain a working state of the first audio playing circuit; under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal, the third sub audio circuit is deactivated, and the fourth sub audio circuit works normally; and under the condition that the first sub audio circuit and the second sub audio circuit are damaged, adjusting the sound channel modes of the third sub audio circuit and the fourth sub audio circuit.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has faults, and the problem of pain point of unbalanced three-dimensional sound field of the audio equipment is solved. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has higher technical feasibility and mass production.
Optionally, the processor 810 transmits audio data to the first power amplifier unit and the second power amplifier unit; after obtaining the operating state of the first audio playback circuit, the processor 810 is further configured to: under the conditions that a feedback signal of the second power amplification unit is received within a preset time length and a feedback signal of the first power amplification unit is not received, it is determined that the first sub audio circuit is damaged, and the second sub audio circuit works normally; and under the condition that the feedback signals of the first power amplifier unit and the second power amplifier unit are not received within the preset time, determining that both the first sub audio circuit and the second sub audio circuit are damaged.
Optionally, a processor 810 for obtaining impedance values of the first speaker and the second speaker; after obtaining the operating state of the first audio playback circuit, the processor 810 is further configured to: when the impedance value of the first loudspeaker is larger than or equal to a set value and the impedance value of the second loudspeaker is smaller than the set value, the first sub audio circuit is determined to be damaged, and the second sub audio circuit works normally; and determining that the first sub audio circuit and the second sub audio circuit are damaged under the condition that the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to a set value.
Optionally, the processor 810 is further configured to adjust audio parameters of the second sub audio circuit and the fourth sub audio circuit when the first sub audio circuit is damaged and the second sub audio circuit is normal.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, and the like), and the like. Further, the memory 809 can include volatile memory or nonvolatile memory, or the memory 809 can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 809 in the present embodiment includes, but is not limited to, these and any other suitable types of memory.
Processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 810.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has faults, so that the problem of pain points of the audio equipment due to unbalance of the three-dimensional sound field is solved, and the three-dimensional sound field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned control method for an audio device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has faults, so that the problem of pain points of the audio equipment due to unbalance of the three-dimensional sound field is solved, and the three-dimensional sound field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment of the audio device, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has faults, so that the problem of pain points of the audio equipment due to unbalance of the three-dimensional sound field is solved, and the three-dimensional sound field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has high technical feasibility and mass production.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the control method embodiment of the audio device, where the processes can achieve the same technical effect, and in order to avoid repetition, the descriptions of the processes are omitted here.
By detecting the working state of the first audio circuit, the second audio circuit can be adjusted in time under the condition that the first audio circuit has faults, so that the problem of pain points of the audio equipment due to unbalance of the three-dimensional sound field is solved, and the three-dimensional sound field of the audio equipment can be kept balanced. Even if the sub audio circuit is damaged, the user can continue to use the audio equipment, so that the use reliability of the audio equipment is improved, and the audio equipment has higher technical feasibility and mass production.
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. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A control method of an audio apparatus, characterized in that the audio apparatus comprises: first and second audio playback circuits, the first audio playback circuit including first and second sub audio circuits, the second audio playback circuit including third and fourth sub audio circuits, the first sub audio circuit associated with the third sub audio circuit, the second sub audio circuit associated with the fourth sub audio circuit;
the control method of the audio device includes:
acquiring the working state of the first audio playing circuit;
under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal, the third sub audio circuit is deactivated, and the fourth sub audio circuit works normally;
and adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit when the first sub audio circuit and the second sub audio circuit are damaged.
2. The method of controlling an audio apparatus according to claim 1, wherein the audio apparatus further comprises: a controller electrically connected to the first sub audio circuit and the second sub audio circuit; the first sub audio circuit includes: the first power amplifier unit, the second sub audio circuit includes: a second power amplifier unit;
the obtaining of the working state of the first audio playing circuit includes:
the controller transmits audio data to the first power amplification unit and the second power amplification unit;
after the obtaining of the working state of the first audio playing circuit, the method further includes:
the controller receives a feedback signal of the second power amplifier unit within a preset time length and determines that the first sub audio circuit is damaged and the second sub audio circuit works normally under the condition that the feedback signal of the first power amplifier unit is not received;
and under the condition that the controller does not receive the feedback signals of the first power amplification unit and the second power amplification unit within a preset time length, determining that the first sub audio circuit and the second sub audio circuit are damaged.
3. The method of controlling an audio apparatus according to claim 1,
the audio device further comprises: a controller electrically connected to the first sub audio circuit and the second sub audio circuit; the first sub audio circuit includes: a first speaker, the second sub audio circuit comprising: a second speaker;
the obtaining of the working state of the first audio playing circuit includes:
acquiring impedance values of the first loudspeaker and the second loudspeaker;
after the obtaining of the working state of the first audio playing circuit, the method further includes:
when the impedance value of the first loudspeaker is larger than or equal to a set value and the impedance value of the second loudspeaker is smaller than the set value, determining that the first sub audio circuit is damaged and the second sub audio circuit works normally;
and determining that the first sub audio circuit and the second sub audio circuit are damaged when the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to a set value.
4. The method of controlling an audio apparatus according to claim 1,
when the first sub audio circuit is damaged and the second sub audio circuit is normal, the control method further includes:
adjusting audio parameters of the second sub audio circuit and the fourth sub audio circuit.
5. A control apparatus of an audio device, characterized in that the audio device comprises: first and second audio playback circuits, the first audio playback circuit including first and second sub audio circuits, the second audio playback circuit including third and fourth sub audio circuits, the first sub audio circuit associated with the third sub audio circuit, the second sub audio circuit associated with the fourth sub audio circuit;
the control device includes:
the acquisition module is used for acquiring the working state of the first audio playing circuit;
the control module is used for deactivating the third sub audio circuit and enabling the fourth sub audio circuit to work normally under the condition that the first sub audio circuit is damaged and the second sub audio circuit is normal; and adjusting the channel modes of the third sub audio circuit and the fourth sub audio circuit when the first sub audio circuit and the second sub audio circuit are damaged.
6. The control device of audio equipment according to claim 5,
the audio device further includes: a controller electrically connected to the first sub audio circuit and the second sub audio circuit; the first sub audio circuit includes: first power amplifier unit and first speaker, second sub audio circuit includes: a second power amplifier unit and a second loudspeaker;
the acquisition module is specifically configured to: the controller transmits audio data to the first power amplification unit and the second power amplification unit;
after the operating state of the first audio playback circuit is obtained, the obtaining module is further configured to: the controller receives a feedback signal of the second power amplifier unit within a preset time length and determines that the first sub audio circuit is damaged and the second sub audio circuit works normally under the condition that the feedback signal of the first power amplifier unit is not received; and under the condition that the controller does not receive the feedback signals of the first power amplification unit and the second power amplification unit within a preset time length, determining that the first sub audio circuit and the second sub audio circuit are damaged.
7. The control device of audio equipment according to claim 6,
the acquisition module is specifically configured to: acquiring impedance values of the first loudspeaker and the second loudspeaker;
after the operating state of the first audio playback circuit is obtained, the obtaining module is further configured to: when the impedance value of the first loudspeaker is larger than or equal to a set value and the impedance value of the second loudspeaker is smaller than the set value, determining that the first sub audio circuit is damaged and the second sub audio circuit works normally; and determining that the first sub audio circuit and the second sub audio circuit are damaged when the impedance values of the first loudspeaker and the second loudspeaker are both larger than or equal to a set value.
8. The control apparatus of an audio device according to claim 5,
the control device further includes: an adjustment module;
the first sub audio circuit is damaged, and the adjusting module is used for adjusting audio parameters of the second sub audio circuit and the fourth sub audio circuit under the condition that the second sub audio circuit is normal.
9. An audio device, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the control method of an audio device according to any one of claims 1 to 4.
10. An electronic device, characterized in that it comprises control means of an audio device according to any one of claims 5 to 8, or an audio device according to claim 9.
CN202210240894.6A 2022-03-10 2022-03-10 Audio device, control method and device thereof and electronic device Active CN114630237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210240894.6A CN114630237B (en) 2022-03-10 2022-03-10 Audio device, control method and device thereof and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210240894.6A CN114630237B (en) 2022-03-10 2022-03-10 Audio device, control method and device thereof and electronic device

Publications (2)

Publication Number Publication Date
CN114630237A true CN114630237A (en) 2022-06-14
CN114630237B CN114630237B (en) 2024-03-01

Family

ID=81902491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210240894.6A Active CN114630237B (en) 2022-03-10 2022-03-10 Audio device, control method and device thereof and electronic device

Country Status (1)

Country Link
CN (1) CN114630237B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174687A (en) * 2002-03-29 2007-07-05 Hitachi Ltd Audio processing apparatus, audio processing system, audio output apparatus, and video display apparatus
US9084048B1 (en) * 2010-06-17 2015-07-14 Shindig, Inc. Audio systems and methods employing an array of transducers optimized for particular sound frequencies
CN105228055A (en) * 2015-10-16 2016-01-06 瑞声科技(南京)有限公司 Audio bass bucking-out system and compensation method thereof
CN105453178A (en) * 2012-06-06 2016-03-30 搜诺思公司 Device playback failure recovery and redistribution
CN107920321A (en) * 2016-10-09 2018-04-17 中兴通讯股份有限公司 A kind of loudspeaker faults treating method and apparatus
CN111629304A (en) * 2020-05-15 2020-09-04 维沃移动通信有限公司 Loudspeaker control method and device and electronic equipment
CN113630695A (en) * 2021-08-06 2021-11-09 维沃移动通信有限公司 Sound channel switching method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174687A (en) * 2002-03-29 2007-07-05 Hitachi Ltd Audio processing apparatus, audio processing system, audio output apparatus, and video display apparatus
US9084048B1 (en) * 2010-06-17 2015-07-14 Shindig, Inc. Audio systems and methods employing an array of transducers optimized for particular sound frequencies
CN105453178A (en) * 2012-06-06 2016-03-30 搜诺思公司 Device playback failure recovery and redistribution
CN105228055A (en) * 2015-10-16 2016-01-06 瑞声科技(南京)有限公司 Audio bass bucking-out system and compensation method thereof
CN107920321A (en) * 2016-10-09 2018-04-17 中兴通讯股份有限公司 A kind of loudspeaker faults treating method and apparatus
CN111629304A (en) * 2020-05-15 2020-09-04 维沃移动通信有限公司 Loudspeaker control method and device and electronic equipment
CN113630695A (en) * 2021-08-06 2021-11-09 维沃移动通信有限公司 Sound channel switching method and device and electronic equipment

Also Published As

Publication number Publication date
CN114630237B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US10284943B2 (en) Method and apparatus for adjusting sound field of an earphone and a terminal
US8320586B2 (en) System and method for reducing volume spike in an electronic device
US20040100275A1 (en) Apparatus for detecting connection state between stereo earphone plug and corresponding jack of mobile communication terminal
CN111629304A (en) Loudspeaker control method and device and electronic equipment
CN103929692B (en) Audio information processing method and electronic equipment
CN108848267B (en) Audio playing method and mobile terminal
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
JP2023514751A (en) Power adjustment method and electronic device
CN108432216B (en) Volume adjustment method and device and electronic equipment
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
CN107404587B (en) Audio playing control method, audio playing control device and mobile terminal
US20220132250A1 (en) Mobile Terminal and Control Method
WO2023202527A1 (en) Method and apparatus for controlling power supply circuit, and electronic device and readable storage medium
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN116074679B (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN114630237B (en) Audio device, control method and device thereof and electronic device
CN112312273B (en) Sound playing method, sound receiving method and electronic equipment
CN106331356B (en) Volume control method and terminal
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
CN106954138A (en) A kind of information processing method and electronic equipment
KR20200144241A (en) Structure of electronic device for optimizing performance of antenna and method thereof
CN111192027A (en) List processing method and device and computer readable storage medium
CN112760653A (en) Current control method and device in cathodic protection system
CN106293660B (en) Information processing method and electronic equipment
CN112492073B (en) Audio playing method and device, storage medium and mobile terminal

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
GR01 Patent grant
GR01 Patent grant