CN112382288B - Method, system, computer device and storage medium for voice debugging device - Google Patents
Method, system, computer device and storage medium for voice debugging device Download PDFInfo
- Publication number
- CN112382288B CN112382288B CN202011255980.1A CN202011255980A CN112382288B CN 112382288 B CN112382288 B CN 112382288B CN 202011255980 A CN202011255980 A CN 202011255980A CN 112382288 B CN112382288 B CN 112382288B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000008569 process Effects 0.000 claims abstract description 35
- 238000006243 chemical reaction Methods 0.000 claims abstract description 14
- 238000004891 communication Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech 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
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/225—Feedback of the input speech
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application relates to a method, a system, a computer device and a storage medium of a voice debugging device, wherein the method comprises the following steps: receiving debugging voice in the parameter debugging process by acquiring wake-up voice and entering a parameter debugging mode; cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters; receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of 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 and collecting the parameters of the equipment by intelligent voice, thereby ensuring the stability of the parameters of the equipment, ensuring the convenience and saving the time and being very convenient to operate.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, a system, a computer device, and a storage medium for a voice debugging device.
Background
The traditional method for debugging the acquisition equipment is characterized in that related parameters are set for the equipment on site by means of a serial port debugging tool, but when the debugging tool is damaged due to improper use, the current equipment setting work cannot be completed due to the lack of the tool, so that the debugging task cannot be completed, and the work efficiency and experience are affected. In addition, most of the current collection devices are required to be connected with a computer by means of a serial port tool for operation during debugging and parameter setting, and particularly when the serial port tool is damaged, the debugging cannot be performed basically, and meanwhile, if the collection devices are devices already installed in the device box, the devices in the device box are required to be disassembled, so that the debugging is troublesome. How to quickly and conveniently debug in some devices which often need serial port debugging, and without connecting with a debugging tool such as a computer, further technical innovation is needed at present.
Disclosure of Invention
Based on this, it is necessary to provide a method, a system, a computer device and a storage medium of a voice debugging device in view of the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for debugging a device by using voice, including the following steps:
acquiring wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process;
cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters;
receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of 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 obtaining the wake-up voice and entering a parameter debugging mode, receiving a debugging voice in a 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, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is always on, the high-sensitivity voice sensor starts to receive the debugging voice.
Further, the receiving the single-segment text and converting the single-segment text into a digital signal, comparing the digital signal with preset debugging data, and the method comprises the following steps:
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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals;
if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial protocol included in the digital signal.
Further, the digital signal with consistent comparison is sent to a debugging processing center of the equipment to be debugged, and the debugging state of the equipment to be debugged is fed back according to the debugging result of the equipment to be debugged, including:
classifying the digital signals into command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of 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, the embodiment of the invention also provides a system for voice debugging equipment, which comprises:
the voice acquisition module is used for acquiring wake-up voice, entering a parameter debugging mode and receiving debugging voice in the parameter debugging process;
the voice recognition module is used for performing audio cutting on the debugging voice, performing voice conversion on the cut single-section voice frequency and converting the single-section voice frequency into single-section characters;
the data processing module is used for receiving the single-segment characters and converting the single-segment characters into digital signals, and comparing the digital signals with preset debugging data;
the debugging response module is used for 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 voice acquisition module comprises a voice wake-up unit, and the voice wake-up unit is used for:
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, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is always on, the high-sensitivity voice sensor starts to receive the debugging voice.
Further, the data processing module includes a debug serial unit, where the debug serial 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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals;
if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial protocol included in the digital signal.
Further, the debug response module includes a feedback indication unit, where the feedback indication unit is configured to:
classifying the digital signals into command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of 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 invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the computer program:
acquiring wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process;
cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters;
receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of 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 also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, realizes the following steps:
acquiring wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process;
cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters;
receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data;
and sending the digital signals with consistent comparison to a debugging processing center of 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 effects of this application are: the embodiment of the invention discloses a method, a system, a computer device and a storage medium for voice debugging equipment, which are used for receiving debugging voice in a parameter debugging process by acquiring wake-up voice and entering a parameter debugging mode; cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters; receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of 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 intelligent voice modifying and collecting method of the equipment parameters, does not need a serial port debugging tool or an equipment box to be opened, and can complete the setting of the relevant parameters of the equipment by only defining the relevant standard entry in the voice recognition module, thereby ensuring the stability of the equipment parameters and the convenience, and being very convenient and time-saving to operate.
Drawings
FIG. 1 is an application environment diagram of a method of voice debugging a device in one embodiment;
FIG. 2 is a flow diagram of a method of voice debugging a device in one embodiment;
FIG. 3 is a flow chart of a voice wake-up device to be debugged according to an embodiment;
FIG. 4 is a flow chart of recognition conversion of acquired speech in one embodiment;
FIG. 5 is a flow chart of serial data transfer during debugging in one embodiment;
FIG. 6 is a block diagram of a system of voice debugging devices in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for debugging the equipment by the voice can be applied to an application environment shown in fig. 1. Wherein the device to be debugged 101 transmits data with a debugger through voice. The device 101 to be debugged can be, but not limited to, various instruments and meters such as water, electricity, heat, gas and the like.
In one embodiment, as shown in fig. 2, a method for debugging a device by voice is provided, and the method is applied to the device to be debugged in fig. 1, and is described by taking as an example, the method includes the following steps:
step 201, obtaining wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process;
step 202, performing audio cutting on the debug voice, performing voice conversion on the cut single-segment audio, and converting the single-segment audio into single-segment characters;
step 203, receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data;
step 204, the digital signals with consistent comparison are sent to a debugging processing center of equipment to be debugged, and the debugging state of the equipment to be debugged is fed back according to the debugging result of the equipment to be debugged.
Specifically, according to the step of on-site debugging of the acquisition equipment, the equipment needs to be subjected to parameter setting after being electrified, a debugger performs parameter setting on the equipment in a voice-to-chat distance, for example, a voice-to-chat distance is called as an XXX brand concentrator through a built-in high-sensitivity voice sensor, signals are converted into electric signals after the voice of the debugger is collected through the built-in high-sensitivity voice sensor, then the electric signals are compared with a pre-stored flash phrase, so that the command is output on which input phrase is judged, a voice recognition module transmits the command through a voice recognition serial port protocol after inquiring and confirming the command, the command of the XXX brand concentrator is received, the related parameter setting on the equipment is automatically performed to enter an operation state at any time after the command of the XXX brand concentrator is received, other voices are not required to trigger the device, the same other voices follow corresponding vocabulary entry, then related parameter setting is performed, and meanwhile, an indicator lamp can perform whole-course state indication on the voice-to-chat process and results, and accordingly the visibility of the voice recognition process is ensured, the stability and reliability of the parameter setting of the acquisition equipment are ensured, the command is output on which input phrase is confirmed through the input by the pre-stored in a pre-stored flash phrase, the voice recognition module is convenient to install the relevant parameter setting in the intelligent equipment, the intelligent equipment can be conveniently and can be conveniently set up the relative parameters through the voice recognition module, and the method.
In one embodiment, as shown in fig. 3, a method for waking up a device to be debugged by voice includes:
step 301, receiving the wake-up voice according to a high-sensitivity voice sensor, and comparing the wake-up voice with a preset wake-up phrase;
step 302, when the wake-up voice is consistent with the preset wake-up phrase, the high-sensitivity voice sensor transmits a wake-up signal to the debugging processing center, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged;
step 303, after the red light of the device to be debugged is always on, the high-sensitivity voice sensor starts to receive the debug voice.
Specifically, in the debugging process, the equipment to be debugged needs to be subjected to voice awakening, in the whole awakening process, the equipment to be debugged needs to be prevented from being awakened after being interfered by other voices, so that a specific awakening word needs to be preset for the equipment to be debugged, and if the input passwords of the computer are the same, false triggering awakening is prevented. In the whole awakening process, the voice recognition process is also included in practice, once the voice recognition process is recognized and awakened, the awakened signal needs to be transmitted to a debugger by the debugging equipment, and the debugger can conveniently know the signal by 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 during debugging includes:
step 401, converting the received single-segment text into an analog electric signal, and compressing and converging the analog electric signal;
step 402, converting the compressed and converged analog electric signal into continuous digital signal, and inquiring, comparing and confirming the digital signal;
step 403, if the digital signal is matched with the serial communication instruction in the preset debug data, transmitting a voice serial protocol included in the digital signal.
Specifically, how to convert the voice signal into the debug parameter and be executed by the debug equipment, the text is required to be converted after the voice is re-identified, firstly, the single-section text is required to be converted into the analog electric signal, the analog electric signal is required to be compressed in the conversion process, the disorder of data and the decline of the transmission speed are avoided, the analog electric signal is converted into the digital signal through compression convergence, and the start management of the serial port debug is preset in the equipment to be debugged, so that if the digital signal is matched with the serial port communication instruction in the preset debug data, the voice serial port protocol included in the digital signal is transmitted, the purpose of activating the serial port debug is achieved, and the parameter can be further adjusted.
In one embodiment, as shown in fig. 5, the process of performing serial port debugging parameters through voice wireless includes:
step 501, classifying the digital signals into command phrases of master station parameters, equipment numbers, wireless communication and restarting, and respectively setting corresponding serial port output codes for each command phrase;
step 502, the debugging processing center respectively performs different debugging processes according to the corresponding protocol relationship between the voice serial port protocol and the serial port output code;
step 503, when the debugging result in the command phrase is completed, the high-sensitivity voice sensor sends out feedback broadcast of the completion of debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
Specifically, for specific debugging components and debugging modes, in order to avoid signal mutual interference between different debugging serial ports, for different debugging command phrases, the equipment to be debugged needs to be classified in advance, and meanwhile, digital signals are subjected to handshake through serial ports for better purposes, parameters are also required to be classified, the digital signals are classified into master station parameters, equipment numbers, wireless communication and restarting command phrases, corresponding serial port output codes are respectively set for each command phrase, once handshake is successful, a specific debugging execution process can be started, once debugging is completed and an expected debugging effect is achieved, a high-sensitivity voice sensor sends feedback broadcasting of completion of debugging, 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 predictability are quickened.
In one embodiment, as shown in FIG. 6, there is provided a system of voice debugging devices, comprising: a voice acquisition module 601, a voice recognition module 602, a data processing module 603, and a debugging response module, wherein 604:
the voice acquisition module 601 is configured to acquire wake-up voice and enter a parameter debugging mode, and receive debugging voice in a parameter debugging process;
the voice recognition module 602 is configured to perform audio cutting on the debug voice, perform voice conversion on the cut single-segment audio, and convert the single-segment audio into single-segment text;
the data processing module 603 is configured to receive the single-segment text, convert the single-segment text into a digital signal, and compare the digital signal with preset debug data;
and the debugging response module 604 is configured to send the digital signal with consistent comparison 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 wake unit 6011, where the voice wake 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, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged;
and after the red light of the equipment to be debugged is always on, the high-sensitivity voice sensor starts to receive the debugging voice.
In one embodiment, as shown in fig. 6, the data processing module 603 includes a debug serial unit 6031, where the debug serial 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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals;
if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial 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, where the feedback indication unit 6041 is configured to:
classifying the digital signals into command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
Specific limitations regarding the system of the voice debugging device may be found in the above limitations regarding the method of the voice debugging device, and will not be described here again. The various modules in the system of the above-described authority voice debugging device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
FIG. 7 illustrates an internal block diagram of a computer device in one embodiment. The computer device may in particular be the device to be commissioned in fig. 1. As shown in fig. 7, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile 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 a processor, causes the processor to implement a rights abnormality detection method. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform the rights abnormality detection method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than 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 steps of when executing the computer program: acquiring wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process; cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters; receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of 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, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged; and after the red light of the equipment to be debugged is always 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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals; if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial 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 command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of 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 wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process; cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters; receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data; and sending the digital signals with consistent comparison to a debugging processing center of 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, and the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting the equipment to be debugged; and after the red light of the equipment to be debugged is always 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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals; if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial 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 command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (4)
1. A method of voice debugging a device, comprising the steps of:
acquiring wake-up voice and entering a parameter debugging mode, and receiving debugging voice in the parameter debugging process;
the steps of obtaining wake-up voice and entering a parameter debugging mode, receiving debugging voice in the parameter debugging process include:
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 a debugging processing center, the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting equipment to be debugged;
after the red light of the equipment to be debugged is always on, the high-sensitivity voice sensor starts to receive the debugging voice;
cutting the debugging voice, performing voice conversion on the cut single-segment voice, and converting the single-segment voice into single-segment characters;
receiving the single-segment text, converting the single-segment text into a digital signal, and comparing the digital signal with preset debugging data;
the receiving the single-segment text and converting the single-segment text into a digital signal, comparing the digital signal with preset debugging data, and the method comprises the following steps:
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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals;
if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial protocol included in the digital signal;
transmitting the digital signals with consistent comparison to a debugging processing center of 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;
transmitting the digital signals with consistent comparison to a debugging processing center of 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, wherein the method comprises the following steps:
classifying the digital signals into command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
2. A system for voice debugging a device, comprising:
the voice acquisition module is used for acquiring wake-up voice, entering a parameter debugging mode and receiving debugging voice in the parameter debugging process;
the voice acquisition module comprises a voice awakening unit, and the voice awakening unit is used for:
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 a debugging processing center, the debugging processing center feeds back a debugging starting instruction and sends out a red light signal for lighting equipment to be debugged;
after the red light of the equipment to be debugged is always on, the high-sensitivity voice sensor starts to receive the debugging voice;
the voice recognition module is used for performing audio cutting on the debugging voice, performing voice conversion on the cut single-section voice frequency and converting the single-section voice frequency into single-section characters;
the data processing module is used for receiving the single-segment characters and converting the single-segment characters into digital signals, and comparing the digital signals with preset debugging data;
the data processing module comprises 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 signals into continuous digital signals, and inquiring, comparing and confirming the digital signals;
if the digital signal is matched with the serial communication instruction in the preset debugging data, transmitting a voice serial protocol included in the digital signal;
the debugging response module is used for sending the digital signals with consistent comparison to a debugging processing center of 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 debugging response module comprises a feedback indication unit, wherein the feedback indication unit is used for:
classifying the digital signals into command phrases of master station parameters, equipment numbers, 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 relation 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 broadcasting of the completion of debugging, and the red light normally-on signal of the equipment to be debugged is changed into a green light normally-on signal.
3. 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 processor implements the steps of the method of claim 1 when executing the computer program.
4. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of claim 1.
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 CN112382288A (en) | 2021-02-19 |
CN112382288B true 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) |
Families Citing this family (1)
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 (8)
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 |
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160357519A1 (en) * | 2015-06-05 | 2016-12-08 | Microsoft Technology Licensing, Llc | Natural Language Engine for Coding and Debugging |
CN106157950A (en) * | 2016-09-29 | 2016-11-23 | 合肥华凌股份有限公司 | Speech control system and awakening method, Rouser and household electrical appliances, coprocessor |
-
2020
- 2020-11-11 CN CN202011255980.1A patent/CN112382288B/en active Active
Patent Citations (8)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112382288A (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109981360B (en) | Internet of things equipment site opening method, device and system and storage medium | |
CN104580699A (en) | Method and device for acoustically controlling intelligent terminal in standby state | |
CN104110779A (en) | Voice air conditioner, control method thereof and air conditioner control system | |
WO2014079267A1 (en) | Automatic test method, device and system for infrared remote control device | |
CN110992955A (en) | Voice operation method, device, equipment and storage medium of intelligent equipment | |
CN112382288B (en) | Method, system, computer device and storage medium for voice debugging device | |
CN101267497A (en) | An automatic testing method and system for TV program search | |
CN104424036A (en) | Synchronous operation method and device of smart terminal | |
CN106354088A (en) | Alarm system | |
CN111147283B (en) | Method and system for re-reporting data after internet of things equipment data reporting failure | |
CN106612215A (en) | Integrated remote detection device and method based on Ethernet | |
CN108282493B (en) | Wireless clock module and wireless timing method | |
CN205486730U (en) | Portable data acquisition system based on bluetooth and mobile terminal | |
CN114822537A (en) | Intelligent control method and system for coal mining machine, readable storage medium and coal mining machine system | |
CN111866274A (en) | Data transmission method and device, mobile device, intelligent terminal and medium | |
CN113900715B (en) | Information management system, method, device and storage medium | |
CN106921807B (en) | A kind of telephone operation machine system and its self checking method | |
CN206906321U (en) | A kind of wireless ultrasound detection device | |
CN106651648B (en) | Data acquisition and protocol conversion method for shore power technology for docking ship | |
CN110689687A (en) | Design method of intelligent common integrated audible and visual alarm and audible and visual alarm | |
CN211124341U (en) | Emergency equipment remote controller, processing system and emergency equipment | |
CN103676935B (en) | For monitoring control system and the method that electric control box examining table runs automatically | |
CN117672220A (en) | Voice control-based multi-guarantee-equipment joint test method and system | |
CN103279076B (en) | Based on power control method and the device of text language | |
CN114123509A (en) | Micro-grid distributed resource parallel automatic point-to-point system, method and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |