CN115550826A - MIC array detection and analysis method, device, equipment and storage medium - Google Patents
MIC array detection and analysis method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115550826A CN115550826A CN202210844104.5A CN202210844104A CN115550826A CN 115550826 A CN115550826 A CN 115550826A CN 202210844104 A CN202210844104 A CN 202210844104A CN 115550826 A CN115550826 A CN 115550826A
- Authority
- CN
- China
- Prior art keywords
- mic array
- detected
- item
- audio file
- detection
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
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)
- Debugging And Monitoring (AREA)
Abstract
The application relates to a detection and analysis method, a device, equipment and a storage medium of an MIC array. The method comprises the following steps: the method comprises the steps of reading attribute information of the electronic equipment, receiving a selection instruction initiated by a user based on the attribute information, configuring at least one item to be detected of an MIC array of the electronic equipment according to the selection instruction, detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array, and analyzing the detection audio file to obtain an analysis result of the MIC array. The detection process is simple and easy to execute, a professional engineer is not required to use a serial port command to realize recording, and the universality is high.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting and analyzing an MIC array.
Background
Currently, for admission detection analysis of MIC arrays in the industry, a common method is to perform independent detection on each hardware platform and a prototype, and current admission detection analysis of MIC arrays can only be performed by engineers with professional backgrounds.
Therefore, it is an urgent technical problem to be solved by those skilled in the art to provide a highly versatile MIC array detection and analysis method.
Disclosure of Invention
In view of the foregoing, the present application provides a method, an apparatus, a device and a storage medium for MIC array detection and analysis, and aims to provide a highly versatile MIC array detection and analysis method.
In a first aspect, the present application provides a method for detecting and analyzing a MIC array, applied to an electronic device, the method including:
reading attribute information of the electronic equipment, and receiving a selection instruction initiated by a user based on the attribute information;
configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
and analyzing the detected audio file to obtain an analysis result of the MIC array.
Preferably, the configuring, according to the selection instruction, at least one item to be tested of the MIC array of the electronic device comprises:
if the selection instruction is a first instruction, configuring all detection items as to-be-detected items of the MIC array;
and if the selection instruction is a second instruction, taking the detection item selected by the user on the human-computer interaction interface as the item to be detected of the MIC array.
Preferably, before the MIC array is tested according to the items to be tested, the method further comprises:
and setting the volume of the electronic equipment to be a preset volume value.
Preferably, after obtaining at least one test audio file for a MIC array, the method further comprises:
and packaging each detected audio file.
Preferably, before analyzing the detected audio file, the method further comprises:
and transmitting the detection audio file to a cloud platform, and/or storing the detection audio file to a preset storage path of the electronic equipment.
Preferably, the detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array includes:
a1, acquiring audio to be played corresponding to the item to be detected;
a2, playing the audio to be played corresponding to the item to be detected, and controlling the MIC array to record the audio to be played;
a3, after the corresponding audio playing of the item to be detected is finished, saving the recorded audio file according to the name of the item to be detected;
and repeating the steps A1-A3 until the audio file corresponding to each item to be detected is stored, and taking the stored audio file as the detection audio file.
Preferably, the analyzing the detection audio file to obtain an analysis result of the MIC array includes:
acquiring index data of the detected audio file;
analyzing the index data according to a preset expected value to obtain an analysis result of each item to be detected;
and summarizing the analysis result of each item to be detected to obtain the analysis result of the MIC array.
In a second aspect, the present application provides an apparatus for testing an MIC array, comprising:
a receiving module: the electronic equipment is used for reading the attribute information of the electronic equipment and receiving a selection instruction initiated by a user based on the attribute information;
a configuration module: the electronic equipment is used for configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
a detection module: the method comprises the steps of detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
an analysis module: and the method is used for analyzing the detection audio file to obtain the analysis result of the MIC array.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor, configured to execute the program stored in the memory, to implement the steps of the method for performing a test analysis of a MIC array according to any one of the embodiments of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of a method of test analysis of a MIC array as claimed in any one of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the application provides a detection and analysis method, device, equipment and storage medium of MIC array, through reading electronic equipment's attribute information, receive the selection instruction that the user launched based on attribute information, treat the project according to selection instruction configuration electronic equipment's MIC array, it can be according to actual demand configuration to specifically treat the project and detect the sound source and can replace and newly-add, detect the MIC array according to treating the project and detect, carry out the analysis after obtaining the detection audio file of MIC array, can obtain the analysis result of MIC array, the testing process is simple and easy to carry out, do not need professional engineer to use serial ports order to realize the recording, the commonality is strong.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flow chart illustrating a preferred embodiment of a method for detecting and analyzing a MIC array according to the present invention;
FIG. 2 is a block diagram of a preferred embodiment of an apparatus for testing and analyzing a MIC array according to the present invention;
FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the present application;
the implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope claimed in the present application.
The application provides a detection and analysis method of an MIC array. Referring to fig. 1, a schematic flow chart of a method according to an embodiment of the MIC array detection and analysis method of the present application is shown. The method may be performed by an electronic device, which may be implemented by software and/or hardware. The detection and analysis method of the MIC array comprises the following steps:
step S10: reading attribute information of the electronic equipment, and receiving a selection instruction initiated by a user based on the attribute information;
step S20: configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
step S30: detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
step S40: and analyzing the detected audio file to obtain an analysis result of the MIC array.
An electronic device may refer to a device having a MIC array, e.g., a smart television, a cell phone, a computer, etc. MIC Array refers to a Microphone Array (Microphone Array) consisting of a number of acoustic sensors, and is a system for sampling and processing the spatial characteristics of a sound field. The application scenario of the present disclosure may be to perform detection and analysis on a MIC array of an electronic device (e.g., a smart television) in a development stage of the electronic device, and perform detection and analysis on the MIC array of the electronic device by installing a detection and analysis program of the MIC array in the electronic device.
Specifically, a program for starting detection analysis of the MIC array may be started using a remote controller, a touch button, or the like, the program reads attribute information of the electronic device, and the attribute information may refer to local information of the electronic device, such as a model of the local device, a system version of the local device, platform information, and the like. After a user (e.g., a tester) reads the local information from the program, a selection instruction may be initiated according to the local information to configure an item to be tested of the MIC array, for example, after the user knows the attribute information of the electronic device through a human-computer interaction interface of the electronic device, the user may configure a corresponding item to be tested for the MIC array through the human-computer interaction interface according to a testing requirement.
It is understood that the MIC array may be configured with all the items to be detected, or may select a certain number of the items to be detected according to actual situations. The items to be detected can be detected amplitude, detected frequency characteristics, detected phase characteristics, detected signal-to-noise ratio, detected spectrum characteristics, detected frame data and the like, and can be respectively detected through one or more audio to be played, namely the items which can detect the MIC array are recorded through the MIC array, and the audio to be played can be the audio stored in the electronic equipment or the audio led into the electronic equipment by a user. Because the user can import the audio according to the actual detection requirement, the audio can be iterated, the user can quickly import new audio, and the audio to be played can be stored in a local hard disk of the electronic equipment.
After the items to be detected of the MIC array are configured, the MIC array can be detected according to the configured items to be detected, each item to be detected corresponds to one or more audios to be played, the audio to be played of each item to be detected is recorded by the MIC array and can be used as a detection audio file, and after a plurality of items to be detected are executed, at least one detection audio file of the MIC array can be obtained. Further, the audio corresponding to the item to be detected can be played in a single cycle or multiple cycles for recording by the MIC array.
The detected index data can be obtained by analyzing and detecting the audio file, the index data comprises amplitude, frequency characteristics, phase characteristics, signal-to-noise ratio, spectral characteristics, frame data and the like, and the index data is comprehensively analyzed to obtain an analysis result of the MIC array, namely a performance analysis result of the MIC array. For example, if all of the data in the index data meets the expectation, the MIC array is determined to pass the test requirement, and if all of the data in the index data does not meet the expectation, the MIC array is determined to fail the test requirement.
This application is through reading electronic equipment's attribute information, receive the selection instruction that the user initiated based on attribute information, treat the project according to what selection instruction configuration electronic equipment's MIC array was treated, it can be configured according to actual demand specifically to treat the project, and it can replace and newly-increase to detect the sound source, treat the project and detect the MIC array according to treating, carry out the analysis after obtaining the detection audio file of MIC array, can obtain the analysis result of MIC array, the testing process is simple and easy to carry out, need not use the serial ports order by software engineer to realize the recording.
In one embodiment, the configuring of at least one item to be tested of the MIC array of the electronic device according to the selection instruction includes:
if the selection instruction is a first instruction, configuring all detection items as to-be-detected items of the MIC array;
and if the selection instruction is a second instruction, taking the detection item selected by the user on the human-computer interaction interface as the item to be detected of the MIC array.
When configuring items to be detected of the MIC array, the initial configuration interface may display a default configuration, and the default configuration may be a full selection state (i.e., all items to be detected are checked). The first instruction may refer to user confirmation to use a default configuration, that is, when the user's selection instruction is the first instruction, all the test items are configured as the to-be-tested items of the MIC array. The second instruction may refer to that the user does not use a default configuration, and the detection item selected by the user on the human-computer interaction interface is used as the item to be detected of the MIC array. Through visual configuration of the items to be detected, a user can use default configuration and can select one or more corresponding items to be detected.
In one embodiment, prior to testing the MIC array according to the item to be tested, the method further comprises:
and setting the volume of the electronic equipment to be a preset volume value.
Since the electronic device may currently have a lower or higher volume before the test, to ensure the recording quality of the MIC array, the volume of the electronic device may be set to a preset volume value, for example, to 50% of the volume, before the test of the MIC array, that is, before the MIC array records audio.
In one embodiment, after obtaining at least one test audio file for a MIC array, the method further comprises:
and packaging each detected audio file.
Because there may be multiple items to be detected in the MIC array, a corresponding detection audio file is obtained after each item to be detected is executed, and for convenience of subsequent tracing and management, the detection audio file corresponding to the MIC array may be packaged into a package file, and information of the electronic device to which the MIC array belongs is added to the package file, for example, the package file is named by the name of the electronic device to which the MIC array belongs. It can be understood that the packaged file may be transmitted to the cloud platform, and may also be stored in a preset storage path of the electronic device.
In one embodiment, prior to analyzing the detected audio file, the method further comprises:
and transmitting the detection audio file to a cloud platform, and/or storing the detection audio file to a preset storage path of the electronic equipment.
The detection audio file is transmitted to the cloud platform and/or stored to the preset storage path of the electronic equipment, so that the storage of the local and cloud sides is realized, and the detection audio file can be conveniently and remotely acquired for analysis.
In one embodiment, the detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array includes:
a1, acquiring audio to be played corresponding to the item to be detected;
a2, playing the audio to be played corresponding to the item to be detected, and controlling the MIC array to record the audio to be played;
a3, after the corresponding audio playing of the item to be detected is finished, saving the recorded audio file according to the name of the item to be detected;
and repeating the steps A1-A3 until the audio file corresponding to each item to be detected is stored, and taking the stored audio file as the detection audio file.
Each item to be detected corresponds to one or more audio to be played, the audio to be played corresponding to the item to be detected is played, the MIC array is controlled to record the audio to be played, when the corresponding audio of the item to be detected is played, the recorded audio file is stored according to the name of the item to be detected, and the audio corresponding to the item to be detected can be traced. And sequentially playing the audio corresponding to each item to be detected until the audio of all the items to be detected is recorded, namely, storing the audio file corresponding to each item to be detected, and taking the stored audio file as a detection audio file.
In one embodiment, the analyzing the test audio file to obtain an analysis result of the MIC array includes:
acquiring index data of the detected audio file;
analyzing the index data according to a preset expected value to obtain an analysis result of each item to be detected;
and summarizing the analysis result of each item to be detected to obtain the analysis result of the MIC array.
The detection audio file is analyzed to obtain index data, and the index data comprises amplitude, frequency characteristics, phase characteristics, signal-to-noise ratio, frequency spectrum characteristics, frame data and the like. And then obtaining an expected value of each index, wherein the expected value can be configured in advance, comparing and analyzing the index data according to the preconfigured expected value to obtain an analysis result of each item to be detected, for example, the expected value of the signal-to-noise ratio is 70dB, and analyzing whether the signal-to-noise ratio in the index data is greater than the expected value of 70dB, if the signal-to-noise ratio in the index data is greater than the expected value of 70dB, it indicates that the index passes the detection, and if the signal-to-noise ratio in the index data is less than or equal to the expected value of 70dB, it indicates that the index fails the detection, summarizing the analysis result of each item to be detected, and obtaining the analysis result of the MIC array. Further, the analysis result of the MIC array may be uploaded to a cloud platform or stored in a local storage space after being imported into a preset form template.
Referring to FIG. 2, a functional block diagram of the MIC array detection and analysis apparatus 100 of the present invention is shown.
The MIC array test and analysis apparatus 100 of the present application may be installed in an electronic device. Depending on the implemented functionality, the detection and analysis apparatus 100 of the MIC array may include a receiving module 110, a configuration module 120, a detection module 130, and an analysis module 140. A module, also referred to as a unit in this application, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the receiving module 110: the electronic equipment is used for reading the attribute information of the electronic equipment and receiving a selection instruction initiated by a user based on the attribute information;
the configuration module 120: the electronic equipment is used for configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
the detection module 130: the method comprises the steps of detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
the analysis module 140: and the method is used for analyzing the detection audio file to obtain the analysis result of the MIC array.
In one embodiment, said configuring, according to said selection instruction, at least one item to be tested of the MIC array of said electronic device comprises:
if the selection instruction is a first instruction, configuring all detection items as to-be-detected items of the MIC array;
and if the selection instruction is a second instruction, taking the detection item selected by the user on the human-computer interaction interface as the item to be detected of the MIC array.
In one embodiment, the configuration module 120 is further configured to:
and setting the volume of the electronic equipment to be a preset volume value.
In one embodiment, the detection module 130 is further configured to:
and packaging each detected audio file.
In one embodiment, the detection module 130 is further configured to:
and transmitting the detection audio file to a cloud platform, and/or storing the detection audio file to a preset storage path of the electronic equipment.
In one embodiment, the detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array includes:
a1, acquiring audio to be played corresponding to the item to be detected;
a2, playing the audio to be played corresponding to the item to be detected, and controlling the MIC array to record the audio to be played;
a3, after the corresponding audio playing of the item to be detected is finished, saving the recorded audio file by the name of the item to be detected;
and repeating the steps A1-A3 until the audio file corresponding to each item to be detected is stored, and taking the stored audio file as the detection audio file.
In one embodiment, the analyzing the detected audio file to obtain an analysis result of the MIC array includes:
acquiring index data of the detected audio file;
analyzing the index data according to a preset expected value to obtain an analysis result of each item to be detected;
and summarizing the analysis result of each item to be detected to obtain the analysis result of the MIC array.
Fig. 3 is a schematic diagram of the electronic device 1 according to the preferred embodiment of the present application.
The electronic device 1 includes but is not limited to: memory 11, processor 12, display 13, and communication interface 14. The electronic device 1 is connected to a network via a communication interface 14. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System for Mobile communications (GSM), wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, bluetooth (Bluetooth), wi-Fi, or a communication network.
The memory 11 includes at least one type of readable storage medium, including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the storage 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like equipped with the electronic device 1. Of course, the memory 11 may also comprise both an internal memory unit and an external memory device of the electronic device 1. In this embodiment, the memory 11 is generally used for storing an operating system installed in the electronic device 1 and various types of application software, such as program codes of the detection and analysis program 10 for the MIC array. Further, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is typically used for controlling the overall operation of the electronic device 1, such as performing data interaction or communication related control and processing. In this embodiment, the processor 12 is configured to run program codes stored in the memory 11 or process data, such as program codes of the MIC array test analysis program 10.
The display 13 may be referred to as a display screen or display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display 13 is used for displaying information processed in the electronic device 1 and for displaying a visual work interface.
The communication interface 14 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), the communication interface 14 typically being used for establishing a communication connection between the electronic device 1 and other devices.
Fig. 3 shows only the electronic device 1 with components 11-14 and the test and analysis program 10 of the MIC array, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
Optionally, the electronic device 1 may further include a user interface, the user interface may include a Display (Display), and the optional user interface may further include a standard wired interface or a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display, which may also be referred to as a display screen or display unit as appropriate, is used, among other things, for displaying information processed in the electronic device 1 and for displaying a visualized interface.
The electronic device 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which are not described in detail herein.
In the above embodiment, the processor 12, when executing the test analysis program 10 for a MIC array stored in the memory 11, may implement the following steps:
reading attribute information of the electronic equipment, and receiving a selection instruction initiated by a user based on the attribute information;
configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
and analyzing the detected audio file to obtain an analysis result of the MIC array.
The storage device may be the memory 11 of the electronic device 1, or may be another storage device communicatively connected to the electronic device 1.
For detailed description of the above steps, please refer to the above description of fig. 2 regarding a functional block diagram of an embodiment of the MIC array detection and analysis apparatus 100 and fig. 1 regarding a flowchart of an embodiment of a method for detecting and analyzing a MIC array.
In addition, the embodiment of the present application also provides a computer-readable storage medium, which may be non-volatile or volatile. The computer readable storage medium may be any one or any combination of hard disks, multimedia cards, SD cards, flash memory cards, SMCs, read Only Memories (ROMs), erasable Programmable Read Only Memories (EPROMs), portable compact disc read only memories (CD-ROMs), USB memories, etc. The computer readable storage medium includes a stored data area and a stored program area, the stored program area storing a test analysis program 10 for a MIC array, the test analysis program 10 for a MIC array implementing the following when executed by a processor:
reading attribute information of the electronic equipment, and receiving a selection instruction initiated by a user based on the attribute information;
configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
and analyzing the detected audio file to obtain an analysis result of the MIC array.
The specific implementation of the computer readable storage medium of the present application is substantially the same as the specific implementation of the MIC array detection and analysis method described above, and will not be described herein again.
It should be noted that the above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of another identical element in a process, apparatus, article, or method comprising the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, an electronic device, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.
Claims (10)
1. A detection and analysis method of an MIC array is applied to electronic equipment, and is characterized by comprising the following steps:
reading attribute information of the electronic equipment, and receiving a selection instruction initiated by a user based on the attribute information;
configuring at least one item to be detected of the MIC array of the electronic equipment according to the selection instruction;
detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
and analyzing the detected audio file to obtain an analysis result of the MIC array.
2. The method of claim 1, wherein configuring at least one item to be tested of the MIC array of the electronic device according to the selection instruction comprises:
if the selection instruction is a first instruction, configuring all detection items as to-be-detected items of the MIC array;
and if the selection instruction is a second instruction, taking the detection item selected by the user on the human-computer interaction interface as the item to be detected of the MIC array.
3. The method of testing and analyzing a MIC array according to claim 1, wherein prior to testing the MIC array for the items to be tested, the method further comprises:
and setting the volume of the electronic equipment to be a preset volume value.
4. The method of testing an MIC array according to claim 1, wherein after obtaining at least one test audio file for the MIC array, the method further comprises:
and packaging each detected audio file.
5. The method of test analysis of a MIC array of claim 1, wherein prior to analyzing the test audio file, the method further comprises:
and transmitting the detection audio file to a cloud platform, and/or storing the detection audio file to a preset storage path of the electronic equipment.
6. The method for detecting and analyzing a MIC array according to claim 1, wherein the detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array comprises:
a1, acquiring audio to be played corresponding to the item to be detected;
a2, playing the audio to be played corresponding to the item to be detected, and controlling the MIC array to record the audio to be played;
a3, after the corresponding audio playing of the item to be detected is finished, saving the recorded audio file according to the name of the item to be detected;
and repeating the steps A1-A3 until the audio file corresponding to each item to be detected is stored, and taking the stored audio file as the detection audio file.
7. The method for performing an assay analysis on a MIC array of claim 1, wherein the analyzing the test audio file to obtain the result of the analysis on the MIC array comprises:
acquiring index data of the detected audio file;
analyzing the index data according to a preset expected value to obtain an analysis result of each item to be detected;
and summarizing the analysis result of each item to be detected to obtain the analysis result of the MIC array.
8. An apparatus for testing and analyzing a MIC array, the apparatus being mounted in an electronic device, the apparatus comprising:
a receiving module: the electronic equipment is used for reading the attribute information of the electronic equipment and receiving a selection instruction initiated by a user based on the attribute information;
a configuration module: at least one item to be detected for configuring a MIC array of the electronic device according to the selection instruction;
a detection module: the method comprises the steps of detecting the MIC array according to the item to be detected to obtain at least one detection audio file of the MIC array;
an analysis module: and the method is used for analyzing the detection audio file to obtain the analysis result of the MIC array.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing a method of testing an MIC array according to any one of claims 1 to 7 when executing a program stored on a memory.
10. A computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, performs the steps of a method of test analysis of a MIC array according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210844104.5A CN115550826A (en) | 2022-07-18 | 2022-07-18 | MIC array detection and analysis method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210844104.5A CN115550826A (en) | 2022-07-18 | 2022-07-18 | MIC array detection and analysis method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115550826A true CN115550826A (en) | 2022-12-30 |
Family
ID=84724600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210844104.5A Pending CN115550826A (en) | 2022-07-18 | 2022-07-18 | MIC array detection and analysis method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115550826A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116991088A (en) * | 2023-07-24 | 2023-11-03 | 北京三维天地科技股份有限公司 | Remote control method for detecting new energy battery |
-
2022
- 2022-07-18 CN CN202210844104.5A patent/CN115550826A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116991088A (en) * | 2023-07-24 | 2023-11-03 | 北京三维天地科技股份有限公司 | Remote control method for detecting new energy battery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10956291B2 (en) | Method, computer apparatus, and user interface for performing automatic test upon storage devices | |
US9934136B2 (en) | Automated generation of scripted and manual test cases | |
CN109783350A (en) | Interface test method, device and computer readable storage medium | |
CN108549606A (en) | interface test method and device | |
CN101368991A (en) | Electronic device test device and method thereof | |
CN110134593B (en) | Software testing method and device, electronic equipment and storage medium | |
CN111198809A (en) | Interface automation test method and device | |
CN112839323A (en) | Bluetooth device testing method and device, terminal and computer readable storage medium | |
CN106126424A (en) | A kind of visual automated testing method of script, device and mobile terminal | |
CN104991847A (en) | Memory leakage automatic testing method and apparatus and mobile terminal | |
CN112069068A (en) | Automatic test data processing method, device, equipment and readable storage medium | |
CN115934503A (en) | Program testing method, device, equipment and storage medium | |
CN115550826A (en) | MIC array detection and analysis method, device, equipment and storage medium | |
CN116245074A (en) | Chip verification method, device and storage medium | |
CN114578790A (en) | Unmanned aerial vehicle flight control automatic test method, system, equipment and medium | |
CN112631894A (en) | Code detection method, device, storage medium and computer equipment | |
CN115422091B (en) | Firmware debugging method and device, electronic equipment and storage medium | |
CN108255715B (en) | Test result processing method and terminal equipment | |
CN110865932A (en) | Program internal interface testing method, system, terminal and storage medium | |
CN110276443A (en) | Model conversion consistency checking and analysis method, device and storage medium | |
CN105893203A (en) | CEC verification method and device | |
CN111352780B (en) | Method and device for determining state of path and readable storage medium | |
CN114942878A (en) | Automatic performance testing method for internet application and related equipment | |
CN107679266A (en) | The emulation mode and simulator of flash memory circuit | |
CN110234059B (en) | Audio device testing method, system, testing frame and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |