CN112382288A - Method and system for debugging equipment by voice, computer equipment and storage medium - Google Patents

Method and system for debugging equipment by voice, computer equipment and storage medium Download PDF

Info

Publication number
CN112382288A
CN112382288A CN202011255980.1A CN202011255980A CN112382288A CN 112382288 A CN112382288 A CN 112382288A CN 202011255980 A CN202011255980 A CN 202011255980A CN 112382288 A CN112382288 A CN 112382288A
Authority
CN
China
Prior art keywords
debugging
voice
equipment
debugged
segment
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
CN202011255980.1A
Other languages
Chinese (zh)
Other versions
CN112382288B (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.)
Hunan Changde Water Meter Manufacture Co Ltd
Original Assignee
Hunan Changde Water Meter Manufacture 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 Hunan Changde Water Meter Manufacture Co Ltd filed Critical Hunan Changde Water Meter Manufacture Co Ltd
Priority to CN202011255980.1A priority Critical patent/CN112382288B/en
Publication of CN112382288A publication Critical patent/CN112382288A/en
Application granted granted Critical
Publication of CN112382288B publication Critical patent/CN112382288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/225Feedback of the input speech

Abstract

The application relates to a method, a system, a computer device and a storage medium for debugging equipment by voice, wherein the method comprises the following steps: receiving debugging voice in the parameter debugging process by acquiring the awakening voice and entering a parameter debugging mode; performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character; receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged. The embodiment of the invention adopts the method of modifying the parameters of the acquisition equipment by intelligent voice, which can ensure the stability and convenience of the parameters of the equipment, and has very convenient operation and time saving.

Description

Method and system for debugging equipment by voice, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a system for debugging a device using voice, a computer device, and a storage medium.
Background
The traditional acquisition equipment debugging method needs to set relevant parameters for equipment on site by means of a serial port debugging tool, but when the debugging tool is damaged due to improper use, the setting work of the current equipment can not be finished due to the lack of the tool, so that the debugging task cannot be finished, and the working efficiency and experience are influenced. In addition, most of the current acquisition devices need to be connected with a computer by virtue of a serial port tool for operation during debugging and parameter setting, and particularly when the serial port tool is damaged, debugging can not be carried out basically, and meanwhile, if the devices are installed in the device box, the devices in the device box need to be disassembled, so that debugging is troublesome. How to debug in some devices which often need serial port debugging quickly and conveniently without connecting debugging tools such as computers and the like, further technical innovation is needed at present.
Disclosure of Invention
In view of the above, it is necessary to provide a method, a system, a computer device and a storage medium for a voice debugging device.
In a first aspect, an embodiment of the present invention provides a method for debugging a device in voice, including the following steps:
acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process;
performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character;
receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
Further, the acquiring the wake-up voice and entering a parameter debugging mode, and receiving the debugging voice in the parameter debugging process includes:
receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
Further, the receiving the single segment of words and converting the single segment of words into digital signals, and comparing the preset debugging data with the digital signals includes:
converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals;
converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal;
and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
Further, the step of sending the digital signals with consistent contrast to a debugging processing center of the device to be debugged, and feeding back the debugging state of the device to be debugged according to the debugging result of the device to be debugged includes:
classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
On the other hand, an embodiment of the present invention further provides a system for debugging a device in voice, including:
the voice acquisition module is used for acquiring the awakening voice, entering a parameter debugging mode and receiving the debugging voice in the parameter debugging process;
the voice recognition module is used for carrying out audio frequency cutting on the debugging voice, carrying out voice conversion on the cut single-segment audio frequency and converting the single-segment audio frequency into a single-segment character;
the data processing module is used for receiving the single segment of characters, converting the single segment of characters into digital signals and comparing the digital signals with preset debugging data;
and the debugging response module is used for sending the digital signals with consistent contrast to a debugging processing center of the equipment to be debugged and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
Further, the voice acquisition module comprises a voice wake-up unit, and the voice wake-up unit is configured to:
receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
Further, the data processing module includes a debugging serial port unit, and the debugging serial port unit is used for:
converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals;
converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal;
and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
Further, the debug response module includes a feedback indication unit, and the feedback indication unit is configured to:
classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the following steps are implemented:
acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process;
performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character;
receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process;
performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character;
receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
The beneficial effect of this application is: according to the method, the system, the computer equipment and the storage medium for debugging the equipment by voice, the debugging voice in the parameter debugging process is received by acquiring the awakening voice and entering the parameter debugging mode; performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character; receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged. The embodiment of the invention adopts the method for modifying the parameters of the acquisition equipment by intelligent voice, does not need a serial port debugging tool or an equipment box, and can complete the setting of the relevant parameters of the equipment only by defining the relevant standard entries in the voice recognition module, thereby not only ensuring the stability of the parameters of the equipment, but also ensuring the convenience, and having very convenient operation and time saving.
Drawings
FIG. 1 is a diagram of an application environment for a method of voice debugging a device in one embodiment;
FIG. 2 is a flow diagram illustrating a method for debugging a device using speech in one embodiment;
FIG. 3 is a flowchart illustrating voice wake-up of a device to be debugged in one embodiment;
FIG. 4 is a flow diagram illustrating recognition and translation of captured speech according to one embodiment;
FIG. 5 is a schematic diagram illustrating a process of serial port data transmission during debugging in one embodiment;
FIG. 6 is a block diagram showing the structure of a system of a speech debugging apparatus in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for debugging the device by voice can be applied to the application environment shown in fig. 1. The device 101 to be debugged transmits data with a debugger through voice. The device 101 to be debugged may be, but is not limited to, various other instruments such as water, electricity, heat, gas, etc.
In one embodiment, as shown in fig. 2, a method for debugging a device by voice is provided, which is described by taking the method as an example of being applied to the device to be debugged in fig. 1, and includes the following steps:
step 201, acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in a parameter debugging process;
step 202, performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character;
step 203, receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data;
and 204, sending the digital signals with consistent contrast to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
Specifically, according to the step of field debugging of the acquisition device, the device needs to be subjected to parameter setting after being powered on, a debugging person can perform parameter setting within the voice chatting distance, for example, by calling a built-in high-sensitivity voice sensor to a XXX (X) tag concentrator, the built-in high-sensitivity voice sensor collects the voice of the debugging person and then converts the voice into an electric signal, the electric signal is compared with a word group prestored in an internal flash, so that the input word group is judged to be subjected to instruction output, the voice recognition module transmits the instruction through a voice recognition serial port protocol after inquiring and confirming, after receiving the instruction of the XXX tag concentrator, the related parameter setting of the device is automatically performed to enter a random operation state, wherein other tools are not needed to trigger the device, the same other voices are used for chatting according to corresponding entries, and then the related parameter setting is performed, the utility model discloses a method for the speech recognition of equipment parameter, including the speech recognition module, the reference lamp is used for the speech recognition module, the reference lamp can carry out whole-course body instruction to chat process and result to pronunciation simultaneously, thereby guarantee the visibility of speech recognition process, thereby guarantee the stability and the reliability of collection equipment parameter setting, debugging personnel's both hands have been liberated, increase the interest of debugging personnel's work through increasing man-machine conversation, this embodiment adopts the method of intelligent pronunciation modification collection equipment parameter, neither need serial ports debugging tool, also need not open the equipment box, only need can accomplish the relevant parameter setting of equipment with the relevant standard vocabulary entry of definition in the speech recognition module, like this can guarantee the stability of equipment parameter, also can guarantee the convenience, and operate convenience very and save time.
In one embodiment, as shown in fig. 3, a method for voice waking up a device to be debugged includes:
step 301, receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
step 302, when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the device to be debugged;
step 303, after the red light of the device to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
Specifically, in the debugging process, voice wake-up needs to be performed on the device to be debugged first, and in the whole wake-up process, wake-up needs to be avoided after the device to be debugged is prevented from being interfered by other voices, so that a specific wake-up word needs to be preset on the device to be debugged, and if the input password of the computer is the same, false trigger wake-up is prevented. The whole awakening process actually comprises the voice recognition process, once the awakening process is recognized and awakened, the signal which is awakened by the debugging equipment needs to be transmitted to the debugging personnel, and the debugging personnel can conveniently know the signal through the normal lighting of the red light signal of the equipment to be debugged.
In one embodiment, as shown in fig. 4, includes: the process of speech recognition in the debugging process includes:
step 401, converting the received single segment of characters into an analog electrical signal, and compressing and converging the analog electrical signal;
step 402, converting the compressed and converged analog electric signal into a continuous digital signal, and performing query, comparison and confirmation on the digital signal;
and step 403, if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
Specifically, how to convert a voice signal into a debugging parameter and execute the parameter by a tape debugging device, text conversion needs to be performed after voice re-recognition, firstly, single-section text is subjected to conversion of an analog electric signal, data compression needs to be performed on the analog electric signal in the conversion process, disorder of data and reduction of transmission speed are avoided, the analog electric signal is converted into a digital signal through compression convergence, and since the start of serial port debugging is preset in the device to be debugged, if the digital signal is matched with a serial port communication instruction in preset debugging data, a voice serial port protocol included in the digital signal is transmitted, the purpose of activating serial port debugging is achieved, and parameter adjustment can be further performed.
In one embodiment, as shown in fig. 5, the process of performing serial port debugging parameters through voice over the air includes:
step 501, classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and setting corresponding serial port output codes for each command phrase respectively;
step 502, the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
step 503, after the debugging result in the command phrase is completed, the high-sensitivity voice sensor sends out feedback broadcast of the completion of the debugging, and the red light normally-on signal of the device to be debugged is changed into a green light normally-on signal.
Specifically, aiming at a specific debugging component and a debugging mode, in order to avoid signal mutual interference between different debugging serial ports, aiming at different debugging command phrases, equipment to be debugged needs to be classified in advance, similarly, digital signals need to be classified in order to better handshake through the serial ports, parameters also need to be classified, the digital signals are classified into main station parameters, equipment numbers, wireless communication and restarting command phrases, corresponding serial port output codes are respectively set aiming at each command phrase, once the handshake succeeds, a specific debugging execution process can be started, once debugging is completed and a desired debugging effect is achieved, a high-sensitivity voice sensor sends out feedback broadcast of debugging completion, and a red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal. Through the audible and visible debugging feedback process, debugging personnel can conveniently master the debugging result in real time, and the debugging process and the predictability are accelerated.
In one embodiment, as shown in fig. 6, there is provided a system of voice debugging devices, comprising: voice acquisition module 601, voice recognition module 602, data processing module 603, and debug response module, wherein 604:
the voice acquisition module 601 is used for acquiring the wake-up voice, entering a parameter debugging mode and receiving the debugging voice in the parameter debugging process;
the voice recognition module 602 is configured to perform audio cutting on the debugging voice, perform voice conversion on a single-segment audio after cutting, and convert the single-segment audio into a single-segment text;
a data processing module 603, configured to receive the single segment of text, convert the single segment of text into a digital signal, and compare the digital signal with preset debugging data;
and the debugging response module 604 is configured to send the digital signals with consistent contrast to a debugging processing center of the device to be debugged, and feed back a debugging state of the device to be debugged according to a debugging result of the device to be debugged.
In one embodiment, as shown in fig. 6, the voice acquisition module 601 includes a voice wakeup unit 6011, where the voice wakeup unit 6011 is configured to:
receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
In an embodiment, as shown in fig. 6, the data processing module 603 includes a debugging serial port unit 6031, where the debugging serial port unit 6031 is configured to:
converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals;
converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal;
and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
In one embodiment, as shown in fig. 6, the debug response module 604 includes a feedback indication unit 6041, and the feedback indication unit 6041 is configured to:
classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
For specific limitations of the system of the voice debugging device, reference may be made to the above limitations of the method of the voice debugging device, which are not described herein again. The various modules in the system of the voice debugging device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 7 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the device to be debugged in fig. 1. As shown in fig. 7, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the method of privilege anomaly detection. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform the method for detecting an abnormality of authority. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process; performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character; receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase; when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged; and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
In one embodiment, the processor, when executing the computer program, further performs the steps of: converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals; converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal; and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase; the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code; and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process; performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character; receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase; when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged; and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
In one embodiment, the processor, when executing the computer program, further performs the steps of: converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals; converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal; and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase; the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code; and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of voice debugging a device, comprising the steps of:
acquiring a wake-up voice, entering a parameter debugging mode, and receiving a debugging voice in the parameter debugging process;
performing audio cutting on the debugging voice, performing voice conversion on a single-segment voice after cutting, and converting the single-segment voice into a single-segment character;
receiving the single segment of characters, converting the single segment of characters into digital signals, and comparing the digital signals with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of the equipment to be debugged, and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
2. The method for debugging equipment by voice according to claim 1, wherein the acquiring the wake-up voice and entering a parameter debugging mode, and receiving the debugging voice in the parameter debugging process comprises:
receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
3. The method of claim 1, wherein the receiving the single segment of text and converting the single segment of text into a digital signal, and comparing the digital signal with preset debugging data comprises:
converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals;
converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal;
and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
4. The method of claim 1, wherein the step of sending the digital signal with consistent contrast to a debugging processing center of a device to be debugged and feeding back a debugging state of the device to be debugged according to a debugging result of the device to be debugged comprises:
classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
5. A system for voice debugging a device, comprising:
the voice acquisition module is used for acquiring the awakening voice, entering a parameter debugging mode and receiving the debugging voice in the parameter debugging process;
the voice recognition module is used for carrying out audio frequency cutting on the debugging voice, carrying out voice conversion on the cut single-segment audio frequency and converting the single-segment audio frequency into a single-segment character;
the data processing module is used for receiving the single segment of characters, converting the single segment of characters into digital signals and comparing the digital signals with preset debugging data;
and the debugging response module is used for sending the digital signals with consistent contrast to a debugging processing center of the equipment to be debugged and feeding back the debugging state of the equipment to be debugged according to the debugging result of the equipment to be debugged.
6. The system of voice debugging equipment of claim 5, wherein the voice acquisition module comprises a voice wake-up unit configured to:
receiving the awakening voice according to a high-sensitivity voice sensor, and comparing the awakening voice with a preset awakening phrase;
when the awakening voice is consistent with the preset awakening phrase, the high-sensitivity voice sensor transmits an awakened signal to the debugging processing center, the debugging processing center feeds back a debugging starting instruction, and sends a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is normally on, the high-sensitivity voice sensor starts to receive the debugging voice.
7. The system of voice debugging equipment according to claim 5, wherein the data processing module comprises a debugging serial port unit, and the debugging serial port unit is configured to:
converting the received single-segment characters into analog electric signals, and compressing and converging the analog electric signals;
converting the compressed and converged analog electric signal into a continuous digital signal, and inquiring, comparing and confirming the digital signal;
and if the digital signal is matched with the serial port communication instruction in the preset debugging data, transmitting a voice serial port protocol included in the digital signal.
8. The system of voice debugging devices of claim 5, characterized in that the debugging response module comprises a feedback indication unit configured to:
classifying the digital signals into master station parameters, equipment numbers, command phrases for wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
the debugging processing center respectively carries out different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
and after the debugging result in the command phrase is finished, the high-sensitivity voice sensor sends out feedback broadcast of the finished debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202011255980.1A 2020-11-11 2020-11-11 Method, system, computer device and storage medium for voice debugging device Active CN112382288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011255980.1A CN112382288B (en) 2020-11-11 2020-11-11 Method, system, computer device and storage medium for voice debugging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011255980.1A CN112382288B (en) 2020-11-11 2020-11-11 Method, system, computer device and storage medium for voice debugging device

Publications (2)

Publication Number Publication Date
CN112382288A true CN112382288A (en) 2021-02-19
CN112382288B CN112382288B (en) 2024-04-02

Family

ID=74582641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011255980.1A Active CN112382288B (en) 2020-11-11 2020-11-11 Method, system, computer device and storage medium for voice debugging device

Country Status (1)

Country Link
CN (1) CN112382288B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113284492A (en) * 2021-05-19 2021-08-20 江苏中信博新能源科技股份有限公司 Voice-controlled solar tracker debugging method and device and solar tracker

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103292437A (en) * 2013-06-17 2013-09-11 广东美的制冷设备有限公司 Voice interactive air conditioner and control method thereof
CN104821168A (en) * 2015-04-30 2015-08-05 北京京东方多媒体科技有限公司 Speech recognition method and apparatus
US20160357519A1 (en) * 2015-06-05 2016-12-08 Microsoft Technology Licensing, Llc Natural Language Engine for Coding and Debugging
CN107910002A (en) * 2017-12-20 2018-04-13 北京工业大学 A kind of man machine language's graphical interaction system and method
CN108597521A (en) * 2018-05-04 2018-09-28 徐涌 Audio role divides interactive system, method, terminal and the medium with identification word
CN108735209A (en) * 2018-04-28 2018-11-02 广东美的制冷设备有限公司 Wake up word binding method, smart machine and storage medium
CN109935230A (en) * 2019-04-01 2019-06-25 北京宇航系统工程研究所 A kind of survey hair password monitoring system and method based on voice driven
US20200027462A1 (en) * 2016-09-29 2020-01-23 Hefei Hualing Co., Ltd. Voice control system, wakeup method and wakeup apparatus therefor, electrical appliance and co-processor
CN111392532A (en) * 2020-04-07 2020-07-10 上海爱登堡电梯集团股份有限公司 Elevator outbound call device with voice parameter setting function, elevator parameter debugging method and elevator
CN111477226A (en) * 2020-04-07 2020-07-31 浙江同花顺智能科技有限公司 Control method, intelligent device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103292437A (en) * 2013-06-17 2013-09-11 广东美的制冷设备有限公司 Voice interactive air conditioner and control method thereof
CN104821168A (en) * 2015-04-30 2015-08-05 北京京东方多媒体科技有限公司 Speech recognition method and apparatus
US20160357519A1 (en) * 2015-06-05 2016-12-08 Microsoft Technology Licensing, Llc Natural Language Engine for Coding and Debugging
US20200027462A1 (en) * 2016-09-29 2020-01-23 Hefei Hualing Co., Ltd. Voice control system, wakeup method and wakeup apparatus therefor, electrical appliance and co-processor
CN107910002A (en) * 2017-12-20 2018-04-13 北京工业大学 A kind of man machine language's graphical interaction system and method
CN108735209A (en) * 2018-04-28 2018-11-02 广东美的制冷设备有限公司 Wake up word binding method, smart machine and storage medium
CN108597521A (en) * 2018-05-04 2018-09-28 徐涌 Audio role divides interactive system, method, terminal and the medium with identification word
CN109935230A (en) * 2019-04-01 2019-06-25 北京宇航系统工程研究所 A kind of survey hair password monitoring system and method based on voice driven
CN111392532A (en) * 2020-04-07 2020-07-10 上海爱登堡电梯集团股份有限公司 Elevator outbound call device with voice parameter setting function, elevator parameter debugging method and elevator
CN111477226A (en) * 2020-04-07 2020-07-31 浙江同花顺智能科技有限公司 Control method, intelligent device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113284492A (en) * 2021-05-19 2021-08-20 江苏中信博新能源科技股份有限公司 Voice-controlled solar tracker debugging method and device and solar tracker

Also Published As

Publication number Publication date
CN112382288B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
CN104795068B (en) The wake-up control method and its control system of robot
CN107277904A (en) A kind of terminal and voice awakening method
CN106981290A (en) Phonetic controller and sound control method
EP3748631B1 (en) Low power integrated circuit to analyze a digitized audio stream
CN106504748A (en) A kind of sound control method and device
CN105912092A (en) Voice waking up method and voice recognition device in man-machine interaction
CN102546953A (en) System and method for full voice control of mobile terminal
CN104036628A (en) Intelligent remote controller based on Bluetooth and quick pairing method
CN104580699A (en) Method and device for acoustically controlling intelligent terminal in standby state
CN110992955A (en) Voice operation method, device, equipment and storage medium of intelligent equipment
CN108332363A (en) A kind of band voice control function air conditioner and its control method
CN104110779A (en) Voice air conditioner, control method thereof and air conditioner control system
CN108735217A (en) Control method of electronic device, device, storage medium and electronic equipment
CN105898065A (en) Intelligent terminal and control method thereof
CN112382288A (en) Method and system for debugging equipment by voice, computer equipment and storage medium
CN106272481A (en) The awakening method of a kind of robot service and device
CN104698942A (en) Intelligent control and information management system and method
CN105529025A (en) Voice operation input method and electronic device
CN108665900B (en) Cloud wake-up method and system, terminal and computer readable storage medium
CN101308602A (en) Bluetooth sound control television system
CN111147283A (en) Method and system for re-reporting data after internet of things equipment data reporting failure
CN106683668A (en) Method of awakening control of intelligent device and system
CN206906321U (en) A kind of wireless ultrasound detection device
CN215770032U (en) Voice-controlled voice infrared control system
CN112002318A (en) Control system of networking type intelligence furniture

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