CN112951228A - Method and equipment for processing control instruction - Google Patents
Method and equipment for processing control instruction Download PDFInfo
- Publication number
- CN112951228A CN112951228A CN202110145865.7A CN202110145865A CN112951228A CN 112951228 A CN112951228 A CN 112951228A CN 202110145865 A CN202110145865 A CN 202110145865A CN 112951228 A CN112951228 A CN 112951228A
- Authority
- CN
- China
- Prior art keywords
- workstation
- instruction
- control
- service
- voice recognition
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012545 processing Methods 0.000 title claims abstract description 24
- 238000001914 filtration Methods 0.000 abstract description 3
- 230000000875 corresponding effect Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
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
- 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/28—Constructional details of speech recognition systems
- G10L15/30—Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
-
- 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/223—Execution 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)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a method and equipment for processing control instructions, which are applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the method comprises the following steps: acquiring a control instruction generated by the voice recognition SDK and a workstation identification corresponding to the control instruction through the instruction central control service; judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service; if the judgment result is negative, the control instruction is forwarded to the third-party service system in the workstation corresponding to the workstation identification. In the scheme, the instruction central control service is arranged and is respectively connected with the systems, the voice control service conditions of the workstations can be collected through the intelligent central control service, the unified filtering processing is carried out on the control commands, and the comprehensive management of the workstations is realized.
Description
Technical Field
The invention relates to the technical field of control, in particular to a method and equipment for processing a control instruction.
Background
The current voice-operated third-party service system is structured as shown in fig. 1, and generally, the working mode is that after a microphone collects a voice signal, a voice recognition SDK (Software Development Kit) recognizes the voice signal into a text, converts the text into an agreed operation instruction, and then directly transmits the agreed operation instruction to the third-party service system on the host workstation, and the third-party service system executes a corresponding action according to the operation instruction.
However, this approach also has some problems: on the system logic architecture as shown in fig. 1, since the workstations are independent, it is inconvenient to perform statistical analysis on voice manipulation behaviors of a plurality of workstations, and it is impossible to perform uniform control on voice commands that are desired to be restricted (for example, which manipulations are not allowed).
Thus, there is a need for a better solution to the problems of the prior art.
Disclosure of Invention
The invention provides a method and equipment for processing control instructions, which can solve the technical problem that unified control cannot be realized in the prior art.
The technical scheme for solving the technical problems is as follows:
the invention provides a method for processing control instructions, which is applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the method comprises the following steps:
acquiring a control instruction generated by the voice recognition SDK and a workstation identification corresponding to the control instruction through the instruction central control service;
judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service;
if the judgment result is negative, the control instruction is forwarded to the third-party service system in the workstation corresponding to the workstation identification.
In a specific embodiment, the method further comprises:
and if the judgment result is yes, discarding the control instruction.
In a specific embodiment, the system further comprises a microphone, and the method further comprises:
acquiring a voice signal through the microphone;
sending the voice signal to the voice recognition SDK through the microphone;
and generating a control instruction based on the voice signal through the voice recognition SDK.
In a specific embodiment, the "generating a manipulation instruction based on the voice signal by the voice recognition SDK" includes:
recognizing the voice content of the voice signal through the voice recognition SDK so as to convert the voice signal into characters;
converting the characters into control instructions through the voice recognition SDK;
and sending the control command and the workstation identification of the workstation where the control command is located to the command central control service through the voice recognition SDK.
In a specific embodiment, the workstation corresponding to the control instruction identifies that the workstation corresponding to the speech recognition SDK is the workstation in which the speech recognition SDK is located; or the workstation corresponding to the workstation identification corresponding to the control instruction is other workstations except the workstation where the voice recognition SDK is located.
In a specific embodiment, the method further comprises the following steps:
acquiring configuration information including rules through the command central control service;
and setting the rule in the configuration information as a preset rule through the instruction central control service.
In a specific embodiment, the configuration information is user-defined information.
In a particular embodiment, the workstation identification is a workstation ID; wherein different workstations correspond to different workstation IDs.
The invention also provides equipment for processing the control instruction, which is applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the equipment comprises:
the acquisition module is used for acquiring the control instruction generated by the voice recognition SDK and the workstation identification corresponding to the control instruction through the instruction central control service;
the judging module is used for judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service;
and the execution module is used for forwarding the control instruction to the third-party service system in the workstation corresponding to the workstation identification when the judgment result is negative.
In a specific embodiment, the method further comprises the following steps:
and the discarding module is used for discarding the control instruction when the judgment result is yes.
The invention has the beneficial effects that:
in the scheme, the instruction central control service is arranged and is respectively connected with the systems, the voice control service conditions of the workstations can be collected through the intelligent central control service, the unified filtering processing is carried out on the control commands, and the comprehensive management of the workstations is realized.
Drawings
FIG. 1 is a block diagram of a prior art architecture for processing control commands;
FIG. 2 is a flowchart illustrating a method for processing a manipulation instruction according to an embodiment of the present invention;
FIG. 3 is a block diagram of a method for processing a manipulation instruction according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for processing a manipulation instruction according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Example 1
The method for processing the control instruction is characterized by being applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a speech recognition SDK and a third party service system, as shown in fig. 2, the method comprises the steps of:
specifically, as shown in fig. 3, the system further includes a microphone in addition to instructing the central control service and the plurality of workstations, whereby the method further includes:
acquiring a voice signal through the microphone;
sending the voice signal to the voice recognition SDK through the microphone;
and generating a control instruction based on the voice signal through the voice recognition SDK.
Further, the "generating a manipulation instruction based on the voice signal by the voice recognition SDK" includes:
recognizing the voice content of the voice signal through the voice recognition SDK so as to convert the voice signal into characters;
converting the characters into control instructions through the voice recognition SDK;
and sending the control command and the workstation identification of the workstation where the control command is located to the command central control service through the voice recognition SDK.
Specifically, in one example, a voice signal of a user or an operator may be acquired through a microphone, and the voice signal is sent to the voice recognition SDK, and the voice recognition SDK recognizes the content of the voice signal and generates a control instruction based on the content, for example, the control instruction is to turn on a first switch, and the like.
After the control instruction is generated, a workstation where the voice recognition SDK is located, for example, the workstation 1, is further determined, and the identifier of the workstation 1 and the generated control instruction are sent to the instruction central control service together, so that the instruction central control service performs transfer processing.
Specifically, in a specific application scenario, the workstation corresponding to the workstation identifier corresponding to the control instruction is the workstation where the speech recognition SDK is located; or the workstation corresponding to the workstation identification corresponding to the control instruction is other workstations except the workstation where the voice recognition SDK is located.
Still taking fig. 3 as an example for explanation, for example, the workstation where the speech recognition SDK is located is workstation 1, and the workstation identifier that the speech recognition SDK finally sends to the command center control service is not necessarily workstation 1, but may also be workstation 2. If the workstation 2 is adopted, the representative operation command needs to be executed by a third-party service system of the workstation 2.
The workstation identification is a workstation ID (Identity document); wherein different workstations correspond to different workstation IDs. Specifically, the ID may be the name of the workstation, or a location or other information that uniquely identifies the workstation.
102, judging whether the control instruction is filtered or not through the instruction central control service based on a preset rule;
after the control command is obtained by the command center control service in the step 101, and the rule preset by the command center control service determines whether the control command needs to be filtered,
specifically, the rule preset by itself may be preset in the command center control service, and may also be updated or set according to the subsequently received configuration information, thereby further including:
acquiring configuration information including rules through the command central control service;
and setting the rule in the configuration information as a preset rule through the instruction central control service.
In addition, the configuration information is user-defined information. Specifically, the rules can be customized according to the needs of the user, so that flexible configuration of the budget rules is realized, and flexible management and processing of the control instructions are realized.
And 103, if the judgment result is negative, forwarding the control instruction to the third-party service system in the workstation corresponding to the workstation identification.
Specifically, as shown in fig. 3, still taking the above as an example for description, if the workstation identifier corresponds to the workstation 1, the control instruction is forwarded to the third-party service system in the workstation 1.
Of course, if it is determined that the manipulation instruction needs to be filtered, the method further includes:
and if the judgment result is yes, discarding the control instruction. After the manipulation instruction is discarded, no additional processing is required.
Example 2
The embodiment 2 of the invention also discloses equipment for processing the control instruction, which is applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a speech recognition SDK and a third party service system, as shown in fig. 4, the apparatus comprises:
an obtaining module 201, configured to obtain, through the instruction center control service, the control instruction generated by the voice recognition SDK and the workstation identifier corresponding to the control instruction;
the judging module 202 is configured to judge whether to filter the control instruction based on a preset rule through the instruction center control service;
and the execution module 203 is configured to forward the control instruction to the third-party service system in the workstation corresponding to the workstation identifier when the determination result is negative.
In a specific embodiment, the apparatus further comprises:
and the discarding module is used for discarding the control instruction when the judgment result is yes.
In a specific embodiment, the system further comprises a microphone, and the device further comprises:
the processing module is used for acquiring a voice signal through the microphone;
sending the voice signal to the voice recognition SDK through the microphone;
and generating a control instruction based on the voice signal through the voice recognition SDK.
In a specific embodiment, the processing module "generates a manipulation instruction based on the voice signal through the voice recognition SDK", including:
recognizing the voice content of the voice signal through the voice recognition SDK so as to convert the voice signal into characters;
converting the characters into control instructions through the voice recognition SDK;
and sending the control command and the workstation identification of the workstation where the control command is located to the command central control service through the voice recognition SDK.
In a specific embodiment, the workstation corresponding to the control instruction identifies that the workstation corresponding to the speech recognition SDK is the workstation in which the speech recognition SDK is located; or the workstation corresponding to the workstation identification corresponding to the control instruction is other workstations except the workstation where the voice recognition SDK is located.
In a specific embodiment, the method further comprises the following steps:
the configuration module is used for acquiring configuration information comprising rules through the instruction central control service;
and setting the rule in the configuration information as a preset rule through the instruction central control service.
In one particular embodiment: the configuration information is user-defined information.
In a particular embodiment, the workstation identification is a workstation ID; wherein different workstations correspond to different workstation IDs.
The invention relates to a method and equipment for processing control instructions, which are applied to a system comprising an instruction central control service and a plurality of workstations, wherein the instruction central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the method comprises the following steps: acquiring a control instruction generated by the voice recognition SDK and a workstation identification corresponding to the control instruction through the instruction central control service; judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service; if the judgment result is negative, the control instruction is forwarded to the third-party service system in the workstation corresponding to the workstation identification. In the scheme, the instruction central control service is arranged and is respectively connected with the systems, the voice control service conditions of the workstations can be collected through the intelligent central control service, the unified filtering processing is carried out on the control commands, and the comprehensive management of the workstations is realized.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. The method for processing the control command is applied to a system comprising a command central control service and a plurality of workstations, wherein the command central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the method comprises the following steps:
acquiring a control instruction generated by the voice recognition SDK and a workstation identification corresponding to the control instruction through the instruction central control service;
judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service;
if the judgment result is negative, the control instruction is forwarded to the third-party service system in the workstation corresponding to the workstation identification.
2. The method of claim 1, further comprising:
and if the judgment result is yes, discarding the control instruction.
3. The method of claim 1, wherein the system further comprises a microphone, the method further comprising:
acquiring a voice signal through the microphone;
sending the voice signal to the voice recognition SDK through the microphone;
and generating a control instruction based on the voice signal through the voice recognition SDK.
4. The method according to claim 3, wherein the "generating a manipulation instruction based on the voice signal by the voice recognition SDK" comprises:
recognizing the voice content of the voice signal through the voice recognition SDK so as to convert the voice signal into characters;
converting the characters into control instructions through the voice recognition SDK;
and sending the control command and the workstation identification of the workstation where the control command is located to the command central control service through the voice recognition SDK.
5. The method according to claim 1, wherein the workstation corresponding to the manipulation instruction identifies that the workstation corresponding to the speech recognition SDK is the workstation where the speech recognition SDK is located; or the workstation corresponding to the workstation identification corresponding to the control instruction is other workstations except the workstation where the voice recognition SDK is located.
6. The method of claim 1, further comprising:
acquiring configuration information including rules through the command central control service;
and setting the rule in the configuration information as a preset rule through the instruction central control service.
7. The method of claim 6, wherein the configuration information is user-defined information.
8. The method of claim 1, wherein the workstation identification is a workstation ID; wherein different workstations correspond to different workstation IDs.
9. The equipment for processing the control command is applied to a system comprising a command central control service and a plurality of workstations, wherein the command central control service is respectively connected with each system; the workstation comprises a voice recognition SDK and a third-party service system, and the equipment comprises:
the acquisition module is used for acquiring the control instruction generated by the voice recognition SDK and the workstation identification corresponding to the control instruction through the instruction central control service;
the judging module is used for judging whether the control instruction is filtered or not based on a preset rule through the instruction center control service;
and the execution module is used for forwarding the control instruction to the third-party service system in the workstation corresponding to the workstation identification when the judgment result is negative.
10. The apparatus of claim 9, further comprising:
and the discarding module is used for discarding the control instruction when the judgment result is yes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110145865.7A CN112951228A (en) | 2021-02-02 | 2021-02-02 | Method and equipment for processing control instruction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110145865.7A CN112951228A (en) | 2021-02-02 | 2021-02-02 | Method and equipment for processing control instruction |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112951228A true CN112951228A (en) | 2021-06-11 |
Family
ID=76241847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110145865.7A Pending CN112951228A (en) | 2021-02-02 | 2021-02-02 | Method and equipment for processing control instruction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112951228A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1045248A (en) * | 1975-04-30 | 1978-12-26 | John S. Hoerning | Data compaction system and apparatus |
CN1302400A (en) * | 1999-05-04 | 2001-07-04 | 密克罗奇普技术公司 | Microcontroller with configurable instruction set |
US20040042470A1 (en) * | 2000-06-16 | 2004-03-04 | Geoffrey Cooper | Method and apparatus for rate limiting |
WO2015196403A1 (en) * | 2014-06-26 | 2015-12-30 | 华为技术有限公司 | Method and device for controlling quality of service of software defined network |
CN105227984A (en) * | 2015-09-18 | 2016-01-06 | 深圳Tcl数字技术有限公司 | Remote controller key distribution method and device |
JP2017046300A (en) * | 2015-08-28 | 2017-03-02 | パナソニックIpマネジメント株式会社 | Radio terminal connection control device, connection control system having the same and connection control method |
CN106683674A (en) * | 2017-01-16 | 2017-05-17 | 西安电子科技大学 | System and method for controlling intelligent home by aid of voice |
CN109471678A (en) * | 2018-11-07 | 2019-03-15 | 苏州思必驰信息科技有限公司 | Voice midpoint controlling method and device based on image recognition |
CN109660595A (en) * | 2018-11-08 | 2019-04-19 | 视联动力信息技术股份有限公司 | A kind of remote operation method and device of real-time street view |
CN109708283A (en) * | 2019-01-23 | 2019-05-03 | 四川虹美智能科技有限公司 | A kind of offline-on-line mixing speech recognition air-conditioning system and implementation method |
US20200219503A1 (en) * | 2019-01-03 | 2020-07-09 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and apparatus for filtering out voice instruction |
-
2021
- 2021-02-02 CN CN202110145865.7A patent/CN112951228A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1045248A (en) * | 1975-04-30 | 1978-12-26 | John S. Hoerning | Data compaction system and apparatus |
CN1302400A (en) * | 1999-05-04 | 2001-07-04 | 密克罗奇普技术公司 | Microcontroller with configurable instruction set |
US20040042470A1 (en) * | 2000-06-16 | 2004-03-04 | Geoffrey Cooper | Method and apparatus for rate limiting |
WO2015196403A1 (en) * | 2014-06-26 | 2015-12-30 | 华为技术有限公司 | Method and device for controlling quality of service of software defined network |
JP2017046300A (en) * | 2015-08-28 | 2017-03-02 | パナソニックIpマネジメント株式会社 | Radio terminal connection control device, connection control system having the same and connection control method |
CN105227984A (en) * | 2015-09-18 | 2016-01-06 | 深圳Tcl数字技术有限公司 | Remote controller key distribution method and device |
CN106683674A (en) * | 2017-01-16 | 2017-05-17 | 西安电子科技大学 | System and method for controlling intelligent home by aid of voice |
CN109471678A (en) * | 2018-11-07 | 2019-03-15 | 苏州思必驰信息科技有限公司 | Voice midpoint controlling method and device based on image recognition |
CN109660595A (en) * | 2018-11-08 | 2019-04-19 | 视联动力信息技术股份有限公司 | A kind of remote operation method and device of real-time street view |
US20200219503A1 (en) * | 2019-01-03 | 2020-07-09 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and apparatus for filtering out voice instruction |
CN109708283A (en) * | 2019-01-23 | 2019-05-03 | 四川虹美智能科技有限公司 | A kind of offline-on-line mixing speech recognition air-conditioning system and implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107544272B (en) | Terminal control method, device and storage medium | |
CN107644644A (en) | The method that Voice command smart home is realized based on wearable device | |
CN111628896A (en) | IT operation and maintenance management method, device, equipment and computer storage medium | |
CN113053369A (en) | Voice control method and device of intelligent household appliance and intelligent household appliance | |
CN103607303B (en) | Signaling flow analysis system and signaling flow analysis method | |
CN114979058B (en) | CAN multi-mailbox multiplexing processing method and system | |
CN104766178A (en) | Emergency plan management system based on man-machine voice interaction | |
CN105147299A (en) | Method and device for confirming identity of user of wireless probe in fetal monitoring system | |
CN112908321A (en) | Device control method, device, storage medium, and electronic apparatus | |
CN102467409B (en) | One key calls the method for application program | |
CN112951228A (en) | Method and equipment for processing control instruction | |
CN107085463A (en) | A kind of the smart machine control system and method for supporting natural language information to interact | |
CN109190075A (en) | A kind of message method based on cloudy platform type of message | |
CN114637676A (en) | Debugging method, device, equipment, storage medium and computer program product | |
CN110853634B (en) | Multi-modal voice interaction feedback response control method, computer readable storage medium and air conditioner | |
CN108173699B (en) | CPU high-efficiency processing method based on Marvell exchange chip when obtaining message source port | |
EP4027630A1 (en) | Group calling system, group calling method, and program | |
CN208903219U (en) | Robot hand-held device | |
CN101867957B (en) | Intelligent debugging platform system and debugging method for wireless communication system | |
CN105763346B (en) | Adaptation subsystem and method for realizing network management data reporting | |
CN112258815A (en) | Terminal controller, terminal control method, terminal control device, readable storage medium and system | |
CN106775979B (en) | Scheduler calling method and system | |
CN213876363U (en) | Embedded neural network processor assembly and industrial automation system | |
CN110956964B (en) | Method, apparatus, storage medium and terminal for providing voice service | |
KR102700426B1 (en) | System for utilizing multipurpose dark data based on user interface |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210611 |