Summary of the invention
Main purpose of the present invention is to provide a kind of phonetic control command error correction method and system, is intended to improve voice-operated accuracy rate.
The present invention proposes a kind of phonetic control command error correction method, comprising:
When receiving phonetic control command, whether the phonetic control command that controlled terminal analysis receives meets identification error condition;
When the phonetic control command receiving meets described identification error condition, described controlled terminal, according to the phonetic control command prestoring and the mapping relations of control routine, is determined the corresponding control routine of phonetic control command receiving;
Described controlled terminal is sent to default server by the phonetic control command receiving and definite control routine, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
Described controlled terminal, according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Preferably, phonetic control command and the control routine of described server based on receiving, the step that returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal specifically comprises:
Described server determines whether the phonetic control command receiving mates with control routine;
When the phonetic control command receiving does not mate with control routine, described server returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal.
Preferably, when the described phonetic control command receiving does not mate with control routine, described server is after described controlled terminal returns the step of mapping relations, phonetic control command or control routine of correct phonetic control command and control routine, and the method also comprises:
The sound characteristic parameter of the phonetic control command that described collection of server receives;
Described server carries out audio parameter adjustment according to the sound characteristic parameter gathering to the phonetic control command prestoring.
Preferably, described identification error condition comprises that the number of times that receives phonetic control command in Preset Time interval conflicts with present mode of operation with the corresponding control routine of the phonetic control command receiving mutually over pre-set threshold value.
The present invention also proposes a kind of phonetic control command error correction method, comprising:
After the phonetic control command receiving in response, the correction instruction of the phonetic control command based on current response of user's transmission is detected and received to controlled terminal;
When receiving the correction instruction of user's transmission, described controlled terminal is determined phonetic control command and the corresponding control routine thereof receiving;
Described controlled terminal is sent to default server by the phonetic control command receiving and corresponding control routine thereof, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
Described controlled terminal, according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
The present invention also proposes a kind of phonetic control command error correction system, comprising:
Analysis module, for when receiving phonetic control command, analyzes the phonetic control command receiving and whether meets identification error condition;
Determination module, while meeting described identification error condition for the phonetic control command receiving, according to the mapping relations of the phonetic control command prestoring and control routine, determines the corresponding control routine of phonetic control command receiving;
Sending module, for the phonetic control command receiving and definite control routine are sent to default server, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
Update module, for according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Preferably, phonetic control command and the control routine of described server based on receiving, mapping relations, phonetic control command or the control routine that returns correct phonetic control command and control routine to described controlled terminal realized by the control module of server, and this control module comprises:
Determining unit, for determining whether the phonetic control command receiving mates with control routine;
Transmitting element, while not mating with control routine for the phonetic control command receiving, returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal.
Preferably, described control module also comprises:
Collecting unit, for gathering the sound characteristic parameter of the phonetic control command receiving;
Adjustment unit, for according to the sound characteristic parameter gathering to what prestore, the phonetic control command mating with the phonetic control command receiving carries out audio parameter adjustment.
Preferably, described identification error condition comprises that the number of times that receives phonetic control command in Preset Time interval conflicts with present mode of operation with the corresponding control routine of the phonetic control command receiving mutually over pre-set threshold value.
The present invention also proposes a kind of phonetic control command error correction system, comprising:
Detecting module, after the phonetic control command receiving in response, detects and receives the correction instruction of the phonetic control command based on current response of user's transmission;
Determination module, for when receiving the correction instruction of user's transmission, determines the phonetic control command and the corresponding control routine thereof that receive;
Sending module, for the phonetic control command receiving and corresponding control routine thereof are sent to default server, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
Update module, for according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine
Phonetic control command error correction method and system that the present invention proposes, when receiving phonetic control command and meet described identification error condition, controlled terminal is according to the phonetic control command prestoring and the mapping relations of control routine, determine the corresponding control routine of phonetic control command receiving, and the phonetic control command receiving and definite control routine are sent to default server, phonetic control command for described server based on receiving and control routine, to described controlled terminal, return correct phonetic control command and the mapping relations of control routine, phonetic control command or control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine, the error correction of realization to the phonetic control command of identification error, improve voice-operated accuracy.
Embodiment
Below in conjunction with drawings and the specific embodiments, with regard to technical scheme of the present invention, be described further.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the hardware configuration schematic diagram of the first embodiment of the present invention's controlled terminal of realizing phonetic control command error correction.
This controlled terminal 1 comprises processing unit 11, memory cell 12, voice pick device 13 and phonetic control command error correction system 14.This terminal 1 can be the controlled terminal of any suitable support voice control such as TV, air conditioner and refrigerator etc.
Voice pick device 13, during for vibrations receiving sound wave, is converted to phonetic control command by the signal of telecommunication of generation.
Memory cell 12, for storing mapping relations between this phonetic control command error correction system 14 and service data thereof, default phonetic control command identification error condition, phonetic control command and control routine and default server address.It is emphasized that this memory cell 12 can be both an independent storage device, can be also the general designation of a plurality of different storage devices, and therefore not to repeat here.
This processing unit 11, be used for calling and carry out this phonetic control command error correction system 14, when voice pick device 13 receives phonetic control command, call the phonetic control command identification error condition in memory cell 12, to judge whether the phonetic control command receiving meets this phonetic control command identification error condition, when the phonetic control command receiving meets this phonetic control command identification error condition, call the phonetic control command of storage in memory cell 12 and the mapping relations between control routine, determine the corresponding control routine of phonetic control command receiving, and the control command receiving and definite control routine are sent to server, and return correct phonetic control command and the mapping relations of control routine receiving server, when phonetic control command or control routine, call memory cell 12 and adopt the phonetic control command that receives and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine.This processing unit 11 and memory cell 12 can be respectively both independent unit, also can integrate, and formed a controller, and therefore not to repeat here.
With reference to Fig. 2, Fig. 2 is the hardware configuration schematic diagram of the second embodiment of the present invention's controlled terminal of realizing phonetic control command error correction.
This controlled terminal 2 comprises processing unit 21, memory cell 22, voice pick device 23 and phonetic control command error correction system 24.This terminal 2 can be the controlled terminal of any suitable support voice control such as TV, air conditioner and refrigerator etc.
Voice pick device 23, during for vibrations receiving sound wave, is converted to phonetic control command by the signal of telecommunication of generation.
Memory cell 22, for storing mapping relations between this phonetic control command error correction system 24 and service data, phonetic control command and control routine and default server address.It is emphasized that this memory cell 22 can be both an independent storage device, can be also the general designation of a plurality of different storage devices, and therefore not to repeat here.
This processing unit 21, be used for calling and carry out this phonetic control command error correction system 24, after the phonetic control command receiving in response, detect and receive the correction instruction of the phonetic control command based on current response of user's transmission, and when receiving the correction instruction of user's transmission, described controlled terminal is determined phonetic control command and the corresponding control routine thereof receiving, the phonetic control command receiving and corresponding control routine thereof are sent to default server, receiving the correct phonetic control command of server passback and the mapping relations of control routine, when phonetic control command or control routine, call memory cell 22 according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine.This processing unit 21 and memory cell 22 can be respectively both independent unit, also can integrate, and formed a controller, and therefore not to repeat here.
With reference to Fig. 3, Fig. 3 is the high-level schematic functional block diagram of the preferred embodiment of phonetic control command error correction system in Fig. 1.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 3 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the phonetic control command error correction system 14 shown in Fig. 3, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function piece of understanding this phonetic control command error correction system 14, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of define name will be reached separately.
The phonetic control command error correction system 14 that the present embodiment proposes, comprising:
Analysis module 141, for when receiving phonetic control command, analyzes the phonetic control command receiving and whether meets identification error condition;
Determination module 142, while meeting described identification error condition for the phonetic control command receiving, according to the mapping relations of the phonetic control command prestoring and control routine, determines the corresponding control routine of phonetic control command receiving;
In the present embodiment, this identification error condition can comprise that the number of times that receives phonetic control command in Preset Time interval conflicts with present mode of operation with the corresponding control routine of the phonetic control command receiving mutually over pre-set threshold value.For example, controlled terminal receives within a preset time interval same voice control and refers to separately, surpasses and thinks that mistake appears in controlled terminal identification for 5 times; Or, take air conditioner as example, the current operational mode of air conditioner is heating mode, when the phonetic control command receiving is " air-conditioning; 17 degree ", this phonetic control command occurs conflicting with current heating mode, thinks that mistake appears in the identification of current speech control command, meets identification error condition.In other variant embodiment, this identification error condition, also the phonetic control command that None-identified receives can be comprised, according to default phonetic control command and the mapping relations between control routine, control routine corresponding to phonetic control command receiving cannot be inquired.It should be noted that, in the present embodiment, identification error condition is not limited to above-mentioned several, and the application's inventive point does not also lie in what confirmation identification error condition is, but a kind of invention thought is proposed, when the phonetic control command receiving meets identification error condition, determine the corresponding control routine of phonetic control command receiving.
In the present embodiment, the phonetic control command of user's input may be easier, and possibility Incomplete matching between the phonetic control command prestoring, for example, phonetic control command " the air-conditioning that air conditioner prestores, start ", and the phonetic control command of user's input may be " air-conditioning, open ", this kind of situation only needs the phonetic control command receiving to mate with the key sound of the phonetic control command prestoring, can think that the phonetic control command receiving is corresponding with the phonetic control command prestoring, " air-conditioning for example, start " crux sound be " air-conditioning, open ", at the phonetic control command receiving, it is " air-conditioning, open " or " air-conditioning, open " time, think that the phonetic control command receiving is " air-conditioning, start ", now according to default phonetic control command and the mapping relations between control routine, determine " air-conditioning, start " corresponding control routine, and respond this definite control routine.
Sending module 143, for the phonetic control command receiving and definite control routine are sent to default server, for described server, to described controlled terminal, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine;
In the present embodiment, server can be determined the phonetic control command receiving by artificial mode, also can be by default control system the phonetic control command based on receiving and control routine, to described controlled terminal, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine.
Update module 144, for according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Server can only return correct phonetic control command to controlled terminal, also can only to controlled terminal, return correct control routine, also can return to controlled terminal the mapping relations of phonetic control command and control routine; In the present embodiment, preferred version is for to return correct voice control routine to controlled terminal, or return correct phonetic control command and the mapping relations of control routine, to guarantee that controlled terminal can correctly identify the phonetic control command receiving when moving next time.
The phonetic control command error correction system that the present embodiment proposes, this system is when receiving phonetic control command and meet described identification error condition, controlled terminal is according to the phonetic control command prestoring and the mapping relations of control routine, determine the corresponding control routine of phonetic control command receiving, and the phonetic control command receiving and definite control routine are sent to default server, phonetic control command for described server based on receiving and control routine, to described controlled terminal, return correct phonetic control command and the mapping relations of control routine, phonetic control command or control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine, the error correction of realization to the phonetic control command of identification error, improve voice-operated accuracy.
Be understandable that, for reducing the overhead of server, phonetic control command and the control routine of described server based on receiving, mapping relations, phonetic control command or the control routine that returns correct phonetic control command and control routine to described controlled terminal realized by the control module of server, and this control module comprises:
Determining unit, for determining whether the phonetic control command receiving mates with control routine;
Transmitting element, while not mating with control routine for the phonetic control command receiving, returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal.
In the present embodiment, determining unit can be directly according to the phonetic control command prestoring and the mapping relations between control routine, determine the corresponding phonetic control command of control routine receiving, and a plurality of phonetic control commands of determining are compared with the phonetic control command receiving successively, when definite phonetic control command does not mate with the phonetic control command receiving, think that the phonetic control command receiving does not mate with control routine, now, can be according to default phonetic control command and the mapping relations between control routine, determine the corresponding control routine of phonetic control command receiving, and by this correct control routine, or the mapping relations between the control command receiving and this correct control routine return to controlled terminal, or determining unit also can be directly according to the phonetic control command prestoring and the mapping relations between control routine, determine the corresponding control routine of phonetic control command receiving, definite control routine and the control routine receiving are compared, when definite control routine is not mated with the control routine receiving, definite control routine is back to controlled terminal, or the phonetic control command receiving and definite control routine are back to controlled terminal.
Update module 144 is when receiving the control routine of server passback, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving, and in the mapping relations of the phonetic control command prestoring and control routine, adopt the phonetic control command receiving to replace this definite phonetic control command; Update module 144 is receiving the phonetic control command of server passback, or during the mapping relations between phonetic control command and control routine, the phonetic control command that employing receives, or the mapping relations between phonetic control command and control routine, the step of the mapping relations between the phonetic control command that renewal prestores and control routine is similar to above-mentioned steps, does not repeat them here.
In the present embodiment, when determining unit determines that the phonetic control command receive mates with control routine, can be to controlled terminal transmission the match is successful instruction, now controlled terminal responds its phonetic control command receiving.
Further, for guaranteeing that comparing unit in server determines the accuracy of whether mating between the phonetic control command that receives and control routine, described control module also comprises:
Collecting unit, for gathering the sound characteristic parameter of the phonetic control command receiving;
Adjustment unit, for carrying out audio parameter adjustment according to the sound characteristic parameter gathering to the phonetic control command prestoring.
In the present embodiment, this sound characteristic parameter can comprise audio frequency, tone color and loudness of a sound etc., according to the sound characteristic parameter getting, the phonetic control command prestoring is carried out to audio parameter adjustment, the phonetic control command that assurance prestores and the mapping relations real-time update between control routine, so that the identification of phonetic control command is more accurate.In the present embodiment, server can be every the default time interval, to controlled terminal, issue phonetic control command after renewal and the mapping relations of control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations between control routine, the phonetic control command that renewal prestores and the mapping relations between control routine, more accurate to guarantee the voice control of controlled terminal.
With reference to Fig. 4, Fig. 4 is the high-level schematic functional block diagram of the preferred embodiment of phonetic control command error correction system in Fig. 2.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 4 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the phonetic control command error correction system 24 shown in Fig. 4, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function piece of understanding this phonetic control command error correction system 24, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of define name will be reached separately.
The phonetic control command error correction system 24 that the present embodiment proposes, comprising:
Detecting module 241, after the phonetic control command receiving in response, detects and receives the correction instruction of the phonetic control command based on current response of user's transmission;
Determination module 242, for when receiving the correction instruction of user's transmission, determines the phonetic control command and the corresponding control routine thereof that receive;
In the present embodiment, control terminal is when the phonetic control command receiving, determine the corresponding control routine of this phonetic control command, and based on this definite control routine operation, user is after input phonetic control command, if find the current operational mode of controlled terminal, do not conform to the phonetic control command of its transmission, to controlled terminal, send correction instruction.Can correction instruction can be the phonetic control command that user directly sends, for example user sends phonetic control command " identification error ", for avoiding the correction instruction that controlled terminal sends by voice user to continue identification error, can send correction instruction by the button on controlled terminal or control terminal, when receiving the correction instruction of user's transmission, start module 242 and start phonetic control command error correction modes.In this enforcement, after the phonetic control command receiving in response, controlled terminal can directly obtain the control routine of current response and the phonetic control command receiving.
In the present embodiment, the phonetic control command of user's input may be easier, and possibility Incomplete matching between the phonetic control command prestoring, for example, phonetic control command " the air-conditioning that air conditioner prestores, start ", and the phonetic control command of user's input may be " air-conditioning, open ", this kind of situation only needs the phonetic control command receiving to mate with the key sound of the phonetic control command prestoring, can think that the phonetic control command receiving is corresponding with the phonetic control command prestoring, " air-conditioning for example, start " key sound be " air-conditioning, open ", at the phonetic control command receiving, it is " air-conditioning, open " or " air-conditioning, open " time, think that the phonetic control command receiving is " air-conditioning, start ", now according to default phonetic control command and the mapping relations between control routine, determine " air-conditioning, start " corresponding control routine, and respond this definite control routine.
Sending module 243, for the phonetic control command receiving and corresponding control routine thereof are sent to default server, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
In the present embodiment, server can be determined the phonetic control command receiving by artificial mode, also can be by default control system the phonetic control command based on receiving and control routine, to described controlled terminal, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine.For example, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving.
Update module 244, for according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Server can only return correct phonetic control command to controlled terminal, also can only to controlled terminal, return correct control routine, also can return to controlled terminal the mapping relations of phonetic control command and control routine; In the present embodiment, preferred version is for to return correct voice control routine to controlled terminal, or return correct phonetic control command and the mapping relations of control routine, to guarantee that controlled terminal can correctly identify the phonetic control command receiving when moving next time.
Update module 244 is when receiving the control routine of server passback, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving, and in the mapping relations of the phonetic control command prestoring and control routine, adopt the phonetic control command receiving to replace this definite phonetic control command; Update module 244 is receiving the phonetic control command of server passback, or during the mapping relations between phonetic control command and control routine, the phonetic control command that employing receives, or the mapping relations between phonetic control command and control routine, the step of the mapping relations between the phonetic control command that renewal prestores and control routine is similar to above-mentioned steps, does not repeat them here.
The phonetic control command error correction system that the present embodiment proposes, after the phonetic control command that this system receives in response, the correction instruction of the phonetic control command based on current response of user's transmission is detected and received to controlled terminal, and when receiving the correction instruction of user's transmission, determine the phonetic control command and the corresponding control routine thereof that receive, described controlled terminal is sent to default server by the phonetic control command receiving and corresponding control routine thereof, phonetic control command for described server based on receiving and control routine, to described controlled terminal, return correct phonetic control command and the mapping relations of control routine, phonetic control command or control routine, described controlled terminal is according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine., realize the error correction to the phonetic control command of identification error, improve voice-operated accuracy.
It will be understood by those skilled in the art that, phonetic control command and the control routine of described server based on receiving, mapping relations, phonetic control command or the control routine that returns correct phonetic control command and control routine to described controlled terminal realized by the control module of server, and this control module comprises:
Collecting unit, for gathering the sound characteristic parameter of the phonetic control command receiving;
Adjustment unit, for carrying out audio parameter adjustment according to the sound characteristic parameter gathering to the phonetic control command prestoring.
In the present embodiment, this sound characteristic parameter can comprise audio frequency, tone color and loudness of a sound etc., according to the sound characteristic parameter getting, the phonetic control command prestoring is carried out to audio parameter adjustment, the phonetic control command that assurance prestores and the mapping relations real-time update between control routine, so that the identification of phonetic control command is more accurate.In the present embodiment, server can be every the default time interval, to controlled terminal, issue phonetic control command after renewal and the mapping relations of control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations between control routine, the phonetic control command that renewal prestores and the mapping relations between control routine, more accurate to guarantee the voice control of controlled terminal.
With reference to Fig. 5, Fig. 5 is the schematic flow sheet of phonetic control command error correction method the first embodiment of the present invention.
The present embodiment proposes a kind of phonetic control command error correction method, comprising:
Step S10, when receiving phonetic control command, whether the phonetic control command that controlled terminal analysis receives meets identification error condition;
Step S20, when the phonetic control command receiving meets described identification error condition, described controlled terminal, according to the phonetic control command prestoring and the mapping relations of control routine, is determined the corresponding control routine of phonetic control command receiving;
In the present embodiment, this identification error condition can comprise that the number of times that receives phonetic control command in Preset Time interval conflicts with present mode of operation with the corresponding control routine of the phonetic control command receiving mutually over pre-set threshold value.For example, controlled terminal receives within a preset time interval same voice control and refers to separately, surpasses and thinks that mistake appears in controlled terminal identification for 5 times; Or, take air conditioner as example, the current operational mode of air conditioner is heating mode, when the phonetic control command receiving is " air-conditioning; 17 degree ", this phonetic control command occurs conflicting with current heating mode, thinks that mistake appears in the identification of current speech control command, meets identification error condition.In other variant embodiment, this identification error condition, also the phonetic control command that None-identified receives can be comprised, according to default phonetic control command and the mapping relations between control routine, control routine corresponding to phonetic control command receiving cannot be inquired.It should be noted that, in the present embodiment, identification error condition is not limited to above-mentioned several, and the application's inventive point does not also lie in what confirmation identification error condition is, but a kind of invention thought is proposed, when the phonetic control command receiving meets identification error condition, determine the corresponding control routine of phonetic control command receiving.
In the present embodiment, the phonetic control command of user's input may be easier, and possibility Incomplete matching between the phonetic control command prestoring, for example, phonetic control command " the air-conditioning that air conditioner prestores, start ", and the phonetic control command of user's input may be " air-conditioning, open ", this kind of situation only needs the phonetic control command receiving to mate with the key sound of the phonetic control command prestoring, can think that the phonetic control command receiving is corresponding with the phonetic control command prestoring, " air-conditioning for example, start " key sound be " air-conditioning, open ", at the phonetic control command receiving, it is " air-conditioning, open " or " air-conditioning, open " time, think that the phonetic control command receiving is " air-conditioning, start ", now according to default phonetic control command and the mapping relations between control routine, determine " air-conditioning, start " corresponding control routine, and respond this definite control routine.
Step S30, described controlled terminal is sent to default server by the phonetic control command receiving and definite control routine, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
In the present embodiment, server can be determined the phonetic control command receiving by artificial mode, also can be by default control system the phonetic control command based on receiving and control routine, to described controlled terminal, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine.
Step S40, described controlled terminal, according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Server can only return correct phonetic control command to controlled terminal, also can only to controlled terminal, return correct control routine, also can return to controlled terminal the mapping relations of phonetic control command and control routine; In the present embodiment, preferred version is for to return correct voice control routine to controlled terminal, or return correct phonetic control command and the mapping relations of control routine, to guarantee that controlled terminal can correctly identify the phonetic control command receiving when moving next time.
The phonetic control command error correction method that the present embodiment proposes, the method is when receiving phonetic control command and meet described identification error condition, controlled terminal is according to the phonetic control command prestoring and the mapping relations of control routine, determine the corresponding control routine of phonetic control command receiving, and the phonetic control command receiving and definite control routine are sent to default server, phonetic control command for described server based on receiving and control routine, to described controlled terminal, return correct phonetic control command and the mapping relations of control routine, phonetic control command or control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine, the error correction of realization to the phonetic control command of identification error, improve voice-operated accuracy.
Be understandable that, for reducing the overhead of server, phonetic control command and the control routine of described server based on receiving, the step that returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal comprises:
Described server determines whether the phonetic control command receiving mates with control routine;
When the phonetic control command receiving does not mate with control routine, described server device returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal.
In the present embodiment, server can be directly according to the phonetic control command prestoring and the mapping relations between control routine, determine the corresponding phonetic control command of control routine receiving, and a plurality of phonetic control commands of determining are compared with the phonetic control command receiving successively, when definite phonetic control command does not mate with the phonetic control command receiving, think that the phonetic control command receiving does not mate with control routine, now, can be according to default phonetic control command and the mapping relations between control routine, determine the corresponding control routine of phonetic control command receiving, and by this correct control routine, or the mapping relations between the control command receiving and this correct control routine return to controlled terminal, or server also can be directly according to the phonetic control command prestoring and the mapping relations between control routine, determine the corresponding control routine of phonetic control command receiving, definite control routine and the control routine receiving are compared, when definite control routine is not mated with the control routine receiving, definite control routine is back to controlled terminal, or the phonetic control command receiving and definite control routine are back to controlled terminal.
Controlled terminal is when receiving the control routine of server passback, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving, and in the mapping relations of the phonetic control command prestoring and control routine, adopt the phonetic control command receiving to replace this definite phonetic control command; Controlled terminal is receiving the phonetic control command of server passback, or during the mapping relations between phonetic control command and control routine, the phonetic control command that employing receives, or the mapping relations between phonetic control command and control routine, the step of the mapping relations between the phonetic control command that renewal prestores and control routine is similar to above-mentioned steps, does not repeat them here.
In the present embodiment, when server determines that the phonetic control command receive mates with control routine, can be to controlled terminal transmission the match is successful instruction, now controlled terminal responds its phonetic control command receiving.
Further, for guaranteeing comparing unit in server, determine the accuracy of whether mating between the phonetic control command that receives and control routine, when the phonetic control command receiving does not mate with control routine, described server device is after described controlled terminal returns the step of mapping relations, phonetic control command or control routine of correct phonetic control command and control routine, and the method also comprises:
The sound characteristic parameter of the phonetic control command that described collection of server receives;
Described server carries out audio parameter adjustment according to the sound characteristic parameter gathering to the phonetic control command prestoring.
In the present embodiment, this sound characteristic parameter can comprise audio frequency, tone color and loudness of a sound etc., according to the sound characteristic parameter getting, the phonetic control command prestoring is carried out to audio parameter adjustment, the phonetic control command that assurance prestores and the mapping relations real-time update between control routine, so that the identification of phonetic control command is more accurate.In the present embodiment, server can be every the default time interval, to controlled terminal, issue phonetic control command after renewal and the mapping relations of control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations between control routine, the phonetic control command that renewal prestores and the mapping relations between control routine, more accurate to guarantee the voice control of controlled terminal.
With reference to Fig. 6, Fig. 6 is the schematic flow sheet of phonetic control command error correction method the second embodiment of the present invention.
The present embodiment proposes a kind of phonetic control command error correction method, comprising:
Step S50, after the phonetic control command receiving in response, the correction instruction of the phonetic control command based on current response of user's transmission is detected and received to controlled terminal;
Step S60, when receiving the correction instruction of user's transmission, described controlled terminal is determined phonetic control command and the corresponding control routine thereof receiving;
In the present embodiment, control terminal is when the phonetic control command receiving, determine the corresponding control routine of this phonetic control command, and based on this definite control routine operation, user is after input phonetic control command, if find the current operational mode of controlled terminal, do not conform to the phonetic control command of its transmission, to controlled terminal, send correction instruction.Can correction instruction can be the phonetic control command that user directly sends, for example user sends phonetic control command " identification error ", for avoiding the correction instruction that controlled terminal sends by voice user to continue identification error, can send correction instruction by the button on controlled terminal or control terminal, when receiving the correction instruction of user's transmission, start module 242 and start phonetic control command error correction modes.In this enforcement, after the phonetic control command receiving in response, controlled terminal can directly obtain the control routine of current response and the phonetic control command receiving.
In the present embodiment, the phonetic control command of user's input may be easier, and possibility Incomplete matching between the phonetic control command prestoring, for example, phonetic control command " the air-conditioning that air conditioner prestores, start ", and the phonetic control command of user's input may be " air-conditioning, open ", this kind of situation only needs the phonetic control command receiving to mate with the key sound of the phonetic control command prestoring, can think that the phonetic control command receiving is corresponding with the phonetic control command prestoring, " air-conditioning for example, start " key sound be " air-conditioning, open ", at the phonetic control command receiving, it is " air-conditioning, open " or " air-conditioning, open " time, think that the phonetic control command receiving is " air-conditioning, start ", now according to default phonetic control command and the mapping relations between control routine, determine " air-conditioning, start " corresponding control routine, and respond this definite control routine.
Step S70, described controlled terminal is sent to default server by the phonetic control command receiving and corresponding control routine thereof, phonetic control command for described server based on receiving and control routine, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal;
In the present embodiment, server can be determined the phonetic control command receiving by artificial mode, also can be by default control system the phonetic control command based on receiving and control routine, to described controlled terminal, return mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine.For example, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving.
Step S80, described controlled terminal, according to the phonetic control command receiving and mapping relations, phonetic control command or the control routine of control routine, upgrades the mapping relations of its phonetic control command prestoring and control routine.
Server can only return correct phonetic control command to controlled terminal, also can only to controlled terminal, return correct control routine, also can return to controlled terminal the mapping relations of phonetic control command and control routine; In the present embodiment, preferred version is for to return correct voice control routine to controlled terminal, or return correct phonetic control command and the mapping relations of control routine, to guarantee that controlled terminal can correctly identify the phonetic control command receiving when moving next time.
Update module 244 is when receiving the control routine of server passback, according to the mapping relations between the phonetic control command prestoring and control routine, determine the corresponding phonetic control command of control routine receiving, and in the mapping relations of the phonetic control command prestoring and control routine, adopt the phonetic control command receiving to replace this definite phonetic control command; Update module 244 is receiving the phonetic control command of server passback, or during the mapping relations between phonetic control command and control routine, the phonetic control command that employing receives, or the mapping relations between phonetic control command and control routine, the step of the mapping relations between the phonetic control command that renewal prestores and control routine is similar to above-mentioned steps, does not repeat them here.
The phonetic control command error correction method that the present embodiment proposes, after the phonetic control command that the method receives in response, the correction instruction of the phonetic control command based on current response of user's transmission is detected and received to controlled terminal, and when receiving the correction instruction of user's transmission, determine the phonetic control command and the corresponding control routine thereof that receive, described controlled terminal is sent to default server by the phonetic control command receiving and corresponding control routine thereof, phonetic control command for described server based on receiving and control routine, to described controlled terminal, return correct phonetic control command and the mapping relations of control routine, phonetic control command or control routine, described controlled terminal is according to the phonetic control command receiving and the mapping relations of control routine, phonetic control command or control routine, upgrade the mapping relations of its phonetic control command prestoring and control routine., realize the error correction to the phonetic control command of identification error, improve voice-operated accuracy.
It will be understood by those skilled in the art that, phonetic control command and the control routine of described server based on receiving, the step that returns mapping relations, phonetic control command or the control routine of correct phonetic control command and control routine to described controlled terminal comprises:
The sound characteristic parameter of the phonetic control command that described collection of server receives;
Described server carries out audio parameter adjustment according to the sound characteristic parameter gathering to the phonetic control command prestoring.
In the present embodiment, this sound characteristic parameter can comprise audio frequency, tone color and loudness of a sound etc., according to the sound characteristic parameter getting, the phonetic control command prestoring is carried out to audio parameter adjustment, the phonetic control command that assurance prestores and the mapping relations real-time update between control routine, so that the identification of phonetic control command is more accurate.In the present embodiment, server can be every the default time interval, to controlled terminal, issue phonetic control command after renewal and the mapping relations of control routine, controlled terminal is according to the phonetic control command receiving and the mapping relations between control routine, the phonetic control command that renewal prestores and the mapping relations between control routine, more accurate to guarantee the voice control of controlled terminal.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions are with so that a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.