WO2019062194A1 - Home appliance and method and system for controling home applicance and computer readable storage medium - Google Patents
Home appliance and method and system for controling home applicance and computer readable storage medium Download PDFInfo
- Publication number
- WO2019062194A1 WO2019062194A1 PCT/CN2018/089949 CN2018089949W WO2019062194A1 WO 2019062194 A1 WO2019062194 A1 WO 2019062194A1 CN 2018089949 W CN2018089949 W CN 2018089949W WO 2019062194 A1 WO2019062194 A1 WO 2019062194A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- home appliance
- information
- voice
- appliance
- home
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/28—Constructional details of speech recognition systems
- G10L15/30—Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
Definitions
- the present application relates to the field of smart home technology, and in particular, to a home appliance device, a control method thereof, a system, and a computer readable storage medium.
- home appliances such as air conditioners, humidifiers, and purifiers have become indispensable equipment for users' daily lives, bringing great convenience to users' lives.
- some home appliances have implemented voice control, such as air conditioners, and users can control the operation of air conditioners by voice, thereby making it easier for users to manipulate air conditioners.
- voice control home appliance it is necessary to configure a corresponding voice recognition function module in the home appliance, which increases the cost of the home appliance.
- the main purpose of the present application is to provide a home appliance device, a control method thereof, a system, and a computer readable storage medium, which aim to solve the technical problem of high cost of realizing voice control of the home appliance in the prior art.
- the present application provides a method for controlling a home appliance, and the method for controlling the home appliance includes the following steps:
- the first home appliance When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function.
- the second home appliance When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
- the step of sending the voice information to the second home appliance includes:
- the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
- the voice information is sent to the second home appliance based on a UDP user datagram protocol.
- the step of determining the second home appliance from the plurality of home appliances according to the device information includes:
- the home appliance that has the most available resources is determined as the second home appliance.
- the step of obtaining the currently available available resources of the determined home appliance includes:
- the step of determining, according to the capability information included in the device information, the home appliance that has the voice recognition function in the plurality of home appliances further includes:
- the determined home appliance is a single, it is determined as the second home appliance.
- the present application further provides a home appliance device, including: a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, The step of implementing the control method of the household electrical appliance as described above when the home appliance control program is executed by the processor.
- the present application further provides a computer readable storage medium, where the home appliance control program is stored, and when the home appliance control program is executed by the processor, the implementation is as described above. The steps of the control method of the home appliance.
- the present application further provides a method for controlling a home appliance, and the method for controlling the home appliance includes the following steps:
- the second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
- the method before the step of feeding back the text information to the first home appliance, the method further includes:
- the home appliance corresponding to the voice information is the first home appliance, performing the step of feeding back the text information to the first home appliance.
- the method further includes:
- the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
- the present application further provides a home appliance device including a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, the home appliance The step of implementing the control method of the household electrical appliance as described above when the device control program is executed by the processor.
- the present application further provides a computer readable storage medium, where the home appliance control program is stored, and when the home appliance control program is executed by the processor, the implementation is as described above. The steps of the control method of the home appliance.
- the present application further provides a control system for a home appliance, wherein the control system of the home appliance includes a first home appliance and a second home appliance, and the first home appliance does not have a voice recognition function.
- the second home appliance has a voice recognition function, wherein:
- the first home appliance is configured to send the voice information to the second home appliance when the voice information is collected, and according to the text when receiving the text information fed back by the second home appliance Information, perform the corresponding operations;
- the second home appliance is configured to perform voice recognition processing on the voice information when the voice information is received, obtain corresponding text information, and feed back the text information to the first home appliance.
- the user issues a voice for the first home appliance.
- Information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. And then the text information is fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- FIG. 1 is a schematic structural diagram of a hardware operating environment of a household electrical appliance according to an embodiment of the present application
- FIG. 2 is a schematic flow chart of a first embodiment of a method for controlling a household electrical appliance according to the present application
- FIG. 3 is a schematic diagram of a refinement process of transmitting the voice information to the second home appliance when the first home appliance collects the voice information of the user in the second embodiment of the control method of the home appliance according to the second embodiment of the present invention
- FIG. 4 is a schematic flow chart of a third embodiment of a method for controlling a household electrical appliance according to the present application.
- FIG. 5 is a schematic flow chart of a fourth embodiment of a method for controlling a household electrical appliance according to the present application.
- the solution of the embodiment of the present application is mainly: when the first home appliance does not have the voice recognition function, and the second home appliance has the voice recognition function, if the user wants to implement voice control of the first home appliance, the user issues the first The voice information of the home appliance, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain voice information. Corresponding text information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information.
- the technical solution of the embodiment of the present application solves the problem that the cost of implementing the voice control of the home appliance is high.
- the embodiment of the present application proposes a household electrical appliance.
- FIG. 1 is a schematic structural diagram of a hardware operating environment of a household electrical appliance according to an embodiment of the present application.
- the household electrical appliance may be an electric appliance such as an air conditioner, a humidifier, a purifier, a dehumidifier, a television, or a rice cooker.
- the household electrical appliance may include a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
- the communication bus 1002 is used to implement connection communication between these components.
- the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
- the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
- the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
- FIG. 1 does not constitute a limitation to the household electrical appliance, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
- a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a home appliance control program.
- the home appliance calls the home appliance control program stored in the memory 1005 through the processor 1001, and performs the following operations:
- the first home appliance When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function.
- the second home appliance When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
- processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
- the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
- the voice information is sent to the second home appliance based on a UDP user datagram protocol.
- processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
- the home appliance that has the most available resources is determined as the second home appliance.
- processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
- processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
- the determined home appliance is a single, it is determined as the second home appliance.
- the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- FIG. 2 is a schematic flow chart of a first embodiment of a method for controlling a household electrical appliance according to the present application.
- control method of the household electrical appliance includes the following steps:
- step S10 when the first home appliance collects the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice.
- the identification function when the second home appliance receives the voice information, performs voice recognition processing on the voice information to obtain corresponding text information;
- Step S20 when receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information.
- home appliances such as air conditioners, humidifiers, and purifiers have become indispensable equipment for users' daily lives, bringing great convenience to users' lives.
- some home appliances have implemented voice control, such as air conditioners, and users can control the operation of air conditioners by voice, thereby making it easier for users to manipulate air conditioners.
- voice control home appliance it is necessary to configure a corresponding voice recognition function module in the home appliance, which increases the cost of the home appliance.
- the present application proposes a control method for the home appliance, which is applied to a home appliance that does not have a voice recognition function, and realizes that the home appliance does not have a corresponding voice recognition function module.
- the voice recognition function of the home appliance with voice recognition function is shared, thereby implementing voice control.
- the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may belong to different home appliances in the same local area network.
- the home appliance that does not have voice recognition function and the home appliance that has voice recognition function may also establish Wi-Fi (Wireless) Home appliances such as Fidelity, Wireless Fidelity, Bluetooth, ZigBee, etc.
- Wi-Fi Wireless Fidelity
- a home appliance that does not have a voice recognition function will be referred to as a first home appliance
- a home appliance that has a voice recognition function will be referred to as a second home appliance.
- the first home appliance device is pre-configured with a corresponding voice collection module.
- the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
- the first home appliance When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function.
- the first home appliance may be based on TCP (Transmission) Control Protocol (Transmission Control Protocol) sends voice information to the second home appliance.
- the second home appliance When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
- the first home appliance When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information.
- the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification.
- the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
- control method of the home appliance of the present application will be described in detail below by taking the first home appliance as the smart rice cooker and the second home appliance as the air conditioner.
- the smart rice cooker is provided with a corresponding voice acquisition module such as a microphone.
- a corresponding voice message such as “turn on the rice cooker”
- the smart rice cooker collects the voice information through the voice collecting module. After the voice information is collected and acquired, the smart rice cooker sends the voice information to the smart rice cooker.
- Air conditioner When the user needs voice control to turn on the smart rice cooker, the user sends a corresponding voice message such as “turn on the rice cooker”, and the smart rice cooker collects the voice information through the voice collecting module. After the voice information is collected and acquired, the smart rice cooker sends the voice information to the smart rice cooker.
- Air conditioner When the user needs voice control to turn on the smart rice cooker, the user sends a corresponding voice message such as “turn on the rice cooker”, and the smart rice cooker collects the voice information through the voice collecting module. After the voice information is collected and acquired, the smart rice cooker sends the voice information to the smart rice cooker. Air conditioner.
- the air conditioner When the air conditioner receives the voice information, the air conditioner performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. After obtaining the text information corresponding to the voice information, the air conditioner feeds back the text information to the smart rice cooker.
- the smart rice cooker receives the text information fed back by the air conditioner, the smart rice cooker performs an opening operation of the smart rice cooker according to the text information. Therefore, in the case where the smart rice cooker does not have the voice recognition function, the voice control function of the air conditioner is shared, and the smart rice cooker is voice-controlled.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- the step S10 includes:
- step S11 when the first home appliance collects the voice information, the device information of the plurality of home appliances in the current local area network is called, and the second home appliance is determined from the plurality of home appliances according to the device information.
- the device information of the plurality of home appliances in the current local area network is called, and the second home appliance is determined from the plurality of home appliances according to the device information.
- Step S12 Send the voice information to the second home appliance according to a UDP user datagram protocol.
- a plurality of home appliances including the first home appliance and the second home appliance form a corresponding smart home system through the same local area network.
- Each of the home appliances is configured with corresponding device information, where the device information includes capability information of the home appliance, device identity information, resource access address information, and the like.
- the capability information includes but is not limited to voice recognition function information, portrait recognition function information, and the like;
- the device identity information includes but is not limited to MAC (Media Access Control, physical address, information, etc.;
- resource access address information includes but is not limited to the IP of the device (Internet Protocol) Address, Internet Protocol Address) Information, port information, etc.
- each home appliance stores device information of other home appliances in the local area network.
- the first home appliance When the user sends corresponding voice information to the first home appliance, when the first home appliance collects the voice information, the first home appliance calls the stored device information of the plurality of home appliances in the local area network, and according to the device information of the other plurality of home appliances.
- the second home appliance is determined from among a plurality of other home appliances.
- step S11 includes:
- Step a determining, according to the capability information included in the device information, a home appliance device having a voice recognition function among the plurality of home appliance devices;
- Step b when the determined number of home appliances are multiple, acquiring the currently available available resources of the determined home appliance;
- step c the home appliance that has the most available resources is determined as the second home appliance.
- the first home appliance obtains the capability information included in the device information of the other plurality of home appliances by calling the device information of the other plurality of home appliances in the local area network, and according to the capability information of the other plurality of home appliances A household electrical appliance having voice recognition function among other household electrical appliances is determined.
- the first home appliance determines the second home appliance from the plurality of home appliances, and transmits the voice information to the second home appliance.
- the first home appliance is determined.
- the first home appliance acquires available resources of the plurality of home appliances, and then compares the obtained plurality of available resources to obtain the current available resources. The home appliance is determined to be the second home appliance.
- the first home appliance acquires available CPU resources and available memory resources of the plurality of home appliances, first compares available CPU resources, and determines the home appliance that has the most available CPU resources as the second home appliance. If the home appliance that has the most CPU resources can include at least two, the available memory resources corresponding to the at least two home appliances are compared, and the home appliance with the most available memory resources is determined as the second home appliance.
- the method further includes:
- step d when the determined home appliance is a single, it is determined as the second home appliance.
- the first home appliance directly determines the home appliance as the second home appliance.
- the step b includes:
- Step b1 sending a resource query request to the determined home appliance, for the determined home appliance to feed back the currently available available resources when receiving the resource query request;
- step b2 the available resources fed back by the determined home appliance are received.
- the first home appliance actively acquires available resources currently corresponding to the respective home appliances.
- the first home electric appliance determines that there are a plurality of home electric appliances having the voice recognition function in the local area network
- the first home electric appliance sends a resource inquiry request to the plurality of home electric appliances.
- the plurality of household electrical appliances receive the resource query request sent by the first home appliance
- the first home appliance is fed back the current available resources.
- the first home appliance receives the available resources that are respectively fed back by the plurality of home appliances, and determines the home appliance that has the most resources as the second home appliance according to the currently available resources of the plurality of home appliances.
- the first home appliance may passively receive the currently available available resources actively sent by each home appliance.
- each home appliance is configured to periodically broadcast the available resources corresponding to each of the home appliances, and the first home appliance receives and obtains the available resources currently corresponding to the respective home appliances.
- the first home appliance is based on UDP (User Datagram) after determining the second home appliance Protocol, User Datagram Protocol) sends voice information to the second home appliance.
- UDP User Datagram
- the first home appliance transmits the voice information to the second home appliance based on the UDP protocol based on the resource access address information such as the IP address information and the port information of the second home appliance. Since the UDP protocol is a connectionless transport layer protocol, there is no need to establish a TCP long connection between the first home appliance and the second home appliance, so there is no need to maintain the TCP long connection, but only the port, The IP address list is maintained, which greatly reduces the system load.
- the first home appliance transmits the voice information to the second home appliance.
- a wireless communication connection between the first home appliance and the second home appliance is established through the TCP protocol.
- the first home appliance sends the voice information to the second home appliance based on the TCP protocol.
- the first home appliance when collecting the voice information, calls the pre-stored device information of the plurality of home appliances in the current local area network, and determines the second home appliance from the plurality of home appliances according to the device information, and The voice information is sent to the second home appliance based on the UDP protocol to share the voice recognition function by the second home appliance, thereby implementing voice control on the first home appliance. Since the UDP protocol uses a small delay in data transmission and high data transmission efficiency, the efficiency of the voice control home appliance is improved.
- FIG. 4 is a schematic flowchart of a third embodiment of a control method for a household electrical appliance according to the present application.
- control method of the household electrical appliance includes the following steps:
- Step S30 the second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance is collecting Sending the voice information to the second home appliance when the voice information is obtained;
- Step S40 performing voice recognition processing on the voice information to obtain corresponding text information
- Step S50 feeding back the text information to the first home appliance, so that the first home appliance performs a corresponding operation according to the text information.
- the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may belong to different home appliances in the same local area network.
- the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may be home appliances that establish a wireless communication connection such as Wi-Fi, Bluetooth, or ZigBee.
- a home appliance that does not have a voice recognition function will be referred to as a first home appliance
- a home appliance that has a voice recognition function will be referred to as a second home appliance.
- the first home appliance device is pre-configured with a corresponding voice collection module.
- the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
- the first home appliance When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function. For example, in a case where the first home appliance establishes a wireless communication connection with the second home appliance, the first home appliance may transmit the voice information to the second home appliance based on the TCP.
- the second home appliance When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
- the first home appliance When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information.
- the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification.
- the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- a fourth embodiment of the control method of the home appliance of the present application is proposed based on the third embodiment.
- the method further includes:
- Step S60 determining, according to the text information, a home appliance corresponding to the voice information
- the step S50 includes:
- Step S51 If it is determined that the home appliance corresponding to the voice information is the first home appliance, the text information is fed back to the first home appliance.
- the second home appliance performs voice recognition processing on the voice information sent by the first home appliance, and after obtaining the corresponding text information, does not directly feed the text information to the first
- the home appliance device first determines the home appliance corresponding to the voice information according to the voice information, and determines whether the corresponding home appliance is the first home appliance, that is, determines whether the home appliance to be voice controlled is the first home appliance.
- the air conditioner According to the voice information of the user as “turning on the smart rice cooker”, the air conditioner according to the After the voice information obtains the corresponding text information, the home appliance that is currently to be voice controlled is determined to be a smart rice cooker according to the voice information.
- the second home appliance feeds back the text information to the first home appliance.
- the first home appliance performs a corresponding operation according to the text information.
- the smart rice cooker performs an opening operation.
- the method further includes:
- Step e if it is determined that the home appliance corresponding to the voice information is the third home appliance, feeding back the text information to the third home appliance, so that the third home appliance performs corresponding according to the text information. Operation.
- the situation is directed to the voice control of the first home appliance. Since not every home appliance has a voice collection module, the voice information of the user can be collected, that is, the actual application still exists.
- a third home appliance device does not have a voice collection function or a voice recognition function.
- the third home appliance can implement voice control by sharing the voice collection function of the first home appliance, that is, the voice recognition function of the second home appliance. Specifically, when the user wants to perform voice control on the third home appliance, the user sends corresponding voice information for the third home appliance based on the first home appliance, and the first home appliance collects the voice information when the voice information is collected. The information is sent to the second home appliance.
- the second home appliance When the second home appliance receives the voice information, performing voice recognition processing on the voice information, obtaining corresponding text information, and determining the home appliance corresponding to the voice information, if it is determined that the home appliance corresponding to the voice information is not the first
- the second home appliance transmits the text information corresponding to the voice information to the third home appliance.
- the third home appliance When receiving the text information, the third home appliance performs a corresponding operation according to the text information. Therefore, the voice control of the third home appliance is realized by sharing the voice collection function of the first home appliance and the voice recognition function of the second home appliance.
- the second home appliance after the second home appliance obtains the text information corresponding to the voice information, the second home appliance first determines the home appliance corresponding to the voice information, and when the home appliance corresponding to the voice information is the first home appliance, Sending the text information to the first home appliance; and when the home appliance corresponding to the voice information is the third home appliance, transmitting the text information to the third home appliance, and the third home appliance performs a corresponding operation, thereby implementing the Sharing the voice collection function of the first home appliance and the voice recognition function of the second home appliance, performing voice control on the third home appliance, thereby further reducing the cost of realizing the voice control of the home appliance.
- the embodiment of the present application further provides a computer readable storage medium, where the air conditioner control program is stored on the computer readable storage medium, and the air conditioner control program is executed by the processor to:
- the first home appliance When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function.
- the second home appliance When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
- the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
- the voice information is sent to the second home appliance based on a UDP user datagram protocol.
- the home appliance that has the most available resources is determined as the second home appliance.
- the determined home appliance is a single, it is determined as the second home appliance.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- the embodiment of the present application further provides a home appliance device.
- the household electrical appliance includes: a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, the home appliance control program being executed by the processor
- the following operations are implemented:
- the second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
- the text information is fed back to the first home appliance.
- the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- the embodiment of the present application further provides a control system for a home appliance.
- control system of the household electrical appliance includes a first home appliance and a second home appliance, the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function, wherein:
- the first home appliance is configured to send the voice information to the second home appliance when the voice information is collected, and according to the text when receiving the text information fed back by the second home appliance Information, perform the corresponding operations;
- the second home appliance is configured to perform voice recognition processing on the voice information when the voice information is received, obtain corresponding text information, and feed back the text information to the first home appliance.
- control system of the household electrical appliance includes a first home appliance that does not have a voice recognition function and a second home appliance that has a voice recognition function, and the first home appliance and the second home appliance belong to different home appliances in the same local area network.
- the first home appliance device is pre-configured with a corresponding voice collection module.
- the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
- the first home appliance When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function. For example, in a case where the first home appliance establishes a wireless communication connection with the second home appliance, the first home appliance may transmit the voice information to the second home appliance based on the TCP.
- the second home appliance When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
- the first home appliance When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information.
- the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification.
- the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- the embodiment of the present application further provides a computer readable storage medium, where the air conditioner control program is stored on the computer readable storage medium, and the air conditioner control program is executed by the processor to:
- the second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
- the text information is fed back to the first home appliance.
- the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
- the user when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance.
- Voice information when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance.
- the first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
- the technical solution of the present application 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 as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
- a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Selective Calling Equipment (AREA)
Abstract
本申请公开了一种家电设备及其控制方法、系统及计算机可读存储介质,该方法包括:第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第二家电设备在接收到所述语音信息时,将所述语音信息进行语音识别处理,获得对应的文本信息;在接收到所述第二家电设备反馈的所述文本信息时,根据所述文本信息,执行相应的操作。本申请降低了家电设备实现语音控制的成本。The present application discloses a home appliance device, a control method thereof, a system, and a computer readable storage medium. The method includes: when the first home appliance collects voice information of the user, the voice information is sent to the second home appliance; The first home appliance does not have a voice recognition function, and the second home appliance includes a voice recognition function, and when the second home appliance receives the voice information, performs voice recognition processing on the voice information. Obtaining corresponding text information; when receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information. The application reduces the cost of implementing home appliance equipment for voice control.
Description
本申请要求于2017年9月30日提交中国专利局、申请号为201710933857.2、发明名称为“家电设备及其控制方法、系统及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims priority to Chinese Patent Application No. 200910933857.2, entitled "Home Appliances and Control Methods, Systems, and Computer Readable Storage Media", filed on September 30, 2017, the entire contents of which are incorporated herein by reference. It is incorporated in the application by reference.
技术领域Technical field
本申请涉及智慧家居技术领域,尤其涉及一种家电设备及其控制方法、系统及计算机可读存储介质。The present application relates to the field of smart home technology, and in particular, to a home appliance device, a control method thereof, a system, and a computer readable storage medium.
背景技术Background technique
随着科技的发展,空调器、加湿器、净化器等家电设备已经成为用户日常生活中不可或缺的设备,为用户的生活带来了极大便利。目前,一些家电设备已实现语音控制,比如空调器,用户可通过语音控制空调器的运行,从而使得用户操控空调器更加便捷。只是,为了实现语音控制家电设备,需要在家电设备中配置相应的语音识别功能模块,这使得家电设备的成本增加。With the development of technology, home appliances such as air conditioners, humidifiers, and purifiers have become indispensable equipment for users' daily lives, bringing great convenience to users' lives. At present, some home appliances have implemented voice control, such as air conditioners, and users can control the operation of air conditioners by voice, thereby making it easier for users to manipulate air conditioners. However, in order to implement the voice control home appliance, it is necessary to configure a corresponding voice recognition function module in the home appliance, which increases the cost of the home appliance.
发明内容Summary of the invention
本申请的主要目的在于提出一种家电设备及其控制方法、系统及计算机可读存储介质,旨在解决现有技术中家电设备实现语音控制的成本较高的技术问题。The main purpose of the present application is to provide a home appliance device, a control method thereof, a system, and a computer readable storage medium, which aim to solve the technical problem of high cost of realizing voice control of the home appliance in the prior art.
为实现上述目的,本申请提供一种家电设备的控制方法,所述家电设备的控制方法包括以下步骤:To achieve the above objective, the present application provides a method for controlling a home appliance, and the method for controlling the home appliance includes the following steps:
第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第二家电设备在接收到所述语音信息时,将所述语音信息进行语音识别处理,获得对应的文本信息;When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function. When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
在接收到所述第二家电设备反馈的所述文本信息时,根据所述文本信息,执行相应的操作。When receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information.
可选地,所述第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备的步骤包括:Optionally, when the first home appliance collects the voice information of the user, the step of sending the voice information to the second home appliance includes:
第一家电设备在采集到所述语音信息时,调用预存的当前局域网内多个家电设备的设备信息,根据所述设备信息,从所述多个家电设备中确定所述第二家电设备;When collecting the voice information, the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
基于UDP用户数据报协议将所述语音信息发送至所述第二家电设备。The voice information is sent to the second home appliance based on a UDP user datagram protocol.
可选地,所述根据所述设备信息,从所述多个家电设备中确定所述第二家电设备的步骤包括:Optionally, the step of determining the second home appliance from the plurality of home appliances according to the device information includes:
根据所述设备信息中包含的能力信息,确定所述多个家电设备中具备语音识别功能的家电设备;Determining, according to the capability information included in the device information, a home appliance device having a voice recognition function among the plurality of home appliance devices;
在确定的家电设备为多个时,获取所述确定的家电设备当前对应的可用资源;Obtaining, by the determined plurality of household electrical appliances, the currently available available resources of the determined household electrical appliance;
将可用资源最多的家电设备,确定为所述第二家电设备。The home appliance that has the most available resources is determined as the second home appliance.
可选地,所述获取所述确定的家电设备当前对应的可用资源步骤包括:Optionally, the step of obtaining the currently available available resources of the determined home appliance includes:
发送资源查询请求至所述确定的家电设备,以供所述确定的家电设备在接收到所述资源查询请求时,反馈当前对应的可用资源;Sending a resource query request to the determined home appliance, for the determined home appliance to feed back the currently available available resources when receiving the resource query request;
接收所述确定的家电设备反馈的所述可用资源。Receiving the available resources fed back by the determined home appliance.
可选地,所述根据所述设备信息中包含的能力信息,确定所述多个家电设备中具备语音识别功能的家电设备的步骤之后,还包括:Optionally, the step of determining, according to the capability information included in the device information, the home appliance that has the voice recognition function in the plurality of home appliances, further includes:
在确定的家电设备为单个时,将其确定为所述第二家电设备。When the determined home appliance is a single, it is determined as the second home appliance.
此外,为实现上述目的,本申请还提出一种家电设备,所述家电设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的家电设备控制程序,所述家电设备控制程序被所述处理器执行时实现如上文所述的家电设备的控制方法的步骤。In addition, in order to achieve the above object, the present application further provides a home appliance device, including: a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, The step of implementing the control method of the household electrical appliance as described above when the home appliance control program is executed by the processor.
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有家电设备控制程序,所述家电设备控制程序被处理器执行时实现如上文所述的家电设备的控制方法的步骤。In addition, in order to achieve the above object, the present application further provides a computer readable storage medium, where the home appliance control program is stored, and when the home appliance control program is executed by the processor, the implementation is as described above. The steps of the control method of the home appliance.
此外,为实现上述目的,本申请还提出一种家电设备的控制方法,所述家电设备的控制方法包括以下步骤:In addition, in order to achieve the above object, the present application further provides a method for controlling a home appliance, and the method for controlling the home appliance includes the following steps:
第二家电设备接收第一家电设备发送的语音信息;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第一家电设备在采集到所述语音信息时,将所述语音信息发送至所述第二家电设备;The second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
对所述语音信息进行语音识别处理,获得对应的文本信息;Performing voice recognition processing on the voice information to obtain corresponding text information;
将所述文本信息反馈至所述第一家电设备,以供所述第一家电设备根据所述文本信息,执行相应的操作。And feeding back the text information to the first home appliance, so that the first home appliance performs a corresponding operation according to the text information.
可选地,所述将所述文本信息反馈至所述第一家电设备的步骤之前,还包括:Optionally, before the step of feeding back the text information to the first home appliance, the method further includes:
根据所述文本信息,确定所述语音信息对应的家电设备;Determining, according to the text information, a home appliance corresponding to the voice information;
若确定所述语音信息对应的家电设备为所述第一家电设备,则执行所述将所述文本信息反馈至所述第一家电设备的步骤。If it is determined that the home appliance corresponding to the voice information is the first home appliance, performing the step of feeding back the text information to the first home appliance.
可选地,所述根据所述文本信息,确定所述语音信息对应的家电设备的步骤之后,还包括:Optionally, after the step of determining the home appliance corresponding to the voice information according to the text information, the method further includes:
若确定所述语音信息对应的家电设备为第三家电设备,则将所述文本信息反馈至所述第三家电设备,以供所述第三家电设备根据所述文本信息,执行相应的操作。If it is determined that the home appliance corresponding to the voice information is the third home appliance, the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
此外,为实现上述目的,本申请还提出一种家电设备,所述家电设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的家电设备控制程序,所述家电设备控制程序被所述处理器执行时实现如上文所述的家电设备的控制方法的步骤。In addition, in order to achieve the above object, the present application further provides a home appliance device including a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, the home appliance The step of implementing the control method of the household electrical appliance as described above when the device control program is executed by the processor.
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有家电设备控制程序,所述家电设备控制程序被处理器执行时实现如上文所述的家电设备的控制方法的步骤。In addition, in order to achieve the above object, the present application further provides a computer readable storage medium, where the home appliance control program is stored, and when the home appliance control program is executed by the processor, the implementation is as described above. The steps of the control method of the home appliance.
此外,为实现上述目的,本申请还提出一种家电设备的控制系统,所述家电设备的控制系统包括第一家电设备和第二家电设备,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,其中:In addition, in order to achieve the above object, the present application further provides a control system for a home appliance, wherein the control system of the home appliance includes a first home appliance and a second home appliance, and the first home appliance does not have a voice recognition function. The second home appliance has a voice recognition function, wherein:
所述第一家电设备,用于在采集到语音信息时,将所述语音信息发送至所述第二家电设备,以及在接收到所述第二家电设备反馈的文本信息时,根据所述文本信息,执行相应的操作;The first home appliance is configured to send the voice information to the second home appliance when the voice information is collected, and according to the text when receiving the text information fed back by the second home appliance Information, perform the corresponding operations;
所述第二家电设备,用于在接收到所述语音信息时,对所述语音信息进行语音识别处理,获得对应的文本信息,并将所述文本信息反馈至所述第一家电设备。The second home appliance is configured to perform voice recognition processing on the voice information when the voice information is received, obtain corresponding text information, and feed back the text information to the first home appliance.
本申请提出的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。 In the solution proposed by the present application, if the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement voice control of the first home appliance, the user issues a voice for the first home appliance. Information: when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. And then the text information is fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
附图说明DRAWINGS
图1为本申请实施例方案涉及的家电设备的硬件运行环境的结构示意图;1 is a schematic structural diagram of a hardware operating environment of a household electrical appliance according to an embodiment of the present application;
图2为本申请家电设备的控制方法第一实施例的流程示意图;2 is a schematic flow chart of a first embodiment of a method for controlling a household electrical appliance according to the present application;
图3为本申请家电设备的控制方法第二实施例中第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备的细化流程示意图;3 is a schematic diagram of a refinement process of transmitting the voice information to the second home appliance when the first home appliance collects the voice information of the user in the second embodiment of the control method of the home appliance according to the second embodiment of the present invention;
图4为本申请家电设备的控制方法第三实施例的流程示意图;4 is a schematic flow chart of a third embodiment of a method for controlling a household electrical appliance according to the present application;
图5为本申请家电设备的控制方法第四实施例的流程示意图。FIG. 5 is a schematic flow chart of a fourth embodiment of a method for controlling a household electrical appliance according to the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请实施例的解决方案主要是:在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作。通过本申请实施例的技术方案,解决了家电设备实现语音控制的成本较高的问题。The solution of the embodiment of the present application is mainly: when the first home appliance does not have the voice recognition function, and the second home appliance has the voice recognition function, if the user wants to implement voice control of the first home appliance, the user issues the first The voice information of the home appliance, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain voice information. Corresponding text information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information. The technical solution of the embodiment of the present application solves the problem that the cost of implementing the voice control of the home appliance is high.
本申请实施例提出一种家电设备。The embodiment of the present application proposes a household electrical appliance.
参照图1,图1为本申请实施例方案涉及的家电设备的硬件运行环境的结构示意图。1 is a schematic structural diagram of a hardware operating environment of a household electrical appliance according to an embodiment of the present application.
本申请中,家电设备可以为空调器、加湿器、净化器、除湿器、电视机、电饭煲等电器设备。In the present application, the household electrical appliance may be an electric appliance such as an air conditioner, a humidifier, a purifier, a dehumidifier, a television, or a rice cooker.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, the suffixes such as "module," "component," or "unit" used to denote an element are merely illustrative for the benefit of the present application, and have no particular meaning per se. Therefore, "module", "component" or "unit" can be used in combination.
如图1所示,该家电设备可以包括:处理器1001、通信总线1002、用户接口1003、网络接口1004、存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the household electrical appliance may include a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的家电设备结构并不构成对家电设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the structure of the household electrical appliance shown in FIG. 1 does not constitute a limitation to the household electrical appliance, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及家电设备控制程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a home appliance control program.
本申请中,家电设备通过处理器1001调用存储器1005中存储的家电设备控制程序,并执行以下操作:In the present application, the home appliance calls the home appliance control program stored in the memory 1005 through the processor 1001, and performs the following operations:
第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第二家电设备在接收到所述语音信息时,将所述语音信息进行语音识别处理,获得对应的文本信息;When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function. When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
在接收到所述第二家电设备反馈的所述文本信息时,根据所述文本信息,执行相应的操作。When receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information.
进一步地,处理器1001可以调用存储器1005中存储的家电设备控制程序,还执行以下操作:Further, the processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
第一家电设备在采集到所述语音信息时,调用预存的当前局域网内多个家电设备的设备信息,根据所述设备信息,从所述多个家电设备中确定所述第二家电设备;When collecting the voice information, the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
基于UDP用户数据报协议将所述语音信息发送至所述第二家电设备。The voice information is sent to the second home appliance based on a UDP user datagram protocol.
进一步地,处理器1001可以调用存储器1005中存储的家电设备控制程序,还执行以下操作:Further, the processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
根据所述设备信息中包含的能力信息,确定所述多个家电设备中具备语音识别功能的家电设备;Determining, according to the capability information included in the device information, a home appliance device having a voice recognition function among the plurality of home appliance devices;
在确定的家电设备为多个时,获取所述确定的家电设备当前对应的可用资源;Obtaining, by the determined plurality of household electrical appliances, the currently available available resources of the determined household electrical appliance;
将可用资源最多的家电设备,确定为所述第二家电设备。The home appliance that has the most available resources is determined as the second home appliance.
进一步地,处理器1001可以调用存储器1005中存储的家电设备控制程序,还执行以下操作:Further, the processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
发送资源查询请求至所述确定的家电设备,以供所述确定的家电设备在接收到所述资源查询请求时,反馈当前对应的可用资源;Sending a resource query request to the determined home appliance, for the determined home appliance to feed back the currently available available resources when receiving the resource query request;
接收所述确定的家电设备反馈的所述可用资源。Receiving the available resources fed back by the determined home appliance.
进一步地,处理器1001可以调用存储器1005中存储的家电设备控制程序,还执行以下操作:Further, the processor 1001 may call the home appliance control program stored in the memory 1005, and further perform the following operations:
在确定的家电设备为单个时,将其确定为所述第二家电设备。When the determined home appliance is a single, it is determined as the second home appliance.
本实施例通过上述方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In this embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
基于上述硬件结构,提出本申请家电设备的控制方法实施例。Based on the hardware configuration described above, an embodiment of a control method for the home appliance of the present application is proposed.
参照图2,图2为本申请家电设备的控制方法第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flow chart of a first embodiment of a method for controlling a household electrical appliance according to the present application.
在第一实施例中,所述家电设备的控制方法包括以下步骤:In the first embodiment, the control method of the household electrical appliance includes the following steps:
步骤S10,第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第二家电设备在接收到所述语音信息时,将所述语音信息进行语音识别处理,获得对应的文本信息;In step S10, when the first home appliance collects the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice. The identification function, when the second home appliance receives the voice information, performs voice recognition processing on the voice information to obtain corresponding text information;
步骤S20,在接收到所述第二家电设备反馈的所述文本信息时,根据所述文本信息,执行相应的操作。Step S20, when receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information.
随着科技的发展,空调器、加湿器、净化器等家电设备已经成为用户日常生活中不可或缺的设备,为用户的生活带来了极大便利。目前,一些家电设备已实现语音控制,比如空调器,用户可通过语音控制空调器的运行,从而使得用户操控空调器更加便捷。只是,为了实现语音控制家电设备,需要在家电设备中配置相应的语音识别功能模块,这使得家电设备的成本增加。With the development of technology, home appliances such as air conditioners, humidifiers, and purifiers have become indispensable equipment for users' daily lives, bringing great convenience to users' lives. At present, some home appliances have implemented voice control, such as air conditioners, and users can control the operation of air conditioners by voice, thereby making it easier for users to manipulate air conditioners. However, in order to implement the voice control home appliance, it is necessary to configure a corresponding voice recognition function module in the home appliance, which increases the cost of the home appliance.
为了降低家电设备实现语音控制的成本,本申请提出了一种家电设备的控制方法,应用于不具备语音识别功能的家电设备,实现在家电设备不配置相应的语音识别功能模块的情况下,通过共享具备语音识别功能的家电设备的语音识别功能,从而实现语音控制。In order to reduce the cost of realizing the voice control of the home appliance, the present application proposes a control method for the home appliance, which is applied to a home appliance that does not have a voice recognition function, and realizes that the home appliance does not have a corresponding voice recognition function module. The voice recognition function of the home appliance with voice recognition function is shared, thereby implementing voice control.
具体地,本实施例中,不具备语音识别功能的家电设备与具备语音识别功能的家电设备可以是属于同一局域网内的不同家电设备。可选地,不具备语音识别功能的家电设备与具备语音识别功能的家电设备也可以是建立Wi-Fi(Wireless Fidelity,无线保真)、蓝牙、ZigBee(紫蜂协议)等无线通信连接的家电设备。为了便于描述,下文将不具备语音识别功能的家电设备称为第一家电设备,将具备语音识别功能的家电设备称为第二家电设备。Specifically, in the embodiment, the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may belong to different home appliances in the same local area network. Alternatively, the home appliance that does not have voice recognition function and the home appliance that has voice recognition function may also establish Wi-Fi (Wireless) Home appliances such as Fidelity, Wireless Fidelity, Bluetooth, ZigBee, etc. For convenience of description, a home appliance that does not have a voice recognition function will be referred to as a first home appliance, and a home appliance that has a voice recognition function will be referred to as a second home appliance.
第一家电设备上预先设置有相应的语音采集模块,当用户要对第一家电设备进行语音控制时,用户发出相应的语音信息,第一家电设备通过该语音采集模块采集用户发出的语音信息,并获取语音采集模块采集到的该语音信息。The first home appliance device is pre-configured with a corresponding voice collection module. When the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
第一家电设备在获取到该语音信息时,由于第一家电设备不具备语音识别功能,第一家电设备将该语音信息发送至第二家电设备。例如,在第一家电设备与第二家电设备建立无线通信连接的情况下,第一家电设备可基于TCP(Transmission Control Protocol,传输控制协议)将语音信息发送至第二家电设备。When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function. For example, in a case where a wireless communication connection is established between the first home appliance and the second home appliance, the first home appliance may be based on TCP (Transmission) Control Protocol (Transmission Control Protocol) sends voice information to the second home appliance.
在第二家电设备接收到该语音信息时,第二家电设备对该语音信息进行语音识别处理,获得该语音信息对应的文本信息。具体地语音识别处理过程与现有的语音识别技术一样,因此,在此就不再赘述。在获得该语音信息对应的文本信息之后,第二家电设备将该文本信息反馈给第一家电设备。When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,执行相应的操作。可选地,当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,获取该文本信息对应的家电设备控制指令,该家电设备控制指令可以被第一家电设备识别。例如,第一家电设备提取该文本信息中的关键字,根据该关键字,查询预设的指令信息数据库,获取与该关键字匹配的家电设备控制指令。在获得可以被第一家电设备识别的家电设备控制指令后,第一家电设备根据该家电设备控制指令,执行相应的操作。When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information. Optionally, when the first home appliance receives the text information fed back by the second home appliance, the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification. For example, the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
例如,下面以第一家电设备为智能电饭煲、第二家电设备为空调器为例,对本申请家电设备的控制方法进行详细说明。For example, the control method of the home appliance of the present application will be described in detail below by taking the first home appliance as the smart rice cooker and the second home appliance as the air conditioner.
在该具体实例中,智能电饭煲设置有相应的麦克风等语音采集模块。当用户需要语音控制开启智能电饭煲时,用户发出相应的如“开启电饭煲”语音信息,智能电饭煲通过语音采集模块采集该语音信息,在采集获取到该语音信息之后,智能电饭煲将该语音信息发送至空调器。In this specific example, the smart rice cooker is provided with a corresponding voice acquisition module such as a microphone. When the user needs voice control to turn on the smart rice cooker, the user sends a corresponding voice message such as “turn on the rice cooker”, and the smart rice cooker collects the voice information through the voice collecting module. After the voice information is collected and acquired, the smart rice cooker sends the voice information to the smart rice cooker. Air conditioner.
当空调器接收到该语音信息时,空调器对该语音信息进行语音识别处理,获得该语音信息对应的文本信息。在获得该语音信息对应的文本信息之后,空调器将该文本信息反馈给智能电饭煲。当智能电饭煲接收到空调器反馈的该文本信息时,智能电饭煲根据该文本信息,执行智能电饭煲的开启操作。因此,实现在智能电饭煲不具备语音识别功能的情况下,通过共享空调器的语音识别功能,对智能电饭煲进行语音控制。When the air conditioner receives the voice information, the air conditioner performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. After obtaining the text information corresponding to the voice information, the air conditioner feeds back the text information to the smart rice cooker. When the smart rice cooker receives the text information fed back by the air conditioner, the smart rice cooker performs an opening operation of the smart rice cooker according to the text information. Therefore, in the case where the smart rice cooker does not have the voice recognition function, the voice control function of the air conditioner is shared, and the smart rice cooker is voice-controlled.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
进一步地,基于第一实施例提出本申请家电设备的控制方法第二实施例,在本实施例中,如图3所示,所述步骤S10包括:Further, a second embodiment of the control method of the home appliance of the present application is proposed based on the first embodiment. In this embodiment, as shown in FIG. 3, the step S10 includes:
步骤S11,第一家电设备在采集到所述语音信息时,调用预存的当前局域网内多个家电设备的设备信息,根据所述设备信息,从所述多个家电设备中确定所述第二家电设备;In step S11, when the first home appliance collects the voice information, the device information of the plurality of home appliances in the current local area network is called, and the second home appliance is determined from the plurality of home appliances according to the device information. device;
步骤S12,基于UDP用户数据报协议将所述语音信息发送至所述第二家电设备。Step S12: Send the voice information to the second home appliance according to a UDP user datagram protocol.
本实施例中,包括第一家电设备和第二家电设备在内的多个家电设备,通过同一局域网组成相应的智慧家居系统。其中,每个家电设备都配置有相应的设备信息,该设备信息包括家电设备的能力信息、设备身份信息、资源访问地址信息等。其中,能力信息包括但不限于语音识别功能信息、人像识别功能信息等;设备身份信息包括但不限于MAC(Media Access Control,物理地址)信息等;资源访问地址信息包括但不限于设备的IP(Internet Protocol Address,互联网协议地址)信息、端口信息等。本实施例中,每个家电设备存储该局域网内的其他家电设备的设备信息。In this embodiment, a plurality of home appliances including the first home appliance and the second home appliance form a corresponding smart home system through the same local area network. Each of the home appliances is configured with corresponding device information, where the device information includes capability information of the home appliance, device identity information, resource access address information, and the like. The capability information includes but is not limited to voice recognition function information, portrait recognition function information, and the like; the device identity information includes but is not limited to MAC (Media Access Control, physical address, information, etc.; resource access address information includes but is not limited to the IP of the device (Internet Protocol) Address, Internet Protocol Address) Information, port information, etc. In this embodiment, each home appliance stores device information of other home appliances in the local area network.
当用户对第一家电设备发出相应的语音信息,第一家电设备在采集到该语音信息时,调用其存储的该局域网内其他多个家电设备的设备信息,根据其他多个家电设备的设备信息,从其他多个家电设备中确定出该第二家电设备。When the user sends corresponding voice information to the first home appliance, when the first home appliance collects the voice information, the first home appliance calls the stored device information of the plurality of home appliances in the local area network, and according to the device information of the other plurality of home appliances. The second home appliance is determined from among a plurality of other home appliances.
可选地,所述步骤S11包括:Optionally, the step S11 includes:
步骤a,根据所述设备信息中包含的能力信息,确定所述多个家电设备中具备语音识别功能的家电设备;Step a, determining, according to the capability information included in the device information, a home appliance device having a voice recognition function among the plurality of home appliance devices;
步骤b,在确定的家电设备为多个时,获取所述确定的家电设备当前对应的可用资源;Step b, when the determined number of home appliances are multiple, acquiring the currently available available resources of the determined home appliance;
步骤c,将可用资源最多的家电设备,确定为所述第二家电设备。In step c, the home appliance that has the most available resources is determined as the second home appliance.
可选地,第一家电设备通过调用其存储的该局域网内其他多个家电设备的设备信息,获取到其他多个家电设备的设备信息中包括的能力信息,根据其他多个家电设备的能力信息,确定其他多个家电设备中具备语音识别功能的家电设备。Optionally, the first home appliance obtains the capability information included in the device information of the other plurality of home appliances by calling the device information of the other plurality of home appliances in the local area network, and according to the capability information of the other plurality of home appliances A household electrical appliance having voice recognition function among other household electrical appliances is determined.
若具备语音识别功能的家电设备有多个,此时,第一家电设备从这多个家电设备中确定出第二家电设备,将语音信息发送至该第二家电设备。可选地,由于一般情况下,各个家电设备当前的可用资源(CPU资源、内存资源)均不相同,可用资源越多,越能保证家电设备执行任务的效率,因此,第一家电设备在确定该局域网内具备语音识别功能的家电设备有多个时,第一家电设备获取这多个家电设备的可用资源,之后将所获取的多个可用资源进行比对,将当前对应的可用资源最多的家电设备确定为第二家电设备。If there are a plurality of home electric appliances having a voice recognition function, the first home appliance determines the second home appliance from the plurality of home appliances, and transmits the voice information to the second home appliance. Optionally, since the current available resources (CPU resources and memory resources) of the household electrical appliances are different, the more available resources, the more efficient the home appliance can perform tasks. Therefore, the first home appliance is determined. When there are multiple home appliances having voice recognition function in the local area network, the first home appliance acquires available resources of the plurality of home appliances, and then compares the obtained plurality of available resources to obtain the current available resources. The home appliance is determined to be the second home appliance.
例如,第一家电设备获取这多个家电设备的可用CPU资源和可用内存资源,首先将可用CPU资源进行比对,将可用CPU资源最多的家电设备确定为第二家电设备。若可用CPU资源最多的家电设备正巧包括至少两个,则将这至少两个家电设备对应的可用内存资源进行比对,将其中可用内存资源最多的家电设备确定为第二家电设备。For example, the first home appliance acquires available CPU resources and available memory resources of the plurality of home appliances, first compares available CPU resources, and determines the home appliance that has the most available CPU resources as the second home appliance. If the home appliance that has the most CPU resources can include at least two, the available memory resources corresponding to the at least two home appliances are compared, and the home appliance with the most available memory resources is determined as the second home appliance.
可选地,所述步骤a之后,还包括:Optionally, after the step a, the method further includes:
步骤d,在确定的家电设备为单个时,将其确定为所述第二家电设备。In step d, when the determined home appliance is a single, it is determined as the second home appliance.
若第一家电设备确定的具备语音识别功能的家电设备正巧为单个,此时,第一家电直接将该家电设备确定为第二家电设备。If the home appliance having the voice recognition function determined by the first home appliance is a single device, the first home appliance directly determines the home appliance as the second home appliance.
可选地,所述步骤b包括:Optionally, the step b includes:
步骤b1,发送资源查询请求至所述确定的家电设备,以供所述确定的家电设备在接收到所述资源查询请求时,反馈当前对应的可用资源;Step b1, sending a resource query request to the determined home appliance, for the determined home appliance to feed back the currently available available resources when receiving the resource query request;
步骤b2,接收所述确定的家电设备反馈的所述可用资源。In step b2, the available resources fed back by the determined home appliance are received.
可选地,在一种实施方式中,第一家电设备主动获取各个家电设备当前对应的可用资源。在第一家电设备确定该局域网内具备语音识别功能的家电设备有多个时,第一家电设备向这多个家电设备发送资源查询请求。当这多个家电设备接收到第一家电设备发送的资源查询请求时,向第一家电设备反馈各自当前的可用资源。第一家电设备接收这多个家电设备分别反馈的可以资源,根据这多个家电设备各自当前对应的可以资源,将其中可以资源最多的家电设备确定为第二家电设备。Optionally, in an implementation manner, the first home appliance actively acquires available resources currently corresponding to the respective home appliances. When the first home electric appliance determines that there are a plurality of home electric appliances having the voice recognition function in the local area network, the first home electric appliance sends a resource inquiry request to the plurality of home electric appliances. When the plurality of household electrical appliances receive the resource query request sent by the first home appliance, the first home appliance is fed back the current available resources. The first home appliance receives the available resources that are respectively fed back by the plurality of home appliances, and determines the home appliance that has the most resources as the second home appliance according to the currently available resources of the plurality of home appliances.
可以理解的是,除了上述列举的主动获取家电设备当前对应的可用资源,第一家电设备也可以被动接收各个家电设备主动发送的当前对应的可用资源。例如,设置各个家电设备定时广播各自当前对应的可用资源,第一家电设备接收获取各个家电设备当前对应的可用资源。It can be understood that, in addition to the above-mentioned available resources for actively acquiring the home appliance, the first home appliance may passively receive the currently available available resources actively sent by each home appliance. For example, each home appliance is configured to periodically broadcast the available resources corresponding to each of the home appliances, and the first home appliance receives and obtains the available resources currently corresponding to the respective home appliances.
第一家电设备在确定第二家电设备后,基于UDP(User Datagram Protocol,用户数据报协议)将语音信息发送至该第二家电设备。例如,第一家电设备根据第二家电设备的IP地址信息、端口信息等资源访问地址信息,基于UDP协议将该语音信息发送至该第二家电设备。由于UDP协议是一种无连接的传输层协议,第一家电设备与第二家电设备之间不需要建立TCP长连接,因此,也就不需要对TCP长连接进行维护,而只需要对端口、IP地址列表等进行维护,从而大大减轻了系统负荷。The first home appliance is based on UDP (User Datagram) after determining the second home appliance Protocol, User Datagram Protocol) sends voice information to the second home appliance. For example, the first home appliance transmits the voice information to the second home appliance based on the UDP protocol based on the resource access address information such as the IP address information and the port information of the second home appliance. Since the UDP protocol is a connectionless transport layer protocol, there is no need to establish a TCP long connection between the first home appliance and the second home appliance, so there is no need to maintain the TCP long connection, but only the port, The IP address list is maintained, which greatly reduces the system load.
除此以外,也可以通过建立第一家电设备与第二家电设备之间的无线通信连接,在成功建立无线通信连接之后,第一家电设备将该语音信息发送至第二家电设备。例如通过TCP协议建立第一家电设备与第二家电设备之间的无线通信连接,在成功建立连接之后,第一家电设备基于TCP协议将语音信息发送至第二家电设备。In addition, by establishing a wireless communication connection between the first home appliance and the second home appliance, after successfully establishing the wireless communication connection, the first home appliance transmits the voice information to the second home appliance. For example, a wireless communication connection between the first home appliance and the second home appliance is established through the TCP protocol. After the connection is successfully established, the first home appliance sends the voice information to the second home appliance based on the TCP protocol.
第二家电设备在接收到该语音信息时,后续操作如第一实施例中所述,在此不再赘述。When the second home appliance receives the voice information, the subsequent operations are as described in the first embodiment, and details are not described herein again.
本实施例提供的方案,第一家电设备在采集到语音信息时,调用预存的当前局域网内多个家电设备的设备信息,根据该设备信息,从多个家电设备中确定第二家电设备,并基于UDP协议将语音信息发送至第二家电设备,以通过第二家电设备分享其语音识别功能,从而实现对第一家电设备的语音控制。由于采用UDP协议进行数据传输的延迟小,数据传输效率高,因此,提高了语音控制家电设备的效率。In the solution provided by the embodiment, when collecting the voice information, the first home appliance calls the pre-stored device information of the plurality of home appliances in the current local area network, and determines the second home appliance from the plurality of home appliances according to the device information, and The voice information is sent to the second home appliance based on the UDP protocol to share the voice recognition function by the second home appliance, thereby implementing voice control on the first home appliance. Since the UDP protocol uses a small delay in data transmission and high data transmission efficiency, the efficiency of the voice control home appliance is improved.
进一步地,提出本申请家电设备的控制方法第三实施例,参照图4,图4为本申请家电设备的控制方法第三实施例的流程示意图。Further, a third embodiment of a control method for a household electrical appliance of the present application is provided. Referring to FIG. 4, FIG. 4 is a schematic flowchart of a third embodiment of a control method for a household electrical appliance according to the present application.
在第三实施例中,所述家电设备的控制方法包括以下步骤:In a third embodiment, the control method of the household electrical appliance includes the following steps:
步骤S30,第二家电设备接收第一家电设备发送的语音信息;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第一家电设备在采集到所述语音信息时,将所述语音信息发送至所述第二家电设备;Step S30, the second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance is collecting Sending the voice information to the second home appliance when the voice information is obtained;
步骤S40,对所述语音信息进行语音识别处理,获得对应的文本信息;Step S40, performing voice recognition processing on the voice information to obtain corresponding text information;
步骤S50,将所述文本信息反馈至所述第一家电设备,以供所述第一家电设备根据所述文本信息,执行相应的操作。Step S50, feeding back the text information to the first home appliance, so that the first home appliance performs a corresponding operation according to the text information.
在本实施例中,不具备语音识别功能的家电设备与具备语音识别功能的家电设备可以是属于同一局域网内的不同家电设备。可选地,不具备语音识别功能的家电设备与具备语音识别功能的家电设备也可以是建立Wi-Fi、蓝牙、ZigBee等无线通信连接的家电设备。为了便于描述,下文将不具备语音识别功能的家电设备称为第一家电设备,将具备语音识别功能的家电设备称为第二家电设备。In this embodiment, the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may belong to different home appliances in the same local area network. Alternatively, the home appliance that does not have the voice recognition function and the home appliance that has the voice recognition function may be home appliances that establish a wireless communication connection such as Wi-Fi, Bluetooth, or ZigBee. For convenience of description, a home appliance that does not have a voice recognition function will be referred to as a first home appliance, and a home appliance that has a voice recognition function will be referred to as a second home appliance.
第一家电设备上预先设置有相应的语音采集模块,当用户要对第一家电设备进行语音控制时,用户发出相应的语音信息,第一家电设备通过该语音采集模块采集用户发出的语音信息,并获取语音采集模块采集到的该语音信息。The first home appliance device is pre-configured with a corresponding voice collection module. When the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
第一家电设备在获取到该语音信息时,由于第一家电设备不具备语音识别功能,第一家电设备将该语音信息发送至第二家电设备。例如,在第一家电设备与第二家电设备建立无线通信连接的情况下,第一家电设备可基于TCP将语音信息发送至第二家电设备。When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function. For example, in a case where the first home appliance establishes a wireless communication connection with the second home appliance, the first home appliance may transmit the voice information to the second home appliance based on the TCP.
在第二家电设备接收到该语音信息时,第二家电设备对该语音信息进行语音识别处理,获得该语音信息对应的文本信息。具体地语音识别处理过程与现有的语音识别技术一样,因此,在此就不再赘述。在获得该语音信息对应的文本信息之后,第二家电设备将该文本信息反馈给第一家电设备。When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,执行相应的操作。可选地,当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,获取该文本信息对应的家电设备控制指令,该家电设备控制指令可以被第一家电设备识别。例如,第一家电设备提取该文本信息中的关键字,根据该关键字,查询预设的指令信息数据库,获取与该关键字匹配的家电设备控制指令。在获得可以被第一家电设备识别的家电设备控制指令后,第一家电设备根据该家电设备控制指令,执行相应的操作。When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information. Optionally, when the first home appliance receives the text information fed back by the second home appliance, the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification. For example, the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
进一步地,基于第三实施例提出本申请家电设备的控制方法第四实施例,在本实施例中,如图5所示,所述步骤S50之前,还包括:Further, a fourth embodiment of the control method of the home appliance of the present application is proposed based on the third embodiment. In this embodiment, as shown in FIG. 5, before the step S50, the method further includes:
步骤S60,根据所述文本信息,确定所述语音信息对应的家电设备;Step S60, determining, according to the text information, a home appliance corresponding to the voice information;
所述步骤S50包括:The step S50 includes:
步骤S51,若确定所述语音信息对应的家电设备为所述第一家电设备,则将所述文本信息反馈至所述第一家电设备。Step S51: If it is determined that the home appliance corresponding to the voice information is the first home appliance, the text information is fed back to the first home appliance.
本实施例中,为了实现对家电设备的准确控制,第二家电设备将第一家电设备发送的语音信息进行语音识别处理,获得对应的文本信息之后,并不直接将该文本信息反馈至第一家电设备,而是先根据语音信息,确定该语音信息对应的家电设备,判断其对应的家电设备是否为第一家电设备,也即确定当前待进行语音控制的家电设备是否为第一家电设备。例如,仍以第一实施例中列举的以第一家电设备为智能电饭煲、第二家电设备为空调器为例,当智能电饭煲采集到用户的语音信息为“开启智能电饭煲”,空调器根据该语音信息获得对应的文本信息后,根据该语音信息,确定当前待进行语音控制的家电设备为智能电饭煲。In this embodiment, in order to achieve accurate control of the home appliance, the second home appliance performs voice recognition processing on the voice information sent by the first home appliance, and after obtaining the corresponding text information, does not directly feed the text information to the first The home appliance device first determines the home appliance corresponding to the voice information according to the voice information, and determines whether the corresponding home appliance is the first home appliance, that is, determines whether the home appliance to be voice controlled is the first home appliance. For example, still taking the first household electrical appliance as the smart rice cooker and the second household electrical appliance as the air conditioner as exemplified in the first embodiment, when the smart rice cooker collects the voice information of the user as “turning on the smart rice cooker”, the air conditioner according to the After the voice information obtains the corresponding text information, the home appliance that is currently to be voice controlled is determined to be a smart rice cooker according to the voice information.
当确定语音信息对应的家电设备为第一家电设备时,第二家电设备将该文本信息反馈至第一家电设备。第一家电设备在接收到该文本信息时,根据该文本信息,执行相应的操作。如上述列举的例子中,智能电饭煲执行开启操作。When it is determined that the home appliance corresponding to the voice information is the first home appliance, the second home appliance feeds back the text information to the first home appliance. When receiving the text information, the first home appliance performs a corresponding operation according to the text information. As in the examples listed above, the smart rice cooker performs an opening operation.
进一步地,所述步骤S60之后,还包括:Further, after the step S60, the method further includes:
步骤e,若确定所述语音信息对应的家电设备为第三家电设备,则将所述文本信息反馈至所述第三家电设备,以供所述第三家电设备根据所述文本信息,执行相应的操作。Step e, if it is determined that the home appliance corresponding to the voice information is the third home appliance, feeding back the text information to the third home appliance, so that the third home appliance performs corresponding according to the text information. Operation.
在上述实例中,针对的都是对第一家电设备进行语音控制的情景,由于并不是每个家电设备都具备语音采集模块,可以采集用户的语音信息,也就是说,实际应用中还会存在一种第三家电设备,既不具备语音采集功能,也不具备语音识别功能。在这种情况下,第三家电设备可以通过共享第一家电设备的语音采集功能,也即第二家电设备的语音识别功能,从而实现语音控制。具体地,当用户要对第三家电设备进行语音控制时,用户基于第一家电设备发出相应的针对于第三家电设备的语音信息,第一家电设备在采集到该语音信息时,将该语音信息发送至第二家电设备。当第二家电设备接收到该语音信息时,对该语音信息进行语音识别处理,获得对应的文本信息,并确定该语音信息对应的家电设备,若确定该语音信息对应的家电设备并不是第一家电设备,而是第三家电设备时,第二家电设备将该语音信息对应的文本信息发送至第三家电设备。第三家电设备在接收到该文本信息时,根据该文本信息,执行相应的操作。因此,通过共享第一家电设备的语音采集功能,以及第二家电设备的语音识别功能,实现对第三家电设备的语音控制。In the above example, the situation is directed to the voice control of the first home appliance. Since not every home appliance has a voice collection module, the voice information of the user can be collected, that is, the actual application still exists. A third home appliance device does not have a voice collection function or a voice recognition function. In this case, the third home appliance can implement voice control by sharing the voice collection function of the first home appliance, that is, the voice recognition function of the second home appliance. Specifically, when the user wants to perform voice control on the third home appliance, the user sends corresponding voice information for the third home appliance based on the first home appliance, and the first home appliance collects the voice information when the voice information is collected. The information is sent to the second home appliance. When the second home appliance receives the voice information, performing voice recognition processing on the voice information, obtaining corresponding text information, and determining the home appliance corresponding to the voice information, if it is determined that the home appliance corresponding to the voice information is not the first When the home appliance is the third home appliance, the second home appliance transmits the text information corresponding to the voice information to the third home appliance. When receiving the text information, the third home appliance performs a corresponding operation according to the text information. Therefore, the voice control of the third home appliance is realized by sharing the voice collection function of the first home appliance and the voice recognition function of the second home appliance.
本实施例提供的方案,在第二家电设备获得语音信息对应的文本信息后,第二家电设备先确定该语音信息对应的家电设备,当该语音信息对应的家电设备为第一家电设备时,将文本信息发送至第一家电设备;而当该语音信息对应的家电设备为第三家电设备时,将文本信息发送至第三家电设备,第三家电设备执行相应的操作,因此,实现了通过共享第一家电设备的语音采集功能,以及第二家电设备的语音识别功能,对第三家电设备进行语音控制,从而更进一步降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, after the second home appliance obtains the text information corresponding to the voice information, the second home appliance first determines the home appliance corresponding to the voice information, and when the home appliance corresponding to the voice information is the first home appliance, Sending the text information to the first home appliance; and when the home appliance corresponding to the voice information is the third home appliance, transmitting the text information to the third home appliance, and the third home appliance performs a corresponding operation, thereby implementing the Sharing the voice collection function of the first home appliance and the voice recognition function of the second home appliance, performing voice control on the third home appliance, thereby further reducing the cost of realizing the voice control of the home appliance.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有空调器控制程序,所述空调器控制程序被处理器执行时实现如下操作:In addition, the embodiment of the present application further provides a computer readable storage medium, where the air conditioner control program is stored on the computer readable storage medium, and the air conditioner control program is executed by the processor to:
第一家电设备在采集到用户的语音信息时,将所述语音信息发送至第二家电设备;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第二家电设备在接收到所述语音信息时,将所述语音信息进行语音识别处理,获得对应的文本信息;When collecting the voice information of the user, the first home appliance sends the voice information to the second home appliance; wherein the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function. When receiving the voice information, the second home appliance performs voice recognition processing on the voice information to obtain corresponding text information;
在接收到所述第二家电设备反馈的所述文本信息时,根据所述文本信息,执行相应的操作。When receiving the text information fed back by the second home appliance, performing a corresponding operation according to the text information.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
第一家电设备在采集到所述语音信息时,调用预存的当前局域网内多个家电设备的设备信息,根据所述设备信息,从所述多个家电设备中确定所述第二家电设备;When collecting the voice information, the first home appliance device calls the pre-stored device information of the plurality of home appliance devices in the current local area network, and determines the second home appliance device from the plurality of home appliance devices according to the device information;
基于UDP用户数据报协议将所述语音信息发送至所述第二家电设备。The voice information is sent to the second home appliance based on a UDP user datagram protocol.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
根据所述设备信息中包含的能力信息,确定所述多个家电设备中具备语音识别功能的家电设备;Determining, according to the capability information included in the device information, a home appliance device having a voice recognition function among the plurality of home appliance devices;
在确定的家电设备为多个时,获取所述确定的家电设备当前对应的可用资源;Obtaining, by the determined plurality of household electrical appliances, the currently available available resources of the determined household electrical appliance;
将可用资源最多的家电设备,确定为所述第二家电设备。The home appliance that has the most available resources is determined as the second home appliance.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
发送资源查询请求至所述确定的家电设备,以供所述确定的家电设备在接收到所述资源查询请求时,反馈当前对应的可用资源;Sending a resource query request to the determined home appliance, for the determined home appliance to feed back the currently available available resources when receiving the resource query request;
接收所述确定的家电设备反馈的所述可用资源。Receiving the available resources fed back by the determined home appliance.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
在确定的家电设备为单个时,将其确定为所述第二家电设备。When the determined home appliance is a single, it is determined as the second home appliance.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
此外,本申请实施例还提出一种家电设备。In addition, the embodiment of the present application further provides a home appliance device.
在该实施例中,所述家电设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的家电设备控制程序,所述家电设备控制程序被所述处理器执行时实现如下操作:In this embodiment, the household electrical appliance includes: a memory, a processor, and a home appliance control program stored on the memory and operable on the processor, the home appliance control program being executed by the processor When the following operations are implemented:
第二家电设备接收第一家电设备发送的语音信息;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第一家电设备在采集到所述语音信息时,将所述语音信息发送至所述第二家电设备;The second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
对所述语音信息进行语音识别处理,获得对应的文本信息;Performing voice recognition processing on the voice information to obtain corresponding text information;
将所述文本信息反馈至所述第一家电设备,以供所述第一家电设备根据所述文本信息,执行相应的操作。And feeding back the text information to the first home appliance, so that the first home appliance performs a corresponding operation according to the text information.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
根据所述文本信息,确定所述语音信息对应的家电设备;Determining, according to the text information, a home appliance corresponding to the voice information;
若确定所述语音信息对应的家电设备为所述第一家电设备,将所述文本信息反馈至所述第一家电设备。And if it is determined that the home appliance corresponding to the voice information is the first home appliance, the text information is fed back to the first home appliance.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
若确定所述语音信息对应的家电设备为第三家电设备,则将所述文本信息反馈至所述第三家电设备,以供所述第三家电设备根据所述文本信息,执行相应的操作。If it is determined that the home appliance corresponding to the voice information is the third home appliance, the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
此外,本申请实施例还提出一种家电设备的控制系统。In addition, the embodiment of the present application further provides a control system for a home appliance.
本实施例中,家电设备的控制系统包括第一家电设备和第二家电设备,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,其中:In this embodiment, the control system of the household electrical appliance includes a first home appliance and a second home appliance, the first home appliance does not have a voice recognition function, and the second home appliance has a voice recognition function, wherein:
所述第一家电设备,用于在采集到语音信息时,将所述语音信息发送至所述第二家电设备,以及在接收到所述第二家电设备反馈的文本信息时,根据所述文本信息,执行相应的操作;The first home appliance is configured to send the voice information to the second home appliance when the voice information is collected, and according to the text when receiving the text information fed back by the second home appliance Information, perform the corresponding operations;
所述第二家电设备,用于在接收到所述语音信息时,对所述语音信息进行语音识别处理,获得对应的文本信息,并将所述文本信息反馈至所述第一家电设备。The second home appliance is configured to perform voice recognition processing on the voice information when the voice information is received, obtain corresponding text information, and feed back the text information to the first home appliance.
本实施例中,家电设备的控制系统包括不具备语音识别功能的第一家电设备与具备语音识别功能的第二家电设备,第一家电设备与第二家电设备属于同一局域网内的不同家电设备。In this embodiment, the control system of the household electrical appliance includes a first home appliance that does not have a voice recognition function and a second home appliance that has a voice recognition function, and the first home appliance and the second home appliance belong to different home appliances in the same local area network.
第一家电设备上预先设置有相应的语音采集模块,当用户要对第一家电设备进行语音控制时,用户发出相应的语音信息,第一家电设备通过该语音采集模块采集用户发出的语音信息,并获取语音采集模块采集到的该语音信息。The first home appliance device is pre-configured with a corresponding voice collection module. When the user wants to perform voice control on the first home appliance, the user sends corresponding voice information, and the first home appliance collects voice information sent by the user through the voice collection module. And obtaining the voice information collected by the voice collection module.
第一家电设备在获取到该语音信息时,由于第一家电设备不具备语音识别功能,第一家电设备将该语音信息发送至第二家电设备。例如,在第一家电设备与第二家电设备建立无线通信连接的情况下,第一家电设备可基于TCP将语音信息发送至第二家电设备。When the first home appliance obtains the voice information, the first home appliance sends the voice information to the second home appliance because the first home appliance does not have the voice recognition function. For example, in a case where the first home appliance establishes a wireless communication connection with the second home appliance, the first home appliance may transmit the voice information to the second home appliance based on the TCP.
在第二家电设备接收到该语音信息时,第二家电设备对该语音信息进行语音识别处理,获得该语音信息对应的文本信息。具体地语音识别处理过程与现有的语音识别技术一样,因此,在此就不再赘述。在获得该语音信息对应的文本信息之后,第二家电设备将该文本信息反馈给第一家电设备。When the second home appliance receives the voice information, the second home appliance performs voice recognition processing on the voice information to obtain text information corresponding to the voice information. Specifically, the speech recognition processing process is the same as the existing speech recognition technology, and therefore, it will not be described herein. After obtaining the text information corresponding to the voice information, the second home appliance returns the text information to the first home appliance.
当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,执行相应的操作。可选地,当第一家电设备接收到第二家电设备反馈的文本信息时,第一家电设备根据该文本信息,获取该文本信息对应的家电设备控制指令,该家电设备控制指令可以被第一家电设备识别。例如,第一家电设备提取该文本信息中的关键字,根据该关键字,查询预设的指令信息数据库,获取与该关键字匹配的家电设备控制指令。在获得可以被第一家电设备识别的家电设备控制指令后,第一家电设备根据该家电设备控制指令,执行相应的操作。When the first home appliance receives the text information fed back by the second home appliance, the first home appliance performs a corresponding operation according to the text information. Optionally, when the first home appliance receives the text information fed back by the second home appliance, the first home appliance acquires the home appliance control instruction corresponding to the text information according to the text information, and the home appliance control instruction may be first Household appliance identification. For example, the first home appliance extracts a keyword in the text information, and according to the keyword, queries a preset instruction information database to acquire a home appliance control command that matches the keyword. After obtaining the home appliance control command that can be recognized by the first home appliance, the first home appliance performs a corresponding operation according to the home appliance control command.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有空调器控制程序,所述空调器控制程序被处理器执行时实现如下操作:In addition, the embodiment of the present application further provides a computer readable storage medium, where the air conditioner control program is stored on the computer readable storage medium, and the air conditioner control program is executed by the processor to:
第二家电设备接收第一家电设备发送的语音信息;其中,所述第一家电设备不具备语音识别功能,所述第二家电设备具备语音识别功能,所述第一家电设备在采集到所述语音信息时,将所述语音信息发送至所述第二家电设备;The second home appliance receives the voice information sent by the first home appliance; wherein the first home appliance does not have a voice recognition function, the second home appliance has a voice recognition function, and the first home appliance collects the Transmitting the voice information to the second home appliance when voice information is used;
对所述语音信息进行语音识别处理,获得对应的文本信息;Performing voice recognition processing on the voice information to obtain corresponding text information;
将所述文本信息反馈至所述第一家电设备,以供所述第一家电设备根据所述文本信息,执行相应的操作。And feeding back the text information to the first home appliance, so that the first home appliance performs a corresponding operation according to the text information.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
根据所述文本信息,确定所述语音信息对应的家电设备;Determining, according to the text information, a home appliance corresponding to the voice information;
若确定所述语音信息对应的家电设备为所述第一家电设备,将所述文本信息反馈至所述第一家电设备。And if it is determined that the home appliance corresponding to the voice information is the first home appliance, the text information is fed back to the first home appliance.
进一步地,所述家电设备控制程序被处理器执行时还实现如下操作:Further, when the home appliance control program is executed by the processor, the following operations are also implemented:
若确定所述语音信息对应的家电设备为第三家电设备,则将所述文本信息反馈至所述第三家电设备,以供所述第三家电设备根据所述文本信息,执行相应的操作。If it is determined that the home appliance corresponding to the voice information is the third home appliance, the text information is fed back to the third home appliance, so that the third home appliance performs a corresponding operation according to the text information.
本实施例提供的方案,在第一家电设备不具备语音识别功能、第二家电设备具备语音识别功能的情况下,若用户想实现语音控制第一家电设备,用户发出针对于第一家电设备的语音信息,当第一家电设备采集获取到该语音信息时,第一家电设备将该语音信息发送至第二家电设备,第二家电设备对该语音信息进行语音识别处理,获得语音信息对应的文本信息,然后将该文本信息反馈至第一家电设备,第一家电设备根据该文本信息,执行相应的操作,从而实现通过共享第二家电设备的语音识别功能,对第一家电设备进行语音控制。第一家电设备不再需要配置相应的语音识别功能模块,因此,降低了家电设备实现语音控制的成本。In the solution provided by the embodiment, when the first home appliance does not have the voice recognition function and the second home appliance has the voice recognition function, if the user wants to implement the voice control of the first home appliance, the user issues the first home appliance. Voice information, when the first home appliance collects and obtains the voice information, the first home appliance sends the voice information to the second home appliance, and the second home appliance performs voice recognition processing on the voice information to obtain text corresponding to the voice information. The information is then fed back to the first home appliance, and the first home appliance performs a corresponding operation according to the text information, thereby implementing voice control on the first home appliance by sharing the voice recognition function of the second home appliance. The first home appliance no longer needs to be configured with a corresponding voice recognition function module, thereby reducing the cost of realizing the voice control of the home appliance.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, 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 as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.
Claims (19)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710933857.2A CN107622771A (en) | 2017-09-30 | 2017-09-30 | Home appliance and its control method, system and computer-readable recording medium |
| CN201710933857.2 | 2017-09-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019062194A1 true WO2019062194A1 (en) | 2019-04-04 |
Family
ID=61091580
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/089949 Ceased WO2019062194A1 (en) | 2017-09-30 | 2018-06-05 | Home appliance and method and system for controling home applicance and computer readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107622771A (en) |
| WO (1) | WO2019062194A1 (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107622771A (en) * | 2017-09-30 | 2018-01-23 | 广东美的制冷设备有限公司 | Home appliance and its control method, system and computer-readable recording medium |
| CN108390795B (en) * | 2018-02-08 | 2021-03-19 | 广东美的制冷设备有限公司 | Household appliance and monitoring method thereof, smart home system and readable storage medium |
| CN108447480B (en) * | 2018-02-26 | 2020-10-20 | 深圳市晟瑞科技有限公司 | Intelligent household equipment control method, intelligent voice terminal and network equipment |
| CN110718215A (en) * | 2018-07-13 | 2020-01-21 | 深圳市优必选科技有限公司 | Terminal control method and device and terminal |
| CN109062070A (en) * | 2018-08-22 | 2018-12-21 | 奥克斯空调股份有限公司 | A kind of speech recognition smart home system and control method |
| CN109708283B (en) * | 2019-01-23 | 2020-08-04 | 四川虹美智能科技有限公司 | Offline-online mixed voice recognition air conditioning system and implementation method |
| CN112656309A (en) * | 2020-12-25 | 2021-04-16 | 北京小狗吸尘器集团股份有限公司 | Function execution method and device of sweeper, readable storage medium and electronic equipment |
| CN113488038A (en) * | 2021-06-17 | 2021-10-08 | 深圳Tcl新技术有限公司 | Voice recognition method and system of intelligent device, storage medium and terminal device |
| CN116030790A (en) * | 2021-10-22 | 2023-04-28 | 华为技术有限公司 | Distributed voice control method and electronic equipment |
| CN115527539A (en) * | 2021-11-16 | 2022-12-27 | 青岛海尔智能家电科技有限公司 | Information processing method, system and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140167931A1 (en) * | 2012-12-18 | 2014-06-19 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling a home device remotely in a home network system |
| CN105242556A (en) * | 2015-10-28 | 2016-01-13 | 小米科技有限责任公司 | A speech control method and device of intelligent devices, a control device and the intelligent device |
| CN105393302A (en) * | 2013-07-17 | 2016-03-09 | 三星电子株式会社 | Multi-level speech recognition |
| CN106448658A (en) * | 2016-11-17 | 2017-02-22 | 海信集团有限公司 | Voice control method of intelligent home equipment, as well as intelligent home gateway |
| CN107622771A (en) * | 2017-09-30 | 2018-01-23 | 广东美的制冷设备有限公司 | Home appliance and its control method, system and computer-readable recording medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1674540A (en) * | 2004-03-25 | 2005-09-28 | 联想(北京)有限公司 | Method for central controlling home appliances based on home appliances control center |
| CN105632496A (en) * | 2016-03-21 | 2016-06-01 | 珠海市杰理科技有限公司 | Speech recognition control device and intelligent furniture system |
| CN106228974A (en) * | 2016-08-19 | 2016-12-14 | 镇江惠通电子有限公司 | Control method based on speech recognition, Apparatus and system |
| CN106385347A (en) * | 2016-09-09 | 2017-02-08 | 珠海格力电器股份有限公司 | Household appliance control method and device |
-
2017
- 2017-09-30 CN CN201710933857.2A patent/CN107622771A/en active Pending
-
2018
- 2018-06-05 WO PCT/CN2018/089949 patent/WO2019062194A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140167931A1 (en) * | 2012-12-18 | 2014-06-19 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling a home device remotely in a home network system |
| CN105393302A (en) * | 2013-07-17 | 2016-03-09 | 三星电子株式会社 | Multi-level speech recognition |
| CN105242556A (en) * | 2015-10-28 | 2016-01-13 | 小米科技有限责任公司 | A speech control method and device of intelligent devices, a control device and the intelligent device |
| CN106448658A (en) * | 2016-11-17 | 2017-02-22 | 海信集团有限公司 | Voice control method of intelligent home equipment, as well as intelligent home gateway |
| CN107622771A (en) * | 2017-09-30 | 2018-01-23 | 广东美的制冷设备有限公司 | Home appliance and its control method, system and computer-readable recording medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107622771A (en) | 2018-01-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019062194A1 (en) | Home appliance and method and system for controling home applicance and computer readable storage medium | |
| WO2019056752A1 (en) | Household appliance network configuration method, device and system, and computer readable storage medium | |
| WO2017201899A1 (en) | Method and apparatus for connecting to bluetooth device | |
| WO2019051890A1 (en) | Terminal control method and device, and computer-readable storage medium | |
| WO2015139639A1 (en) | Method and apparatus for displaying application icons on terminal | |
| WO2019019374A1 (en) | Method, apparatus, and system for controlling household appliance with intelligent voice device | |
| WO2019056462A1 (en) | Name list distribution method, apparatus and device, and computer readable storage medium | |
| WO2015158132A1 (en) | Voice control method and system | |
| WO2019037319A1 (en) | Electric quantity early warning method, and server, mobile terminal and storage medium | |
| WO2019051908A1 (en) | Terminal control method and device, and computer readable storage medium | |
| WO2019051899A1 (en) | Terminal control method and device, and storage medium | |
| WO2019019340A1 (en) | Application program page opening method and apparatus, terminal and readable storage medium | |
| WO2019051895A1 (en) | Terminal control method, device and storage medium | |
| WO2017063369A1 (en) | Method of establishing wireless direct connection and device utilizing same | |
| WO2018000856A1 (en) | Method implementing sdn overlay network message forwarding, terminal, apparatus, and computer readable storage medium | |
| WO2019019378A1 (en) | Service processing method and apparatus, adapter and computer-readable storage medium | |
| WO2012165794A2 (en) | System and method for simultaneous data transmission service in heterogeneous network | |
| WO2018058919A1 (en) | Identification information generating method, apparatus, device, and computer readable storage medium | |
| WO2019114269A1 (en) | Method for resuming playing program, television device, and computer readable storage medium | |
| WO2019024336A1 (en) | Data query method and device, and computer readable storage medium | |
| WO2015108283A1 (en) | Application error detection method for cloud streaming service, and apparatus and system therefor | |
| WO2015180594A1 (en) | Data distribution method and system and data receiving apparatus | |
| WO2018176864A1 (en) | Database permission management method and system, device, computer-readable storage medium | |
| WO2019071762A1 (en) | Floor positioning method and system, server and computer-readable storage medium | |
| WO2024014836A1 (en) | Method and device for providing service using uwb communication |
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: 18863568 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: 18863568 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.09.2020) |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.09.2020) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18863568 Country of ref document: EP Kind code of ref document: A1 |