CN112860582A - Local voice recognition module production test method - Google Patents

Local voice recognition module production test method Download PDF

Info

Publication number
CN112860582A
CN112860582A CN202110322988.3A CN202110322988A CN112860582A CN 112860582 A CN112860582 A CN 112860582A CN 202110322988 A CN202110322988 A CN 202110322988A CN 112860582 A CN112860582 A CN 112860582A
Authority
CN
China
Prior art keywords
voice recognition
test
firmware
recognition module
tested
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
CN202110322988.3A
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.)
Chipintelli Technology Co Ltd
Original Assignee
Chipintelli 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 Chipintelli Technology Co Ltd filed Critical Chipintelli Technology Co Ltd
Priority to CN202110322988.3A priority Critical patent/CN112860582A/en
Publication of CN112860582A publication Critical patent/CN112860582A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/01Assessment or evaluation of speech recognition systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A local voice recognition module production test method comprises the following steps: s1, before testing, inputting standard firmware version information of firmware burned by a voice recognition module and a test program capable of running in a voice recognition chip in the voice recognition module into a testing device; s2, burning firmware of a memory inside or externally connected with a voice recognition chip in the voice recognition module to be tested through a batch volume production burning tool; s3, electrifying the to-be-tested voice recognition module with the firmware burnt well to start testing; and S4, after the test equipment judges that the firmware is burned correctly, informing the test program, controlling the to-be-tested voice recognition module to start the recognition function by the test program, and informing the test equipment to test. When the method is adopted for testing, the voice recognition module to be tested can be burned in advance in a large scale before testing instead of burning during testing, and the burning cost of the module can be reduced by burning in a large scale through a professional mass production burning tool in a large scale.

Description

Local voice recognition module production test method
Technical Field
The invention belongs to the technical field of artificial intelligence, relates to a voice recognition product development technology, and particularly relates to a local voice recognition module production testing method.
Background
The voice recognition control technology can improve the experience of product control, and is gradually used in various products at present. Especially, with the appearance of the intelligent voice chip of the terminal, the voice recognition can be realized through the voice recognition module loaded with the intelligent voice chip, the voice recognition and control can be realized without being connected to a cloud server, the dependence of the equipment control on the network can be removed, and the real-time performance and the recognition effect of the control can be guaranteed to the maximum extent, so that the intelligent voice chip of the terminal gradually becomes a main scheme of the voice recognition control.
The local voice recognition chip needs to load a voice recognition module in the equipment, and because voice products are diversified and voice control command words of different product types are different, software and firmware in the voice recognition module can be modified according to different products. Generally speaking, the capacity of the voice recognition software firmware is large, and the voice recognition software firmware is placed in a Flash memory built in a voice recognition chip inside the voice recognition module or a Flash memory chip externally connected with the voice recognition chip inside the voice recognition module.
When testing a local voice recognition chip, the general practice in the prior art is to store and burn a corresponding product test software firmware in a Flash memory in a voice recognition module to be tested, download a corresponding test program into test equipment, run the corresponding test program by the test equipment to play a corresponding test command word, send the test command word to the voice recognition module to be tested, feed back a result after the voice recognition module recognizes, and judge whether a module recognition function is correct and whether the burned software firmware is correct according to the result.
Because the command words of different products may be partially repeated, the same command word needs to be tested multiple times to distinguish different firmware during testing, thereby increasing the testing time cost of the module. Meanwhile, the voice recognition module often encounters a plurality of upgraded versions of firmware with the same command word but different command word confidence degrees, and at the moment, the old and new versions of firmware are difficult to distinguish by using a common test method, so that a module processing factory is easy to confuse the firmware with different versions and deliver the firmware, and extra loss and time waste are caused to product manufacturers. Finally, when different firmware is burned in the same module, the test program of the same module is different in terms of test command words, and therefore, when the module is used for mass production test, particularly when different firmware modules are tested at the same time, the test program in the test equipment needs to be frequently replaced, time waste is caused, and the situation that test problems are caused due to errors caused by manual replacement of the test program is easy to occur.
Disclosure of Invention
In order to overcome the defects in the existing voice recognition product testing process, the invention discloses a local voice recognition module production testing method.
The invention relates to a local voice recognition module production test method, which comprises the following steps:
s1, before testing, inputting the standard firmware version information of the firmware burned by the voice recognition module and the test program capable of running in the voice recognition chip in the voice recognition module into the test equipment;
s2, burning firmware in or out of a memory inside or outside a voice recognition chip in the voice recognition module to be tested by a batch mass production burning tool, and storing the running firmware version information of the burned firmware into the memory while burning; putting the voice recognition module to be tested into test equipment;
s3, electrifying the voice recognition module to be tested with the burned firmware to start testing, when the test program runs, firstly reading the version information of the running firmware from the memory, sending the version information to the test equipment, comparing the standard firmware version information and the version information of the running firmware stored in the test equipment by the test equipment, if the version information and the version information of the running firmware are the same, judging that the burning of the firmware is correct, and entering the step S4; if the firmware is different, judging the firmware burning error and reporting the error to stop;
and S4, after the test equipment judges that the firmware is burned correctly, the test equipment informs the test program, and the test program controls the to-be-tested voice recognition module to start the recognition function and informs the test equipment to test.
Preferably, it is characterized in that: the test of step S4 specifically includes:
after receiving the notification, the test equipment sends a command word fixed in the test program to the voice recognition module to be tested, and the voice recognition module to be tested receives the test command word, recognizes the command word and feeds back a recognition result to the test equipment; and the test equipment judges the result, if the identification is successful, the module test is passed, otherwise, the module test is not passed.
Preferably: the test program runs in a built-in SRAM of a voice recognition chip in the voice recognition module to be tested.
Preferably: the test program comprises only one command word test program.
Compared with the prior art, the local voice recognition module production test method has the following technical advantages:
the invention has the following advantages when being used for testing the local voice recognition chip:
1. the voice recognition module to be tested can be burned in advance and then tested without burning during testing, and burning cost of the module can be reduced and efficiency can be improved through large-scale burning of a professional mass production burning tool;
2. because the firmware corresponding to the firmware version information has uniqueness and the firmware is subjected to the command word function test before the production test, the command word and the version of the firmware can be confirmed as long as the firmware version information is matched; the problem that in the prior art, versions of firmware with the same command words and different functions are easy to be confused during recognition test can be solved;
3. the identification test is carried out through a certain fixed command word, and by combining with the firmware version characteristic information, only one command word can be tested to judge whether the identification function of the test module is normal or not, and the correctness of all the command words of the firmware can be ensured;
4. by using the method, the test programs loaded in the test equipment are the same when different modules of the same voice recognition chip are used and different firmware is burned for production test, so that the possibility of error caused by frequent replacement of the test programs manually is avoided, the error probability is reduced, and the test quality and effect are ensured.
Drawings
FIG. 1 is a schematic diagram of a specific working flow of a local speech recognition module production testing method according to the present invention.
FIG. 2 is a schematic diagram of an embodiment of a local speech recognition module production testing method according to the present invention.
Detailed Description
The following provides a more detailed description of the present invention.
Firmware version information is added to the voice firmware for testing, the firmware version information being updated as the firmware is updated.
The test equipment can communicate with the voice recognition module to be tested, can transmit a test program to a voice recognition chip in the voice recognition module to be tested, and can operate the test program in an SRAM (static random access memory) built in the voice recognition chip; considering that the SRAM inside a chip is generally small, a test program is usually set to only aim at one fixed command word according to the SRAM space inside a voice recognition chip, and different voice recognition modules can use the same test program for the same command word.
The testing device is a single chip system which is developed by using a microprocessor together with a memory, a switching circuit board, a module fixing jig, a control switch, an LED lamp and the like and can run a testing program, belongs to mature existing equipment, and can control a testing process, receive an operation instruction of a tester, execute a testing task, record and display a testing result.
One specific procedure for testing is as follows:
s1, before testing, inputting the standard firmware version information of the firmware burned by the voice recognition module and the test program capable of running in the voice recognition chip in the voice recognition module into the test equipment;
s2, placing the voice recognition module to be tested into a test device, wherein the voice recognition module to be tested can firstly burn the firmware of the Flash memory inside or outside the voice recognition chip in the module through a batch mass production burning tool, or can not burn the firmware firstly, and then burn the firmware after placing the voice recognition module into the test device; the running firmware version information of the burned firmware is consistent with the standard firmware version information burned into the test equipment in advance;
s3, after the module with the burned firmware is electrified and tested, the test equipment transmits the test program to the SRAM in the voice recognition chip in the voice recognition module to be tested and enables the test program to start running in the SRAM of the chip;
when the test program runs, firstly, the version information of the running firmware is taken out from the firmware burnt in the Flash memory and sent to the test equipment, the test equipment compares the standard firmware version information stored in the test equipment with the version information of the running firmware, if the standard firmware version information and the version information of the running firmware are the same, the burning of the firmware is judged to be correct, and the step S4 is entered; if the firmware is different, judging the firmware burning error and reporting the error to stop;
s4, after the test equipment judges that the firmware is burned correctly, the test equipment informs a test program, and the test program controls the to-be-tested voice recognition module to start the recognition function and informs the test equipment; and after receiving the notification, the test equipment sends a command word fixed in the test program to the voice recognition module to be tested, and the voice recognition module to be tested receives the test command word, recognizes the command word and feeds back a recognition result to the test equipment. The test equipment judges the result, if the identification is successful, the module passes the test, if the identification is unsuccessful, the module is prompted to identify a problem, and whether the identification is wrong due to the failure of a module hardware part or the welding and other problems can be checked.
The invention has the following advantages when being used for testing the local voice recognition chip:
1. the voice recognition module to be tested can be burned in advance and then tested without burning during testing, and burning cost of the module can be reduced and efficiency can be improved through large-scale burning of a professional mass production burning tool;
2. because the firmware corresponding to the firmware version information has uniqueness and the firmware is subjected to the command word function test before the production test, the command word and the version of the firmware can be confirmed as long as the firmware version information is matched; the problem that in the prior art, versions of firmware with the same command words and different functions are easy to be confused during recognition test can be solved;
3. the identification test is carried out through a certain fixed command word, and by combining with the firmware version characteristic information, only one command word can be tested to judge whether the identification function of the test module is normal or not, and the correctness of all the command words of the firmware can be ensured;
4. by using the method, the test programs loaded in the test equipment are the same when different modules of the same voice recognition chip are used and different firmware is burned for production test, so that the possibility of error caused by frequent replacement of the test programs manually is avoided, the error probability is reduced, and the test quality and effect are ensured.
One specific embodiment is as follows: and the production test is carried out on the CI1102 voice recognition module, a CI1102 voice recognition chip is adopted by a core voice recognition device, and the firmware is stored in a Flash storage chip arranged outside the chip. When firmware of certain equipment such as a voice air conditioner needs to be burned for the module, professional large-batch mass production Flash burning equipment such as an SPI Flash programmer SPI-100 burner and the like can be used for burning the firmware into a plurality of Flash chips in batch. The test equipment used for testing can be pre-loaded with a test program and standard firmware version information of the corresponding firmware of the test through an external TF card or a connected computer.
During testing, the CI1102 voice recognition module to be tested is placed on the testing equipment and is fixedly connected with the related device, after the testing function of the testing equipment is started, the testing equipment transmits a pre-loaded testing program to an SRAM (static random access memory) built in the CI1102 voice recognition chip in the voice recognition module to be tested, and the program starts to run in the SRAM of the chip; when the program runs, firstly obtaining running firmware version information of firmware stored in an external Flash storage chip through a CI1102 voice recognition chip, sending the running firmware version information to test equipment, comparing the test equipment with standard firmware version information corresponding to the test which is loaded in advance, judging that the firmware is correctly burned if the running firmware version information is the same as the standard firmware version information, and entering the next step; if the firmware is different, judging the firmware burning error and reporting the error;
after the test equipment judges that the firmware is correctly burned, the test equipment informs a test program running in the CI1102 voice recognition chip, and the test program controls the voice recognition module to be tested to start a recognition function and informs the test equipment; after receiving the notification, the test equipment sends a command word fixed in the test program, such as 'start recognition test', to the voice recognition module to be tested in the form of digital or analog signal, and the voice module to be tested receives the test command word, recognizes and feeds back the recognition result to the test equipment. The test equipment judges the result, if the identification is successful, the module passes the test, if the identification is unsuccessful, the module is prompted to identify a problem, and whether the identification is wrong due to the failure of a module hardware part or the welding and other problems can be checked.
The foregoing is a description of preferred embodiments of the present invention, and the preferred embodiments in the preferred embodiments may be combined and combined in any combination, if not obviously contradictory or prerequisite to a certain preferred embodiment, and the specific parameters in the examples and the embodiments are only for the purpose of clearly illustrating the inventor's invention verification process and are not intended to limit the patent protection scope of the present invention, which is defined by the claims and the equivalent structural changes made by the content of the description of the present invention are also included in the protection scope of the present invention.

Claims (4)

1. A local voice recognition module production test method is characterized by comprising the following steps:
s1, before testing, inputting the standard firmware version information of the firmware burned by the voice recognition module and the test program capable of running in the voice recognition chip in the voice recognition module into the test equipment;
s2, burning firmware in or out of a memory inside or outside a voice recognition chip in the voice recognition module to be tested by a batch mass production burning tool, and storing the running firmware version information of the burned firmware into the memory while burning; putting the voice recognition module to be tested into test equipment;
s3, electrifying the voice recognition module to be tested with the burned firmware to start testing, when the test program runs, firstly reading the version information of the running firmware from the memory, sending the version information to the test equipment, comparing the standard firmware version information and the version information of the running firmware stored in the test equipment by the test equipment, if the version information and the version information of the running firmware are the same, judging that the burning of the firmware is correct, and entering the step S4; if the firmware is different, judging the firmware burning error and reporting the error to stop;
and S4, after the test equipment judges that the firmware is burned correctly, the test equipment informs the test program, and the test program controls the to-be-tested voice recognition module to start the recognition function and informs the test equipment to test.
2. The local speech recognition module production test method of claim 1, wherein: the test of step S4 specifically includes:
after receiving the notification, the test equipment sends a command word fixed in the test program to the voice recognition module to be tested, and the voice recognition module to be tested receives the test command word, recognizes the command word and feeds back a recognition result to the test equipment; and the test equipment judges the result, if the identification is successful, the module test is passed, otherwise, the module test is not passed.
3. The local speech recognition module production test method of claim 1, wherein: the test program runs in a built-in SRAM of a voice recognition chip in the voice recognition module to be tested.
4. The local speech recognition module production test method of claim 1, wherein: the test program comprises only one command word test program.
CN202110322988.3A 2021-03-26 2021-03-26 Local voice recognition module production test method Pending CN112860582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110322988.3A CN112860582A (en) 2021-03-26 2021-03-26 Local voice recognition module production test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110322988.3A CN112860582A (en) 2021-03-26 2021-03-26 Local voice recognition module production test method

Publications (1)

Publication Number Publication Date
CN112860582A true CN112860582A (en) 2021-05-28

Family

ID=75993033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110322988.3A Pending CN112860582A (en) 2021-03-26 2021-03-26 Local voice recognition module production test method

Country Status (1)

Country Link
CN (1) CN112860582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188369A (en) * 2022-09-09 2022-10-14 北京探境科技有限公司 Voice recognition rate testing method, system, chip, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020094066A1 (en) * 1997-12-05 2002-07-18 Go Kato Speech recognition system capable of flexibly changing speech recognizing function without deteriorating quality of recognition result
CN105677418A (en) * 2016-01-08 2016-06-15 烽火通信科技股份有限公司 Method and system for achieving different voice protocols in access equipment
CN108170447A (en) * 2017-12-08 2018-06-15 摩比天线技术(深圳)有限公司 The on-line automatic method for burn-recording of chip and system
CN110264995A (en) * 2019-06-28 2019-09-20 百度在线网络技术(北京)有限公司 The tone testing method, apparatus electronic equipment and readable storage medium storing program for executing of smart machine
CN110446150A (en) * 2019-08-07 2019-11-12 厦门市思芯微科技有限公司 A kind of intelligence Wi-Fi speaker automated production test macro and method
CN110489136A (en) * 2019-08-07 2019-11-22 厦门市思芯微科技有限公司 A kind of production test system and method for Unionpay's cashing machine
CN111404733A (en) * 2020-03-06 2020-07-10 上海钧正网络科技有限公司 Firmware control method and system and storage medium
CN111966395A (en) * 2020-09-18 2020-11-20 苏州浪潮智能科技有限公司 Method and system for controlling product to use firmware version

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020094066A1 (en) * 1997-12-05 2002-07-18 Go Kato Speech recognition system capable of flexibly changing speech recognizing function without deteriorating quality of recognition result
CN105677418A (en) * 2016-01-08 2016-06-15 烽火通信科技股份有限公司 Method and system for achieving different voice protocols in access equipment
CN108170447A (en) * 2017-12-08 2018-06-15 摩比天线技术(深圳)有限公司 The on-line automatic method for burn-recording of chip and system
CN110264995A (en) * 2019-06-28 2019-09-20 百度在线网络技术(北京)有限公司 The tone testing method, apparatus electronic equipment and readable storage medium storing program for executing of smart machine
CN110446150A (en) * 2019-08-07 2019-11-12 厦门市思芯微科技有限公司 A kind of intelligence Wi-Fi speaker automated production test macro and method
CN110489136A (en) * 2019-08-07 2019-11-22 厦门市思芯微科技有限公司 A kind of production test system and method for Unionpay's cashing machine
CN111404733A (en) * 2020-03-06 2020-07-10 上海钧正网络科技有限公司 Firmware control method and system and storage medium
CN111966395A (en) * 2020-09-18 2020-11-20 苏州浪潮智能科技有限公司 Method and system for controlling product to use firmware version

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188369A (en) * 2022-09-09 2022-10-14 北京探境科技有限公司 Voice recognition rate testing method, system, chip, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN105912356B (en) A kind of optical module firmware program on-line upgrading method for supporting version rollback
CN110928556A (en) Automatic program burning method and device for railway vehicle, and testing method and system
CN108920168B (en) Bootloader method supporting simultaneous upgrading of multiple similar ECUs and having function of preventing program mismatching
CN107357694A (en) Error event reporting system and its method during startup self-detection
CN111831495A (en) Production automation test method and system
CN116580756B (en) Memory chip testing device
CN112860582A (en) Local voice recognition module production test method
CN113315675B (en) White box switch U-Boot automatic testing method, system and storage medium
CN101267645B (en) Automatic test method and system for service flow software development of W base station
CN112612500A (en) Method and device for upgrading BMC, electronic equipment and storage medium
CN117076214A (en) Method, system, terminal and medium for detecting dial fool-proof of hard disk backboard of server
CN111427604A (en) Remote software upgrading system and method based on functional mobile phone
CN114793196B (en) Firmware upgrading method, device, equipment and storage medium
CN116541026A (en) Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
CN115602242A (en) Storage device and test method thereof
CN110674038A (en) Method and device for classifying error information in software test
CN112015587A (en) Method and device for enhancing reliability of operating system
CN110764789B (en) Process control method and device, storage medium and electronic equipment
CN105740114A (en) Fault tolerance test method and apparatus for mobile terminal
CN117250482B (en) PCBA testing method, system and device based on Bluetooth interaction
CN115391179A (en) Automatic testing method for upgrading and downgrading and storage medium
CN114546516B (en) Automatic firmware switching method, storage medium and equipment in SSD production test
CN116860302A (en) Program upgrading method, upper computer and computer readable storage medium
CN117112443A (en) BootLoader test method, device and system
CN115550411A (en) Intelligent cabinet remote acceptance activation method and device, computer equipment 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528