The present disclosure is related to controlling smart home appliances, and more particularly to a method of controlling smart home appliances using computer peripheral devices.
With the advancement of science and technology, smart home appliances are increasingly popular in the homes of ordinary people. On the other hand, whether in the company or at home, personal computers (PCs) have become an indispensable necessity for modern people.
However, when using a personal computer to work or play games at home, it is often just to control the indoor lighting, air conditioning temperature, or enable a certain home appliance, but must leave the computer, stop the current progress and also spread the user's original focus. Moreover, every home appliance in home usually has a corresponding remote control, such as a cold air remote control, a television remote control, and things alike. Users often spend extra time finding the remote controller they need, and they can adjust the state of the appliance through the controller. The above-mentioned time cannot be ignored to affect the progress of the work or the progress of the instant game. And too many remote controls scattered around the home, which is too messy and has a poor visual perception.
In view of this, the present disclosure proposes a method of controlling a smart home appliance by a computer peripheral device, thereby saving the user extra time spent operating the smart home appliance.
The smart home appliance control method according to an embodiment of the present disclosure is applicable to a smart home appliance device, a computer peripheral device, and a computer, and the smart home appliance device control method includes: executing an import program to obtain a smart home appliance configuration file; after the appliance configuration file, the computer peripheral device is operated to send a control operation; the processing unit generates a control command according to the control operation and the smart home appliance profile; the communication unit sends the control packet according to the control command and the communication protocol; and the smart home device receives the control packet and executes the control instructions in the packet.
According to an embodiment of the present disclosure, a smart home appliance control method is disclosed in which a smart home appliance and a computer are all connected to a network, and the importing program includes: connecting a computer peripheral device to a computer; using the embedded program to detect whether there is a smart home device connected to the network; the embedded program obtains the identification code of the smart home device connected to the network; and the embedded program checks whether there is a custom smart home appliance configuration file corresponding to the identification code, wherein when there is a custom smart appliance configuration file, the embedded program uses the customized smart appliance configuration file as the smart appliance configuration file; or when there is no custom smart appliance configuration file, the embedded program uses the default smart home appliance configuration file is used as a smart home appliance configuration file.
According to another embodiment of the present disclosure, a method for controlling a smart home appliance includes: a computer peripheral device and a smart home device each performing a pairing process to establish a pairing connection between a computer peripheral device and a smart home device, wherein the pairing process includes: selectively transmitting or receiving the paired broadcast signal; and after the paired broadcast signal is received, establishing a pairing connection; after the pairing connection is established, checking whether the temporary storage unit of the computer peripheral device has the smart home appliance profile; when the temporary storage unit does not have the smart home appliance configuration file, the computer peripheral device writes the default configuration file as the smart home appliance configuration file to the temporary storage unit.
According to still another embodiment of the present disclosure, a smart home appliance control method includes: importing a program by connecting a computer peripheral device; after the computer peripheral device is connected to the computer, an embedded program of the computer is executed to write the smart home appliance configuration file into the temporary storage unit of the computer peripheral device.
With the above structure of the smart home appliance control method disclosed in the present disclosure, the user can operate the computer peripheral device to control various smart home appliances at home while using the computer, without having to find each smart home appliance one by one, or finding the remote control of the device or the touch panel operated in front of the smart home appliance, thus reducing the time spent by the user on the smart of the smart home appliance, and allowing the user to concentrate more on the to-do. In addition, through the peripheral devices of the computer and the embedded software running on the computer, the smart appliances can be manipulated in more detail, and the functions that the smart home controller cannot otherwise realize can be added, So that the smart home appliances can bring a more comfortable living experience to the user.
The above description of the disclosure and the following description of the embodiments of the present disclosure are intended to illustrate and explain the spirit and principles of the invention, and can give a further explain of the present disclosure.
The present disclosure will become more fully understood from the detailed description given here in below and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
Please refer to
Please refer to
Please refer to step S3: the control operation is sent by the computer peripheral device PD. In practice, the computer peripheral device PD is, for example, a mouse, a keyboard, a touch panel, or a network camera. The present disclosure does not particularly limit the hardware type of the computer peripheral device PD. Therefore, the control operation that can be sent by the computer peripheral device PD as described above is, for example, a click/double click of a mouse button, a scrolling mouse wheel, pressing a specific key on the keyboard, a custom key, or a plurality of keys. The combination of a button, a touch gesture at a specific location, a specific body gesture for the webcam to capture the image, etc., does not limit the type of control operation. Basically, the control operation does not deviate from the usual usage of the original computer peripheral device PD. Therefore, the user can easily learn to control the control operation s of the smart home appliances H1 to H4.
Please refer to step S5 to generate a control command. Specifically, a processing unit searches for a corresponding control command in the smart home appliance profile acquired in step S1 according to the control operation acquired in step S3, and outputs the control command. The processing unit is, for example, a central processing unit located on a computer PC, or an embedded controller (EC), a microcontroller (Micro Control Unit (MCU), or a special application-specific integrated circuit (ASIC) located on the computer peripheral device PD. The disclosure does not particularly limit the hardware type of the processing unit.
Please refer to step S7 to send a control packet. In detail, a control packet is transmitted through a communication unit according to the control command obtained in step S5 and a communication protocol. The communication unit is, for example, a network interface card located in a computer PC or a signal transceiver located in the peripheral device PD of the computer. The hardware type of the communication unit of the present disclosure is not particularly limited. The communication protocol used in this step S7 is supported by at least one of the controllers C1 to C4 of the smart home appliances H1 to H4. In practice, for example, one or more of infrared communication technology (such as RC-5, VFIR, UFIR), Bluetooth (Bluetooth), Bluetooth Low Energy, ZigBee, ANT, wireless area network technology are used as the communication protocol used in this step S7.
Referring to step S9, the smart home appliances H1˜H4 receive the control packet and execute the control command. Specifically, the control packets transmitted by the communication unit in step S7 are received by the controllers C1 to C4 of the smart home appliances H1 to H4, respectively, and include control commands configured corresponding to the control operations of step S3. For example, click the left mouse button to switch the color temperature of the light, scroll the mouse wheel to adjust the brightness of the light, and so on. The controllers C1 to C4 extract control commands from the control packets, and the control commands include, for example, predetermined operation items, predetermined operation time, and detailed setting values of other home appliance control options. The present disclosure is also not particularly limited to the format and content of the control command.
Based on the flow shown in
Please refer to step S1 and
Please refer to step S23: determining whether the smart home appliances H2˜H4 are detected. In detail, an embedded program is executed on the computer PC, as shown in
In practice, after step S21 and before step S23, that is, after the computer peripheral device PD is connected to the computer PC, the computer peripheral device PD may further include a serial number of the representative itself, the serial number being identified by the product, for example, product ID (PID) and vendor ID (VID ID). Thereby, the embedded program running on the computer PC can confirm whether it supports the computer peripheral device PD connected to the computer PC in step S21. In other words, the embedded program determines if the serial number is legal. If the serial number is legitimate, the subsequent step S25 of step S23 is continued. Otherwise, if the serial number is illegitimate, the peripheral device connected to the computer PC in step S21 is not supported, and therefore, the embedded program is terminated. Regarding whether the serial number is legitimate or not, in practice, for example, the embedded program checks whether the serial number or the serial number of the serial number is included in the database itself. However, the present disclosure does not particularly limit the mechanism for the embedded program to determine whether the serial number is legitimate.
Please refer to step S25: obtaining the identification code. In detail, the embedded program obtains an identification code of one of the smart home appliances H2 to H4 connected to the network N. In principle, each of the smart home appliances has an identification code, and the smart home appliance H2 is used as a representative of the plurality of smart home appliances H2 to H4. By means of the identification code obtained in step S25, the embedded program can recognize that the smart home appliance H2 connected to the network belongs to a certain appliance type and a specific model under this type.
Please refer to step S27: determining whether there is a custom smart home appliance configuration file corresponding to the identification code. Specifically, based on the identification code of the smart home appliance H2 acquired in step S25, the embedded program then searches for a custom smart home appliance profile that matches the identification code in a profile database. In practice, for example, the configuration file library can be first filtered according to the device type of the smart home appliance H2, and then the embedded program can be compared item by item according to the identification code to the filtered configuration file database. The correct method is not limited to the above.
If the result of the determination in step S27 is “YES”, there is a custom smart appliance configuration file corresponding to the identification code in the profile database; that is, the user has adjusted and stored the configuration file of the smart home device H2 as needed. Therefore, as shown in step S28, the embedded program loads the custom smart appliance configuration file. Conversely, if the result of the determination in the step S27 is “NO”, please refer to the step S29, when the custom smart home appliance profile of the smart home appliance H2 does not exist in the profile database, the embedded program loads a default smart appliance configuration file as the smart appliance configuration file. The default smart home appliance configuration file is, for example, that the user directly downloads the same type of smart home appliance configuration file from the manufacturer website of the smart home appliance device H2, or the smart home appliance configuration files that is pre-stored by the manufacturer in the computer peripheral device PD. In practice, when the embedded program is installed on a computer PC, a plurality of preset smart appliance configuration files matching various types of home appliances can be pre-loaded, so as to serve as a reference template before the user has customized the smart appliance configuration file. And the embedded program is also loaded in this step S29 for application in step S5 of
Please refer to step S1 and
Still another embodiment of the present disclosure is a state in which the computer peripheral device PD is directly connected to the smart home device H1 or H2. Please refer to
In addition, it should be additionally noted that the computer peripheral device PD can have a self-powered design. Thereby, the computer peripheral device PD can save the smart home appliance configuration file or the control command stored in the temporary storage unit T during the power-on period, until the power of the computer peripheral device PD is exhausted, or after the user turns off the power of the computer peripheral device PD. The data in the temporary storage unit T will be eliminated. In addition, when the computer peripheral device PD is connected to the computer PC, the embedded program will preferentially read the customized smart home appliance configuration file stored on the PC end of the computer and write it into the temporary storage unit T. Therefore, after the computer peripheral device PD is disconnected from the PC end of the computer, the control function of the customized smart home appliance saved in the temporary storage unit T can still achieve the same control effect as that of the computer PC, so in step S37 in
Please refer to step S1 and
Through the above description, the operation mode of the smart home appliance that can be implemented by the present disclosure is as follows:
(1) If the last controlled home appliance before the PD is electrically separated from the PC is H2, after the PD is electrically separated from the PC, the PD can individually control the operation of the H2 through the temporary storage unit T until the power of the PD is turned off.
(2) If the power of the PD is turned off and then turned back on, but the PC is not connected to the PC, the PD will re-pair the program according to the method shown in
(3) If the PD is electrically connected to the PC, the operation of the PD is controlled by the embedded program of the PC, and the control signal of the smart home appliance is sent through the PC according to the steps of
(4) If the PC is turned off and then turned back on, and the PD is electrically connected to the PC, the embedded program will reload the relevant smart home appliance configuration file according to the steps of
In summary, the control method of the smart home appliance disclosed in the foregoing embodiments of the present disclosure mainly uses the control protocol or the control interface reserved by the smart home appliance to transmit the control command, which can be executed on the computer. The embedded program combines with the computer peripheral device to instantly control various smart home appliances. It is also possible to achieve the effect of controlling the smart home appliance only by relying on the pairing connection between the computer peripheral device itself and the smart home appliance device. The smart home appliance configuration file includes a default configuration file or a user-defined configuration file, and the user can perform the configuration of the smart home appliance control item according to personal preference, and can also provide the default configuration file by downloading from the smart home appliance website or from the cloud database and apply it. In the control of smart home appliances, flexible and diversified control effects can be achieved, and the effect of turning on and off the smart home appliances such as scheduling control that cannot be achieved only by the remote controller can be increased. Because the medium of controlling is the computer peripheral device that the user is accustomed to, such as a mouse, a keyboard, etc., it is also quite easy for a novice user to use, and saves the user from finding another smart home appliance remote control or getting up and operating the smart home appliance. The time to maintain the user's concentration in front of the computer, improve the productivity of the work, or allow the game player to completely immerse in the game process without having to get up and running smart home appliances.