CN109360561A - Sound control method and system, storage medium, voice module, master control system - Google Patents

Sound control method and system, storage medium, voice module, master control system Download PDF

Info

Publication number
CN109360561A
CN109360561A CN201811348750.2A CN201811348750A CN109360561A CN 109360561 A CN109360561 A CN 109360561A CN 201811348750 A CN201811348750 A CN 201811348750A CN 109360561 A CN109360561 A CN 109360561A
Authority
CN
China
Prior art keywords
serial ports
instruction
control system
target
master control
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
CN201811348750.2A
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811348750.2A priority Critical patent/CN109360561A/en
Publication of CN109360561A publication Critical patent/CN109360561A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Abstract

This disclosure relates to a kind of sound control method and system, storage medium, voice module, master control system, to solve the problems, such as to carry out present in the relevant technologies by master control system to expend master control system cpu resource caused by speech recognition.The sound control method of the disclosure can be applied to voice module, and the voice module is connected with master control system, which comprises the voice command of identification user's input;According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, the corresponding target serial ports instruction of institute's speech commands is determined;Target serial ports instruction is sent to the master control system, the target serial ports instruction executes corresponding operation for the master control system.

Description

Sound control method and system, storage medium, voice module, master control system
Technical field
This disclosure relates to voice processing technology field, and in particular, to a kind of sound control method and system, storage are situated between Matter, voice module, master control system.
Background technique
Self-service terminal is for alleviating the big problem of the business hall stream of people, and a kind of terminal for improving business handling speed is set It is standby, it is mainly used in the industries such as bank, telecommunications, electric power, medical treatment, aviation, retail.With the quick hair of self-service terminal industry Exhibition, artificial intelligence on self-service terminal using more and more extensive, wherein speech recognition is artificial intelligence application in self-service An important interactive function on service terminal.
But speech recognition in the related technology is by master control system in self-service terminal system directly to microphone The voice of acquisition is handled and is identified and realized that entire speech recognition process, which exists, expends master control system CPU (Central Processing Unit, central processing unit) resource the problem of.
Summary of the invention
Purpose of this disclosure is to provide a kind of sound control method and system, storage medium, voice module, master control system, To solve the problems, such as to expend master control system cpu resource in speech recognition process present in the relevant technologies.
To achieve the goals above, in a first aspect, the disclosure provides a kind of sound control method, it is applied to voice module, The voice module is connected with master control system, which comprises
Identify the voice command of user's input;
According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, the voice is determined Corresponding target serial ports is ordered to instruct;
Target serial ports instruction is sent to the master control system, the target serial ports instruction is used for the master control system Execute corresponding operation.
Optionally, described target serial ports instruction is sent to before the master control system includes:
Determine that the serial ports instruction that the master control system is once sent to before the voice module is the target serial ports instruction Upper level instruction;
The method also includes:
If the serial ports instruction for being once sent to the master control system before the voice module is not the target serial ports instruction Upper level instruction, then refusal by the target serial ports instruction be sent to the master control system.
Optionally, include: before target serial ports instruction is sent to the master control system
Determine that the target serial ports instruction is first-level instruction;
The method also includes:
It is not first-level instruction in target serial ports instruction, and is once sent to the master control system before the voice module Serial ports instruction when being the upper level instruction of target serial ports instruction, target serial ports instruction is sent to the master control system System;
It is not first-level instruction in target serial ports instruction, and is once sent to the master control system before the voice module Serial ports instruction when not being the upper level instruction of target serial ports instruction, target serial ports instruction is sent to described by refusal Master control system.
Optionally, the method also includes:
Receive the execution feedback command that the master control system is sent;
The corresponding voice messaging for executing feedback command is generated, and exports the voice messaging, to prompt the target The implementing result of serial ports instruction.
Second aspect, the disclosure also provide a kind of sound control method, are applied to master control system, the master control system and language Sound module is connected, which comprises
Receive the target serial ports instruction that the voice module is sent;
It controls target application and executes the corresponding operation of the target serial ports instruction.
Optionally, it is executed before the target serial ports instructs corresponding operation in the control target application and includes:
Determine that the serial ports once executed before the target application instruction is the upper level instruction of the target serial ports instruction;
The method also includes:
If the serial ports instruction once executed before the target application is not the upper level instruction of the target serial ports instruction, It controls the target application and does not execute the corresponding operation of the target serial ports instruction.
Optionally, it is executed before the target serial ports instructs corresponding operation in the control target application and includes:
Determine that the target serial ports instruction is first-level instruction;
The method also includes:
If the target serial ports instruction is not first-level instruction, and the serial ports instruction once executed before the target application is institute The upper level instruction for stating the instruction of target serial ports, then execute the target serial ports and instruct corresponding operation;
If the target serial ports instruction is not first-level instruction, and the serial ports instruction once executed before the target application is not The upper level instruction of the target serial ports instruction then controls the target application and does not execute the corresponding behaviour of the target serial ports instruction Make.
Optionally, which is characterized in that the control target application executes the target serial ports and instructs corresponding operation, packet It includes:
When target serial ports instruction corresponds to multiple and different operations, according to the behaviour of target application last time execution Make, object run is determined in the plurality of different operation;
It controls target application and executes the object run.
Optionally, the method also includes:
Receive the execution feedback command that the target application is generated according to operating result;
The execution feedback command is sent to the voice module,
The third aspect, the disclosure also provide a kind of computer readable storage medium, are stored thereon with computer program, the journey When sequence is executed by processor realize first aspect in and second aspect in any one of the method the step of.
Fourth aspect, the disclosure also provide a kind of voice module, comprising:
At least one processor unit, communication interface, memory and communication bus;At least one described processor unit, The communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Identify the voice command of user's input;
According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, the voice is determined Corresponding target serial ports is ordered to instruct;
Target serial ports instruction is sent to the master control system, the target serial ports instruction is used for the master control system Execute corresponding operation.
5th aspect, the disclosure also provide a kind of master control system, comprising:
At least one processor unit, communication interface, memory and communication bus;At least one described processor unit, The communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Receive the target serial ports instruction that the voice module is sent;
It controls target application and executes the corresponding operation of the target serial ports instruction.
6th aspect, the disclosure also provides a kind of speech control system, including voice module described in fourth aspect and the Master control system described in five aspects, is interacted between the voice module and the master control system by serial communication.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
The voice command of user's input is identified by voice module, and according to the voice command and serial ports instruction and voice Default corresponding relationship between order determines the corresponding target serial ports instruction of the voice command, finally instructs the target serial ports and send out Master control system is given, in this case, voice module can independently realize speech recognition process, and master control system is then according to the target strings The corresponding operation of mouth instruction execution, so as to solve to make present in the relevant technologies by master control system progress speech recognition At consuming master control system CPU calculation resources the problem of.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 (a) is speech recognition process schematic diagram in the related technology;
Fig. 1 (b) is the speech recognition process schematic diagram shown according to one exemplary embodiment of the disclosure;
Fig. 2 is the process according to the sound control method applied to voice module shown in one exemplary embodiment of the disclosure Figure;
Fig. 3 is the process according to the sound control method applied to master control system shown in one exemplary embodiment of the disclosure Figure;
Fig. 4 is a kind of flow chart of the sound control method exemplified according to one full implementation of the disclosure;
Fig. 5 is the block diagram according to a kind of voice module shown in one exemplary embodiment of the disclosure;
Fig. 6 is the block diagram according to a kind of master control system shown in one exemplary embodiment of the disclosure.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Self-service terminal is for alleviating the big problem of the business hall stream of people, and a kind of terminal for improving business handling speed is set It is standby, the industries such as bank, telecommunications, electric power, medical treatment, aviation, retail are mainly used in, for example, the self-service of bank business hall is applied for card System, etc..With the fast development of self-service terminal industry, application of the artificial intelligence on self-service terminal is increasingly Extensively, wherein speech recognition is artificial intelligence application in an important interactive function on self-service terminal.
Referring to Fig.1 (a), in the related technology, speech recognition is directly right by the master control system of self-service terminal system The voice command of acquisition is handled and is identified, and is controlled target application and executed the corresponding operation of the voice command, entire voice Identification process there are problems that expending master control system cpu resource.
In order to solve the above problem present in the relevant technologies, Fig. 1 (b) is please referred to, the embodiment of the present disclosure passes through individual Voice module is handled and is identified to the voice command of acquisition, and the voice module and master control system can carry out serial ports and lead to News interaction, so as to which the serial ports determined by speech recognition instruction is sent to master control system, in this way, master control system can be controlled Target application performance objective serial ports processed instructs corresponding operation, without carrying out the process of speech processes and identification, so as to Slow down the CPU calculation resources of master control system.
Fig. 2 is a kind of sound control method shown according to one exemplary embodiment of the disclosure, referring to Fig. 2, the voice control Method processed is applied to voice module, and the voice module is connected with master control system, method includes the following steps:
Step S201, the voice command of identification user's input.
Illustratively, the process of voice module implementation steps S201 can be the voice command of first acquisition user input, then The keyword in the voice command is extracted, for example, the voice command of user's input is " query the balance information ", voice module is first The voice command for collecting user's input, then can extract the keyword in the voice command, such as the keyword extracted Can be " inquiry " and " remaining sum ".
It should be noted that if identifying the voice command of user's input by way of extracting keyword, for The a plurality of voice command of user's input, when extracting identical keyword, it is believed that this plurality of voice command expresses phase Same meaning, it can identify that this plurality of voice command is identical voice command.For example, user has input three voice lives It enables, respectively " balance information queries ", " query the balance information " and " I to query the balance information ", to this three voice commands After being identified, can extract identical keyword is " inquiry " and " remaining sum ", it is therefore contemplated that this three order expression Identical meaning (query the balance information), it can identify that this three orders are identical order.
It should be understood that a kind of possible implementation of the voice command of above-mentioned only identification user's input, this Be disclosed in when it is implemented, can also identify by other means user input voice command, the embodiment of the present disclosure to this not It limits.
Step S202 is determined according to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command The corresponding target serial ports instruction of institute's speech commands.
Illustratively, serial ports instruction can be the instruction code of 16 systems, have between the instruction of each serial ports and voice command Corresponding relationship.In one possible implementation, the corresponding relationship between serial ports instruction and voice command can be voice module Designer it is preset, for example, presetting the voice command to query the balance corresponding serial ports instruction is " AAAA ", then In step s 201, if recognized in voice command when including the semanteme to query the balance, it can determine that the voice command is corresponding Target serial ports instruction be " AAAA ".
It should be understood that serial ports instructs the instruction for being also possible to 8 systems or alphabetical form in the embodiment of the present disclosure Code, etc., the concrete form that the embodiment of the present disclosure instructs serial ports are not construed as limiting.In addition, the disclosure is in the specific implementation, The corresponding relationship between serial ports instruction and voice command can be determined in such a way that the example above illustrates, it can also be according to others Mode determines the corresponding relationship, etc. between serial ports instruction and voice command, and the embodiment of the present disclosure is also not construed as limiting this.
Target serial ports instruction is sent to the master control system by step S203.
The instruction of target serial ports executes corresponding operation for master control system, and illustratively, corresponding operation can be the mesh Mark serial ports instruction is sent to corresponding target application, etc., this is not construed as limiting the embodiment of the present disclosure, however, it should be understood that In the disclosure when it is implemented, if corresponding operation is sent to corresponding target application, mesh to instruct target serial ports Mark application should be the application controlled by master control system, for example, being mounted on the application, etc. in master control system.
In one possible implementation, it before the instruction of target serial ports is sent to master control system, can also determine The serial ports instruction that master control system is once sent to before voice module is the upper level instruction of target serial ports instruction, in addition, if voice The serial ports instruction that master control system is once sent to before module is not the upper level instruction of target serial ports instruction, then can refuse mesh Mark serial ports instruction is sent to master control system.
That is, in the embodiments of the present disclosure, can also sentence before the instruction of target serial ports is sent to master control system Whether the serial ports instruction that master control system is once sent to before disconnected voice module is that the upper level that target serial ports instructs instructs, if language The serial ports instruction that master control system is once sent to before sound module is the upper level instruction of target serial ports instruction, then refers to target serial ports Order is sent to master control system, otherwise, target serial ports can not be instructed and be sent to master control system.
Illustratively, once it is sent to whether the serial ports instruction of master control system is that target serial ports instructs before judging voice module Upper level instruction can be the grade classification for presetting each serial ports instruction under same affairs, for example, can refer to according to serial ports Serial ports instruction is divided into first-level instruction, second level instruction, three-level instruction, etc. by the logic execution sequence of order, in this case, Rear stage instruction is only effective after the completion of previous stage instruction is performed.For example, can set corresponding to the serial ports instruction logged in For first-level instruction, the serial ports instruction corresponding to information inquiry is that second level instructs, and can carry out information in such cases, after login and look into It askes, and not can be carried out information inquiry in the case where being not logged in then, that is, second level instruction is only executed into the first-level instruction Afterwards just effectively.
It is then possible to determine that the serial ports for being once sent to master control system before voice module is instructed according to the grade that serial ports instructs It whether is that the upper level that target serial ports instructs instructs.Such as, it is determined that the serial ports of master control system is once sent to before voice module Instruction is first-level instruction, and has been determined that the instruction of target serial ports is corresponding second level instruction under same affairs, then can determine The serial ports instruction that master control system is once sent to before voice module is the upper level instruction of target serial ports instruction, so as to by mesh Mark serial ports instruction is sent to master control system.However, if it is determined that the serial ports for being once sent to master control system before voice module refers to Enabling is that second level instructs, and has been determined that the instruction of target serial ports is corresponding first-level instruction under same affairs, i.e. voice module is previous The secondary serial ports instruction for being sent to master control system is not the upper level instruction of target serial ports instruction, then can refuse target serial ports Instruction is sent to master control system.
It should be understood that the same affairs mentioned in the above description refer to the instruction pair of each serial ports under the affairs What is answered is then the operations of relevant property a series of carries out for example, needing first logon account for this affairs that query the balance Inquiry into balance, then the corresponding serial ports of logon account instructs serial ports instruction corresponding with inquiry into balance just to belong to the same affairs Under.
Pass through above mode, it is ensured that the target serial ports instruction for being sent to master control system is once sent out before voice module The next stage instruction for giving the serial ports instruction of the master control system, the serial ports instruction for executing logic will not met by, which avoiding, is sent to master Control system accurately controls to realize for what master control system operated.
It, can also be really before the instruction of target serial ports is sent to master control system in alternatively possible implementation The serial ports that sets the goal instruction is first-level instruction, is not first-level instruction in the instruction of target serial ports, and once send out before voice module correspondingly When the serial ports instruction for giving master control system is the upper level instruction of target serial ports instruction, the instruction of target serial ports is sent to the master Control system, and be not first-level instruction in the instruction of target serial ports, and the serial ports instruction of master control system is once sent to before voice module When not being the upper level instruction of target serial ports instruction, the instruction of target serial ports is sent to master control system by refusal.
Illustratively, it determines that the instruction of target serial ports is first-level instruction, can be in the side by serial ports instruction as described above After formula carries out grade classification, using first-level instruction as storage into first-level instruction library, second level instruction database is arrived into second level instruction storage In, and so on.Then, if finding the instruction of target serial ports in first-level instruction library, it can determine that target serial ports instructs For first-level instruction.
Certainly, in the embodiment of the present disclosure, it can also determine that the instruction of target serial ports is first-level instruction in other way, than Such as, identification information corresponding with grade can be added for the instruction of each serial ports in advance, target is then determined by the identification information Serial ports instruction, etc., the embodiment of the present disclosure is not construed as limiting this.
After determining that the instruction of target serial ports is first-level instruction, target serial ports can be instructed and be sent to master control system.But If it is determined that the instruction of target serial ports is not first-level instruction, the serial ports that master control system is once sent to before voice module can also be determined Whether instruction is that the upper level that target serial ports instructs instructs, and the serial ports instruction that master control system is once sent to before voice module is When the upper level instruction of target serial ports instruction, the instruction of target serial ports is sent to the master control system, otherwise, not by target serial ports Instruction is sent to master control system.
By above mode, directly target serial ports can be instructed and sent when it is first-level instruction that target serial ports, which instructs, To master control system, and when the instruction of target serial ports is not first-level instruction, then master control system is once sent to before judging voice module Serial ports instruction whether be target serial ports instruction upper level instruction, can be avoided will not meet execute logic serial ports instruction hair Master control system is given, is accurately controlled to realize for what master control system operated.
In one possible implementation, the execution feedback command that can also receive master control system transmission, then generates The corresponding voice messaging for executing feedback command, and the voice messaging is exported, with the implementing result for prompting target serial ports to instruct.
Illustratively, executing feedback command can be the instruction code of 16 systems, be also possible to the instruction code of 8 systems, etc. Deng the embodiment of the present disclosure is not construed as limiting this.Voice module can synthesize speech prompt information according to feedback command is executed, than Such as, when voice module receives " BBBB " for executing feedback command as 16 systems, it can synthesize and export speech prompt information For " being your XX information below ", completion has been executed to prompt the user with information inquiry voice order.Alternatively, working as voice module When receiving " FFFF " of the execution feedback command for 16 systems, can synthesize and export speech prompt information is that " information inquiry is lost Lose, please first log in ", failure is executed to prompt the user with information inquiry voice order, user carries out information after needing first to log in again Inquiry.
It should be understood that voice module synthesis speech prompt information can be preset each executions feedback command and The corresponding relationship of speech prompt information is searched according to the execution feedback command and is corresponded to then after receiving execution feedback command Speech prompt information, etc., the embodiment of the present disclosure do not limit the concrete mode of voice module synthesis speech prompt information It is fixed.
By above mode, the mesh can be exported to user by voice module after target serial ports is instructed and is performed The implementing result of serial ports instruction is marked, so that user operates in next step according to the speech prompt information is clear, user experience is good, and And add somewhat to the intelligence of voice module.
Based on the same inventive concept, the embodiment of the present disclosure also provides a kind of sound control method, is applied to master control system, should Master control system is connected with voice module, and referring to Fig. 3, which includes:
Step S301 receives the target serial ports instruction that voice module is sent.
Step S302, control target application performance objective serial ports instruct corresponding operation.
Target application is the application controlled by master control system, for example, being mounted on the application, etc. in master control system.Show Example, the corresponding operation of control target application performance objective serial ports instruction can be master control system and the target serial ports instructed transmission To target application, then target application executes the target serial ports and instructs corresponding operation.
In one possible implementation, before control target application performance objective serial ports instructs corresponding operation, It can also determine that the serial ports once executed before target application instruction is the upper level instruction of the target serial ports instruction, in addition, if The serial ports instruction once executed before the target application is not the upper level instruction of the target serial ports instruction, then does not control described Target application executes the target serial ports and instructs corresponding operation.
That is, in the embodiments of the present disclosure, it can also be corresponding in control target application performance objective serial ports instruction Before operation, judge the serial ports once executed before target application instruction whether be target serial ports instruction upper level instruction, if The serial ports instruction once executed before target application is the upper level instruction of target serial ports instruction, then controls target application performance objective Serial ports instructs corresponding operation, and otherwise, can control target application, performance objective serial ports does not instruct corresponding operation.
By above mode, the execution logic of target serial ports instruction can be determined by master control system, is avoided mesh Mark application inexecutable serial ports instruction is sent to target application execution, to guarantee the accuracy of serial ports instruction execution.
In one possible implementation, corresponding operation can also be instructed in control target application performance objective serial ports It determines that the instruction of target serial ports is first-level instruction before, if the instruction of target serial ports is not first-level instruction, and is once held before target application Capable serial ports instruction is the upper level instruction of target serial ports instruction, then executes the target serial ports and instruct corresponding operation, in addition, If the instruction of target serial ports is not first-level instruction, and the serial ports instruction once executed before target application is not the upper of target serial ports instruction First-level instruction, then controlling target application, performance objective serial ports does not instruct corresponding operation.
That is, in the embodiments of the present disclosure, if the instruction of target serial ports is first-level instruction, can directly control Target application performance objective serial ports instructs corresponding operation.It, can be with but if the instruction of target serial ports is not first-level instruction Judge whether the serial ports once executed before target application instruction is that the upper level that target serial ports instructs instructs, if target application is previous The serial ports instruction of secondary execution is the upper level instruction of target serial ports instruction, equally can control target application performance objective serial ports and refers to Corresponding operation is enabled, conversely, if the upper level that the serial ports instruction once executed before target application is not the instruction of target serial ports refers to It enables, then controlling target application, performance objective serial ports does not instruct corresponding operation.
By above mode, the execution logic of target serial ports instruction can be determined by master control system, in target strings When mouth instruction is first-level instruction, directly controls target application performance objective serial ports and instruct corresponding operation, avoid target application Inexecutable serial ports instruction is sent to target application execution, to guarantee the accuracy of serial ports instruction execution.
In one possible implementation, can also when target serial ports instructs corresponding multiple and different operations, according to The operation that the target application last time executes determines object run in multiple and different operations, and controlling target application execution should Object run.
Illustratively, target serial ports instruction can correspond to multiple and different operations, for example, a target serial ports instruction " 0001 " Corresponding operation is the inquiry insured information of social security, and still, it is insured that the insured information of the social security can correspond to the social security in multiple months Information, that is, the target serial ports instructs the insured information that can correspond to inquire nearest one month, inquiry trimestral insured recently Multiple and different operations of information and the insured information of inquiry nearest half a year.In this case, master control system can determine mesh The last operation executed of mark application, for example, it is nearest three that the operation of target application last time execution, which is determining query time, Month, then can determine that trimestral insured information is object run recently for inquiry in above-mentioned multiple and different operation, then It can control target application and execute the object run, is i.e. the nearest trimestral insured information of control target application inquiry user.
It, can be when target serial ports instructs and corresponds to multiple and different operations, according in target application by above mode The operation once executed determines object run, so that the execution of serial ports instruction is more in line with the demand of user, user experience Well, also, to a certain extent the intelligence of master control system is also increased.
In one possible implementation, it is anti-that the execution that the target application is generated according to operating result can also be received Feedback instruction, and the execution feedback command is sent to voice module.
Wherein, voice of the feedback command for voice module output prompt implementing result is executed, is that target application is executing It generates and sends after complete target serial ports instruction to master control system, then the execution feedback command is sent to language again by master control system Sound module, in this case, voice module can synthesize corresponding speech prompt information according to the execution feedback command, with to user The implementing result of target serial ports instruction is prompted, is operated in next step convenient for user according to the speech prompt information is clear, user experience Well.
Referring to Fig. 4, the voice control mode provided in the embodiment of the present disclosure is described in detail.Such as Fig. 4 institute Show, the sound control method the following steps are included:
Step S401, voice module identify the voice command of user's input.
Step S402, voice module instruct the default corresponding relationship between voice command according to voice command and serial ports, Determine the corresponding target serial ports instruction of voice command.
Step S403, voice module determines whether the instruction of target serial ports is first-level instruction, if the instruction of target serial ports is one Grade instruction, then enter step S404, otherwise, enter step S405.
Target serial ports instruction is sent to master control system by step S404, voice module.
Step S405, whether voice module is once sent to master control system serial ports instruction before determining is the instruction of target serial ports Upper level instruction, if it is, S404 is entered step, if it is not, entering step S406.
The instruction of target serial ports is sent to master control system by step S406, refusal.
Step S407, master control system judge whether the instruction of target serial ports corresponds to multiple and different operations, if it is, into Step S408, otherwise enters step S409.
Step S408 determines object run according to the operation that the target application last time executes in multiple and different operations, And it controls target application and executes the object run.
Step S409, control target application performance objective serial ports instruct corresponding operation;
Step S410, master control system receive the execution feedback command that target application is generated according to operating result;
Step S411, master control system are sent to voice module for feedback command is executed;
Step S412, voice module, which receives, executes feedback command, and executes knot according to execution feedback command output prompt The voice of fruit.
By above mode, voice module can independently realize speech recognition process, and master control system is then according to the target The corresponding operation of serial ports instruction execution, so as to solve to carry out speech recognition by master control system present in the relevant technologies Caused by consuming master control system CPU calculation resources the problem of.
Based on the same inventive concept.The embodiment of the present disclosure also provides a kind of voice module, which can be by soft Part, hardware or both are implemented in combination in insertion ARM (Advanced RISC Machines, risc microcontroller) chip, Include:
At least one processor unit, communication interface, memory and communication bus;At least one described processor unit, The communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Identify the voice command of user's input;
According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, the voice is determined Corresponding target serial ports is ordered to instruct;
Target serial ports instruction is sent to the master control system, the target serial ports instruction is used for the master control system Execute corresponding operation.
In one possible implementation, the block diagram of the voice module can be as shown in Figure 5.Referring to Fig. 5, voice module 500 include processor 522, and quantity can be one or more and memory 532, can be held by processor 522 for storing Capable computer program.The computer program stored in memory 532 may include each one or more correspondence In the module of one group of instruction.In addition, processor 522, which can be configured as, executes the computer program, to execute above-mentioned application In the sound control method of voice module.
In addition, voice module 500 can also include power supply module 526 and communication component 550, which can be with It is configured as executing the power management of voice module 500, which, which can be configured as, realizes voice module 500 Communication, for example, wired or wireless communication.In addition, the voice module 500 can also include input/output (I/O) interface 558.Language Sound module 500 can be operated based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, On be stored with computer program, which realizes the above-mentioned voice control applied to voice module when being executed by processor The step of method.For example, the computer readable storage medium can be the above-mentioned memory 532 including program instruction, above-mentioned journey Sequence instruction can be executed by the processor 522 of voice module 500 to complete the above-mentioned sound control method applied to voice module.
Speech recognition process can be independently realized by above-mentioned voice module, and master control system can be according to the target serial ports The corresponding operation of instruction execution, so as to solve to cause present in the relevant technologies by master control system progress speech recognition Consuming master control system CPU calculation resources the problem of.
Based on the same inventive concept, the embodiment of the present disclosure also provides a kind of master control system, comprising:
At least one processor unit, communication interface, memory and communication bus;At least one described processor unit, The communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Receive the target serial ports instruction that the voice module is sent;
It controls target application and executes the corresponding operation of the target serial ports instruction.
In one possible implementation, the block diagram of master control system can be as shown in Figure 6.Referring to Fig. 6, master control system 600 include processor 622, and quantity can be one or more and memory 632, can be held by processor 622 for storing Capable computer program.The computer program stored in memory 632 may include each one or more correspondence In the module of one group of instruction.In addition, processor 622, which can be configured as, executes the computer program, to execute above-mentioned application In the sound control method of master control system.
In addition, master control system 600 can also include power supply module 626 and communication component 650, which can be with It is configured as executing the power management of master control system 600, which, which can be configured as, realizes master control system 600 Communication, for example, wired or wireless communication.In addition, the master control system 600 can also include input/output (I/O) interface 658.It is main Control system 600 can be operated based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, On be stored with computer program, which realizes the above-mentioned voice control applied to master control system when being executed by processor The step of method.For example, the computer readable storage medium can be the above-mentioned memory 632 including program instruction, above-mentioned journey Sequence instruction can be executed by the processor 622 of master control system 600 to complete the above-mentioned sound control method applied to master control system.
Master control system in the embodiment of the present disclosure can receive the target serial ports instruction of voice module transmission, and control target The application execution target serial ports instructs corresponding operation, and speech recognition process is independently carried out by voice module, so as to subtract The CPU calculation resources of slow master control system.
Based on the same inventive concept, the embodiment of the present disclosure also provides a kind of speech control system, including above-mentioned voice mould Block and above-mentioned master control system, are interacted between the voice module and master control system by serial communication.
By above-mentioned speech control system, voice module can independently realize speech recognition process, and master control system can be with According to the corresponding operation of target serial ports instruction execution, so as to solve to carry out present in the relevant technologies by master control system Speech recognition and caused by consuming master control system CPU calculation resources the problem of.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

1. a kind of sound control method, which is characterized in that it is applied to voice module, the voice module is connected with master control system, The described method includes:
Identify the voice command of user's input;
According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, institute's speech commands are determined Corresponding target serial ports instruction;
Target serial ports instruction is sent to the master control system, the target serial ports instruction is executed for the master control system Corresponding operation.
2. the method according to claim 1, wherein described be sent to the master control for target serial ports instruction Include: before system
Determine that the serial ports instruction that the master control system is once sent to before the voice module is the upper of the target serial ports instruction First-level instruction;
The method also includes:
If the serial ports instruction for being once sent to the master control system before the voice module is not the upper of the target serial ports instruction First-level instruction, then target serial ports instruction is sent to the master control system by refusal.
3. the method according to claim 1, wherein target serial ports instruction is sent to the master described Include: before control system
Determine that the target serial ports instruction is first-level instruction;
The method also includes:
It is not first-level instruction in target serial ports instruction, and is once sent to the string of the master control system before the voice module When mouth instruction is the upper level instruction of the target serial ports instruction, target serial ports instruction is sent to the master control system;
It is not first-level instruction in target serial ports instruction, and is once sent to the string of the master control system before the voice module When mouth instruction is not the upper level instruction of the target serial ports instruction, the target serial ports is instructed and is sent to the master control by refusal System.
4. a kind of sound control method, which is characterized in that it is applied to master control system, the master control system is connected with voice module, The described method includes:
Receive the target serial ports instruction that the voice module is sent;
It controls target application and executes the corresponding operation of the target serial ports instruction.
5. according to the method described in claim 4, referring to it is characterized in that, executing the target serial ports in the control target application It enables before corresponding operation and includes:
Determine that the serial ports once executed before the target application instruction is the upper level instruction of the target serial ports instruction;
The method also includes:
If the serial ports instruction once executed before the target application is not the upper level instruction of the target serial ports instruction, control The target application does not execute the target serial ports and instructs corresponding operation.
6. according to the method described in claim 4, referring to it is characterized in that, executing the target serial ports in the control target application It enables before corresponding operation and includes:
Determine that the target serial ports instruction is first-level instruction;
The method also includes:
If the target serial ports instruction is not first-level instruction, and the serial ports instruction once executed before the target application is the mesh The upper level instruction for marking serial ports instruction then controls the target application and executes the corresponding operation of the target serial ports instruction;
If the target serial ports instruction is not first-level instruction, and the serial ports instruction once executed before the target application is not described The upper level instruction of target serial ports instruction then controls the target application and does not execute the corresponding operation of the target serial ports instruction.
7. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-6 the method is realized when row.
8. a kind of voice module characterized by comprising
At least one processor unit, communication interface, memory and communication bus;It is at least one described processor unit, described Communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Identify the voice command of user's input;
According to the default corresponding relationship between institute's speech commands and serial ports instruction and voice command, institute's speech commands are determined Corresponding target serial ports instruction;
Target serial ports instruction is sent to the master control system, the target serial ports instruction is executed for the master control system Corresponding operation.
9. a kind of master control system characterized by comprising
At least one processor unit, communication interface, memory and communication bus;It is at least one described processor unit, described Communication interface and the memory complete mutual communication by the communication bus;
The memory is configured as storage program code;
At least one described processor unit is configured as operation said program code to realize following operation:
Receive the target serial ports instruction that the voice module is sent;
It controls target application and executes the corresponding operation of the target serial ports instruction.
10. a kind of speech control system, which is characterized in that including described in voice module according to any one of claims 8 and claim 9 Master control system, interacted between the voice module and the master control system by serial communication.
CN201811348750.2A 2018-11-13 2018-11-13 Sound control method and system, storage medium, voice module, master control system Pending CN109360561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811348750.2A CN109360561A (en) 2018-11-13 2018-11-13 Sound control method and system, storage medium, voice module, master control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811348750.2A CN109360561A (en) 2018-11-13 2018-11-13 Sound control method and system, storage medium, voice module, master control system

Publications (1)

Publication Number Publication Date
CN109360561A true CN109360561A (en) 2019-02-19

Family

ID=65345011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811348750.2A Pending CN109360561A (en) 2018-11-13 2018-11-13 Sound control method and system, storage medium, voice module, master control system

Country Status (1)

Country Link
CN (1) CN109360561A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110223682A (en) * 2019-04-29 2019-09-10 百度在线网络技术(北京)有限公司 A kind of phonetic order referee method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1385783A (en) * 2001-05-14 2002-12-18 索尼电脑娱乐美国公司 System and method for controllnig role by menu driven speech sound in game environment
CN101902587A (en) * 2009-06-01 2010-12-01 沈阳同方多媒体科技有限公司 Voice-based television control system
CN104538030A (en) * 2014-12-11 2015-04-22 科大讯飞股份有限公司 Control system and method for controlling household appliances through voice
CN105931639A (en) * 2016-05-31 2016-09-07 杨若冲 Speech interaction method capable of supporting multi-hierarchy command words
US20170206059A1 (en) * 2016-01-15 2017-07-20 Hyundai Motor Company Apparatus and method for voice recognition device in vehicle
CN107065679A (en) * 2017-05-15 2017-08-18 佛山市顺德区美的洗涤电器制造有限公司 Dish-washing machine and its control device and control method
CN207460214U (en) * 2017-09-02 2018-06-05 长春工业大学 A kind of intelligent household control terminal based on speech recognition

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1385783A (en) * 2001-05-14 2002-12-18 索尼电脑娱乐美国公司 System and method for controllnig role by menu driven speech sound in game environment
CN101902587A (en) * 2009-06-01 2010-12-01 沈阳同方多媒体科技有限公司 Voice-based television control system
CN104538030A (en) * 2014-12-11 2015-04-22 科大讯飞股份有限公司 Control system and method for controlling household appliances through voice
US20170206059A1 (en) * 2016-01-15 2017-07-20 Hyundai Motor Company Apparatus and method for voice recognition device in vehicle
CN106976434A (en) * 2016-01-15 2017-07-25 现代自动车株式会社 Device and method for the speech recognition apparatus in vehicle
CN105931639A (en) * 2016-05-31 2016-09-07 杨若冲 Speech interaction method capable of supporting multi-hierarchy command words
CN107065679A (en) * 2017-05-15 2017-08-18 佛山市顺德区美的洗涤电器制造有限公司 Dish-washing machine and its control device and control method
CN207460214U (en) * 2017-09-02 2018-06-05 长春工业大学 A kind of intelligent household control terminal based on speech recognition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110223682A (en) * 2019-04-29 2019-09-10 百度在线网络技术(北京)有限公司 A kind of phonetic order referee method and device

Similar Documents

Publication Publication Date Title
CN110007902A (en) The method and device of business processing flow configuration
KR20200108775A (en) Training corpus generating method, apparatus, device and storage medium
EP3211543A1 (en) Multi-round session interaction method and system, and computer device
KR20200098378A (en) Method, device, electronic device and computer storage medium for determining description information
CN101841546A (en) Rule matching method, device and system
CN108369584B (en) Information processing system, descriptor creation method, and descriptor creation program
CN105653620B (en) Log analysis method and device of intelligent question-answering system
US11727923B2 (en) System and method for virtual conversations
CN105224396A (en) A kind of business data processing method and device
CN107832291A (en) Client service method, electronic installation and the storage medium of man-machine collaboration
JP2016157407A (en) Prior construction method of vocabulary semantic pattern for text analysis and response system
CN113139660A (en) Model reasoning method and device, electronic equipment and storage medium
CN105045808A (en) Composite rule set matching method and system
CN103049516A (en) Method and device for processing data
CN112016327A (en) Intelligent structured text extraction method and device based on multiple rounds of conversations and electronic equipment
CN105117430A (en) Repetitive task process discovery method based on equivalence class
CN109360561A (en) Sound control method and system, storage medium, voice module, master control system
CN113282606A (en) Data processing method, data processing device, storage medium and computing equipment
CN112418735A (en) Power grid AI scheduling system and method based on graph calculation
CN111831286B (en) User complaint processing method and device
CN113001538B (en) Command analysis method and system
CN111723580B (en) Power dispatching station information graph validation method based on voice recognition and image recognition
CN106991166A (en) A kind of big data processing method and processing device
CN116263717A (en) Order service processing method and device based on event
CN110162456A (en) A kind of test method, device, storage medium and the server of DUBBO service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219

RJ01 Rejection of invention patent application after publication