[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2015158132A1 - 语音控制方法和系统 - Google Patents

语音控制方法和系统 Download PDF

Info

Publication number
WO2015158132A1
WO2015158132A1 PCT/CN2014/091936 CN2014091936W WO2015158132A1 WO 2015158132 A1 WO2015158132 A1 WO 2015158132A1 CN 2014091936 W CN2014091936 W CN 2014091936W WO 2015158132 A1 WO2015158132 A1 WO 2015158132A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice control
control command
controlled terminal
terminal
controlled
Prior art date
Application number
PCT/CN2014/091936
Other languages
English (en)
French (fr)
Inventor
程德凯
吕艳红
Original Assignee
广东美的制冷设备有限公司
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 广东美的制冷设备有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2015158132A1 publication Critical patent/WO2015158132A1/zh

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to the field of voice technologies, and in particular, to a voice control method and system.
  • the existing voice control terminal usually has two control modes. One is that the user directly sends a voice control command to the controlled home appliance, and the controlled terminal recognizes the voice control command and parses out the corresponding terminal control command, and the controlled terminal follows the analysis. The terminal control command is executed.
  • the voice control method often has a voice pickup failure or a high error rate of the command error recognition when the user is far away from the controlled terminal, and the voice control accuracy is low; one is to implement the voice control terminal by using the voice terminal.
  • the voice terminal can be installed in the user or in the mobile terminal, when the user needs to voice control the home appliance, input voice control command to the voice terminal, and then the voice terminal
  • the voice control command is parsed and sent to the controlled terminal, and the controlled terminal operates according to the parsed voice control instruction.
  • This method requires an additional voice terminal, and the cost is high. If the fixed terminal is used, the applicable range is limited to the vicinity of the installation location. If a mobile terminal device is used, the device is easily lost and inconvenient to use.
  • a primary object of the present invention is to provide a voice control method and system that improves voice control accuracy while saving the cost of voice control.
  • This embodiment provides a voice control method, which includes:
  • the controlled terminal detects and receives voice control commands in real time or at a time
  • the controlled terminal extracts the sound parameter of the received audio control signal, and compares the extracted sound parameter with the preset sound parameter;
  • the controlled terminal determines whether the detected voice control instruction corresponds to the sound control instruction
  • the controlled terminal broadcasts the voice control command for the other controlled terminal to detect and receive the voice control command, or the controlled terminal determines the location And other controlled terminals corresponding to the voice control instruction, and correspondingly transmitting the voice control instruction to the determined other controlled terminal, for determining that the other controlled terminal responds to the voice control instruction;
  • the controlled terminal responds to the voice control instruction when the detected voice control command corresponds thereto.
  • the step of the controlled terminal responding to the voice control instruction includes:
  • the controlled terminal acquires the strength of each voice control command to determine the voice control command with the strongest strength
  • the controlled terminal responds to the determined controlled command.
  • the step of the controlled terminal responding to the voice control instruction includes:
  • the controlled terminal determines the number of received voice control commands when the detected voice control command corresponds thereto and receives a plurality of voice control commands within a preset time interval;
  • the controlled terminal compares the determined number of voice control commands with the number of received voice control commands;
  • the controlled terminal responds to the determined voice control command when the determined number of voice control commands is greater than the number of received voice control commands.
  • the step of the controlled terminal responding to the voice control instruction includes:
  • the voice control instructions are sequentially set with weights according to preset weights, and weighted calculation is performed to determine a current voice control instruction
  • the present invention also provides a voice control method, including:
  • the transit terminal detects the voice control command sent by the controlled terminal in real time or periodically;
  • the relay terminal When detecting the voice control command sent by the controlled terminal, the relay terminal extracts the sound parameter of the received audio control signal, and compares the extracted sound parameter with the preset sound parameter;
  • the relay terminal determines the controlled terminal corresponding to the detected voice control instruction
  • the relay terminal sends the received voice control command to the determined controlled terminal for the controlled terminal to respond to the received voice control command.
  • the step of determining, by the relay terminal, the controlled terminal corresponding to the detected voice control command includes:
  • the relay terminal When receiving a plurality of voice control commands within a preset time interval, the relay terminal compares signal strengths of the respective voice control commands to determine a voice control command having the highest signal strength;
  • the relay terminal determines the controlled terminal corresponding to the voice control command with the highest signal strength.
  • the step of the terminal sending the received voice control command to the determined controlled terminal for the controlled terminal to respond to the received voice control command includes:
  • the transit terminal compares the number of voice control commands corresponding to the respective controlled terminals to determine the controlled terminal with the largest number of corresponding voice control commands;
  • the relay terminal sends the determined voice control command corresponding to the controlled terminal to the determined controlled terminal, so that the controlled terminal responds to the received voice control command.
  • the step of determining, by the relay terminal, the controlled terminal corresponding to the detected voice control command includes:
  • the relay terminal When receiving a plurality of voice control commands within a preset time interval, the relay terminal compares the received voice control commands;
  • the transit terminal acquires the same number of voice control instructions
  • the transit terminal determines the controlled terminal corresponding to the most numerous voice control commands.
  • the step of the relay terminal determining the controlled terminal corresponding to the detected voice control instruction includes:
  • the relay terminal compares the received voice control instruction with the pre-stored voice identifier of each controlled terminal;
  • the transit terminal determines a voice identifier corresponding to the detected voice control command, and the controlled terminal corresponding to the voice identifier is the determined controlled terminal.
  • the present invention also provides a voice control system, where the voice control system includes:
  • a detection module for detecting voice control commands in real time or timing
  • An extraction module configured to extract sound parameters of the received audio control signal
  • a comparison module configured to compare the extracted sound parameter with a preset sound parameter
  • a determining module configured to: when the comparison result of the extracted sound parameter and the preset sound parameter meets a preset condition, the controlled Determining, by the terminal, whether the detected voice control command corresponds to the same, and when the detected voice control command does not correspond to the voice control command, the controlled terminal determines another controlled terminal corresponding to the voice control command;
  • a receiving module configured to: when the detected voice control command does not correspond to the voice control command, the controlled terminal broadcasts the voice control command, so that the other controlled terminal detects and receives the voice control command, or And the voice control instruction is correspondingly transmitted to the determined other controlled terminal, so that the determined other controlled terminal responds to the voice control instruction;
  • a processing module configured to: when the detected voice control instruction corresponds thereto, the controlled terminal responds to the voice control instruction.
  • the determining module is further configured to: when the detected voice control instruction corresponds to the voice control command, and obtain multiple voice control commands within a preset time interval, obtain the strength of each voice control command to determine the voice with the strongest strength. Control instructions; the processing module is further responsive to the determined controlled instructions.
  • the determining module is further configured to determine the number of received voice control commands when multiple voice control commands are received within a preset time interval, and the system further includes a comparison module for receiving other When the number of voice control commands broadcast by the controlled terminal is determined, the number of voice control commands is determined to be compared with the number of received voice control commands; and the processing module is further configured to determine that the number of voice control commands is greater than the received voice. When the number of instructions is controlled, it responds to the received voice control command.
  • the determining module is further configured to sort the strengths of the received voice control instructions, and sequentially set weights on the voice control instructions according to preset weights, and perform weighting calculation to determine current voice control instructions;
  • the processing module is also responsive to the determined voice control instructions.
  • the voice control method and system provided by the present invention when receiving the voice control command, determines whether the received voice control command corresponds to the voice control command, and when the received voice control command does not correspond to the voice control command, the controlled terminal broadcasts
  • the voice control command is used for other controlled terminals to detect and receive the voice control command, or the controlled terminal determines other controlled terminals corresponding to the voice control command, and corresponding to the voice control command And transmitting to the determined other controlled terminals for the determined other controlled terminals to respond to the voice control instructions.
  • the voice control command can be forwarded to the target controlled terminal through other controlled terminals close to the user, so as to realize remote control of the controlled terminal, the control accuracy is high, and no special setting is needed.
  • the voice terminal controls the controlled terminal to save costs.
  • FIG. 1 is a schematic diagram of a hardware structure of a preferred embodiment of a controlled terminal that implements voice control according to the present invention
  • FIG. 2 is a schematic diagram of functional modules of the voice control system of FIG. 1;
  • FIG. 3 is a schematic flowchart of a first embodiment of a voice control method according to the present invention.
  • FIG. 4 is a schematic flow chart of a second embodiment of a voice control method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of a voice control method according to the present invention.
  • FIG. 6 is a schematic flowchart diagram of a fourth embodiment of a voice control method according to the present invention.
  • FIG. 1 is a schematic diagram of a hardware structure of a preferred embodiment of a controlled terminal for implementing voice control according to the present invention.
  • the controlled terminal 1 includes a processing unit 11, a storage unit 12, a hair extension unit 13, a voice pickup device 14, and a voice control system 15.
  • the terminal 1 may be any applicable home appliance or the like such as a television, an air conditioner, and a refrigerator.
  • the voice pickup device 14 is configured to convert the generated electrical signal into a voice control command upon receiving the vibration of the sound wave.
  • the storage unit 12 is configured to store the voice control system 15 and its operation data, the mapping relationship between the voice control commands, the control code, and the voice identifier of each terminal. It should be emphasized that the storage unit 12 may be a single storage device or a collective name of a plurality of different storage devices, and details are not described herein.
  • the receiving unit 13 is configured to detect a voice control command under the control of the processing unit 11, and send the detected voice control command to the controlled terminal, or broadcast the detected voice control command.
  • the transceiver unit 13 can be a WIFI module, an infrared signal transmitting unit, a Bluetooth module, a wireless signal transmitter with a transmitting antenna, or any other suitable wireless signal transmitting unit (a preferred WIFI module in this embodiment).
  • the processing unit 11 is configured to invoke and execute the voice control system 15, and the control transceiver unit 13 detects the voice control command in real time or periodically, and determines whether the detected voice control command corresponds to the controlled terminal where it is located, and When the detected voice control command does not correspond to the controlled terminal, the control transceiver unit 13 sends the voice control command to the corresponding controlled terminal, or broadcasts the detected terminal when the controlled terminal is another terminal. a voice control command; and when the detected voice control command corresponds to the controlled terminal in which it is located, in response to the received voice control command, the mapping relationship between the voice control command prestored in the storage unit 12 and the control code is invoked, For the corresponding processing.
  • the processing unit 11 and the storage unit 12 may be separate units, or may be integrated to form a controller, which is not described herein.
  • FIG. 2 is a schematic diagram of functional modules of the voice control system of FIG.
  • the functional block diagram shown in FIG. 2 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art will surround the functional modules of the voice control system 15 shown in FIG.
  • the new function modules can be easily supplemented; the names of the function modules are custom names, which are only used to assist in understanding the various program function blocks of the voice control system 15, and are not used to limit the technical solution of the present invention.
  • the core is the function that each functional module of the defined name has to achieve.
  • This embodiment provides a voice control system 15 including:
  • the detecting module 151 is configured to detect voice control commands in real time or periodically;
  • the terminal is provided with a pickup for receiving a voice control command input by the user, and the pickup generates an electrical signal and converts the electrical signal into a voice control command and outputs a value detection module when receiving the vibration generated by the sound wave.
  • the detecting module can also detect whether the sending and receiving module 153 receives the voice control command in real time or at a time, that is, the other terminal can also forward the voice control command to the terminal where the detecting module 151 is located.
  • the determining module 152 when detecting the voice control command, the controlled terminal determines whether the detected voice control command corresponds to the same, and when the detected voice control command does not correspond to the voice control command, the controlled terminal determines The other controlled terminal corresponding to the voice control instruction;
  • the terminal may broadcast its voice identifier during the first booting process, and when receiving the voice identifier information, the other terminal determines the terminal address and the voice identifier according to the received voice identifier information, and the voice of the terminal is The identifier, the address of the terminal, and the terminal name are associated and saved, and the voice identifier is sent to the terminal of the broadcast voice identifier.
  • the determining module 152 may compare the received voice control command with the pre-stored voice identifier of the terminal to determine whether the received voice control command determines that the controlled terminal of the module is corresponding, and determines the detection.
  • the received voice control command may be compared with the preset voice identifiers of other controlled terminals.
  • the voice control command detected by the detecting module 151 is “air conditioning, power on”, and the voice identifier of the terminal where the detecting module 151 is located is “television”, and the “television” is compared with “air conditioning, power on”.
  • the received voice control command does not match the voice identifier of the terminal where the detecting module 151 is located.
  • the air conditioner, the power-on and the pre-stored voice identifiers of the other terminals are sequentially compared with the air conditioner and the refrigerator.
  • the controlled terminal corresponding to the voice identifier "air conditioner” is determined to be an air conditioner according to the mapping relationship between the preset terminal voice identifier and the controlled terminal.
  • the receiving module 153 is configured to: when the detected voice control command does not correspond to the voice control command, the controlled terminal broadcasts the voice control command, so that the other controlled terminal detects and receives the voice control command, or And correspondingly transmitting the voice control instruction to the determined other controlled terminal, so that the determined other controlled terminal responds to the voice control instruction;
  • the mapping relationship between the controlled terminal and the controlled terminal address may be pre-stored. After determining the controlled terminal, the terminal address may be determined according to the mapping relationship between the name of the controlled terminal and the controlled terminal address, according to the determination. The terminal address sends the detected control command to the determined controlled terminal.
  • the controlled terminal may determine the control code corresponding to the received voice control command according to the mapping relationship between the voice control command and the control code, and the controlled terminal operates according to the determined control code.
  • the processing module 154 is configured to: when the detected voice control instruction corresponds thereto, the controlled terminal responds to the voice control instruction.
  • the determining module 152 determines that the detected voice control command corresponds to the controlled terminal where it is located, it indicates that the detected voice control command may be directly sent to the controlled terminal by the user, or may be sent to other controlled terminals.
  • the controlled terminal can directly respond to the detected voice control command, and in response to the voice control command, determine the control code corresponding to the received voice control command according to the mapping relationship between the voice control command and the control code. The terminal operates according to the determined control code.
  • control command received by the terminal may be a work instruction corresponding to the working state of the terminal, such as “air conditioning, power on”, “air conditioning, cooling”, “air conditioning, defrosting”, etc., and may also be preset by the user.
  • One of the operating modes “sport mode” and “sleep mode”.
  • the voice control system of the present embodiment when receiving the voice control command, determines whether the received voice control command corresponds to the voice control command, and when the received voice control command does not correspond to the voice control command, the controlled terminal broadcasts a voice control command for the other controlled terminal to detect and receive the voice control command, or the controlled terminal determines other controlled terminals corresponding to the voice control command, and correspondingly transmit the voice control command
  • the determined other controlled terminals are provided for the determined other controlled terminals to respond to the voice control instructions.
  • the voice control command can be forwarded to the target controlled terminal through other controlled terminals close to the user, so as to realize remote control of the controlled terminal, the control accuracy is high, and no special setting is needed.
  • the voice terminal controls the controlled terminal to save costs.
  • the determining module 152 is further configured to: when the detected voice control instruction corresponds to the voice control command, and receive multiple voice control commands within a preset time interval, obtain each voice control command. The strength is determined to determine the most intense voice control command; the processing module 154 is further responsive to the determined controlled command.
  • the plurality of controlled terminals may receive the voice control command at the same time.
  • the controlled terminal that needs to receive the voice control command sends the voice control command to the other While controlling the terminal, the strength of the voice control command is sent to other controlled terminals, and the other controlled terminals can directly compare the strengths of the received voice control commands when receiving multiple voice control commands within a preset time interval. And using the voice signal with the strongest intensity as the current voice control command, responding to the current voice control signal; or, sorting the strengths of the received voice control commands, sequentially setting weights on the voice control commands according to preset weights, and performing weighting Calculate to determine the current voice control instruction.
  • the determining module 152 is further configured to determine the number of received voice control commands when multiple voice control commands are received within a preset time interval, and the system further includes a ratio a pair module, configured to compare the number of determined voice control instructions with the number of received voice control instructions when receiving the number of voice control commands broadcast by other controlled terminals; the processing module 154 is further configured to determine The number of voice control commands is greater than the number of received voice control commands in response to the received voice control commands.
  • the controlled terminals there are 8 controlled terminals that receive a certain voice command, and 5 of the controlled terminals obtain the other controlled terminals corresponding to the voice control command.
  • "Air conditioning” the other controlled terminals corresponding to the voice control commands obtained by the three controlled terminals are "fans", and the eight controlled terminals respectively send voice control command commands to the determined other controlled terminals.
  • the fan receives 3 instructions and broadcasts the number of voice control commands received by itself. Subsequently, each device receives the two broadcast messages "7 air conditioner commands, 3 fan commands", and only the air conditioner performs the operation, the fan abandons execution, and other devices do not execute.
  • the controlled terminal may compare the received voice control commands when the determined number of voice control commands is greater than the number of voice control commands received, and determine the voice control commands when the received voice control commands are different.
  • the number, the number of voice control commands executed a large number, that is, the air conditioner receives 5 power-on commands and 2 power-off commands, and then performs a power-on operation.
  • the system further includes an extracting module, configured to extract a sound parameter of the received audio control signal; the comparison module is further configured to use the extracted sound parameter and the preset sound parameter.
  • the determining module 152 is further configured to: when the comparison result of the extracted sound parameter and the preset sound parameter meets a preset condition, the controlled terminal determines whether the detected voice control instruction corresponds to the voice control instruction.
  • the sound parameters may be sound pressure, sound intensity, and the like.
  • the preset condition is that the sound pressure of the received voice control command is greater than the preset sound pressure, and the controlled terminal determines whether the detected voice control command corresponds to the sound control command;
  • the preset condition is that the sound intensity of the received voice control command is greater than the preset sound intensity, and the controlled terminal determines whether the detected voice control command corresponds to the voice control command to avoid multiple charges.
  • the terminal simultaneously sends a voice control command to the target controlled terminal, and excludes the controlled terminal that is far away by the sound intensity.
  • FIG. 3 is a schematic flowchart diagram of a voice control method according to a first embodiment of the present invention.
  • Step S10 the controlled terminal detects and receives the voice control command in real time or at a time
  • the controlled terminal is provided with a pickup for receiving a voice control command input by the user, and when the pickup receives the vibration generated by the sound wave, the pickup generates an electrical signal and simultaneously converts the electrical signal into a voice control command and outputs the same;
  • the controlled terminal can also detect whether it receives the voice control command sent by other controlled terminals in real time or timing, that is, other controlled terminals can also forward the voice control command to the controlled terminal.
  • Step S20 When detecting a voice control command, the controlled terminal determines whether the detected voice control command corresponds to the voice control command;
  • the terminal may broadcast its voice identifier during the first booting process, and when receiving the voice identifier information, the other terminal determines the terminal address and the voice identifier according to the received voice identifier information, and the voice of the terminal is The identifier, the address of the terminal, and the terminal name are associated and saved, and the voice identifier is sent to the terminal of the broadcast voice identifier.
  • the controlled terminal may compare the received voice control command with the pre-stored voice identifier of the terminal to determine whether the received voice control command determines the corresponding terminal of the module, and determines the detection.
  • the received voice control command may be compared with the preset voice identifiers of other controlled terminals. For example, if the voice control command detected by the controlled terminal is “air conditioner, power on” and the voice identifier of the controlled terminal is “television”, the “television” is compared with “air conditioner, power on”, and then received. The voice control command does not match the voice identifier of the controlled terminal.
  • the "air conditioner, power on” and the pre-stored voice identifiers "air conditioner” and “refrigerator” of other controlled terminals are sequentially compared, in "air conditioner”
  • the controlled terminal corresponding to the voice identifier "air conditioner” is determined to be an air conditioner according to a mapping relationship between the preset terminal voice identifier and the controlled terminal.
  • step S30 when the detected voice control command does not correspond to the voice control command, the controlled terminal broadcasts the voice control command, so that the other controlled terminal detects and receives the voice control command, or the controlled terminal Determining, by the terminal, another controlled terminal corresponding to the voice control instruction, and correspondingly transmitting the voice control instruction to the determined other controlled terminal, so that the determined other controlled terminal responds to the voice control instruction;
  • the mapping relationship between the controlled terminal and the controlled terminal address may be pre-stored. After determining the controlled terminal, the terminal address may be determined according to the mapping relationship between the name of the controlled terminal and the controlled terminal address, according to the determination. The terminal address sends the detected control command to the determined controlled terminal.
  • the controlled terminal may determine the control code corresponding to the received voice control command according to the mapping relationship between the voice control command and the control code, and the controlled terminal operates according to the determined control code.
  • Step S40 The controlled terminal responds to the voice control instruction when the detected voice control instruction corresponds thereto.
  • the controlled terminal determines that the detected voice control command corresponds to the controlled terminal where it is located, it indicates that the detected voice control command may be directly sent to the controlled terminal by the user, or may be sent to other controlled terminals.
  • the controlled terminal can directly respond to the detected voice control command, and in response to the voice control command, determine the control code corresponding to the received voice control command according to the mapping relationship between the voice control command and the control code. The terminal operates according to the determined control code.
  • control command received by the terminal may be a work instruction corresponding to the working state of the terminal, such as “air conditioning, power on”, “air conditioning, cooling”, “air conditioning, defrosting”, etc., and may also be preset by the user.
  • One of the operating modes “sport mode” and “sleep mode”.
  • the controlled terminal determines whether the received voice control command corresponds to the voice control command, and when the received voice control command does not correspond to the voice control command, the controlled terminal broadcasts the a voice control command for the other controlled terminal to detect and receive the voice control command, or the controlled terminal determines other controlled terminals corresponding to the voice control command, and correspondingly transmit the voice control command
  • the determined other controlled terminals are provided for the determined other controlled terminals to respond to the voice control instructions.
  • the voice control command can be forwarded to the target controlled terminal through other controlled terminals close to the user, so as to realize remote control of the controlled terminal, the control accuracy is high, and no special setting is needed.
  • the voice terminal controls the controlled terminal to save costs.
  • Step S40 specifically includes:
  • Step S41 When the detected voice control command corresponds to the voice control command, and the plurality of voice control commands are received within a preset time interval, the controlled terminal acquires the strength of each voice control command to determine the voice control command with the strongest strength. ;
  • Step S42 the controlled terminal responds to the determined controlled command.
  • the plurality of controlled terminals may receive the voice control command at the same time.
  • the controlled terminal that needs to receive the voice control command sends the voice control command to the other While controlling the terminal, the strength of the voice control command is sent to other controlled terminals, and the other controlled terminals can directly compare the strengths of the received voice control commands when receiving multiple voice control commands within a preset time interval. And using the voice signal with the strongest intensity as the current voice control command, responding to the current voice control signal; or, sorting the strengths of the received voice control commands, sequentially setting weights on the voice control commands according to preset weights, and performing weighting Calculate to determine the current voice control instruction.
  • Step S40 specifically includes:
  • Step S43 when the detected voice control instruction corresponds to the same, and the plurality of voice control commands are received within a preset time interval, the controlled terminal determines the number of received voice control commands;
  • Step S44 when receiving the number of voice control commands broadcast by other controlled terminals, the controlled terminal compares the determined number of voice control commands with the number of received voice control commands;
  • Step S45 When the determined number of voice control commands is greater than the number of received voice control commands, the controlled terminal responds to the determined voice control command.
  • the controlled terminals there are 8 controlled terminals that receive a certain voice command, and 5 of the controlled terminals obtain the other controlled terminals corresponding to the voice control command.
  • "Air conditioning” the other controlled terminals corresponding to the voice control commands obtained by the three controlled terminals are "fans", and the eight controlled terminals respectively send voice control command commands to the determined other controlled terminals.
  • the fan receives 3 instructions and broadcasts the number of voice control commands received by itself. Subsequently, each device receives the two broadcast messages "7 air conditioner commands, 3 fan commands", and only the air conditioner performs the operation, the fan abandons execution, and other devices do not execute.
  • the controlled terminal may compare the received voice control commands when the determined number of voice control commands is greater than the number of voice control commands received, and determine the voice control commands when the received voice control commands are different.
  • the number, the number of voice control commands executed a large number, that is, the air conditioner receives 5 power-on commands and 2 power-off commands, and then performs a power-on operation.
  • step S20 includes:
  • Step S21 the controlled terminal extracts the sound parameter of the received audio control signal, and compares the extracted sound parameter with the preset sound parameter;
  • Step S22 When the comparison result of the extracted sound parameter and the preset sound parameter meets the preset condition, the controlled terminal determines whether the detected voice control instruction corresponds to the voice control instruction.
  • the sound parameters may be sound pressure, sound intensity, and the like.
  • the preset condition is that the sound pressure of the received voice control command is greater than the preset sound pressure, and the controlled terminal determines whether the detected voice control command corresponds to the sound control command;
  • the preset condition is that the sound intensity of the received voice control command is greater than the preset sound intensity, and the controlled terminal determines whether the detected voice control command corresponds to the voice control command to avoid multiple charges.
  • the terminal simultaneously sends a voice control command to the target controlled terminal, and excludes the controlled terminal that is far away by the sound intensity.
  • FIG. 4 is a schematic flowchart diagram of a second embodiment of a voice control method according to the present invention.
  • This embodiment provides a voice control method, including:
  • Step S50 The transit terminal detects the voice control command sent by the controlled terminal in real time or periodically;
  • the plurality of controlled terminals in the preset area communicate with the relay terminal, and the controlled terminal sends the voice identifier and the communication address and the like to the relay terminal when the first power is turned on.
  • the controlled terminal can directly send the voice control command to the relay terminal, and the terminal can forward the voice control command.
  • Step S60 When detecting the voice control command sent by the controlled terminal, the relay terminal determines the controlled terminal corresponding to the detected voice control command;
  • the voice identifiers of the controlled terminals may be pre-stored in the relay terminal, and the received voice control commands are compared with the pre-stored voice identifiers of the controlled terminals to determine and detect the voice control.
  • the voice identifier corresponding to the command, and the controlled terminal corresponding to the voice identifier is the determined controlled terminal.
  • the voice identifier of each terminal is saved in the transit terminal, and the voice identifier is saved in each terminal, thereby saving the storage space of each terminal.
  • Step S70 The relay terminal sends the received voice control command to the determined controlled terminal, so that the controlled terminal responds to the received voice control command.
  • the control command received by the terminal may be a work instruction corresponding to the working state of the terminal, such as “air conditioning, power on”, “air conditioning, cooling”, “air conditioning, defrosting”, etc., and may also be preset by the user.
  • One of the operating modes “sport mode” and "sleep mode”.
  • the control code corresponding to the received voice control command may be determined according to the mapping relationship between the voice control command and the control code, and the terminal operates according to the determined control code.
  • the relay terminal may be a controller, a cloud server, or the like.
  • the relay terminal when receiving the voice control command sent by the controlled terminal, the relay terminal directly determines the controlled terminal corresponding to the received voice control command, so that the controlled terminal responds to the received voice control.
  • the instruction that is, when the user sends the voice control signal, the voice control command can be forwarded to the target relay terminal through other controlled terminals close to the user, and then sent to the target controlled terminal by the transit terminal to realize remote control of the controlled terminal.
  • the control accuracy is high, and the voice terminal is not specially set to control the controlled terminal, thereby saving cost.
  • step S60 specifically includes:
  • Step S61 when receiving a plurality of voice control commands within a preset time interval, the relay terminal compares signal strengths of the respective voice control commands to determine a voice control command with the highest signal strength;
  • Step S62 the relay terminal determines the controlled terminal corresponding to the voice control command with the highest signal strength.
  • the preset time interval is small to ensure that the voice control command is received by multiple controlled terminals simultaneously.
  • the voice control command sent by each controlled terminal to the relay terminal may include the signal strength of the voice control command, and the voice control command with the highest voice signal strength is used as the current voice control command, and the voice control command is sent.
  • the controlled terminal is closest to the user, and the recognized voice control command is the most accurate. Therefore, the voice control command sent by the controlled terminal is selected as the current voice control command, and the voice control command is compared with the pre-stored respective controlled terminal identifiers. If the controlled terminal corresponding to the controlled terminal identifier that matches the voice control command is the target controlled terminal, the voice control command with the highest signal strength is sent to the target controlled terminal.
  • step S70 includes:
  • Step S71 when the determined number of controlled terminals is multiple, the relay terminal compares the number of voice control commands corresponding to the respective controlled terminals to determine the controlled terminal with the largest number of corresponding voice control commands;
  • Step S72 the relay terminal sends the determined voice control command corresponding to the controlled terminal to the determined controlled terminal, so that the controlled terminal responds to the received voice control command.
  • the relay terminal directly compares the received voice control command with the pre-stored voice identifier to determine the controlled terminal, and directly determines the corresponding voice control command when the determined controlled terminal has multiple The most controlled terminal sends the determined voice control command corresponding to the controlled terminal to the determined controlled terminal.
  • Step S60 specifically includes:
  • Step S63 when receiving a plurality of voice control commands within a preset time interval, the relay terminal compares the received voice control commands;
  • Step S64 when the received voice control commands are different, the relay terminal acquires the same number of voice control commands
  • Step S65 The transit terminal determines the controlled terminal corresponding to the most number of voice control commands.
  • each voice control command may be compared to determine whether the voice control commands are the same.
  • any received voice may be used.
  • the control command determines the controlled terminal; and when the received voice control commands are different, the number of the same voice control commands can be counted to determine the voice control command with the largest number of voice control commands,
  • the five voice control commands received are compared, and when the five voice control commands are the same, any one of the five voice control commands may be used. Determining the controlled terminal; determining the same voice control command when the five voice commands are different, for example, the five control commands include four voice control commands "air conditioning, power on” and one voice control command "television, power on”, Then, it is determined that the controlled terminal corresponding to the voice control command “air conditioner, power on” is “air conditioner”.
  • the voice identifiers of the plurality of voice control commands may be directly compared.
  • the controlled terminal is directly determined according to any one of the plurality of voice control commands.
  • determining whether each voice control instruction is the same is the same.
  • the number of the same control command may be determined, and the voice control command with the largest number is sent to the controlled terminal.
  • Step S60 specifically includes:
  • Step S66 when detecting the voice control instruction, the relay terminal extracts the sound parameter of the received audio control signal, and compares the extracted sound parameter with the preset sound parameter;
  • Step S67 when the comparison result of the extracted sound parameter and the preset sound parameter meets the preset condition, the relay terminal determines the controlled terminal corresponding to the detected voice control instruction.
  • the sound parameters may be sound pressure, sound intensity, and the like.
  • the preset condition is that the sound pressure of the received voice control command is greater than the preset sound pressure
  • the preset condition is the received voice control command.
  • the sound intensity is greater than the preset sound intensity.
  • the controlled terminal determines whether the detected voice control command corresponds to it, so as to prevent the plurality of controlled terminals from simultaneously transmitting the voice control command to the target controlled terminal, and the distance is excluded by the sound intensity. Farther controlled terminal.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of a voice control method according to the present invention.
  • This embodiment provides a voice control method, including:
  • Step S80 When detecting a voice control command, the controlled terminal determines whether the detected voice control command corresponds to the voice control command;
  • the controlled terminal is provided with a pickup for receiving a voice control command input by the user, and when the pickup receives the vibration generated by the sound wave, the pickup generates an electrical signal and simultaneously converts the electrical signal into a voice control command and outputs the same;
  • the controlled terminal can also detect whether it receives the voice control command sent by other controlled terminals in real time or timing, that is, other controlled terminals can also forward the voice control command to the controlled terminal.
  • Step S90 When the detected voice control instruction does not correspond to the voice control command, the controlled terminal determines another controlled terminal corresponding to the voice control command;
  • the terminal may broadcast its voice identifier during the first booting process, and when receiving the voice identifier information, the other terminal determines the terminal address and the voice identifier according to the received voice identifier information, and the voice of the terminal is The identifier, the address of the terminal, and the terminal name are associated and saved, and the voice identifier is sent to the terminal of the broadcast voice identifier.
  • the controlled terminal may compare the received voice control command with the pre-stored voice identifier of the terminal to determine whether the received voice control command determines the corresponding terminal of the module, and determines the detection.
  • the received voice control command may be compared with the preset voice identifiers of other controlled terminals. For example, if the voice control command detected by the controlled terminal is “air conditioner, power on” and the voice identifier of the controlled terminal is “television”, the “television” is compared with “air conditioner, power on”, and then received. The voice control command does not match the voice identifier of the controlled terminal.
  • the "air conditioner, power on” and the pre-stored voice identifiers "air conditioner” and “refrigerator” of other controlled terminals are sequentially compared, in "air conditioner”
  • the controlled terminal corresponding to the voice identifier "air conditioner” is determined to be an air conditioner according to a mapping relationship between the preset terminal voice identifier and the controlled terminal.
  • Step S100 the controlled terminal determines a control code corresponding to the detected voice control instruction
  • the mapping relationship between the voice control instruction corresponding to the terminal and the control code may be invoked, and the detection relationship is determined according to the mapping relationship between the invoked voice control instruction and the control code.
  • the control code corresponding to the voice control command may be invoked, and the detection relationship is determined according to the mapping relationship between the invoked voice control instruction and the control code.
  • Step S110 The controlled terminal transmits the control code correspondingly to the determined other controlled terminals, so that the determined other controlled terminals respond to the voice control instruction;
  • the mapping relationship between the controlled terminal and the controlled terminal address may be pre-stored. After determining the controlled terminal, the terminal address may be determined according to the mapping relationship between the name of the controlled terminal and the controlled terminal address, according to the determination. The terminal address sends the determined control code to the determined controlled terminal.
  • the controlled terminal When the controlled terminal receives the control code, it directly operates according to the received control code.
  • Step S120 The controlled terminal responds to the voice control instruction when the detected voice control instruction corresponds thereto.
  • the controlled terminal determines that the detected voice control command corresponds to the controlled terminal where it is located, it indicates that the detected voice control command may be directly sent to the controlled terminal by the user, or may be sent to other controlled terminals.
  • the controlled terminal can directly respond to the detected voice control command, and in response to the voice control command, determine the control code corresponding to the received voice control command according to the mapping relationship between the voice control command and the control code. The terminal operates according to the determined control code.
  • control command received by the terminal may be a work instruction corresponding to the working state of the terminal, such as “air conditioning, power on”, “air conditioning, cooling”, “air conditioning, defrosting”, etc., and may also be preset by the user.
  • One of the operating modes “sport mode” and “sleep mode”.
  • the processing method of the multiple voice control instructions in the first embodiment of the voice control method may be similarly processed. No longer.
  • the controlled terminal determines whether the received voice control command corresponds to the voice control command, and when the received voice control command does not correspond to the voice control command, the controlled terminal determines Determining, by the voice control command, other controlled terminals, and determining a control code corresponding to the detected voice control instruction; the controlled terminal transmitting the control code correspondingly to the determined other controlled terminal, for determining other The controlled terminal responds to the voice control command; when the detected voice control command corresponds thereto, the controlled terminal responds to the voice control command.
  • the voice control command can be forwarded to the target controlled terminal through other controlled terminals close to the user, so as to realize remote control of the controlled terminal, the control accuracy is high, and no special setting is needed.
  • the voice terminal controls the controlled terminal to save costs.
  • FIG. 6 is a schematic flowchart diagram of a fourth embodiment of a voice control method according to the present invention.
  • This embodiment provides a voice control method, including:
  • Step S130 the relay terminal detects the voice control command in real time or periodically
  • Step S140 when the voice control command is detected, the relay terminal determines the controlled terminal corresponding to the detected voice control command;
  • the plurality of controlled terminals in the preset area communicate with the relay terminal, and the controlled terminal sends the voice identifier and the communication address and the like to the relay terminal when the first power is turned on.
  • the controlled terminal can directly send the voice control command to the relay terminal, and the terminal can forward the voice control command.
  • Step S150 the relay terminal determines a control code corresponding to the detected voice control instruction
  • the mapping relationship between the voice control instruction corresponding to the terminal and the control code may be invoked, and the detection relationship is determined according to the mapping relationship between the invoked voice control instruction and the control code.
  • the control code corresponding to the voice control command may be invoked, and the detection relationship is determined according to the mapping relationship between the invoked voice control instruction and the control code.
  • Step S160 the relay terminal sends the determined control code to the determined controlled terminal, so that the controlled terminal responds to the received voice control instruction.
  • the control command received by the terminal may be a work instruction corresponding to the working state of the terminal, such as “air conditioning, power on”, “air conditioning, cooling”, “air conditioning, defrosting”, etc., and may also be preset by the user.
  • One of the operating modes “sport mode” and "sleep mode”.
  • the control code corresponding to the received voice control command may be determined according to the mapping relationship between the voice control command and the control code, and the terminal operates according to the determined control code.
  • the relay terminal may be a controller, a cloud server, or the like.
  • the processing method of the multiple voice control commands in the second embodiment of the voice control method may be similarly processed. Let me repeat.
  • the relay terminal when receiving the voice control command sent by the controlled terminal, determines the controlled terminal corresponding to the detected voice control command, and determines the corresponding voice control command corresponding to the voice control command. a control code; the relay terminal transmits the determined control code to the determined controlled terminal for the controlled terminal to respond to the received voice control instruction.
  • the voice control command can be forwarded to the target relay terminal through other controlled terminals close to the user, and then sent to the target controlled terminal by the transit terminal, so as to realize remote control of the controlled terminal, the control accuracy is high, and no special setting is needed.
  • the voice terminal controls the controlled terminal to save costs.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • a storage medium such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种语音控制方法和系统,在接收到语音控制指令时,被控终端确定接收到的语音控制指令是否与其对应(S20),在接收到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令(S30)。该方案在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。

Description

语音控制方法和系统
技术领域
本发明涉及语音技术领域,尤其涉及一种语音控制方法和系统。
背景技术
现有的语音控制终端的控制方式通常有两种,一种是用户直接对被控家电发送语音控制指令,被控终端识别语音控制指令后解析出对应的终端控制指令,被控终端按照该解析出的终端控制指令运行。这种语音控制方法在用户距离被控终端较远的情况下经常出现语音拾取失效或者指令误识别率高的误操作,语音控制准确度较低;一种是采用语音终端实现对语音控制终端的控制,将语音拾取、识别、播报等模块单独设置在语音终端中,该语音终端可安装在用户身边或移动终端中,用户需要语音控制家电时,对语音终端输入语音控制指令,再由语音终端解析语音控制指令后发送至被控终端,被控终端按照解析后的语音控制指令运行,该方式需要额外的语音终端,成本高,且如果采用固定终端的形式,适用范围仅限于安装位置附近,如果采用移动终端装置,该装置容易丢失,使用不便。
发明内容
本发明的主要目的是提供一种语音控制方法和系统,在节省语音控制的成本的同时,提高语音控制准确度。
本实施例提出一种语音控制方法,其特征在于,包括:
被控终端实时或定时侦测并接收语音控制指令;
在侦测到语音控制指令时,所述被控终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应;
在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
优选地,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,所述被控终端获取各个语音控制指令的强度,以确定强度最大的语音控制指令;
所述被控终端响应确定的被控指令。
优选地,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
在侦测到的语音控制指令与其对应,且预设的时间间隔内接收到多个语音控制指令时,所述被控终端确定接收到的语音控制指令的数量;
在接收到其它被控终端广播的语音控制指令的数量时,所述被控终端将确定的语音控制指令的数量与接收到的语音控制指令的数量进行比对;
在确定的语音控制指令的数量大于接收到的语音控制指令的数量时,所述被控终端响应确定的语音控制指令。
优选地,所述在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
对接收到的语音控制指令的强度进行排序;
按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令;
响应确定的语音控制指令。
此外,为实现上述目的,本发明还提出一种语音控制方法,包括:
中转终端实时或定时侦测被控终端发送的语音控制指令;
在侦测到被控终端发送的语音控制指令时,所述中转终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端确定侦测到的语音控制指令所对应的被控终端;
所述中转终端将接收到的语音控制指令发送至确定的被控终端,以供被控终端响应接收到的语音控制指令。
优选地,所述在侦测到语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
在预设的时间间隔内接收到多个语音控制指令时,所述中转终端比较各个语音控制指令的信号强度,以确定信号强度最大的语音控制指令;
所述中转终端确定信号强度最大的语音控制指令所对应的被控终端。
优选地,所述终端将接收到的语音控制指令发送至确定的被控终端,以供被控终端响应接收到的语音控制指令的步骤包括:
在确定的被控终端为多个时,所述中转终端比对各个被控终端所对应的语音控制指令的数量,以确定对应的语音控制指令的数量最多的被控终端;
所述中转终端将确定的被控终端所对应的语音控制指令发送给确定的被控终端,以供被控终端响应接收到的语音控制指令。
优选地,在侦测到被控终端发送的语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
在预设时间间隔内接收到多个语音控制指令时,所述中转终端比对接收到的语音控制指令;
在接收到的语音控制指令不同时,所述中转终端获取相同的语音控制指令的数量;
所述中转终端确定数量最多的语音控制指令所对应的被控终端。
优选地,在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端将接收到的语音控制指令与预存的各个被控终端的语音标识进行比对;
所述中转终端确定与侦测到的语音控制指令对应的语音标识,该语音标识所对应的被控终端,即为确定的被控终端。
此外,为实现上述目的,本发明还提出一种语音控制系统,所述语音控制系统包括:
侦测模块,用于实时或定时侦测语音控制指令;
提取模块,用于提取接收到的音频控制信号的声音参数;
比对模块,用于将提取的声音参数与预设的声音参数进行比对;确定模块,用于在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应,以及在侦测到的语音控制指令与其不对应时,所述被控终端确定所述语音控制指令对应的其他被控终端;
接发模块,用于在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
处理模块,用于在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
优选地,所述确定模块还用于在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,获取各个语音控制指令的强度,以确定强度最大的语音控制指令;所述处理模块还用于响应确定的被控指令。
优选地,所述确定模块还用于在预设的时间间隔内接收到多个语音控制指令时,确定接收到的语音控制指令的数量,该系统还包括比对模块,用于在接收到其它被控终端广播的语音控制指令数量时,将确定语音控制指令的数量与接收到的语音控制指令数量进行比对;所述处理模块还用于在确定的语音控制指令的数量大于接收到的语音控制指令数量时,响应接收到的语音控制指令。
优选地,所述确定模块还用于对接收到的语音控制指令的强度进行排序,以及按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令;所述处理模块还用于响应确定的语音控制指令。
本发明提出的语音控制方法和系统,在接收到语音控制指令时,被控终端确定接收到的语音控制指令是否与其对应,在接收到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令。该方案在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
附图说明
图1为本发明实现语音控制的被控终端的较佳实施例的硬件结构示意图;
图2为图1中语音控制系统较佳实施例的功能模块示意图;
图3为本发明语音控制方法第一实施例的流程示意图;
图4为本发明语音控制方法第二实施例的流程示意图;
图5为本发明语音控制方法第三实施例的流程示意图;
图6为本发明语音控制方法第四实施例的流程示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
下面结合附图及具体实施例就本发明的技术方案做进一步的说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
参照图1,图1为本发明实现语音控制的被控终端的较佳实施例的硬件结构示意图。
该被控终端1包括处理单元11、存储单元12、接发单元13、语音拾取装置14及语音控制系统15。该终端1可以是电视、空调器以及冰箱等任意适用的家用电器等。
语音拾取装置14,用于在接收到声波的震动时,将产生的电信号转换为语音控制指令。
存储单元12,用于存储该语音控制系统15及其运行数据以及语音控制指令、控制代码之间的映射关系以及各个终端的语音标识。需要强调的是,该存储单元12既可以是一个单独的存储装置,也可以是多个不同存储装置的统称,在此不作赘述。
接发单元13,用于在该处理单元11的控制下,侦测语音控制指令,并将侦测到的语音控制指令发送给被控终端,或者广播侦测到的语音控制指令。该接发单元13可以为WIFI模块、红外信号发送单元、蓝牙模块、带发射天线的无线信号发射器或者其他任意适用的无线信号发送单元(本实施例优选WIFI模块)。
该处理单元11,用于调用并执行该语音控制系统15,控制接发单元13实时或定时侦测语音控制指令,并确定侦测到的语音控制指令是否与其所在的被控终端对应,并在侦测到的语音控制指令与其所在的被控终端不对应时,控制接发单元13将该语音控制指令发送给对应的被控终端,或者在被控终端为其它终端时,广播侦测到的语音控制指令;以及在侦测到的语音控制指令与其所在的被控终端对应时,响应接收到的语音控制指令,即调用存储单元12中预存的语音控制指令以及控制代码之间的映射关系,对进行相应的处理。该处理单元11与存储单元12既可以分别是单独的单元,也可以集成在一起,构成一个控制器,在此不作赘述。
参照图2,图2为图1中语音控制系统较佳实施例的功能模块示意图。
需要强调的是,对本领域的技术人员来说,图2所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图2所示的语音控制系统15的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该语音控制系统15的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。
本实施例提出一种语音控制系统15,包括:
侦测模块151,用于实时或定时侦测语音控制指令;
在本实施例中,终端上设置有拾音器,用于接收用户输入的语音控制指令,拾音器在收到声波产生的震动时,产生电信号同时将电信号转换为语音控制指令并输出值侦测模块151;在本实施例中,侦测模块也可实时或定时侦测接发模块153是否接收到语音控制指令,即其它终端也可将语音控制指令转发至该侦测模块151所在的终端。
确定模块152,在侦测到语音控制指令时,所述被控终端确定侦测到的语音控制指令是否与其对应,以及在侦测到的语音控制指令与其不对应时,所述被控终端确定所述语音控制指令对应的其他被控终端,;
在本实施例中,终端在第一次开机过程中,可广播其语音标识,其它终端在接收到该语音标识信息时,根据接收到的语音标识信息确定终端地址以及语音标识,将终端的语音标识、终端的地址以及终端名称关联保存,并将其语音标识发送给该广播语音标识的终端。
在本实施例中,确定模块152可将接收到的语音控制指令与预存的本终端的语音标识相比对,以确定接收到的语音控制指令是否确定模块所在的被控终端对应,确定侦测到的语音控制指令所对应的其它被控终端时,可将接收到的语音控制指令与预设的其它被控终端的语音标识进行比对。例如,侦测模块151侦测到的语音控制指令为“空调,开机”,而侦测模块151所在的终端的语音标识为“电视”,则将“电视”与“空调,开机”进行比对,则接收到的语音控制指令与侦测模块151所在的终端的语音标识不匹配,此时,将“空调,开机”与预存的其它终端的语音标识“空调”以及“冰箱”等进行依次比对,在“空调”与“空调,开机”匹配时,根据预设的终端语音标识与被控终端之间的映射关系,确定语音标识“空调”所对应的被控终端为空调器。
接发模块153,用于在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
在本实施例中可预存被控终端与被控终端地址之间的映射关系,在确定被控终端之后,可根据被控终端名称与被控终端地址之间的映射关系确定终端地址,根据确定的终端地址将侦测到的控制指令发送至确定的被控终端。
被控终端在接收到语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,被控终端根据确定的控制代码运行。
处理模块154,用于在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
在确定模块152确定侦测到的语音控制指令与其所在的被控终端对应时,说明该侦测到的语音控制指令可能为用户直接发送给该被控终端,也可为其它被控终端发送给该被控终端的,此时可直接响应该侦测到的语音控制指令,响应语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,终端根据确定的控制代码运行。
在本实施例中,终端接收到的控制指令可为终端工作状态对应的工作指令,例如“空调,开机”、“空调,制冷”以及“空调,除霜”等,也可为用户预设的某一种运行模式,“运动模式”以及“睡眠模式”等。
本实施例提出的语音控制系统,在接收到语音控制指令时,被控终端确定接收到的语音控制指令是否与其对应,在接收到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令。该方案在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
进一步地,为提高语音控制的准确性,所述确定模块152还用于在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,获取各个语音控制指令的强度,以确定强度最大的语音控制指令;所述处理模块154还用于响应确定的被控指令。
在本实施例中,用户在发送语音控制指令时,可能周围多个被控终端同时接收到该语音控制指令,此时需要接收到语音控制指令的被控终端在将语音控制指令发送给其它被控终端的同时,将语音控制指令的强度发送给其它被控终端,其它被控终端在预设的时间间隔内接收到多个语音控制指令时,可直接比较接收到的各个语音控制指令的强度,将强度最大的语音信号作为当前语音控制指令,响应该当前语音控制信号;或者,对接收到的语音控制指令的强度进行排序,按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令。
进一步地,为提高语音控制的准确性,所述确定模块152还用于在预设的时间间隔内接收到多个语音控制指令时,确定接收到的语音控制指令的数量,该系统还包括比对模块,用于在接收到其它被控终端广播的语音控制指令数量时,将确定语音控制指令的数量与接收到的语音控制指令数量进行比对;所述处理模块154还用于在确定的语音控制指令的数量大于接收到的语音控制指令数量时,响应接收到的语音控制指令。
例如,有8台被控终端接收到某一语音指令,其中5台被控终端获取到语音控制指令所对应的其它被控终端为 “空调”,3台被控终端获取到语音控制指令所对应的其它被控终端为“风扇”,8台被控终端分别将语音控制指令指令发送给确定的其它被控终端,此时空调收到5条语音控制指令,并广播自己收到的语音控制指令的数量7,风扇收到3条指令,并广播自己收到的语音控制指令的数量3。随后,各设备均接收到该两条广播信息“空调指令7条,风扇指令3条”,则只有空调执行操作,风扇放弃执行,其他设备也不执行。
被控终端在确定的语音控制指令的数量大于接收到的语音控制指令的数量时,可对接收到的语音控制指令进行比对,在接收到的语音控制指令不同时,确定各个语音控制指令的数量,执行数量较多的语音控制指令,即空调接收到开机指令5条,关机指令2条,则执行开机操作。
进一步地,为提高语音控制的准确性,该系统还包括提取模块,用于提取接收到的音频控制信号的声音参数;所述比对模块还用于将提取的声音参数与预设的声音参数进行比对;所述确定模块152还用于在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应。
在本实施例中,声音参数可为声压、声音强度等。例如当声音参数为声压时,预设的条件为接收到的语音控制指令的声压大于预设的声压,此时被控终端确定侦测到的语音控制指令是否与其对应;而当声音参数为声音强度时,预设的条件为接收到的语音控制指令的声音强度大于预设的声音强度,此时被控终端确定侦测到的语音控制指令是否与其对应,以避免多个被控终端同时向目标被控终端发送语音控制指令,通过声音强度排除距离较远的被控终端。
参照图3,图3为本发明语音控制方法第一实施例的流程示意图。
本实施例提出的语音控制方法,包括:
步骤S10,被控终端实时或定时侦测并接收语音控制指令;
在本实施例中,被控终端上设置有拾音器,用于接收用户输入的语音控制指令,拾音器在收到声波产生的震动时,产生电信号同时将电信号转换为语音控制指令并输出;在本实施例中,被控终端也可实时或定时侦测其是否接收到其它被控终端发送的语音控制指令,即其它被控终端也可将语音控制指令转发至该被控终端。
步骤S20,在侦测到语音控制指令时,所述被控终端确定侦测到的语音控制指令是否与其对应;
在本实施例中,终端在第一次开机过程中,可广播其语音标识,其它终端在接收到该语音标识信息时,根据接收到的语音标识信息确定终端地址以及语音标识,将终端的语音标识、终端的地址以及终端名称关联保存,并将其语音标识发送给该广播语音标识的终端。
在本实施例中,被控终端可将接收到的语音控制指令与预存的本终端的语音标识相比对,以确定接收到的语音控制指令是否确定模块所在的被控终端对应,确定侦测到的语音控制指令所对应的其它被控终端时,可将接收到的语音控制指令与预设的其它被控终端的语音标识进行比对。例如,侦被控终端侦测到的语音控制指令为“空调,开机”,而被控终端的语音标识为“电视”,则将“电视”与“空调,开机”进行比对,则接收到的语音控制指令与被控终端的语音标识不匹配,此时,将“空调,开机”与预存的其它被控终端的语音标识“空调”以及“冰箱”等进行依次比对,在“空调”与“空调,开机”匹配时,根据预设的终端语音标识与被控终端之间的映射关系,确定语音标识“空调”所对应的被控终端为空调器。
步骤S30,在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
在本实施例中可预存被控终端与被控终端地址之间的映射关系,在确定被控终端之后,可根据被控终端名称与被控终端地址之间的映射关系确定终端地址,根据确定的终端地址将侦测到的控制指令发送至确定的被控终端。
被控终端在接收到语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,被控终端根据确定的控制代码运行。
步骤S40,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
在被控终端确定侦测到的语音控制指令与其所在的被控终端对应时,说明该侦测到的语音控制指令可能为用户直接发送给该被控终端,也可为其它被控终端发送给该被控终端的,此时可直接响应该侦测到的语音控制指令,响应语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,终端根据确定的控制代码运行。
在本实施例中,终端接收到的控制指令可为终端工作状态对应的工作指令,例如“空调,开机”、“空调,制冷”以及“空调,除霜”等,也可为用户预设的某一种运行模式,“运动模式”以及“睡眠模式”等。
本实施例提出的语音控制方法,在接收到语音控制指令时,被控终端确定接收到的语音控制指令是否与其对应,在接收到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令。该方案在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
进一步地,为保证对被控终端语音控制的准确性,提出步骤S40第一种具体实施例,步骤S40具体包括:
步骤S41,在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,所述被控终端获取各个语音控制指令的强度,以确定强度最大的语音控制指令;
步骤S42,所述被控终端响应确定的被控指令。
在本实施例中,用户在发送语音控制指令时,可能周围多个被控终端同时接收到该语音控制指令,此时需要接收到语音控制指令的被控终端在将语音控制指令发送给其它被控终端的同时,将语音控制指令的强度发送给其它被控终端,其它被控终端在预设的时间间隔内接收到多个语音控制指令时,可直接比较接收到的各个语音控制指令的强度,将强度最大的语音信号作为当前语音控制指令,响应该当前语音控制信号;或者,对接收到的语音控制指令的强度进行排序,按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令。
进一步地,为提高语音控制的准确性,提出步骤S40的第二种具体实施例,步骤S40具体包括:
步骤S43,在侦测到的语音控制指令与其对应,且预设的时间间隔内接收到多个语音控制指令时,所述被控终端确定接收到的语音控制指令的数量;
步骤S44,在接收到其它被控终端广播的语音控制指令的数量时,所述被控终端将确定的语音控制指令的数量与接收到的语音控制指令的数量进行比对;
步骤S45,在确定的语音控制指令的数量大于接收到的语音控制指令的数量时,所述被控终端响应确定的语音控制指令。
例如,有8台被控终端接收到某一语音指令,其中5台被控终端获取到语音控制指令所对应的其它被控终端为 “空调”,3台被控终端获取到语音控制指令所对应的其它被控终端为“风扇”,8台被控终端分别将语音控制指令指令发送给确定的其它被控终端,此时空调收到5条语音控制指令,并广播自己收到的语音控制指令的数量7,风扇收到3条指令,并广播自己收到的语音控制指令的数量3。随后,各设备均接收到该两条广播信息“空调指令7条,风扇指令3条”,则只有空调执行操作,风扇放弃执行,其他设备也不执行。
被控终端在确定的语音控制指令的数量大于接收到的语音控制指令的数量时,可对接收到的语音控制指令进行比对,在接收到的语音控制指令不同时,确定各个语音控制指令的数量,执行数量较多的语音控制指令,即空调接收到开机指令5条,关机指令2条,则执行开机操作。
进一步地,为提高语音控制的准确性,步骤S20包括:
步骤S21,所述被控终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
步骤S22,在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应。
在本实施例中,声音参数可为声压、声音强度等。例如当声音参数为声压时,预设的条件为接收到的语音控制指令的声压大于预设的声压,此时被控终端确定侦测到的语音控制指令是否与其对应;而当声音参数为声音强度时,预设的条件为接收到的语音控制指令的声音强度大于预设的声音强度,此时被控终端确定侦测到的语音控制指令是否与其对应,以避免多个被控终端同时向目标被控终端发送语音控制指令,通过声音强度排除距离较远的被控终端。
参照图4,图4为本发明语音控制方法第二实施例的流程示意图。
本实施例提出一种语音控制方法,包括:
步骤S50,中转终端实时或定时侦测被控终端发送的语音控制指令;
在本实施例中,在预设区域的多个被控终端均与中转终端进行通信,被控终端在第一次开机时向中转终端发送其语音标识以及通信地址等信息。被控终端在接收到语音控制指令时,可直接将语音控制指令发送给中转终端,由中转终端进行转发。
步骤S60,在侦测到被控终端发送的语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端;
在本实施例中,可在中转终端中预存各个被控终端的语音标识,将接收到的语音控制指令与预存的各个被控终端的语音标识进行比对,以确定与侦测到的语音控制指令对应的语音标识,该语音标识所对应的被控终端,即为确定的被控终端。
将各个终端的语音标识保存在中转终端中,而不用在每个终端均保存语音标识,节省各个终端的存储空间。
步骤S70,所述中转终端将接收到的语音控制指令发送至确定的被控终端,以供被控终端响应接收到的语音控制指令。
在本实施例中,终端接收到的控制指令可为终端工作状态对应的工作指令,例如“空调,开机”、“空调,制冷”以及“空调,除霜”等,也可为用户预设的某一种运行模式,“运动模式”以及“睡眠模式”等。被控终端响应语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,终端根据确定的控制代码运行。
在本实施例中,中转终端可为控制器以及云端服务器等。
本实施例提出的语音控制方法,在接收到被控终端发送的语音控制指令时,中转终端直接确定接收到的语音控制指令所对应的被控终端,以供被控终端响应接收到的语音控制指令,即在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标中转终端,再由中转终端发送给目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
进一步地,为保证对被控终端控制的准确性,提出步骤S60第一实施例,步骤S60具体包括:
步骤S61,在预设的时间间隔内接收到多个语音控制指令时,所述中转终端比较各个语音控制指令的信号强度,以确定信号强度最大的语音控制指令;
步骤S62,所述中转终端确定信号强度最大的语音控制指令所对应的被控终端。
该预设时间间隔较小,以保证该语音控制指令是多个被控终端同时收到的。 在本实施例中,各个被控终端发送给中转终端的语音控制指令中可包含该语音控制指令的信号强度,并将语音信号强度最大的语音控制指令作为当前语音控制指令,发送该语音控制指令的被控终端距离用户最近,识别的语音控制指令最为准确,故选择该被控终端发送的语音控制指令为当前语音控制指令,将该语音控制指令与预存的各个被控终端标识进行比对,与该语音控制指令匹配的被控终端标识所对应的被控终端为目标被控终端,则将该信号强度最大的语音控制指令发送给目标被控终端。
进一步地,为保证对被控终端控制的准确性,步骤S70包括:
步骤S71,在确定的被控终端为多个时,所述中转终端比对各个被控终端所对应的语音控制指令的数量,以确定对应的语音控制指令的数量最多的被控终端;
步骤S72,所述中转终端将确定的被控终端所对应的语音控制指令发送给确定的被控终端,以供被控终端响应接收到的语音控制指令
在本实施例中,所述中转终端直接将接收到的语音控制指令与预存的语音标识进行比对,以确定被控终端,在确定的被控终端为多个时,直接确定对应语音控制指令最多的被控终端,同时将确定的被控终端所对应的语音控制指令发送给确定的被控终端。
进一步地,为保证对被控终端控制的准确性,提出步骤S60第二实施例,步骤S60具体包括:
步骤S63,在预设时间间隔内接收到多个语音控制指令时,所述中转终端比对接收到的语音控制指令;
步骤S64,在接收到的语音控制指令不同时,所述中转终端获取相同的语音控制指令的数量;
步骤S65,所述中转终端确定数量最多的语音控制指令所对应的被控终端。
在本实施例中,在接收到多条语音控制指令时,可比对各个语音控制指令以确定各个语音控制指令是否相同,在接收到的各个语音控制指令相同时,可根据任一接收到的语音控制指令确定被控终端;而在接收到的各个语音控制指令不同时,可统计相同的语音控制指令的数量,以确定相同的语音控制指令数量最多的语音控制指令,
例如,当预设时间间隔内接收到5个语音控制指令时,比对接收到的5个语音控制指令,并在该五个语音控制指令相同时,可根据该5个语音控制指令中的任意一个确定被控终端;在五个语音指令不同时,确定相同的语音控制指令,如该5个控制指令包括4个语音控制指令“空调,开机”以及1个语音控制指令“电视,开机”,则确定语音控制指令“空调,开机”所对应的被控终端为“空调”。
在其它变形实施例中,可直接比对多个语音控制指令的语音标识是否相同,在多个语音控制指令的语音标识相同时,则直接根据多个语音控制指令中的任意一个确定被控终端,并在确定被控终端后,确定各个语音控制指令是否相同,在各个语音控制指令不同时,可确定相同的控制指令的数量,并将数量最多的语音控制指令发送被控终端。
进一步地,为保证对被控终端控制的准确性,提出步骤S60第三实施例,步骤S60具体包括:
步骤S66,在侦测到语音控制指令时,所述中转终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
步骤S67,在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端确定侦测到的语音控制指令所对应的被控终端
在本实施例中,声音参数可为声压、声音强度等。例如当声音参数为声压时,预设的条件为接收到的语音控制指令的声压大于预设的声压;而当声音参数为声音强度时,预设的条件为接收到的语音控制指令的声音强度大于预设的声音强度,此时被控终端确定侦测到的语音控制指令是否与其对应,以避免多个被控终端同时向目标被控终端发送语音控制指令,通过声音强度排除距离较远的被控终端。
参照图5,图5为本发明语音控制方法第三实施例的流程示意图。
本实施例提出一种语音控制方法,包括:
步骤S80,在侦测到语音控制指令时,所述被控终端确定侦测到的语音控制指令是否与其对应;
在本实施例中,被控终端上设置有拾音器,用于接收用户输入的语音控制指令,拾音器在收到声波产生的震动时,产生电信号同时将电信号转换为语音控制指令并输出;在本实施例中,被控终端也可实时或定时侦测其是否接收到其它被控终端发送的语音控制指令,即其它被控终端也可将语音控制指令转发至该被控终端。
步骤S90,在侦测到的语音控制指令与其不对应时,所述被控终端确定所述语音控制指令对应的其他被控终端;
在本实施例中,终端在第一次开机过程中,可广播其语音标识,其它终端在接收到该语音标识信息时,根据接收到的语音标识信息确定终端地址以及语音标识,将终端的语音标识、终端的地址以及终端名称关联保存,并将其语音标识发送给该广播语音标识的终端。
在本实施例中,被控终端可将接收到的语音控制指令与预存的本终端的语音标识相比对,以确定接收到的语音控制指令是否确定模块所在的被控终端对应,确定侦测到的语音控制指令所对应的其它被控终端时,可将接收到的语音控制指令与预设的其它被控终端的语音标识进行比对。例如,侦被控终端侦测到的语音控制指令为“空调,开机”,而被控终端的语音标识为“电视”,则将“电视”与“空调,开机”进行比对,则接收到的语音控制指令与被控终端的语音标识不匹配,此时,将“空调,开机”与预存的其它被控终端的语音标识“空调”以及“冰箱”等进行依次比对,在“空调”与“空调,开机”匹配时,根据预设的终端语音标识与被控终端之间的映射关系,确定语音标识“空调”所对应的被控终端为空调器。
步骤S100,所述被控终端确定侦测到的语音控制指令对应的控制代码;
在本实施例中,可在确定被控终端后,可调用该终端对应的语音控制指令与控制代码的映射关系,并根据该调用的语音控制指令与控制代码之间的映射关系,确定侦测到的语音控制指令所对应的控制代码。
步骤S110,所述被控终端将所述控制代码对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
在本实施例中可预存被控终端与被控终端地址之间的映射关系,在确定被控终端之后,可根据被控终端名称与被控终端地址之间的映射关系确定终端地址,根据确定的终端地址将确定的控制代码发送至确定的被控终端。
被控终端在接收到控制代码时,直接根据接收到的控制代码运行。
步骤S120,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
在被控终端确定侦测到的语音控制指令与其所在的被控终端对应时,说明该侦测到的语音控制指令可能为用户直接发送给该被控终端,也可为其它被控终端发送给该被控终端的,此时可直接响应该侦测到的语音控制指令,响应语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,终端根据确定的控制代码运行。
在本实施例中,终端接收到的控制指令可为终端工作状态对应的工作指令,例如“空调,开机”、“空调,制冷”以及“空调,除霜”等,也可为用户预设的某一种运行模式,“运动模式”以及“睡眠模式”等。
在本实施例中,当被控终端预设时间间隔内,接收到的语音控制指令为多个时,可按照语音控制方法第一实施例多个语音控制指令的处理方法进行相似处理,在此不再赘述。
本实施例提出的语音控制方法,在接收到语音控制指令时,被控终端确定接收到的语音控制指令是否与其对应,在接收到的语音控制指令与其不对应时,所述被控终端确定所述语音控制指令对应的其他被控终端,并确定侦测到的语音控制指令对应的控制代码;所述被控终端将所述控制代码对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。该方案在用户发送语音控制信号时,可通过靠近用户的其它被控终端将语音控制指令转发至目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
参照图6,图6为本发明语音控制方法第四实施例的流程示意图。
本实施例提出一种语音控制方法,包括:
步骤S130,中转终端实时或定时侦测语音控制指令;
步骤S140,在侦测到语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端;
在本实施例中,在预设区域的多个被控终端均与中转终端进行通信,被控终端在第一次开机时向中转终端发送其语音标识以及通信地址等信息。被控终端在接收到语音控制指令时,可直接将语音控制指令发送给中转终端,由中转终端进行转发。
步骤S150,所述中转终端确定侦测到的语音控制指令对应的控制代码;
在本实施例中,可在确定被控终端后,可调用该终端对应的语音控制指令与控制代码的映射关系,并根据该调用的语音控制指令与控制代码之间的映射关系,确定侦测到的语音控制指令所对应的控制代码。
步骤S160,所述中转终端将确定的控制代码发送至确定的被控终端,以供被控终端响应接收到的语音控制指令。
在本实施例中,终端接收到的控制指令可为终端工作状态对应的工作指令,例如“空调,开机”、“空调,制冷”以及“空调,除霜”等,也可为用户预设的某一种运行模式,“运动模式”以及“睡眠模式”等。被控终端响应语音控制指令时,可根据语音控制指令与控制代码的映射关系,确定接收到的语音控制指令所对应的控制代码,终端根据确定的控制代码运行。
在本实施例中,中转终端可为控制器以及云端服务器等。
在本实施例中,当中转终端预设时间间隔内,接收到的语音控制指令为多个时,可按照语音控制方法第二实施例多个语音控制指令的处理方法进行相似处理,在此不再赘述。
本实施例提出的语音控制方法,在接收到被控终端发送的语音控制指令时,中转终端确定侦测到的语音控制指令所对应的被控终端,并确定侦测到的语音控制指令对应的控制代码;所述中转终端将确定的控制代码发送至确定的被控终端,以供被控终端响应接收到的语音控制指令。可通过靠近用户的其它被控终端将语音控制指令转发至目标中转终端,再由中转终端发送给目标被控终端,以实现远程对被控终端的控制,控制准确度较高,而且不用专门设置语音终端对被控终端进行控制,节省成本。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (13)

  1. 一种语音控制方法,其特征在于,包括:
    被控终端实时或定时侦测并接收语音控制指令;
    在侦测到语音控制指令时,所述被控终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
    在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应;
    在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,所述被控终端确定所述语音控制指令对应的其他被控终端,并将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
    在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
  2. 根据权利要求1所述的方法,其特征在于,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
    在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,所述被控终端获取各个语音控制指令的强度,以确定强度最大的语音控制指令;
    所述被控终端响应确定的被控指令。
  3. 根据权利要求1所述的方法,其特征在于,在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
    在侦测到的语音控制指令与其对应,且预设的时间间隔内接收到多个语音控制指令时,所述被控终端确定接收到的语音控制指令的数量;
    在接收到其它被控终端广播的语音控制指令的数量时,所述被控终端将确定的语音控制指令的数量与接收到的语音控制指令的数量进行比对;
    在确定的语音控制指令的数量大于接收到的语音控制指令的数量时,所述被控终端响应确定的语音控制指令。
  4. 根据权利要求1所述的方法,其特征在于,所述在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令的步骤包括:
    对接收到的语音控制指令的强度进行排序;
    按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令;
    响应确定的语音控制指令。
  5. 一种语音控制方法, 其特征在于,包括:
    中转终端实时或定时侦测被控终端发送的语音控制指令;
    在侦测到被控终端发送的语音控制指令时,所述中转终端提取接收到的音频控制信号的声音参数,并将提取的声音参数与预设的声音参数进行比对;
    在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端确定侦测到的语音控制指令所对应的被控终端;
    所述中转终端将接收到的语音控制指令发送至确定的被控终端,以供被控终端响应接收到的语音控制指令。
  6. 根据权利要求5所述的方法,其特征在于,所述在侦测到语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
    在预设的时间间隔内接收到多个语音控制指令时,所述中转终端比较各个语音控制指令的信号强度,以确定信号强度最大的语音控制指令;
    所述中转终端确定信号强度最大的语音控制指令所对应的被控终端。
  7. 根据权利要求5所述的方法,其特征在于,所述终端将接收到的语音控制指令发送至确定的被控终端,以供被控终端响应接收到的语音控制指令的步骤包括:
    在确定的被控终端为多个时,所述中转终端比对各个被控终端所对应的语音控制指令的数量,以确定对应的语音控制指令的数量最多的被控终端;
    所述中转终端将确定的被控终端所对应的语音控制指令发送给确定的被控终端,以供被控终端响应接收到的语音控制指令。
  8. 根据权利要求5所述的方法,其特征在于,在侦测到被控终端发送的语音控制指令时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
    在预设时间间隔内接收到多个语音控制指令时,所述中转终端比对接收到的语音控制指令;
    在接收到的语音控制指令不同时,所述中转终端获取相同的语音控制指令的数量;
    所述中转终端确定数量最多的语音控制指令所对应的被控终端。
  9. 根据权利要求5所述的方法,其特征在于,在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端确定侦测到的语音控制指令所对应的被控终端的步骤包括:
    在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述中转终端将接收到的语音控制指令与预存的各个被控终端的语音标识进行比对;
    所述中转终端确定与侦测到的语音控制指令对应的语音标识,该语音标识所对应的被控终端,即为确定的被控终端。
  10. 一种语音控制系统,其特征在于,所述语音控制系统包括:
    侦测模块,用于实时或定时侦测语音控制指令;
    提取模块,用于提取接收到的音频控制信号的声音参数;
    比对模块,用于将提取的声音参数与预设的声音参数进行比对;确定模块,用于在提取的声音参数与预设的声音参数的比较结果满足预设条件时,所述被控终端确定侦测到的语音控制指令是否与其对应,以及在侦测到的语音控制指令与其不对应时,所述被控终端确定所述语音控制指令对应的其他被控终端;
    接发模块,用于在侦测到的语音控制指令与其不对应时,所述被控终端广播所述语音控制指令,以供其他被控终端侦测并接收所述语音控制指令,或者,将所述语音控制指令对应传送给确定的其他被控终端,以供确定的其他被控终端响应所述语音控制指令;
    处理模块,用于在侦测到的语音控制指令与其对应时,所述被控终端响应所述语音控制指令。
  11. 如权利要求10所述的语音控制系统,其特征在于,所述确定模块还用于在侦测到的语音控制指令与其对应,且预设时间间隔内接收到多个语音控制指令时,获取各个语音控制指令的强度,以确定强度最大的语音控制指令;所述处理模块还用于响应确定的被控指令。
  12. 如权利要求10所述的语音控制系统,其特征在于,所述确定模块还用于在预设的时间间隔内接收到多个语音控制指令时,确定接收到的语音控制指令的数量,该系统还包括比对模块,用于在接收到其它被控终端广播的语音控制指令数量时,将确定语音控制指令的数量与接收到的语音控制指令数量进行比对;所述处理模块还用于在确定的语音控制指令的数量大于接收到的语音控制指令数量时,响应接收到的语音控制指令。
  13. 如权利要求10所述的语音控制系统,其特征在于,所述确定模块还用于对接收到的语音控制指令的强度进行排序,以及按照预设的权重对语音控制指令依次设置权重,并进行加权计算,以确定当前语音控制指令;所述处理模块还用于响应确定的语音控制指令。
PCT/CN2014/091936 2014-04-14 2014-11-21 语音控制方法和系统 WO2015158132A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410148500.X 2014-04-14
CN201410148500.XA CN103941686B (zh) 2014-04-14 2014-04-14 语音控制方法和系统

Publications (1)

Publication Number Publication Date
WO2015158132A1 true WO2015158132A1 (zh) 2015-10-22

Family

ID=51189394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091936 WO2015158132A1 (zh) 2014-04-14 2014-11-21 语音控制方法和系统

Country Status (2)

Country Link
CN (1) CN103941686B (zh)
WO (1) WO2015158132A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641110A (zh) * 2021-10-14 2021-11-12 深圳传音控股股份有限公司 处理方法、处理设备及可读存储介质
CN113766362A (zh) * 2021-09-07 2021-12-07 维沃移动通信有限公司 远程控制方法、装置、电子设备及存储介质

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941686B (zh) * 2014-04-14 2017-06-13 广东美的制冷设备有限公司 语音控制方法和系统
CN106328143A (zh) * 2015-06-23 2017-01-11 中兴通讯股份有限公司 语音控制方法、装置和移动终端
CN105137937B (zh) * 2015-08-28 2018-08-21 青岛海尔科技有限公司 一种智能物联家电的控制方法、装置及智能物联家电
CN107680590B (zh) * 2017-09-18 2020-10-02 北京小蓦机器人技术有限公司 一种用于处理自然语言命令的方法、设备与存储介质
CN107705788A (zh) * 2017-09-29 2018-02-16 上海与德通讯技术有限公司 一种语音指令的校验方法及智能终端
CN109102803A (zh) * 2018-08-09 2018-12-28 珠海格力电器股份有限公司 家电设备的控制方法、装置、存储介质及电子装置
CN109389978B (zh) * 2018-11-05 2020-11-03 珠海格力电器股份有限公司 一种语音识别方法及装置
CN109658932B (zh) * 2018-12-24 2020-11-17 深圳创维-Rgb电子有限公司 一种设备控制方法、装置、设备及介质
CN109884907B (zh) * 2019-03-11 2021-07-20 广东美的制冷设备有限公司 家电设备状态播报方法、装置及设备
CN110335601A (zh) * 2019-07-10 2019-10-15 三星电子(中国)研发中心 语音助手设备及其语音唤醒方法
CN112413836A (zh) * 2019-08-20 2021-02-26 广东美的制冷设备有限公司 空调器及其空调控制方法、控制装置和可读存储介质
CN111030781B (zh) * 2019-12-19 2022-12-09 宁波奥克斯电气股份有限公司 一种响应指令处理方法、装置、系统、设备及存储介质
CN112489658A (zh) * 2020-11-12 2021-03-12 当趣网络科技(杭州)有限公司 语音交互方法、系统、电子设备及介质
CN113990298B (zh) * 2021-12-24 2022-05-13 广州小鹏汽车科技有限公司 语音交互方法及其装置、服务器和可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830687A (zh) * 2012-09-24 2012-12-19 杨炙龙 一种智能家居控制系统和方法
CN102902253A (zh) * 2012-10-09 2013-01-30 鸿富锦精密工业(深圳)有限公司 具有语音控制功能的智能开关及智能控制系统
CN103092181A (zh) * 2012-12-28 2013-05-08 吴玉胜 基于智能电视设备的家电控制方法及系统
CN103631211A (zh) * 2012-08-29 2014-03-12 三星电子(中国)研发中心 控制家电设备的方法、装置及系统
CN103716669A (zh) * 2012-09-28 2014-04-09 三星电子株式会社 电子装置及其控制方法
CN103941686A (zh) * 2014-04-14 2014-07-23 美的集团股份有限公司 语音控制方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100457509B1 (ko) * 2001-07-07 2004-11-17 삼성전자주식회사 터치스크린과 음성인식을 통해 동작 제어되는 정보단말기 및 그의 명령 실행 방법
CN1400526A (zh) * 2001-07-31 2003-03-05 明碁电通股份有限公司 语音控制系统及方法
CN101272418B (zh) * 2008-03-25 2012-07-18 宇龙计算机通信科技(深圳)有限公司 一种远程控制通信终端的方法和通信终端
CN102610083A (zh) * 2011-01-25 2012-07-25 张国鸿 语音遥控接收模块及具语音遥控功能的电器
CN203134096U (zh) * 2013-03-07 2013-08-14 广东美的制冷设备有限公司 一种遥控接收唤醒电路及具有其的空调器

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631211A (zh) * 2012-08-29 2014-03-12 三星电子(中国)研发中心 控制家电设备的方法、装置及系统
CN102830687A (zh) * 2012-09-24 2012-12-19 杨炙龙 一种智能家居控制系统和方法
CN103716669A (zh) * 2012-09-28 2014-04-09 三星电子株式会社 电子装置及其控制方法
CN102902253A (zh) * 2012-10-09 2013-01-30 鸿富锦精密工业(深圳)有限公司 具有语音控制功能的智能开关及智能控制系统
CN103092181A (zh) * 2012-12-28 2013-05-08 吴玉胜 基于智能电视设备的家电控制方法及系统
CN103941686A (zh) * 2014-04-14 2014-07-23 美的集团股份有限公司 语音控制方法和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766362A (zh) * 2021-09-07 2021-12-07 维沃移动通信有限公司 远程控制方法、装置、电子设备及存储介质
CN113641110A (zh) * 2021-10-14 2021-11-12 深圳传音控股股份有限公司 处理方法、处理设备及可读存储介质

Also Published As

Publication number Publication date
CN103941686B (zh) 2017-06-13
CN103941686A (zh) 2014-07-23

Similar Documents

Publication Publication Date Title
WO2015158132A1 (zh) 语音控制方法和系统
WO2019051899A1 (zh) 终端控制方法、装置及存储介质
WO2020045950A1 (en) Method, device, and system of selectively using multiple voice data receiving devices for intelligent service
WO2019019374A1 (zh) 智能语音设备控制家电的方法、装置及系统
WO2019051890A1 (zh) 终端控制方法、装置及计算机可读存储介质
WO2019056752A1 (zh) 家电设备的配网方法、装置、系统及计算机可读存储介质
WO2019051908A1 (zh) 终端控制方法、装置及计算机可读存储介质
WO2019062194A1 (zh) 家电设备及其控制方法、系统及计算机可读存储介质
WO2019205323A1 (zh) 空调器及其参数调整方法、装置和可读存储介质
WO2019051895A1 (zh) 终端控制方法、装置及存储介质
WO2017201899A1 (zh) 连接蓝牙设备的方法及装置
WO2019037319A1 (zh) 电量预警方法、服务器、移动终端及存储介质
WO2019071762A1 (zh) 楼层位置定位方法、系统、服务器和计算机可读存储介质
WO2015127859A1 (en) Sensitive text detecting method and apparatus
WO2016082267A1 (zh) 语音识别方法和系统
WO2017161702A1 (zh) 洗衣机工作提醒方法及系统
WO2017063369A1 (zh) 无线直连连接方法及装置
WO2018058919A1 (zh) 标识信息生成方法、装置、设备和计算机可读存储介质
WO2018000856A1 (zh) 一种实现SDN Overlay网络报文转发的方法、终端、设备及计算机可读存储介质
WO2015196720A1 (zh) 语音识别方法及系统
WO2017148037A1 (zh) 终端故障诊断方法及装置
WO2019172565A1 (ko) 외부 장치와의 연결을 위한 전자 장치 및 방법
WO2017148028A1 (zh) 基于智能电视的远端网络连接方法和系统
WO2018149191A1 (zh) 保单核保的方法、装置、设备及计算机可读存储介质
WO2016029597A1 (zh) 终端控制方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14889512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14889512

Country of ref document: EP

Kind code of ref document: A1