CN110913211A - Method for detecting MIC of set top box, computer readable storage medium and set top box - Google Patents

Method for detecting MIC of set top box, computer readable storage medium and set top box Download PDF

Info

Publication number
CN110913211A
CN110913211A CN201911329754.0A CN201911329754A CN110913211A CN 110913211 A CN110913211 A CN 110913211A CN 201911329754 A CN201911329754 A CN 201911329754A CN 110913211 A CN110913211 A CN 110913211A
Authority
CN
China
Prior art keywords
circuit board
tested
voice circuit
mic
top box
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
Application number
CN201911329754.0A
Other languages
Chinese (zh)
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.)
Shenzhen Trillion Digital Polytron Technologies Inc
Shenzhen MTC Co Ltd
Original Assignee
Shenzhen Trillion Digital Polytron Technologies Inc
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 Shenzhen Trillion Digital Polytron Technologies Inc filed Critical Shenzhen Trillion Digital Polytron Technologies Inc
Priority to CN201911329754.0A priority Critical patent/CN110913211A/en
Publication of CN110913211A publication Critical patent/CN110913211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

S1, before the set top box is assembled, a test APK pre-installed on the set top box controls to start a to-be-tested MIC voice circuit board temporarily electrically connected with a set top box main board to record, and stores a recording file of the to-be-tested MIC voice circuit board; s2, analyzing the recording file of the MIC voice circuit board to be tested by the test APK, analyzing to obtain each sampling data of the MIC voice circuit board to be tested, and storing; s3, comparing the sampling data of the MIC voice circuit board to be tested with a standard value, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested is normal in function or not according to the proportion; and S4, prompting a detection result of the MIC voice circuit board to be detected. The method can efficiently select the bad MIC voice circuit board without using professional testing equipment, and avoids the problem of retesting after the assembly is finished.

Description

Method for detecting MIC of set top box, computer readable storage medium and set top box
Technical Field
The invention belongs to the field of set top boxes, and particularly relates to a method for detecting an MIC (many integrated core) of a set top box, a computer readable storage medium and the set top box.
Background
MIC (Microphone) is widely applied in the current market, and devices such as video cameras, earphones, set top boxes and the like are generally provided with MIC together. To maintain the product quality of MIC, it is usually tested.
Testing MIC pronunciation circuit board in intelligent pronunciation STB production process, need testing through professional pronunciation MIC test equipment to need test after MIC pronunciation circuit board assembly, after the recording is accomplished, put the recording file on PC and carry out the analysis. After a bad MIC voice circuit board is detected, the assembled MIC voice circuit board needs to be detached for maintenance, and the efficiency is low.
Disclosure of Invention
The invention provides a method for detecting an MIC (microphone integrated circuit) of a set top box, a computer readable storage medium and the set top box, and aims to solve the problems that a to-be-detected MIC voice circuit board needs professional voice MIC test equipment, and a poor MIC voice circuit board needs to be tested and selected after assembly is completed, so that the efficiency is low.
In a first aspect, the present invention provides a method for detecting an MIC of a set top box, where the method includes:
s1, before the set top box is assembled, a test APK (android package) pre-installed on the set top box controls to start a to-be-tested MIC voice circuit board temporarily electrically connected with a set top box main board for recording, and stores a recording file of the to-be-tested MIC voice circuit board;
s2, analyzing the recording file of the MIC voice circuit board to be tested by the test APK, analyzing to obtain each sampling data of the MIC voice circuit board to be tested, and storing;
s3, comparing the sampling data of the MIC voice circuit board to be tested with a standard value, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested is normal in function or not according to the proportion;
and S4, prompting a detection result of the MIC voice circuit board to be detected.
In a second aspect, the present invention provides a computer readable storage medium having stored thereon a computer program for implementing, when being executed by a processor, the steps of the method for detecting a MIC of a set-top box.
In a third aspect, the present invention provides a set top box, comprising: one or more processors, a memory, and one or more computer programs, wherein the processors and the memory are connected by a bus, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, which when executed perform the steps of the method of detecting a MIC for a set-top box.
In the method for detecting the MIC of the set top box, the test APK is used for analyzing the recording file, and a bad MIC voice circuit board is screened out efficiently on the premise of not using professional test equipment; the set top box host and the MIC voice circuit board to be tested are separated by the tooling fixture, and are directly judged on the box without testing after assembly is finished, so that the problem that the MIC voice circuit board is unqualified and needs to be disassembled again is avoided, and the detection efficiency is improved; and after testing an MIC voice circuit board, taking down and replacing the MIC voice circuit board for testing without the need of repeatedly turning on and off the set-top box mainboard.
Drawings
Fig. 1 is a flowchart of a method for detecting a MIC of a set top box according to an embodiment of the present invention.
Fig. 2 is a block diagram of a set-top box according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further 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 invention and are not intended to limit the invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, an embodiment of the present invention provides a method for detecting a MIC of a set top box, where the method includes:
s1, before the set top box is assembled, a test APK pre-installed on the set top box controls to start a to-be-tested MIC voice circuit board temporarily electrically connected with a set top box main board to record, and a recording file of the to-be-tested MIC voice circuit board is stored;
s2, analyzing the recording file of the MIC voice circuit board to be tested by the test APK, analyzing to obtain each sampling data of the MIC voice circuit board to be tested, and storing;
s3, comparing the sampling data of the MIC voice circuit board to be tested with a standard value, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested is normal in function or not according to the proportion;
and S4, prompting a detection result of the MIC voice circuit board to be detected.
In an embodiment of the present invention, before S1, the method further includes:
the set top box mainboard is separated from the MIC voice circuit board to be detected by a pre-manufactured testing tool, the APK is installed and tested on the set top box mainboard, and the testing point of the testing tool is arranged on the MIC voice circuit board to be detected.
In an embodiment of the present invention, the recording file of the MIC voice circuit board to be tested is a WAV file, and is stored in the set-top box motherboard.
In an embodiment of the present invention, S2 specifically includes:
and the test APK analyzes the recording file of the MIC circuit board to be tested, a JAVA implementation analysis algorithm is used for analyzing the data area of the WAV file, and the sampling data on the sampling point is stored through a two-dimensional array.
The sampling data is amplitude values of sine wave waveforms.
The sine wave waveform is a sound track waveform in a sound recording file.
In an embodiment of the present invention, S3 specifically includes:
and comparing the sampling data of the MIC voice circuit board to be tested with the standard value obtained through test analysis, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested has normal functions according to the proportion.
For example, the number of sampling data of each MIC voice circuit board to be tested is 1000, the value corresponding to each sampling data should be greater than 100, when more than 950 sampling data in 1000 sampling points are greater than 100, the sampling data are judged to be qualified, otherwise, the sampling data are not qualified.
In an embodiment of the present invention, in S4, if a plurality of MIC voice circuit boards to be tested are tested simultaneously, the test results are respectively prompted.
An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of a method for detecting a MIC of a set-top box as provided by an embodiment of the present invention.
Referring to fig. 2, an embodiment of the present invention provides a set-top box 100, which includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processors 101 and the memory 102 are connected by a bus, the one or more computer programs being stored in the memory 102 and configured to be executed by the one or more processors 101, the steps of the method of implementing a set-top box MIC as provided by an embodiment of the invention when the computer programs are executed by the processors 101.
In the method for detecting the MIC of the set top box, the test APK is used for analyzing the recording file, and a bad MIC voice circuit board is screened out efficiently on the premise of not using professional test equipment; the set top box host and the MIC voice circuit board to be tested are separated by the tooling fixture, and are directly judged on the box without testing after assembly is finished, so that the problem that the MIC voice circuit board is unqualified and needs to be disassembled again is avoided, and the detection efficiency is improved; and after testing an MIC voice circuit board, taking down and replacing the MIC voice circuit board for testing without the need of repeatedly turning on and off the set-top box mainboard.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for detecting a MIC of a set top box, the method comprising:
s1, before the set top box is assembled, a test APK pre-installed on the set top box controls to start a to-be-tested MIC voice circuit board temporarily electrically connected with a set top box main board to record, and a recording file of the to-be-tested MIC voice circuit board is stored;
s2, analyzing the recording file of the MIC voice circuit board to be tested by the test APK, analyzing to obtain each sampling data of the MIC voice circuit board to be tested, and storing;
s3, comparing the sampling data of the MIC voice circuit board to be tested with a standard value, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested is normal in function or not according to the proportion;
and S4, prompting a detection result of the MIC voice circuit board to be detected.
2. The method of claim 1, wherein prior to S1, the method further comprises:
the set top box mainboard is separated from the MIC voice circuit board to be tested by a pre-manufactured testing tool, the APK is installed and tested on the set top box mainboard, and the testing point of the testing tool is arranged on the MIC voice circuit board to be tested.
3. The method of claim 1, wherein the recording file of the MIC voice circuit board to be tested is a WAV file and is stored in a set-top box mainboard.
4. The method according to claim 1, wherein S2 is specifically:
the test APK analyzes the recording file of the MIC voice circuit board to be tested, the JAVA is used for realizing an analysis algorithm, the data area of the WAV file is analyzed, and the sampling data on the sampling point is stored through the two-dimensional array.
5. The method of claim 1, wherein the sampled data are amplitude values of a sine wave waveform.
6. The method of claim 5, wherein the sine wave waveform is a channel waveform in a sound recording file.
7. The method according to claim 1, wherein S3 is specifically:
and comparing the sampling data of the MIC voice circuit board to be tested with the standard value obtained through test analysis, judging the proportion of the sampling data meeting the standard value, and judging whether the MIC voice circuit board to be tested has normal functions according to the proportion.
8. The method of claim 1, wherein in S4, if a plurality of MIC voice boards to be tested are tested simultaneously, the test results are respectively prompted.
9. A computer-readable storage medium, storing a computer program, wherein the computer program, when being executed by a processor, performs the steps of the method for detecting the MIC of a set-top box according to any one of claims 1 to 8.
10. A set-top box comprising: one or more processors, a memory, and one or more computer programs, wherein the processors and the memory are connected by a bus, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, wherein the steps of the method for detecting a MIC of a set-top box according to any one of claims 1 to 8 are implemented when the computer programs are executed by the processors.
CN201911329754.0A 2019-12-20 2019-12-20 Method for detecting MIC of set top box, computer readable storage medium and set top box Pending CN110913211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329754.0A CN110913211A (en) 2019-12-20 2019-12-20 Method for detecting MIC of set top box, computer readable storage medium and set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329754.0A CN110913211A (en) 2019-12-20 2019-12-20 Method for detecting MIC of set top box, computer readable storage medium and set top box

Publications (1)

Publication Number Publication Date
CN110913211A true CN110913211A (en) 2020-03-24

Family

ID=69826934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329754.0A Pending CN110913211A (en) 2019-12-20 2019-12-20 Method for detecting MIC of set top box, computer readable storage medium and set top box

Country Status (1)

Country Link
CN (1) CN110913211A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556661A (en) * 2020-04-26 2021-10-26 阿里巴巴集团控股有限公司 Electroacoustic detection and information output method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075788A (en) * 2010-12-30 2011-05-25 福建星网视易信息系统有限公司 Automatic detection method and testing device for set top box
CN104601769A (en) * 2014-12-18 2015-05-06 上海斐讯数据通信技术有限公司 Automatic mobile phone main board audio testing system
CN107147803A (en) * 2017-06-21 2017-09-08 努比亚技术有限公司 A kind of way of recording, terminal device and computer-readable recording medium
CN108347686A (en) * 2018-02-07 2018-07-31 广州视源电子科技股份有限公司 Audio testing method, device, smart machine and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075788A (en) * 2010-12-30 2011-05-25 福建星网视易信息系统有限公司 Automatic detection method and testing device for set top box
CN104601769A (en) * 2014-12-18 2015-05-06 上海斐讯数据通信技术有限公司 Automatic mobile phone main board audio testing system
CN107147803A (en) * 2017-06-21 2017-09-08 努比亚技术有限公司 A kind of way of recording, terminal device and computer-readable recording medium
CN108347686A (en) * 2018-02-07 2018-07-31 广州视源电子科技股份有限公司 Audio testing method, device, smart machine and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556661A (en) * 2020-04-26 2021-10-26 阿里巴巴集团控股有限公司 Electroacoustic detection and information output method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107516510B (en) Automatic voice testing method and device for intelligent equipment
US20130142346A1 (en) Audio testing system and audio testing method for device under test
CN110288997A (en) Equipment awakening method and system for acoustics networking
US20110060432A1 (en) Method for testing audio function of computer
CN110379410A (en) Voice response speed automatic analysis method and system
CN107424611A (en) Voice interactive method and device
WO2019227641A1 (en) Application testing method, apparatus, terminal device and medium
CN110691314B (en) Linear microphone array performance test method and clamp
US11282514B2 (en) Method and apparatus for recognizing voice
CN104423543A (en) Information processing method and device
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN106771453B (en) Testing method and device for oscilloscope
US20200227069A1 (en) Method, device and apparatus for recognizing voice signal, and storage medium
CN110913211A (en) Method for detecting MIC of set top box, computer readable storage medium and set top box
CN110189767B (en) Recording mobile equipment detection method based on dual-channel audio
CN108900959B (en) Method, device, equipment and computer readable medium for testing voice interaction equipment
CN107403629B (en) Far-field pickup performance evaluation method and system, and electronic device
CN109669831A (en) A kind of test method and electronic equipment
CN108419199A (en) Fault detection method, device and the equipment of acoustic signals, readable medium
CN209562798U (en) Audio test system and equipment
US20200160218A1 (en) Behavior identification method, behavior identification device, non-transitory computer-readable recording medium recording therein behavior identification program, machine learning method, machine learning device, and non-transitory computer-readable recording medium recording therein machine learning program
US9300955B2 (en) Information processing apparatus, information processing method, and program
CN111163310B (en) Television audio test method, device, equipment and computer readable storage medium
CN114999457A (en) Voice system testing method and device, storage medium and electronic equipment
CN103929544B (en) A kind of method and system realizing pc end and mobile terminal automatic recording

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200324

RJ01 Rejection of invention patent application after publication