1. Technical Field
The present disclosure relates to smart home technology, and particularly to a smart switch with voice operated function and a smart control system employing the smart switch.
2. Description of Related Art
A manual switch may be arranged on a wall or floor of the house for turning on/off the power of electronic devices. Some switches also include sockets and indicator lights configured to indicate power states. However, such function of the switch is only a single function.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
Referring to
User can use the registration controller 300 to control the smart switch 100 in a room in which the registration controller 300 is located, to automatically register on the gateway 200. In detail, the smart switch 100 sends a unique identification code (UID) to the gateway 200, to be registered in the gateway 200. In an embodiment, the smart switch 100 includes a number of sockets, each of the sockets is assigned with a UID, the smart switch 100 further sends the UIDs of the sockets to the gateway 200, thereby the sockets also being registered on the gateway 200. The registration controller 300 includes a UID stored therein.
The smart switch 100 recognizes a voice command and sends an equivalent remote control command to the electronic devices 3, thereby controlling the electronic devices 3 to execute an operation. The smart switch 100 includes a first storage 10, a voice input unit 20, a voice output unit 30, a processor unit 40 and a remote controlling unit 50. The first storage 10, the voice input unit 20, the voice output unit 30, and the remote controlling unit 50 are connected to the processor unit 40.
The first storage 10 stores the UIDs of the electronic devices 3, the names of the electronic devices 3, a one-to-one relationship between the UIDs of the electronic devices 3 and the names of the electronic devices 3, the voice commands, the remote control commands corresponding to each voice command, and the one-to-one relationship between voice commands and the remote control commands. The voice commands are pre-recorded by a user and stored in the first storage 10.
The smart switch 100 of the smart control system 1000 recognizes the voice command, and sends the corresponding remote control command to the electronic devices 3. The remote control command may be a turn on/off command, a log off, a shutdown or a restart command, or other command The electronic device 3 executes a corresponding operation according to the command sent by the smart switch 100, for example, the electronic devices 3 executes a power on/off operation according to the turn on/off command, and executes an operation of logging off the OS according to the log off command.
In this embodiment, the voice input unit 20 is a microphone configured to receive sounds made by a user. The sound of the user's voice is converted to electronic data. The voice output unit 30 is a speaker. The processor unit 40 includes a voice identifying module 41, a determining module 42, and a control module 43.
The voice identifying module 41 identifies the electronic data converted by the voice input unit 20, and extracts a voice command and the name of the target electronic device 3. The determining module 42 obtains the UID of the target electronic device 3 according to the one-to-one relationship between the UIDs of the electronic devices 3 and the names of the electronic devices 3, and obtains the remote control command corresponding to the extracted voice command according to the one-to-one relationships between the voice commands and the remote control commands stored in the first storage 10. The control module 43 controls the remote controlling unit 50 to send the remote control command to the target electronic device 3. In this embodiment, the remote controlling unit 50 is an infrared device.
In an embodiment, the determining module 42 further determines whether or not a same voice command is stored in the first storage 10, compared with the extracted voice command. If yes, the determining module 42 obtains the UID of the target electronic device 3 and the remote control command corresponding to the extracted voice command. If not, the control module 43 controls the voice output unit 30 to output a first sound to warn a user that the smart switch 100 cannot recognize a voice command.
In other embodiments, when the determining module 42 determines that there is no existing voice command stored in the first storage 10, compared with the extracted voice command, the control module 43 controls the voice output unit 30 to output a second sound to warn a user to save a new voice command, for example, the second sound is a spoken and audible sentence of “Unknown voice command, would you like to save as a new voice command7” The control module 43 saves the sound of a new command as a new voice command in the first storage 10, when a confirmation of new voice command is received by the voice input unit 20. The confirmation is the spoken sound of the word “yes” or “good.” User also can assign a remote control command to the new voice command.
In other embodiments, as shown in
Referring to
The smart switch 100 further includes a screen 80 configured to display instantaneous information of the electronic devices 3 which are downstream of the smart switch 100. The screen 80 can be an LCD, an electronic paper display, an LED display, a touch display, or the like. The one-to-one relationship between the UIDs of the electronic devices 3 and the names of the electronic devices 3, and the one-to-one relationships between the voice commands and the remote control commands are stored in the server 400.
As shown in
User can use the registration controller 300 to control the smart switch 100 in the room in which the registration controller 300 is located, to automatically register on the gateway 200. In detail, the smart switch 100 send a UID to the gateway 200, to register on the gateway 200. The smart switch 100 can include a number of sockets, each of the sockets is assigned with a UID, the smart switch 100 further sends the UIDs of the sockets to the gateway 200, thereby the sockets being registered on the gateway 200. The registration controller 300 also includes a UID stored therein. A registration process of how the smart switch 100 can register on the gateway 200 follows.
Referring to
The smart switch 100 further includes a first IR receiver 15 configured to receive IR signals sent by the registration controller 300, and a PLC modem unit 16. The PLC modem unit 16 receives and decodes the data transmitted on the power line 2, the PLC modem unit 16 also encodes and forwards data to the gateway 200 via the power line 2, thereby establishing communication between the smart switch 100 and the gateway 200. In other embodiments, the first IR receiver 15 can be a receiver employing other wireless communication technologies.
Referring to
The registration controller 300 needs to be connected to the gateway 200, before the smart switch 100 can register on the gateway 200. To connect the registration controller 300, the registration controller 300 is located within the communication range of the gateway 200, and a coupling program is run on the smart gateway 20. Then, the smart gateway 20 establishes communication with the registration controller 300, and sends its UID and a secret code to the registration controller 300 wirelessly. The registration controller 300 receives and saves the UID of the gateway 200 and the secret code into the second storage 31. The registration controller 300 further sends its UID to the gateway 200 wirelessly, the gateway 200 receives and saves the UID of the registration controller 300, to finish the coupling process. In this embodiment, the registration controller 300 receives the UID of the gateway 200 and the secret code via the second receiver 36, and sends the UID of the registration controller 300 to the gateway 200 via the IR sender 33. In this embodiment, the secret code is the UID of the gateway 200 or which is input by the user. The secret code is configured to encode or decode the data transmitted between the gateway 200 and the registration controller 300, thus preventing unauthorized user from reading the data. In other embodiments, the gateway 200 and the registration controller 300 can communicate via BLUETOOTH, Z-WAVE, NFC, ZIGBEE, WIFI, or other communication technologies.
If user wants to register the smart switch 100 on the gateway 200, user should locate the connected registration controller 300 in the room containing the smart switches 100 which need to be registered, and run a registering program on the smart gateway 200.
For example, the connected registration controller B 300 shown in
The smart switches 100 can be registered to the gateway in different ways. In a driven registration manner, the gateway 200 broadcasts a signal to all of the smart switches 100 connected on the power line for determining whether the smart switch 100 received the IR signal sent by the registration controller 300, in response to the received registration request. The smart switches 100 which did receive the IR signal sends an encoded registration code to the gateway 200 in wired or wireless manner, in response to the broadcast signal. In this embodiment, the smart switches 100 are registered on the gateway 200 in the driven registration manner.
In this example, the smart switches B and C 100 located in room B each send an encoded registration code to the gateway 200 in wired or wireless manner, in response to the broadcast signal. The smart switches B and C 100 can send their encoded registration codes to the gateway 200 via the power line. The registration code includes the UID of the smart switch 100 and the UID of the registration controller 300 stored in the first storage 10. If the smart switch 100 includes more than one socket, the registration code further includes the UID of each socket.
The gateway 200 decodes the registration code and determines whether or not the UID of the registration controller 300 contained in the registration code matches the UID of the registration controller 300 contained in the registration request; if yes, the gateway 200 stores the UID of the smart switch 100. In this way, the smart switch 100 is registered on the gateway 200, the gateway 200 can send control signals including the UID of the target smart switch 100, and the smart switch 100 determines whether the UID of the received control signal matches with the UID of itself, only the matching smart switch 100 can parse the control signals, thus creating a point-to-point communication between the gateway 200 and the smart switch 100.
In an embodiment, the converter unit 34 of the registration controller 300 is configured to receive the control signals from the power line 2 sent by the gateway 200 and convert the control signals. The IR sender 33 sends the converted control signals to the corresponding smart switch 100 to control the electronic device 3 connected on the smart switch 100.
In a forward registration manner, the smart switch 100 which receives the IR signal sends an encoded registration code to the gateway 200 directly, instead of the driven registration process mentioned before. The other registration processes in the forward registration manner are the same as those of the driven registration manner, and are not repeated here.
All the signals transmitted between the smart switches 100, the gateway 200, and the registration controller 300 via the power line 2 as mentioned in the disclosure, include the UID of the device which sends the signals and the UID of the device which receives the signals. Furthermore, a secret code is used to encode the signals transmitted between the smart switches 100, the gateway 200, and the registration controller 300 via the power line 2, and the secret code is stored in smart switches 100, the gateway 200, and the registration controller 300.
In an embodiment, the registration controller 300 has the same appearance and function of the smart switches 100, the difference between the registration controller 300 and the smart switches 100 is that the registration controller 300 further includes a trigger button 32 and an IR sender 33. The registration controller 300 not only serves to control the smart switches 100 to automatically register on the gateway 200, but also acts as a smart switch.
Referring to
The registration controller 300 is connected to the gateway 200, before the smart switches 100 register on the gateway 200, and the coupling process is the same as that of the first embodiment.
If user wants to register the smart switches 100 on the gateway 200, user should locate the connected registration controller 300 in the room in which smart switches 100 which need to be registered are located, and run a registering program on the mart gateway 200.
For example, the connected registration controller 300 shown in
The processor 35 of the registration controller 300 controls the IR sender 33 to send an IR signal in response to the received serial code, the IR signal includes the serial code, the UID of the registration controller 300, the UID of the gateway 200 and the secret code sent by the gateway 200. The smart switches B and C 100 can receive the IR signal. The smart switches B and C 100 store the serial code, the UID of the registration controller 300, and the secret code contained in the IR signal into the first storage 10.
The gateway 200 further broadcasts a signal to all of the smart switches 100 connected on the power line for determining whether the smart switch 100 has received the IR signal sent by the registration controller 300. The smart switches 100 which receive the IR signal sends an encoded registration code to the gateway 200 via the power line 2, in response to the broadcast signal. In this embodiment, the smart switches 100 are registered on the gateway 200 in a driven registration manner.
In this embodiment, the smart switches B and C 100 arranged in room B send the encoded registration code to the gateway 200 in response to the broadcast signal.
The registration code includes the serial code, the UID of the smart switch 100, and the UID of the registration controller 300 stored in the first storage 10. If the smart switch 100 includes more than one socket, the registration code further includes the UID of each socket.
The gateway 200 decodes the registration code and determines whether the
UID of the registration controller 300 contained in the registration code matches the UID of the registration controller 300 contained in the registration request, and if yes, the gateway 200 stores the UID of the registration code. In this way, the smart switch 100 is registered on the gateway 200, the gateway 200 can send control signals including the UID of the target smart switch 100, and the smart switch 100 determines whether the UID of the received control signal matches with its own UID, only the matching smart switch 100 can parse the control signals, thus creating a point-to-point communication between the gateway 200 and the smart switch 100.
Also, the smart switches 100 can be registered on the gateway 200 in a forward registration manner, the smart switch 100 which receives the IR signal sends an encoded registration code to the gateway 200 directly, and the other registration processes in the forward registration manner are the same those of the driven registration manner, and are not repeated here.
After registering the smart switches 100 on the gateway 200, the gateway 200 is capable of sending a controlling signal to the smart switches 100, to control the electronic devices 3 connected to the smart switch 100.
The disclosure may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the disclosure is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
201210378589X | Oct 2012 | CN | national |