CN108196991A - Embedded device quality self-assessment control method, device and storage medium - Google Patents

Embedded device quality self-assessment control method, device and storage medium Download PDF

Info

Publication number
CN108196991A
CN108196991A CN201711439482.0A CN201711439482A CN108196991A CN 108196991 A CN108196991 A CN 108196991A CN 201711439482 A CN201711439482 A CN 201711439482A CN 108196991 A CN108196991 A CN 108196991A
Authority
CN
China
Prior art keywords
audio
embedded device
file
audio data
control method
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
CN201711439482.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.)
CHANGSHA LIANYUAN ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
CHANGSHA LIANYUAN ELECTRONIC 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 CHANGSHA LIANYUAN ELECTRONIC TECHNOLOGY Co Ltd filed Critical CHANGSHA LIANYUAN ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201711439482.0A priority Critical patent/CN108196991A/en
Publication of CN108196991A publication Critical patent/CN108196991A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/21Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being power information
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses a kind of embedded device quality self-assessment control method, device and storage medium, the embedded device built-in audio playing device and audio collecting device, self-test control method of the present invention include:Audio playing apparatus is driven to play the first preset audio data;Audio collecting device acquisition is driven to generate second audio data corresponding with the first audio data;Whether the audio frequency characteristics for comparing the first audio data and second audio data are consistent, judge whether the quality of audio playing apparatus and audio collecting device is qualified according to comparison result.The present invention can substitute the artificial quality inspection realized before dispatching from the factory to embedded device and count, realize the automatic detection to embedded device, and provide data foundation for subsequent teledata statistics and automatically generating for quality inspection report, conducive to the automated job of processing producing line and the promotion of intelligence degree, there is extensive application value.

Description

Embedded device quality self-assessment control method, device and storage medium
Technical field
The present invention relates to equipment detection fields, particularly, are related to a kind of embedded device quality self-assessment control method, device And storage medium.
Background technology
Quality inspection is exactly that one or more mass propertys of product are observed, are measured, are tested, and by result with advising Fixed quality requirement is compared, to judge a kind of qualified or not activity of each mass property.The quality testing of product is to production Quality assurance before product manufacture is most important.Equally, embedded device is required for detection quality testing, detection before manufacture Whether every software and hardware function can normal operation.
Traditional quality detection method needs certain human cost, time cost and detection device.Artificial detection is in addition to speed Other than degree is partially slow, also there is certain error probability.It is detected using detection device, needs to add equipment, it is certain in addition to generating Cost outside, due to detection device generally be set on factory in, be unfavorable for other places detect.
Invention content
It is existing to solve the present invention provides a kind of embedded device quality self-assessment control method, device and storage medium Embedded device factory testing it is cumbersome, detection efficiency is low and there is technical issues that detection.
The technical solution adopted by the present invention is as follows:
According to an aspect of the present invention, a kind of embedded device self-test control method, sound built in embedded device are provided Frequency playing device and audio collecting device, self-test control method of the present invention include:
Audio playing apparatus is driven to play the first preset audio data;
Audio collecting device acquisition is driven to generate second audio data corresponding with the first audio data;
Whether the audio frequency characteristics for comparing the first audio data and second audio data are consistent, judge audio according to comparison result Whether the quality of playing device and audio collecting device is qualified.
Further, the whether qualified packet of the quality of audio playing apparatus and audio collecting device is judged according to comparison result It includes:
When comparison result is that audio frequency characteristics are inconsistent, embedded device is sent to pre- by the first order-driven conveyer belt of generation If detect place;Default detecting field is equipped with calibration audio-frequence player device corresponding with embedded device, calibration audio collection is set It is standby;
The corresponding detection test of audio collecting device and/or generation third instruction startup audio are stated in generation the second instruction startup The corresponding detection test of playing device.
Further, the corresponding detection test of audio collecting device includes:
Driving calibration audio-frequence player device plays preset audio file;
Audio collecting device acquisition is driven to generate testing audio data corresponding with preset audio file;
Whether contrastive test audio data is consistent with the audio frequency characteristics of preset audio file, judges that audio is adopted if inconsistent There are hardware faults for acquisition means.
Further, the corresponding detection test of audio playing apparatus includes:
Audio playing apparatus is driven to play preset audio file;
Driving calibration audio collecting device acquisition generation test frequency evidence corresponding with preset audio file;
Whether contrastive test audio data is consistent with the audio frequency characteristics of preset audio file, judges that audio is broadcast if inconsistent Putting device, there are hardware faults.
Further, self-test control method of the present invention further includes:
Judge whether also subsequent detection project, if otherwise generating and/or exporting test results report data, if after It is continuous to perform detection project.
Further, detection project of the present invention includes:Whether judge the corresponding bottom physical link quality of embedded device It is qualified;
Judge whether qualification includes the corresponding bottom physical link quality of embedded device:
Drive the one or more kinds of network ports of embedded device connection;
The scheduled third audio data in corresponding network side is obtained after driving embedded device networking;
Audio playing apparatus is driven to play third audio data, and drives audio collecting device acquisition generation and third audio Corresponding 4th audio data of data;
It is whether consistent with the audio frequency characteristics of audio alignment data to compare the 4th audio data, audio alignment data are preset Audio data corresponding with third audio data judges the corresponding bottom physical link quality of embedded device according to comparison result It is whether qualified.
Further, detection project of the present invention includes:Judge fixed storage inside embedded device audio file whether It is qualified;
Judge whether qualification includes for the audio file of fixed storage inside embedded device:
It reads embedded device coding information and obtains the corresponding calibration audio file of embedded device;
Audio playing apparatus is driven to play calibration audio file and through audio collecting device acquisition generation and calibration audio text The corresponding audio data of part, and compared with the audio file progress audio frequency characteristics of fixed storage inside embedded device;
Judge whether the audio file of fixed storage inside embedded device is qualified according to comparison result.
Further, detection project of the present invention includes:Judge that can embedded device correctly obtain external sound source file;
Judge that can embedded device correctly obtain external sound source file and include:
Audio playing apparatus is driven to play the corresponding external sound source file of presets;
Driving audio collecting device acquisition generates audio corresponding with external sound source file and compares file;
It compares audio and compares whether file is consistent with the audio frequency characteristics of calibration audio file, and calibration audio file is preset Audio data corresponding with external sound source file judges that can embedded device correctly obtain external sound source text according to comparison result Part.
According to another aspect of the present invention, a kind of embedded device self-inspection control device is also provided, including processor, processing Device performs the embedded device self-test control method of the present invention for running program when program is run.
According to another aspect of the present invention, a kind of storage medium is also provided, storage medium includes the program of storage, wherein, Equipment is performed such as the embedded device self-test control method of the present invention where controlling storage medium when program is run.
The invention has the advantages that:
Embedded device quality self-assessment control method of the present invention, device and storage medium can substitute artificial realize to embedding Enter the quality inspection statistics before the manufacture of formula equipment, realize the automatic detection to embedded device, and for subsequent teledata statistics and Automatically generating for quality inspection report provides data foundation, conducive to the automated job of processing producing line and the promotion of intelligence degree;This Outside, present device self-sensing method does not depend on extraneous equipment, therefore the detection of specific project is not needed to return to genuine, only It needs to start detection program, testing staff is required relatively low, do not need to professional knowledge, common layman can also grasp Make, therefore with extensive application value.
Other than objects, features and advantages described above, the present invention also has other objects, features and advantages. Below with reference to accompanying drawings, the present invention is described in further detail.
Description of the drawings
The attached drawing for forming the part of the application is used to provide further understanding of the present invention, schematic reality of the invention Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of preferred embodiment of the present invention embedded device self-test control method;
Fig. 2 be compared in the preferred embodiment of the present invention the first audio data and second audio data audio frequency characteristics whether one The flow diagram of cause;
Fig. 3 is the stream of preferred embodiment of the present invention sound intermediate frequency playing device detection test and audio collecting device detection test Journey schematic diagram;
Fig. 4 is to judge whether the corresponding bottom physical link quality of embedded device is qualified in the preferred embodiment of the present invention Flow diagram;
Fig. 5 is the flow diagram of embedded device WiFi connecting detections in the preferred embodiment of the present invention;
Fig. 6 is to judge whether the audio file of fixed storage inside embedded device is qualified in the preferred embodiment of the present invention Flow diagram;
Fig. 7 is whether the salutatory audio file of fixed storage inside embedded device in the preferred embodiment of the present invention is qualified Testing process;
Fig. 8 is to judge that can embedded device correctly obtain the flow of external sound source file and show in the preferred embodiment of the present invention It is intended to;
Fig. 9 is the overall testing process schematic diagram of preferred embodiment of the present invention embedded device self-test control method.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
The preferred embodiment of the present invention provides a kind of embedded device self-test control method, so as to replace manually realize it is embedding Enter the automatic detection of formula equipment, in the present embodiment, embedded device built-in audio playing device and audio collecting device, with reference to figure 1, the present embodiment self-test control method includes:
Step S100, driving audio playing apparatus play the first preset audio data;
Step S200, driving audio collecting device acquisition generate second audio data corresponding with the first audio data;
Step S300, whether the audio frequency characteristics for comparing the first audio data and second audio data are consistent, tied according to comparing Fruit judges whether the quality of audio playing apparatus and audio collecting device is qualified.
The present embodiment embedded device self-test control method, by using audio frequency characteristics comparison method, is adopted to compare audio Acquisition means acquisition second audio data and embedded device in pre-stored first audio data audio frequency characteristics whether one It causes, to judge that the quality of hardware of embedded device whether by detection, can substitute artificial realize to before embedded device manufacture Quality inspection statistics, and then realize automatic detection to embedded device, and be subsequent teledata statistics and quality inspection report It automatically generates and data foundation is provided, conducive to the automated job of processing producing line and the promotion of intelligence degree, have and widely push away Wide application value.
In addition, the present embodiment method does not depend on extraneous equipment, therefore the detection of specific project is not needed to return to genuine, only It needs to start detection program, testing staff is required relatively low, do not need to professional knowledge, common layman can also grasp Make.
In the present embodiment, the first preset audio data refers to have been stored in embedded intelligent equipment internal storage space Audio file, for audio collecting device acquisition generation second audio data compare use.The present embodiment it is preset first The storage organization of audio data is as follows:
Audio under/home/Compare catalogues is the pre-stored audio data for comparison, is arranged in upper table A variety of audio files are gone out, such as WiFi_comp_wav, open_comp_Comany_A_wav, open_comp_Comany_B_ Wav, general_comp_wav, loudmusic_comp_wav, bluetooth_comp_wav, those skilled in the art can be with Understand, it is merely illustrative herein, do not form limiting the scope of the invention.Audio used in some specific test event, It is to have arranged in advance, prefabricated audio used in different test events may be different.Preferably, in order to reduce file storage consumption, Different test events sharing audio file as possible.
In the present embodiment, referring to Fig. 2, whether the audio frequency characteristics for comparing the first audio data and second audio data unanimously have Body includes:
Step S310, the corresponding audio frequency characteristics of the first audio data of extraction;
Step S320, the corresponding audio frequency characteristics of extraction second audio data;
Step S330, audio frequency characteristics are compared, judging characteristic difference value is whether within given threshold;
Step S340, if so, being determined as that test passes through;
Step S350, if it is not, being then determined as that test does not pass through.
In the present embodiment, the corresponding audio frequency characteristics of the first audio data of extraction or the corresponding audio of second audio data are special Sign includes:
1) audio frame, tonic train, are determined:N number of sample point is chosen from audio data and forms corresponding audio frame, and select Several (for example 100-200) a audio frame is taken to form corresponding tonic train;
2) energy value of audio frame, is calculated:The energy value of each sample point is obtained, according to the symmetrical spy of audio power The energy value of audio frame is calculated in property;
3) the mean ratio K values to audio frame energy, are calculated:First according to corresponding audio frame each in audio data Audio frame is divided into normal audio frame or anomalous audio frame by energy ratio;Secondly by the summation of normal audio frame and average value The mean ratio K values of audio power are obtained after comparing;
4) the audio frame number for the mean ratio K values for being more than audio frame energy, is calculated in audio data:The variation width of K values It spends for r, the ratio section of audio power is (K-r, K+r), is calculated in audio data and corresponds to the ratio between audio frame energy in area Interior number.I.e. in the present embodiment, audio frequency characteristics, which take, corresponds to the ratio between audio frame energy in (K-r, K+r) section in audio data Interior number.
In the present embodiment, step S330 is specially:Judge the audio frequency characteristics of the first audio data and second audio data Similitude, according to above-mentioned steps 4) in the ratio size S of the audio frame number that obtains and audio frame sum judge two audios The similitude of data.The threshold value of similitude can be according to the requirement of different degree of detection and/or the noisy degree of external environment come specific Setting.
In the present embodiment, when determine the first audio data and second audio data it is consistent when, then can obtain test By conclusion, i.e. the audio playing apparatus of embedded device and the hardware detection of audio collecting device pass through.Work as comparison result For audio frequency characteristics it is inconsistent when, then can assert that there are failures at least one of audio playing apparatus and audio collecting device.This reality Audio playing apparatus and audio collecting device that a method utilizes embedded device to carry are applied, is made a reservation for when audio-frequence player device plays The first audio data, audio collecting device acquisition generation second audio data, if the corresponding audio frequency characteristics one of two data It causes, then judges that the broadcasting of equipment and gatherer process do not occur quality problems, be otherwise unqualified.It in this way can be to avoid manual quality The randomness of detection, due to for people sound can not rational judgment quality, can then be asked using the present embodiment method to avoid this Topic.
Preferably, in the present embodiment, the quality for judging audio playing apparatus and audio collecting device according to comparison result is No qualification includes:
When comparison result is that audio frequency characteristics are inconsistent, embedded device is sent to pre- by the first order-driven conveyer belt of generation If detect place;Default detecting field is equipped with calibration audio-frequence player device corresponding with embedded device, calibration audio collection is set It is standby;
The corresponding detection test of audio collecting device and/or generation third instruction startup audio are stated in generation the second instruction startup The corresponding detection test of playing device.
In the present embodiment, the corresponding detection test of audio collecting device includes:
Driving calibration audio-frequence player device plays preset audio file;
Audio collecting device acquisition is driven to generate testing audio data corresponding with preset audio file;
Whether contrastive test audio data is consistent with the audio frequency characteristics of preset audio file, judges that audio is adopted if inconsistent There are hardware faults for acquisition means.
In the present embodiment, the corresponding detection test of audio playing apparatus includes:
Audio playing apparatus is driven to play preset audio file;
Driving calibration audio collecting device acquisition generation test frequency evidence corresponding with preset audio file;
Whether contrastive test audio data is consistent with the audio frequency characteristics of preset audio file, judges that audio is broadcast if inconsistent Putting device, there are hardware faults.
The method that audio frequency characteristics in above-mentioned detection test compare is similar with aforementioned audio frequency characteristics comparison method, herein not It repeats.
Fig. 3 is shown in a preferred embodiment, is surveyed including audio playing apparatus detection test and audio collecting device detection The flow diagram of examination.Using this method can the further corresponding hardware device of failure judgement, be that follow-up maintenance and failure are remembered Record provides foundation.
Preferably, the present embodiment self-test control method further includes:Judge whether also subsequent detection project, if otherwise generating And/or export test results report data, if then continuing to execute detection project.
The present embodiment self-test control method by increasing other auxiliary detection projects, can also carry out embedded device The intelligent automatic detection of sundry item further improves its intellectualized detection level.
Preferably, the present embodiment detection project includes:Whether judge the corresponding bottom physical link quality of embedded device It is qualified.
Referring to Fig. 4, in the present embodiment, judge whether qualification includes the corresponding bottom physical link quality of embedded device:
Step S410, the one or more kinds of network ports of driving embedded device connection;
Step S420 obtains the scheduled third audio data in corresponding network side, and embedded after driving embedded device networking Audio alignment data corresponding with third audio data are preset in formula equipment;
Step S430, driving audio playing apparatus play third audio data, and drive audio collecting device acquisition generation The 4th audio data corresponding with third audio data;
Step S440, whether the 4th audio data of comparison is consistent with the audio frequency characteristics of audio alignment data, is tied according to comparing Whether the corresponding bottom physical link quality of fruit judgement embedded device is qualified.
Fig. 5 shows the flow diagram for carrying out embedded device WiFi connecting detections in one embodiment.It needs Bright is:Signified physical link of the invention includes but is not limited to:WLAN wifi, cable LAN, bluetooth are mobile Data communicate.The present embodiment is illustrated using wifi as example.Traditional artificial detection is relatively complicated, needs constantly to switch each Kind physical link, such as:Cable LAN, bluetooth, wireless network etc..It is not only cumbersome, also than relatively time-consuming.When product quantity is more When, detection efficiency is relatively low, and artificial detection is not easy to judge for the delay of sound, such as:It, can when wireless network quality is bad It can lead to broadcast time-delay interim card, it is artificial not noticeable when particularly working long hours.Method can realize inspection through this embodiment It is more accurate and time saving and energy saving to survey result, detection efficiency is high, intelligence degree is high.
Preferably, the present embodiment detection project includes:Judge fixed storage inside embedded device audio file whether It is qualified.
Referring to Fig. 6, the present embodiment judges whether qualification includes for the audio file of fixed storage inside embedded device:
Step S610 reads embedded device coding information and obtains the corresponding calibration audio file of embedded device;
Step S620, driving audio playing apparatus play calibration audio file and acquire generation and school through audio collecting device The corresponding audio data of quasi- audio file, and carry out audio frequency characteristics ratio with the audio file of fixed storage inside embedded device It is right;
Step S630 judges whether the audio file of fixed storage inside embedded device is qualified according to comparison result.
In actual processing, since equipment of the same race needs to be supplied to different vendor, different manufacturers is needed in storage inside The various audios of the prior fixed storage of device, for special-purpose.The type and content of audio are not fully identical.For example, A manufacturers need Salutatory and booting audio are wanted, B manufacturers only need the audio that is switched on.Although the two has booting audio, and in equipment storage Catalogue is identical with filename, but actual content and may differ.In addition, also some prefabricated audios are important, example Such as the audio played during fire alarm, when manufacture, needs to detect whether play normally.The present embodiment, can be with by using above-mentioned detection Ensure the accuracy of the audio file of fixed storage inside embedded device.
Fig. 7 shows whether the salutatory audio file of fixed storage inside embedded device in a preferred embodiment is qualified Testing process.Since many embedded audio equipment are needed in the certain audios of the prior fixed storage of internal storage, such as:Vigorously Meet word, switching on and shutting down audio, fire alarm audio etc..If manually detection expends the time one by one, when prefabricated audio is more, it is difficult to all It detects.For the present embodiment method by detecting automatically, detection is efficiently convenient.
Preferably, originally it is that embodiment detection project further includes:Judge that can embedded device correctly obtain external sound source text Part.
Referring to Fig. 8, the present embodiment judges that can embedded device correctly obtain external sound source file and include:
Step S810, driving audio playing apparatus play the corresponding external sound source file of presets;
Step S820, driving audio collecting device acquisition generate audio corresponding with external sound source file and compare file;
Step S830 compares audio and compares whether file is consistent with the audio frequency characteristics of calibration audio file, and calibration audio is literary Part is preset audio data corresponding with external sound source file, judges that can embedded device correctly obtain according to comparison result External sound source file.
It is each that in the present embodiment, embedded device may need to play Aux sources of sound according to demand, audio etc. is locally stored in equipment The equipment in kind audio source.Whether external audio file, which can be correctly played, by detecting audio judges product correlated performance Whether quality is qualified.Such as USB flash disk is inserted into equipment, play in USB flash disk preset audio pair in specific audio and embedded device Than.Collected audio consistent with prefabricated audio is to think, it is up-to-standard that USB flash disk reads identification.
Fig. 9 shown in another preferred embodiment, the overall testing process schematic diagram of embedded device self-test control method. In the present embodiment method, the audio that embedded device has been provided in itself is needed to play and audio collection hardware device.This reality A method is applied using audio broadcasting and audio collection hardware device, in conjunction with test software, is reached for product section function Automatic detection, and it can be attached to the follow-up work completed in a series of production links such as corresponding storage, registration if needed. As shown in figure 9, the test results report generated after detection, can export through display screen and show, personnel easy to operation are real-time It receives.Preferably, detection data is uploaded to high in the clouds through network.It it is highly preferred that can also the printing device automatic printing through networking Go out the label needed for the production managements flow such as Quick Response Code, and drive the transporting equipment in producing line automatically by certified products, defective work It is transported to corresponding station and carries out subsequent processing.Powerful technical support is provided for intelligence manufacture and detection, has and widely pushes away Wide application value.
According to another aspect of the present invention, a kind of embedded device self-inspection control device is also provided, including processor, processing Device performs the embedded device self-test control method of the present invention for running program when program is run.
According to another aspect of the present invention, a kind of storage medium is also provided, storage medium includes the program of storage, wherein, Equipment is performed such as the embedded device self-test control method of the present invention where controlling storage medium when program is run.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is performed in computer system, although also, show logical order in flow charts, it in some cases, can be with not The sequence being same as herein performs shown or described step.
If the function described in the present embodiment method is realized in the form of SFU software functional unit and is independent product pin It sells or in use, can be stored in one or more computing device read/write memory medium.Based on such understanding, this hair The part or the part of the technical solution that bright embodiment contributes to the prior art can be embodied in the form of software product Out, which is stored in a storage medium, is used including some instructions so that a computing device (can be People's computer, server, mobile computing device or network equipment etc.) perform the whole of each embodiment the method for the present invention Or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can to store journey The medium of sequence code.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other The difference of embodiment, just to refer each other for same or similar part between each embodiment.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of embedded device self-test control method, the embedded device built-in audio playing device and audio collection dress It puts, which is characterized in that the self-test control method includes:
The audio playing apparatus is driven to play the first preset audio data;
The audio collecting device acquisition is driven to generate second audio data corresponding with first audio data;
It is whether consistent with the audio frequency characteristics of the second audio data to compare first audio data, is judged according to comparison result Whether the quality of the audio playing apparatus and the audio collecting device is qualified.
2. embedded device self-test control method according to claim 1, which is characterized in that
Whether qualification includes the quality according to the comparison result judgement audio playing apparatus and the audio collecting device:
When the comparison result is that audio frequency characteristics are inconsistent, the first order-driven conveyer belt of generation sends the embedded device To default detection place;The default detecting field is equipped with calibration audio-frequence player device corresponding with the embedded device, school Quasi- audio collecting device;
The corresponding detection test of audio collecting device and/or the generation third instruction startup audio are stated in generation the second instruction startup The corresponding detection test of playing device.
3. embedded device self-test control method according to claim 2, which is characterized in that
The corresponding detection test of the audio collecting device includes:
The calibration audio-frequence player device is driven to play preset audio file;
The audio collecting device acquisition is driven to generate testing audio data corresponding with the preset audio file;
It is whether consistent with the audio frequency characteristics of the preset audio file to compare the testing audio data, institute is judged if inconsistent Stating audio collecting device, there are hardware faults.
4. embedded device self-test control method according to claim 2, which is characterized in that
The corresponding detection test of the audio playing apparatus includes:
The audio playing apparatus is driven to play preset audio file;
The calibration audio collecting device is driven to acquire generation test frequency evidence corresponding with the preset audio file;
It is whether consistent with the audio frequency characteristics of the preset audio file to compare the testing audio data, institute is judged if inconsistent Stating audio playing apparatus, there are hardware faults.
5. embedded device self-test control method according to claim 1, which is characterized in that
The self-test control method further includes:
Judge whether also subsequent detection project, if otherwise generating and/or exporting test results report data, if continuing to hold Row detection project.
6. embedded device self-test control method according to claim 5, which is characterized in that
The detection project includes:Judge whether the corresponding bottom physical link quality of the embedded device is qualified;
It is described to judge whether qualification includes the corresponding bottom physical link quality of the embedded device:
Drive the one or more kinds of network ports of embedded device connection;
The embedded device is driven to obtain the scheduled third audio data in corresponding network side after networking;
The audio playing apparatus is driven to play the third audio data, and drive the audio collecting device acquisition generation with Corresponding 4th audio data of the third audio data;
It is whether consistent with the audio frequency characteristics of audio alignment data to compare the 4th audio data, the audio alignment data are pre- The audio data corresponding with the third audio data put judges the corresponding bottom of the embedded device according to comparison result Whether physical link quality is qualified.
7. embedded device self-test control method according to claim 5, which is characterized in that
The detection project includes:Judge whether the audio file of fixed storage inside the embedded device is qualified;
Whether qualification includes the audio file for judging fixed storage inside the embedded device:
It reads embedded device coding information and obtains the corresponding calibration audio file of the embedded device;
The audio playing apparatus is driven to play the calibration audio file and acquires generation and institute through the audio collecting device The corresponding audio data of calibration audio file is stated, and audio is carried out with the audio file of fixed storage inside the embedded device Aspect ratio pair;
Judge whether the audio file of fixed storage inside the embedded device is qualified according to comparison result.
8. embedded device self-test control method according to claim 5, which is characterized in that
The detection project includes:Judge that can the embedded device correctly obtain external sound source file;
It is described to judge that the embedded device correctly obtain external sound source file and include:
The audio playing apparatus is driven to play the corresponding external sound source file of presets;
The audio collecting device acquisition is driven to generate audio corresponding with the external sound source file and compares file;
It compares the audio and compares whether file is consistent with the audio frequency characteristics of calibration audio file, and the calibration audio file is pre- The audio data corresponding with the external sound source file put judges that can the embedded device correctly obtain according to comparison result Take external sound source file.
9. a kind of embedded device self-inspection control device, which is characterized in that including processor, the processor is used to run journey Sequence performs the embedded device self-test control method as described in claim 1 to 8 is any when described program is run.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, it is run in described program When control the storage medium where equipment perform embedded device self-test control method as described in claim 1 to 8 is any.
CN201711439482.0A 2017-12-27 2017-12-27 Embedded device quality self-assessment control method, device and storage medium Pending CN108196991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711439482.0A CN108196991A (en) 2017-12-27 2017-12-27 Embedded device quality self-assessment control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711439482.0A CN108196991A (en) 2017-12-27 2017-12-27 Embedded device quality self-assessment control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN108196991A true CN108196991A (en) 2018-06-22

Family

ID=62584350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711439482.0A Pending CN108196991A (en) 2017-12-27 2017-12-27 Embedded device quality self-assessment control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108196991A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135235A (en) * 2020-09-22 2020-12-25 歌尔科技有限公司 Quality detection method, system and computer readable storage medium
CN112393799A (en) * 2019-08-16 2021-02-23 青岛海尔多媒体有限公司 Far-field voice equipment detection method and device and television terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259459A (en) * 2015-11-12 2016-01-20 东软集团股份有限公司 Automatic quality inspection method, apparatus and device for electronic equipment
CN105263096A (en) * 2015-10-28 2016-01-20 宁波萨瑞通讯有限公司 Method and apparatus for detecting audio device
CN105898555A (en) * 2015-12-28 2016-08-24 乐视致新电子科技(天津)有限公司 Audio abnormity positioning method and device
CN107483695A (en) * 2017-09-26 2017-12-15 努比亚技术有限公司 Terminal audio frequency calibration method, control device, measuring system and readable storage medium storing program for executing
CN107509153A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 Detection method, device, storage medium and the terminal of Audio Players part

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263096A (en) * 2015-10-28 2016-01-20 宁波萨瑞通讯有限公司 Method and apparatus for detecting audio device
CN105259459A (en) * 2015-11-12 2016-01-20 东软集团股份有限公司 Automatic quality inspection method, apparatus and device for electronic equipment
CN105898555A (en) * 2015-12-28 2016-08-24 乐视致新电子科技(天津)有限公司 Audio abnormity positioning method and device
CN107509153A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 Detection method, device, storage medium and the terminal of Audio Players part
CN107483695A (en) * 2017-09-26 2017-12-15 努比亚技术有限公司 Terminal audio frequency calibration method, control device, measuring system and readable storage medium storing program for executing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112393799A (en) * 2019-08-16 2021-02-23 青岛海尔多媒体有限公司 Far-field voice equipment detection method and device and television terminal
CN112135235A (en) * 2020-09-22 2020-12-25 歌尔科技有限公司 Quality detection method, system and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106331975A (en) Fault detection method, device and system for intelligent voice interaction equipment
WO2019169914A1 (en) Method and device for voice testing
CN107390056A (en) Detect the method and system of charging pile
CN110309033A (en) Failure monitoring method, device and system
CN108196991A (en) Embedded device quality self-assessment control method, device and storage medium
CN106408166A (en) Detection data processing method and system
CN105843720A (en) Method and device for testing hot-plug stability of hard disks
CN106649020A (en) Detecting method and device for storage case burn information
CN110134593A (en) Method for testing software, device, electronic equipment and storage medium
CN109726058A (en) Detection method, device and computer equipment
CN111060758A (en) BMS aging test method and system
CN106093621A (en) A kind of method of testing of power automatic device chip card automatically testing platform
CN110113598A (en) A kind of Network Personal Video Recorder test method and system
CN103914361A (en) Detection jig and detection method of computer device
CN108810525A (en) A kind of combined Intelligent set top box volume production test method and system
CN112926756A (en) Application method of AI (AI) maintenance knowledge base of central air-conditioning equipment
CN115662488A (en) SSD reliability test method and system
US8692890B2 (en) Testing apparatus and method using same
CN117253530A (en) Visual auxiliary system for performance test of memory bank
CN113010868B (en) On-line test authentication examination management system
TWI263882B (en) Computer-managed fan device reliability testing system
CN113992884A (en) Low-probability problem reproduction method and system for automobile instrument
CN105137330B (en) The verification device and its operation method of multiple voltage domain digital circuit
CN107203449B (en) Device for intelligently displaying test state of rack
CN112181772A (en) Intelligent test system of equipment

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: 20180622

RJ01 Rejection of invention patent application after publication