CN113670643A - Intelligent air conditioner testing method and system - Google Patents

Intelligent air conditioner testing method and system Download PDF

Info

Publication number
CN113670643A
CN113670643A CN202111003199.XA CN202111003199A CN113670643A CN 113670643 A CN113670643 A CN 113670643A CN 202111003199 A CN202111003199 A CN 202111003199A CN 113670643 A CN113670643 A CN 113670643A
Authority
CN
China
Prior art keywords
identification code
air conditioner
self
controller
code
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.)
Granted
Application number
CN202111003199.XA
Other languages
Chinese (zh)
Other versions
CN113670643B (en
Inventor
郭海峰
王菁宇
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202111003199.XA priority Critical patent/CN113670643B/en
Publication of CN113670643A publication Critical patent/CN113670643A/en
Application granted granted Critical
Publication of CN113670643B publication Critical patent/CN113670643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/008Subject matter not provided for in other groups of this subclass by doing functionality tests
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Selective Calling Equipment (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides an intelligent air conditioner testing method and system, wherein the method comprises the following steps: scanning an identification code attached to the intelligent air conditioner by using a code scanning gun, and sending the scanned identification code to an upper computer; the upper computer judges the format of the identification code, and if the identification code meets the preset requirement, the identification code is sent to the micro control unit; the micro control unit divides the identification code into a plurality of sections of contents, codes the sections of contents according to the data coding mode of the air conditioner remote controller respectively to obtain a plurality of data packets, and sends the plurality of data packets to the intelligent air conditioner through the infrared code sending lamp; the controller of intelligence air conditioner carries out the analysis to a plurality of data packets and synthesizes the identification code, with the identification code storage to the memory in, starts the self-checking procedure in order to carry out the detection of a plurality of functions to intelligent air conditioner. The invention does not depend on router transmission, has higher reliability and can reduce the unstable condition of the network caused by the traditional wireless transmission.

Description

Intelligent air conditioner testing method and system
Technical Field
One or more embodiments of the present disclosure relate to the field of air conditioning technologies, and in particular, to an intelligent air conditioner testing method and system.
Background
In the production process of the existing intelligent air conditioner, different unique identification codes need to be written into each air conditioner and self-checking test is carried out. At present, a router is generally adopted to perform wireless connection on equipment, and an identification code is sent to an air conditioner to be written, but wireless communication is unstable, data loss is easily caused, and subsequent testing efficiency and testing quality are affected.
Disclosure of Invention
One or more embodiments of the present specification describe an intelligent air conditioner testing method and system.
According to a first aspect, there is provided an intelligent air conditioner testing method, comprising:
after the intelligent air conditioner is powered on, scanning an identification code attached to the intelligent air conditioner by using a code scanning gun, and sending the scanned identification code to an upper computer; the upper computer is connected with the code scanning gun;
after the upper computer receives the identification code, format judgment is carried out on the identification code, and if the identification code meets the preset requirement, the identification code is sent to a micro control unit; the micro control unit is connected with the upper computer in a serial port mode;
after receiving the identification code, the micro control unit splits the identification code into a plurality of sections of contents, encodes each section of contents according to a data encoding mode of an air conditioner remote controller to obtain a plurality of data packets, and sends the plurality of data packets to the intelligent air conditioner through an infrared code sending lamp; the infrared code sending lamp is connected with the micro control unit;
the controller of the intelligent air conditioner analyzes and synthesizes the data packets after receiving the data packets, stores the identification codes into a storage, and starts a self-checking program to detect the functions of the intelligent air conditioner.
According to a second aspect, there is provided an intelligent air conditioner testing system, comprising: sweep a yard rifle, host computer, little the control unit and infrared sign indicating number lamp of sending out, sweep a yard rifle with the host computer passes through wireless mode and connects, the host computer pass through the serial ports mode with little the control unit connects, little the control unit with infrared sign indicating number lamp connection of sending out, wherein:
sweep a yard rifle and be used for: scanning an identification code attached to the intelligent air conditioner, and sending the scanned identification code to the upper computer;
the upper computer is used for: after the identification code is received, carrying out format judgment on the identification code, and if the identification code meets the preset requirement, sending the identification code to the micro control unit;
the micro control unit is used for: after the identification code is received, the identification code is split into multiple sections of contents, the contents of the sections are coded according to the data coding mode of an air conditioner remote controller, a plurality of data packets are obtained, the data packets are sent to the intelligent air conditioner through the infrared code sending lamp, so that the controller of the intelligent air conditioner receives the data packets, analyzes and synthesizes the data packets, stores the identification code into a storage, and starts a self-checking program to detect the intelligent air conditioner in multiple functions.
According to the intelligent air conditioner testing method and system provided by the embodiment of the specification, the code scanning gun is used for scanning the identification code attached to the intelligent air conditioner, the identification code is sent to the upper computer, the upper computer judges that the identification code meets the preset requirement and then sends the identification code to the micro control unit, the micro control unit is used for segmenting and coding the identification code to obtain a plurality of data packets, and then the data packets are sent to the intelligent air conditioner through the infrared code sending lamp, so that the intelligent air conditioner writes the identification code and starts a self-checking program to perform self-checking. The invention provides a method for writing a corresponding identification code into each intelligent air conditioner and starting a self-checking test, which transmits a plurality of data packets corresponding to the identification code through an infrared code sending lamp, does not depend on router transmission, has relatively high reliability, can reduce the unstable condition of a network caused by traditional wireless transmission, has relatively simple operation, can reduce the learning cost of workers, and greatly improves the test efficiency and the test quality.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart of a method for testing an intelligent air conditioner according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an intelligent air conditioner testing system and an intelligent air conditioner in one embodiment of the present disclosure.
Detailed Description
The scheme provided by the specification is described below with reference to the accompanying drawings.
The invention provides an intelligent air conditioner testing method, as shown in figures 1 and 2, the method comprises the following steps:
s100, after the intelligent air conditioner is powered on, scanning an identification code attached to the intelligent air conditioner by using a code scanning gun, and sending the scanned identification code to an upper computer; the upper computer is connected with the code scanning gun;
the device used by the method provided by the invention comprises an upper computer, a micro control unit connected with the upper computer through a serial port, an infrared code sending lamp connected with the micro control unit and a code scanning gun wirelessly connected with the upper computer, and the code scanning gun can also be connected with the upper computer through a wire.
It can be understood that an identification code is attached to the intelligent air conditioner every day, and the identification code is written into the intelligent air conditioner. And scanning the identification code attached to the intelligent air conditioner by using a code scanning gun, and sending the scanned identification code to the upper computer.
S200, after receiving the identification code, the upper computer performs format judgment on the identification code, and if the identification code meets a preset requirement, the upper computer sends the identification code to a micro control unit; the micro control unit is connected with the upper computer in a serial port mode;
corresponding software is installed on the upper computer, format judgment can be carried out on the received identification code, and subsequent writing steps and self-checking programs can be executed only if the identification code meets preset requirements. The intelligent air conditioner is characterized in that multiple codes can be attached to the intelligent air conditioner, different codes correspond to different functions, and only identification codes need to be written into the intelligent air conditioner in the application for carrying out unique identification on the intelligent air conditioner.
Understandably, if the identification code does not meet the preset requirement, whether the code scanning gun is wrongly scanned or the intelligent air conditioner is wrongly pasted is checked. And if the identification code meets the preset requirement, the identification code is sent to the micro control unit.
S300, after receiving the identification code, the micro control unit divides the identification code into a plurality of sections of contents, codes the sections of contents according to the data coding mode of the air conditioner remote controller respectively to obtain a plurality of data packets, and sends the data packets to the intelligent air conditioner through an infrared code sending lamp; the infrared code sending lamp is connected with the micro control unit;
it can be understood that after the micro control unit receives the identification code, the identification code is sent to the intelligent air conditioner through the infrared code sending lamp, the identification code comprises numbers, letters and the like, and is possibly long, and the infrared code sending lamp cannot be sent at one time, so that the identification code needs to be segmented according to the requirement of the infrared code sending lamp on the length of sent data, and then each segment is coded according to the data coding mode of the air conditioner remote controller to obtain a plurality of corresponding data packets. The control mode of the air conditioner remote controller is actually to emit infrared rays, so that a data packet obtained by coding the data coding mode of the air conditioner remote controller conforms to the format requirement of the infrared code sending lamp on data sending. And then the micro control unit sends each data packet obtained by coding to the intelligent air conditioner through the infrared code sending lamp in sequence.
S400, after the controller of the intelligent air conditioner receives the data packets, the data packets are analyzed and synthesized to form the identification codes, the identification codes are stored in a storage, and a self-checking program is started to detect multiple functions of the intelligent air conditioner.
That is to say, after the intelligent air conditioner receives the data packets, the data packets are analyzed to obtain the segmented contents, the segmented contents are combined into the identification codes, the identification codes are stored in the memory, and after the writing operation of the identification codes is completed, the self-checking program is started to detect a plurality of functions of the intelligent air conditioner.
In specific implementation, the method provided by the invention can further comprise: the controller of intelligence air conditioner is starting after the self-checking procedure, will in the memory the identification code send to preset intelligent object in the intelligence air conditioner, control air conditioner display panel and show the self-checking code that corresponds to control after the self-checking is accomplished the self-checking result prompt code that shows correspondence on the air conditioner display panel.
After the controller of the intelligent air conditioner starts the self-checking program, a plurality of functions in the air conditioner are detected, for example, whether the communication between the controller and the plurality of functional modules is normal, whether various operation modes of the air conditioner are normal, and the like. After the identification code is sent to the intelligent module, the intelligent module also starts to perform self-checking to detect the function of the intelligent module, and after the self-checking is completed, the identification code is stored for machine identification and after-sale query after networking.
That is to say, open the self-checking back, still need to send the identification code in the memory to intelligent object, for example, voice module, WIFI module etc. show the self-checking code on the air conditioner display panel simultaneously, the self-checking code of each intelligent air conditioner is the same, and the effect of self-checking code is that tells staff intelligence air conditioner begins the self-checking. After the self-checking is completed, the self-checking is possible to be successful, the self-checking is possible to be failed, and no matter which result is successful, a self-checking result prompt code needs to be displayed on a display board to inform workers of success or failure of the self-checking result. The self-checking is successful, which indicates that a plurality of functions of the intelligent air conditioner are normal, and the self-checking failure indicates that at least one function of the intelligent air conditioner is abnormal and can not pass.
If the self-checking is successful, the self-checking result prompt code displayed on the air conditioner display board can be specifically the last three digits of the identification code, so that personnel can check the identification code attached to the intelligent air conditioner according to the last three digits. When the last three digits of the identification code are displayed on the air conditioner display board, the self-test is successful, and the subsequent verification process can be carried out. The checking mode is to judge whether the back three digits displayed on the display panel are consistent with the identification code attached to the intelligent air conditioner. Because there are many air conditioners on the production line, there is a possibility that the attached identification code and the written identification code are inconsistent, so there is a need to further perform consistency check on the last three digits and the identification code attached to the intelligent air conditioner, and only if the two digits are consistent, it is determined that there is no problem to write the identification code into the intelligent air conditioner.
And if the self-checking fails, the self-checking result prompt code displayed on the air conditioner display board is a self-checking failure code so as to remind personnel of performing hardware checking on the intelligent air conditioner. If the self-checking failure code displayed on the display panel indicates that the self-checking fails, the staff is reminded to carry out hardware checking, the hardware corresponding to which function has problems is checked, and the identification code writing and self-checking are carried out again after the maintenance.
Of course, there is a case that the identification code is not successfully stored in the memory after the intelligent air conditioner receives the identification code, for example, when the identification code stored in the memory is sent to the intelligent module, it is found that the identification code cannot be found in the memory, which indicates that the controller of the intelligent air conditioner does not successfully store the identification code in the memory. At this time, corresponding information needs to be displayed on the air conditioner display panel to remind the staff.
That is, the method provided by the present invention may further include:
if the controller of the intelligent air conditioner does not detect the identification code in the memory when the controller of the intelligent air conditioner sends the identification code in the memory to the preset intelligent module, prompt information of error receiving of the identification code is displayed on the air conditioner display board. For example, an identification error code is displayed on the air conditioner display panel to inform the operator of the failure of storing the identification code.
Because contain a plurality of intelligent module in the intelligence air conditioner, the self-checking procedure diverse of different intelligent module, for example, to the WIFI module, its self-checking process roughly can include: the WiFi module scans and connects routers in the surrounding environment after receiving the identification code, if the WiFi module is connected to a preset router and the signal intensity between the WiFi module and the preset router is greater than preset intensity, the self-checking result of the WiFi module is successful, and the self-checking result is fed back to the controller.
That is to say, when the WIFI module begins the self-checking after receiving the identification code, the self-checking process is: the router in the surrounding environment is scanned, a certain fixed router can be connected, if the WIFI module can be connected and the signal intensity between the WIFI module and the router is strong, the fact that the radio frequency function of the WIFI module is not problematic is shown, the self-checking of the WIFI module is successful, and then the controller WIFI module is informed that the self-checking is successful.
In specific implementation, a self-checking program is installed on the upper computer and used for carrying out format judgment on the identification code and detecting multiple functions of the air conditioner; wherein the process of presetting the format of the identification code comprises the following steps: presetting the version number of the identification code; the process of the self-checking program for carrying out format detection on the identification code comprises the following steps:
acquiring a first parameter, a second parameter and a third parameter corresponding to the identification code; the first parameter represents the length of the identification code, the second parameter represents the number of character types in the identification code, and the third parameter represents the type identification of the last three-digit character of the identification code;
inputting the first parameter, the second parameter and the third parameter into a first formula to obtain a version identifier; the first formula includes: p ═ ax + by + cz, where p is the version identifier, x is the length, y is the number, z is the type identifier of the last three-digit character, a is 100 × N, b is 10 × N, c is N, and N is a positive integer greater than or equal to 1 and less than or equal to 9;
according to the version identification, searching a corresponding version number in a preset data table, and if the searched version number is consistent with a preset version number, successfully detecting the format of the identification code; the preset data table stores mapping relations between a plurality of version identifications and a plurality of version numbers.
It can be understood that the identification code may have different versions, so that the information such as the composition, the length and the like of the identification code may be different, and the worker is difficult to control the format of the identification code of each version, so that when the identification code is preset on the upper computer, the worker only needs to set the version of the current identification code. And judging whether the obtained identification code conforms to the format corresponding to the set version by a self-checking program on the upper computer.
Specifically, the self-checking program identifies the identification code obtained by scanning the code by the code scanning gun and acquires three parameters corresponding to the identification code, so that the length of the identification code, the number of character types and the type identifier of the last three digits can be known, and it can be understood that different types correspond to different identifiers, for example, the type identifier corresponding to the letter is 1, the type identifier corresponding to the numeric character is 2, the type identifier corresponding to the special character is 3, and the like. Then, the three parameters are input into the first formula p ═ ax + by + cz, so that the corresponding version identifier can be obtained. For example, if the length is 7 bits, the number of types is 3, and the type identifier of the last three bits is 1, the version identifier obtained after the input to the first formula is p is 731, the corresponding version number is searched in the preset data table according to the version identifier 731, if the corresponding version number can be found and the found version number is consistent with the preset version number, the identification code is considered to be in accordance with the format requirement, and if the corresponding version number is not found or the found version number is not consistent with the preset version number, the format of the identification code is considered to be not in accordance with the format requirement.
Therefore, by the mode, the worker does not need to set the format of the identification code on the upper computer, only the version number needs to be set, the requirement on the worker can be greatly reduced, and the detection efficiency and quality are greatly improved.
In specific implementation, the intelligent module further includes a voice module, and the self-checking process of the voice module includes the following steps S110 to S170:
s110, the controller plays a wake-up word;
the awakening word is used for awakening the voice module so that the voice module enters an awakening state. And when the voice module is in an awakening state, testing the voice module. For example, the controller plays the wake word "samll classmate".
It will be appreciated that the controller of the present invention has or is connected to a microphone arrangement.
S120, the voice module identifies the monitored awakening word, enters an awakening state after the awakening word is successfully identified, plays response voice corresponding to the awakening word, and sends a first reminding message to the controller after the response voice is played, wherein the first reminding message is used for indicating that the response voice corresponding to the awakening word is played;
that is to say, after the controller plays the wake-up word, the voice module identifies the wake-up word that is monitored, and after the wake-up word is identified, the state to be woken up enters the wake-up state. When the voice module enters the wake-up state, the response voice is played, for example, the wake-up word played by the controller for the air conditioner is "samll classmate", and the response voice played by the voice module is "on". After the response voice is played, the voice module sends a first reminding message like the controller, so that the controller is informed that the response voice corresponding to the awakening word is played completely.
S130, if the controller receives the first reminding message, entering S140;
when the controller receives the first reminding message, the voice module enters the awakening state at the moment, and the command word can be played at the moment.
S140, the controller plays command words;
the command words may include "raise the temperature", "turn on the dehumidification mode", "turn on the cooling mode", "turn down the temperature to 25 °, and the like. A plurality of command words may be preset, then the following test is performed for each command word, and after one command word is successfully tested, the test of the next command word is performed until all the command words are tested.
S150, the voice module identifies the monitored command word, sends an identification result to the controller, plays a response voice corresponding to the command word, and sends a second reminding message to the controller after the response voice is played, wherein the second reminding message is used for indicating that the response voice corresponding to the command word is played;
that is to say, after the voice module monitors the command word, the recognition is performed, the recognition result is sent to the controller, then the corresponding response voice is played, and after the response voice is played, a second reminding message is sent to the controller, so that the controller is informed that the response voice corresponding to the command word is played completely.
S160, if the controller receives the recognition result and the second reminding message, judging whether the timestamp corresponding to the recognition result meets a preset condition, if so, enabling the test process corresponding to the current command word to be effective, storing the recognition result, and returning to S140 to play the next command word; the preset conditions include: the timestamp corresponding to the recognition result is greater than the timestamp corresponding to the command word when the command word is completely played and is less than the timestamp corresponding to the second reminding message; each piece of interaction information between the controller and the voice module comprises a corresponding timestamp;
it can be understood that, because the controller plays the command word first, then the voice module sends the recognition result, and sends the second reminding message after the recognition result is sent, the timestamp corresponding to the recognition result should be larger than the timestamp corresponding to the command word when the command word is played and smaller than the timestamp corresponding to the second reminding message, if this condition is not met, it indicates that the played command word, the recognition result, or the second reminding message are not corresponding, and may be the recognition result, the second reminding message, etc. caused after the recognition of the interference noise, so the preset condition is adopted for judgment here.
If the preset conditions are met, the test according to the current command word is effective, and the recognition result can be recorded. The validity is not that the recognition result is correct, and the correctness of the recognition result is not judged, and only the valid test is screened out, and only the recognition result corresponding to the valid test has significance, so that the correctness of the recognition result can be further distinguished after all the command word tests are completed, and the recognition accuracy of the voice module is further determined.
S170, after the test of all the command words is finished, the controller determines the recognition accuracy of the voice module according to the recognition results corresponding to all the effective test processes.
That is, after the test of all command words is completed, the recognition result of the effective test can be correctly or incorrectly recognized, and the recognition accuracy of the voice module can be further calculated. After the recognition accuracy is obtained through calculation, the controller can display the result on the display panel, and a worker can classify and mark the performance grade of the air-conditioning voice module according to the recognition accuracy.
In a specific implementation, the self-checking process of the voice module may further include: if the controller receives any message returned by the voice module in the process of playing the awakening word or the command word, the playing is stopped, the any message is recorded as an interference invalid message, and the message returns to S110 to be awakened again and tested according to the current command word.
That is to say, in the process of playing the wakeup word or the command word, the controller receives a message returned by the voice module, which indicates that the message returned by the voice module is not a feedback made for the command word or the play word played by the controller at this time, and it is likely that the voice module recognizes the interference noise in the noisy environment and sends a feedback message, so that at this time, the play process needs to be stopped, and the controller returns to S110 to wake up again and test the current command word again.
In specific implementation, the voice module may be in a single-turn voice mode; the single-round voice mode is: after the voice module is awakened, the controller plays a command word, the voice module exits the awakening state after recognizing and sending related information, and the next command word needs to be awakened again. At this time, the S150 may further include: after sending the second reminding message, the voice module exits the wakeup state, and sends an exit wakeup message for indicating that the voice module exits the wakeup state to the controller, so that the controller returns to S110 to wake up again when testing the next command word or testing the current command word again.
The voice module can send an exit wakeup message to inform the controller when exiting the wakeup state. When the controller knows that the voice module is in the single-round mode and receives the exit wakeup message, the controller can perform wakeup again when needing to enter the test of the next command word or perform the test on the current command word again.
It can be understood that the controller and the voice module can be connected through a serial port, a test program on the controller plays preset wake-up words and command words according to configuration data, and receives feedback information from the voice module through the serial port, such as a recognition result, a reminding message, an exit wake-up message, and the like. And further, the messages are analyzed to determine an effective recognition result, and the recognition rate of the voice module can be judged according to the correctness of the effective recognition result.
The voice module monitors the awakening words and the command words played by the controller, identifies the awakening words and the command words, and then sends an identification result, a reminding message and the like to the controller.
In practice, in a test environment with background noise, a speech module with poor recognition capability has poor noise and test sound distinguishing capability, so that noise interference is often received, the tested recognition rate is different from the real recognition rate of the speech module, the accuracy of the tested recognition rate is low, the reference value is low, and the speech module is subjected to false evaluation. According to the invention, the timestamp is added into the interactive message, whether the preset condition is met is judged according to the timestamp, whether the identification result is an interference identification result or an effective identification result is further judged, whether the identification is correct or not can be subsequently judged according to the effective identification result, so that the interference identification result is prevented from reducing the overall identification rate, especially for the voice module with poor identification capability, the accuracy of testing the identification rate can be greatly improved, and the voice module with poor identification capability is greatly influenced by noise interference.
In a test environment with background noise, there is a problem that, for example, after the controller wakes up the voice module, the voice module recognizes interference noise and enters a response voice state, and in this state, some voice modules may turn off the microphone, which results in that the voice module cannot monitor the voice played by the controller, and the voice module cannot feed back a corresponding message, resulting in a test failure. This problem is caused by a mismatch of the two states. According to the invention, the timestamp is added in the message, and various interactive messages such as the first reminding message and the second reminding message are set, so that the interactive states of the first reminding message and the second reminding message are matched, the situation that the voice module cannot monitor the voice module when the controller plays the voice is greatly reduced, and the test process is smoothly executed.
According to the intelligent air conditioner testing method provided by the invention, the code scanning gun is used for scanning the identification code attached to the intelligent air conditioner, so that the identification code is sent to the upper computer, the upper computer is sent to the micro control unit after judging that the identification code meets the preset requirement, the micro control unit is used for segmenting and coding the identification code to obtain a plurality of data packets, and the data packets are sent to the intelligent air conditioner through the infrared code sending lamp, so that the intelligent air conditioner writes in the identification code and starts a self-checking program to perform self-checking. The invention provides a method for writing a corresponding identification code into each intelligent air conditioner and starting a self-checking test, which transmits a plurality of data packets corresponding to the identification code through an infrared code sending lamp, does not depend on router transmission, has relatively high reliability, can reduce the unstable condition of a network caused by traditional wireless transmission, has relatively simple operation, can reduce the learning cost of workers, and greatly improves the test efficiency and the test quality.
In a second aspect, the present invention provides an intelligent air conditioner testing system, including: sweep a yard rifle, host computer, little the control unit and infrared sign indicating number lamp of sending out, sweep a yard rifle with the host computer passes through wireless mode and connects, the host computer pass through the serial ports mode with little the control unit connects, little the control unit with infrared sign indicating number lamp connection of sending out, wherein:
sweep a yard rifle and be used for: scanning an identification code attached to the intelligent air conditioner, and sending the scanned identification code to the upper computer;
the upper computer is used for: after the identification code is received, carrying out format judgment on the identification code, and if the identification code meets the preset requirement, sending the identification code to the micro control unit;
the micro control unit is used for: after the identification code is received, the identification code is split into multiple sections of contents, the contents of the sections are coded according to the data coding mode of an air conditioner remote controller, a plurality of data packets are obtained, the data packets are sent to the intelligent air conditioner through the infrared code sending lamp, so that the controller of the intelligent air conditioner receives the data packets, analyzes and synthesizes the data packets, stores the identification code into a storage, and starts a self-checking program to detect the intelligent air conditioner in multiple functions.
It can be understood that the intelligent air conditioner testing system provided by the second aspect corresponds to the intelligent air conditioner testing method provided by the first aspect, and for explanation, examples, beneficial effects, specific implementation, and the like of relevant contents, reference may be made to corresponding parts in the first aspect, and details are not described here.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this disclosure may be implemented in hardware, software, hardware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. An intelligent air conditioner testing method is characterized by comprising the following steps:
after the intelligent air conditioner is powered on, scanning an identification code attached to the intelligent air conditioner by using a code scanning gun, and sending the scanned identification code to an upper computer; the upper computer is connected with the code scanning gun;
after the upper computer receives the identification code, format judgment is carried out on the identification code, and if the identification code meets the preset requirement, the identification code is sent to a micro control unit; the micro control unit is connected with the upper computer in a serial port mode;
after receiving the identification code, the micro control unit splits the identification code into a plurality of sections of contents, encodes each section of contents according to a data encoding mode of an air conditioner remote controller to obtain a plurality of data packets, and sends the plurality of data packets to the intelligent air conditioner through an infrared code sending lamp; the infrared code sending lamp is connected with the micro control unit;
the controller of the intelligent air conditioner analyzes and synthesizes the data packets after receiving the data packets, stores the identification codes into a storage, and starts a self-checking program to detect the functions of the intelligent air conditioner.
2. The method of claim 1, further comprising:
the controller of intelligence air conditioner is starting after the self-checking procedure, will in the memory the identification code send to preset intelligent object in the intelligence air conditioner, control air conditioner display panel and show the self-checking code that corresponds to control after the self-checking is accomplished the self-checking result prompt code that shows correspondence on the air conditioner display panel.
3. The method as claimed in claim 2, wherein the controlling the air conditioner display panel to display a corresponding self-test result prompt code after the self-test is completed comprises:
if the self-checking is successful, the prompt code of the self-checking result displayed on the air conditioner display board is the last three digits of the identification code, so that personnel can check the identification code attached to the intelligent air conditioner according to the last three digits;
and if the self-checking fails, the self-checking result prompt code displayed on the air conditioner display board is a self-checking failure code so as to remind personnel to perform hardware checking on the intelligent air conditioner.
4. The method of claim 2, further comprising:
if the controller of the intelligent air conditioner does not detect the identification code in the memory when the controller of the intelligent air conditioner sends the identification code in the memory to the preset intelligent module, prompt information of error receiving of the identification code is displayed on the air conditioner display board.
5. The method of claim 1, wherein the smart module comprises a WIFI module, and wherein the WIFI module's self-test process comprises: the WiFi module scans and connects routers in the surrounding environment after receiving the identification code, if the WiFi module is connected to a preset router and the signal intensity between the WiFi module and the preset router is greater than preset intensity, the self-checking result of the WiFi module is successful, and the self-checking result is fed back to the controller.
6. The method according to claim 1, characterized in that a self-checking program is installed on the upper computer, and the self-checking program is used for carrying out format judgment on the identification code and detecting a plurality of functions of the air conditioner; wherein the process of presetting the format of the identification code comprises the following steps: presetting the version number of the identification code; the process of the self-checking program for carrying out format detection on the identification code comprises the following steps:
acquiring a first parameter, a second parameter and a third parameter corresponding to the identification code; the first parameter represents the length of the identification code, the second parameter represents the number of character types in the identification code, and the third parameter represents the type identification of the last three-digit character of the identification code;
inputting the first parameter, the second parameter and the third parameter into a first formula to obtain a version identifier; the first formula includes: p ═ ax + by + cz, where p is the version identifier, x is the length, y is the number, z is the type identifier of the last three-digit character, a is 100 × N, b is 10 × N, c is N, and N is a positive integer greater than or equal to 1 and less than or equal to 9;
according to the version identification, searching a corresponding version number in a preset data table, and if the searched version number is consistent with a preset version number, successfully detecting the format of the identification code; the preset data table stores mapping relations between a plurality of version identifications and a plurality of version numbers.
7. The method of claim 6, wherein the intelligent module comprises a voice module, and wherein the self-test process of the voice module comprises:
s110, the controller plays a wake-up word;
s120, the voice module identifies the monitored awakening word, enters an awakening state after the awakening word is successfully identified, plays response voice corresponding to the awakening word, and sends a first reminding message to the controller after the response voice is played, wherein the first reminding message is used for indicating that the response voice corresponding to the awakening word is played;
s130, if the controller receives the first reminding message, entering S140;
s140, the controller plays command words;
s150, the voice module identifies the monitored command word, sends an identification result to the controller, plays a response voice corresponding to the command word, and sends a second reminding message to the controller after the response voice is played, wherein the second reminding message is used for indicating that the response voice corresponding to the command word is played;
s160, if the controller receives the recognition result and the second reminding message, judging whether the timestamp corresponding to the recognition result meets a preset condition, if so, enabling the test process corresponding to the current command word to be effective, storing the recognition result, and returning to S140 to play the next command word; the preset conditions include: the timestamp corresponding to the recognition result is greater than the timestamp corresponding to the command word when the command word is completely played and is less than the timestamp corresponding to the second reminding message; each piece of interaction information between the controller and the voice module comprises a corresponding timestamp;
s170, after the test of all the command words is finished, the controller determines the recognition accuracy of the voice module according to the recognition results corresponding to all the effective test processes.
8. The method of claim 7, wherein the self-test procedure of the speech module further comprises: if the controller receives any message returned by the voice module in the process of playing the awakening word or the command word, the playing is stopped, the any message is recorded as an interference invalid message, and the message returns to S110 to be awakened again and tested according to the current command word.
9. The method of claim 7, wherein the voice module is a single-turn voice mode; the S150 further includes: after sending the second reminding message, the voice module exits the wakeup state, and sends an exit wakeup message for indicating that the voice module exits the wakeup state to the controller, so that the controller returns to S110 to wake up again when testing the next command word or testing the current command word again.
10. The utility model provides an intelligence air conditioner test system which characterized in that includes: sweep a yard rifle, host computer, little the control unit and infrared sign indicating number lamp of sending out, sweep a yard rifle with the host computer passes through wireless mode and connects, the host computer pass through the serial ports mode with little the control unit connects, little the control unit with infrared sign indicating number lamp connection of sending out, wherein:
sweep a yard rifle and be used for: scanning an identification code attached to the intelligent air conditioner, and sending the scanned identification code to the upper computer;
the upper computer is used for: after the identification code is received, carrying out format judgment on the identification code, and if the identification code meets the preset requirement, sending the identification code to the micro control unit;
the micro control unit is used for: after the identification code is received, the identification code is split into multiple sections of contents, the contents of the sections are coded according to the data coding mode of an air conditioner remote controller, a plurality of data packets are obtained, the data packets are sent to the intelligent air conditioner through the infrared code sending lamp, so that the controller of the intelligent air conditioner receives the data packets, analyzes and synthesizes the data packets, stores the identification code into a storage, and starts a self-checking program to detect the intelligent air conditioner in multiple functions.
CN202111003199.XA 2021-08-30 2021-08-30 Intelligent air conditioner testing method and system Active CN113670643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111003199.XA CN113670643B (en) 2021-08-30 2021-08-30 Intelligent air conditioner testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111003199.XA CN113670643B (en) 2021-08-30 2021-08-30 Intelligent air conditioner testing method and system

Publications (2)

Publication Number Publication Date
CN113670643A true CN113670643A (en) 2021-11-19
CN113670643B CN113670643B (en) 2023-05-12

Family

ID=78547330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111003199.XA Active CN113670643B (en) 2021-08-30 2021-08-30 Intelligent air conditioner testing method and system

Country Status (1)

Country Link
CN (1) CN113670643B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302425A (en) * 2021-12-21 2022-04-08 深圳Tcl新技术有限公司 Equipment network distribution method and device, storage medium and electronic equipment
CN115083136A (en) * 2022-06-22 2022-09-20 珠海格力电器股份有限公司 Remote control signal processing method and device, storage medium and controller
CN117452121A (en) * 2023-10-30 2024-01-26 乐沪电子有限公司 Method, device and computer storage medium for testing electronic product through code scanner

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2233019A1 (en) * 1997-03-24 1998-09-24 Octel Communications Corporation Speech-responsive voice messaging system and method
GB2376335A (en) * 2001-06-28 2002-12-11 Vox Generation Ltd Address recognition using an automatic speech recogniser
JP2004259208A (en) * 2003-02-27 2004-09-16 Softchina Japan Corp Automatic input program for id and password or the like and recording medium
CN101795229A (en) * 2009-01-30 2010-08-04 帕洛阿尔托研究中心公司 Be used to transmit the system of grouping with hierarchically structured variable-length identifier
CN101819602A (en) * 2010-05-07 2010-09-01 北京飞天诚信科技有限公司 Method for implementing data file engine
CN105606387A (en) * 2016-01-04 2016-05-25 青岛海尔空调器有限总公司 Factory detection method and system for indoor unit of air conditioner
CN107449624A (en) * 2017-07-19 2017-12-08 上海沪工汽车电器有限公司 A kind of vehicular air purifier method of testing
CN107465938A (en) * 2016-06-06 2017-12-12 北京优朋普乐科技有限公司 The method, apparatus and media server system of a kind of media preview
CN108566549A (en) * 2018-03-22 2018-09-21 北京四达时代软件技术股份有限公司 The method of calibration and device of set-top box device parameter information
CN109099974A (en) * 2018-09-28 2018-12-28 天津斌德鑫力电子科技有限公司 A kind of railway vehicle air conditioner automatic checkout system
US20190214111A1 (en) * 2016-10-11 2019-07-11 Genomsys Sa Method and systems for the representation and processing of bioinformatics data using reference sequences
CN209247976U (en) * 2018-12-19 2019-08-13 四川虹美智能科技有限公司 A kind of test fixture of printed circuit board
CN112393935A (en) * 2020-11-23 2021-02-23 深圳市金凯博自动化测试有限公司 Air conditioner indoor unit test system
CN113140053A (en) * 2021-04-29 2021-07-20 四川虹美智能科技有限公司 Automatic code scanning test system and method based on annular dynamic line

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2233019A1 (en) * 1997-03-24 1998-09-24 Octel Communications Corporation Speech-responsive voice messaging system and method
GB2376335A (en) * 2001-06-28 2002-12-11 Vox Generation Ltd Address recognition using an automatic speech recogniser
JP2004259208A (en) * 2003-02-27 2004-09-16 Softchina Japan Corp Automatic input program for id and password or the like and recording medium
CN101795229A (en) * 2009-01-30 2010-08-04 帕洛阿尔托研究中心公司 Be used to transmit the system of grouping with hierarchically structured variable-length identifier
CN101819602A (en) * 2010-05-07 2010-09-01 北京飞天诚信科技有限公司 Method for implementing data file engine
CN105606387A (en) * 2016-01-04 2016-05-25 青岛海尔空调器有限总公司 Factory detection method and system for indoor unit of air conditioner
CN107465938A (en) * 2016-06-06 2017-12-12 北京优朋普乐科技有限公司 The method, apparatus and media server system of a kind of media preview
US20190214111A1 (en) * 2016-10-11 2019-07-11 Genomsys Sa Method and systems for the representation and processing of bioinformatics data using reference sequences
CN110114830A (en) * 2016-10-11 2019-08-09 基因组***公司 Method and system for biological data index
CN107449624A (en) * 2017-07-19 2017-12-08 上海沪工汽车电器有限公司 A kind of vehicular air purifier method of testing
CN108566549A (en) * 2018-03-22 2018-09-21 北京四达时代软件技术股份有限公司 The method of calibration and device of set-top box device parameter information
CN109099974A (en) * 2018-09-28 2018-12-28 天津斌德鑫力电子科技有限公司 A kind of railway vehicle air conditioner automatic checkout system
CN209247976U (en) * 2018-12-19 2019-08-13 四川虹美智能科技有限公司 A kind of test fixture of printed circuit board
CN112393935A (en) * 2020-11-23 2021-02-23 深圳市金凯博自动化测试有限公司 Air conditioner indoor unit test system
CN113140053A (en) * 2021-04-29 2021-07-20 四川虹美智能科技有限公司 Automatic code scanning test system and method based on annular dynamic line

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302425A (en) * 2021-12-21 2022-04-08 深圳Tcl新技术有限公司 Equipment network distribution method and device, storage medium and electronic equipment
CN114302425B (en) * 2021-12-21 2024-06-04 深圳Tcl新技术有限公司 Equipment network distribution method and device, storage medium and electronic equipment
CN115083136A (en) * 2022-06-22 2022-09-20 珠海格力电器股份有限公司 Remote control signal processing method and device, storage medium and controller
CN117452121A (en) * 2023-10-30 2024-01-26 乐沪电子有限公司 Method, device and computer storage medium for testing electronic product through code scanner
CN117452121B (en) * 2023-10-30 2024-05-24 乐沪电子有限公司 Method, device and computer storage medium for testing electronic product through code scanner

Also Published As

Publication number Publication date
CN113670643B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN113670643A (en) Intelligent air conditioner testing method and system
CN107808430B (en) Computer readable storage medium, fault detection method and device
CN111562933B (en) Air conditioner upgrading method and air conditioner system
CN105805893A (en) Fault detecting method and device for air conditioner
CN104601402A (en) Online detecting method and device for Internet of Things functionality of Internet of Things household appliances
US20240140146A1 (en) Tire Pressure Sensor Information Processing Method and Apparatus, and Device
CN112289345B (en) Visual intelligent terminal voice diagnosis method
CN111343300A (en) Address automatic allocation method and communication system
CN113225232B (en) Hardware testing method and device, computer equipment and storage medium
CN112630499A (en) Locomotive signal warehouse-in and warehouse-out automatic detection system, communication process thereof and test process thereof
JPH03501913A (en) Data transmission method between transmitter and receiver
CN113590399A (en) Automatic testing system and method for vehicle-mounted voice
CN113140217B (en) Voice instruction testing method, testing device and readable storage medium
CN110907801A (en) PCB testing method and device
CN113127789A (en) Intelligent supervising method and system for home operation and electronic equipment
CN106372687A (en) Distribution network automatic detection method and system
CN112373419A (en) Automatic test system and method for vehicle-mounted multimedia offline configuration function
CN110632420A (en) RTC (real time clock) module testing method and device and multi-module automatic testing method and device for Android equipment production
CN113129810B (en) Interface matching detection method and system
CN110077181A (en) A kind of wireless coalignment of Tire Pressure Monitor System
CN117912501A (en) Automatic test method and system for audio of aircraft
KR102106591B1 (en) System for diagnosing power comsumption based big data
CN111769893B (en) Signal processing method and device
CN114973630B (en) Anti-interference execution method, device, equipment and storage medium for infrared signal instruction
US20240190186A1 (en) System and method for setting tire sensor identification code

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
GR01 Patent grant
GR01 Patent grant