CN117476002A - Voice recognition interaction system and method of handheld intelligent measuring instrument - Google Patents

Voice recognition interaction system and method of handheld intelligent measuring instrument Download PDF

Info

Publication number
CN117476002A
CN117476002A CN202311476792.5A CN202311476792A CN117476002A CN 117476002 A CN117476002 A CN 117476002A CN 202311476792 A CN202311476792 A CN 202311476792A CN 117476002 A CN117476002 A CN 117476002A
Authority
CN
China
Prior art keywords
command
scpi
module
text
instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311476792.5A
Other languages
Chinese (zh)
Inventor
朱伟
宋祥润
苏勇辉
齐彦君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CLP Kesiyi Technology Co Ltd
Original Assignee
CLP Kesiyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CLP Kesiyi Technology Co Ltd filed Critical CLP Kesiyi Technology Co Ltd
Priority to CN202311476792.5A priority Critical patent/CN117476002A/en
Publication of CN117476002A publication Critical patent/CN117476002A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a voice recognition interaction system and a voice recognition interaction method of a handheld intelligent measuring instrument, wherein the system comprises a voice recognition module, a text conversion module, an SCPI command result matching module, an SCPI command storage module, an SCPI command analysis module and an instrument command execution module; the SCPI command result matching module comprises a text preprocessing module, a similar SCPI text command processing module and an SCPI command mapping module. The invention realizes voice recognition interaction on the hand-held intelligent measuring instrument, realizes automatic input of commands and parameters through voice input, can convert the commands into SCPI command sequences, has high speed and high efficiency, solves the difficult problem of complex instrument operation of a user, and solves the program control programming problem of the user. The command and the parameter are input quickly and conveniently, and the instrument menu and the panel operation are not required to be familiar; the SCPI program control command can be formed quickly, and the SCPI program control programming speed is improved effectively.

Description

Voice recognition interaction system and method of handheld intelligent measuring instrument
Technical Field
The invention relates to a handheld intelligent measuring instrument, in particular to a voice recognition interaction system and method of the handheld intelligent measuring instrument.
Background
Radio frequency microwave type hand-held measuring instruments, such as hand-held spectrum analyzers, hand-held signal analyzers, etc., are commonly used for outfield testing. Some test sites have narrow space, some test environments are bad, and users need to wear gloves to operate, so that the problems of manual key-press and touch operation are brought. Meanwhile, as the functions of the instrument are rich, menus and options are more and more, so that the operation complexity and the use difficulty of the instrument are increased.
Currently, a handheld measuring instrument generally adopts an intelligent processor and an embedded intelligent operating system, and is used for processing complex command input and data processing. In order to provide more user friendly operation, the instrument provides a variety of command input modes, including peripheral input and program control command input.
The technical scheme of the peripheral input mode is that a multi-level menu structure and a parameter input edit box are established and displayed, the external input is converted into a system event or message through a device driver and system call, a command tree and a command response function are established, and the external input is mapped into a final command response function. The existing peripheral command input and interaction have the following defects: the user needs to be familiar with the menu structure of the instrument, needs to select from multiple menus and input parameters, and is complex in operation.
The program control command is input through USB, LAN and other interfaces. The input of the program control command needs to establish a program control command tree and program control command analysis processing, and the program control command is mapped into a final command response function. The manner in which the programming command is entered requires programming commands that are familiar to the instrument, even though the instrument uses standard SCPI commands, it is a complex task for the user to perform programming based on the programming commands.
Disclosure of Invention
In order to solve the technical problems, the invention provides a voice recognition interaction system and a voice recognition interaction method for a handheld intelligent measuring instrument, so as to achieve the purposes of effectively reducing the operation complexity of the instrument, improving the testing and measuring efficiency of the instrument and improving the user experience.
In order to achieve the above purpose, the technical scheme of the invention is as follows:
a voice recognition interaction system of a handheld intelligent measuring instrument comprises a voice recognition module, a text conversion module, an SCPI command result matching module, an SCPI command storage module, an SCPI command analysis module and an instrument command execution module;
the voice recognition module is used for recognizing the input MIC voice data or the audio file through a voice recognition algorithm;
the text conversion module is used for converting the recognized voice into text character sets;
the SCPI command result matching module is used for carrying out SCPI command result matching processing on the text character set to form an SCPI command set;
the SCPI command storage module is used for storing the formed SCPI command set as a file;
the SCPI command analysis module is used for analyzing the SCPI command set and finally mapping the SCPI command set into instrument commands;
the instrument command execution module is used for executing the mapped instrument command.
In the above scheme, the SCPI command result matching module comprises a text preprocessing module, a similar SCPI text command processing module and an SCPI command mapping module;
the text preprocessing module is used for preprocessing the text of an input text character set according to the text command library, deleting or modifying some words outside the text command library, modifying some incomplete words into complete words, and deleting words which are not in the text command library;
the SCPI-like text command processing module analyzes the text character set into a text command form similar to an SCPI command structure, and finally forms a command character string in a Chinese text format;
the SCPI command mapping module is used for converting the command character string in the Chinese text format into a real SCPI command, specifically, matching the Chinese command with the SCPI command to directly obtain the SCPI command.
A voice recognition interaction method of a handheld intelligent measuring instrument comprises the following steps:
step one, a voice recognition module recognizes input MIC voice data or an audio file;
step two, the text conversion module carries out text conversion on the voice obtained by recognition and changes the voice into a text character set;
step three, the SCPI command result matching module performs SCPI command result matching processing on the text character set to form an SCPI command set;
step four, the SCPI command storage module stores the formed SCPI command set as a file;
step five, the SCPI command analysis module analyzes the SCPI command set and finally maps the SCPI command set into instrument commands;
and step six, the instrument command execution module executes the mapped instrument command.
In the above scheme, the specific method of the third step is as follows:
(1) The text preprocessing module carries out text preprocessing on an input text character set according to the text command library, deletes or modifies some words outside the text command library, modifies some incomplete words into complete words, and deletes words which are not in some text command library;
(2) The SCPI-like text command processing module analyzes the text character set into a text command form similar to an SCPI command structure, and finally forms a command character string in a Chinese text format;
(3) The SCPI command mapping module converts the command character string in the Chinese text format into a real SCPI command, specifically, matches the Chinese command with the SCPI command, and directly obtains the SCPI command.
A hand-held intelligent measuring instrument comprises the voice recognition interactive system.
In a further technical scheme, the instrument further comprises a peripheral input interaction system.
In the above scheme, the peripheral input interactive system comprises a peripheral input interface module, a system message conversion module, a menu/key command conversion module and a command mapping module;
the external input interface module is used for receiving external input;
the system message conversion module is used for converting external input into system messages;
the menu/key command conversion module is used for converting the system message into a menu/key command;
the command mapping module is used for mapping the menu/key command into an instrument command and sending the instrument command to the instrument command execution module.
In a further technical scheme, the peripheral input interface module comprises one or more of a touch screen, a panel, a USB or a LAN.
In the above scheme, the interaction method of the peripheral input interaction system comprises the following steps:
(1) The external input interface module receives external input;
(2) The system message conversion module converts the external input into a system message;
(3) The menu/key command conversion module converts the system message into a menu/key command;
(4) The command mapping module is used for mapping the menu/key command into an instrument command and sending the instrument command to the instrument command execution module;
(5) The instrument command execution module executes the mapped instrument command.
Through the technical scheme, the voice recognition interaction system and method of the handheld intelligent measuring instrument provided by the invention have the following beneficial effects:
the invention realizes a voice recognition interaction function on the hand-held intelligent measuring instrument, realizes automatic input of commands and parameters through voice input, can convert the commands into SCPI command sequences, has high speed and high efficiency, solves the difficult problem of complex instrument operation of a user, and solves the programming problem of the program control of the user.
The command and the parameter are input quickly and conveniently, and the instrument menu and the panel operation are not required to be familiar; the SCPI program control command can be formed quickly, and the SCPI program control programming speed is improved effectively.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic diagram of a voice recognition interaction system of a handheld intelligent measuring instrument according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the SCPI command result matching module;
FIG. 3 is a flow chart of a method of interaction of voice recognition of a handheld intelligent measuring instrument;
FIG. 4 is a schematic diagram of a text character set based instrument SCPI command result matching process;
FIG. 5 is a schematic diagram of a SCPI-like text command processing flow;
FIG. 6 is a schematic diagram of a handheld intelligent measuring instrument;
fig. 7 is a flow chart of an interaction method of the peripheral input interaction system.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The invention provides a voice recognition interaction system of a handheld intelligent measuring instrument, which is shown in fig. 1, and comprises a voice recognition module, a text conversion module, an SCPI command result matching module, an SCPI command storage module, an SCPI command analysis module and an instrument command execution module, wherein the functions of the modules are as follows:
the voice recognition module is used for recognizing the input MIC voice data or the audio file through a voice recognition algorithm;
the text conversion module is used for converting the recognized voice into text character sets;
the SCPI command result matching module is used for carrying out SCPI command result matching processing on the text character set to form an SCPI command set;
the SCPI command storage module is used for storing the formed SCPI command set as a file;
the SCPI command analysis module is used for analyzing the SCPI command set and finally mapping the SCPI command set into instrument commands;
the instrument command execution module is used for executing the mapped instrument command.
Specifically, as shown in fig. 2, the SCPI command result matching module includes a text preprocessing module, a similar SCPI text command processing module, and an SCPI command mapping module.
The text preprocessing module is used for preprocessing the text of the input text character set according to the text command library, deleting or modifying some words outside the text command library, modifying some incomplete words into complete words, and deleting some words which are not in the text command library;
the SCPI-like text command processing module analyzes the text character set into a text command form similar to an SCPI command structure, and finally forms a command character string in a Chinese text format;
the SCPI command mapping module is used for converting the command character string in the Chinese text format into a real SCPI command, specifically, matching the Chinese command with the SCPI command to directly obtain the SCPI command.
A voice recognition interaction method of a handheld intelligent measuring instrument, as shown in figure 3, comprises the following steps:
step one, a voice recognition module recognizes input MIC voice data or an audio file;
step two, the text conversion module carries out text conversion on the voice obtained by recognition and changes the voice into a text character set;
step three, the SCPI command result matching module performs SCPI command result matching processing on the text character set to form an SCPI command set;
step four, the SCPI command storage module stores the formed SCPI command set as a file;
step five, the SCPI command analysis module analyzes the SCPI command set and finally maps the SCPI command set into instrument commands;
and step six, the instrument command execution module executes the mapped instrument command.
Through the above flow, the voice input can be automatically converted and stored into the SCPI command file and the audio input file, so that the subsequent calling operation is convenient.
Specifically, the step three is a text character set-based instrument SCPI command result matching processing flow, which is a key of the application of voice recognition to the handheld intelligent measuring instrument, as shown in fig. 4, and the specific method of the processing flow is as follows:
(1) Text preprocessing: the text preprocessing module carries out text preprocessing on an input text character set according to a text command library, the text command library is a text command vocabulary library which can be identified by the instrument, some words outside the text command library are deleted or modified, some incomplete words are modified into complete words, such as 'starting frequency' is modified into complete 'starting frequency', and meanwhile, words which are not in the text command library are deleted.
(2) SCPI-like text command processing: the SCPI commands are tree-structured, with a hierarchy of commands between them. The SCPI-like text command processing module parses the text character set into a text command form resembling an SCPI command structure, the SCPI-like text command processing flow is shown in FIG. 5, the steps finally form a command character string in Chinese text format, the structure resembles an SCPI command, and the different commands are as follows: dividing, namely inputting a text into a search command keyword and a command parameter, performing regular matching, and adding the beginning of the command keyword: ", add": "space between command and parameters. The simplest command formats are as follows: the start frequency 1GHz "may also be a combination of commands such as": initial frequency 1GHz: termination frequency 2 GHz).
(3) SCPI command mapping: the SCPI command mapping module converts the command character string in the Chinese text format into a real SCPI command, specifically, matches the Chinese command with the SCPI command, and directly obtains the SCPI command. The SCPI-like text commands are as follows: initial frequency: 1GHz: termination frequency: 2GHz "translate to true SCPI command": FREQ, START 1GHz; STOP 2GHz ", matching by establishing a Chinese command keyword library against the SCPI commands.
The conversion from Chinese text input to SCPI command is completed through the 3 steps, and finally the conversion from voice input to SCPI command is realized.
The invention also discloses a handheld intelligent measuring instrument, as shown in fig. 6, comprising the voice recognition interaction system.
Specifically, the instrument further comprises a peripheral input interaction system. The peripheral input interactive system comprises a peripheral input interface module, a system message conversion module, a menu/key command conversion module and a command mapping module; the functions of the respective modules are as follows:
the peripheral input interface module is used for receiving external input, including one or more of a touch screen, a panel, a USB or a LAN.
The system message conversion module is used for converting the external input into a system message;
the menu/key command conversion module is used for converting the system message into a menu/key command;
the command mapping module is used for mapping the menu/key commands into instrument commands and sending the instrument commands to the instrument command execution module.
As shown in fig. 7, the interaction method of the peripheral input interaction system includes the following steps:
(1) The external input interface module receives external input;
(2) The system message conversion module converts the external input into a system message;
(3) The menu/key command conversion module converts the system message into a menu/key command;
(4) The command mapping module is used for mapping the menu/key command into an instrument command and sending the instrument command to the instrument command execution module;
(5) The instrument command execution module executes the mapped instrument command.
The hand-held intelligent measuring instrument disclosed by the invention not only can realize the input of traditional peripheral commands and program control commands, but also can realize the conversion of voice input into instrument commands, realize the automatic conversion of SCPI command sets by voice input and can store and call; the voice command recording and importing are realized, and the command playback and calling are realized.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The voice recognition interaction system of the handheld intelligent measuring instrument is characterized by comprising a voice recognition module, a text conversion module, an SCPI command result matching module, an SCPI command storage module, an SCPI command analysis module and an instrument command execution module;
the voice recognition module is used for recognizing the input MIC voice data or the audio file through a voice recognition algorithm;
the text conversion module is used for converting the recognized voice into text character sets;
the SCPI command result matching module is used for carrying out SCPI command result matching processing on the text character set to form an SCPI command set;
the SCPI command storage module is used for storing the formed SCPI command set as a file;
the SCPI command analysis module is used for analyzing the SCPI command set and finally mapping the SCPI command set into instrument commands;
the instrument command execution module is used for executing the mapped instrument command.
2. The voice recognition interaction system of the handheld intelligent measuring instrument according to claim 1, wherein the SCPI command result matching module comprises a text preprocessing module, a SCPI-like text command processing module and an SCPI command mapping module;
the text preprocessing module is used for preprocessing the text of an input text character set according to the text command library, deleting or modifying some words outside the text command library, modifying some incomplete words into complete words, and deleting words which are not in the text command library;
the SCPI-like text command processing module analyzes the text character set into a text command form similar to an SCPI command structure, and finally forms a command character string in a Chinese text format;
the SCPI command mapping module is used for converting the command character string in the Chinese text format into a real SCPI command, specifically, matching the Chinese command with the SCPI command to directly obtain the SCPI command.
3. The voice recognition interaction method of the handheld intelligent measuring instrument is characterized by comprising the following steps of:
step one, a voice recognition module recognizes input MIC voice data or an audio file;
step two, the text conversion module carries out text conversion on the voice obtained by recognition and changes the voice into a text character set;
step three, the SCPI command result matching module performs SCPI command result matching processing on the text character set to form an SCPI command set;
step four, the SCPI command storage module stores the formed SCPI command set as a file;
step five, the SCPI command analysis module analyzes the SCPI command set and finally maps the SCPI command set into instrument commands;
and step six, the instrument command execution module executes the mapped instrument command.
4. The voice recognition interaction method of a hand-held intelligent measuring instrument according to claim 3, wherein the specific method of the third step is as follows:
(1) The text preprocessing module carries out text preprocessing on an input text character set according to the text command library, deletes or modifies some words outside the text command library, modifies some incomplete words into complete words, and deletes words which are not in some text command library;
(2) The SCPI-like text command processing module analyzes the text character set into a text command form similar to an SCPI command structure, and finally forms a command character string in a Chinese text format;
(3) The SCPI command mapping module converts the command character string in the Chinese text format into a real SCPI command, specifically, matches the Chinese command with the SCPI command, and directly obtains the SCPI command.
5. A hand-held intelligent measuring apparatus comprising a speech recognition interaction system according to claim 1 or 2.
6. The intelligent handheld measuring apparatus of claim 5, further comprising a peripheral input interaction system.
7. The handheld intelligent measurement instrument of claim 6, wherein the peripheral input interaction system comprises a peripheral input interface module, a system message conversion module, a menu/key command conversion module, and a command mapping module;
the external input interface module is used for receiving external input;
the system message conversion module is used for converting external input into system messages;
the menu/key command conversion module is used for converting the system message into a menu/key command;
the command mapping module is used for mapping the menu/key command into an instrument command and sending the instrument command to the instrument command execution module.
8. The intelligent handheld measuring instrument of claim 7, wherein the peripheral input interface module comprises one or more of a touch screen, a panel, a USB, or a LAN.
9. The intelligent handheld measuring instrument of claim 7, wherein the interactive method of the external input interactive system comprises the steps of:
(1) The external input interface module receives external input;
(2) The system message conversion module converts the external input into a system message;
(3) The menu/key command conversion module converts the system message into a menu/key command;
(4) The command mapping module is used for mapping the menu/key command into an instrument command and sending the instrument command to the instrument command execution module;
(5) The instrument command execution module executes the mapped instrument command.
CN202311476792.5A 2023-11-08 2023-11-08 Voice recognition interaction system and method of handheld intelligent measuring instrument Pending CN117476002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311476792.5A CN117476002A (en) 2023-11-08 2023-11-08 Voice recognition interaction system and method of handheld intelligent measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311476792.5A CN117476002A (en) 2023-11-08 2023-11-08 Voice recognition interaction system and method of handheld intelligent measuring instrument

Publications (1)

Publication Number Publication Date
CN117476002A true CN117476002A (en) 2024-01-30

Family

ID=89628953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311476792.5A Pending CN117476002A (en) 2023-11-08 2023-11-08 Voice recognition interaction system and method of handheld intelligent measuring instrument

Country Status (1)

Country Link
CN (1) CN117476002A (en)

Similar Documents

Publication Publication Date Title
TWI511125B (en) Voice control method, mobile terminal apparatus and voice controlsystem
US9361282B2 (en) Method and device for user interface
KR101586890B1 (en) Input processing method and apparatus
US7957974B2 (en) Method and apparatus for controlling devices connected to home network
US9218052B2 (en) Framework for voice controlling applications
WO2021114479A1 (en) Three-dimensional display system and method for sound control building information model
CN104503779A (en) Application program operation method and device
CN104657438A (en) Information processing method and electronic equipment
CN103366784A (en) Multimedia playing method and device with function of voice controlling and humming searching
CN106463110A (en) Information processing device, information processing method, and program
JP2003263188A (en) Voice command interpreter with dialog focus tracking function, its method and computer readable recording medium with the method recorded
WO2018094852A1 (en) Virtual reality device and input control method for virtual reality device
CN109256116A (en) Pass through the method for speech recognition keypad function, system, equipment and storage medium
CN102063282B (en) Chinese speech input system and method
CN103905636A (en) Information processing method and electronic device
CN107347111A (en) The control method and terminal of terminal
CN105353957A (en) Information display method and terminal
CN112817582B (en) Code processing method, device, computer equipment and storage medium
CN117476002A (en) Voice recognition interaction system and method of handheld intelligent measuring instrument
CN116566760B (en) Smart home equipment control method and device, storage medium and electronic equipment
CN112420053A (en) Intelligent interactive man-machine conversation system
CN111338605A (en) Method for automatically executing instrument function development and operation flow
CN115116434A (en) Application implementation method and device, storage medium and electronic equipment
CN105867649B (en) A kind of input method and mobile terminal based on facility information
CN114566144A (en) Voice recognition method and device, server and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination