CN114630237B - 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
CN114630237B
CN114630237B CN202210240894.6A CN202210240894A CN114630237B CN 114630237 B CN114630237 B CN 114630237B CN 202210240894 A CN202210240894 A CN 202210240894A CN 114630237 B CN114630237 B CN 114630237B
Authority
CN
China
Prior art keywords
audio
sub
circuit
audio circuit
damaged
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.)
Active
Application number
CN202210240894.6A
Other languages
Chinese (zh)
Other versions
CN114630237A (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

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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses audio equipment, a control method and device thereof and electronic equipment, which belong 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; when 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.

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 audio equipment, audio equipment and electronic equipment.
Background
With the improvement of life quality, the requirements of users on the sound effect quality of audio equipment are higher and higher.
At present, an audio device adopts a four-speaker method, and a high-frequency speaker and a low-frequency speaker are respectively mounted on a left channel and a right channel, so that a stereo effect is formed.
When a speaker in the left channel or the right channel is damaged, the sound quality of one of the channels may be greatly reduced, resulting in an imbalance of the stereo field.
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, capable of solving a problem of unbalanced stereo fields 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;
when 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 disabling the third sub-audio circuit and enabling the fourth sub-audio circuit to work normally when 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 sound 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 storing a program or instructions executable on the processor, which when executed by the processor, implement 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 apparatus of the audio device in the foregoing embodiment, or the audio device.
In a fifth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In a seventh aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the first aspect.
In this application embodiment, through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, reduce the influence effect to audio equipment's audio, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
It should be noted that, in this embodiment, the working 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 device, the working state of the second audio circuit can be obtained, and then the first audio circuit is correspondingly adjusted.
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 of a control method of an audio device in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an audio device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a first sub-audio circuit and a second sub-audio circuit in an embodiment of the present application;
fig. 5 is a schematic block diagram of a control apparatus of an audio device 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 present application;
fig. 8 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Reference numerals:
111 first sound hole, 112 second sound hole, 121 third sound hole, 122 fourth sound hole, 410 intelligent power amplifier, 420 loudspeaker.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method for controlling an audio device, the device for controlling an audio device, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, a control method of an audio device is provided, where the audio device includes: a first audio playing circuit and a second audio playing circuit.
Illustratively, the first audio playback circuit acts as a left channel circuit and the second audio playback circuit acts as a right channel circuit, such that an audio device having the first audio playback circuit and the second audio playback circuit may 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 are simultaneously sounded 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 are simultaneously sounded to form the stereo effect. For example, the first sub-audio circuit may be a high frequency circuit and the second sub-audio circuit may be a low frequency circuit. The third sub-audio circuit serves as a high-frequency circuit, and the fourth sub-audio circuit serves as a low-frequency circuit.
As shown in fig. 1, the first sub-audio circuit includes: the first power amplifier unit and first speaker, the second sub-audio circuit includes: the second power amplifier unit and the second loudspeaker. The first speaker may be a tweeter, and the second speaker may be a woofer. The third sub-audio circuit includes: the third power amplifier unit and the third speaker, the fourth sub-audio circuit includes: a fourth power amplifier unit and a fourth speaker.
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 amplifier units to work through an I2C (Inter-Integrated Circuit, integrated circuit bus) module, and transmits audio data to the four power amplifier units through an I2S (Inter-IC Sound, integrated circuit built-in audio bus) module, and according to an I2S protocol, the same group of I2S modules respectively transmit left and right channel audio data of a stereo Sound source to the four power amplifier units, wherein the first power amplifier unit and the second power amplifier unit are in a group, transmit data of one channel, the third power amplifier unit and the fourth power amplifier unit are in a group, transmit data of another channel, and finally act on the four speakers to form stereo Sound effect.
As shown in fig. 2, the control method of the audio device includes:
step 202, acquiring the working state of a first audio playing circuit;
in the use process of the audio equipment, the working state of the first audio playing is detected, and whether the first audio playing circuit is abnormal or not can be determined, so that the first audio playing circuit can be timely adjusted when the first audio playing circuit is abnormal.
Step 204, when 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.
During use of the audio device, if damage to the first sub-audio circuit and/or the second sub-audio circuit is detected, adjustments to the third sub-audio circuit and/or the fourth sub-audio circuit are required.
Specifically, if the first sub-audio circuit is damaged and the second sub-audio circuit is operating normally, only one audio circuit of the left channel circuit is operating and two audio circuits of the right channel circuit are operating, which results in the problem of unbalanced sound fields of the left and right channels, and at this time, one sub-audio circuit of the second audio playing circuit needs to be deactivated. For example, the first sub-audio circuit is a high frequency circuit, and 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, which compensates the problem of damage of the first sub-audio circuit.
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, the sound effect of the first audio playing circuit is emitted through the first sound hole 111 and the second sound hole 112, and the sound effect of the second audio playing 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 all damaged, the left channel cannot work normally at this time, so that 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, both the third sub-audio circuit and the fourth sub-audio circuit are adjusted to the mono mode. In addition, after the audio device is switched to the mono playing mode, the audio data can be prevented from being lost as much as possible, and the power consumption of the audio device can be reduced.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
It should be noted that, in this embodiment, the working 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 device, the working state of the second audio circuit can be obtained, and then the first audio circuit is correspondingly adjusted.
In one possible embodiment, acquiring 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 the working state of the first audio playing circuit is obtained, the method further comprises the following steps: the controller receives the feedback signal of the second power amplification unit within a preset time period, 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 amplification unit is not received; and under the condition that the controller does not receive feedback signals of the first power amplification unit and the second power amplification unit within a preset time period, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
In this embodiment, the controller transmits audio data to the first power amplifying unit and the second power amplifying unit when the audio device is in operation. 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 duration, it is indicated that the first power amplifier unit and/or the second power amplifier unit are abnormal at present, namely, 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 be able to receive two feedback signals, that is, both the power amplifier units may transmit the feedback signals to the controller.
When the controller receives the feedback signal of the second power amplifier unit only and receives the feedback signal of the first power amplifier unit, the first sub-audio circuit comprising the first power amplifier unit is damaged, and the second sub-audio circuit comprising the second power amplifier unit works normally.
And when the controller does not receive feedback signals of the first power amplification unit and the second power amplification unit within a preset time length, the first sub-audio circuit and the second sub-audio circuit are damaged.
Whether the sub-audio circuit is damaged or not is judged by whether the feedback signal of the power amplification unit is received, so that the accuracy of the detection result is improved.
In one possible application, the controller knows whether the power amplifier unit is out of order by means of I2C module polling.
In one possible embodiment, acquiring the operating state of the first audio playback circuit includes: acquiring impedance values of a first loudspeaker and a second loudspeaker;
after the working state of the first audio playing circuit is obtained, the method further comprises the following steps: determining that the first sub-audio circuit is damaged and the second sub-audio circuit works normally 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; and under the condition that the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
In this embodiment, when the audio device is in operation, it is required to obtain the impedance values of the first speaker and the second speaker, and if the impedance value of the first speaker and/or the second speaker is greater than or equal to the set value, this indicates that an abnormality occurs in the first speaker and/or the second speaker, that is, it is determined that damage occurs in the first speaker and/or the second speaker.
Specifically, a normal speaker has an impedance value generally close to 8 ohms, and when the speaker fails, which is generally caused by the internal coil thereof being blown, the path inside the speaker corresponds to an off state after the coil is blown, so the impedance value of the speaker tends to be infinite. Based on this, the impedance value of the speaker can be detected by the power amplification unit to determine whether the speaker is damaged.
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 when the speaker 420 works, so as to obtain the impedance value of the current speaker 420. The impedance value of speaker 420 is fed back to the controller via the I2S module, and when it is detected that the impedance value of speaker 420 is equal to or greater than a set threshold, it is determined that speaker 420 is in a silent mode of failure.
It should be noted that, when the audio device works, the first power amplification unit and the second power amplification 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 damage of the first sub-audio circuit is indicated, and the second sub-audio circuit works normally.
When the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, the first sub-audio circuit and the second sub-audio circuit are damaged.
And whether the sub-audio circuit is damaged or not is judged by detecting the impedance values of the first loudspeaker and the second loudspeaker, so that the accuracy of the detection result is further improved.
In a possible embodiment, the control method further includes, in a case where the first sub-audio circuit is damaged and the second sub-audio circuit is normal: the audio parameters of the second sub-audio circuit and the fourth sub-audio circuit are adjusted.
In this embodiment, the first sub-audio circuit and the third sub-audio circuit are used as the high-frequency circuit for cooperation, and the second sub-audio circuit and the fourth sub-audio circuit are used as the low-frequency circuit for cooperation. Under the condition that the first sub-audio circuit is damaged and the second sub-audio circuit works normally, after the third sub-audio circuit is deactivated, the audio equipment loses the sound effect sent by the high-frequency circuit, and only the second sub-audio circuit and the fourth sub-audio circuit work at low frequency, so that the audio parameters of the second sub-audio circuit and the fourth sub-audio circuit are required to be adjusted, and the sound effect of the high-frequency band is compensated.
Similarly, in the case that the first sub-audio circuit is damaged and the second sub-audio circuit is operating normally, the third sub-audio circuit is disabled, and thus 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 are debugged to obtain the optimal sound effect according to different speaker collocation schemes and different speaker characteristics, for example, a scheme of collocating two low-frequency speakers, and the parameters are focused to compensate the high-frequency effect. Two tweeter schemes, the parameters focus on compensating for the low frequency effects. By the method, the optimal sound effect design can be obtained, the optimal sound effect is presented to the user, and the user satisfaction is improved.
According to the control method for the audio equipment, the execution main body can be the control device for 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 application provides a control apparatus 500 for an audio device, where the audio device includes: 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 device 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 are simultaneously sounded 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 are simultaneously sounded to form the stereo effect. For example, the first sub-audio circuit may be a high frequency circuit and the second sub-audio circuit may be a low frequency circuit. The third sub-audio circuit serves as a high-frequency circuit, and the fourth sub-audio circuit serves as a low-frequency circuit.
The control apparatus 500 of the audio device includes:
an obtaining module 510, configured to obtain an operating state of the first audio playing circuit;
the control module 520 disables the third sub-audio circuit and the fourth sub-audio circuit operates normally when 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 sound channel modes of the third sub-audio circuit and the fourth sub-audio circuit.
In this embodiment, by detecting the operation 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 as to solve the problem of pain points of unbalanced stereo fields of the audio device, and enable the stereo fields of the audio device to be balanced. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
In one 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 acquired, the acquisition module is further configured to: the controller receives the feedback signal of the second power amplification unit within a preset time period, 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 amplification unit is not received; and under the condition that the controller does not receive feedback signals of the first power amplification unit and the second power amplification unit within a preset time period, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
In one possible embodiment, the obtaining module is specifically configured to: acquiring impedance values of a first loudspeaker and a second loudspeaker; after the working state of the first audio playing circuit is acquired, the acquisition module is further configured to: determining that the first sub-audio circuit is damaged and the second sub-audio circuit works normally 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; and under the condition that the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
In one possible embodiment, the control device further comprises: 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 application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., 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 operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The shooting provided in this embodiment of the present application can implement the process implemented by the method embodiment in fig. 2, and in order to avoid repetition, details are not repeated here.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
Optionally, as shown in fig. 6, the embodiment of the present application further provides an audio device 600, including a processor 610 and a memory 620, where the memory 620 stores a program or instructions that can be executed on the processor 610, and the program or instructions implement each step of the control method embodiment of the audio device when executed by the processor 610, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 700, which includes the control device 500 of the audio device in the foregoing embodiment, or the audio device 600, where the electronic device in the present embodiment can achieve the same technical effects, and in order to avoid repetition, a description is omitted here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic hardware structure of an electronic device 800 implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 810 is configured to obtain an operating state of the first audio playing circuit; when 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 points of unbalanced stereo field of the audio equipment is solved. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
Optionally, the processor 810 transmits audio data to the first power amplifier unit and the second power amplifier unit; after acquiring the operation state of the first audio playing circuit, the processor 810 is further configured to: the method comprises the steps that under the condition that a feedback signal of a second power amplification unit is received within a preset time period and a feedback signal of a first power amplification unit is not received, the first sub-audio circuit is determined to be damaged, and the second sub-audio circuit works normally; and under the condition that feedback signals of the first power amplifier unit and the second power amplifier unit are not received within a preset time period, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
Optionally, the processor 810 is configured to obtain impedance values of the first speaker and the second speaker; after acquiring the operation state of the first audio playing circuit, the processor 810 is further configured to: determining that the first sub-audio circuit is damaged and the second sub-audio circuit works normally 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; and under the condition that the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
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 appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, with the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing device (e.g., 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. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, 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, a joystick, and so forth, which are not described in detail herein.
The memory 809 can 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 (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 809 may include volatile memory or nonvolatile memory, or the memory 809 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 809 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
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 realizes each process of the control method embodiment of the audio device, and the same technical effect can be achieved, so that repetition is avoided, and no further description is provided herein.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the control method embodiment of the audio device, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the control method embodiments of the audio device, and achieve the same technical effects, and are not repeated herein.
Through detecting the operating condition of first audio circuit, under the condition that first audio circuit has the trouble, can in time adjust second audio circuit, solve the unbalanced pain point problem of audio equipment's stereophonic field for audio equipment's stereophonic field can keep balance. Even if the sub-audio circuit is damaged, the user can continue to use the audio device, so that the use reliability of the audio device is improved, and the audio device has higher technical feasibility and mass production performance.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A control method of an audio device, characterized in that the audio device comprises: a first audio playing circuit and a second audio playing circuit, wherein 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 the first audio playing circuit;
when 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;
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, wherein the sound channel modes are mono;
the first sub-audio circuit is damaged, and the control method further comprises:
and adjusting audio parameters of the second sub-audio circuit and the fourth sub-audio circuit, wherein the audio parameters are determined according to different speaker collocation schemes and different speaker characteristics.
2. The control method of an audio device according to claim 1, characterized in that the audio device further comprises: the controller is electrically connected with 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 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 working state of the first audio playing circuit is obtained, the method further comprises the following steps:
The controller receives the feedback signal of the second power amplification unit within a preset time period, 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 amplification unit is not received;
and under the condition that the controller does not receive feedback signals of the first power amplification unit and the second power amplification unit within a preset time period, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
3. The method for controlling an audio device according to claim 1, wherein,
the audio device further includes: the controller is electrically connected with 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 the working state of the first audio playing circuit includes:
acquiring impedance values of the first loudspeaker and the second loudspeaker;
after the working state of the first audio playing circuit is obtained, the method further comprises the following steps:
determining that the first sub-audio circuit is damaged and the second sub-audio circuit works normally when the impedance value of the first speaker is larger than or equal to a set value and the impedance value of the second speaker is smaller than the set value;
And under the condition that the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
4. A control apparatus of an audio device, characterized in that the audio device comprises: a first audio playing circuit and a second audio playing circuit, wherein 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 includes:
the acquisition module is used for acquiring the working state of the first audio playing circuit;
the control module is used for disabling the third sub-audio circuit and enabling the fourth sub-audio circuit to work normally when the first sub-audio circuit is damaged and the second sub-audio circuit is normal; 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, wherein the sound channel modes are mono;
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, and the audio parameters are determined according to different speaker collocation schemes and different speaker characteristics.
5. The control device of an audio apparatus according to claim 4, wherein,
the audio device further includes: the controller is electrically connected with the first sub-audio circuit and the second sub-audio circuit; the first sub-audio circuit includes: the first power amplifier unit and first speaker, the second sub-audio circuit includes: a second power amplification unit and a second speaker;
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 working state of the first audio playing circuit is acquired, the acquiring module is further configured to: the controller receives the feedback signal of the second power amplification unit within a preset time period, 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 amplification unit is not received; and under the condition that the controller does not receive feedback signals of the first power amplification unit and the second power amplification unit within a preset time period, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
6. The control apparatus of an audio device according to claim 5, wherein,
the acquisition module is specifically configured to: acquiring impedance values of the first loudspeaker and the second loudspeaker;
after the working state of the first audio playing circuit is acquired, the acquiring module is further configured to: determining that the first sub-audio circuit is damaged and the second sub-audio circuit works normally when the impedance value of the first speaker is larger than or equal to a set value and the impedance value of the second speaker is smaller than the set value; and under the condition that the impedance values of the first loudspeaker and the second loudspeaker are larger than or equal to the set value, determining that the first sub-audio circuit and the second sub-audio circuit are damaged.
7. An audio device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of controlling an audio device as claimed in any one of claims 1 to 3.
8. An electronic device comprising the control apparatus of the audio device according to any one of claims 4 to 6, or comprising the audio device according to claim 7.
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 CN114630237A (en) 2022-06-14
CN114630237B true 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
CN114630237A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US8320586B2 (en) System and method for reducing volume spike in an electronic device
US8259956B2 (en) Information processing apparatus and information processing method
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
CN102413402A (en) Audio frequency control method of audio frequency output device and audio frequency output device
CN111179861A (en) Brightness calibration method and device, storage medium and terminal
CN103929692B (en) Audio information processing method and electronic equipment
WO2023131155A1 (en) Wireless earphone control method and apparatus, and electronic device
CN111614329B (en) Power amplifier, electronic equipment, voltage control method and device
CN108432216B (en) Volume adjustment method and device and electronic equipment
US20220132250A1 (en) Mobile Terminal and Control Method
US20240147128A1 (en) Mode control method, device for bluetooth headset, and computer readable storage medium
CN112399302B (en) Audio playing method and device of wearable audio playing device
WO2020118496A1 (en) Audio path switching method and device, readable storage medium and electronic equipment
CN114630237B (en) Audio device, control method and device thereof and electronic device
WO2023202527A1 (en) Method and apparatus for controlling power supply circuit, and electronic device and readable storage medium
TW201345277A (en) Audio player and control method thereof
CN116074679B (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
WO2020124541A1 (en) Audio processing method and apparatus, computer readable storage medium, and electronic device
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
CN114071307A (en) Earphone volume adjusting method, device, equipment and medium
CN106293660B (en) Information processing method and electronic equipment
CN112492073B (en) Audio playing method and device, storage medium and mobile terminal
KR101134773B1 (en) Apparatus and method for Outputing Audio

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