CN108566612B - Loudspeaker detection method, terminal equipment and computer storage medium - Google Patents

Loudspeaker detection method, terminal equipment and computer storage medium Download PDF

Info

Publication number
CN108566612B
CN108566612B CN201810714869.0A CN201810714869A CN108566612B CN 108566612 B CN108566612 B CN 108566612B CN 201810714869 A CN201810714869 A CN 201810714869A CN 108566612 B CN108566612 B CN 108566612B
Authority
CN
China
Prior art keywords
loudspeaker
audio source
detection
group
detected
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
CN201810714869.0A
Other languages
Chinese (zh)
Other versions
CN108566612A (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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201810714869.0A priority Critical patent/CN108566612B/en
Publication of CN108566612A publication Critical patent/CN108566612A/en
Application granted granted Critical
Publication of CN108566612B publication Critical patent/CN108566612B/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
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • H04R29/002Loudspeaker arrays

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application relates to the technical field of communication, in particular to a loudspeaker detection method, terminal equipment and a computer storage medium, which are used for detecting multiple groups of loudspeakers carried on the terminal equipment. The audio source for the detection that detects loudspeaker group and correspond is determined in this application embodiment, and control is detected loudspeaker group and is in the non-mute state, and other loudspeaker groups except that detecting loudspeaker group are in the mute state in the control N group speakers, through detecting the audio source for loudspeaker group broadcast detection. Therefore, each group of loudspeakers in the multiple groups of loudspeakers carried on the terminal equipment can be respectively detected, so that interference can be avoided, and the detection accuracy is improved.

Description

Loudspeaker detection method, terminal equipment and computer storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a loudspeaker detection method, terminal equipment and a computer storage medium.
Background
Usually, a manufacturer embeds a self-diagnosis function for sound and picture and network self-check in the smart television, and the function can enable a user to preliminarily investigate problems when the functions of sound, image, network connection and the like of the smart television are abnormal, and distinguish whether the problems are caused by a front-stage information source or a rear-stage television. Therefore, effective diagnosis information can be provided in the customer service guidance process, the probability of mistaken delivery inspection and machine withdrawal can be reduced, and the maintenance efficiency is improved.
The project of speaker diagnosis in the self-diagnosis function of the existing intelligent television can be used for a client to preliminarily check a speaker system when the television listening sense is abnormal or frequently carry out self-checking on a sound system so as to ensure that the speakers work normally and the whole system is always in the optimal state, thereby enjoying the optimal listening experience.
In recent years, with the development and popularization of large-screen smart televisions, matching the television 'sound effect' with the 'large-screen display' of the television which is changing day by day has become a requirement of consumers for a large number of television manufacturers. The conventional set of "left/right channel speakers" has been increasingly unable to meet consumer expectations and needs for product design. In order to pursue higher quality sound effects, the need to mount multiple sets of speakers has been urgent.
In summary, a speaker detection scheme is needed for detecting multiple sets of speakers mounted on a terminal device.
Disclosure of Invention
The embodiment of the application provides a loudspeaker detection method, terminal equipment and a computer storage medium, which are used for detecting a plurality of groups of loudspeakers carried on the terminal equipment.
In a first aspect, an embodiment of the present application provides a speaker detection method, where the method includes: determining one group of loudspeakers in the N groups of loudspeakers of the terminal equipment as a group of loudspeakers to be detected; n is an integer greater than 1; determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold value, and/or the time length of a signal belonging to a sounding frequency range of a loudspeaker to be detected in the audio source for detection is larger than a time length threshold value; controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state; and playing the audio source for detection through the loudspeaker group to be detected.
In a second aspect, an embodiment of the present application provides a speaker detection apparatus, including a processing unit and N groups of speakers, where: the processing unit is used for determining one group of loudspeakers in the N groups of loudspeakers of the terminal equipment as a group of loudspeakers to be detected; n is an integer greater than 1; determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold value, and/or the time length of a signal belonging to a sounding frequency range of a loudspeaker to be detected in the audio source for detection is larger than a time length threshold value; controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state; sending a detection audio source to a loudspeaker group to be detected; and the loudspeaker group to be detected is used for receiving the audio source for detection and playing the audio source for detection.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a processor, a memory, and N sets of speakers; n is an integer greater than 1; the memory is configured to store instructions, and the processor is configured to execute the instructions stored in the memory and control each of the N sets of speakers to be in a mute state or a non-mute state, and when the processor executes the instructions stored in the memory, the terminal device is configured to perform the method of the first aspect or any possible implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
The audio source for the detection that detects loudspeaker group and correspond is determined in this application embodiment, and control is detected loudspeaker group and is in the non-mute state, and other loudspeaker groups except that detecting loudspeaker group are in the mute state in the control N group speakers, through detecting the audio source for loudspeaker group broadcast detection. Therefore, each group of loudspeakers in the multiple groups of loudspeakers carried on the terminal equipment can be respectively detected, so that interference can be avoided, and the detection accuracy is improved. Further, because the amplitude of the audio source for detection is greater than the second amplitude threshold value, and/or the duration of the signal belonging to the sounding frequency band of the speaker to be detected in the audio source for detection is greater than the duration threshold value, therefore, for each group of speakers, the user can hear the sound with a greater amplitude, and/or a longer duration, so that the user can more accurately detect the speaker group to be detected according to the heard playing sound of the audio source for detection.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device applicable to the embodiment of the present application;
fig. 2 is a schematic flowchart of a speaker detection method according to an embodiment of the present disclosure;
fig. 3 is a schematic structure of a terminal device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Fig. 1 exemplarily shows a schematic structural diagram of a terminal device applicable to the embodiment of the present application, and as shown in fig. 1, the terminal device includes a main Chip (SoC) 101. The main chip 101 may be connected to one or more power amplifier chips. When there are multiple power amplifier chips, a master power amplifier chip and a slave power amplifier chip may be provided, for example, the master chip 101 shown in fig. 1 is connected to the master power amplifier chip 102, and the 1 st slave power amplifier chip 103 …, the (N-1) th slave power amplifier chip 104, respectively.
Each power amplifier chip can be connected with a group of loudspeakers, and each group of loudspeakers respectively comprises a left sound channel loudspeaker and a right sound channel loudspeaker. For example, the main power amplifier chip 102 shown in fig. 1 is connected to the group 1 speaker 105, and the group 1 speaker 105 includes two speakers, i.e., a left channel speaker 108 and a right channel speaker 109. For another example, the 1 st slave power amplifier chip 103 shown in fig. 1 is connected to the 2 nd group of speakers 106, and the 2 nd group of speakers 106 includes two speakers, which are a left channel speaker 110 and a right channel speaker 111. For example, the (N-1) th slave power amplifier chip 104 shown in fig. 1 is connected to the nth set of speakers 107, and the nth set of speakers 107 includes two speakers, namely, a left channel speaker 112 and a right channel speaker 113.
The main chip 101 in fig. 1 may receive an audio source, perform certain processing (such as surround sound effect) on the received audio source, send an external audio source to a left channel speaker connected to each power amplifier chip through a left channel audio stream 114, and send the external audio source to a right channel speaker connected to each power amplifier chip through a right channel audio stream 115. Each power amplifier chip can perform digital-to-analog conversion on the received audio source and then send the audio source to each group of loudspeakers so that the loudspeakers play the received audio source. Each power amplifier chip can determine attribute information of a loudspeaker group connected with the power amplifier chip by adopting a mode of configuring a corresponding register, such as a sound production frequency band, a sound amplification factor and the like of the loudspeaker.
Fig. 1 only illustrates a schematic diagram of a possible structure of the terminal device in the embodiment of the present application, but the terminal device in the embodiment of the present application may also have other structures, such as a group of speakers existing in the terminal device, where the group of speakers includes only one speaker.
In a particular implementation, a segment of an audio source may include a high frequency signal, an intermediate frequency signal, and a low frequency signal. For example, one possible division is to refer to signals with frequencies greater than 9kHz as high-frequency signals, signals with frequencies between 9kHz, 1.5kHz, and 9kHz to 1.5kHz as intermediate-frequency signals, and signals with frequencies below 1.5kHz as low-frequency signals. Other divisions may exist in implementations.
A plurality of groups of loudspeakers included in one terminal device can be mutually matched for use and are used for respectively playing signals of different frequency bands, so that a better sound effect is provided for a user. For example, group 1 speakers in fig. 1 may be configured as a mid-to-high speaker group, in which case group 1 speakers are used to play the mid-to-high portion of the audio source, group 2 speakers are used to play the mid-to-low portion of the audio source, group 3 speakers are used to play the subwoofer portion of the audio source, and so on.
For example, the group 1 speakers are designed to play signals above 9kHz (kilohertz), that is, the sound emission band of the left channel speaker in the group 1 speakers is above 9kHz, and the sound emission band of the right channel speaker in the group 1 speakers is above 9kHz, in which case the group 1 speakers do not emit sound when receiving signals below 9 kHz.
The terminal device in the embodiment of the application can be a device with multiple groups of speakers, such as a television, a mobile phone, an ipad, a computer and a tablet computer.
In the embodiment of the present application, a group of speakers may be referred to as a speaker group, that is, two terms, a group of speakers and a speaker group, are equivalent and may be used interchangeably.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
Based on the above, fig. 2 exemplarily illustrates a speaker detection method provided by an embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, the terminal device determines a group of speakers in N groups of speakers of the terminal device as a group of speakers to be detected, where N is an integer greater than 1.
And, step 202 and step 203 are executed for each set of speakers determined as the set of speakers to be tested.
Step 202, the terminal equipment determines a detection audio source corresponding to the loudspeaker group to be detected; and the amplitude of the audio source for detection is larger than a second amplitude threshold value, and/or the time length of a signal belonging to the sounding frequency band of the loudspeaker to be detected in the audio source for detection is larger than a time length threshold value. Therefore, the user can hear the sound with larger amplitude and/or longer duration aiming at each group of loudspeakers, so that the user can more accurately detect the loudspeaker group to be detected according to the heard playing sound of the audio source for detection.
In the embodiment of the application, the audio source for detection is an audio source used for detection, and the audio source may be an audio source preset in a storage medium of the terminal device, so that it is not necessary to additionally access other signal sources in the process of detecting by playing the audio source for detection, thereby reducing operation steps and improving detection efficiency. The audio source for detection may also be an audio source that performs a certain processing on the audio signal source of the television, for example, the audio source for detection may be an audio source that increases the amplitude of the audio signal source of the television to above the second amplitude threshold.
Step 203, the terminal device controls the to-be-detected loudspeaker group to be in a non-mute state, and controls other loudspeaker groups except the to-be-detected loudspeaker group in the N groups of loudspeakers to be in a mute state;
and step 204, the terminal equipment plays the audio source for detection through the loudspeaker group to be detected.
There is no sequence between step 202 and step 203, and there is no sequence between step 203 and step 204, for example, step 204 may be executed first, and then step 203 may be executed.
As can be seen from fig. 1, in step 204, the terminal device sends the detection audio source to each of the N groups of speakers, controls the speaker group to be detected to be in the non-mute state, and controls other speaker groups except the speaker group to be detected to be in the mute state, so that although other speaker groups also receive the detection audio source corresponding to the speaker group to be detected, because they are in the mute state, they do not make a sound, and therefore do not interfere with the detection of the user, and therefore the occurrence of a misjudgment situation can be avoided, and thus the user can more accurately determine the speaker that has a fault. Furthermore, the embodiment of the application is suitable for the user to carry out preliminary detection on the working state of the loudspeaker when the terminal equipment is abnormal, and the after-sale maintenance efficiency of products can be improved. Furthermore, the embodiment of the application is also suitable for daily self-checking of the user on the sound system, and the experience of the user on the high-quality sound effect can be improved.
In the embodiment of the present application, optionally, each of the N sets of speakers includes a left channel speaker and a right channel speaker. In step 204, the left channel speaker and the right channel speaker in the set of speakers may be further detected separately. Specifically, optionally, if a first channel speaker of the speaker group to be detected needs to be detected, sending an audio source for detection to the first channel speaker of each of the N groups of speakers; and:
disabling transmission of the audio source to the second channel speaker of each of the N sets of speakers; or adjusting the amplitude of the audio source for detection to be below a first amplitude threshold value, and sending the audio source for detection, the amplitude of which is adjusted to be below the first amplitude threshold value, to the second channel loudspeaker of each group of loudspeakers in the N groups of loudspeakers; the first amplitude threshold is not greater than the second amplitude threshold;
if the first sound channel loudspeaker is a left sound channel loudspeaker, the second sound channel loudspeaker is a right sound channel loudspeaker; if the first channel speaker is a right channel speaker, the second channel speaker is a left channel speaker.
Explaining in combination with the above fig. 1, according to the above scheme, when the left channel speaker of the speaker group to be detected is operated, the audio source can be prohibited from being sent to the right channel speaker of each group of speakers in the N groups of speakers, so that the right channel speaker of the speaker group to be detected does not make a sound, and thus the interference caused by the detection process of the left channel speaker of the speaker group to be detected can be avoided.
Or, when the left channel speaker of the speaker group to be detected is processed, the audio source for detection whose amplitude is adjusted to be smaller than the first amplitude threshold value can be sent to the right channel speaker of each group of speakers in the N groups of speakers, and the sound emitted by the right channel speaker of the speaker group to be detected is small, so that the interference caused by the detection process of the left channel speaker of the speaker group to be detected can be avoided. When the right channel speaker of the speaker to be detected is operated, the process is the same as the above, and is not repeated.
In specific implementation, the embodiment of the application can be applied to user self-checking. Before the step 201, in an optional implementation manner, a user may enable the terminal device to enter a self-test process of the speaker through interaction with the terminal device.
Before entering the loudspeaker self-test flow, all loudspeaker groups in the terminal equipment are in a non-mute (un-mute) state. The fact that the group of loudspeakers mentioned in the embodiment of the application are in the mute state means that the group of loudspeakers do not make sound when receiving signals belonging to the sounding frequency band of the group of loudspeakers, and the fact that the group of loudspeakers mentioned in the embodiment of the application are in the non-mute state means that the group of loudspeakers make sound when receiving signals belonging to the sounding frequency band of the group of loudspeakers. If the terminal device is a television, the user may control the television through a remote controller, a mobile phone, an ipad, a tablet computer, and the like.
In an alternative embodiment, the user makes a selection of an operation command on the screen of the terminal device through the remote controller (e.g., selects a "speaker self-test" button on the user interface). Or the user enters the corresponding operation interface by pressing a certain designated key of the remote controller, for example, a button may be preset on the remote controller, and the terminal device enters the "speaker self-check" process when the user presses the button, optionally, prompt information of the button of the remote controller and the corresponding operation interface may be given on the user interface, for example, a prompt "press an OK key on the remote controller to enter the" speaker self-check "process is prompted on the user interface. And if the user selects to enter the loudspeaker self-checking process. After entering the speaker self-checking process, the user interface of the terminal device may give a prompt, such as a prompt "detect the main power amplifier chip-left channel speaker", and play the audio source for detection corresponding to the speaker connected to the "main power amplifier chip", while other players are in a mute state. Alternatively, since only the left channel is detected in this case, the right channel audio stream may be disabled by the main chip or the amplitude of the right channel audio stream may be reduced below the first amplitude threshold so that the "main power chip-right channel speaker" does not emit sound or emits a smaller sound to avoid interfering with the user's detection process of the "main power chip-left channel speaker".
Further, after the detection of "main power amplifier chip-left channel speaker" is finished, the user interface of the terminal device may prompt the client to "whether to hear the big and clear sound of main power amplifier chip-left channel speaker? ". The customer may continue to select the "self-test" button to test for the next speaker (e.g., "main power amplifier chip-right channel speaker") based on the test results. The detection process may also be exited immediately upon selection of the "end" button due to an anomaly. Or after the N groups of speakers are completely detected, an end button can be selected to immediately quit the detection process, and a self-detection button is continuously triggered to perform the cycle detection on the N groups of speakers again. The scheme provided by the embodiment of the application can adopt a self-checking button on a user interface or a remote controller test key as a trigger mechanism, trigger and detect circularly for multiple times, is convenient for a user to operate, and can save resources due to the simple operation process.
The sorting relation of the N groups of loudspeakers can be prestored in the terminal equipment, or the user can select the loudspeaker group which needs to be detected currently.
Before the step 201, in an optional implementation manner, after the terminal device enters the self-test procedure, a sound effect, such as surround sound (surround), may be turned off. These effects may cause crosstalk problems in the left and right channels, and thus turning off the effects may further improve the detection effect. For example, the sound effect function on the main chip 101 may be turned off as described with reference to fig. 1.
In step 202, the audio source that satisfies that the time length of the signal belonging to the sounding frequency band of the speaker to be detected is greater than the time length threshold is an audio source that satisfies any one of the following conditions:
frequency sweeping;
audio sources with the total duration of signals belonging to the sounding frequency band being greater than the duration threshold;
audio sources of which the duration of a continuous section of signals belonging to the sounding frequency band is greater than a duration threshold;
the audio source is characterized in that the total duration of signals belonging to the sounding frequency band is greater than a duration threshold, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than a ratio threshold;
and the audio source is characterized in that the duration of a continuous section of signals belonging to the sounding frequency band is greater than a duration threshold, and the occupation ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than an occupation ratio threshold.
In the step 202, in an optional implementation manner, the detection audio source corresponding to the speaker group to be detected may be determined according to a preset association relationship, for example, the detection audio source corresponding to each group of speakers may be preset, for example, the association relationship between the speakers determined as the speaker group to be detected and the sweep tone may be preset, and the detection audio source corresponding to the speaker group is the sweep tone.
In another optional embodiment, the audio source for detection corresponding to the group of speakers to be detected may also be determined according to the attribute information of the group of speakers to be detected.
The attribute information of the to-be-detected loudspeaker group may include the sound emission frequency band of the loudspeaker group, for example, when a group of loudspeakers is determined to be the to-be-detected loudspeaker group, an audio source, in which the proportion of the signal belonging to the sound emission frequency band of the to-be-detected loudspeaker group is greater than the proportion threshold, may be used as the detection audio source of the to-be-detected loudspeaker group. For example, the occupancy threshold may be set to 60%, and the occupancy of the signals belonging to the sounding frequency band in the audio source for detection for 60 seconds is greater than 60%, such as 100% (i.e., all the signals belonging to the sounding frequency band for 60 seconds of the audio source for detection), 70% (i.e., 70% of the signals belonging to the sounding frequency band for 60 seconds of the audio source for detection), and so on.
For another example, if the attribute information of the to-be-detected speaker group includes the sound emission frequency band of the speaker group, the audio source whose total duration of the signal belonging to the sound emission frequency band is greater than the duration threshold may be used as the detection audio source of the to-be-detected speaker group. For example, the duration threshold may be set to 90 seconds, and a detection audio source with a duration of 2 minutes may be continuous or discontinuous for all signals belonging to the sounding frequency band, but the total duration of the signals belonging to the sounding frequency band in the detection audio source needs to be greater than 90 seconds, such as 100 seconds, 120 seconds, and the like.
For another example, if the attribute information of the to-be-detected speaker group includes the sound emission frequency band of the speaker group, the audio source with the duration of the continuous signal segment belonging to the sound emission frequency band being greater than the duration threshold may be used as the detection audio source of the to-be-detected speaker group. For example, the duration threshold may be set to 70 seconds, for example, a detection audio source with a duration of 2 minutes, in which there exists a continuous signal belonging to the sounding frequency band, and the duration of the continuous signal is greater than 70 seconds, for example, 80 seconds, 120 seconds, and so on.
The above-mentioned condition of waiting to detect the audio source for detection that loudspeaker set corresponds can make up the use, for example, if the attribute information that detects loudspeaker set includes the vocal frequency range of this loudspeaker set, then can be greater than the total duration of the signal that belongs to the vocal frequency range long enough for time threshold value, and belong to the audio source that accounts for more than the ratio threshold value of the signal of the vocal frequency range of waiting to detect loudspeaker set as this audio source for detection that detects loudspeaker set. For another example, if the attribute information of the to-be-detected speaker group includes the sound emission frequency band of the speaker group, an audio source, which can belong to a continuous section of the sound emission frequency band and has a duration greater than the duration threshold and a ratio of the signal belonging to the sound emission frequency band of the to-be-detected speaker group greater than the ratio threshold, is used as the detection audio source of the to-be-detected speaker group. Other combinations are not illustrated.
In a specific implementation, the detection audio source can be flexibly selected for each group of speakers, and in an optional implementation, two detection audio sources corresponding to any two groups of speakers in the N groups of speakers are the same.
For example, the sweep frequency sound is used as the audio source for detection corresponding to each group of speakers in all speakers. Therefore, as the sweep frequency sound comprises all frequency bands, when each group of loudspeakers is detected, a user can hear the sound with longer time, and then the loudspeakers can be judged according to the heard sound.
For another example, a section of pre-configured audio sources covering all sound emission frequency bands of the N groups of speakers is used as the audio source for detection corresponding to each group of speakers in all speakers, and the amplitude value of the audio source is greater than the second amplitude threshold. In this way, since the amplitude value of the audio source for detection is increased, even if the proportion of the signal belonging to the sound emission band of the speaker group to be detected is small, the user can hear the sound with a large volume, so that the speaker can be evaluated according to the heard sound.
For another example, the audio source of the television signal that is subjected to a certain operation (for example, increasing the amplitude of the audio source of the television signal to be higher than the second amplitude threshold) is used as the detection audio source corresponding to each set of speakers in all sets of speakers. Therefore, the audio source for detection does not need to be configured, so that the occupation of the storage space is reduced, and because the amplitude value of the audio source for detection is increased, even if the occupation ratio of the signal of the sound production frequency band of the speaker group to be detected is less, the user can also hear the sound with larger volume, so that the speaker can be judged according to the heard sound.
In another alternative embodiment, there are at least two groups of speakers in the N groups of speakers, and the two detection audio sources corresponding to the two groups of speakers are different. For example, configuring the detection audio source for each group of speakers according to the sound emission frequency band of each group of speakers, such as for each speaker group serving as the speaker group to be detected in the above content, using the audio source, which belongs to the sound emission frequency band and has a duration of a continuous segment of the signal greater than a duration threshold, as the detection audio source corresponding to the speaker group to be detected. Therefore, the audio sources for detection which are more matched with the sounding frequency bands of the group of loudspeakers can be respectively configured for each group of loudspeakers, and therefore a user can judge each group of loudspeakers more accurately.
Based on the same concept, fig. 3 exemplarily shows a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 3, a terminal device 300 may be used to execute any of the schemes shown in fig. 2. The terminal device 300 comprises a processing unit 301 and N sets of loudspeakers 302. The N sets of speakers may be the 1 st set of speakers 105, the 2 nd set of speakers 106 …, the nth set of speakers 107 described above in fig. 1.
A processing unit 301, configured to determine a group of speakers in N groups of speakers of the terminal device as a group of speakers to be detected; n is an integer greater than 1; determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold value, and/or the time length of a signal belonging to a sounding frequency range of a loudspeaker to be detected in the audio source for detection is larger than a time length threshold value; controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state; sending a detection audio source to a loudspeaker group to be detected; and the loudspeaker group to be detected is used for receiving the audio source for detection and playing the audio source for detection.
In an alternative embodiment, each of the N sets of speakers includes a left channel speaker and a right channel speaker; the processing unit 301 is specifically configured to: if the first sound channel loudspeaker of the loudspeaker group to be detected needs to be detected, sending a detection audio source to the first sound channel loudspeaker of each loudspeaker group in the N groups of loudspeakers; and refraining from transmitting the audio source to the second channel speaker of each of the N sets of speakers. Correspondingly, the first channel speaker of each of the N sets of speakers is configured to: receiving a detection audio source; a first channel speaker of the group of speakers to be tested, for: an audio source for playback detection.
In another optional implementation, the processing unit 301 is specifically configured to: if the first sound channel loudspeaker of the loudspeaker group to be detected needs to be detected, sending a detection audio source to the first sound channel loudspeaker of each loudspeaker group in the N groups of loudspeakers; and: adjusting the amplitude of the audio source for detection to be below a first amplitude threshold value, and sending the audio source for detection, the amplitude of which is adjusted to be below the first amplitude threshold value, to the second channel loudspeaker of each group of loudspeakers in the N groups of loudspeakers; the first amplitude threshold is not greater than the second amplitude threshold;
correspondingly, the first channel speaker of each of the N sets of speakers is configured to: receiving a detection audio source; a first channel speaker of the group of speakers to be tested, for: an audio source for playback detection;
when the processing unit 301 sends the audio source for detection whose amplitude is adjusted to be lower than the first amplitude threshold value to the second channel speaker of each of the N sets of speakers, the second channel speaker of each of the N sets of speakers is configured to receive the audio source for detection whose amplitude is adjusted to be lower than the first amplitude threshold value; a second channel speaker of the group of speakers to be detected, for detecting an audio source whose amplitude is adjusted below a first amplitude threshold;
if the first sound channel loudspeaker is a left sound channel loudspeaker, the second sound channel loudspeaker is a right sound channel loudspeaker; if the first channel speaker is a right channel speaker, the second channel speaker is a left channel speaker.
In an alternative embodiment, two detection audio sources corresponding to any two groups of the N groups of speakers are the same; or; at least two groups of loudspeakers exist in the N groups of loudspeakers, and two detection audio sources corresponding to the two groups of loudspeakers are different.
In an optional embodiment, an audio source that satisfies that the time length of a signal belonging to the sounding frequency band of the speaker to be detected is greater than the time length threshold is an audio source that satisfies any one of the following conditions: frequency sweeping; audio sources with the total duration of signals belonging to the sounding frequency band being greater than the duration threshold; audio sources of which the duration of a continuous section of signals belonging to the sounding frequency band is greater than a duration threshold; the audio source is characterized in that the total duration of signals belonging to the sounding frequency band is greater than a duration threshold, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than a ratio threshold; and the audio source is characterized in that the duration of a continuous section of signals belonging to the sounding frequency band is greater than a duration threshold, and the occupation ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than an occupation ratio threshold.
It should be understood that the above division of the units is only a division of logical functions, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. In this embodiment, the processing unit 301 may be implemented by the processor 401 in fig. 4 described below.
Based on the same concept, fig. 4 exemplarily shows a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 4, the terminal device 400 may be configured to execute any of the schemes shown in fig. 2. The terminal device 400 includes a processor 401 and N sets of speakers 402. The N sets of speakers may be the 1 st set of speakers 105, the 2 nd set of speakers 106 …, the nth set of speakers 107 described above in fig. 1. Optionally, the terminal device 400 may further include a memory 403.
The memory 403 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile) such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 403 may also comprise a combination of the above-mentioned kinds of memories.
Processor 401 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor 401 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 403 may also be used to store program instructions, and the processor 401 may call the program instructions stored in the memory 403, and may perform one or more steps in the embodiment shown in the above scheme (such as the method shown in fig. 2), or an optional implementation thereof, so that the terminal device 400 implements the functions of the terminal device in the above method.
The processor 401 is configured to control each of the N sets of speakers 402 to be in a mute state or a non-mute state according to instructions stored in the execution memory, and when the processor executes the instructions stored in the execution memory, the terminal device 400 is configured to:
determining one group of loudspeakers in the N groups of loudspeakers of the terminal equipment as a group of loudspeakers to be detected; n is an integer greater than 1; determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold value, and/or the time length of a signal belonging to a sounding frequency range of a loudspeaker to be detected in the audio source for detection is larger than a time length threshold value; controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state; sending a detection audio source to a loudspeaker group to be detected; and the loudspeaker group to be detected is used for receiving the audio source for detection and playing the audio source for detection.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware or any combination thereof, and when the implementation is realized by a software program, all or part of the implementation may be realized in the form of a computer program product. The computer program product includes one or more instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The instructions may be stored in or transmitted from one computer storage medium to another, for example, instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer storage medium may be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., a flexible Disk, a hard Disk, a magnetic tape, a magneto-optical Disk (MO), etc.), an optical medium (e.g., a CD, a DVD, a BD, an HVD, etc.), or a semiconductor medium (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile memory (NAND FLASH), a Solid State Disk (SSD)), etc.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (10)

1. A method for speaker detection, comprising:
determining one group of loudspeakers in the N groups of loudspeakers of the terminal equipment as a group of loudspeakers to be detected; n is an integer greater than 1; the N groups of loudspeakers are used for respectively playing signals of different sound production frequency bands, and each group of loudspeakers in the N groups of loudspeakers comprises a left sound channel loudspeaker and a right sound channel loudspeaker;
determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold, and/or the time length of a signal belonging to the sounding frequency band of the loudspeaker to be detected in the audio source for detection is larger than a time length threshold;
controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state;
and playing the audio source for detection through the loudspeaker group to be detected.
2. The method of claim 1, wherein said playing said audio source for detection by said set of speakers to be detected comprises:
if the first sound channel loudspeaker of the loudspeaker group to be detected needs to be detected, sending the audio source for detection to the first sound channel loudspeaker of each loudspeaker group in the N groups of loudspeakers; and:
disabling transmission of an audio source to a second channel speaker of each of the N sets of speakers; or, adjusting the amplitude of the audio source for detection to be below a first amplitude threshold value, and sending the audio source for detection, the amplitude of which is adjusted to be below the first amplitude threshold value, to the second channel speaker of each of the N groups of speakers; the first amplitude threshold is not greater than the second amplitude threshold;
if the first sound channel loudspeaker is a left sound channel loudspeaker, the second sound channel loudspeaker is a right sound channel loudspeaker; if the first channel speaker is a right channel speaker, the second channel speaker is a left channel speaker.
3. The method of claim 1, wherein two sources of detection audio for any two of the N sets of speakers are the same; or;
at least two groups of loudspeakers exist in the N groups of loudspeakers, and two audio sources for detection corresponding to the two groups of loudspeakers are different.
4. The method of claim 1, wherein an audio source that satisfies that the time length of a signal belonging to the sound emission band of the speaker to be detected is greater than a time length threshold is an audio source that satisfies any one of the following conditions:
frequency sweeping;
audio sources for which the total duration of signals belonging to the voicing frequency band is greater than the duration threshold;
the audio source of which the time length of the continuous section of signals belonging to the sounding frequency band is greater than the time length threshold value;
the total duration of the signals belonging to the sounding frequency band is greater than the duration threshold, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than the ratio threshold;
and the time length of the continuous section of signals belonging to the sounding frequency band is greater than the time length threshold value, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than the ratio threshold value.
5. A terminal device, comprising a processing unit and N sets of loudspeakers, wherein:
the processing unit is used for determining one group of loudspeakers in the N groups of loudspeakers of the terminal equipment as a group of loudspeakers to be detected; n is an integer greater than 1; the N groups of loudspeakers are used for respectively playing signals of different sound production frequency bands, and each group of loudspeakers in the N groups of loudspeakers comprises a left sound channel loudspeaker and a right sound channel loudspeaker; determining a detection audio source corresponding to the loudspeaker group to be detected; the amplitude of the audio source for detection is larger than a second amplitude threshold, and/or the time length of a signal belonging to the sounding frequency band of the loudspeaker to be detected in the audio source for detection is larger than a time length threshold; controlling the loudspeaker group to be detected to be in a non-mute state, and controlling other loudspeaker groups except the loudspeaker group to be detected in the N groups of loudspeakers to be in a mute state; sending the audio source for detection to the loudspeaker group to be detected;
and the loudspeaker group to be detected is used for receiving the audio source for detection and playing the audio source for detection.
6. The terminal device of claim 5, wherein the processing unit is specifically configured to: if the first sound channel loudspeaker of the loudspeaker group to be detected needs to be detected, sending the audio source for detection to the first sound channel loudspeaker of each loudspeaker group in the N groups of loudspeakers; and:
disabling transmission of an audio source to a second channel speaker of each of the N sets of speakers; or, adjusting the amplitude of the audio source for detection to be below a first amplitude threshold value, and sending the audio source for detection, the amplitude of which is adjusted to be below the first amplitude threshold value, to the second channel speaker of each of the N groups of speakers; the first amplitude threshold is not greater than the second amplitude threshold;
a first channel speaker of each of the N sets of speakers, configured to: receiving the audio source for detection;
the first sound channel loudspeaker of the group of loudspeakers to be detected is used for: playing the audio source for detection;
the second channel speaker of each of the N sets of speakers for receiving the detection audio source having the amplitude adjusted below the first amplitude threshold in a case where the second channel speaker of each of the N sets of speakers transmits the detection audio source having the amplitude adjusted below the first amplitude threshold; a second channel speaker of the group of speakers to be detected, configured to detect an audio source whose amplitude is adjusted to be below the first amplitude threshold;
if the first sound channel loudspeaker is a left sound channel loudspeaker, the second sound channel loudspeaker is a right sound channel loudspeaker; if the first channel speaker is a right channel speaker, the second channel speaker is a left channel speaker.
7. The terminal device of claim 5, wherein two detection audio sources corresponding to any two of the N sets of speakers are the same; or;
at least two groups of loudspeakers exist in the N groups of loudspeakers, and two audio sources for detection corresponding to the two groups of loudspeakers are different.
8. The terminal device according to claim 5, wherein an audio source that satisfies that the time length of a signal belonging to the sound emission band of the speaker to be detected is greater than a time length threshold is an audio source that satisfies any one of the following conditions:
frequency sweeping;
audio sources for which the total duration of signals belonging to the voicing frequency band is greater than the duration threshold;
the audio source of which the time length of the continuous section of signals belonging to the sounding frequency band is greater than the time length threshold value;
the total duration of the signals belonging to the sounding frequency band is greater than the duration threshold, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than the ratio threshold;
and the time length of the continuous section of signals belonging to the sounding frequency band is greater than the time length threshold value, and the ratio of the signals belonging to the sounding frequency band of the loudspeaker group to be detected is greater than the ratio threshold value.
9. A terminal device, characterized in that the terminal device comprises a processor and a memory and N sets of loudspeakers; n is an integer greater than 1;
the memory is used for storing instructions, the processor is used for executing the instructions stored by the memory and controlling each group of the N groups of loudspeakers to be in a mute state or a non-mute state, and when the processor executes the instructions stored by the memory, the terminal equipment is used for executing the method according to any one of claims 1 to 4.
10. A computer storage medium having stored thereon computer-executable instructions which, when invoked by a computer, cause the computer to perform the method of any of claims 1 to 4.
CN201810714869.0A 2018-06-29 2018-06-29 Loudspeaker detection method, terminal equipment and computer storage medium Active CN108566612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810714869.0A CN108566612B (en) 2018-06-29 2018-06-29 Loudspeaker detection method, terminal equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810714869.0A CN108566612B (en) 2018-06-29 2018-06-29 Loudspeaker detection method, terminal equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN108566612A CN108566612A (en) 2018-09-21
CN108566612B true CN108566612B (en) 2020-09-25

Family

ID=63555054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810714869.0A Active CN108566612B (en) 2018-06-29 2018-06-29 Loudspeaker detection method, terminal equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN108566612B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636432A (en) * 2019-09-29 2019-12-31 深圳市火乐科技发展有限公司 Microphone testing method and related equipment
CN113518287B (en) * 2021-07-14 2023-04-25 歌尔科技有限公司 Device state adjusting method, terminal device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009954A (en) * 2006-01-23 2007-08-01 索尼株式会社 Audio reproducing apparatus and method
CN101374374A (en) * 2007-08-24 2009-02-25 鹏智科技(深圳)有限公司 Audio test device and method
CN102014333A (en) * 2009-09-04 2011-04-13 鸿富锦精密工业(深圳)有限公司 Test method for sound system of computer
CN203289541U (en) * 2013-04-27 2013-11-13 惠州市新太阳实业有限公司 Multi-channel television DVD integrated machine
CN105635925A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Mobile terminal audio test method, system and audio test interface adapter
CN105788611A (en) * 2016-02-25 2016-07-20 成都普创通信技术股份有限公司 Audio quality online monitoring system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO320942B1 (en) * 2003-12-23 2006-02-13 Tandberg Telecom As System and method for improved stereo sound
FI122089B (en) * 2006-03-28 2011-08-15 Genelec Oy Calibration method and equipment for the audio system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009954A (en) * 2006-01-23 2007-08-01 索尼株式会社 Audio reproducing apparatus and method
CN101374374A (en) * 2007-08-24 2009-02-25 鹏智科技(深圳)有限公司 Audio test device and method
CN102014333A (en) * 2009-09-04 2011-04-13 鸿富锦精密工业(深圳)有限公司 Test method for sound system of computer
CN203289541U (en) * 2013-04-27 2013-11-13 惠州市新太阳实业有限公司 Multi-channel television DVD integrated machine
CN105635925A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Mobile terminal audio test method, system and audio test interface adapter
CN105788611A (en) * 2016-02-25 2016-07-20 成都普创通信技术股份有限公司 Audio quality online monitoring system

Also Published As

Publication number Publication date
CN108566612A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN1777338B (en) Method and apparatus for automatically setting speaker mode in audio/video system
CN103297909B (en) A kind of earphone method of testing and device
CN104349090A (en) System for tuning audio processing features and method thereof
US20190012134A1 (en) Audio playing method,apparatus, device and server
JP5703303B2 (en) RF configuration self-discovery for wireless systems
CN108566612B (en) Loudspeaker detection method, terminal equipment and computer storage medium
US20190191017A1 (en) Adaptive multi-protocol control of a media device
CN108347686A (en) Audio testing method and device, intelligent equipment and storage medium
CN102413402A (en) Audio frequency control method of audio frequency output device and audio frequency output device
US20230114496A1 (en) Systems and methods for facilitating configuration of an audio system
CN102867525A (en) Multi-channel audio processing method, audio playback terminal and audio receiving device
CN103905925A (en) Method and terminal for repeatedly playing program
US8027645B2 (en) Systems and methods for automatically tuning a frequency modulator in a mobile device
CN112533188B (en) Output processing method and device of play source
US11122160B1 (en) Detecting and correcting audio echo
CN108260065B (en) Television loudspeaker playing function online detection method and device
CN109195072B (en) Audio playing control system and method based on automobile
US20070082687A1 (en) Station selecting transmitter
US9654891B2 (en) System and method for determining proximity of a controller to a media rendering device
CN105704643B (en) System for optimizing Bluetooth stream and method for optimizing Bluetooth stream
KR101500083B1 (en) Diagnostic method for multimedia device of vehicle
KR102245742B1 (en) Uninterrupted audio device using real-time audio amplifier detector technology
US20180218744A1 (en) Auto-mute audio processing
CN104637480A (en) voice recognition control method, device and system
JP4418582B2 (en) Receiver for radio broadcast programs transmitted in analog and digital

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
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221017

Address after: 83 Intekte Street, Devon, Netherlands

Patentee after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266555, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: Hisense Visual Technology Co., Ltd.

TR01 Transfer of patent right